/* Forma's type system (owner, October 20, 2026): one look per kind of text,
 * the same on every screen. Loaded last, so it is the final word on type.
 * Colours are not set here; they keep their meaning (green growth, gold
 * labels and achievement, ivory you). The opening welcome, splash and the
 * wordmark keep their own sizes.
 *
 *   Page title       Bodoni Moda 600, 32 phone / 64 desktop, 1.06
 *   Hero card title  Bodoni Moda 600, 22 phone / 34 desktop, 1.15 (the main action)
 *   Section title    Bodoni Moda 600, 24 phone / 28 desktop, 1.15 (sheets, big cards)
 *   Card title       Bodoni Moda 600, 20 desktop / 17 phone for rows in a list, 1.3
 *   Label            Hanken 500, 12, .16em, capitals
 *   Subheading       Hanken 600, 16, 1.5
 *   Lead             Hanken 400, 18 desktop / 17 phone, 1.6 (Forma speaking)
 *   Body             Hanken 400, 16, 1.6
 *   Secondary        Hanken 400, 14, 1.5
 *   Caption          Hanken 500, 12, 1.5 (tiny meta only)
 *   Button           Hanken 500, 16 desktop / 14 phone (so two fit side by side)
 *   Link / tab       Hanken 500, 14
 *   Question         Hanken 500, 16 (the words above a box)
 */
:root{--t-display:'Bodoni Moda',Didot,'Bodoni 72',Georgia,serif;--t-ui:'Hanken Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif}

/* Page title */
.greeting h1,.life-main h1,.intro-main:not(.welcome) h1,.account-shell h1,.closed-wrap h1,.journey-head h1,.you-head h1,.page-head h1,.shell .main h1{font-family:var(--t-display)!important;font-weight:600!important;font-size:64px!important;line-height:1.06!important;letter-spacing:-.015em!important}

/* Hero card title: the main action */
.step-target h3{font-family:var(--t-display)!important;font-weight:600!important;font-size:34px!important;line-height:1.15!important;letter-spacing:-.015em!important}

/* Section title: sheet titles and the big cards */
.dialog-body h2,dialog h2,.roadmap-detail h2,.period-card h2,.rhythm-preview h2,.looking-back h2,.talk-home h2,.growth-info h2,.tour-layer.centered .tour-card h3,.life-section h2,.section-heading h2{font-family:var(--t-display)!important;font-weight:600!important;font-size:28px!important;line-height:1.15!important;letter-spacing:-.015em!important}

/* Card title */
.daily-direction h3,.chat-proposal h3,.chat-proposal .chat-step h3,.checkin-card h3,.commitment-followup h3,.intro-recommendation h3,.tour-card h3,.you-card h3,.setting-row h3,.growth-share-preview h3,.daily-check h2,.route-reached h3,.focus-area strong,.life-area h3,.today-row-copy strong,.milestone-check h3,.next-proposal h3,.card h3,.talk-option strong,.life-area strong{font-family:var(--t-display)!important;font-weight:600!important;font-size:20px!important;line-height:1.3!important;letter-spacing:-.015em!important}

/* Label: small capitals */
.eyebrow,.intro-overline:not(.welcome-shell .intro-overline),.nav-label,.growth-eyebrow,.growth-recent h3,.back-day h3,.prompt-examples-label,.section-heading>span,.dialog-head .eyebrow,.plan-badge{font-family:var(--t-ui)!important;font-weight:500!important;font-size:12px!important;line-height:1.4!important;letter-spacing:.16em!important;text-transform:uppercase!important}

/* Subheading */
h4,.dialog-body h3,.daily h3{font-family:var(--t-ui)!important;font-weight:600!important;font-size:16px!important;line-height:1.5!important;letter-spacing:0!important}

/* Body and Lead */
body{font-family:var(--t-ui);font-size:16px;line-height:1.6}
.ai-message p,.chat-log .message:not(.user) p,.forma-reply p,.opening-note p,.quiet-review p{font-size:18px!important;line-height:1.6!important;font-weight:400!important}
.ai-message.from-user p,.message.user p,.life-description,.greeting p,.intro-description,textarea,input:not([type=checkbox]):not([type=radio]),select,.input{font-size:16px!important;line-height:1.6!important}

/* Secondary: sentences that support something above them */
.step-target>p,.step-target p,.daily-direction p,.chat-proposal p,.checkin-card p,.commitment-followup p,.intro-recommendation p,.tour-card p,.tour-example p,.roadmap-detail p,.period-card p,.life-reflection p,.life-reassurance p,.life-switcher p,.route-reached p,.growth-how li,.growth-recent p,.growth-how>p,.growth-share-preview p,.setting-row p,.history-entry p,.empty-state p,.journey-log>p,.dialog-body>p,.dialog-body p:not(.privacy-note),.life-caption,.privacy-note,.back-entry,.today-row-copy small,.week-strip .life-caption,.day-footer p,.sidebar-note,.focus-area,.note-box,.life-empty{font-size:14px!important;line-height:1.5!important}

/* Caption: tiny meta */
small,.constellation-label,.week-day small,.talk-kind,.prototype-label,.message-about,.sources-line span,.memory-reviewed,.life-conversation-mark,.mobile-nav button{font-size:12px!important;line-height:1.5!important;font-weight:500!important;letter-spacing:0!important}

/* Button */
.btn{font-family:var(--t-ui)!important;font-size:16px!important;font-weight:500!important;letter-spacing:0!important;line-height:1.3!important}

/* Link and tab */
.text-link,.step-actions .text-link,.nav button,summary,.past-convos,.flow-return{font-family:var(--t-ui)!important;font-size:14px!important;font-weight:500!important;letter-spacing:0!important}
/* Question above a box */
label:not(.sr-only){font-family:var(--t-ui)!important;font-size:16px!important;font-weight:500!important;letter-spacing:0!important;line-height:1.5!important}

/* The last-seven-days card keeps the heavier ivory words asked for (October 20). */
.week-strip .eyebrow,.week-day small{font-weight:700!important}
.week-strip .life-caption{font-weight:600!important}

@media(max-width:600px){
  /* Owner, October 26, 2026: things looked too big on phones (sizes carried over from desktop). */
  .greeting h1,.life-main h1,.intro-main:not(.welcome) h1,.account-shell h1,.closed-wrap h1,.journey-head h1,.you-head h1,.page-head h1,.shell .main h1{font-size:32px!important}
  .step-target h3{font-size:22px!important}
  .today-row-copy strong,.life-area strong{font-size:17px!important;line-height:1.3!important}
  .ai-message p,.chat-log .message:not(.user) p,.forma-reply p,.opening-note p,.quiet-review p{font-size:17px!important}
  .btn{font-size:14px!important}
  .dialog-body h2,dialog h2,.roadmap-detail h2,.period-card h2,.rhythm-preview h2,.looking-back h2,.talk-home h2,.growth-info h2,.tour-layer.centered .tour-card h3,.life-section h2,.section-heading h2{font-size:24px!important}
}

/* A page's small label stays on one line above its title, even with a link beside the header. */
.greeting .eyebrow{white-space:nowrap}
