/* ==========================================================================
   NearZyo — website stylesheet
   Brand matches the NearZyo apps: green #22C55E / #16A34A, Plus Jakarta Sans.
   ========================================================================== */

:root {
  --brand: #16A34A;
  --brand-bright: #22C55E;
  --brand-deep: #15803D;
  --brand-50: #F0FDF4;
  --brand-100: #DCFCE7;
  --brand-200: #BBF7D0;
  --forest: #052E16;
  --forest-2: #0A3D20;
  --amber: #F59E0B;
  --amber-50: #FFFBEB;

  --ink: #0F172A;
  --ink-2: #475569;
  --ink-3: #94A3B8;
  --line: #E2E8F0;
  --line-soft: #EEF2F6;
  --bg: #FFFFFF;
  --surface: #F7FAF8;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(5, 46, 22, .35);
  --container: 1160px;
  --header-h: 72px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.025em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.18rem; letter-spacing: -.01em; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; color: var(--ink-2); }
strong { color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (max-width: 480px) { .container { padding-inline: 16px; } }

.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 18px; height: 18px; }
.i-lg { width: 28px; height: 28px; }

.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: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.text-brand { color: var(--brand); }
.highlight {
  background: linear-gradient(transparent 62%, var(--brand-200) 62%, var(--brand-200) 92%, transparent 92%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .i { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(22, 163, 74, .7); }
.btn-primary:hover { background: var(--brand-deep); box-shadow: 0 12px 26px -10px rgba(22, 163, 74, .8); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-2); }
.btn-light { background: #fff; color: var(--forest); }
.btn-light:hover { background: var(--brand-50); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-deep); }
.link-arrow .i { width: 18px; height: 18px; transition: transform .18s ease; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Eyebrow / chips ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-deep); border: 1px solid var(--brand-100);
  font-size: .8rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 18px;
}
.eyebrow .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-bright); }
.eyebrow .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--brand-bright); opacity: 0; animation: ping 2.2s ease-out infinite; }
.eyebrow-dark { background: rgba(255, 255, 255, .08); color: var(--brand-200); border-color: rgba(255, 255, 255, .12); }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(15, 23, 42, .15); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; color: var(--ink); }
.logo-mark { width: 36px; height: 36px; flex: none; border-radius: 10px; object-fit: cover; box-shadow: 0 2px 8px -2px rgba(5, 46, 22, .35); }
.site-footer .logo-mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.logo b { color: var(--brand); font-weight: 800; }
.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a { padding: 8px 12px; border-radius: 999px; font-size: .93rem; font-weight: 600; color: var(--ink-2); transition: color .15s, background .15s; }
.nav-desktop a:hover { color: var(--ink); background: var(--surface); }
.nav-desktop a.active { color: var(--brand-deep); background: var(--brand-50); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  padding: 12px 16px 20px; display: grid; gap: 2px;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-nav a:not(.btn) { padding: 12px 14px; border-radius: 12px; font-weight: 600; color: var(--ink); }
.mobile-nav a.active { background: var(--brand-50); color: var(--brand-deep); }
.mobile-nav .btn { margin-top: 10px; }
.mobile-nav .btn + .btn { margin-top: 4px; }
.nav-open .mobile-nav { transform: none; opacity: 1; visibility: visible; }

@media (max-width: 1040px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 420px) { .header-actions .btn { min-height: 42px; padding: 0 16px; font-size: .9rem; } }
@media (max-width: 340px) { .header-actions .btn { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-sm { padding: clamp(40px, 6vw, 64px) 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--forest); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark strong { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, .72); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.08rem; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(34, 197, 94, .16), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(245, 158, 11, .08), transparent 60%),
    linear-gradient(180deg, #F3FBF5 0%, #fff 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(22, 163, 74, .14) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.trust-row .i { width: 20px; height: 20px; color: var(--brand); }
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .trust-row { justify-content: center; }
}

/* ---------- Phone mockup ---------- */
.device-stage { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.device-stage::before {
  content: ""; position: absolute; width: min(440px, 92%); aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(34, 197, 94, .22), rgba(34, 197, 94, 0) 68%);
}
.ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1.5px dashed rgba(22, 163, 74, .22); transform: translate(-50%, -50%); }
.ring-1 { width: min(380px, 84%); aspect-ratio: 1; }
.ring-2 { width: min(520px, 112%); aspect-ratio: 1; border-style: solid; border-color: rgba(22, 163, 74, .1); }

.phone {
  position: relative; z-index: 2; width: 290px; max-width: 78vw; aspect-ratio: 290 / 590;
  background: #0B1220; border-radius: 46px; padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #1E293B;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #0B1220; border-radius: 20px; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #F8FAFC; display: flex; flex-direction: column; font-size: 12px; }
.app-top { background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; padding: 52px 16px 16px; }
.app-top small { display: block; opacity: .8; font-size: 10.5px; font-weight: 600; }
.app-top strong { display: flex; align-items: center; gap: 4px; color: #fff; font-size: 13.5px; }
.app-top .i { width: 14px; height: 14px; }
.app-search { margin-top: 12px; display: flex; align-items: center; gap: 8px; background: #fff; color: var(--ink-3); border-radius: 12px; padding: 9px 12px; font-size: 11.5px; }
.app-search .i { color: var(--ink-3); }
.app-body { flex: 1; padding: 14px 14px 0; overflow: hidden; }
.app-chips { display: flex; gap: 6px; margin-bottom: 14px; }
.app-chips span { padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 10.5px; color: var(--ink-2); white-space: nowrap; }
.app-chips span.on { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-deep); }
.app-label { font-weight: 800; font-size: 12.5px; color: var(--ink); margin-bottom: 8px; display: flex; justify-content: space-between; }
.app-label em { font-style: normal; font-weight: 700; color: var(--brand); font-size: 10.5px; }
.shop-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 9px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.shop-thumb { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.shop-thumb .i { width: 20px; height: 20px; }
.t-green { background: var(--brand-100); color: var(--brand-deep); }
.t-amber { background: #FEF3C7; color: #B45309; }
.t-sky { background: #E0F2FE; color: #0369A1; }
.shop-row b { display: block; font-size: 11.8px; color: var(--ink); }
.shop-row small { color: var(--ink-3); font-size: 10.2px; font-weight: 600; }
.shop-row .open { margin-left: auto; font-size: 9.5px; font-weight: 700; color: var(--brand-deep); background: var(--brand-50); padding: 3px 7px; border-radius: 999px; }
.app-cart { margin: 6px 12px 14px; background: var(--forest); color: #fff; border-radius: 14px; padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 11.5px; }
.app-cart small { display: block; color: var(--brand-200); font-weight: 600; font-size: 10px; }
.app-cart span:last-child { display: inline-flex; align-items: center; gap: 4px; }
.app-cart .i { width: 14px; height: 14px; }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 16px; padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line-soft);
  font-size: .82rem; font-weight: 700; color: var(--ink); white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 600; color: var(--ink-3); font-size: .74rem; }
.float-card .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; }
.float-card .ic .i { width: 19px; height: 19px; }
.fc-1 { top: 30%; left: max(0px, calc(50% - 320px)); }
.fc-2 { bottom: 12%; right: max(0px, calc(50% - 320px)); animation-delay: -3s; }
.fc-3 { top: 62%; left: max(0px, calc(50% - 340px)); animation-delay: -1.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 560px) {
  .fc-1 { left: 0; top: 6%; }
  .fc-2 { right: 0; bottom: 6%; }
  .fc-3 { display: none; }
  .float-card { font-size: .76rem; padding: 8px 12px 8px 8px; }
  .float-card .ic { width: 30px; height: 30px; }
}

/* Order-status screen */
.status-list { list-style: none; margin: 0; padding: 0; position: relative; }
.status-list li { position: relative; display: flex; gap: 10px; padding: 0 0 14px 0; font-size: 11.5px; font-weight: 700; color: var(--ink); }
.status-list li small { display: block; font-weight: 600; color: var(--ink-3); font-size: 10px; }
.status-list .dot { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--line); color: #fff; position: relative; z-index: 1; }
.status-list .dot .i { width: 12px; height: 12px; stroke-width: 3; }
.status-list li.done .dot { background: var(--brand); }
.status-list li.now .dot { background: #fff; border: 2px solid var(--brand); }
.status-list li.now .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.status-list li.todo { color: var(--ink-3); }
.status-list li:not(:last-child)::before { content: ""; position: absolute; left: 9px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.status-list li.done:not(:last-child)::before { background: var(--brand); }
.otp-box { background: var(--brand-50); border: 1px dashed var(--brand-200); border-radius: 14px; padding: 10px 12px; margin-top: 4px; }
.otp-box small { font-size: 10px; color: var(--ink-2); font-weight: 600; }
.otp-digits { display: flex; gap: 6px; margin-top: 6px; }
.otp-digits span { width: 30px; height: 34px; border-radius: 8px; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: var(--brand-deep); box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: .97rem; }
.card-flat:hover { transform: none; box-shadow: none; border-color: var(--line); }
.icon-tile { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--brand-50); color: var(--brand-deep); border: 1px solid var(--brand-100); }
.icon-tile .i { width: 24px; height: 24px; }
.icon-tile.amber { background: var(--amber-50); color: #B45309; border-color: #FDE68A; }
.icon-tile.sky { background: #F0F9FF; color: #0369A1; border-color: #BAE6FD; }
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section-dark .card:hover { border-color: rgba(134, 239, 172, .4); box-shadow: none; }
.section-dark .icon-tile { background: rgba(34, 197, 94, .14); border-color: rgba(34, 197, 94, .25); color: #86EFAC; }

/* Fact strip */
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.fact { padding: 26px 24px; display: flex; gap: 14px; align-items: flex-start; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact .icon-tile { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.fact .icon-tile .i { width: 21px; height: 21px; }
.fact b { display: block; font-size: 1rem; color: var(--ink); line-height: 1.3; }
.fact span { font-size: .88rem; color: var(--ink-2); }
@media (max-width: 960px) {
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .fact-strip { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-200) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--brand-deep); }
.step-num .i { width: 28px; height: 28px; }
.step-num::after { counter-increment: step; content: counter(step); position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.step h3 { font-size: 1.08rem; }
.step p { font-size: .94rem; margin: 0; }
.section-alt .step-num { border-color: var(--line); }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-100); color: var(--brand-deep); display: grid; place-items: center; flex: none; margin-top: 1px; }
.check-list .tick .i { width: 15px; height: 15px; stroke-width: 2.6; }
.section-dark .check-list li { color: rgba(255, 255, 255, .75); }
.section-dark .check-list .tick { background: rgba(34, 197, 94, .2); color: #86EFAC; }

/* Audience cards */
.audience { display: flex; flex-direction: column; padding: 32px; overflow: hidden; }
.audience .icon-tile { width: 56px; height: 56px; border-radius: 16px; }
.audience p { margin-bottom: 22px; flex: 1; }
.audience .link-arrow { margin-top: auto; }
.audience::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--brand-50); z-index: 0; transition: transform .3s ease; }
.audience:hover::after { transform: scale(1.25); }
.audience > * { position: relative; z-index: 1; }

/* Promo panels */
.promo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  background: var(--forest); color: #fff;
}
.promo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 100% 0%, rgba(34, 197, 94, .35), transparent 60%); }
.promo > * { position: relative; }
.promo h2, .promo strong { color: #fff; }
.promo p { color: rgba(255, 255, 255, .75); font-size: 1.05rem; }
.promo .check-list li { color: rgba(255, 255, 255, .85); }
.promo .check-list .tick { background: rgba(34, 197, 94, .25); color: #86EFAC; }
.promo-light { background: var(--brand-50); color: var(--ink); border: 1px solid var(--brand-100); }
.promo-light::before { background: radial-gradient(500px 280px at 100% 100%, rgba(245, 158, 11, .14), transparent 60%); }
.promo-light h2, .promo-light strong { color: var(--ink); }
.promo-light p { color: var(--ink-2); }
.promo-light .check-list li { color: var(--ink-2); }
.promo-light .check-list .tick { background: var(--brand-100); color: var(--brand-deep); }
@media (max-width: 860px) { .promo { grid-template-columns: 1fr; } }

/* Mini dashboard visual */
.mini-dash { background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg); color: var(--ink); max-width: 360px; margin-inline: auto; width: 100%; }
.mini-dash .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mini-dash .muted { color: var(--ink-3); font-size: .78rem; font-weight: 600; }
.mini-dash .big { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.mini-dash .pill { font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--brand-50); color: var(--brand-deep); }
.mini-bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; margin: 14px 0 16px; }
.mini-bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--brand-100); }
.mini-bars span.hi { background: var(--brand); }
.mini-order { border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.mini-order b { font-size: .88rem; }
.mini-order .items { font-size: .78rem; color: var(--ink-2); margin: 4px 0 10px; }
.mini-order .acts { display: flex; gap: 8px; }
.mini-order .acts span { flex: 1; text-align: center; font-size: .78rem; font-weight: 700; padding: 8px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); }
.mini-order .acts span.go { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Earnings visual */
.earn-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg); max-width: 360px; width: 100%; margin-inline: auto; }
.earn-card .muted { color: var(--ink-3); font-size: .78rem; font-weight: 600; }
.earn-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; color: var(--ink-2); }
.earn-line b { color: var(--ink); }
.earn-line.total { border-bottom: 0; padding-top: 14px; }
.earn-line.total b { font-size: 1.35rem; color: var(--brand-deep); }
.earn-line .neg { color: #DC2626; }
.earn-meter { height: 8px; border-radius: 99px; background: var(--brand-50); overflow: hidden; margin: 10px 0 4px; }
.earn-meter span { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, var(--brand-bright), var(--brand)); border-radius: inherit; }

/* Requirements list */
.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.req { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.req .icon-tile { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.req .icon-tile .i { width: 21px; height: 21px; }
.req b { display: block; font-size: .97rem; line-height: 1.3; }
.req span { font-size: .84rem; color: var(--ink-2); }
@media (max-width: 900px) { .req-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .req-grid { grid-template-columns: 1fr; } }

/* Data tables (rates) */
.rate-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: .95rem; }
.rate-table th, .rate-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.rate-table th { background: var(--surface); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); font-weight: 700; }
.rate-table tr:last-child td { border-bottom: 0; }
.rate-table td:last-child { font-weight: 700; color: var(--ink); }
.table-note { font-size: .86rem; color: var(--ink-3); margin-top: 12px; }

.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--amber-50); border: 1px solid #FDE68A; color: #78350F; font-size: .95rem; }
.callout .i { color: #B45309; margin-top: 2px; }
.callout p { color: inherit; margin: 0; }
.callout.green { background: var(--brand-50); border-color: var(--brand-100); color: var(--forest-2); }
.callout.green .i { color: var(--brand); }

/* Download band */
.download-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 55%, var(--forest-2) 100%);
  color: #fff; padding: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
}
.download-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.download-band > * { position: relative; }
.download-band h2 { color: #fff; margin-bottom: 8px; }
.download-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.app-icon { width: 92px; height: 92px; border-radius: 24px; box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .45), 0 0 0 4px rgba(255, 255, 255, .18); }
.soon { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; }
.store-badges { display: flex; flex-direction: column; gap: 10px; width: 230px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: #0B1220; color: #fff; padding: 10px 18px 10px 14px; border-radius: 14px; text-align: left; border: 1px solid rgba(255, 255, 255, .15); opacity: .92; }
.store-badge .i { width: 24px; height: 24px; }
.store-badge small { display: block; font-size: .66rem; opacity: .75; font-weight: 600; letter-spacing: .02em; }
.store-badge b { display: block; font-size: 1.02rem; line-height: 1.15; color: #fff; }
/* Not on the stores yet: shown for awareness only, so it must not look clickable. */
.store-badge.is-soon { opacity: .72; cursor: default; }
/* The web shop is live, so it is the one actionable badge in the set. */
.store-badge.is-live { background: #fff; color: var(--forest); border-color: #fff; opacity: 1; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); transition: transform .18s ease, background .18s ease; }
.store-badge.is-live b { color: var(--forest); }
.store-badge.is-live > .i:first-child { color: var(--brand); }
.store-badge.is-live .i-arrow { width: 18px; height: 18px; margin-left: auto; transition: transform .18s ease; }
.store-badge.is-live:hover { background: var(--brand-50); transform: translateY(-1px); }
.store-badge.is-live:hover .i-arrow { transform: translateX(3px); }
.store-badge.is-live:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 900px) {
  .download-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .store-badges { width: min(100%, 260px); }
}

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p:last-child { margin: 0; }
.faq .answer a { color: var(--brand-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px); text-align: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 820px; margin-inline: auto; }
.page-hero p.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); max-width: 640px; margin: 0 auto 28px; }
.page-hero .hero-cta { justify-content: center; margin-bottom: 0; }
.page-hero.left { text-align: left; }
.page-hero.left h1, .page-hero.left p.lead { margin-inline: 0; }

/* Stat chips under page hero */
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--ink); box-shadow: var(--shadow-sm); }
.chip .i { width: 18px; height: 18px; color: var(--brand); }

/* ---------- Jobs ---------- */
.job-list { display: grid; gap: 14px; max-width: 880px; margin-inline: auto; }
.job { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; transition: border-color .2s, box-shadow .2s; }
.job:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.job h3 { margin-bottom: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
.tag.green { background: var(--brand-50); color: var(--brand-deep); border-color: var(--brand-100); }
@media (max-width: 600px) { .job { flex-direction: column; align-items: flex-start; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.contact-card .icon-tile { margin: 0; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: .95rem; }
.contact-card a { color: var(--brand-deep); font-weight: 700; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #DC2626; }
.field-error { min-height: 1em; color: #B91C1C; font-size: .78rem; font-weight: 600; }
.form-status { display: none; margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; font-size: .9rem; font-weight: 600; }
.form-status.show { display: block; }.form-status.error { color: #991B1B; background: #FEF2F2; border: 1px solid #FECACA; }.form-status.success { color: #166534; background: var(--brand-50); border: 1px solid var(--brand-100); }
.form-card button[disabled] { cursor: wait; opacity: .72; }.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--ink-3); margin: 14px 0 0; text-align: center; }
.form-note a { color: var(--brand-deep); font-weight: 600; }

/* ---------- Timeline (about) ---------- */
.timeline { display: grid; gap: 0; max-width: 760px; }
.tl-item { position: relative; padding: 0 0 32px 44px; }
.tl-item::before { content: ""; position: absolute; left: 11px; top: 28px; bottom: 0; width: 2px; background: var(--brand-100); }
.tl-item:last-child::before { display: none; }
.tl-item::after { content: ""; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--brand); box-sizing: border-box; }
.tl-item h3 { margin-bottom: 6px; }
.tl-item p { margin: 0; }

/* ---------- Legal hub ---------- */
.policy-group { margin-bottom: 40px; }
.policy-group > h2 { font-size: 1.15rem; letter-spacing: 0; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.policy-group > h2 .i { color: var(--brand); }
.policy-link { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.policy-link:hover { border-color: var(--brand-200); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.policy-link .icon-tile { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.policy-link .icon-tile .i { width: 21px; height: 21px; }
.policy-link b { display: block; color: var(--ink); }
.policy-link span { font-size: .87rem; color: var(--ink-2); }
.policy-link > .i { margin-left: auto; color: var(--ink-3); }

/* ---------- Legal document pages ---------- */
.legal-hero { padding: clamp(44px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); text-align: left; }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; max-width: none; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-3); margin-bottom: 16px; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--brand-deep); }
.legal-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: clamp(64px, 8vw, 100px); }
.legal-aside { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding-right: 4px; }
.aside-block { margin-bottom: 26px; }
.aside-title { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0 0 10px; }
.toc ul, .legal-nav { list-style: none; margin: 0; padding: 0; }
.toc ul ul { display: none; }
.toc a, .legal-nav a { display: block; padding: 6px 12px; border-left: 2px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-2); line-height: 1.4; transition: color .15s, border-color .15s, background .15s; }
.toc a:hover, .legal-nav a:hover { color: var(--brand-deep); border-left-color: var(--brand-200); }
.toc a.current { color: var(--brand-deep); border-left-color: var(--brand); background: var(--brand-50); }
.legal-nav a.active { color: var(--brand-deep); border-left-color: var(--brand); }
.legal-mobile-nav { display: none; }
@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .legal-aside { display: none; }
  .legal-mobile-nav { display: block; margin-bottom: 24px; }
  .legal-mobile-nav select { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--ink); }
}

.prose { font-size: 1rem; line-height: 1.75; color: var(--ink-2); min-width: 0; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.45rem; margin: 48px 0 14px; padding-top: 6px; letter-spacing: -.015em; }
.prose h3 { font-size: 1.12rem; margin: 30px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand-deep); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand-200); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--brand); }
.prose strong { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.prose code { background: var(--surface); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: .88em; }
.prose blockquote { margin: 20px 0; padding: 16px 20px; background: var(--brand-50); border: 1px solid var(--brand-100); border-left: 4px solid var(--brand); border-radius: 12px; color: var(--forest-2); }
.prose blockquote p { margin: 0 0 6px; }
.prose blockquote p:last-child { margin: 0; }
.prose > blockquote:first-child { background: var(--amber-50); border-color: #FDE68A; border-left-color: var(--amber); color: #78350F; }
.prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: separate; border-spacing: 0; margin: 20px 0 24px; font-size: .93rem; line-height: 1.55; border: 1px solid var(--line); border-radius: 14px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line-soft); min-width: 140px; }
.prose th:last-child, .prose td:last-child { border-right: 0; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--surface); color: var(--ink); font-weight: 700; font-size: .85rem; }
.prose thead:not(:has(th:not(:empty))) { display: none; }
.prose td:first-child { color: var(--ink); font-weight: 600; }
mark.ph { background: #FEF3C7; color: #92400E; padding: 1px 5px; border-radius: 5px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.legal-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: rgba(255, 255, 255, .7); padding: 72px 0 28px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo b { color: #4ADE80; }
.footer-brand p { color: rgba(255, 255, 255, .62); max-width: 320px; font-size: .95rem; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: .95rem; }
.footer-mail .i { width: 18px; height: 18px; color: #4ADE80; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: .94rem; color: rgba(255, 255, 255, .66); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .86rem; color: rgba(255, 255, 255, .5); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--brand-100); -webkit-text-stroke: 2px var(--brand); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-group > .reveal:nth-child(2) { transition-delay: .07s; }
.js .reveal-group > .reveal:nth-child(3) { transition-delay: .14s; }
.js .reveal-group > .reveal:nth-child(4) { transition-delay: .21s; }
.js .reveal-group > .reveal:nth-child(5) { transition-delay: .28s; }
.js .reveal-group > .reveal:nth-child(6) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   About page — "The NearZyo Route"
   ========================================================================== */

/* Hero with neighbourhood map */
.about-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }
.about-hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 20px; }
.about-hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); max-width: 540px; margin-bottom: 30px; }
.hood-map { width: 100%; height: auto; display: block; border-radius: 36px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.hood-map .route-line { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw-route 2.4s .4s ease forwards; }
.hood-map .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out infinite; }
@keyframes draw-route { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(.7); opacity: .5; } 100% { transform: scale(1.7); opacity: 0; } }
@media (max-width: 900px) {
  .about-hero .container { grid-template-columns: 1fr; }
  .about-hero-copy { text-align: center; }
  .about-hero .lead { margin-inline: auto; }
  .hood-map { transform: none; max-width: 520px; margin-inline: auto; }
}

/* Mission — full-bleed quote */
.mission { position: relative; overflow: hidden; background: var(--brand); color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.mission::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 0%, rgba(255, 255, 255, .16), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(5, 46, 22, .35), transparent 60%); }
.mission .container { position: relative; max-width: 1000px; }
.quote-mark { width: 64px; height: 48px; fill: rgba(255, 255, 255, .35); margin-bottom: 20px; }
.mission-text { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 24px; }
.mission-text em { font-style: normal; background: linear-gradient(transparent 60%, rgba(5, 46, 22, .35) 60%); }
.mission-by { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .7); }

/* The route timeline */
.route { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; }
.route-row { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; min-height: 200px; }
.route-road { position: relative; height: 200px; }
.route-road svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-road .road { fill: none; stroke: #E7EEEA; stroke-width: 26; stroke-linecap: round; }
.route-road .lane { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 7 9; }
.route-road .progress { fill: none; stroke: var(--brand-bright); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s ease .1s; }
.js .route-row.in .progress, .route-row:not(.reveal) .progress { stroke-dashoffset: 0; }
html:not(.js) .route-road .progress { stroke-dashoffset: 0; }
.route-row.next .progress { stroke-dasharray: .04 .03; stroke-dashoffset: 0; opacity: .7; }
.route-pin { position: absolute; top: 50%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand-deep); border: 3px solid var(--brand); box-shadow: var(--shadow-md); transform: translate(-50%, -50%); z-index: 1; }
.route-row.right .route-pin { left: 86.7%; }
.route-row.left .route-pin { left: 13.3%; }
.route-row.next .route-pin { background: var(--amber); border-color: #fff; color: #fff; }
.route-row.next .route-pin::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--amber); animation: ping 2.2s ease-out infinite; }
.route-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow-sm); position: relative; }
.route-card h3 { margin: 6px 0 6px; font-size: 1.15rem; }
.route-card p { margin: 0; font-size: .96rem; }
.route-stop { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.route-date { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.route-date span { background: linear-gradient(transparent 62%, var(--brand-100) 62%); }
.route-date-inline { display: none; }
.route-row.right .route-date { grid-column: 1; grid-row: 1; text-align: right; padding-right: 28px; }
.route-row.right .route-road { grid-column: 2; grid-row: 1; }
.route-row.right .route-card { grid-column: 3; grid-row: 1; margin-left: 12px; }
.route-row.left .route-card { grid-column: 1; grid-row: 1; margin-right: 12px; }
.route-row.left .route-road { grid-column: 2; grid-row: 1; }
.route-row.left .route-date { grid-column: 3; grid-row: 1; padding-left: 28px; }
.route-row.next .route-card { background: var(--amber-50); border-color: #FDE68A; }
.route-row.next .route-stop { color: #B45309; }
.route-row.next .route-date span { background: linear-gradient(transparent 62%, #FDE68A 62%); }
@media (max-width: 760px) {
  .route-row, .route-row.left, .route-row.right { grid-template-columns: 72px 1fr; min-height: 0; }
  .route-row .route-date { display: none; }
  .route-date-inline { display: inline; margin-left: 8px; font-size: .72rem; font-weight: 700; color: var(--ink-3); }
  .route-row.left .route-road, .route-row.right .route-road { grid-column: 1; grid-row: 1; height: 100%; min-height: 190px; }
  .route-row.left .route-card, .route-row.right .route-card { grid-column: 2; grid-row: 1; margin: 12px 0; }
  .route-row.left .route-pin, .route-row.right .route-pin { width: 40px; height: 40px; }
  .route-pin .i { width: 18px; height: 18px; }
  .route-road .road { stroke-width: 18; }
}

/* Future */
.future { background: var(--forest); color: #fff; }
.future-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.future h2 { color: #fff; }
.future p { color: rgba(255, 255, 255, .75); font-size: 1.1rem; margin: 0; }

/* Numbers we stand by */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.num { padding: 28px 24px 8px 0; }
.num + .num { padding-left: 24px; border-left: 1px solid var(--line); }
.num-big { display: block; font-size: clamp(3rem, 6vw, 4.8rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--brand); }
.num-label { display: block; font-weight: 800; font-size: 1.05rem; color: var(--ink); margin: 12px 0 6px; }
.num p { font-size: .94rem; margin: 0; }
@media (max-width: 900px) {
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .num:nth-child(3) { padding-left: 0; border-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
}
@media (max-width: 480px) {
  .numbers { grid-template-columns: 1fr; }
  .num + .num { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 8px; }
}

/* Values — editorial list */
.values-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.values-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.values-list { list-style: none; margin: 0; padding: 0; }
.value-row { display: grid; grid-template-columns: 76px 1fr; column-gap: 8px; padding: 28px 0; border-top: 1px solid var(--line); }
.value-row:last-child { border-bottom: 1px solid var(--line); }
.value-n { grid-row: span 2; font-size: 2rem; font-weight: 800; color: var(--brand); letter-spacing: -.03em; line-height: 1.1; }
.value-row h3 { font-size: 1.35rem; margin-bottom: 8px; }
.value-row p { margin: 0; }
@media (max-width: 900px) {
  .values-wrap { grid-template-columns: 1fr; gap: 24px; }
  .values-wrap .section-head { position: static; }
}

/* Colour-blocked panels */
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.panel { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 340px; padding: clamp(32px, 4vw, 52px); transition: filter .2s ease; }
.panel:hover { filter: brightness(1.04); }
.panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 14px 0 10px; }
.panel p { max-width: 320px; }
.panel-tag { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.panel-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.panel-link .i { width: 18px; height: 18px; transition: transform .18s ease; }
.panel:hover .panel-link .i { transform: translateX(4px); }
.panel-icon { position: absolute; right: -18px; bottom: -18px; opacity: .14; }
.panel-icon .i { width: 180px; height: 180px; stroke-width: 1.2; }
.panel-green { background: var(--brand); color: #fff; }
.panel-green h3, .panel-green p { color: #fff; }
.panel-green p { opacity: .85; }
.panel-forest { background: var(--forest); color: #fff; }
.panel-forest h3 { color: #fff; }
.panel-forest p { color: rgba(255, 255, 255, .72); }
.panel-forest .panel-tag, .panel-forest .panel-link { color: #86EFAC; }
.panel-amber { background: #FEF3C7; color: #78350F; }
.panel-amber h3 { color: #451A03; }
.panel-amber p { color: #78350F; }
@media (max-width: 900px) { .panels { grid-template-columns: 1fr; } .panel { min-height: 260px; } }

/* Office */
.office { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); }
.office h2 { margin-bottom: 6px; }
.office-place { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 22px; }
.office-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.office-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.office-list .i { color: var(--brand); }
.office-list a { color: var(--ink); }
.office-list a:hover { color: var(--brand-deep); }
.office-map { width: 100%; height: auto; border-radius: 24px; }
@media (max-width: 800px) { .office { grid-template-columns: 1fr; } }

/* Partner "zone" card (home page) */
.zone-card { padding: 18px; }
.zone-status { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.zone-status small { margin-left: auto; font-weight: 600; color: var(--ink-3); font-size: .78rem; }
.zone-status .live { width: 10px; height: 10px; border-radius: 50%; background: var(--brand-bright); box-shadow: 0 0 0 4px var(--brand-100); }
.zone-request { padding-top: 14px; }
.zone-request b { display: block; font-size: 1.05rem; margin: 4px 0 8px; }
.zone-meta { display: flex; gap: 16px; font-size: .84rem; color: var(--ink-2); font-weight: 600; margin-bottom: 14px; }
.zone-meta span { display: inline-flex; align-items: center; gap: 6px; }
.zone-meta .i { color: var(--brand); }
.zone-request .acts { display: flex; gap: 8px; }
.zone-request .acts span { flex: 1; text-align: center; font-size: .85rem; font-weight: 700; padding: 10px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink-2); }
.zone-request .acts span.go { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ==========================================================================
   NearZyo pattern system (2026): editorial accents, proximity rings,
   grain, marquee, bento grid, sticky stacking cards, footer wordmark
   ========================================================================== */
:root {
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Editorial accent word: serif italic inside the bold sans headline */
.accent {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -.01em; color: var(--brand); font-size: 1.08em; line-height: 1; margin-right: -.04em;
}
.section-dark .accent, .promo .accent, .future .accent, .mission .accent { color: #86EFAC; }

/* Grain texture on colour surfaces */
.grain, .hero-bg, .mission, .promo, .download-band, .future { isolation: isolate; }
.grain::after, .hero-bg > .grain-layer, .mission::after, .promo::after, .download-band::after, .future::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: var(--grain); opacity: .09; mix-blend-mode: overlay;
}
.hero-bg { background-blend-mode: normal; }
.future { position: relative; overflow: hidden; }
.future .container, .mission .container, .site-footer .container { position: relative; z-index: 1; }
.site-footer { position: relative; overflow: hidden; }
.promo > *, .download-band > * { z-index: 1; }

/* Proximity rings — hero */
.ring-wave { position: absolute; top: 50%; left: 50%; width: min(300px, 70%); aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(34, 197, 94, .35); transform: translate(-50%, -50%) scale(.6); opacity: 0; animation: wave 4.5s ease-out infinite; }
.ring-wave.w2 { animation-delay: 2.25s; }
@keyframes wave { 0% { transform: translate(-50%, -50%) scale(.6); opacity: .9; } 100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; } }
.orbit-pin { position: absolute; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand-deep); box-shadow: var(--shadow-md); border: 2px solid var(--brand-100); animation: bob 5s ease-in-out infinite; }
.op-1 { top: 6%; right: max(8px, calc(50% - 230px)); }
.op-2 { bottom: 4%; left: max(8px, calc(50% - 210px)); animation-delay: -1.6s; color: #B45309; border-color: #FDE68A; }
.op-3 { top: 44%; right: max(0px, calc(50% - 270px)); animation-delay: -3.2s; color: #0369A1; border-color: #BAE6FD; }
@media (max-width: 560px) { .orbit-pin { display: none; } }

/* Marquee band */
.marquee { position: relative; overflow: hidden; background: var(--forest); color: #fff; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; position: relative; z-index: 1; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { list-style: none; margin: 0; padding: 0; display: flex; }
.marquee li { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.marquee li:nth-child(even) { font-family: var(--serif); font-style: italic; font-weight: 400; color: #86EFAC; font-size: clamp(1.45rem, 2.7vw, 2.1rem); }
.mq-pin { color: var(--brand-bright); display: inline-flex; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* How it works — sticky stacking cards */
.how-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.how-head { position: sticky; top: calc(var(--header-h) + 40px); }
.how-head p { font-size: 1.08rem; margin-bottom: 24px; }
.stack { display: grid; gap: 28px; padding-bottom: 8px; }
.stack-card {
  position: sticky; top: calc(var(--header-h) + 32px + var(--i) * 22px);
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  min-height: 230px; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(15, 23, 42, .25), var(--shadow-sm);
  background: #fff;
}
.stack-n { font-family: var(--serif); font-style: italic; font-size: clamp(3.6rem, 7vw, 5.4rem); line-height: .9; color: var(--brand); }
.stack-copy h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 8px; }
.stack-copy p { margin: 0; font-size: 1.02rem; }
.stack-art { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-deep); border: 1px solid var(--brand-100); }
.stack-art .i { width: 34px; height: 34px; }
.s-mint { background: var(--brand-50); border-color: var(--brand-100); }
.s-mint .stack-art { background: #fff; }
.s-forest { background: var(--forest); border-color: var(--forest); }
.s-forest h3 { color: #fff; } .s-forest p { color: rgba(255, 255, 255, .72); } .s-forest .stack-n { color: #86EFAC; }
.s-forest .stack-art { background: rgba(34, 197, 94, .16); border-color: rgba(34, 197, 94, .3); color: #86EFAC; }
.s-amber { background: #FEF3C7; border-color: #FDE68A; }
.s-amber .stack-n { color: #B45309; } .s-amber .stack-art { background: #fff; color: #B45309; border-color: #FDE68A; }
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
  .how-head { position: static; text-align: center; }
  .stack-card { grid-template-columns: auto 1fr; min-height: 0; }
  .stack-art { display: none; }
}

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: 26px; padding: 28px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.tile h3 { font-size: 1.25rem; margin-bottom: 6px; }
.tile p { margin: 0; font-size: .96rem; }
.tile-tag { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); margin-bottom: 10px; }
.tile-a { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #F3FBF5, #E3F6EA); }
.tile-b { grid-column: span 2; }
.tile-e, .tile-f { grid-column: span 2; }
.tile-dark { background: var(--forest); border-color: var(--forest); }
.tile-dark h3 { color: #fff; } .tile-dark p { color: rgba(255, 255, 255, .7); } .tile-dark .tile-tag { color: #86EFAC; }
.tile-amber { background: #FEF3C7; border-color: #FDE68A; }
.tile-amber .tile-tag { color: #B45309; }
.tile-big-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(34, 197, 94, .16); color: #86EFAC; }
.tile-big-icon .i { width: 32px; height: 32px; }

/* Bento: radar visual */
.radar { position: relative; flex: 1; min-height: 260px; }
.rr { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1.5px dashed rgba(22, 163, 74, .35); transform: translate(-50%, -50%); }
.r1 { width: 34%; aspect-ratio: 1; } .r2 { width: 62%; aspect-ratio: 1; } .r3 { width: 90%; aspect-ratio: 1; border-style: solid; border-color: rgba(22, 163, 74, .15); }
.rr-sweep { position: absolute; top: 50%; left: 50%; width: 90%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: conic-gradient(from 0deg, rgba(34, 197, 94, .28), rgba(34, 197, 94, 0) 22%); animation: sweep 6s linear infinite; }
@keyframes sweep { to { transform: translate(-50%, -50%) rotate(360deg); } }
.rr-home { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; background: var(--amber); color: #fff; box-shadow: 0 0 0 8px rgba(245, 158, 11, .2); }
.rr-shop { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 999px; background: #fff; color: var(--brand-deep); font-size: .78rem; font-weight: 700; box-shadow: var(--shadow-md); transition: transform .3s ease; }
.rr-shop .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--brand-50); }
.rr-shop em { font-style: normal; color: var(--ink); }
.s1 { top: 30%; left: 56%; } .s2 { top: 66%; left: 12%; } .s3 { top: 12%; left: 10%; }
.tile-a:hover .rr-shop { transform: scale(1.06); }

/* Bento: mini tracker */
.mini-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: t; }
.mini-track li { position: relative; padding-top: 18px; font-size: .78rem; font-weight: 700; color: var(--ink-3); }
.mini-track li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 99px; background: var(--line); }
.mini-track li.done { color: var(--ink); } .mini-track li.done::before { background: var(--brand); }
.mini-track li.now { color: var(--brand-deep); }
.mini-track li.now::before { background: linear-gradient(90deg, var(--brand) 50%, var(--line) 50%); background-size: 200% 100%; animation: track 2.4s ease-in-out infinite alternate; }
@keyframes track { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Bento: checks, toggle, stars */
.check-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.check-chips li { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--ink); }
.check-chips .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand); color: #fff; stroke-width: 3; }
.toggle-pill { display: inline-flex; width: fit-content; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid #FDE68A; }
.toggle-pill span { padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: #92400E; }
.toggle-pill span.on { background: #B45309; color: #fff; animation: toggle 4s ease-in-out infinite; }
@keyframes toggle { 0%, 45% { transform: none; } 50%, 95% { transform: none; } }
.stars { display: flex; align-items: center; gap: 14px; }
.stars b { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.stars span { display: flex; gap: 3px; color: var(--amber); }
.stars .i { width: 22px; height: 22px; fill: currentColor; stroke: none; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-a { grid-row: auto; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile-a, .tile-b, .tile-e, .tile-f { grid-column: auto; }
  .radar { min-height: 240px; }
}

/* Footer wordmark */
.footer-word { font-size: clamp(4.5rem, 19vw, 17rem); font-weight: 800; letter-spacing: -.06em; line-height: .8; margin: 40px 0 -0.08em; color: transparent; -webkit-text-stroke: 1.5px rgba(134, 239, 172, .28); user-select: none; white-space: nowrap; }
.footer-word em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; -webkit-text-stroke: 0; color: rgba(134, 239, 172, .14); }

/* Proximity-ring signature on inner page heroes */
.page-hero .hero-bg::before, .about-hero .hero-bg::before {
  content: ""; position: absolute; top: -220px; right: -180px; width: 680px; height: 680px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 62px, rgba(22, 163, 74, .13) 62px 64px);
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 70%); mask-image: radial-gradient(circle, #000 25%, transparent 70%);
}
.legal-hero .hero-bg::before { width: 480px; height: 480px; top: -200px; }
@media (max-width: 640px) { .page-hero .hero-bg::before, .about-hero .hero-bg::before { width: 420px; height: 420px; top: -180px; right: -200px; } }

/* ---------- Referral invite (/r/CODE) ---------- */
.ref-card {
  max-width: 460px;
  margin: 8px 0 24px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.ref-card[hidden], .ref-missing[hidden] { display: none; }
.ref-label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.ref-code-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ref-code { font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 800; letter-spacing: .14em; color: var(--ink); word-break: break-all; }
.ref-copy { flex-shrink: 0; }
.ref-status { margin: 10px 0 0; font-size: .85rem; color: var(--brand-deep); }
.ref-status:empty { margin: 0; }
.ref-missing { max-width: 520px; padding: 14px 16px; background: var(--amber-50); border-radius: var(--radius-sm); color: var(--ink); }
