/* public/brand/di-invite.css
 *
 * One look for the invitation pages: Founding 10 beta (founding.html), Friends & Family
 * (friends.html) and their two thank-you pages. Taken from Mic's approved Founding 10 design
 * (Beata_Testers_Ver_1.0, 2026-10-21). WHY one shared file: four pages written separately drifted
 * apart in font, colour and button style; with one stylesheet they cannot.
 * Flat colours only (no gradients, CLAUDE.md). Values are the design's own; do not retune one page.
 */
:root {
  --navy: #08245d;          /* hero, headings */
  --ink: #17395f;           /* section titles */
  --ink-2: #24405f;         /* labels */
  --muted: #526783;         /* small text */
  --muted-2: #60728a;       /* fine print */
  --line: #dbe6f3;          /* card borders */
  --field: #c8d6e5;         /* input borders */
  --page: #f4faff;          /* page background */
  --tile: #e8f0fe;          /* stat tiles, chosen answer */
  --soft: #f9fbfe;          /* benefit cards */
  --blue: #0d6efd;          /* the one action colour */
  --blue-dark: #0b5ed7;
  --blue-focus: #cce6ff;
  --check: #0d9488;         /* ✓ marks */
  --on-navy: #c9d8f2;
  --on-navy-2: #e3effd;
  --warn-ink: #795400;
  --warn-bg: #fff5db;
  --error: #b42318;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--navy);
  background: var(--page);
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; padding: 22px 14px 35px; background: var(--page); }
img { max-width: 100%; }

/* The card that holds the whole page */
.shell { max-width: 730px; margin: auto; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 40px #08245d18; border: 1px solid #dfe8f4; }

/* Navy top */
.hero { background: var(--navy); color: #fff; padding: 27px 34px 24px; position: relative; overflow: hidden; }
.brand { display: flex; align-items: center; gap: 11px; margin-bottom: 25px; }
.brand img { width: 43px; height: 43px; flex: none; background: #fff; padding: 6px; border-radius: 11px; }
.brand strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
.brand small { display: block; font-size: 12px; color: #c7dbf5; }
.back { display: inline-block; color: #cde1fa; font-size: 12px; text-decoration: none; margin-left: auto; }
.back:hover { text-decoration: underline; }
.eyebrow { font-size: 12px; color: var(--on-navy); letter-spacing: 1.2px; font-weight: 800; text-transform: uppercase; margin: 0 0 8px; }
h1 { font-size: clamp(29px, 5.3vw, 39px); line-height: 1.12; letter-spacing: -.9px; margin: 0 0 11px; }
h1 em { font-style: normal; color: #fff; }
.intro { color: var(--on-navy-2); line-height: 1.55; font-size: 16px; margin: 0; max-width: 600px; }
.intro + .intro { margin-top: 10px; }
.timeline { margin: 14px 0 0; font-size: 12.5px; color: var(--on-navy); line-height: 1.5; }
.timeline b { color: #fff; }

/* White body */
.main { padding: 23px 34px 30px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 19px; }
.stat { background: var(--tile); border-radius: 12px; text-align: center; padding: 12px 5px; }
.stat b { font-size: 28px; color: var(--navy); display: block; line-height: 1.2; }
.stat span { font-size: 12px; color: var(--muted); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 22px; }
.benefit { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.benefit strong { display: block; font-size: 14px; color: #153c6a; margin-bottom: 4px; }
.benefit p { font-size: 13px; line-height: 1.5; color: #53677f; margin: 0; }
.benefit i { font-style: normal; color: var(--check); font-weight: 900; margin-right: 5px; }

/* Real app screenshots */
.mini-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; padding: 14px 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--page); margin: 0 0 20px; }
.mini-visual > div { grid-column: 1 / -1; }
.mini-visual.gallery { grid-template-columns: 1fr; } /* several pictures: one per row, each full width and readable */
.mini-visual strong { font-size: 14px; color: var(--navy); }
.mini-visual p { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 5px 0 0; }
.actual-shot { margin: 0; background: #fff; border: 1px solid #dce7f4; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 12px rgba(8, 36, 93, .08); }
.actual-shot img { display: block; width: 100%; height: auto; }
.actual-shot figcaption { padding: 6px 9px; font-size: 12px; color: var(--muted); font-weight: 700; }
.actual-shot figcaption span { display: block; font-weight: 400; margin-top: 1px; }

/* Headings, text and the main action */
.section-title { font-size: 19px; letter-spacing: -.3px; margin: 0 0 5px; color: var(--ink); }
.section-title.spaced { margin-top: 24px; }
.sub { font-size: 13px; color: var(--muted-2); margin: 0 0 17px; line-height: 1.5; }
.note { font-size: 15px; line-height: 1.6; color: #2a4466; margin: 0 0 10px; }
.sign { font-weight: 800; color: var(--navy); margin: 0 0 20px; }
.button, button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font: inherit; font-size: 16px; font-weight: 750; padding: 14px; cursor: pointer; margin-top: 3px; text-decoration: none; text-align: center; }
.button:hover, button:hover { background: var(--blue-dark); }
.button:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 2px; } /* dark ring: visible on white (5.8:1) */
.hero a:focus-visible { outline-color: var(--blue-focus); } /* pale ring on the navy top */
.button-note { font-size: 12.5px; color: var(--muted-2); text-align: center; margin: 8px 0 22px; line-height: 1.5; }
.button-note a { color: #1260bc; }
.label { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #1260bc; margin: 0 0 6px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 24px 0 20px; }

/* Forms */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 15px; }
label, .q { display: block; font-weight: 650; font-size: 13px; margin-bottom: 6px; color: var(--ink-2); }
input, select, textarea { font: inherit; width: 100%; height: 46px; border: 1px solid var(--field); border-radius: 9px; background: #fff; color: #233b56; padding: 0 12px; font-size: 15px; }
textarea { height: auto; min-height: 92px; padding: 11px 12px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--blue-focus); border-color: #2777dc; }
.optional { font-weight: 400; color: var(--muted-2); }
fieldset { border: 0; padding: 0; margin: 0 0 17px; min-width: 0; }
legend { padding: 0; }
/* Answer chips: the same border, radius and blue as the inputs; 48px tall (approved minimum tap size) */
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; margin: 0; font-weight: 400; }
.opts input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opts span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 15px; border: 1px solid var(--field); border-radius: 9px; background: #fff; color: #233b56; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.opts input:checked + span { border-color: var(--blue); background: var(--tile); color: var(--navy); box-shadow: inset 0 0 0 1px var(--blue); }
.opts input:focus-visible + span { outline: 3px solid var(--blue-dark); outline-offset: 1px; }
.fine { font-size: 12px; color: var(--muted-2); line-height: 1.6; margin: 12px 0 0; }
.fine a { color: #1260bc; }
.form-msg { font-size: 13px; color: var(--error); font-weight: 700; margin: 0 0 10px; }
.form-msg:empty { display: none; }
.form-msg:focus { outline: none; }
.hp { position: absolute; left: -9999px; }

.footer { text-align: center; font-size: 12px; color: var(--muted); margin: 14px 0; }
.footer a { color: var(--muted); }

@media (max-width: 560px) {
  body { padding: 8px; }
  .hero { padding: 21px 21px 23px; }
  .main { padding: 20px 20px 25px; }
  .brand { margin-bottom: 19px; }
  .benefits, .fields { grid-template-columns: 1fr; }
  .benefits { gap: 8px; }
  .stat b { font-size: 25px; }
  .stat span { font-size: 11px; }
  .back { font-size: 11px; }
}
@media (max-width: 520px) {
  .mini-visual { grid-template-columns: 1fr; }
  .mini-visual .hide-phone { display: none; }
}
