/* Christina Olivia marketing site. Plain CSS, no build step.
 *
 * The site is set like the stationery the app makes: ivory paper with
 * forest-green ink, and deep forest reserved for the hero, the dashboard
 * and the close. Tokens follow the app's Enchanted Forest theme
 * (frontend/src/index.css in the xtina repo). Never hard-code a colour or
 * font in a rule below; add or reuse a token. */

@import url("assets/fonts/fonts.css");

:root {
  /* Paper and ink */
  --paper: #f5f0e4;         /* the page */
  --ivory: #fdfcf6;         /* a sheet laid on the page */
  --cream: #f4efe4;         /* light text on dark surfaces */
  --champagne: #d9d2c0;     /* hairlines on paper */
  --ink: #1c3024;           /* body ink on paper */
  --ink-soft: #5c6a5e;      /* secondary ink on paper */
  --ink-faint: #8a9387;     /* captions on paper */
  --moss: #4a6350;          /* the accent: links, rules, the solid button on paper */
  --gold: #b8985a;          /* the Art Deco gold, for one hairline at a time */

  /* The dark bands */
  --forest: #17291d;
  --forest-deep: #111f16;
  --branch: #20372a;
  --branch-border: #3e5c47;
  --sage: #92a37e;          /* secondary text on forest */
  --branch-ink: #b7c4a3;    /* secondary text on a dark card */
  --page-ink: #a4988c;      /* quiet text on forest */
  --error: #7a3030;
  --paid-full: #4a6350;
  --paid-part: #77897a;

  /* The dashboard still: vines and the couple's card */
  --page-gradient-inner: #1f3627;
  --page-gradient-outer: #111f16;
  --connector-main-1: #8fa471;
  --connector-main-2: #9ab077;
  --connector-main-3: #9ab077;
  --connector-tendril: #9ab077;
  --medallion-border: #b9c1a0;
  --medallion-names: #24402e;
  --medallion-date: #5d6b45;
  --medallion-paper: #fbf8ee;

  --focus-ring: #4a6350;
  --shadow-paper: 0 1px 1px rgba(28, 48, 36, 0.06), 0 14px 34px -14px rgba(28, 48, 36, 0.35), 0 2px 6px rgba(28, 48, 36, 0.06);

  /* Type: Cormorant for headlines, Spectral for everything read, Playfair for the couple's names only */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Spectral', Georgia, serif;
  --font-names: 'Playfair Display', Georgia, serif;

  /* Layout */
  --max-w: 76rem;
  --gutter: 1.25rem;
  --nav-h: 4.5rem;
}

/* ─── Base ──────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 108%; -webkit-text-size-adjust: 100%; color-scheme: only light; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); line-height: 1.55; color: var(--ink); background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.dark :where(a, button, input, summary, [tabindex]):focus-visible { outline-color: var(--sage); }

.wrap { max-width: var(--max-w); margin: 0 auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Headlines: Cormorant set large and light, tight leading, never bold */
.display { font-family: var(--font-display); font-weight: 500; line-height: 1.02; letter-spacing: -0.005em; text-wrap: balance; }
.display em { font-style: italic; font-weight: 400; }
.lede { font-size: 1.15rem; line-height: 1.55; color: var(--ink-soft); max-width: 32rem; text-wrap: pretty; }
.dark .lede { color: var(--sage); }

/* The dark bands and what sits on them */
.dark { background: var(--forest); color: var(--cream); }

/* ─── Buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-block; padding: 0.7rem 1.4rem; font-size: 0.95rem; line-height: 1.3;
  border: 1px solid currentColor; text-decoration: none; border-radius: 999px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-solid:hover { background: var(--moss); border-color: var(--moss); }
.dark .btn-solid { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.dark .btn-solid:hover { background: transparent; color: var(--cream); }
.btn-outline { color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.dark .btn-outline { color: var(--cream); border-color: var(--sage); }
.dark .btn-outline:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { background: revert-layer; }
.btn-solid[aria-disabled="true"]:hover { background: var(--ink); border-color: var(--ink); }
.dark .btn-solid[aria-disabled="true"]:hover { background: var(--cream); color: var(--ink); }
.btn-outline[aria-disabled="true"]:hover { background: transparent; color: var(--ink); }
.dark .btn-outline[aria-disabled="true"]:hover { background: transparent; color: var(--cream); border-color: var(--sage); }

.text-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--champagne); }
.text-link:hover { text-decoration-color: currentColor; }

/* ─── Header / nav ──────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--champagne) 70%, transparent);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--nav-h); }
/* Over the hero the bar is glass on forest until the page scrolls */
.site-header.over-dark:not(.scrolled) { background: transparent; border-bottom-color: transparent; color: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 0.6rem; }
/* The CO monogram (Jade, 2026-10-30): before the name in the nav, above it in
 * the footer, and over the closing line. Gold on both the forest and the paper. */
.brand-mark { align-self: center; height: 1.75rem; width: auto; margin-right: 0.1rem; }
.footer-mark { display: block; height: 2.5rem; width: auto; margin-bottom: 0.9rem; }
.closing-mark { display: block; height: 4.4rem; width: auto; margin: 0 auto 1.6rem; }
.brand .wordmark { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; line-height: 1; letter-spacing: 0.01em; }
.brand .tagline { font-size: 0.8rem; color: var(--ink-faint); }
.over-dark:not(.scrolled) .brand .tagline { color: var(--sage); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; font-size: 0.92rem; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-soft); }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.over-dark:not(.scrolled) .nav-links a:not(.btn) { color: var(--sage); }
.over-dark:not(.scrolled) .nav-links a:not(.btn):hover { color: var(--cream); }
.nav-links .btn { padding: 0.5rem 1.1rem; font-size: 0.88rem; }
.over-dark:not(.scrolled) .nav-links .btn-outline { color: var(--cream); border-color: var(--sage); }
.over-dark:not(.scrolled) .nav-links .btn-outline:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.nav-toggle { display: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid currentColor; opacity: 0.8; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 760px) {
  .brand .tagline { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 0.5rem);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); color: var(--ink); border: 1px solid var(--champagne); border-radius: 1rem;
    padding: 0.5rem; box-shadow: var(--shadow-paper);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 1rem; text-align: center; }
  .over-dark:not(.scrolled) .nav-links a:not(.btn) { color: var(--ink-soft); }
  .over-dark:not(.scrolled) .nav-links .btn-outline { color: var(--ink); border-color: var(--ink); }
  .nav-links .btn { margin-top: 0.5rem; }
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */

.hero {
  position: relative; overflow: hidden; margin-top: calc(-1 * var(--nav-h));
  padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 4rem;
  background: var(--forest-deep); color: var(--cream);
}
/* Jade's Enchanted Forest backdrop, almost all the way to ink, so it reads as texture rather than a photo */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("assets/images/hero-forest.webp") center 40% / cover no-repeat;
  opacity: 0.26; filter: saturate(0.5);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(17, 31, 22, 0.55) 0%, rgba(17, 31, 22, 0.25) 45%, rgba(17, 31, 22, 0.92) 100%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); max-width: 11ch; }
.hero .lede { margin-top: 1.5rem; }
.hero .actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hero .actions .note { font-size: 0.92rem; color: var(--sage); }
.hero .made-for-two { margin-top: 1.25rem; font-size: 0.92rem; color: var(--sage); }
.hero .login-line { margin-top: 1.25rem; font-size: 0.92rem; color: var(--sage); }
@media (min-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 5rem); padding-bottom: 6rem; min-height: 100svh; display: flex; align-items: center; }
  .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 4rem; width: 100%; }
  .hero .login-line { display: none; }
}

/* The stationery: a save-the-date behind the live invitation, both re-lettered as the visitor types */
.suite { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.suite-names { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 0.75rem 1rem; }
.suite-names label { display: block; font-size: 0.8rem; color: var(--sage); margin-bottom: 0.1rem; }
.suite-names input {
  width: min(9.5rem, 36vw); padding: 0.3rem 0; background: transparent; color: var(--cream);
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 500;
  border: 0; border-bottom: 1px solid var(--branch-border);
}
.suite-names input:focus { outline: none; border-bottom-color: var(--cream); }
.suite-names .amp { padding-bottom: 0.5rem; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--sage); }
.suite-designs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.4rem; font-size: 0.95rem; }
.suite-designs button { padding: 0.25rem 0; color: var(--sage); border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.suite-designs button:hover { color: var(--cream); }
.suite-designs button[aria-pressed="true"] { color: var(--cream); border-bottom-color: var(--cream); }
.suite-stack { position: relative; width: 100%; max-width: 380px; margin-top: 0.75rem; }
.suite-stack .front { position: relative; z-index: 1; width: 86%; margin-left: 0; transform: rotate(-2.5deg); }
.suite-stack .back { position: absolute; right: 0; top: 7%; width: 72%; transform: rotate(4deg); z-index: 0; opacity: 0.96; }
.suite .caption { max-width: 22rem; text-align: center; font-size: 0.8rem; color: var(--sage); margin-top: 0.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .suite-stack .front, .suite-stack .back { transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .suite-stack:hover .front { transform: rotate(-1deg) translateY(-4px); }
  .suite-stack:hover .back { transform: rotate(5deg) translateX(6px); }
}

/* ─── Chapters: the app shown on paper ──────────────────────────────────── */

.chapter { padding: 6rem 0; }
.chapter + .chapter { border-top: 1px solid var(--champagne); }
.chapter .wrap { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.chapter h2 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
.chapter .words p { margin-top: 1.1rem; color: var(--ink-soft); max-width: 30rem; text-wrap: pretty; }
.chapter .points { margin-top: 1.5rem; max-width: 30rem; color: var(--ink); }
.chapter .points li { position: relative; padding: 0.55rem 0 0.55rem 1.4rem; border-top: 1px solid var(--champagne); }
.chapter .points li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 0.6rem; height: 1px; background: var(--moss); }
.chapter .points li:last-child { border-bottom: 1px solid var(--champagne); }
@media (min-width: 900px) {
  .chapter .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; }
  .chapter.flip .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .chapter.flip .words { order: 2; }
  .chapter.flip .sheet-wrap { order: 1; }
  .chapter.small .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .chapter.small h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); }
}

/* A sheet of the app, laid on the page */
.sheet {
  position: relative; background: var(--ivory); color: var(--ink);
  padding: 1.4rem 1.6rem 1.5rem; box-shadow: var(--shadow-paper);
}
.sheet::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.12; mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px); background-size: 3px 3px; }
.sheet-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 0.6rem; margin-bottom: 0.6rem; border-bottom: 1px solid var(--ink); }
.sheet-head h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.sheet-head span { font-size: 0.8rem; color: var(--ink-faint); font-style: italic; }
.sheet .sub { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; padding-bottom: 0.15rem; border-bottom: 1px solid var(--champagne); }
.sheet .ink { color: var(--ink-faint); }
.sheet .small { font-size: 0.8rem; }
.sheet-wrap { position: relative; }
.tilt-l { transform: rotate(-1.2deg); }
.tilt-r { transform: rotate(0.8deg); }
@media (min-width: 900px) { .chapter.small .sheet { max-width: 26rem; margin-left: auto; } .chapter.flip.small .sheet { margin-left: 0; } }

/* Seating: two tables as the printed plan lists them */
.seating { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 420px) { .seating { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.seating .sub { margin-bottom: 0.35rem; }
.seating li { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.2rem 0; font-size: 0.95rem; }
.seating li span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seating .meals { margin-top: 0.5rem; }

/* Timeline */
.timeline .month { padding: 0.9rem 0 0.3rem; }
.timeline .month:first-of-type { padding-top: 0.2rem; }
.timeline .row { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; align-items: baseline; gap: 0.75rem; padding: 0.5rem 0; font-size: 0.95rem; border-bottom: 1px solid var(--champagne); }
.timeline .row:last-child { border-bottom: 0; }
.timeline .row.done { opacity: 0.5; }
.timeline .kind { display: none; }
@media (min-width: 640px) { .timeline .row { grid-template-columns: 3.6rem 4.6rem minmax(0, 1fr) auto; } .timeline .kind { display: block; } }
.timeline .end { text-align: right; white-space: nowrap; }
.timeline .today { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0; font-size: 0.8rem; font-weight: 600; color: var(--moss); }
.timeline .today::after { content: ""; flex: 1; height: 1px; background: var(--moss); }
.timeline .names { font-family: var(--font-names); font-weight: 700; font-size: 1.3rem; color: var(--medallion-names); }
.pill-late { display: inline-block; padding: 0 0.55rem; border-radius: 999px; background: color-mix(in srgb, var(--error) 10%, transparent); color: var(--error); white-space: nowrap; }

/* Budget */
.budget-bar { display: flex; height: 0.8rem; margin: 0.6rem 0; overflow: hidden; border-radius: 999px; border: 1px solid var(--champagne); background: var(--paper); }
.budget-bar .paid { background: var(--paid-full); }
.budget-bar .committed { background: var(--paid-part); opacity: 0.6; }
.budget-legend { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; font-variant-numeric: tabular-nums; }
.budget .sub { margin-top: 1.5rem; }
.attention li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; font-size: 0.95rem; border-bottom: 1px solid var(--champagne); }
.attention li:last-child { border-bottom: 0; }
.attention li span:first-child small { display: block; font-size: 0.8rem; color: var(--ink-faint); }
.attention .when { white-space: nowrap; font-size: 0.8rem; color: var(--ink-faint); }
.attention .when.late { color: var(--error); }
.partners .sub { margin-top: 1.5rem; }
.partners .when { white-space: normal; text-align: right; }
.partners .code { white-space: nowrap; font-weight: 600; letter-spacing: 0.08em; color: var(--medallion-names); }

/* ─── The dashboard and the themes (a dark band) ───────────────────────── */

.dashboard { padding: 6rem 0 5rem; }
.dashboard .wrap { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.dashboard h2 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
.dashboard .words p { margin-top: 1.1rem; color: var(--sage); max-width: 30rem; text-wrap: pretty; }
@media (min-width: 900px) { .dashboard .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; } }

.still { position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid var(--branch-border);
  background: radial-gradient(600px 380px at 50% 45%, var(--page-gradient-inner), var(--page-gradient-outer)); }
.still svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.still .card { position: absolute; padding: 1.8% 2.5%; border-radius: 0.5rem; border: 1px solid var(--branch-border); background: var(--branch); }
.still .card .name { display: block; color: var(--cream); }
.still .card .line { display: block; color: var(--branch-ink); }
.still .couple { position: absolute; display: grid; place-items: center; text-align: center; border: 3px double var(--medallion-border); border-radius: 1rem; background: var(--medallion-paper); }
.still .couple .names { display: block; font-family: var(--font-names); font-weight: 700; line-height: 1.15; color: var(--medallion-names); }
.still .couple .date { display: block; color: var(--medallion-date); }
.still-wide { aspect-ratio: 16 / 10; display: none; }
.still-wide .card .name { font-size: clamp(0.55rem, 1.4vw, 0.9rem); }
.still-wide .card .line { font-size: clamp(0.45rem, 1.1vw, 0.72rem); }
.still-wide .couple .names { font-size: clamp(0.8rem, 2.2vw, 1.4rem); }
.still-wide .couple .date { font-size: clamp(0.5rem, 1vw, 0.7rem); }
.still-phone { aspect-ratio: 18 / 25; }
.still-phone .card .name { font-size: 0.9rem; }
.still-phone .card .line { font-size: 0.75rem; }
.still-phone .couple .names { font-size: 1.25rem; }
.still-phone .couple .date { font-size: 0.75rem; }
@media (min-width: 640px) { .still-wide { display: block; } .still-phone { display: none; } }
.still path { stroke-linecap: round; fill: none; }
.still .vine path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(0.45, 0, 0.2, 1); }
.still .vine .tendril { opacity: 0; transition: stroke-dashoffset 0.6s cubic-bezier(0.45, 0, 0.2, 1) 1.1s, opacity 0.15s linear 1.1s; }
.still.grown .vine path { stroke-dashoffset: 0; }
.still.grown .vine .tendril { opacity: 1; }

/* The fourteen themes, each with its own picture */
.themes-band { padding: 0 0 6rem; }
.themes-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.themes-band .intro { max-width: 34rem; }
/* Arrows for mouse users; touch screens swipe, so they're hidden there */
.strip-arrows { display: flex; gap: 0.6rem; flex-shrink: 0; }
.strip-arrows button { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--sage); background: transparent; color: var(--cream); font: inherit; font-size: 1.15rem; line-height: 1; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.strip-arrows button:hover:not(:disabled) { background: var(--cream); color: var(--forest-deep); }
.strip-arrows button:disabled { opacity: 0.35; cursor: default; }
@media (hover: none) { .strip-arrows { display: none; } }
.themes-band h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.themes-band .intro p { margin-top: 0.75rem; color: var(--sage); }
.theme-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(11rem, 1fr); gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--branch-border) transparent; }
.theme-strip li { scroll-snap-align: start; }
.theme-strip figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0.75rem; border: 1px solid var(--branch-border); }
.theme-strip img { width: 100%; height: 100%; object-fit: cover; }
.theme-strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 0.9rem 0.7rem;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--cream);
  background: linear-gradient(180deg, transparent, rgba(17, 31, 22, 0.85)); }
.theme-strip .swatch { position: absolute; top: 0.6rem; right: 0.6rem; width: 0.8rem; height: 0.8rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); }

/* ─── Pricing: one sheet ────────────────────────────────────────────────── */

.pricing { padding: 6rem 0; }
.pricing .intro { max-width: 34rem; margin-bottom: 2.5rem; }
.pricing h2, .pricing h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
.pricing .intro p { margin-top: 1rem; color: var(--ink-soft); }
.price-sheet { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 56rem; }
.price-sheet > div { padding: 1.75rem 1.75rem 1.9rem; }
.price-sheet > div + div { border-top: 1px solid var(--champagne); }
@media (min-width: 760px) {
  .price-sheet { grid-template-columns: 1.3fr 1fr; }
  .price-sheet > div + div { border-top: 0; border-left: 1px solid var(--champagne); }
}
.price-sheet h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; }
.price-sheet .amount { margin-top: 0.4rem; font-family: var(--font-display); font-weight: 500; font-size: 3.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price-sheet .amount .per { font-family: var(--font-body); font-size: 0.95rem; color: var(--ink-faint); margin-left: 0.25rem; }
.price-sheet .amount s { font-size: 0.55em; color: var(--ink-soft); margin-right: 0.6rem; }

/* The launch discount: shown only while the app runs one (script.js) */
.launch-title { font-family: var(--font-display); font-weight: 500; }
.launch-strip { max-width: 56rem; margin-bottom: 1.75rem; padding: 0.9rem 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 1.5rem; }
.launch-strip p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; font-size: 0.92rem; color: var(--ink-soft); }
.launch-strip .launch-title { font-size: 1.85rem; line-height: 1.1; color: var(--ink); }
.launch-strip .ends { font-weight: 600; color: var(--ink); white-space: nowrap; }
.hero .launch-line { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.75rem; margin-top: 1.4rem; padding: 0.5rem 0.9rem; border: 1px solid var(--gold); font-size: 0.92rem; }
.hero .launch-line .launch-title { font-size: 1.25rem; color: var(--cream); }
.hero .launch-line .launch-more { color: var(--sage); }
.hero .launch-line a { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.price-sheet .note { margin-top: 0.5rem; color: var(--ink-soft); }
.price-sheet ul { margin-top: 1.25rem; }
.price-sheet li { padding: 0.45rem 0; border-top: 1px solid var(--champagne); font-size: 0.95rem; }
.price-sheet .btn { margin-top: 1.5rem; }
.pricing .fine { margin-top: 1.25rem; max-width: 36rem; font-size: 0.85rem; color: var(--ink-faint); }
.pricing .fine a { text-decoration: underline; text-underline-offset: 4px; }

/* ─── The close, the footer ─────────────────────────────────────────────── */

.closing { padding: 6.5rem 0 7rem; text-align: center; }
.closing h2 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); margin: 0 auto; max-width: 22ch; }
.closing p { margin: 1.25rem auto 2rem; max-width: 30rem; color: var(--sage); }

.site-footer { padding: 3.5rem 0 3rem; border-top: 1px solid var(--champagne); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.site-footer .wordmark { font-family: var(--font-display); font-weight: 500; font-size: 2rem; line-height: 1; }
.site-footer .wordmark + p { margin-top: 0.6rem; color: var(--ink-soft); max-width: 22rem; }
.site-footer h3 { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.6rem; }
.site-footer li { padding: 0.2rem 0; font-size: 0.92rem; }
.site-footer a { text-decoration: none; color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.site-footer .legal-line { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--champagne); font-size: 0.8rem; color: var(--ink-faint); }

/* ─── Inner pages ───────────────────────────────────────────────────────── */

.page-intro { padding: 4.5rem 0 2rem; max-width: 40rem; }
.page-intro h1 { font-size: clamp(2.6rem, 5.4vw, 4rem); }
.page-intro .lede { margin-top: 1.25rem; }

/* Features: the five categories as the dashboard groups them */
.category { padding: 3.5rem 0 4rem; border-top: 1px solid var(--champagne); }
.category .wrap { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .category .wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; } .category-head { position: sticky; top: calc(var(--nav-h) + 2rem); } }
.category-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.category-head p { margin-top: 0.75rem; color: var(--ink-soft); max-width: 22rem; }
.feature-list li { padding: 1.4rem 0; border-top: 1px solid var(--champagne); display: grid; grid-template-columns: 1fr; gap: 0.4rem 2rem; }
.feature-list li:last-child { border-bottom: 1px solid var(--champagne); }
@media (min-width: 640px) { .feature-list li { grid-template-columns: 11rem minmax(0, 1fr); } }
.feature-list h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1.15; }
.feature-list p { color: var(--ink-soft); font-size: 0.97rem; max-width: 36rem; }
.feature-list p + p { margin-top: 0.5rem; }
.feature-list .soon { display: inline-block; margin-top: 0.5rem; font-size: 0.85rem; font-style: italic; color: var(--ink-faint); }
.band { padding: 5rem 0; }
.band h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.two-col { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.two-col p { margin-top: 1rem; color: var(--sage); max-width: 30rem; }
.two-col .points { margin-top: 1.25rem; }
.two-col .points li { position: relative; padding: 0.5rem 0 0.5rem 1.4rem; border-top: 1px solid var(--branch-border); color: var(--cream); font-size: 0.95rem; }
.two-col .points li::before { content: ""; position: absolute; left: 0; top: 1.1rem; width: 0.6rem; height: 1px; background: var(--sage); }
.two-col .points li:last-child { border-bottom: 1px solid var(--branch-border); }

/* Pricing page Q&A */
.qa { max-width: 44rem; margin-top: 3.5rem; }
.qa h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.qa details { border-top: 1px solid var(--champagne); }
.qa details:last-child { border-bottom: 1px solid var(--champagne); }
.qa summary { padding: 1rem 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-size: 1.05rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--moss); font-family: var(--font-display); font-size: 1.4rem; line-height: 1; }
.qa details[open] summary::after { content: "–"; }
.qa details p { padding-bottom: 1.1rem; color: var(--ink-soft); max-width: 36rem; }

/* Legal pages: one readable document on a sheet */
.legal { padding: 3rem 0 4rem; }
.legal .sheet { max-width: 46rem; margin: 0 auto; padding: 2.5rem 1.5rem; }
@media (min-width: 640px) { .legal .sheet { padding: 3rem 3.5rem; } }
.legal h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 4.2vw, 3rem); line-height: 1.05; }
.legal .updated { margin-top: 0.6rem; font-size: 0.9rem; color: var(--ink-faint); }
.legal .draft { margin-top: 1rem; padding: 0.6rem 0.8rem; font-size: 0.9rem; font-style: italic; color: var(--ink-soft); border: 1px dashed var(--champagne); }
.legal .intro { margin-top: 1.75rem; color: var(--ink-soft); }
.legal section { margin-top: 2.25rem; }
.legal h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; margin-bottom: 0.5rem; }
.legal section p, .legal section ul { font-size: 0.97rem; line-height: 1.65; }
.legal section p + p, .legal section ul + p, .legal section p + ul { margin-top: 0.75rem; }
.legal section ul { padding-left: 1.25rem; list-style: disc; }
.legal section li + li { margin-top: 0.4rem; }
.legal a { text-decoration: underline; text-underline-offset: 4px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; max-width: 46rem; margin: 1.5rem auto 0; font-size: 0.92rem; color: var(--ink-soft); }
.legal-nav a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--champagne); }

/* ─── Motion ────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* ─── The five invitation designs ───────────────────────────────────────────
 * Ported from the app (frontend/src/pages/invitations/invitationCard.css).
 * Everything on a card is sized in --u, one unit taken from the card's
 * tighter side, times --fit, which script.js lowers until the wording fits
 * inside the margins. --p, --i and --a are the paper, ink and accent. */

.inv-paper { position: relative; width: 100%; container-type: size; overflow: hidden; background: var(--p); color: var(--i);
  box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 18px 40px -14px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.12); }
.inv-paper .grain { position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 3px 3px; }
.inv-t { position: absolute; inset: 0; display: flex; flex-direction: column; --u: calc(min(1cqw, 0.72cqh) * var(--fit, 1)); }

/* Classic: centred serif, a double rule inset in the accent colour */
.inv-t-classic { font-family: 'Cormorant Garamond', Georgia, serif; align-items: center; justify-content: center; text-align: center; padding: calc(11 * var(--u)) calc(10 * var(--u)); gap: calc(2.6 * var(--u)); }
.inv-t-classic::before, .inv-t-classic::after { content: ""; position: absolute; border: calc(0.35 * var(--u)) solid var(--a); pointer-events: none; }
.inv-t-classic::before { inset: calc(4 * var(--u)); }
.inv-t-classic::after { inset: calc(5.4 * var(--u)); border-width: calc(0.18 * var(--u)); }
.inv-t-classic .lead { font-size: calc(3.4 * var(--u)); letter-spacing: 0.18em; text-transform: uppercase; }
.inv-t-classic .names { font-size: calc(8.2 * var(--u)); font-weight: 500; line-height: 1.08; letter-spacing: 0.02em; text-wrap: balance; }
.inv-t-classic .names .amp { display: block; font-style: italic; font-size: 0.6em; color: var(--a); margin-block: calc(0.4 * var(--u)); }
.inv-t-classic .body { font-size: calc(4 * var(--u)); font-style: italic; line-height: 1.35; text-wrap: balance; }
.inv-t-classic .date { font-size: calc(3.6 * var(--u)); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; text-wrap: balance; }
.inv-t-classic .place { font-size: calc(4.4 * var(--u)); font-weight: 600; }
.inv-t-classic .small { font-size: calc(3.3 * var(--u)); line-height: 1.35; }
.inv-t-classic .rule { width: calc(14 * var(--u)); height: calc(0.2 * var(--u)); background: var(--a); }

/* Modern: left-aligned, a towering Didone for the names, quiet grotesque for the facts */
.inv-t-modern { font-family: 'Karla', system-ui, sans-serif; padding: calc(10 * var(--u)) calc(9 * var(--u)); gap: calc(3 * var(--u)); justify-content: space-between; }
.inv-t-modern .lead { font-size: calc(3 * var(--u)); letter-spacing: 0.22em; text-transform: uppercase; color: var(--a); }
.inv-t-modern .names { font-family: 'Bodoni Moda', Georgia, serif; font-size: calc(13 * var(--u)); line-height: 0.95; letter-spacing: -0.02em; }
.inv-t-modern .names .amp { font-style: italic; color: var(--a); }
.inv-t-modern .body { font-size: calc(3.6 * var(--u)); line-height: 1.45; max-width: calc(70 * var(--u)); }
.inv-t-modern .facts { border-top: calc(0.25 * var(--u)) solid var(--i); padding-top: calc(3 * var(--u)); display: grid; gap: calc(1.2 * var(--u)); }
.inv-t-modern .date, .inv-t-modern .place { font-size: calc(3.8 * var(--u)); font-weight: 500; }
.inv-t-modern .small { font-size: calc(3.1 * var(--u)); line-height: 1.4; opacity: .85; }
.inv-t-modern .rule { display: none; }

/* Script: flowing script names over a calm italic serif */
.inv-t-script { font-family: 'Cormorant Garamond', Georgia, serif; align-items: center; justify-content: center; text-align: center; padding: calc(10 * var(--u)) calc(9 * var(--u)); gap: calc(2.4 * var(--u)); }
.inv-t-script .lead { font-size: calc(4 * var(--u)); font-style: italic; }
.inv-t-script .names { font-family: 'Pinyon Script', cursive; font-size: calc(12 * var(--u)); line-height: 1.05; color: var(--a); text-wrap: balance; }
.inv-t-script .names .amp { font-size: 0.7em; padding-inline: 0.15em; }
.inv-t-script .body { font-size: calc(4.1 * var(--u)); font-style: italic; line-height: 1.35; text-wrap: balance; }
.inv-t-script .date { font-size: calc(4 * var(--u)); text-wrap: balance; }
.inv-t-script .place { font-size: calc(4.4 * var(--u)); font-weight: 600; }
.inv-t-script .small { font-size: calc(3.4 * var(--u)); font-style: italic; }
.inv-t-script .rule { width: calc(30 * var(--u)); height: calc(3 * var(--u)); background:
  linear-gradient(var(--a), var(--a)) left 50% / 40% calc(0.2 * var(--u)) no-repeat,
  linear-gradient(var(--a), var(--a)) right 50% / 40% calc(0.2 * var(--u)) no-repeat,
  radial-gradient(circle, var(--a) calc(0.9 * var(--u)), transparent calc(1 * var(--u))) center / calc(3 * var(--u)) calc(3 * var(--u)) no-repeat; }

/* Art Deco: geometric frame, airy display caps */
.inv-t-deco { font-family: 'Josefin Sans', system-ui, sans-serif; font-weight: 300; align-items: center; justify-content: center; text-align: center; padding: calc(13 * var(--u)) calc(12 * var(--u)); gap: calc(2.6 * var(--u)); }
.inv-t-deco .frame-l { position: absolute; inset: calc(4.5 * var(--u)); border: calc(0.3 * var(--u)) solid var(--a);
  --c: calc(2.6 * var(--u));
  background: linear-gradient(var(--a), var(--a)) top left / var(--c) var(--c) no-repeat,
    linear-gradient(var(--a), var(--a)) top right / var(--c) var(--c) no-repeat,
    linear-gradient(var(--a), var(--a)) bottom left / var(--c) var(--c) no-repeat,
    linear-gradient(var(--a), var(--a)) bottom right / var(--c) var(--c) no-repeat; }
.inv-t-deco .frame-l::after { content: ""; position: absolute; inset: calc(1.6 * var(--u)); border: calc(0.15 * var(--u)) solid var(--a); }
.inv-t-deco .fan { width: calc(18 * var(--u)); height: calc(9 * var(--u)); background: repeating-conic-gradient(from -90deg at 50% 100%, var(--a) 0 1.2deg, transparent 1.2deg 15deg); -webkit-mask: radial-gradient(circle at 50% 100%, #000 calc(8.8 * var(--u)), transparent calc(9 * var(--u))); mask: radial-gradient(circle at 50% 100%, #000 calc(8.8 * var(--u)), transparent calc(9 * var(--u))); }
.inv-t-deco .lead { font-size: calc(3 * var(--u)); letter-spacing: 0.32em; text-transform: uppercase; }
.inv-t-deco .names { font-family: 'Poiret One', system-ui, sans-serif; font-size: calc(9 * var(--u)); line-height: 1.1; letter-spacing: 0.06em; text-transform: uppercase; color: var(--a); text-wrap: balance; }
.inv-t-deco .names .amp { display: block; font-size: 0.55em; }
.inv-t-deco .body { font-size: calc(3.4 * var(--u)); letter-spacing: 0.06em; line-height: 1.5; text-wrap: balance; }
.inv-t-deco .date { font-size: calc(3.4 * var(--u)); letter-spacing: 0.26em; text-transform: uppercase; text-wrap: balance; }
.inv-t-deco .place { font-size: calc(3.8 * var(--u)); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400; }
.inv-t-deco .small { font-size: calc(3 * var(--u)); letter-spacing: 0.08em; }
.inv-t-deco .rule { width: calc(22 * var(--u)); height: calc(0.25 * var(--u)); background: var(--a); }

/* Letterpress: heavy, tight type pressed hard into thick card, rules between facts */
.inv-t-press { font-family: 'Playfair Display', Georgia, serif; padding: calc(9 * var(--u)) calc(8 * var(--u)); gap: calc(2.6 * var(--u)); justify-content: center; text-align: center; align-items: stretch; }
.inv-t-press .lead { font-family: 'Spectral', Georgia, serif; font-size: calc(3.2 * var(--u)); font-style: italic; }
.inv-t-press .names { font-size: calc(12.5 * var(--u)); font-weight: 900; line-height: 0.92; letter-spacing: -0.01em; text-shadow: 0 calc(0.15 * var(--u)) 0 rgba(255,255,255,.35), 0 -0.1cqw 0 rgba(0,0,0,.18); text-wrap: balance; }
.inv-t-press .names .amp { display: block; font-style: italic; font-weight: 500; font-size: 0.5em; color: var(--a); }
.inv-t-press .body { font-family: 'Spectral', Georgia, serif; font-size: calc(3.7 * var(--u)); line-height: 1.4; text-wrap: balance; }
.inv-t-press .date, .inv-t-press .place { font-size: calc(3.8 * var(--u)); font-weight: 600; padding-block: calc(1.4 * var(--u)); border-top: calc(0.3 * var(--u)) solid var(--i); }
.inv-t-press .place { border-top-width: calc(0.15 * var(--u)); }
.inv-t-press .small { font-family: 'Spectral', Georgia, serif; font-size: calc(3.2 * var(--u)); }
.inv-t-press .rule { height: calc(1.4 * var(--u)); background: var(--a); margin-inline: 30%; }
