/* Statt Golf: tokens */
:root {
  --black: #000000;
  --yellow: #fedb07;
  --white: #ffffff;
  --paper: #f3f3f1;
  --ink-muted: #555555;      /* 7.5:1 on white */
  --light-muted: #a6a6a6;    /* 8.6:1 on black */
  --line-light: #e2e2df;
  --line-dark: #222222;

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --step-4: clamp(2.75rem, 1.6rem + 5vw, 6rem);

  --gutter: 16px;
  --max: 1280px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

.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-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--yellow); color: var(--black); padding: 12px 16px; font-weight: 500; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.facts :focus-visible, .gallery :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }

/* Vertical grid lines, as on the reference */
.lined, .lined-dark { position: relative; isolation: isolate; }
.lined::before, .lined-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
}
.lined { --grid-line: var(--line-light); }
.lined-dark { --grid-line: var(--line-dark); }
@media (min-width: 900px) { .lined::before, .lined-dark::before { background-size: calc(100% / 6) 100%; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: 500 var(--step-0)/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
  touch-action: manipulation;
}
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: var(--step--1); }
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--black); color: var(--white); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: var(--yellow); color: var(--black); border-color: var(--black); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); color: var(--black); border-bottom: 1px solid var(--line-light); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; background: var(--black); padding: 12px 16px; }
.brand img { width: 112px; height: auto; }
@media (min-width: 768px) { .brand { padding: 14px 20px; } .brand img { width: 136px; } }
.nav { display: none; margin-left: auto; gap: 32px; }
.nav a { text-decoration: none; color: var(--ink-muted); padding: 12px 0; transition: color .2s; }
.nav a:hover { color: var(--black); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { display: flex; border: 1px solid #cfcfcb; }
.lang button {
  font: 500 var(--step--1)/1 var(--font); color: var(--ink-muted); background: none; border: 0;
  min-width: 44px; min-height: 40px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--black); color: var(--white); }
.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--black); cursor: pointer; }
.header-cta { display: none; }

@media (min-width: 960px) {
  .nav { display: flex; }
  .header-actions { margin-left: 32px; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .nav-contact { display: none; }
}
@media (max-width: 959px) {
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line-light);
    padding: 8px var(--gutter) 16px;
  }
  .nav.is-open a { padding: 14px 0; font-size: var(--step-1); color: var(--black); border-bottom: 1px solid var(--line-light); }
}

/* Hero */
.hero { background: var(--white); color: var(--black); overflow: hidden; }
.hero-inner {
  display: grid; gap: 40px; align-items: center;
  padding-block: 56px 64px;
}
.hero-copy { min-width: 0; }
.hero-title {
  font-size: var(--step-4); font-weight: 300; line-height: 1.1; letter-spacing: -0.035em;
  overflow: hidden; padding-block: 0.05em;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 92%, transparent);
}
/* Headline ticker: two identical groups slide left by one group width, so the loop is seamless */
.ticker-track { display: flex; width: max-content; animation: ticker 16s linear infinite; }
.ticker-group { display: flex; flex: none; }
.ticker-group span { white-space: nowrap; padding-right: 0.3em; }
.hero-title:hover .ticker-track, .hero.is-paused .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.hero-lead { margin-top: 28px; max-width: 34ch; font-size: var(--step-1); color: var(--ink-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-price { margin-top: 24px; color: var(--ink-muted); }
.hero-price strong { color: var(--black); background: var(--yellow); padding: 2px 8px; font-weight: 500; font-size: var(--step-1); }

.hero-visual { margin: 0; position: relative; }
.tracer { width: 100%; height: auto; overflow: hidden; display: block; }
.ground-fairway { fill: var(--paper); }
.ground-line { stroke: var(--line-light); stroke-width: 1; }
.horizon { stroke: #cfcfcb; stroke-width: 1; }
.flag { fill: var(--black); stroke: var(--black); stroke-width: 1.5; stroke-linejoin: round; }
.tracer-spread path, .tracer-history path { fill: none; stroke: var(--yellow); stroke-width: 1; }
.tracer-spread path { opacity: 0.6; }
.tracer-history path { opacity: 0.8; stroke-width: 1.6; }
.tracer-main { fill: none; stroke: var(--yellow); stroke-width: 4; stroke-linecap: round; }
.tracer-ball { fill: var(--black); }
.landing-ring { fill: none; stroke: var(--black); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.landing-ring.pulse { animation: ring-pulse 1.2s var(--ease-out); }
@keyframes ring-pulse { from { opacity: 0.9; transform: scale(0.2); } to { opacity: 0; transform: scale(1.6); } }

.anim-toggle {
  position: absolute; top: 8px; right: 8px; z-index: 1;
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  background: var(--white); color: var(--black); border: 1px solid #cfcfcb; cursor: pointer;
}
.anim-toggle:hover { border-color: var(--black); }
.anim-toggle svg { width: 16px; height: 16px; }
.anim-toggle .icon-play, .anim-toggle[aria-pressed="true"] .icon-pause { display: none; }
.anim-toggle[aria-pressed="true"] .icon-play { display: block; }

.readout { margin-top: 8px; border-top: 1px solid #cfcfcb; padding-top: 16px; }
.readout-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; margin: 14px 0 0; }
.readout-grid dt { font-size: var(--step--1); color: var(--ink-muted); }
.readout-grid dd { margin: 2px 0 0; font-size: var(--step-2); font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.readout-grid small { font-size: var(--step--1); color: var(--ink-muted); }

/* Rolling digits + yellow load bar */
.odo { display: inline-flex; align-items: flex-end; line-height: 1; }
.odo-digit { display: inline-block; height: 1em; overflow: hidden; }
.odo-strip { display: block; transition: transform 1.6s var(--ease-out); will-change: transform; }
.odo-strip span { display: block; height: 1em; text-align: center; }
.odo-start .odo-strip { transform: translateY(0) !important; transition: none; }
.odo-bar { display: block; height: 3px; margin-top: 12px; background: var(--yellow); transform-origin: left; transition: transform 1.8s var(--ease-out); }
.odo-start .odo-bar { transform: scaleX(0); transition: none; }
.readout-grid > div:nth-child(2) .odo-bar { transition-delay: 150ms; }
.readout-grid > div:nth-child(3) .odo-bar { transition-delay: 300ms; }
.readout-grid > div:nth-child(4) .odo-bar { transition-delay: 450ms; }

.readout-grid dd { white-space: nowrap; }
@media (min-width: 560px) and (max-width: 1023px), (min-width: 1280px) { .readout-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1.05fr; gap: 48px; min-height: calc(100svh - var(--header-h)); }
}

/* Draw-on animation (one moment on page load) */
.js .tracer-spread path { stroke-dasharray: var(--len, 700); stroke-dashoffset: var(--len, 700); }
.js .is-drawn .tracer-spread path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease-out); }
.odo-refill .odo-bar { transform: scaleX(0); transition: none; }

/* Section heads */
.section-head { display: grid; gap: 16px; padding-block: 80px 40px; }
.section-head h2 { font-size: var(--step-3); }
.section-head p { max-width: 52ch; color: var(--ink-muted); font-size: var(--step-1); }
/* What is Statt */
.about { background: var(--white); border-bottom: 1px solid var(--line-light); }
.about-inner { display: grid; gap: 24px; padding-block: 88px; }
.about h2 { font-size: var(--step-3); }
.about-copy { display: grid; gap: 20px; max-width: 54ch; font-size: var(--step-1); color: var(--ink-muted); }
.about .pga { color: var(--black); border-left: 4px solid var(--yellow); padding-left: 16px; }
@media (min-width: 900px) { .about-inner { grid-template-columns: 1fr 1fr; gap: 48px; padding-block: 120px; } }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: end; padding-block: 112px 56px; }
}

/* Uses: full-width rows */
.uses { background: var(--white); }
/* Options header: black band with a yellow title, pointing down to the rows */
.uses-band { background: var(--black); color: var(--white); border-bottom: 4px solid var(--yellow); }
.uses-band .section-head h2 { color: var(--yellow); }
.uses-band .section-head { align-items: center; padding-block: 48px; }
@media (min-width: 900px) { .uses-band .section-head { padding-block: 56px; } }
.uses-band .section-head p { color: #d9d9d9; }
.uses-intro { display: grid; gap: 20px; justify-items: start; }
.down-cue {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); color: var(--black);
}
.down-cue svg { width: 22px; height: 22px; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { border-top: 1px solid var(--line-light); }
.row:nth-child(even) { background: color-mix(in srgb, var(--paper) 85%, transparent); }
.row:last-child { border-bottom: 1px solid var(--line-light); }
.row-inner { display: grid; gap: 12px; padding-block: 32px; align-items: center; }
.row h3 { font-size: var(--step-3); }
.row-body { display: grid; gap: 16px; justify-items: start; }
.row p { color: var(--ink-muted); max-width: 46ch; }
@media (min-width: 900px) {
  .row-inner { grid-template-columns: 1fr 1fr; gap: 48px; padding-block: 44px; }
  .row-body { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; }
}

/* Facts (dark) */
.facts { background: var(--black); color: var(--white); padding-block: 88px 96px; }
.facts-title { font-size: var(--step-3); }
.facts-photo { margin: 40px auto 0; }
.facts-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 62%; }
.fact-list { margin-top: 24px; }
.fact { display: grid; gap: 8px; padding-block: 28px; border-bottom: 1px solid #2c2c2c; }
.fact dt { font-size: var(--step-2); }
.fact dd { margin: 0; color: var(--light-muted); max-width: 48ch; }
@media (min-width: 900px) {
  .facts-photo { margin-top: 56px; }
  .facts-photo img { aspect-ratio: 21 / 9; }
  .fact { grid-template-columns: 1fr 1fr; gap: 48px; align-items: baseline; padding-block: 32px; }
}

/* Gallery */
.gallery { background: var(--black); padding-bottom: 8px; }
.gallery-grid { display: grid; gap: 8px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* How it works */
.how { background: var(--white); padding-bottom: 104px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; counter-reset: none; }
.steps li { position: relative; padding-top: 22px; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--black); transform-origin: left; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--yellow); font-weight: 500; font-variant-numeric: tabular-nums;
}
.steps h3 { margin-top: 20px; font-size: var(--step-2); }
.steps p { margin-top: 10px; color: var(--ink-muted); max-width: 36ch; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 40px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Steps: one after another the line draws, the dot slides in the reading direction, then the text appears */
.steps li:nth-child(2) { --d: 0.35s; }
.steps li:nth-child(3) { --d: 0.7s; }
.steps li:nth-child(4) { --d: 1.05s; }
.js .steps li::before { transform: scaleX(0); transition: transform .6s var(--ease-out) var(--d, 0s); }
.js .steps .step-num { opacity: 0; transform: translateY(-24px); transition: opacity .35s ease-out calc(var(--d, 0s) + .2s), transform .7s var(--ease-out) calc(var(--d, 0s) + .2s); }
.js .steps h3, .js .steps p { opacity: 0; transform: translateY(12px); transition: opacity .5s ease-out calc(var(--d, 0s) + .45s), transform .5s var(--ease-out) calc(var(--d, 0s) + .45s); }
.js .steps.is-visible li::before, .js .steps.is-visible .step-num, .js .steps.is-visible h3, .js .steps.is-visible p { opacity: 1; transform: none; }
@media (min-width: 640px) { .js .steps .step-num { transform: translateX(-56px); } }

/* FAQ */
.faq { background: var(--white); border-top: 1px solid var(--line-light); padding-block: 88px 104px; }
.faq-inner { display: grid; gap: 40px; }
.faq-head h2 { font-size: var(--step-3); }
.faq-head p { margin-top: 16px; color: var(--ink-muted); }
.faq-head .btn { margin-top: 28px; }
.faq-list { border-top: 1px solid #cfcfcb; }
.faq-list details { border-bottom: 1px solid #cfcfcb; }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: var(--step-1); font-weight: 500; min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.75px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.75px 14px no-repeat;
  transition: transform .25s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 24px; color: var(--ink-muted); max-width: 60ch; }
@media (min-width: 900px) { .faq-inner { grid-template-columns: 1fr 1.4fr; gap: 64px; } }

/* Contact */
.contact { background: var(--yellow); color: var(--black); padding-block: 88px 96px; }
.contact-inner h2 { font-size: var(--step-4); font-weight: 300; letter-spacing: -0.035em; }
.contact-lead { margin-top: 20px; font-size: var(--step-1); max-width: 40ch; }
.contact-links { list-style: none; margin: 48px 0 0; padding: 0; display: grid; border-top: 1.5px solid var(--black); }
.contact-links a {
  display: grid; gap: 4px; padding: 22px 0; text-decoration: none; border-bottom: 1.5px solid var(--black);
  transition: padding-left .25s var(--ease-out);
}
.contact-links a:hover { padding-left: 8px; }
.contact-label { font-size: var(--step--1); }
.contact-value { font-size: var(--step-2); overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .contact-links { grid-template-columns: repeat(2, 1fr); border-top: 0; }
  .contact-links li + li a { border-left: 1.5px solid var(--black); padding-left: 24px; }
  .contact-links a { border-top: 1.5px solid var(--black); }
  .contact-links li + li a:hover { padding-left: 32px; }
}

/* Footer */
/* Extra bottom space keeps the PGA badge clear of the floating buttons when scrolled to the end */
.site-footer { background: var(--black); color: var(--white); padding-block: 64px 140px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; row-gap: 20px; justify-items: start; }
.footer-inner > img { width: 180px; }
.footer-inner > :not(.pga-badge) { grid-column: 1; }
.pga-badge {
  grid-column: 2; grid-row: 1 / span 3; align-self: start; justify-self: end;
  margin: 0; display: grid; justify-items: end; gap: 8px; text-align: right;
}
.pga-badge img { width: 56px; height: 56px; }
.pga-badge figcaption { font-size: 0.8125rem; line-height: 1.3; color: var(--light-muted); letter-spacing: 0.02em; max-width: 14ch; }
.tagline { color: var(--white); letter-spacing: 0.08em; font-size: var(--step--1); }
.tagline span { color: var(--yellow); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; color: var(--light-muted); font-size: var(--step--1); }
.footer-meta a { text-decoration: none; padding-block: 4px; }
.footer-meta a:hover { color: var(--white); }

/* Scroll reveal (options) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease-out var(--reveal-delay, 0ms), transform .5s var(--ease-out) var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .btn.reveal { transition: opacity .5s ease-out var(--reveal-delay, 0ms), transform .5s var(--ease-out) var(--reveal-delay, 0ms), background-color .2s, color .2s, border-color .2s; }

/* Floating WhatsApp / mail */
.contact-fab {
  position: fixed; z-index: 60;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.fab-buttons { display: flex; flex-direction: column; gap: 10px; }
.fab {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 0; cursor: pointer; box-shadow: 0 6px 20px rgb(0 0 0 / 0.18);
  transition: transform .2s var(--ease-out);
}
.fab:hover { transform: scale(1.06); }
.fab:active { transform: scale(0.96); }
.fab svg { width: 26px; height: 26px; }
.fab-wa { background: var(--yellow); color: var(--black); }
.fab-mail { background: var(--black); color: var(--white); box-shadow: 0 6px 20px rgb(0 0 0 / 0.18), inset 0 0 0 1.5px var(--white); }
.fab-plan { background: var(--white); color: var(--black); box-shadow: 0 6px 20px rgb(0 0 0 / 0.18), inset 0 0 0 1.5px var(--black); }
.fab[aria-expanded="true"] { outline: 3px solid var(--black); outline-offset: 3px; }
.fab-mail[aria-expanded="true"] { outline-color: var(--yellow); }

.fab-panel {
  width: min(360px, calc(100vw - 32px)); background: var(--white); color: var(--black);
  border: 1px solid #cfcfcb; box-shadow: 0 16px 40px rgb(0 0 0 / 0.16);
  padding: 20px; display: grid; gap: 12px;
  transform-origin: bottom right; animation: fab-in .22s var(--ease-out);
}
.fab-panel[hidden] { display: none; }
@keyframes fab-in { from { opacity: 0; transform: translateY(8px) scale(0.97); } }
.fab-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 3px solid var(--yellow); padding-bottom: 12px; }
.fab-panel-head h2 { font-size: var(--step-1); font-weight: 500; letter-spacing: 0; }
.fab-close { display: grid; place-items: center; width: 40px; height: 40px; margin: -8px -8px -8px 0; background: none; border: 0; color: var(--black); cursor: pointer; }
.fab-close svg { width: 20px; height: 20px; }
.fab-text { font-size: var(--step--1); color: var(--ink-muted); }
.fab-text a { color: var(--black); font-weight: 500; }
.fab-label { font-size: var(--step--1); font-weight: 500; }
.fab-input {
  width: 100%; resize: vertical; min-height: 104px; padding: 12px;
  font: 400 1rem/1.5 var(--font); color: var(--black);
  border: 1px solid #b5b5b0; background: var(--white);
}
.fab-input:focus-visible { outline: 3px solid var(--black); outline-offset: 0; }
.fab-send { width: 100%; }

/* Planner pop-up */
.contact-plan { margin-top: 32px; }
html:has(.planner[open]) { overflow: hidden; }
.planner {
  width: min(960px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; background: var(--white); color: var(--black);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.25); overflow: auto;
}
.planner[open] { animation: planner-in .25s var(--ease-out); }
.planner::backdrop { background: rgb(0 0 0 / 0.55); }
@keyframes planner-in { from { opacity: 0; transform: translateY(12px); } }
.planner-form { display: grid; gap: 20px; padding: 24px var(--gutter) 28px; }
.planner-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 3px solid var(--yellow); padding-bottom: 14px; }
.planner-head h2 { font-size: var(--step-2); }
.planner-close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; color: var(--black); cursor: pointer; }
.planner-close svg { width: 22px; height: 22px; }
.planner-intro { color: var(--ink-muted); max-width: 64ch; }
.planner-body { display: grid; gap: 28px; }
.planner-col { display: grid; gap: 22px; align-content: start; min-width: 0; }
@media (min-width: 860px) { .planner-body { grid-template-columns: 1fr 1fr; gap: 40px; } }

.q { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.q legend { padding: 0; margin-bottom: 10px; font-weight: 500; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label, .chip { position: relative; cursor: pointer; }
.seg input, .chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span, .chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 1px solid #b5b5b0; background: var(--white); font-size: var(--step--1); transition: background-color .15s, border-color .15s;
}
.seg label:hover span, .chip:hover span { border-color: var(--black); }
.seg input:checked + span, .chip input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.chip input:checked + span::before { content: ""; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--yellow); }
.seg input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--black); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.cal { border: 1px solid var(--line-light); padding: 8px; min-width: 0; }
@media (min-width: 480px) { .cal { padding: 14px; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-month { font-weight: 500; text-transform: capitalize; }
.cal-nav { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid transparent; cursor: pointer; color: var(--black); }
.cal-nav:hover:not(:disabled) { border-color: var(--black); }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-nav svg { width: 18px; height: 18px; }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-weekdays span { text-align: center; font-size: 0.75rem; color: var(--ink-muted); padding: 6px 0; text-transform: capitalize; }
.cal-day {
  aspect-ratio: 1; min-width: 0; min-height: 36px; border: 0; background: var(--white); cursor: pointer;
  font: 400 var(--step--1)/1 var(--font); font-variant-numeric: tabular-nums; color: var(--black);
}
.cal-day:hover:not(:disabled) { background: var(--paper); box-shadow: inset 0 0 0 1px var(--black); }
.cal-day:disabled { color: #b5b5b0; cursor: not-allowed; text-decoration: line-through; }
.cal-day.is-today { box-shadow: inset 0 -3px 0 var(--black); }
.cal-day.in-range { background: color-mix(in srgb, var(--yellow) 35%, var(--white)); }
.cal-day.is-selected { background: var(--yellow); font-weight: 600; }
.cal-day:focus-visible { outline: 3px solid var(--black); outline-offset: -3px; }
.cal-help { margin-top: 10px; font-size: 0.8125rem; color: var(--ink-muted); }
.cal-selection { margin-top: 6px; font-weight: 500; }

.field { display: grid; gap: 6px; }
.field label { font-weight: 500; }
.field .optional { font-weight: 400; color: var(--ink-muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1rem/1.4 var(--font); color: var(--black);
  border: 1px solid #b5b5b0; background: var(--white);
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--black); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1.6fr; } }
.field-error { color: #b3261e; font-size: var(--step--1); }
.field-error::before { content: "! "; font-weight: 600; }

.planner-foot { display: grid; gap: 14px; border-top: 1px solid var(--line-light); padding-top: 18px; }
.planner-note { font-size: var(--step--1); color: var(--ink-muted); }
.planner-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.planner-status { font-weight: 500; }
.planner-status:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; width: auto; }
  .ticker-group { flex-wrap: wrap; }
  .ticker-dup { display: none; }
  .hero-title { -webkit-mask-image: none; mask-image: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .tracer-spread path { stroke-dashoffset: 0; }
}
