/* =====================================================================
   seemyevent.com, the one public stylesheet (site, client portal,
   proposals). Paper, ink and the seal. The arched door from the logo is
   the one recurring shape: the hero's doorway, the showcase you scroll
   through, the closing arch, the step markers.

   Sections:
     1. tokens, base          8. inner pages (hero, crumbs, prose, cards)
     2. buttons               9. forms, notices, pills
     3. nav, footer          10. shared components (panel, facts, steps...)
     4. home: hero, kinds    11. blog
     5. home: compare, demo  12. client portal
     6. home: how, fees      13. kit class aliases
     7. home: looks, bento,  14. reduced motion
        quote, faq, closer
   ===================================================================== */
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ---------- 1. tokens, base ---------- */
:root {
  --paper: #F6F6F9; --card: #FFFFFF; --ink: #14141F; --ink-2: #2A2B3A; --slate: #5B5E6E;
  --fog: #E6E7EE; --mist: #EFF0F5;
  --seal: #C81E37; --seal-deep: #A3162B; --seal-soft: #FBEAED; --blush: #F3D6DB;
  --mint: #11744F; --mint-soft: #E2F3EA;
  --amber: #8A5300; --amber-soft: #FFF1D6; --sky: #1F5FA8; --sky-soft: #E6EFFA;
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --body: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: 16px;
  --sec: clamp(72px, 10vw, 128px);
  --nav-h: 64px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; --nav-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; letter-spacing: -.025em; font-weight: 760; text-wrap: balance; }
h4 { margin: 0; }
figure { margin: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--seal); outline-offset: 3px; border-radius: 8px; }
.closer :focus-visible, .foot :focus-visible, .through :focus-visible, .fees :focus-visible, .kinds :focus-visible, .t-private :focus-visible { outline-color: #fff; }
.sr, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.wrap.narrow { max-width: calc(760px + var(--gutter) * 2); }
.skip, .skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus, .skip-link:focus { top: 12px; }
.muted { color: var(--slate); }
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ic { flex: none; vertical-align: -.18em; }
.ic:not([width]) { width: 1.15em; height: 1.15em; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; color: var(--ink); text-decoration: underline; text-decoration-color: var(--seal); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { color: var(--seal-deep); }
.announce { background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; padding: 10px 0; }

/* ---------- 2. buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; max-width: 100%; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 650 16px/1 var(--body); text-decoration: none; white-space: nowrap; text-align: center; cursor: pointer; transition: background .2s var(--ease), border-color .2s, color .2s, transform .2s var(--ease); isolation: isolate; }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn-seal { background: var(--seal); color: #fff; }
.btn-seal:hover { background: var(--seal-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--fog); }
.btn-ghost:hover { border-color: #C5C7D3; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-line-paper { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-line-paper:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 479px) { .btn { white-space: normal; line-height: 1.15; padding-top: 8px; padding-bottom: 8px; } }
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 8px 0; min-height: 44px; color: var(--slate); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row-center { justify-content: center; }
.cta-row-gap { margin-top: 28px; }
@media (max-width: 479px) { .cta-row { width: 100%; } .cta-row .btn { flex: 1 1 100%; } }

/* Shimmer button, after Magic UI's (MIT): a spark of light runs around the edge. */
.btn-shimmer { overflow: hidden; }
.btn-shimmer > span { position: relative; z-index: 1; }
.btn-shimmer::before { content: ''; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from var(--angle), transparent 0 70%, rgba(255, 255, 255, .55) 82%, transparent 92%); animation: spin 3.2s linear infinite; }
.btn-shimmer::after { content: ''; position: absolute; inset: 1.5px; z-index: -1; border-radius: inherit; background: var(--seal); box-shadow: inset 0 -8px 12px rgba(255, 255, 255, .12); transition: background .2s; }
.btn-shimmer:hover::after { background: var(--seal-deep); box-shadow: inset 0 -6px 10px rgba(255, 255, 255, .22); }
@keyframes spin { to { --angle: 360deg; } }

/* ---------- 3. nav ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--seal); transform-origin: 0 50%; transform: scaleX(0); }
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(246, 246, 249, .86); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--fog); }
.nav-in { max-width: 1200px; margin: 0 auto; height: var(--nav-h); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.035em; min-height: 44px; flex: none; }
.logo svg { border-radius: 9px; flex: none; }
.nav-links { display: none; gap: 4px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 10px 14px; border-radius: 999px; transition: background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(20, 20, 31, .06); color: var(--ink); }
.nav-login { display: inline-flex; align-items: center; gap: 7px; }
.nav-login .ic { color: var(--slate); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.nav-toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--fog); background: var(--card); padding: 0; }
@media (max-width: 999px) {
  .nav-links.is-open { display: grid; position: absolute; top: calc(var(--nav-h) - 4px); left: var(--gutter); right: var(--gutter); background: var(--card); border: 1px solid var(--fog); border-radius: 22px; padding: 8px; box-shadow: 0 24px 60px -24px rgba(20, 20, 31, .35); animation: drop .25s var(--ease); max-height: calc(100svh - var(--nav-h) - 16px); overflow: auto; }
  .nav-links.is-open a { padding: 14px 16px; font-size: 17px; }
  .nav-links.is-open .nav-login { border-top: 1px solid var(--fog); border-radius: 0 0 16px 16px; margin-top: 4px; padding-top: 16px; }
  @keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
}
@media (min-width: 1000px) {
  .nav-links { display: flex; align-items: center; }
  .nav-toggle { display: none; }
  .nav-login { position: relative; margin-left: 12px; }
  .nav-login::before { content: ''; position: absolute; left: -9px; top: 50%; width: 1px; height: 20px; margin-top: -10px; background: var(--fog); }
}
@media (max-width: 360px) { .nav .logo span { display: none; } }
.portal-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 2px; }
.portal-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.portal-nav a:hover, .portal-nav a[aria-current="page"] { background: rgba(20, 20, 31, .06); color: var(--ink); }

/* ---------- 3b. footer ---------- */
.foot { background: var(--ink); color: #C5C7D3; padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot-in { display: grid; gap: 36px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: start; gap: 48px; } .foot-base { grid-column: 1 / -1; } }
.foot-brand { display: grid; gap: 12px; justify-items: start; align-content: start; }
.foot-brand > p { max-width: 24em; }
.logo-foot { color: var(--paper); }
.foot-contact { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.foot-contact a, .foot-addr { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; color: #DADBE3; font-weight: 600; overflow-wrap: anywhere; }
.foot-contact a:hover { color: #fff; }
.foot-contact .ic { color: #FF8C9D; }
.social { display: flex; gap: 8px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #2C2D3E; color: #DADBE3; }
.social a:hover { border-color: #5B5E6E; color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 28px 20px; }
.foot-col h2 { font: 700 15px/1.3 var(--display); letter-spacing: 0; color: var(--paper); margin-bottom: 8px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; }
.foot-col a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; font-weight: 600; color: #DADBE3; }
.foot-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding-top: 22px; border-top: 1px solid #2C2D3E; font-size: 14px; }
.credit { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; padding: 10px 0; min-height: 44px; }
.credit img { border-radius: 4px; flex: none; }
.credit:hover { color: #fff; }
@media (max-width: 380px) { .credit { font-size: 11px; letter-spacing: .03em; gap: 6px; } }

/* sticky "Get a quote" (phones), or the call bar when the business has a phone number */
.sticky-cta { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; transform: translate(-50%, 140%); transition: transform .45s var(--spring); box-shadow: 0 16px 36px -12px rgba(200, 30, 55, .6); min-height: 52px; padding: 0 28px; white-space: nowrap; }
.sticky-cta.is-on { transform: translate(-50%, 0); }
@media (min-width: 900px) { .sticky-cta { display: none; } }
.callbar { display: none; }
@media (max-width: 899px) {
  .callbar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: 1fr 1.5fr; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--fog); box-shadow: 0 16px 36px -14px rgba(20, 20, 31, .45); }
  .callbar a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .callbar-call { background: var(--mist); color: var(--ink); }
  .callbar-cta { background: var(--seal); color: #fff; }
  body.has-callbar .foot { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}

/* ---------- 4. section heads, home hero ---------- */
.section { padding: var(--sec) 0; position: relative; }
.section-tight { padding: clamp(44px, 6vw, 80px) 0; position: relative; }
.section-flush { padding-top: 0; }
.section-mist { background: linear-gradient(var(--paper), #EEEFF5); }
.sec-head { max-width: 720px; display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(34px, 6vw, 60px); font-stretch: 88%; }
.sec-head p { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 38em; }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.sec-head-dark h2 { color: var(--paper); }
.sec-head-dark p { color: #C5C7D3; }
.sec-head h2 em, .page-title em { font-style: normal; color: var(--seal); }
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0; font: 650 15px/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--seal-deep); }
.kicker::before, .eyebrow::before { content: ''; width: 10px; height: 13px; border-radius: 999px 999px 1px 1px; background: var(--seal); flex: none; }

.hero { position: relative; padding: clamp(24px, 5vw, 56px) 0 clamp(48px, 7vw, 88px); overflow: clip; }
.hero-blobs { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; pointer-events: none; opacity: .75; }
.hero-in { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero-in { grid-template-columns: 1.08fr .92fr; } }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.display { font-size: clamp(46px, 10vw, 108px); line-height: .94; letter-spacing: -.045em; font-weight: 780; font-stretch: 82%; }
.display .w { display: inline-block; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-2); max-width: 32em; }
.hero-note { color: var(--slate); font-size: 15px; font-weight: 500; }

.hero-art { margin: 0; position: relative; display: grid; justify-items: center; }
.doorway { position: relative; }
.arch { position: relative; width: min(78vw, 400px); aspect-ratio: 1 / 1.34; border-radius: 999vw 999vw 0 0; background: var(--seal); }
.arch-inner { position: absolute; inset: 7% 7% 0; border-radius: 999vw 999vw 0 0; background: radial-gradient(120% 70% at 50% 18%, #E04257 0%, var(--seal-deep) 62%, #7E1022 100%); box-shadow: inset 0 12px 30px rgba(0, 0, 0, .18); }
/* Glow Effect, after motion-primitives (MIT): a soft, slowly turning halo. */
.arch-glow { position: absolute; inset: -6%; border-radius: 999vw 999vw 40px 40px; background: conic-gradient(from var(--angle), #C81E37, #F3A3B0, #C81E37, #7E1022, #C81E37); filter: blur(34px); opacity: .32; z-index: -1; animation: spin 9s linear infinite; }
.phone { position: relative; display: block; background: #0D0D14; padding: 2.4%; border-radius: 15% / 7%; box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 34px 60px -26px rgba(20, 20, 31, .55), 0 12px 24px -12px rgba(20, 20, 31, .35); }
.phone-screen { position: relative; display: block; aspect-ratio: 600 / 1298; border-radius: 12.6% / 5.9%; overflow: hidden; background: #000; isolation: isolate; }
.phone-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-hero { position: absolute; bottom: 0; left: 50%; width: 56%; transform: translateX(-50%); }
.phone-hero img { opacity: 0; transition: opacity .7s var(--ease), transform .9s var(--ease); transform: scale(1.03); }
.phone-hero img.is-on { opacity: 1; transform: none; }
.threshold { width: min(92vw, 480px); height: 6px; border-radius: 6px; background: var(--ink); margin-top: -2px; position: relative; z-index: 2; }
.hero-cap { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; color: var(--slate); font-weight: 500; font-size: 15px; text-align: center; }
/* Text Loop, after motion-primitives (MIT): words swap in place, the old one leaves upward. */
.loop { display: inline-grid; color: var(--ink); font-weight: 700; }
.loop > span { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .35s var(--ease), transform .45s var(--ease); white-space: nowrap; }
.loop > span.is-on { opacity: 1; transform: none; }
.loop > span.is-out { opacity: 0; transform: translateY(-14px); }
.motion-btn { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--fog); background: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 600; color: var(--slate); position: relative; }
.motion-btn::after { content: ''; position: absolute; inset: -6px -2px; }
.motion-btn .when-off, .motion-btn[aria-pressed="true"] .when-on { display: none; }
.motion-btn[aria-pressed="true"] .when-off, .motion-btn .when-on { display: inline-flex; align-items: center; gap: 5px; }

/* event kinds (Infinite Slider, after motion-primitives) */
.kinds { background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.kinds-track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; }
.kinds-track li { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font: 650 clamp(18px, 2.2vw, 24px)/1.2 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.kinds-track li::after { content: ''; width: 12px; height: 15px; border-radius: 999px 999px 1px 1px; background: var(--seal); flex: none; }
.kinds-track.is-static { flex-wrap: wrap; justify-content: center; width: auto; row-gap: 8px; }

/* ---------- 5. compare, guest-side demo ---------- */
.vs { display: grid; }
.vs-row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 18px 0; border-top: 1px solid var(--fog); }
.vs-head { display: none; }
.vs-topic { font-family: var(--display); font-weight: 700; font-size: 19px; }
.vs-them { color: var(--slate); padding-left: 26px; position: relative; }
.vs-them::before { content: ''; position: absolute; left: 4px; top: .78em; width: 12px; height: 2px; border-radius: 2px; background: #B3B5C2; }
.vs-us { display: flex; gap: 8px; font-weight: 600; }
.vs-us .i { color: var(--seal); flex: none; margin-top: .2em; }
@media (min-width: 820px) {
  .vs-row { grid-template-columns: .7fr 1fr 1.2fr; gap: 0; padding: 0; border: 0; }
  .vs-row > span { padding: 20px 22px; border-top: 1px solid var(--fog); }
  .vs-head { display: grid; }
  .vs-head > span { border-top: 0; font-weight: 700; font-size: 14px; color: var(--slate); display: flex; align-items: center; gap: 8px; padding-top: 22px; }
  .vs-head > span:last-child { color: var(--ink); font-family: var(--display); font-size: 17px; letter-spacing: -.02em; }
  .vs-row > .vs-us, .vs-head > span:last-child { background: var(--card); border-left: 1px solid var(--fog); border-right: 1px solid var(--fog); }
  .vs-head > span:last-child { border-radius: 24px 24px 0 0; border-top: 1px solid var(--fog); }
  .vs-row:last-child > .vs-us { border-radius: 0 0 24px 24px; border-bottom: 1px solid var(--fog); box-shadow: 0 30px 50px -40px rgba(20, 20, 31, .4); }
  .vs-them { padding-left: 46px !important; }
  .vs-them::before { left: 22px; top: calc(20px + .78em); }
  .vs-topic { font-size: 18px; padding-left: 0 !important; }
}

.demo { background: linear-gradient(var(--paper), #EEEFF5); }
.demo-stage { display: grid; gap: 28px; justify-items: center; align-items: start; }
@media (min-width: 900px) { .demo-stage { grid-template-columns: auto minmax(0, 420px); justify-content: center; gap: 56px; align-items: center; } }
.demo-phone-wrap { position: relative; }
.phone-demo { width: min(300px, 80vw); }
.demo-screen { background: radial-gradient(130% 70% at 50% 0%, #2E2747 0%, #1A1628 60%, #120F1C 100%); color: #F4EFE6; aspect-ratio: 600 / 1240; }
.demo-top { position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 22px 16px 0; font: 700 13px/1 var(--display); letter-spacing: .02em; color: #E9C46A; z-index: 2; }
.demo-mark svg { border-radius: 5px; display: block; }
.demo-step { position: absolute; inset: 0; display: grid; align-content: center; gap: 14px; padding: 56px 20px 24px; opacity: 0; visibility: hidden; transform: translateY(12px); filter: blur(4px); transition: opacity .4s var(--ease), transform .5s var(--ease), filter .4s var(--ease), visibility 0s .5s; margin: 0; }
.demo-step.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0s; }
.demo-kicker { font: 700 12px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #E9C46A; text-align: center; }
.demo-step h3 { font-size: 23px; line-height: 1.12; text-align: center; color: #FFF8EC; font-stretch: 90%; }
.demo-field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #D9D2C4; }
.demo-field input { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(233, 196, 106, .35); background: rgba(255, 255, 255, .06); color: #FFF8EC; font-size: 16px; }
.demo-field input::placeholder { color: rgba(244, 239, 230, .45); }
.demo-field input:focus { outline: none; border-color: #E9C46A; box-shadow: 0 0 0 3px rgba(233, 196, 106, .25); }
.demo-btn { min-height: 48px; border-radius: 999px; border: 0; background: #E9C46A; color: #1A1628; font-weight: 700; font-size: 16px; transition: transform .15s var(--ease), background .2s; }
.demo-btn:hover { background: #F2D27F; }
.demo-btn:active { transform: scale(.97); }
.demo-hint { font-size: 12px; color: rgba(244, 239, 230, .62); text-align: center; }
.demo-count { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; color: #D9D2C4; }
.stepper-ui { display: flex; align-items: center; gap: 4px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(233, 196, 106, .35); border-radius: 999px; padding: 3px; }
.stepper-ui button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: #FFF8EC; display: grid; place-items: center; }
.stepper-ui button:hover { background: rgba(255, 255, 255, .08); }
.stepper-ui output { min-width: 22px; text-align: center; font: 700 17px/1 var(--display); color: #FFF8EC; font-variant-numeric: tabular-nums; }
.demo-extra { display: grid; gap: 10px; }
.pass { position: relative; justify-self: center; width: 172px; aspect-ratio: 1; padding: 12px; background: #fff; border-radius: 20px; box-shadow: 0 0 0 0 rgba(17, 116, 79, 0); transition: box-shadow .6s var(--ease); }
.pass-qr { width: 100%; height: 100%; filter: blur(7px); opacity: .5; transition: filter .7s var(--ease), opacity .7s var(--ease); }
.pass-qr img, .pass-qr canvas { width: 100% !important; height: 100% !important; image-rendering: pixelated; }
.pass-lock { position: absolute; inset: 0; display: grid; place-items: center; color: #1A1628; transition: opacity .35s var(--ease), transform .45s var(--spring); }
.pass-lock .i { background: #fff; border-radius: 50%; padding: 12px; width: 56px; height: 56px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.pass.is-paid { box-shadow: 0 0 0 6px rgba(52, 199, 140, .35); }
.pass.is-paid .pass-qr { filter: none; opacity: 1; }
.pass.is-paid .pass-lock { opacity: 0; transform: scale(.6); }
.pass-status { text-align: center; font-weight: 700; font-size: 15px; min-height: 1.6em; }
.pass-status .is-done { color: #7BE3B5; }
/* Text Shimmer, after motion-primitives (MIT). */
.shimmer { --spread: 80px; background: linear-gradient(90deg, transparent calc(50% - var(--spread)), #FFF8EC, transparent calc(50% + var(--spread))) 0 0 / 250% 100% no-repeat, linear-gradient(#A79F92, #A79F92); -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 2.2s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0, 0 0; } to { background-position: 0% 0, 0 0; } }
.demo-pay { font-size: 13px; color: #D9D2C4; text-align: center; }
.admitted { display: grid; justify-items: center; gap: 8px; text-align: center; }
.admitted-check { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: #1E9A6A; color: #fff; box-shadow: 0 0 0 10px rgba(30, 154, 106, .2), 0 0 60px rgba(30, 154, 106, .5); animation: pop .6s var(--spring); }
.admitted strong { font: 760 26px/1.1 var(--display); color: #FFF8EC; margin-top: 8px; }
.admitted span { color: #D9D2C4; font-size: 15px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* Border Trail, after motion-primitives (MIT): a light runs round the phone while it waits. */
.trail { position: absolute; inset: -3px; border-radius: 16% / 7.4%; padding: 3px; background: conic-gradient(from var(--angle), transparent 0 72%, var(--trail, #E9C46A) 88%, transparent 98%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 4.5s linear infinite; opacity: 0; transition: opacity .4s; pointer-events: none; }
[data-demo].is-waiting .trail { opacity: 1; }
[data-demo].is-paid .trail { opacity: 1; --trail: #34C78C; }

.host { width: 100%; background: var(--card); border: 1px solid var(--fog); border-radius: 26px; padding: 20px; display: grid; gap: 14px; box-shadow: 0 30px 60px -40px rgba(20, 20, 31, .35); }
.host-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.host-head h3 { font-size: 22px; }
.host-pill { font-size: 12px; font-weight: 700; color: var(--slate); background: var(--mist); padding: 4px 10px; border-radius: 999px; }
.host-alert { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 12px 14px; border-radius: 14px; font-weight: 600; font-size: 14px; animation: slide-in .5s var(--spring); }
@keyframes slide-in { from { transform: translateY(-10px) scale(.97); opacity: 0; } }
.host-empty { border: 1px dashed #CDD0DA; border-radius: 16px; padding: 18px; color: var(--slate); font-size: 15px; text-align: center; }
.host-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--fog); border-radius: 16px; animation: slide-in .5s var(--spring); }
.host-row strong { display: block; font-family: var(--display); font-size: 18px; }
.host-sub { color: var(--slate); font-size: 14px; }
.owe { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--seal-soft); color: var(--seal-deep); white-space: nowrap; transition: background .3s, color .3s; }
.owe.is-paid { background: var(--mint-soft); color: var(--mint); }
.host-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.host-actions .btn { flex: 1 1 140px; }
.host-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; counter-reset: hs; }
.host-steps li { counter-increment: hs; font-size: 12px; font-weight: 600; color: var(--slate); padding-top: 10px; border-top: 3px solid var(--fog); transition: border-color .4s, color .4s; }
.host-steps li::before { content: counter(hs) '. '; }
.host-steps li.is-done { border-color: var(--seal); color: var(--ink); }

/* ---------- 6. how it works, fees ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; position: relative; --fill: 0; }
.steps::before, .steps::after { content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: var(--fog); }
.steps::after { background: var(--seal); transform-origin: 50% 0; transform: scaleY(var(--fill)); }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; row-gap: 6px; align-content: start; }
.step-n { grid-row: span 2; width: 44px; height: 44px; border-radius: 999px 999px 6px 6px; display: grid; place-items: center; background: var(--card); border: 2px solid var(--fog); font: 760 18px/1 var(--display); z-index: 1; transition: background .4s, border-color .4s, color .4s; }
.step.is-lit .step-n, .steps-lit .step-n { background: var(--seal); border-color: var(--seal); color: #fff; }
.steps-lit { --fill: 1; }
.step h3 { font-size: 22px; padding-top: 8px; }
.step p { color: var(--ink-2); }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
  .steps::before, .steps::after { left: 22px; right: 22px; top: 21px; bottom: auto; width: auto; height: 3px; }
  .steps::after { transform-origin: 0 50%; transform: scaleX(var(--fill)); }
  .step { grid-template-columns: 1fr; row-gap: 14px; }
  .step-n { grid-row: auto; }
  .step h3 { padding-top: 0; font-size: 21px; }
  .step p { font-size: 16px; }
}
.after { margin-top: 44px; font: 700 clamp(20px, 2.4vw, 26px)/1.25 var(--display); letter-spacing: -.02em; display: flex; align-items: center; gap: 12px; }
.after::before { content: ''; width: 14px; height: 18px; border-radius: 999px 999px 2px 2px; background: var(--ink); flex: none; }

.fees { background: var(--ink); color: var(--paper); }
.fees .sec-head h2 { color: var(--paper); }
.fees .sec-head p { color: #C5C7D3; }
.calc { background: #1D1D2B; border: 1px solid #2C2D3E; border-radius: 28px; padding: clamp(20px, 4vw, 36px); display: grid; gap: 28px; }
.calc-inputs { display: grid; gap: 24px; }
@media (min-width: 820px) { .calc-inputs { grid-template-columns: 1fr 1fr; gap: 40px; } }
.range { display: grid; gap: 12px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; color: #C5C7D3; }
.range-top output { font: 760 26px/1 var(--display); color: var(--paper); font-variant-numeric: tabular-nums; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; margin: 0; }
.range input::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(var(--seal), var(--seal)) 0 / var(--p, 50%) 100% no-repeat, #34354A; }
.range input::-moz-range-track { height: 8px; border-radius: 8px; background: #34354A; }
.range input::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--seal); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(200, 30, 55, .35), 0 4px 10px rgba(0, 0, 0, .4); transition: transform .15s var(--ease); }
.range input::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(200, 30, 55, .35); }
.range input:active::-webkit-slider-thumb { transform: scale(1.1); }
.range input:focus-visible { outline: none; }
.range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--paper), 0 0 0 8px var(--seal); }
.range input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--paper), 0 0 0 8px var(--seal); }
.calc-out { display: grid; gap: 14px; }
@media (min-width: 820px) { .calc-out { grid-template-columns: 1.3fr 1fr; } }
.calc-them, .calc-us { border-radius: 22px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.calc-them { background: #272839; }
.calc-us { background: var(--paper); color: var(--ink); }
.calc-label { font-weight: 600; font-size: 15px; color: #C5C7D3; display: flex; align-items: center; gap: 8px; }
.calc-us .calc-label { color: var(--ink-2); }
.calc-label svg { border-radius: 5px; }
.calc-big { font: 780 clamp(48px, 8vw, 84px)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; font-stretch: 85%; }
.calc-zero { color: var(--mint); }
.calc-per { color: #C5C7D3; font-size: 15px; }
.calc-us .calc-per { color: var(--ink-2); }
.calc-free { background: #272839; border-radius: 16px; padding: 14px 16px; color: var(--paper); font-weight: 500; }
.fine { font-size: 13px; color: var(--slate); }
.fine a { color: inherit; }
.fees .fine { color: #9496A6; }

/* ---------- 7. through the door: the looks ---------- */
.through { position: relative; --side: 0%; --r: 0px; }
.through-in { background: var(--ink); padding: clamp(96px, 12vw, 150px) 0 clamp(150px, 18vw, 230px); clip-path: inset(0 var(--side) 0 var(--side) round var(--r) var(--r) 0 0); will-change: clip-path; position: relative; }
.waves-out { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(90px, 13vw, 190px); pointer-events: none; }
.looks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px) clamp(14px, 3vw, 32px); }
@media (min-width: 900px) { .looks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.look { width: 100%; background: none; border: 0; padding: 0; color: var(--paper); text-align: left; display: grid; gap: 14px; perspective: 900px; border-radius: 22px; }
.look-tilt { position: relative; display: block; transform-style: preserve-3d; will-change: transform; border-radius: 15% / 7%; }
.look .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 60px -30px rgba(0, 0, 0, .8); transition: box-shadow .3s; }
.look:hover .phone, .look:focus-visible .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 50px 70px -30px rgba(0, 0, 0, .9), 0 0 60px -10px rgba(200, 30, 55, .45); }
.look-glare { position: absolute; inset: 0; border-radius: 15% / 7%; background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .22), transparent 60%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.look:hover .look-glare { opacity: 1; }
.look-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.look-title { font: 700 clamp(15px, 1.6vw, 18px)/1.25 var(--display); }
.look-about { margin-top: 10px; color: #C5C7D3; font-size: 15px; line-height: 1.55; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #C5C7D3; white-space: nowrap; }
.tag-real { background: var(--seal); color: #fff; }

/* Morphing Dialog, after motion-primitives (MIT): the phone you tap grows into the dialog. */
.look-dialog { padding: 0; border: 0; background: transparent; width: min(100% - 24px, 860px); max-width: none; max-height: calc(100svh - 24px); overflow: visible; color: var(--ink); }
.look-dialog::backdrop { background: rgba(20, 20, 31, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ld-in { position: relative; background: var(--paper); border-radius: 30px; padding: 22px; display: grid; gap: 20px; max-height: calc(100svh - 24px); overflow: auto; }
@media (min-width: 700px) { .ld-in { grid-template-columns: 300px 1fr; align-items: center; padding: 32px; gap: 36px; } }
.ld-phone { width: min(200px, 52vw); justify-self: center; }
@media (min-width: 700px) { .ld-phone { width: 100%; } }
.ld-copy { display: grid; gap: 14px; justify-items: start; }
.ld-copy h3 { font-size: clamp(28px, 4vw, 40px); font-stretch: 88%; }
.ld-copy p { color: var(--ink-2); font-size: 17px; }
.ld-copy .tag { background: var(--mist); color: var(--ink-2); }
.ld-copy .tag.tag-real { background: var(--seal); color: #fff; }
.ld-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--fog); background: var(--card); display: grid; place-items: center; }
.look-dialog[open] .ld-copy, .look-dialog[open] .ld-close { animation: fade-up .45s var(--ease) .12s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }

/* features (bento) */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } .t-private { grid-column: span 2; } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 16px; }
  .t-private { grid-column: span 7; } .t-surprise { grid-column: span 5; }
  .t-names, .t-paid, .t-door { grid-column: span 4; }
  .t-small { grid-column: span 3; }
}
.tile { position: relative; border-radius: 26px; padding: 24px; background: var(--card); border: 1px solid var(--fog); display: grid; gap: 10px; align-content: start; overflow: hidden; isolation: isolate; }
.tile h3 { font-size: 22px; }
.tile p { color: var(--ink-2); font-size: 16px; }
.tile-art { margin-bottom: 10px; }
/* Spotlight, after 21st.dev's Spotlight Card: one light follows the pointer across every tile. */
@media (hover: hover) and (pointer: fine) {
  .tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(200, 30, 55, .1), transparent 55%); background-attachment: fixed; opacity: 0; transition: opacity .3s; }
  .bento:hover .tile::before { opacity: 1; }
  .t-private::before { background-image: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(255, 255, 255, .1), transparent 55%); }
}
.t-private { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.t-private p { color: #C5C7D3; }
.t-surprise { background: var(--seal-soft); border-color: #F2D2D8; }
.t-small { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 18px 2px 4px; }
.t-small .i { color: var(--seal); }
.t-small h3 { font-size: 19px; }
.t-small p { font-size: 15px; }
.art-gate { display: grid; gap: 8px; max-width: 360px; }
.g-field { display: block; padding: 14px 16px; border-radius: 14px; border: 1px solid #3A3B4E; background: #1D1D2B; font: 600 18px/1 var(--body); color: #C5C7D3; letter-spacing: .02em; }
.g-field b { color: var(--paper); }
.g-row { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.g-ok { color: #7BE3B5; background: rgba(52, 199, 140, .12); }
.g-no { color: #FF9AAA; background: rgba(200, 30, 55, .18); }
.art-preview { display: flex; }
.bubble { display: flex; gap: 10px; align-items: center; background: var(--card); border-radius: 18px 18px 18px 4px; padding: 10px; box-shadow: 0 10px 24px -14px rgba(20, 20, 31, .35); max-width: 340px; }
.bubble-img { flex: none; width: 54px; height: 54px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; }
.bubble-img svg { border-radius: 7px; }
.bubble-t { display: grid; gap: 2px; font-size: 13px; line-height: 1.35; color: var(--slate); }
.bubble-t b { color: var(--ink); font-size: 15px; }
.art-names { display: flex; flex-wrap: wrap; gap: 6px; }
.art-names span { background: var(--mist); border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: 14px; }
.art-names span:nth-child(n+2) { background: var(--seal-soft); color: var(--seal-deep); }
.art-paid { display: grid; gap: 6px; }
.p-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--fog); border-radius: 12px; font-size: 14px; }
.p-pill { font-style: normal; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.p-ok { background: var(--mint-soft); color: var(--mint); }
.p-owe { background: var(--seal-soft); color: var(--seal-deep); }
.art-door { display: flex; align-items: center; gap: 14px; }
.d-scan { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 18px; background: var(--ink); color: var(--paper); }
.d-ok { display: inline-flex; align-items: center; gap: 6px; background: var(--mint-soft); color: var(--mint); font-weight: 700; padding: 8px 12px; border-radius: 999px; font-size: 14px; }

/* reviews (published testimonials) */
.reviews { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.review { margin: 0; background: var(--card); border: 1px solid var(--fog); border-radius: 26px; padding: 24px; display: grid; gap: 16px; align-content: start; }
.review blockquote { margin: 0; font: 600 clamp(18px, 1.8vw, 21px)/1.4 var(--display); letter-spacing: -.01em; }
.review figcaption { color: var(--slate); font-size: 15px; display: grid; gap: 2px; }
.review figcaption strong { color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: var(--seal); }
.reviews-more { margin-top: 18px; text-align: center; }

/* quote builder */
.quote { background: var(--paper); padding-top: calc(var(--sec) + 40px); overflow: hidden; }
/* haikei circle scatter, kept to the edges so it never sits behind words */
.quote::before { content: ''; position: absolute; inset: 0; background: url('/assets/img/bg/confetti.svg') center / 720px repeat; -webkit-mask-image: radial-gradient(ellipse 52% 72% at 50% 46%, transparent 70%, #000 100%); mask-image: radial-gradient(ellipse 52% 72% at 50% 46%, transparent 70%, #000 100%); opacity: .9; pointer-events: none; }
.quote-waves { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: clamp(70px, 9vw, 130px); pointer-events: none; z-index: 1; }
.quote-in { position: relative; z-index: 2; display: grid; justify-items: center; }
.quote .sec-head { text-align: center; justify-items: center; }
.qcard { width: 100%; max-width: 780px; background: var(--card); border: 1px solid var(--fog); border-radius: 30px; padding: clamp(18px, 4vw, 36px); box-shadow: 0 40px 80px -50px rgba(20, 20, 31, .45); position: relative; overflow: hidden; }
.q-progress { list-style: none; margin: 0 0 24px; padding: 4px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--mist); border-radius: 999px; position: relative; }
.q-progress::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--ink); transform: translateX(calc(var(--qstep, 0) * 100%)); transition: transform .45s var(--spring); }
.q-progress li { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; font-size: 14px; font-weight: 650; color: var(--slate); transition: color .3s; white-space: nowrap; }
.q-progress li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: rgba(20, 20, 31, .08); }
.q-progress li.is-now { color: #fff; }
.q-progress li.is-now span { background: var(--seal); }
.q-progress li.is-done span { background: var(--seal); color: #fff; }
@media (max-width: 420px) { .q-progress li { font-size: 0; gap: 0; } .q-progress li span { font-size: 12px; } }
html:not(.js) .q-progress, html:not(.js) [data-q-next], html:not(.js) [data-q-back] { display: none; }
.q-form { margin: 0; }
.q-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.js .q-step:not(.is-on) { display: none; }
.js .q-step.is-on { animation: step-in .45s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); filter: blur(3px); } }
.q-step + .q-step { margin-top: 36px; }
.js .q-step + .q-step { margin-top: 0; }
.q-step > legend { font: 760 clamp(24px, 3.4vw, 32px)/1.1 var(--display); letter-spacing: -.025em; padding: 0; margin-bottom: 18px; float: left; width: 100%; }
.q-step > legend + * { clear: both; }
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .types { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.type { position: relative; min-width: 0; }
.type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.type-ui { display: grid; justify-items: start; gap: 18px; padding: 16px; min-height: 104px; border-radius: 18px; border: 1.5px solid var(--fog); background: var(--paper); font-weight: 650; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease); }
.type-ui .i { color: var(--seal); transition: color .2s; }
.type:hover .type-ui { border-color: #C5C7D3; }
.type input:checked + .type-ui { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.type input:checked + .type-ui .i { color: #FF8C9D; }
.type input:focus-visible + .type-ui { outline: 3px solid var(--seal); outline-offset: 3px; }
@media (max-width: 380px) { .qcard { padding: 14px; border-radius: 24px; } .type-ui { padding: 12px; gap: 12px; min-height: 92px; font-size: 14px; } }
.q-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .q-grid { grid-template-columns: 1fr 1fr; align-items: end; } }
.sub { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.sub legend { font-weight: 650; font-size: 15px; padding: 0; margin-bottom: 10px; }
.sub-inline legend { margin-bottom: 7px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; max-width: 100%; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip > span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--fog); background: var(--paper); font-weight: 600; font-size: 15px; line-height: 1.2; transition: background .2s, border-color .2s, color .2s; }
.chip-check > span .i { display: none; }
.chip:hover > span { border-color: #C5C7D3; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-check input:checked + span .i { display: inline; color: #FF8C9D; }
.chip input:focus-visible + span { outline: 3px solid var(--seal); outline-offset: 2px; }
.q-err, .form-error { color: var(--seal-deep); font-weight: 650; font-size: 14px; }
.q-ticket { display: grid; gap: 6px; max-width: 360px; }
.q-ticket[hidden] { display: none; }
.q-hint { color: var(--ink-2); font-size: 14px; margin: 0; }
.q-site { display: grid; gap: 6px; max-width: 520px; }
.q-site-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.q-site-row input { flex: 1 1 auto; min-width: 0; }
.q-site-dom { color: var(--ink-2); font-weight: 600; white-space: nowrap; font-size: 15px; }
[data-site-status][data-tone="ok"] { color: #1F7A4D; font-weight: 600; }
[data-site-status][data-tone="bad"] { color: var(--seal-deep); font-weight: 600; }
.q-site-try { margin-left: 4px; border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; min-height: 24px; }
@media (max-width: 360px) { .q-site-dom { font-size: 13px; } }
.form-error { background: var(--seal-soft); border-radius: 14px; padding: 12px 14px; margin-bottom: 18px; }
.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 6px; }
.q-nav .btn { min-width: 120px; }
@media (max-width: 400px) { .q-nav { flex-direction: column-reverse; align-items: stretch; } .q-nav > span:empty { display: none; } .q-nav .btn { width: 100%; min-width: 0; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.q-done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 36px 8px; position: relative; }
.q-done:focus { outline: none; }
.q-check { width: 76px; height: 76px; border-radius: 999px 999px 10px 10px; background: var(--seal); color: #fff; display: grid; place-items: center; animation: pop .6s var(--spring); }
.q-done h3 { font-size: clamp(28px, 4vw, 38px); }
.q-done p { color: var(--ink-2); max-width: 30em; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cf-turnstile { min-height: 65px; }

/* FAQ */
@media (min-width: 960px) { .faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .faq .sec-head { position: sticky; top: calc(var(--nav-h) + 24px); } }
.qa { border-top: 1px solid var(--fog); }
.qa-item { border-bottom: 1px solid var(--fog); }
.qa-item h3 { font-size: inherit; letter-spacing: 0; }
.qa-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; background: none; border: 0; text-align: left; font: 700 clamp(18px, 2vw, 21px)/1.3 var(--display); letter-spacing: -.015em; }
.qa-item button i { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); flex: none; transition: background .25s, transform .4s var(--spring); }
.qa-item button i::before, .qa-item button i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), background .25s; }
.qa-item button i::after { transform: rotate(90deg); }
.qa-item button[aria-expanded="true"] i { background: var(--seal); transform: rotate(45deg); }
.qa-item button[aria-expanded="true"] i::before, .qa-item button[aria-expanded="true"] i::after { background: #fff; }
.qa-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease); }
.js .qa-a { grid-template-rows: 0fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 48px 22px 0; color: var(--ink-2); }
@media (max-width: 479px) { .qa-a p { padding-right: 0; } }
.js .qa-item h3:has(button[aria-expanded="true"]) + .qa-a, .js .qa-a.is-open { grid-template-rows: 1fr; }
.qa-more { margin-top: 18px; }
.faq-group + .faq-group { margin-top: clamp(40px, 6vw, 64px); }
.faq-group > h2 { font-size: clamp(24px, 3vw, 32px); font-stretch: 90%; margin-bottom: 8px; }

/* closer */
.closer { background: var(--seal); color: #fff; overflow: hidden; position: relative; }
.closer-in { position: relative; display: grid; justify-items: center; text-align: center; gap: 22px; padding-top: clamp(80px, 12vw, 140px); padding-bottom: clamp(80px, 12vw, 140px); }
.closer-arch { position: absolute; left: 50%; top: 18%; width: min(92vw, 640px); aspect-ratio: 1 / 1.2; transform: translateX(-50%); border-radius: 999vw 999vw 0 0; border: 2px solid rgba(255, 255, 255, .22); border-bottom: 0; box-shadow: inset 0 0 0 28px rgba(255, 255, 255, .04); pointer-events: none; }
.closer h2 { position: relative; font-size: clamp(38px, 7vw, 76px); font-stretch: 84%; max-width: 12em; line-height: .98; }
.closer p { position: relative; font-size: clamp(17px, 1.6vw, 19px); color: rgba(255, 255, 255, .9); max-width: 32em; }
.closer .btn, .closer .cta-row { position: relative; }
.closer .cta-row { margin-top: 6px; }

/* ---------- 8. inner pages ---------- */
.page-hero { position: relative; overflow: clip; padding: clamp(24px, 5vw, 64px) 0 clamp(40px, 7vw, 88px); }
.page-hero-in { position: relative; display: grid; gap: 18px; justify-items: start; }
.page-hero-in > h1, .page-hero-in > .lede { max-width: min(100%, 820px); }
.page-title { font-size: clamp(40px, 7.4vw, 84px); line-height: .96; letter-spacing: -.04em; font-weight: 780; font-stretch: 84%; overflow-wrap: break-word; }
.page-hero .cta-row { margin-top: 6px; }
.page-hero-arch { display: none; }
@media (min-width: 1100px) {
  .page-hero-arch { display: block; position: absolute; right: var(--gutter); top: 0; width: clamp(160px, 19vw, 250px); aspect-ratio: 1 / 1.25; border-radius: 999vw 999vw 0 0; border: 2px solid var(--blush); border-bottom: 0; background: linear-gradient(180deg, var(--seal-soft), rgba(251, 234, 237, 0) 80%); -webkit-mask-image: linear-gradient(#000 45%, transparent 100%); mask-image: linear-gradient(#000 45%, transparent 100%); pointer-events: none; }
}
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; font-weight: 600; color: var(--slate); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: '/'; margin: 0 8px; color: #9A9DAB; }
.crumbs a { display: inline-block; padding: 6px 0; color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.checks .ic { color: var(--seal); margin-top: .22em; }
.checks strong { color: var(--ink); }
@media (min-width: 760px) { .checks-2 { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

/* points: the landing page's small-feature style (an ink rule, a seal icon), used on inner pages */
.points { display: grid; gap: 28px; }
@media (min-width: 720px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1000px) { .points-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .points-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.point { border-top: 2px solid var(--ink); padding: 18px 2px 4px; display: grid; gap: 10px; align-content: start; }
.point > .i { color: var(--seal); }
.point h3 { font-size: 21px; }
.point p { color: var(--ink-2); font-size: 16px; }
.through .point { border-top-color: rgba(255, 255, 255, .7); }

/* prose and legal text */
.prose { max-width: 70ch; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); color: var(--ink); margin-top: 1.6em; line-height: 1.12; }
.prose h3 { font-size: 22px; color: var(--ink); margin-top: 1.4em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-left: 0; margin-right: 0; border-left: 3px solid var(--seal); padding: .2em 0 .2em 1em; color: var(--ink); font-style: italic; }
.prose img { border-radius: 18px; height: auto; }
.prose a, .legal-body a { color: var(--seal-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--mist); padding: 14px; border-radius: 12px; font-size: 15px; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--fog); padding: 8px 10px; text-align: left; }
.legal-body { max-width: 720px; display: grid; gap: 14px; }
.legal-body h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 22px; }
.legal-body h3 { font-size: 19px; margin-top: 6px; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body ul { margin: 0; padding-left: 1.25em; display: grid; gap: 8px; }
.legal-body strong { color: var(--ink); }
.legal-short { background: var(--card); border: 1px solid var(--fog); border-radius: 22px; padding: clamp(18px, 3vw, 26px); font-size: 18px; color: var(--ink); }

/* examples, invitations, about, contact */
.type-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.type-card { position: relative; display: grid; gap: 14px; align-content: start; padding: 22px; border-radius: 22px; border: 1.5px solid var(--fog); background: var(--card); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.type-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.type-card > .i { color: var(--seal); }
.type-card h2, .type-card h3 { font-size: 23px; font-stretch: 92%; }
.type-card p { color: var(--ink-2); font-size: 16px; }
.type-card .more { font-weight: 650; font-size: 15px; color: var(--seal-deep); text-decoration: underline; text-underline-offset: 4px; }
.type-card-other { background: transparent; border-style: dashed; }
.type-links { display: flex; flex-wrap: wrap; gap: 8px; }
.type-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--fog); background: var(--card); font-weight: 600; font-size: 15px; text-decoration: none; }
.type-links a:hover { border-color: var(--ink); }
.type-links a .i { color: var(--seal); }
.type-links a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.type-links a[aria-current="page"] .i { color: #FF8C9D; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .split-flip > :first-child { order: 2; } }
.split-copy { display: grid; gap: 18px; justify-items: start; }
.split-copy h2 { font-size: clamp(30px, 4.6vw, 48px); font-stretch: 88%; }
.split-copy > p { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 19px); }
.door-sm { display: grid; justify-items: center; margin: 0; min-width: 0; }
.door-sm .arch { width: min(70vw, 330px); }
.door-sm .threshold { width: min(82vw, 400px); }
.door-sm .tag { margin-top: 14px; background: var(--mist); color: var(--ink-2); }
.door-sm .tag-real { background: var(--seal); color: #fff; }
.contact-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; } }
.panel.lead-panel { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.panel.lead-panel h2 { color: var(--paper); }
.panel.lead-panel p { color: #C5C7D3; }
.panel.lead-panel :focus-visible { outline-color: #fff; }
.lost { min-height: min(72svh, 680px); display: grid; place-items: center; align-content: center; gap: 22px; text-align: center; padding: clamp(56px, 10vw, 120px) var(--gutter); position: relative; overflow: hidden; }
.lost p { color: var(--ink-2); max-width: 30em; }
.lost-arch { width: 120px; aspect-ratio: 1 / 1.3; border-radius: 999vw 999vw 0 0; background: var(--seal); box-shadow: inset 0 0 0 10px var(--seal), inset 0 0 0 200px var(--seal-deep); border-bottom: 6px solid var(--ink); }
.lost .cta-row { justify-content: center; }

/* ---------- 9. forms, notices, pills ---------- */
.form { margin: 0; display: grid; gap: 16px; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid > .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span, .field > label, .field > .label { font-weight: 650; font-size: 15px; }
.field em, .sub legend em { font-style: normal; font-weight: 500; color: var(--slate); font-size: 13px; margin-left: 4px; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--fog); background: var(--paper); font-size: 16px; transition: border-color .15s, box-shadow .15s, background .15s; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2314141F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px; }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); background-color: #fff; box-shadow: 0 0 0 4px rgba(20, 20, 31, .07); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--seal); box-shadow: 0 0 0 4px var(--seal-soft); }
.field .hint, .hint-text { font-size: 14px; color: var(--slate); margin: 0; }
.req { color: var(--seal-deep); }
.check { display: flex; align-items: center; gap: 10px; min-height: 52px; font-weight: 550; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--seal); flex: none; margin: 0; }
.check-top { align-items: flex-start; min-height: 44px; }
.check-top input { margin-top: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-success { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 28px 8px; }
.form-success:focus { outline: none; }
.form-success h2, .form-success h3 { font-size: clamp(26px, 4vw, 34px); }
.form-success p { color: var(--ink-2); max-width: 30em; }
.form.is-done > :not(.form-success) { display: none; }

.notice, .flash { display: flex; gap: 10px; align-items: flex-start; border-radius: 16px; padding: 14px 16px; background: var(--mist); color: var(--ink-2); font-size: 15px; font-weight: 550; line-height: 1.5; margin: 0; }
.notice > .ic, .flash > .ic { margin-top: .15em; }
.notice p, .flash p { margin: 0; }
.notice a, .flash a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.notice strong { color: inherit; }
.notice-ok, .flash--ok { background: var(--mint-soft); color: var(--mint); }
.notice-warn { background: var(--amber-soft); color: var(--amber); }
.flash--err { background: var(--seal-soft); color: var(--seal-deep); }
.notice-info { background: var(--sky-soft); color: var(--sky); }
.notice-seal { background: var(--seal-soft); color: var(--seal-deep); }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; line-height: 1.1; padding: 6px 11px; border-radius: 999px; background: var(--mist); color: var(--ink-2); white-space: nowrap; vertical-align: middle; }
.pill .ic { width: 14px; height: 14px; }
.pill-ok { background: var(--mint-soft); color: var(--mint); }
.pill-warn { background: var(--amber-soft); color: var(--amber); }
.pill-info { background: var(--sky-soft); color: var(--sky); }
.pill-muted { background: var(--mist); color: var(--slate); }
.pill-seal { background: var(--seal-soft); color: var(--seal-deep); }

/* ---------- 10. shared components (portal, proposals) ---------- */
.page { padding: clamp(28px, 6vw, 72px) 0 clamp(64px, 9vw, 112px); }
.page-head { display: grid; gap: 12px; margin-bottom: clamp(24px, 4vw, 40px); }
.page h1 { font-size: clamp(34px, 6vw, 56px); font-stretch: 86%; line-height: 1; letter-spacing: -.035em; }
.page-head h1 { font-size: clamp(34px, 6vw, 60px); font-stretch: 86%; line-height: 1; }
.page-head p { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 19px); max-width: 38em; }
.stack { display: grid; gap: 16px; align-content: start; }
.stack > * { margin: 0; }
.stack-lg { gap: clamp(20px, 3vw, 28px); }
.grid2 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel { background: var(--card); border: 1px solid var(--fog); border-radius: 24px; padding: clamp(18px, 3.6vw, 28px); min-width: 0; }
.panel + .panel { margin-top: 16px; }
.stack > .panel + .panel, .grid2 > .panel + .panel { margin-top: 0; }
.panel:not(.stack):not(.grid2) > * + * { margin-top: 14px; }
.panel > .panel-head + * { margin-top: 0; }
.panel h2 { font-size: clamp(21px, 2.4vw, 26px); }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 16px; }
.panel-head h2, .panel-head h3 { font-size: clamp(21px, 2.4vw, 26px); margin: 0; }
.facts { margin: 0; display: grid; }
.facts > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--fog); min-width: 0; }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts > div:last-child { padding-bottom: 0; }
.facts dt { font-size: 14px; font-weight: 600; color: var(--slate); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
@media (min-width: 560px) { .facts > div { grid-template-columns: minmax(110px, 34%) minmax(0, 1fr); gap: 16px; align-items: baseline; } }
.terms { background: var(--paper); border: 1px solid var(--fog); border-radius: 18px; padding: clamp(16px, 3vw, 22px); font-size: 15px; line-height: 1.65; color: var(--ink-2); overflow-wrap: break-word; }
.terms > * + * { margin-top: 12px; }
.terms h3, .terms h4 { font-size: 17px; color: var(--ink); }
.terms ol, .terms ul { margin: 0; padding-left: 1.25em; display: grid; gap: 10px; }
.terms strong { color: var(--ink); }
.portal-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .portal-events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.portal-events > li { list-style: none; }
.event-card { position: relative; background: var(--card); border: 1px solid var(--fog); border-radius: 24px; padding: clamp(18px, 3.4vw, 26px); display: grid; gap: 14px; align-content: start; min-width: 0; }
.event-card h2, .event-card h3 { font-size: clamp(21px, 2.4vw, 26px); }
.event-card h2 a, .event-card h3 a { text-decoration: none; }
.event-card h2 a:hover, .event-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.event-card p { color: var(--ink-2); }
.event-card > .pill { justify-self: start; }
.event-card-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 12px; }
.event-card .cta-row, .event-card .btn-row { margin-top: 2px; }
.progress-steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: ps; }
.progress-steps > li { counter-increment: ps; position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 0; color: var(--slate); font-weight: 600; font-size: 15px; line-height: 1.25; }
.progress-steps > li::before { content: counter(ps); flex: none; width: 34px; height: 36px; border-radius: 999px 999px 6px 6px; display: grid; place-items: center; background: var(--card); border: 2px solid var(--fog); font: 760 14px/1 var(--display); color: var(--slate); position: relative; z-index: 1; }
.progress-steps > li:not(:last-child)::after { content: ''; position: absolute; left: 16px; top: 42px; bottom: -6px; width: 2px; background: var(--fog); }
.progress-steps > li.is-done, .progress-steps > li.done { color: var(--ink-2); }
.progress-steps > li.is-done::before, .progress-steps > li.done::before { content: ''; background: var(--seal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--seal); }
.progress-steps > li.is-done::after, .progress-steps > li.done::after { background: var(--seal); }
.progress-steps > li.is-now, .progress-steps > li.is-current, .progress-steps > li.current, .progress-steps > li[aria-current="step"], .progress-steps > li[aria-current="true"] { color: var(--ink); font-weight: 750; }
.progress-steps > li.is-now::before, .progress-steps > li.is-current::before, .progress-steps > li.current::before, .progress-steps > li[aria-current="step"]::before, .progress-steps > li[aria-current="true"]::before { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 5px rgba(200, 30, 55, .14); }
@media (min-width: 760px) {
  .progress-steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .progress-steps > li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 8px 0 0; min-height: 0; font-size: 14px; }
  .progress-steps > li:not(:last-child)::after { left: 42px; right: 4px; top: 17px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- 11. blog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--fog); background: var(--card); font-weight: 600; font-size: 15px; text-decoration: none; }
.filters a:hover { border-color: #C5C7D3; }
.filters a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters .count { color: var(--slate); font-weight: 500; }
.filters a[aria-current="true"] .count { color: #C5C7D3; }
.posts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post-card { position: relative; background: var(--card); border: 1px solid var(--fog); border-radius: 26px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: border-color .2s, transform .2s var(--ease); }
.post-card:hover { border-color: #C5C7D3; transform: translateY(-2px); }
.post-card-img { aspect-ratio: 16 / 10; background: var(--seal-soft); display: grid; place-items: center; color: var(--seal); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 20px 22px 24px; display: grid; gap: 10px; align-content: start; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: var(--slate); font-weight: 600; }
.post-card h2 { font-size: 23px; line-height: 1.12; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.post-card p { color: var(--ink-2); font-size: 16px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 36px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--fog); background: var(--card); text-decoration: none; font-weight: 650; font-size: 15px; }
.pager a:hover { border-color: #C5C7D3; }
.pager span[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .pager-gap { border: 0; background: none; min-width: 20px; padding: 0; }
.empty { display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(40px, 7vw, 72px) 16px; background: var(--card); border: 1px dashed #CDD0DA; border-radius: 26px; }
.empty h2 { font-size: clamp(24px, 3vw, 32px); }
.empty p { color: var(--ink-2); max-width: 30em; }
.empty-ic { width: 56px; height: 62px; border-radius: 999px 999px 8px 8px; background: var(--seal-soft); color: var(--seal); display: grid; place-items: center; }
.post-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .post-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; } .post-aside { position: sticky; top: calc(var(--nav-h) + 24px); } }
.post-aside { display: grid; gap: 16px; align-content: start; }
.post-aside .panel + .panel { margin-top: 0; }
.post-aside h2 { font-size: 20px; }
.toc { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
.toc a { display: block; padding: 8px 0; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.35; border-top: 1px solid var(--fog); }
.toc li:first-child a { border-top: 0; }
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.post-img { border-radius: 22px; overflow: hidden; margin: 0 0 8px; }
.post-img img { width: 100%; height: auto; }

/* ---------- 12. client portal ---------- */
body.portal { display: flex; flex-direction: column; min-height: 100svh; }
body.portal > main { flex: 1 0 auto; }
.nav-portal { background: rgba(246, 246, 249, .92); }
.auth-wrap { display: grid; justify-items: center; padding: clamp(28px, 7vw, 80px) var(--gutter) clamp(48px, 9vw, 110px); }
.auth-card { width: 100%; max-width: 460px; background: var(--card); border: 1px solid var(--fog); border-radius: 28px; padding: clamp(22px, 5vw, 36px); display: grid; gap: 18px; box-shadow: 0 40px 80px -60px rgba(20, 20, 31, .45); min-width: 0; }
.auth-card h1 { font-size: clamp(30px, 6vw, 40px); font-stretch: 88%; line-height: 1.02; }
.auth-card .lead { font-size: 16px; color: var(--ink-2); }
.auth-form { display: grid; gap: 14px; margin: 0; }
.auth-help { font-size: 15px; color: var(--slate); display: grid; gap: 6px; margin: 0; }
.auth-help a { color: var(--ink); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.portal-foot { border-top: 1px solid var(--fog); padding: 28px 0 calc(24px + env(safe-area-inset-bottom)); text-align: center; color: var(--slate); font-size: 15px; }
.portal-foot .wrap { display: grid; justify-items: center; gap: 6px; }
.portal-foot a { color: var(--ink-2); }
.portal-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; font-size: 14px; }
.portal-foot-links a { display: inline-flex; align-items: center; min-height: 40px; }
.portal-foot-links span { display: inline-flex; align-items: center; min-height: 40px; }
.portal-foot .credit { color: var(--slate); }
.portal-foot .credit:hover { color: var(--ink); }

/* ---------- 13. kit class aliases (older markup keeps working) ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.btn--primary { background: var(--seal); color: #fff; }
.btn--primary:hover { background: var(--seal-deep); }
.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--fog); }
.btn--ghost:hover { border-color: #C5C7D3; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--tint { background: #EEEFF5; }
.card { background: var(--card); border: 1px solid var(--fog); border-radius: 24px; padding: clamp(18px, 3.4vw, 26px); display: grid; gap: 10px; align-content: start; }
.data-list { list-style: none; margin: 0; padding: 0; display: grid; }
.data-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-top: 1px solid var(--fog); }
.data-list li:first-child { border-top: 0; padding-top: 0; }
.data-list .k, .data-list dt { color: var(--slate); font-size: 14px; font-weight: 600; }
.form__msg { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--seal-soft); color: var(--seal-deep); font-weight: 600; font-size: 15px; }

/* reveal on scroll: only once site.js is running, so nothing hides if it never loads */
.reveal-on .reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-on .reveal:not(.is-in) { opacity: 0; transform: translateY(14px); }

/* ---------- 14. reduced motion: everything lands in its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .arch-glow, .btn-shimmer::before, .trail { animation: none !important; }
  .through-in { clip-path: none !important; }
  .kinds { -webkit-mask-image: none; mask-image: none; padding-inline: 16px; }
  .reveal-on .reveal:not(.is-in) { opacity: 1; transform: none; }
}
@media (max-width: 479px) { .quote::before { display: none; } }
.motion-off .arch-glow, .motion-off .btn-shimmer::before, .motion-off .trail, .motion-off .shimmer { animation-play-state: paused !important; }
