/* FamilyBot holding site.
   Adapted from design/brand-kit/ (tokens.css + holding-page/index.html).
   The kit itself is never hand-edited — it is replaced by re-export. This file
   is the adapted artifact, carrying the changes design/brand-kit/REVIEW.md asks
   for before the holding page goes live:
     - text and controls in rem, not px (18px = 1.125rem, 56px = 3.5rem), so a
       larger text setting in the browser works;
     - the input border is the app's #7A7166 (4.8:1 on white) instead of the
       kit's stone-deep #8A8170 (3.9:1);
     - the floor for small text is 1rem (16px); the kit's 14px eyebrow is gone;
     - the focus ring stays the kit's gold-ink #8F6A22 (4.9:1 on white).
   Nothing here loads from another origin. Keep it that way. */

@font-face{font-family:Fraunces;src:url(fonts/Fraunces-Variable.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:Fraunces;src:url(fonts/Fraunces-Italic-Variable.woff2) format("woff2");font-weight:100 900;font-style:italic;font-display:swap}
@font-face{font-family:Inter;src:url(fonts/Inter-Variable.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

:root{
  --ink-navy:#16263F;
  --warm-black:#1A1714;
  --paper-white:#FFFFFF;
  --warm-paper:#FBF7F0;
  --heritage-gold:#B5862B;
  --stone:#E4DDD0;
  --sugo-terracotta:#B5532E;
  --navy-deep:#0E1A2D;
  --navy-tint:#EEF1F6;
  --gold-tint:#F6EEDC;
  --terracotta-tint:#F7E4DB;
  --ink-soft:#4A443D;
  --gold-ink:#8F6A22;
  --border-strong:#7A7166;      /* the app's input border, REVIEW.md item 4 */
  --font-display:Fraunces,Georgia,"Times New Roman",serif;
  --font-sans:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --text-body:1.125rem;         /* 18px floor — never smaller */
  --text-small:1rem;            /* 16px floor for captions and small print */
  --text-body-lg:1.25rem;
  --radius:0.75rem;
  --radius-pill:999px;
  --tap-min:3.5rem;             /* 56px */
}

*{box-sizing:border-box}
body{margin:0;background:var(--paper-white);color:var(--warm-black);font:400 var(--text-body)/1.6 var(--font-sans);-webkit-font-smoothing:antialiased}

.fb-display{font-family:var(--font-display);font-weight:600;color:var(--ink-navy);margin:0}
.fb-caption{font-size:var(--text-small);color:var(--ink-soft);margin:0}
.fb-btn{display:inline-flex;align-items:center;justify-content:center;gap:.625rem;min-height:var(--tap-min);padding:0 1.75rem;border-radius:var(--radius);border:2px solid var(--ink-navy);background:var(--ink-navy);color:var(--paper-white);font:600 var(--text-body)/1.2 var(--font-sans);cursor:pointer;text-decoration:none;transition:background-color .15s ease}
.fb-btn:hover,.fb-btn:active{background:var(--navy-deep)}
.fb-btn--secondary{background:var(--paper-white);color:var(--ink-navy)}
.fb-btn--secondary:hover,.fb-btn--secondary:active{background:var(--navy-tint)}
.fb-card{background:var(--warm-paper);border:1px solid var(--stone);border-radius:var(--radius);padding:1.5rem}
.fb-label{display:block;font:600 var(--text-body)/1.4 var(--font-sans);color:var(--ink-navy);margin:0 0 .5rem}
.fb-input{display:block;width:100%;min-height:var(--tap-min);padding:0 1rem;border-radius:var(--radius);border:2px solid var(--border-strong);background:var(--paper-white);color:var(--warm-black);font:400 var(--text-body)/1.2 var(--font-sans)}

a{color:var(--ink-navy);text-underline-offset:3px}
:focus-visible{outline:3px solid var(--gold-ink);outline-offset:3px}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Visually hidden, but present in the page: the honeypot's wrapper and any
   skip-link style label. aria-hidden + tabindex=-1 keep it away from anyone
   using a screen reader or the keyboard. */
.fb-offscreen{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* ---- shared chrome ------------------------------------------------------ */

.fb-logo{line-height:0;margin:0}
.fb-logo img{height:3rem;width:auto;display:block}
.fb-logo a{display:inline-flex;align-items:center;min-height:var(--tap-min)}

.fb-foot{background:var(--navy-deep);color:var(--paper-white);font-size:var(--text-small);line-height:1.5;padding:.5rem 1rem 1rem;text-align:center}
.fb-foot p{margin:.5rem 0 0}
.fb-foot a{color:var(--paper-white)}
.fb-foot a:focus-visible{outline-color:var(--heritage-gold)}
/* Wrapping flex rather than "·" separators: on a narrow phone a separator ends
   up dangling at the end of a line. The row gap is not 0: under about 370px
   these wrap into a stack, and two 56px targets touching each other is how a
   thumb hits the wrong one. */
.fb-foot-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem 1.5rem;margin:0}
.fb-foot-links a{display:inline-flex;align-items:center;min-height:var(--tap-min)}

/* ---- the holding page --------------------------------------------------- */

.hp{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;background:var(--paper-white)}
.hp-main{flex:1;display:flex;flex-direction:column;justify-content:center;width:100%;max-width:1040px;margin:0 auto;padding:1.5rem 1rem}
.hp-logo{margin:0 0 1.75rem}
.hp h1{font:600 clamp(2.125rem,8.6vw,4rem)/1.1 var(--font-display);color:var(--ink-navy);margin:0;max-width:12em;text-wrap:balance}
.hp-lede{margin:1rem 0 0;max-width:34em}
.hp-form{margin:1.75rem 0 0;max-width:30rem;position:relative}
.hp-form .fb-btn{width:100%;margin-top:.75rem}
.hp-promise{display:flex;gap:.5rem;align-items:flex-start;margin:1rem 0 0;font-size:var(--text-small);line-height:1.5;color:var(--warm-black);max-width:30rem}
.hp-promise svg{flex:none;margin-top:1px}
/* Its own line so the link is a 56px target, lined up under the sentence
   (24px icon + the 8px gap). */
.hp-promise-link{margin:0;padding-left:2rem;font-size:var(--text-small)}
.hp-promise-link a{display:inline-flex;align-items:center;min-height:var(--tap-min)}
.hp-art{display:none}

@media (max-height:700px){
  .hp-main{padding:1rem}
  .hp-logo{margin-bottom:1rem}
  .fb-logo img{height:2.5rem}
  .hp-lede{margin-top:.75rem}
  .hp-form{margin-top:1rem}
  .hp-promise{margin-top:.75rem}
  .fb-foot{padding:.25rem 1rem .5rem}
}
@media (min-width:720px){
  .hp-main{padding:3rem 2rem}
  .fb-logo img{height:3.5rem}
  .hp-lede{font-size:var(--text-body-lg)}
  .hp-form{display:grid;grid-template-columns:1fr auto;gap:0 .75rem;align-items:end;max-width:37.5rem}
  .hp-form .fb-label{grid-column:1/-1}
  .hp-form .fb-btn{width:auto;margin-top:0}
}
@media (min-width:1000px){
  .hp-main{display:grid;grid-template-columns:minmax(0,1fr) 22.5rem;gap:3rem;align-items:center}
  .hp-art{display:block;line-height:0}
  .hp-art svg{width:100%;height:auto;max-height:60vh}
}

/* ---- reading pages (privacy, thank you, worker notices) ----------------- */

.doc{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;background:var(--warm-paper)}
.doc-main{flex:1;width:100%;max-width:40rem;margin:0 auto;padding:1.5rem 1rem 3rem}
.doc-top{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin:0 0 2rem}
.doc h1{font:600 clamp(2.125rem,5.5vw,2.75rem)/1.15 var(--font-display);color:var(--ink-navy);margin:0 0 1rem;text-wrap:balance}
.doc h2{font:600 1.625rem/1.3 var(--font-display);color:var(--ink-navy);margin:2rem 0 .5rem}
.doc p{margin:0 0 1rem;max-width:34em}
.doc ul{margin:0 0 1rem;padding-left:1.5rem;max-width:34em}
.doc li{margin:0 0 .5rem}
.doc .doc-updated{font-size:var(--text-small);color:var(--ink-soft)}
.doc-actions{display:flex;flex-wrap:wrap;gap:1rem;margin:2rem 0 0}
@media (min-width:720px){.doc-main{padding:3rem 2rem 4rem}}
