/*
  The site's own look, shared by the landing page (public/index.html) and the share and invite
  pages (src/services/share-page.ts): fonts, tokens, type, the gold button, the header, the hero's
  light, the badge, the wave bands, the chips and the footer. Change it here and both follow.
*/
@font-face {
  font-family: "Vanihla Display";
  src: url("/assets/site/fonts/vanihla-display-latin.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/site/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
:root {
  --cream: #FFF8F0;
  --card: #FFFFFF;
  --gold: #FFD966;
  --gold-strong: #FFC933;
  --gold-soft: #FFEDB3;
  --ink: #241C17;
  --ink-2: #463C35;
  --muted: #665C53;
  --line: rgba(36, 28, 23, 0.14);
  --link: #7A5A0E;
  --sage: #CFE6C8;
  --peach: #FCDCC6;
  --sky: #DAE9F7;
  --serif: "Vanihla Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(36, 28, 23, 0.07), 0 10px 28px rgba(36, 28, 23, 0.10);
  --shadow-lg: 0 2px 4px rgba(36, 28, 23, 0.05), 0 18px 44px rgba(36, 28, 23, 0.13);
  --header-h: 64px;
  --wave-h: clamp(44px, 7vw, 100px);
  --band-gold: linear-gradient(180deg, #FEF1D6 0%, #FDF5E8 100%);
  --ribbon-gold: #FFF6E3;
}
@media (min-width: 880px) { :root { --header-h: 78px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
p { margin: 0; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--cream); }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 380px) { .wrap { padding: 0 16px; } }
/* A marker stroke behind a word; it stretches to the word's width. */
.swash { padding: 0 0.08em; margin: 0 -0.04em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath d='M6 18C40 8 130 6 194 12c5 1 6 12 4 24-2 12-7 18-15 19-58 4-121 4-169 0-9-1-13-11-12-23 1-9 1-13 4-14z' fill='%23FFD966'/%3E%3C/svg%3E") 50% 92% / 100% 64% no-repeat; }
.spark { display: inline-block; width: 0.42em; height: 0.42em; margin-left: 0.1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23FFC933' stroke-width='4.5' stroke-linecap='round'%3E%3Cpath d='M11 22 8 6M18 27l12-13M22 34l15-3'/%3E%3C/svg%3E") center / contain no-repeat; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.pill-pro { display: inline-block; margin-left: 4px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; text-transform: none; padding: 3px 10px; border-radius: 999px; vertical-align: middle; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head .lede { margin-top: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--gold); color: var(--ink); font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--gold-strong); color: var(--ink); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 201, 51, 0.35); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); box-shadow: none; }
/* header: see-through over the hero, solid once the page scrolls or the menu opens */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 240, 0.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: background-color .2s, border-color .2s; }
.js .site-header:not(.is-scrolled):not(.is-open) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: rgba(36, 28, 23, 0.08); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img.flower { width: 34px; height: 34px; }
.brand img.word { width: 96px; height: auto; }
.site-header .brand { gap: 10px; }
.site-header .brand img.flower { width: 38px; height: 38px; }
.site-header .brand img.word { width: 108px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16.5px; }
.nav a:not(.btn):hover { color: var(--link); text-decoration: underline; }
.nav .btn { min-height: 50px; padding: 0 26px; font-size: 16.5px; margin-left: 4px; }
.menu-toggle { display: none; }
@media (min-width: 880px) {
  .site-header .brand img.flower { width: 48px; height: 48px; }
  .site-header .brand img.word { width: 136px; }
}
@media (max-width: 879px) {
  .nav a:not(.btn) { display: none; }
  .nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
  .js .menu-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -10px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }
  .js .menu-toggle svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .js .menu-toggle .i-close, .js .site-header.is-open .menu-toggle .i-open { display: none; }
  .js .site-header.is-open .menu-toggle .i-close { display: block; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 20px 22px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(36, 28, 23, 0.12); }
  .js .site-header.is-open .nav { display: flex; }
  .js .nav a:not(.btn) { display: flex; align-items: center; min-height: 54px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .js .nav .btn { margin: 18px 0 0; min-height: 52px; font-size: 17px; }
}

/* the hero's light; the landing's hero and every share page open on it */
.hero {
  background:
    radial-gradient(46% 58% at 74% 44%, rgba(255, 210, 92, 0.42), rgba(255, 210, 92, 0) 72%),
    radial-gradient(40% 46% at 22% 34%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #FFF3E4 0%, #FFF6EC 62%, var(--cream) 100%); }
.badge { display: inline-block; padding: 9px 18px; border-radius: 999px; background: #FFE9A8; color: #3A2C12; font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; box-shadow: inset 0 0 0 1px rgba(122, 90, 14, 0.14); }
@media (max-width: 374px) { .badge { padding: 8px 13px; font-size: 11px; letter-spacing: 0.05em; } }
.hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 11.4vw, 3.4rem); line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.hero .lede { margin-top: 18px; max-width: 600px; color: var(--ink-2); font-size: clamp(1rem, 1.5vw, 1.32rem); line-height: 1.55; letter-spacing: 0.005em; text-wrap: pretty; }
@media (min-width: 960px) { .hero h1 { font-size: clamp(3.4rem, 5.1vw, 5rem); line-height: 1.02; } }

/* bands: a section whose top edge is a soft wave, laid over the bottom of the section above.
   A paler ribbon wave runs just above it, so each boundary is two curves. */
.band { position: relative; isolation: isolate; margin-top: calc(-1 * var(--wave-h)); padding: calc(var(--wave-h) + clamp(40px, 5vw, 76px)) 0 clamp(56px, 7vw, 100px); }
.band::before, .band::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.band::before { z-index: -1; background: var(--band-bg);
  -webkit-mask: var(--wave) 0 0 / 100% var(--wave-h) no-repeat, linear-gradient(#000, #000) 0 calc(var(--wave-h) - 1px) / 100% 100% no-repeat;
  mask: var(--wave) 0 0 / 100% var(--wave-h) no-repeat, linear-gradient(#000, #000) 0 calc(var(--wave-h) - 1px) / 100% 100% no-repeat; }
.band::after { z-index: -2; bottom: auto; height: var(--wave-h); background: var(--ribbon);
  -webkit-mask: var(--ribbon-wave) 0 0 / 100% 100% no-repeat; mask: var(--ribbon-wave) 0 0 / 100% 100% no-repeat; }
.wave-a { --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V62C120 48 200 30 320 30C470 30 560 72 760 70C930 68 1010 22 1160 22C1290 22 1370 38 1440 48V100z'/%3E%3C/svg%3E"); --ribbon-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V44C140 24 240 12 380 16C540 20 620 52 800 52C960 52 1060 6 1200 6C1320 6 1390 20 1440 28V100z'/%3E%3C/svg%3E"); }
.wave-b { --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V28C150 20 260 64 440 66C620 68 700 26 900 24C1080 22 1180 62 1320 60C1380 59 1420 52 1440 48V100z'/%3E%3C/svg%3E"); --ribbon-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V10C160 4 280 46 460 48C640 50 720 8 920 6C1100 4 1200 44 1340 42C1390 41 1425 34 1440 30V100z'/%3E%3C/svg%3E"); }
.wave-c { --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V50C200 74 380 74 560 52C740 30 860 18 1040 34C1200 48 1320 70 1440 58V100z'/%3E%3C/svg%3E"); --ribbon-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V32C200 56 380 56 560 34C740 12 860 0 1040 16C1200 30 1320 52 1440 40V100z'/%3E%3C/svg%3E"); }
.band h2 { margin-top: 12px; }
.band .lede { color: var(--ink-2); }
.swoosh { position: relative; display: inline-block; }
.swoosh::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: -0.14em; height: 0.3em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11C30 4 72 3 117 7' fill='none' stroke='%23FFC933' stroke-width='5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 7px; padding: 11px 15px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-size: clamp(14.5px, 1.1vw, 16px); font-weight: 500; line-height: 1; }
.chips svg { width: 19px; height: 19px; fill: none; stroke: #5E7F2E; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* footer */
.site-footer { background: var(--ink); color: #EDE3D6; padding: 56px 0 40px; font-size: 15px; }
.site-footer a { color: #FFE9A6; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; gap: 32px; }
.foot-brand p { margin-top: 12px; max-width: 320px; color: #D9CDBF; }
.foot-brand .brand { color: #EDE3D6; }
/* The wordmark in cream: the same vector as a mask, since Safari boxes an element with a CSS filter. */
.brand .word-light { display: block; width: 96px; aspect-ratio: 6088 / 1336; background: #FFFFFD;
  -webkit-mask: url("/assets/site/img/wordmark.svg") center / contain no-repeat; mask: url("/assets/site/img/wordmark.svg") center / contain no-repeat; }
.foot-col h2 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #CDBFAF; margin-bottom: 12px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }
.foot-col .social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(237, 227, 214, 0.1); color: #FFE9A6; transition: background-color .2s, color .2s; }
.social a:hover { background: var(--gold); color: var(--ink); text-decoration: none; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(237, 227, 214, 0.18); font-size: 13px; color: #CDBFAF; display: grid; gap: 6px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.2fr minmax(max-content, 0.9fr) minmax(max-content, 0.9fr) 1.4fr; } }
.site-footer :focus-visible { outline-color: var(--gold); }
