/* GSS — www.gssretailgroup.com
   One stylesheet. Colours and sizes are tokens on :root; change them here. */

:root {
  /* Modelled on shopify.com: near-black with a teal cast, zinc greys,
     one mint accent used sparingly. The logo keeps its own red. */
  --brand: #d31c3a;        /* logo red — the logo only */
  --ink: #02090a;          /* headings, primary buttons, dark bands */
  --ink-2: #1c2c30;        /* hover on ink */
  --dark-2: #061a1c;       /* raised surface on dark */
  --accent: #36f4a4;       /* mint — highlights on dark only */
  --accent-soft: #5ccf9c;  /* calmer mint: headline phrase, hero button */
  --text: #3f3f46;
  --muted: #71717a;
  --faint: #a1a1aa;
  --line: #e4e4e7;
  --bg: #ffffff;
  --bg-soft: #f4f4f5;
  --tint: #f4f4f5;
  --bg-dark: #02090a;
  --on-dark: #fafafa;
  --on-dark-muted: #a1a1aa;
  /* legacy names, now monochrome */
  --red: var(--ink);
  --red-deep: var(--ink-2);
  --red-tint: var(--tint);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(22, 25, 34, .06), 0 12px 32px -12px rgba(22, 25, 34, .18);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(44px, 5.5vw, 76px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 300; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.4rem); font-weight: 330; letter-spacing: -0.03em; }
h3 { font-size: 1.12rem; font-weight: 550; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section.soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block;
  font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.section-head { display: grid; gap: 10px; max-width: 760px; margin-bottom: clamp(24px, 3vw, 36px); }
.section-head .eyebrow { margin-bottom: 0; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 9999px;
  font: inherit; font-weight: 550; font-size: .95rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost { border-color: #d4d4d8; color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--red-tint); }
.btn-outline-light { border-color: rgba(255,255,255,.22); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 500; color: var(--red); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(2, 9, 10, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand span { font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); line-height: 1.2; }
.nav-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 450; font-size: .93rem; color: #d4d4d8; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav .btn-primary, .nav-links a.btn-primary { background: #fff; color: var(--ink); }
.nav .btn-primary:hover, .nav-links a.btn-primary:hover { background: #e4e4e7; color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav-login { text-decoration: none; font-weight: 450; font-size: .93rem; color: #d4d4d8; }
.nav-login:hover { color: #fff; }
.nav .btn { padding: 8px 16px; font-size: .9rem; }
.menu-btn { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; color: #fff; }
.menu-btn svg { width: 26px; height: 26px; }

@media (max-width: 920px) {
  .nav-links, .nav .btn-demo, .nav-login { display: none; }
  .menu-btn { display: block; }
  .site-header.open .nav-links {
    display: grid; gap: 4px;
    position: absolute; left: 0; right: 0; top: 72px;
    background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 12px var(--gutter) 20px;
  }
  .site-header.open .nav-links a { display: block; padding: 10px 0; font-size: 1.05rem; }
  .site-header.open .nav-links .mobile-login { display: block; }
  .site-header.open .nav-links .mobile-cta { display: block; padding-top: 8px; }
  .site-header.open .nav-links .mobile-cta .btn { display: flex; padding: 13px 22px; }
}
.nav-links .mobile-cta, .nav-links .mobile-login { display: none; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(24px, 3.2vw, 44px) clamp(36px, 4.5vw, 60px); overflow: hidden; background: var(--bg-dark); color: var(--on-dark-muted); }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--faint); }
.hero .lede { color: #c9c9d1; }
.hero-grid { display: grid; gap: 16px; justify-items: center; text-align: center; }
.hero h1 { max-width: none; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.12; }
@media (max-width: 760px) { .hero h1 br { display: none; } }
.hero .btn-row, .hero-pills { justify-content: center; }
.hero .eyebrow { margin-bottom: 0; }
.hero h1 em { font-style: normal; color: var(--accent-soft); }
.hero .lede { max-width: 62ch; }
@media (max-width: 640px) { .hero .lede br { display: none; } }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 4px 0 0; }
.hero-pills li {
  font-size: .84rem; font-weight: 450; color: var(--on-dark-muted);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 6px 14px;
}
.hero-pills li b { color: #fff; font-weight: 600; }
.hero-visual { position: relative; margin: clamp(12px, 1.6vw, 16px) auto 0; max-width: 1080px; }
.hero-visual::before {
  content: ""; position: absolute; inset: 12% -8% -30% -8%;
  background: radial-gradient(55% 55% at 50% 45%, rgba(54, 244, 164, .14), transparent 70%);
  z-index: -1;
}

/* browser frame around product screenshots */
.frame {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.frame::before {
  content: ""; display: block; height: 30px;
  background:
    radial-gradient(circle at 16px 15px, #e35d6a 5px, transparent 6px),
    radial-gradient(circle at 34px 15px, #e9b949 5px, transparent 6px),
    radial-gradient(circle at 52px 15px, #5dbb7a 5px, transparent 6px),
    #f3f2f1;
  border-bottom: 1px solid var(--line);
}
.frame img { width: 100%; aspect-ratio: 1440 / 858; object-fit: cover; object-position: top left; }
.frame.crop-app img { object-position: 100% 0; } /* hide the sidebar when narrow */

.float-card {
  position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 14px 16px; font-size: .85rem; line-height: 1.35; max-width: 250px;
}
.float-card b { display: block; color: var(--ink); font-size: 1.35rem; letter-spacing: -0.02em; }
.float-card small { color: var(--muted); }
.float-card.a { left: -2%; bottom: 14%; }
.float-card.b { right: -2%; top: 18%; }
.float-card .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fa46a; margin-right: 6px; }
@media (max-width: 720px) { .float-card { display: none; } }

/* ---------- retailer marquee ---------- */
.logos { padding-block: 28px; border-bottom: 1px solid var(--line); }
.logos p { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 48s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 34px; width: auto; max-width: 130px; object-fit: contain; opacity: .85; transition: opacity .2s; }
.marquee-track img:hover { opacity: 1; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- two ways ---------- */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.path {
  display: grid; gap: 14px; align-content: start;
  padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
}
.path.dark { background: var(--bg-dark); border-color: var(--bg-dark); color: var(--on-dark-muted); }
.path.dark h3, .path.dark .path-tag { color: #fff; }
.path-tag { font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.path.dark .path-tag { color: var(--on-dark-muted); }
.path-tag { color: var(--muted); }
.path h3 { font-size: clamp(1.35rem, 2.1vw, 1.65rem); font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.path.dark .link-arrow { color: #fff; }
.path.dark .checks li::before {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' stroke='%230b0c0f' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.path .note { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.path.dark .note { border-color: rgba(255,255,255,.12); color: var(--on-dark-muted); }

/* ---------- flow (how it works) ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; margin-bottom: 32px; }
.flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 22px; height: 2px; background: var(--line); }
.flow li { list-style: none; position: relative; text-align: center; padding: 0 10px; }
.flow li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 14px;
  border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(11,12,15,.06);
  position: relative;
}
.flow li h3 { font-size: 1.02rem; margin-bottom: 6px; }
.flow li p { font-size: .9rem; color: var(--muted); }
@media (max-width: 820px) {
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow::before { left: 22px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .flow li { text-align: left; padding: 0 0 0 66px; min-height: 46px; }
  .flow li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- feature rows (text + screenshot) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(40px, 5vw, 64px); }
.feature.flip > :first-child { order: 2; }
.feature-copy { display: grid; gap: 12px; }
.feature-copy h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 600; }
.feature-copy p { color: var(--muted); }
@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
}

/* ---------- AI cards ---------- */
.ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ai-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; }
.ai-card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--red-tint); color: var(--red);
}
.ai-card .ico svg { width: 22px; height: 22px; }
.ai-card p { font-size: .95rem; color: var(--muted); }
.ai-foot { margin-top: 28px; font-size: .92rem; color: var(--muted); max-width: 70ch; }

/* ---------- marketplaces ---------- */
.markets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr)); gap: 14px; }
@media (min-width: 1000px) { .markets { grid-template-columns: repeat(5, 1fr); } }
.market {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  padding: 18px 18px 16px; display: grid; gap: 4px; align-content: start;
}
.market-logo { height: 30px; width: auto; max-width: 120px; object-fit: contain; object-position: left center; margin-bottom: 12px; }
.market b { color: var(--ink); font-size: 1rem; font-weight: 600; }
.market small { color: var(--muted); font-size: .82rem; }
.market .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.markets-intro { display: grid; gap: 24px; margin-bottom: clamp(24px, 3vw, 36px); }
.markets-intro .section-head { margin-bottom: 0; }
.markets-checks { align-content: center; color: var(--text); font-size: .98rem; }
@media (min-width: 900px) { .markets-intro { grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; } }
.covers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.cover { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.cover h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cover p { color: var(--text); font-size: .92rem; line-height: 1.5; }
.market-next { border-style: dashed; background: var(--bg-soft); }
.market-next .link-arrow { margin-top: 10px; font-size: .9rem; }
.market-next small { line-height: 1.45; }
@media (min-width: 1000px) { .market-next { grid-column: span 3; } }
.tag { font-size: .72rem; font-weight: 500; padding: 3px 8px; border-radius: 6px; background: var(--bg-soft); color: var(--text); }
.tag.ads { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.stack-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 20px; }
.stack { border-radius: var(--radius-sm); background: var(--bg-soft); padding: 18px 20px; }
.stack h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.stack p { color: var(--ink); font-weight: 600; font-size: .95rem; }

/* ---------- stats band ---------- */
.stats-band { background: var(--bg-dark); color: var(--on-dark-muted); padding-block: clamp(40px, 5vw, 64px); }
.stats-band h2 { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.stat { border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px; }
.stat b { display: block; color: #fff; font-size: clamp(2.2rem, 3.8vw, 3.2rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-size: .9rem; line-height: 1.4; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
@media (max-width: 330px) { .stats { grid-template-columns: 1fr; } }

/* ---------- global brands ---------- */
.global { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .global { grid-template-columns: 1fr; } }
.quote-mark { font-size: 1.1rem; color: var(--ink); border-left: 2px solid var(--line); padding-left: 18px; }

/* ---------- steps (engagement) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: s; }
.step { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 8px; }
.step::before { counter-increment: s; content: "0" counter(s); font-weight: 500; color: var(--faint); font-size: .9rem; letter-spacing: .08em; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- services grid ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; display: grid; gap: 10px; align-content: start; }
.service p { color: var(--muted); font-size: .95rem; }
.service .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.service .ico svg { width: 20px; height: 20px; }

/* ---------- security strip ---------- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.trust div { display: grid; gap: 8px; }
.trust h3 { font-size: 1.05rem; }
.trust p { color: var(--muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-soft); border-top: 1px solid var(--line); color: var(--text); padding-block: clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.cta-band::after {
  content: "gss"; position: absolute; right: -2%; bottom: -34%; font-size: clamp(10rem, 26vw, 22rem);
  font-weight: 700; color: rgba(11,12,15,.035); letter-spacing: -0.06em; line-height: 1; pointer-events: none;
}
.cta-band .wrap { display: grid; gap: 14px; justify-items: start; position: relative; z-index: 1; }
.cta-band h2 { color: var(--ink); max-width: 20ch; }
.cta-band p { color: var(--muted); max-width: 56ch; font-size: 1.1rem; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(36px, 4.5vw, 64px); background: var(--bg-dark); color: var(--on-dark-muted); }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: var(--faint); }
.page-hero .lede { color: var(--on-dark-muted); }
.page-hero .wrap { display: grid; gap: 16px; justify-items: start; }
.page-hero h1 { max-width: 18ch; }
.page-hero.split .wrap { grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.page-hero.split .copy { display: grid; gap: 16px; justify-items: start; }
.page-hero.split h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
@media (max-width: 900px) { .page-hero.split .wrap { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-side { display: grid; gap: 22px; }
.contact-side .email { font-size: 1.1rem; font-weight: 500; color: var(--ink); text-decoration: none; word-break: break-all; }
.wechat-box { display: flex; gap: 16px; align-items: center; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px; }
.wechat-box img { width: 104px; height: 104px; border-radius: 6px; background: #fff; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3.5vw, 40px); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: .9rem; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice label {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer;
  font-weight: 500; font-size: .9rem; text-align: center; color: var(--text);
}
.choice label { position: relative; }
.choice input { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice input:checked + span { color: var(--ink); }
.choice label:has(input:checked) { border-color: var(--red); background: var(--red-tint); }
.choice label:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--red-tint); }
@media (max-width: 480px) { .choice { grid-template-columns: 1fr; } }
.form-status { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 28px 0; }
.form-status .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 1.6rem; }
.form-error { color: #9f1d1d; background: #fdf1f1; border-radius: 8px; padding: 10px 12px; font-size: .92rem; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-dark); color: var(--on-dark-muted); padding-block: 40px 24px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--on-dark); font-weight: 500; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-brand { display: grid; gap: 14px; justify-items: start; }
.foot-brand img { height: 30px; width: auto; }
.foot-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------- reveal (content is visible at rest; motion only enhances) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.pending { opacity: .001; transform: translateY(14px); }
}

/* ---------- on dark surfaces (hero, page hero, dark card, stats) ---------- */
.hero .btn-primary, .page-hero .btn-primary { background: #fff; color: var(--ink); }
.hero .btn-primary:hover, .page-hero .btn-primary:hover { background: #e4e4e7; }
.hero .btn-row .btn-primary { background: var(--accent-soft); color: var(--ink); }
.hero .btn-row .btn-primary:hover { background: #7fdcb2; }
.hero .btn-row .btn-ghost { padding-inline: 18px; font-weight: 500; }
.hero .btn-ghost, .page-hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.hero .btn-ghost:hover, .page-hero .btn-ghost:hover { border-color: #fff; }
.hero .frame, .page-hero .frame { border-color: rgba(255,255,255,.1); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.path.dark { background: var(--dark-2); border-color: var(--dark-2); }
.path.dark .checks li::before {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' stroke='%2302090a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.stats-band .eyebrow { color: var(--faint); }
.stats-band h2 { font-weight: 300; }
