/* Jagaman Partner Network. Brand tokens copied from apps/web/src/app/globals.css (docs/brand.md).
   The brand is light-only (brand.md §8), so there is no dark theme. */
:root {
  color-scheme: light;
  /* Black & Neon Green brand (2026-11-06). Variable names kept from the original palette:
     "sage" = black/greys (700 is the brand black), "amber" = neon green (400 is the brand neon),
     "zinc" = neutral greys. amber-600/700 are darker greens for text on white (readable contrast). */
  --sage-50: #f5f5f5; --sage-100: #ebebeb; --sage-200: #d0d0d0; --sage-300: #a6a6a6; --sage-400: #7a7a7a;
  --sage-500: #525252; --sage-600: #2b2b2b; --sage-700: #0a0a0a; --sage-800: #1a1a1a; --sage-900: #050505; --sage-950: #000000;
  --amber-50: #effff0; --amber-100: #d6ffd6; --amber-200: #8dff7a; --amber-400: #39ff14; --amber-600: #187a06; --amber-700: #115a04;
  --zinc-50: #f7f7f7; --zinc-100: #efefef; --zinc-200: #e3e3e3; --zinc-300: #cccccc; --zinc-600: #5e5e5e; --zinc-900: #111111; --zinc-950: #000000;

  --bg: var(--zinc-50);
  --fg: var(--zinc-900);
  --muted: var(--zinc-600);
  --line: var(--zinc-200);

  --display: "Gabarito", "Work Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --body: "Work Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --wrap: 1120px;
  --radius: 10px;
}
html[lang="zh-Hans"] { --display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Gabarito", sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; margin: 0; line-height: 1.15; }
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3 { letter-spacing: 0; font-weight: 700; line-height: 1.3; }
p, ul, ol, dl { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: #fff; padding: 8px 12px; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-family: var(--display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-600); }
html[lang="zh-Hans"] .eyebrow { letter-spacing: 0.06em; font-size: 0.85rem; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 12px 18px; border-radius: 8px; text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-amber { background: var(--amber-400); color: var(--sage-950); }
.btn-amber:hover { background: var(--amber-200); }
.btn-ghost { border-color: var(--sage-300); color: #fff; background: transparent; }
.btn-ghost:hover { background: var(--sage-800); }
.btn-dark { background: var(--sage-700); color: #fff; }
.btn-dark:hover { background: var(--sage-800); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Header */
.site-head { background: var(--sage-700); color: #fff; position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { font-family: "Gabarito", "Work Sans", Arial, sans-serif; font-weight: 600; letter-spacing: -0.025em; font-size: 1.6rem; text-decoration: none; color: #fff; line-height: 1; white-space: nowrap; }
.logo small { font-family: var(--body); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-200); margin-left: 10px; vertical-align: middle; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; font-size: 0.93rem; font-weight: 500; padding: 7px 10px; border-radius: 6px; color: var(--sage-50); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sage-800); }
.nav a.cta { background: var(--amber-400); color: var(--sage-950); font-weight: 600; margin-left: 6px; }
.nav a.cta:hover { background: var(--amber-200); }
.lang { display: flex; gap: 2px; margin-left: 10px; border-left: 1px solid var(--sage-600); padding-left: 10px; }
.lang a { font-size: 0.82rem; padding: 5px 7px; color: var(--sage-200); }
.lang a[aria-current="true"] { color: #fff; background: var(--sage-800); }
.menu-btn { display: none; background: transparent; color: #fff; border: 1.5px solid var(--sage-300); border-radius: 6px; padding: 7px 12px; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .logo small { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--sage-800); flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(20px, env(safe-area-inset-left, 0px)) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 1rem; }
  .nav a.cta { margin: 8px 0 0; text-align: center; }
  .lang { margin: 10px 0 0; border-left: 0; border-top: 1px solid var(--sage-600); padding: 10px 0 0; }
}

/* Hero */
.hero { background: var(--sage-700); color: #fff; padding-block: 56px 72px; }
.hero .eyebrow { color: var(--amber-200); }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); margin-top: 14px; max-width: 18ch; font-weight: 700; }
html[lang="ms"] .hero h1 { max-width: 22ch; }
.hero h1 em { font-style: normal; color: var(--amber-200); }
.hero .lede { margin-top: 20px; font-size: 1.15rem; max-width: 62ch; color: var(--sage-50); }
.hero-actions { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-sub { padding-block: 48px 56px; }
.hero-sub h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 22ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { font-size: 0.85rem; padding: 4px 11px; border-radius: 999px; background: var(--sage-800); color: var(--sage-100); }
.hero-sub .badge { width: 56px; height: 56px; border-radius: 14px; background: var(--amber-400); color: var(--sage-950); display: grid; place-items: center; font-family: "Gabarito", sans-serif; font-weight: 900; font-size: 1.8rem; margin-bottom: 18px; }

/* Chain */
.chain { margin-top: 52px; }
.chain-label { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; color: var(--sage-200); font-size: 0.9rem; }
.chain-label .key { display: inline-flex; align-items: center; gap: 8px; }
.chain-label .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber-400); display: inline-block; }
.links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.link { position: relative; padding: 18px 16px; min-width: 0; background: var(--sage-800); border: 2px solid var(--sage-600); margin-left: -2px; text-decoration: none; color: inherit; display: block; }
.link:first-child { border-radius: 14px 0 0 14px; margin-left: 0; }
.link:last-child { border-radius: 0 14px 14px 0; }
.link.open { background: var(--amber-400); border-color: var(--amber-400); color: var(--sage-950); z-index: 1; }
.link .num { font-family: "Gabarito", sans-serif; font-weight: 900; font-size: 2rem; line-height: 1; }
.link h3 { font-size: 1.12rem; margin-top: 10px; }
.link p { font-size: 0.87rem; margin-top: 4px; color: var(--sage-100); }
.link.open p { color: var(--sage-950); }
.link .tag { position: absolute; top: 14px; right: 12px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; }
.link.open .tag { background: var(--sage-950); color: var(--amber-200); }
.link:not(.open) .tag { border: 1px solid var(--sage-500); color: var(--sage-200); }
.link-a { color: inherit; text-decoration: none; display: contents; }
.page-h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.link.open:hover { background: var(--amber-200); border-color: var(--amber-200); }
.chain-out { margin-top: 14px; display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; color: var(--sage-100); font-size: 0.95rem; }
.chain-out .arrow { font-family: "Gabarito", sans-serif; font-weight: 700; color: var(--amber-200); }
.chain-out .client { background: var(--sage-950); color: #fff; padding: 6px 12px; border-radius: 999px; font-weight: 500; font-size: 0.9rem; }
@media (max-width: 880px) {
  .links { grid-template-columns: 1fr; }
  .link, .link:first-child, .link:last-child { margin-left: 0; margin-top: -2px; border-radius: 0; display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; padding-right: 110px; }
  .link:first-child { border-radius: 14px 14px 0 0; margin-top: 0; }
  .link:last-child { border-radius: 0 0 14px 14px; }
  .link .num { grid-row: span 2; font-size: 1.7rem; }
  .link h3 { margin-top: 0; }
}

/* Sections */
.band { padding-block: 80px; }
.band.alt { background: var(--zinc-100); }
.band.dark { background: var(--sage-950); color: #fff; }
.band.dark .eyebrow { color: var(--amber-200); }
.band.dark .section-head p { color: var(--sage-200); }
.band.warm { background: var(--amber-50); border-top: 1px solid var(--amber-100); }
.section-head { display: grid; gap: 14px; max-width: 66ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cols-3 > div { border-top: 3px solid var(--sage-700); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.cols-3 h3 { font-size: 1.22rem; }
.cols-3 p { color: var(--muted); }
@media (max-width: 820px) { .cols-3 { grid-template-columns: 1fr; gap: 24px; } }

/* Gap table */
.gap-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gap-table th, .gap-table td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.gap-table tr:last-child td, .gap-table tr:last-child th { border-bottom: 0; }
.gap-table thead th { font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.04em; background: var(--zinc-100); color: var(--muted); }
.gap-table tbody th { font-family: var(--display); font-weight: 600; width: 22%; }
.gap-table td.with { background: var(--sage-50); color: var(--sage-900); }
@media (max-width: 720px) {
  .gap-table thead { display: none; }
  .gap-table, .gap-table tbody, .gap-table tr, .gap-table th, .gap-table td { display: block; width: 100%; }
  .gap-table tr { border-bottom: 1px solid var(--line); }
  .gap-table tbody th { padding-bottom: 4px; border: 0; }
  .gap-table td { border: 0; padding-top: 6px; }
  .gap-table td::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
}

/* Partner cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; }
.card:hover { border-color: var(--sage-400); }
.card .badge { width: 44px; height: 44px; border-radius: 10px; background: var(--amber-400); color: var(--sage-950); display: grid; place-items: center; font-family: "Gabarito", sans-serif; font-weight: 900; font-size: 1.4rem; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); }
.card .more { font-family: var(--display); font-weight: 600; color: var(--sage-700); margin-top: 6px; }
.card .more::after { content: " →"; }

/* Standard */
.standard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .standard { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .standard { grid-template-columns: 1fr; } }
.standard div { border: 1px solid var(--sage-800); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start; }
.standard h3 { font-size: 1.12rem; }
.standard p { color: var(--sage-200); font-size: 0.95rem; }

/* Ladder */
.ladder { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; counter-reset: lvl; }
.ladder li { counter-increment: lvl; background: var(--sage-100); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; align-content: start; border-top: 6px solid var(--sage-500); }
.ladder li:nth-child(1) { min-height: 190px; }
.ladder li:nth-child(2) { min-height: 220px; border-top-color: var(--sage-600); }
.ladder li:nth-child(3) { min-height: 250px; border-top-color: var(--sage-700); }
.ladder li:nth-child(4) { min-height: 280px; border-top-color: var(--amber-400); }
.ladder li::before { content: counter(lvl); font-family: "Gabarito", sans-serif; font-weight: 900; font-size: 1.6rem; color: var(--sage-700); line-height: 1; }
.ladder h3 { font-size: 1.15rem; }
.ladder p { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 860px) { .ladder { grid-template-columns: 1fr 1fr; } .ladder li { min-height: 0 !important; } }
@media (max-width: 520px) { .ladder { grid-template-columns: 1fr; } }

/* Roadmap */
.roadmap { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.roadmap li { padding: 22px 24px 22px 0; border-top: 3px solid var(--zinc-300); display: grid; gap: 8px; align-content: start; position: relative; }
.roadmap li:first-child { border-top-color: var(--amber-400); }
.roadmap li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--zinc-300); }
.roadmap li:first-child::before { background: var(--amber-400); }
.roadmap .when { font-family: var(--display); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber-600); margin-top: 10px; }
.roadmap h3 { font-size: 1.2rem; }
.roadmap p { color: var(--muted); }
@media (max-width: 820px) { .roadmap { grid-template-columns: 1fr; } }

/* Benefit grid, steps, ask list */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.split > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 620px) { .benefits { grid-template-columns: 1fr; } }
.benefits div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; align-content: start; }
.benefits h3 { font-size: 1.08rem; }
.benefits p { color: var(--muted); font-size: 0.95rem; }
.steps { list-style: none; padding: 0; display: grid; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-block: 14px; border-bottom: 1px dashed var(--zinc-300); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--sage-700); color: #fff; display: grid; place-items: center; font-family: "Gabarito", sans-serif; font-weight: 700; }
.steps strong { display: block; font-weight: 600; font-size: 1.05rem; }
.steps span { color: var(--muted); }
.ask { list-style: none; padding: 0; display: grid; gap: 10px; }
.ask li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.ask li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 4px; background: var(--sage-200); box-shadow: inset 0 0 0 5px var(--sage-200), inset 0 0 0 9px var(--sage-700); }
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .groups { grid-template-columns: 1fr; } }
.groups div { background: var(--sage-700); color: #fff; border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; align-content: start; }
.groups .eyebrow { color: var(--amber-200); font-size: 0.72rem; }
.groups h3 { font-size: 1.18rem; }
.groups p { color: var(--sage-100); font-size: 0.94rem; }
.cert-strip { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; color: var(--muted); font-size: 0.95rem; }
.cert-strip b { font-family: var(--display); font-weight: 600; color: var(--fg); padding: 4px 10px; border: 1.5px solid var(--sage-500); border-radius: 6px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.05rem; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--sage-700); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 70ch; }

/* Final CTA */
.final { background: var(--sage-700); color: #fff; }
.final .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 56px; }
.final h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); max-width: 26ch; }
.final p { color: var(--sage-100); margin-top: 8px; }

/* Join form */
.join-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; gap: 28px; } }
.join-aside { display: grid; gap: 14px; }
.join-aside h2, .join-aside h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.join-aside p { color: var(--muted); }
form.jform { background: #fff; border: 1px solid var(--amber-100); border-radius: 14px; padding: 28px; display: grid; gap: 20px; min-width: 0; }
@media (max-width: 520px) { form.jform { padding: 20px; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-family: var(--display); font-weight: 600; font-size: 1rem; margin-bottom: 10px; padding: 0; }
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 600px) { .types { grid-template-columns: 1fr; } }
.types label { position: relative; border: 2px solid var(--zinc-200); border-radius: var(--radius); padding: 12px 14px; cursor: pointer; display: grid; gap: 2px; background: var(--zinc-50); }
.types label:hover { border-color: var(--sage-300); }
.types input { position: absolute; opacity: 0; pointer-events: none; }
.types label:has(input:checked) { border-color: var(--sage-700); background: var(--sage-50); box-shadow: inset 0 0 0 1px var(--sage-700); }
.types label:has(input:focus-visible) { outline: 3px solid var(--amber-400); outline-offset: 2px; }
.types b { font-family: var(--display); font-weight: 600; }
.types small { color: var(--muted); font-size: 0.82rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field > label, .field .label { font-size: 0.92rem; font-weight: 500; }
.hint { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
input[type=text], input[type=tel], input[type=email], input[type=number], select, textarea {
  font: inherit; font-size: 1rem; color: var(--fg); background: var(--zinc-50);
  border: 1.5px solid var(--zinc-300); border-radius: 8px; padding: 10px 12px; width: 100%; min-width: 0;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sage-700); box-shadow: 0 0 0 3px var(--sage-200); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.92rem; padding: 7px 11px; border: 1px solid var(--zinc-300); border-radius: 999px; cursor: pointer; background: var(--zinc-50); }
.checks label:has(input:checked) { background: var(--sage-100); border-color: var(--sage-500); }
.checks input { accent-color: var(--sage-700); margin: 0; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 0.9rem; color: var(--muted); align-items: start; }
.consent input { accent-color: var(--sage-700); width: 18px; height: 18px; margin-top: 2px; }
.captcha { min-height: 65px; max-width: 400px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--amber-700); font-size: 0.9rem; font-weight: 500; }
.done { background: var(--sage-50); border: 1px solid var(--sage-300); border-radius: 14px; padding: 28px; display: grid; gap: 14px; }
.done h2 { font-size: 1.5rem; }
.done .ref { font-family: ui-monospace, Menlo, monospace; font-weight: 600; background: #fff; border: 1px solid var(--sage-300); padding: 2px 8px; border-radius: 6px; }

/* Prose (privacy) */
.prose { max-width: 70ch; display: grid; gap: 28px; }
.prose h2 { font-size: 1.3rem; margin-bottom: 6px; }
.prose p { color: var(--muted); }

/* Footer */
footer.site-foot { background: var(--zinc-950); color: var(--zinc-300); font-size: 0.92rem; }
footer .wrap { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 48px 32px; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }
footer .logo { font-size: 1.4rem; display: inline-block; margin-bottom: 12px; }
footer h2 { font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
footer ul { list-style: none; padding: 0; display: grid; gap: 6px; }
footer a { text-decoration: none; color: var(--zinc-300); }
footer a:hover { color: #fff; text-decoration: underline; }
footer .legal { border-top: 1px solid var(--zinc-900); grid-column: 1 / -1; padding-top: 18px; font-size: 0.82rem; color: var(--zinc-600); }

/* ---------- Founding partners ---------- */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; } }
.founder { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: grid; gap: 12px; align-content: start; text-decoration: none; color: inherit; }
.founder:hover { border-color: var(--sage-400); }
.founder p { color: var(--muted); }
.founder .more, .feature .more { font-family: var(--display); font-weight: 600; color: var(--sage-700); }
.founder .more::after { content: " →"; }
.founder-logo { display: inline-flex; align-items: center; background: #fff; border-radius: 10px; padding: 10px 14px; border: 1px solid var(--line); justify-self: start; width: fit-content; }
.founder-logo.on-dark { border-color: transparent; }
.nippon-logo { height: 40px; width: auto; display: block; }
.wou-mark { display: inline-flex; align-items: center; gap: 10px; color: var(--sage-950); line-height: 1.1; }
.wou-mark b { font-family: "Gabarito", sans-serif; font-weight: 900; font-size: 1.5rem; letter-spacing: 0.02em; background: var(--sage-700); color: #fff; padding: 4px 8px; border-radius: 6px; }
.wou-mark span { font-family: var(--display); font-weight: 600; font-size: 0.95rem; max-width: 10ch; }
.founder-role { font-family: var(--display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-600); }
html[lang="zh-Hans"] .founder-role { letter-spacing: 0.04em; font-size: 0.85rem; }

.feature-strip { padding-block: 28px 0; }
.feature { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-decoration: none; color: inherit; }
.feature:hover { border-color: var(--sage-400); }
.feature-text { flex: 1 1 280px; display: grid; gap: 4px; color: var(--muted); min-width: 0; }
.partner-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.partner-badge { font-family: var(--display); font-weight: 600; font-size: 0.85rem; background: var(--amber-400); color: var(--sage-950); padding: 5px 12px; border-radius: 999px; }

.stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 26px; }
.stats div { display: grid; }
.stats b { font-family: "Gabarito", sans-serif; font-size: 1.9rem; line-height: 1.1; color: var(--amber-200); font-variant-numeric: tabular-nums; }
.stats span { color: var(--sage-100); font-size: 0.9rem; }

/* Coating system */
.system { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: sys; }
.system li { counter-increment: sys; padding: 20px 22px 22px 0; border-top: 6px solid var(--sage-300); display: grid; gap: 8px; align-content: start; }
.system li:nth-child(2) { border-top-color: var(--sage-500); }
.system li:nth-child(3) { border-top-color: var(--sage-700); }
.system li:nth-child(4) { border-top-color: var(--amber-400); }
.system li::before { content: counter(sys); font-family: "Gabarito", sans-serif; font-weight: 900; font-size: 1.5rem; color: var(--sage-700); line-height: 1; }
.system h3 { font-size: 1.15rem; }
.system p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .system { grid-template-columns: 1fr 1fr; row-gap: 12px; } }
@media (max-width: 520px) { .system { grid-template-columns: 1fr; } }

/* Catalogue */
.filters { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 20px; position: sticky; top: 64px; z-index: 5; }
@media (max-width: 980px) { .filters { position: static; } }
.filters .field { max-width: 420px; }
input[type=search] { font: inherit; font-size: 1rem; color: var(--fg); background: var(--zinc-50); border: 1.5px solid var(--zinc-300); border-radius: 8px; padding: 10px 12px; width: 100%; }
input[type=search]:focus { outline: none; border-color: var(--sage-700); box-shadow: 0 0 0 3px var(--sage-200); }
.fgroup { display: grid; gap: 8px; }
.fgroup .label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { font: inherit; font-size: 0.86rem; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--zinc-300); background: var(--zinc-50); color: var(--fg); cursor: pointer; }
.fchip:hover { border-color: var(--sage-500); }
.fchip[aria-pressed="true"] { background: var(--sage-700); border-color: var(--sage-700); color: #fff; }
.fcount { font-size: 0.92rem; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fcount b { color: var(--fg); font-variant-numeric: tabular-nums; }
.linkbtn { font: inherit; background: none; border: 0; color: var(--sage-700); text-decoration: underline; cursor: pointer; padding: 0; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } }
.pcard, .prog { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.pcard h3, .prog h3 { font-size: 1.08rem; font-family: "Gabarito", var(--display); }
.pcard p { color: var(--muted); font-size: 0.93rem; }
.ptags { display: flex; flex-wrap: wrap; gap: 6px; }
.ptags span { font-size: 0.74rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--zinc-100); color: var(--zinc-600); }
.ptags span.step { background: var(--sage-100); color: var(--sage-800); }
.pcard dl, .prog dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; font-size: 0.86rem; }
.pcard dt, .prog dt { color: var(--muted); }
.pcard dd, .prog dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.plink { font-size: 0.88rem; font-weight: 600; color: var(--sage-700); margin-top: auto; padding-top: 4px; }
/* Catalogue rows: picture left, details right */
.plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .plist { grid-template-columns: 1fr; } }
.prow { grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; }
.pimg { background: #fff; border-radius: 10px; aspect-ratio: 1; display: grid; place-items: center; }
.pimg img { width: 100%; height: 100%; object-fit: contain; }
.pbody { display: grid; gap: 8px; min-width: 0; }
.pcat { font-size: 0.74rem !important; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage-700) !important; }
.plinks { display: flex; flex-wrap: wrap; gap: 4px 18px; }
@media (max-width: 520px) { .prow { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 14px; } }
.brochure { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; background: var(--sage-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; }
.brochure h3 { font-size: 1.08rem; font-family: "Gabarito", var(--display); margin-bottom: 4px; }
.brochure p { color: var(--muted); font-size: 0.93rem; max-width: 60ch; }
.empty-note { padding: 32px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--zinc-300); border-radius: var(--radius); }
.source-note { margin-top: 20px; font-size: 0.85rem; color: var(--muted); max-width: 80ch; }

/* WOU */
.apel { background: var(--sage-700); color: #fff; }
.apel-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.apel h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--amber-200); }
.apel p { font-size: 1.1rem; color: var(--sage-50); }
@media (max-width: 860px) { .apel-inner { grid-template-columns: 1fr; gap: 16px; } }
.prog-level { font-family: var(--display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-600); }
.prog .fits { font-size: 0.93rem; color: var(--muted); }
.prog .fits b { color: var(--fg); font-weight: 600; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: 0.8rem; }
.ladder.path li { min-height: 0 !important; }
.ladder.path .eyebrow { font-size: 0.72rem; }

/* Example workers */
.wgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .wgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .wgrid { grid-template-columns: 1fr; } }
.wcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.ex-badge { position: absolute; top: 14px; right: 14px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; border: 1.5px dashed var(--amber-400); color: var(--amber-700); background: var(--amber-50); }
.wtop { display: flex; gap: 12px; align-items: center; padding-right: 78px; }
.avatar { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--sage-200); color: var(--sage-900); display: grid; place-items: center; font-family: "Gabarito", sans-serif; font-weight: 700; }
.wtop h3 { font-size: 1.08rem; font-family: "Gabarito", var(--display); }
.wtop p { color: var(--muted); font-size: 0.88rem; }
.wstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 8px; }
.wstats span { padding: 8px 10px; font-size: 0.78rem; color: var(--muted); display: grid; line-height: 1.3; }
.wstats span + span { border-left: 1px solid var(--line); }
.wstats b { font-family: "Gabarito", sans-serif; font-size: 1.25rem; color: var(--fg); font-variant-numeric: tabular-nums; }
.wcard dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; font-size: 0.88rem; }
.wcard dt { color: var(--muted); }
.wcard dd { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.pill { font-size: 0.8rem; padding: 1px 8px; border-radius: 999px; background: var(--sage-100); color: var(--sage-800); }
.pill-cert { background: var(--amber-50); color: var(--amber-700); }
.verified { font-size: 0.85rem; color: var(--sage-700); font-weight: 600; }

/* Tools */
.types-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .types-2 { grid-template-columns: 1fr; } }
.tgroup { font-size: 1.15rem; margin: 28px 0 12px; }
.tgroup:first-of-type { margin-top: 0; }
.ptags span.brand { background: var(--zinc-200); color: var(--zinc-900); }
.ptags span.ex { background: var(--amber-50); color: var(--amber-700); border: 1px dashed var(--amber-400); }
.kit { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 20px 16px; min-width: 0; overflow-x: auto; }
.kit table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.kit th, .kit td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); }
.kit thead th { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.kit .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kit tfoot th, .kit tfoot td { font-family: "Gabarito", var(--display); font-weight: 700; font-size: 1.15rem; border-bottom: 0; }
.kit a { color: var(--fg); text-decoration: none; }
.kit a:hover { text-decoration: underline; }
.kit-head { display: grid; gap: 10px; }

/* App startup animation (src/splash.js adds html.splash-on, then splash-go once fonts are ready):
   a neon dot pops in, opens into a soft glow, and "Jagaman" emerges from the dark inside it. */
.splash { display: none; }
html.splash-on { overflow: hidden; }
html.splash-on .splash { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-content: center; justify-items: center; gap: 16px; }
html.splash-out .splash { animation: splash-fade 0.6s ease forwards; }
@keyframes splash-fade { to { opacity: 0; visibility: hidden; } }
.sb { position: relative; display: grid; place-items: center; }
.sb > * { grid-area: 1 / 1; }
.sglow { width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgb(57 255 20 / 0.32), rgb(57 255 20 / 0.08) 38%, transparent 66%); opacity: 0; transform: scale(0.15); will-change: transform, opacity; pointer-events: none; }
.sdot { width: 80px; height: 80px; border-radius: 50%; background: var(--amber-400); box-shadow: 0 0 36px rgb(57 255 20 / 0.6); opacity: 0; transform: scale(0); will-change: transform, opacity; }
.sword { position: relative; color: #fff; font-family: "Gabarito", "Work Sans", Arial, sans-serif; font-weight: 600; font-size: 3.6rem; letter-spacing: -0.025em; line-height: 1.1; opacity: 0; will-change: transform, opacity, filter; }
.ssub { color: #9a9a9a; font-family: var(--body); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0; }
html[lang="zh-Hans"] .ssub { letter-spacing: 0.1em; }
.splash-go .sdot { animation: e-pop 0.6s 0.15s cubic-bezier(0.3, 1.5, 0.5, 1) forwards, e-open 0.7s 0.95s cubic-bezier(0.5, 0, 0.3, 1) forwards; }
.splash-go .sglow { animation: e-glow 1.6s 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.splash-go .sword { animation: e-emerge 1.1s 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.splash-go .ssub { animation: e-sub 0.7s 2.1s ease-out forwards; }
@keyframes e-pop { from { opacity: 1; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes e-open { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.2); } }
@keyframes e-glow { 0% { opacity: 0; transform: scale(0.15); } 35% { opacity: 1; } 100% { opacity: 0.55; transform: scale(1); } }
@keyframes e-emerge { from { opacity: 0; transform: scale(0.9); filter: blur(12px); letter-spacing: 0.06em; } to { opacity: 1; transform: none; filter: blur(0); letter-spacing: -0.025em; } }
@keyframes e-sub { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.splash-still .sword, .splash-still .ssub { opacity: 1; }

/* "Get the app" card: phones only */
.getapp { display: none; }
.getapp-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.getapp-card img { border-radius: 13px; display: block; }
.getapp-text h2 { font-size: 1.05rem; }
.getapp-text p { color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
.getapp-card .btn { grid-column: 1 / -1; width: 100%; justify-content: center; padding-block: 13px; background: #000; }
.getapp-help { grid-column: 1 / -1; font-size: 0.9rem; background: var(--zinc-100); border-radius: 12px; padding: 12px 14px; }
@media (max-width: 720px) { .getapp:not([hidden]) { display: block; padding-top: 20px; } }

/* ===================================================================
   Phone (<=720px): app-style layout. Bottom tab bar, compact top bar,
   big tiles on the home screen, short heroes, explainer sections hidden
   (they carry the class .m-hide and stay on larger screens).
   =================================================================== */
.tabbar, .m-top { display: none; }
.link .ico { display: none; }

@media (max-width: 720px) {
  .m-hide { display: none !important; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }

  /* Top bar: logo, language pill, Join */
  .menu-btn, .nav { display: none !important; }
  .site-head .wrap { padding-block: 10px; gap: 10px; }
  .logo { font-size: 1.35rem; }
  .m-top { display: flex; align-items: center; gap: 8px; }
  .m-lang { display: flex; background: var(--sage-800); border-radius: 999px; padding: 3px; }
  .m-lang a { font-size: 0.78rem; font-weight: 600; padding: 5px 9px; border-radius: 999px; color: var(--sage-200); text-decoration: none; line-height: 1.2; }
  .m-lang a[aria-current="true"] { background: #fff; color: var(--sage-900); }
  .m-join { background: var(--amber-400); color: var(--sage-950); font-weight: 700; font-size: 0.88rem; padding: 7px 14px; border-radius: 999px; text-decoration: none; line-height: 1.2; }

  /* Bottom tab bar */
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -6px 18px rgb(26 33 28 / 0.06); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--zinc-600); font-size: 0.68rem; font-weight: 600; padding: 2px 0; min-width: 0; }
  .tabbar a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .tabbar .ico { width: 22px; height: 22px; padding: 4px 16px; border-radius: 999px; box-sizing: content-box; }
  .tabbar a[aria-current="page"] { color: #000; }
  .tabbar a[aria-current="page"] .ico { background: var(--amber-400); color: #000; stroke-width: 2.2; }

  /* Heroes: short and to the point */
  .hero, .hero-sub { padding-block: 22px 26px; }
  .hero .eyebrow, .chips, .hero-sub .badge, .hero .stats { display: none; }
  .hero h1, .hero-sub h1 { font-size: 1.7rem; margin-top: 0; line-height: 1.2; }
  .hero .lede { font-size: 0.98rem; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-actions { margin-top: 16px; }
  .hero-actions .btn-ghost { display: none; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; padding-block: 14px; font-size: 1rem; }
  .partner-head { margin-bottom: 12px; }

  /* Home: the five links become app tiles */
  .chain { margin-top: 20px; }
  .chain-label, .chain-out { display: none; }
  .links { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .link, .link:first-child, .link:last-child { margin: 0 !important; border: 0; border-radius: 16px !important; display: flex !important; flex-direction: column; align-items: flex-start; padding: 16px !important; min-height: 116px; background: #fff; color: var(--sage-950); }
  .link.open, .link.open:hover { background: #fff; }
  .link:active { transform: scale(0.98); }
  .link .num, .link p, .link.open .tag { display: none; }
  .link .ico { display: block; width: 26px; height: 26px; padding: 10px; border-radius: 14px; box-sizing: content-box; background: var(--sage-100); color: var(--sage-800); }
  .link h3 { margin-top: 12px; font-size: 1rem; }
  .link:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; min-height: 0; background: var(--sage-800); color: #fff; }
  .link:last-child .ico { background: var(--sage-700); color: var(--sage-100); padding: 8px; }
  .link:last-child h3 { margin: 0; }
  .link:not(.open) .tag { position: static; margin-left: auto; }

  /* Sections: tighter */
  .band { padding-block: 32px; }
  .section-head { margin-bottom: 18px; gap: 8px; }
  .section-head h2 { font-size: 1.4rem; }
  .section-head p { font-size: 0.95rem; }
  .final .wrap { padding-block: 28px; }
  .final h2 { font-size: 1.35rem; }
  .final .btn { width: 100%; justify-content: center; }

  /* Partner cards and banners: name + action only */
  .founders { gap: 10px; }
  .founder p, .feature-text span:not(.founder-role) { display: none; }
  .feature-strip { padding-top: 16px; }
  .feature .btn { width: 100%; justify-content: center; }

  /* Catalogue: swipeable filter chips */
  .filters { padding: 14px; gap: 12px; border-radius: 16px; }
  .filters .field { max-width: none; }
  .fgroup .label { font-size: 0.78rem; }
  .fchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -14px; padding-inline: 14px; -webkit-overflow-scrolling: touch; }
  .fchips::-webkit-scrollbar { display: none; }
  .fchip { flex: none; padding: 8px 13px; }
  .brochure { padding: 14px; }
  .brochure p { display: none; }
  .brochure .btn { width: 100%; justify-content: center; }
  .prow { border-radius: 16px; }
  .prow dl, .prow .ptags { display: none; }

  /* Example worker profiles: swipe sideways */
  .wgrid { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .wgrid::-webkit-scrollbar { display: none; }
  .wcard { flex: 0 0 86%; scroll-snap-align: center; }

  /* Join: heading, then the form */
  .join-aside p:not(.eyebrow) { display: none; }
  .join-grid { gap: 14px; }
  form.jform { padding: 18px; border-radius: 16px; }
  .jform input, .jform select, .jform textarea { font-size: 16px; } /* no iOS zoom on focus */
  #submitBtn { width: 100%; justify-content: center; padding-block: 15px; font-size: 1rem; }

  /* Footer: one line */
  footer .wrap { padding-block: 20px; gap: 12px; }
  footer .wrap > div { display: none; }
}

/* ===================================================================
   Minimal layout (2026-11-06): short lists, swipeable category rows
   =================================================================== */
.ticks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ticks li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.3; display: grid; gap: 12px; align-content: start; }
.ticks li::before { content: ""; width: 30px; height: 30px; border-radius: 50%; background: var(--amber-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23040912' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.band.alt .ticks li { background: #fff; }
@media (max-width: 860px) { .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 14px; align-content: start; padding: 18px; border: 0; border-radius: 16px; background: var(--sage-700); color: #fff; }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--amber-400); color: var(--sage-950); display: grid; place-items: center; font-family: "Gabarito", sans-serif; font-weight: 700; }
.steps strong { font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.groups div { gap: 10px; }

/* Swipeable rows */
.rail-sec + .rail-sec { margin-top: 28px; }
.rail-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.rail-head h3 { font-size: 1.2rem; }
.rail-n { font-size: 0.8rem; font-weight: 700; color: var(--sage-600); background: var(--sage-100); padding: 1px 9px; border-radius: 999px; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin-inline: -20px; padding: 2px 20px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 240px; scroll-snap-align: start; }
.rail > .tcard { flex-basis: 280px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 8px; align-content: start; grid-template-rows: auto auto 1fr auto; min-width: 0; }
.tile .pimg { aspect-ratio: 4 / 3; background: var(--zinc-50); border-radius: 12px; padding: 8px; }
.tile h3 { font-size: 1rem; font-family: "Gabarito", var(--display); }
.tile p:not(.plinks) { color: var(--muted); font-size: 0.86rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile[hidden] { display: none !important; }
.catbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.catbar input { flex: 1 1 260px; border-radius: 999px; padding: 12px 18px; }
.catbar .btn { border-radius: 999px; }

@media (max-width: 720px) {
  /* Lists become one swipeable row each */
  .ticks, .steps, .groups, .founders, .prog-grid, .ladder.path { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: -20px; padding: 2px 20px 8px; scrollbar-width: none; }
  .ticks::-webkit-scrollbar, .steps::-webkit-scrollbar, .groups::-webkit-scrollbar, .founders::-webkit-scrollbar, .prog-grid::-webkit-scrollbar, .ladder.path::-webkit-scrollbar { display: none; }
  .ticks > *, .steps > *, .groups > *, .ladder.path > * { flex: 0 0 62%; scroll-snap-align: start; }
  .founders > *, .prog-grid > * { flex: 0 0 84%; scroll-snap-align: start; }
  .ticks li, .steps li { padding: 16px; font-size: 0.98rem; }
  .rail > * { flex-basis: 64%; }
  .rail > .tcard { flex-basis: 78%; }
  .rail-head h3 { font-size: 1.08rem; }
  .rail-sec + .rail-sec { margin-top: 20px; }
  .catbar { margin-bottom: 18px; }
  .catbar .btn { width: 100%; }
  .apel h2 { font-size: 1.3rem; }
}

/* ===================================================================
   Motion. html.anim is set early by splash.js (skipped for reduced motion).
   app.js tags off-screen blocks with .rv and adds .in as they scroll into view.
   =================================================================== */
@view-transition { navigation: auto; }
.site-head { view-transition-name: site-head; }
.tabbar { view-transition-name: tabbar; }
::view-transition-old(root) { animation: vt-out 0.18s ease both; }
::view-transition-new(root) { animation: vt-in 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

.anim .rv { opacity: 0; transform: translateY(22px) scale(0.985); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.anim .rv.in { opacity: 1; transform: none; }

/* Hero: text rises in, lime glow drifts behind */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero::before { width: 560px; height: 560px; right: -160px; top: -220px; background: radial-gradient(circle, rgb(57 255 20 / 0.18), transparent 62%); animation: glow 14s ease-in-out infinite alternate; }
.hero::after { width: 420px; height: 420px; left: -180px; bottom: -240px; background: radial-gradient(circle, rgb(57 255 20 / 0.08), transparent 65%); animation: glow 18s ease-in-out infinite alternate-reverse; }
@keyframes glow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 50px) scale(1.15); } }
.anim .hero .wrap > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.anim .hero .wrap > :nth-child(2) { animation-delay: 0.08s; }
.anim .hero .wrap > :nth-child(3) { animation-delay: 0.16s; }
.anim .hero .wrap > :nth-child(4) { animation-delay: 0.24s; }
.anim .hero .wrap > :nth-child(5) { animation-delay: 0.32s; }
.anim .links > li { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.anim .links > li:nth-child(1) { animation-delay: 0.3s; }
.anim .links > li:nth-child(2) { animation-delay: 0.36s; }
.anim .links > li:nth-child(3) { animation-delay: 0.42s; }
.anim .links > li:nth-child(4) { animation-delay: 0.48s; }
.anim .links > li:nth-child(5) { animation-delay: 0.54s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
html.splash-on .hero .wrap > *, html.splash-on .links > li { animation-play-state: paused; }

/* Touch and hover feedback */
.btn, .link, .card, .founder, .feature, .tile, .pcard, .prog, .wcard, .ticks li, .steps li, .m-join, .tabbar a, .fchip { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.btn:active, .m-join:active { transform: scale(0.96); }
.btn-amber { box-shadow: 0 6px 20px -8px rgb(57 255 20 / 0.55); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .link.open:hover, .founder:hover, .feature:hover, .tile:hover, .pcard:hover, .prog:hover, .wcard:hover, .ticks li:hover, .steps li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -14px rgb(4 9 18 / 0.35); }
}
.link:active, .founder:active, .feature:active, .tile:active, .ticks li:active, .steps li:active { transform: scale(0.97); }
.tabbar .ico { transition: background-color 0.25s ease, transform 0.3s cubic-bezier(0.3, 1.5, 0.5, 1); }
.tabbar a:active .ico { transform: scale(0.88); }
.tabbar a[aria-current="page"] .ico { animation: pop 0.4s cubic-bezier(0.3, 1.5, 0.5, 1); }
@keyframes pop { from { transform: scale(0.7); } }
.more::after { display: inline-block; transition: transform 0.25s ease; }
.founder:hover .more::after, .card:hover .more::after { transform: translateX(4px); }
.done { animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .anim .hero .wrap > *, .anim .links > li, .tabbar a[aria-current="page"] .ico, .done { animation: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
.tile .pimg { aspect-ratio: auto; height: 150px; display: grid; place-items: center; }
.tile .pimg img { width: 100%; height: 100%; object-fit: contain; }
.tile { grid-template-rows: auto; }
@media (max-width: 720px) {
  .ticks, .steps, .groups, .founders, .prog-grid, .ladder.path, .wgrid, .rail { scroll-padding-inline: 20px; }
  .rail > .tile { flex-basis: 44%; padding: 10px; border-radius: 14px; }
  .tile .pimg { height: 110px; padding: 6px; }
  .tile h3 { font-size: 0.9rem; line-height: 1.25; }
  .tile p:not(.plinks) { display: none; }
  .tile .plinks { gap: 2px 10px; }
  .tile .plink { font-size: 0.78rem; }
}
.tile .pimg { display: block; overflow: hidden; }
.tile .pimg img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ===================================================================
   Black background everywhere (2026-11-06). Overrides the light surfaces above.
   Product pictures and partner logos keep a white/light plate so they read correctly.
   =================================================================== */
:root { color-scheme: dark; --bg: #000; --fg: #f5f5f5; --muted: #a3a3a3; --line: #242424; --surface: #111111; --surface-2: #1a1a1a; }
body { background: var(--bg); color: var(--fg); }
.site-head { background: rgb(0 0 0 / 0.82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid #161616; }
.hero, .final, .apel { background: #000; }
.band.alt { background: #070707; }
.band.warm { background: #000; border-top: 1px solid #161616; }
.band.dark { background: #000; }
.eyebrow, .founder-role, .prog-level, .roadmap .when, .groups .eyebrow { color: var(--amber-400); }
.skip:focus { background: #111; }

.card, .founder, .feature, .tile, .pcard, .prog, .wcard, .ticks li, .band.alt .ticks li, .getapp-card, form.jform, .kit, .faq details, .done, .empty-note, .brochure, .ladder li, .steps li, .groups div {
  background: var(--surface); border: 1px solid var(--line); color: var(--fg);
}
.founder-logo { border-color: transparent; }
.tile .pimg, .pimg { background: #fff; }
.ladder li::before { color: #fff; }
.ladder li:nth-child(4), .ladder li { border-top-width: 1px; }

.btn-dark, .getapp-card .btn { background: #fff; color: #000; }
.btn-dark:hover { background: var(--amber-400); color: #000; }
.btn-ghost { border-color: #444; }
.plink, .linkbtn, .card .more, .founder .more, .feature .more, .verified, .kit a { color: var(--amber-400); }
.kit a { color: var(--fg); }
.cert-strip b { color: #fff; border-color: #444; }
.rail-n { background: var(--surface-2); color: #cfcfcf; }
.pill, .ptags span, .ptags span.step { background: var(--surface-2); color: #d4d4d4; }
.ptags span.brand { background: #262626; color: #fff; }
.pill-cert, .ptags span.ex { background: rgb(57 255 20 / 0.1); color: var(--amber-400); border-color: rgb(57 255 20 / 0.5); }
.ex-badge { background: transparent; color: var(--amber-400); border-color: rgb(57 255 20 / 0.6); }
.avatar { background: #262626; color: #fff; }
.wstats, .wstats span + span { border-color: var(--line); }
.getapp-help { background: var(--surface-2); }

/* Form */
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=search], select, textarea { background: #0a0a0a; border-color: #333; color: var(--fg); }
input::placeholder, textarea::placeholder { color: #6b6b6b; }
input:focus, select:focus, textarea:focus, input[type=search]:focus { border-color: var(--amber-400); box-shadow: 0 0 0 3px rgb(57 255 20 / 0.18); }
.types label, .checks label { background: #0a0a0a; border-color: #333; }
.types label:hover { border-color: #555; }
.types label:has(input:checked) { border-color: var(--amber-400); background: rgb(57 255 20 / 0.07); box-shadow: inset 0 0 0 1px var(--amber-400); }
.checks label:has(input:checked) { background: rgb(57 255 20 / 0.12); border-color: var(--amber-400); }
.checks input, .consent input { accent-color: var(--amber-400); }
.error { color: #ff7a7a; }
.done .ref { background: #000; border-color: #333; }

/* Hover lift: neon edge instead of a dark shadow */
@media (hover: hover) {
  .link.open:hover, .founder:hover, .feature:hover, .tile:hover, .pcard:hover, .prog:hover, .wcard:hover, .ticks li:hover, .steps li:hover { border-color: #3a3a3a; box-shadow: 0 16px 34px -18px rgb(57 255 20 / 0.35); }
}

@media (max-width: 720px) {
  .link, .link:first-child, .link:last-child { background: var(--surface); color: #fff; border: 1px solid var(--line); }
  .link.open, .link.open:hover { background: var(--surface); }
  .link .ico { background: rgb(57 255 20 / 0.12); color: var(--amber-400); }
  .link:last-child { background: #0a0a0a; }
  .link:last-child .ico { background: var(--surface-2); color: #aaa; }
  .tabbar { background: rgb(10 10 10 / 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top-color: #1c1c1c; box-shadow: none; }
  .tabbar a { color: #8a8a8a; }
  .tabbar a[aria-current="page"] { color: #fff; }
}
@media (max-width: 720px) {
  .link.open, .link.open:hover { color: #fff; border-color: var(--line); }
}

/* ===================================================================
   2026-11-06 (b): glass cards, join pop-up, collapsible lists, tap effects
   =================================================================== */
/* Home: four live links only */
.links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.link:last-child { border-radius: 0 14px 14px 0; }
@media (max-width: 720px) {
  .link:last-child { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 0; min-height: 116px; background: var(--glass); }
  .link:last-child .ico { background: rgb(57 255 20 / 0.12); color: var(--amber-400); padding: 10px; }
  .link:last-child h3 { margin-top: 12px; }
}

/* Glass: a soft neon glow behind the page, cards slightly see-through */
:root { --glass: rgb(255 255 255 / 0.05); --glass-line: rgb(255 255 255 / 0.1); }
html { background: #000; }
body { background: transparent; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(700px 520px at 92% 8%, rgb(57 255 20 / 0.11), transparent 70%),
              radial-gradient(620px 620px at -10% 62%, rgb(57 255 20 / 0.07), transparent 70%),
              radial-gradient(520px 420px at 60% 110%, rgb(255 255 255 / 0.05), transparent 70%), #000; }
.hero, .final, .apel, .band.alt, .band.warm, .band.dark { background: transparent; }
.band.alt { background: rgb(255 255 255 / 0.015); }
.card, .founder, .feature, .tile, .pcard, .prog, .wcard, .ticks li, .band.alt .ticks li, .getapp-card, form.jform, .kit, .done, .empty-note, .ladder li, .steps li, .groups div, .fold {
  background: var(--glass); border-color: var(--glass-line);
}
.founder, .feature, .getapp-card, .wcard, .prog, .ticks li, .steps li, .groups div, .kit, .fold, form.jform {
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.steps li { background: linear-gradient(160deg, rgb(57 255 20 / 0.10), rgb(255 255 255 / 0.03)); }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=search], select, textarea, .types label, .checks label { background: rgb(255 255 255 / 0.04); border-color: rgb(255 255 255 / 0.14); }
select option { background: #111; }
@media (max-width: 720px) {
  .link, .link:first-child, .link:last-child, .link.open, .link.open:hover { background: var(--glass); border-color: var(--glass-line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .tabbar { background: rgb(0 0 0 / 0.6); }
}

/* Collapsible blocks */
.fold { border: 1px solid var(--glass-line); border-radius: 18px; }
.fold + .fold, .rail-sec + .rail-sec { margin-top: 10px; }
.fold-h { margin: 0; font-size: inherit; }
.fold-head { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 10px; padding: 16px 18px; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--fg); position: relative; overflow: hidden; border-radius: 18px; }
.fold-big .fold-head { font-size: 1.3rem; padding-block: 20px; }
.fold-head:focus-visible { outline: 3px solid var(--amber-400); outline-offset: -3px; }
.fold-t { flex: 0 1 auto; }
.chev { margin-left: auto; flex: none; transition: transform 0.4s cubic-bezier(0.3, 1.4, 0.5, 1); color: var(--amber-400); }
.open > .fold-h .chev, .open > .more-btn .chev { transform: rotate(180deg); }
.collapse { display: grid; grid-template-rows: 1fr; }
.js .collapse { grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .open > .collapse { grid-template-rows: 1fr; }
.collapse-in { min-height: 0; overflow: hidden; }
.fold .collapse-in { padding: 0 18px; }
.js .fold .collapse-in { transition: padding 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); padding-block: 0; }
.fold.open .collapse-in { padding-bottom: 16px; }
.fold .rail { margin-inline: -18px; padding-inline: 18px; scroll-padding-inline: 18px; }
.fold .kit { background: transparent; border: 0; padding: 0; backdrop-filter: none; }
.fold.open .rail > * { animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.fold.open .rail > :nth-child(2) { animation-delay: 0.05s; } .fold.open .rail > :nth-child(3) { animation-delay: 0.1s; }
.fold.open .rail > :nth-child(4) { animation-delay: 0.15s; } .fold.open .rail > :nth-child(5) { animation-delay: 0.2s; }
.rail-sec[hidden] { display: none; }
.more-btn { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--amber-400); padding: 6px 12px; border-radius: 999px; background: rgb(57 255 20 / 0.08); border: 1px solid rgb(57 255 20 / 0.25); position: relative; overflow: hidden; justify-self: start; width: fit-content; }
.more-btn:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 2px; }
.more-btn .chev { margin-left: 0; width: 16px; height: 16px; }
.more-btn + .collapse > .collapse-in { display: grid; gap: 10px; }
.open > .more-btn + .collapse > .collapse-in { padding-top: 4px; }

/* Join pop-up: bottom sheet on phones, centred card on larger screens */
html:has(dialog.sheet[open]) { overflow: hidden; }
.sheet { border: 1px solid var(--glass-line); padding: 0; color: var(--fg); background: rgb(14 14 14 / 0.86); -webkit-backdrop-filter: blur(28px) saturate(150%); backdrop-filter: blur(28px) saturate(150%);
  width: min(640px, calc(100vw - 32px)); max-height: min(88vh, 900px); border-radius: 24px; overflow: hidden; display: none; flex-direction: column; box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(57 255 20 / 0.06); }
.sheet[open] { display: flex; animation: sheet-in 0.42s cubic-bezier(0.2, 0.9, 0.25, 1.05) both; }
.sheet.closing { animation: sheet-out 0.28s ease-in both; }
.sheet.dragging { transition: none; animation: none; }
.sheet::backdrop { background: rgb(0 0 0 / 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in 0.3s ease both; }
.sheet.closing::backdrop { animation: fade-out 0.28s ease both; }
.sheet-top { padding: 10px 20px 6px; touch-action: none; cursor: grab; }
.sheet-grab { display: block; width: 44px; height: 5px; border-radius: 99px; background: rgb(255 255 255 / 0.25); margin: 0 auto 8px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head h2 { font-size: 1.35rem; }
.sheet-x { all: unset; cursor: pointer; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / 0.08); transition: transform 0.3s cubic-bezier(0.3, 1.5, 0.5, 1), background-color 0.2s; }
.sheet-x:hover { background: rgb(255 255 255 / 0.16); transform: rotate(90deg); }
.sheet-x:focus-visible { outline: 3px solid var(--amber-400); }
.sheet-body { overflow-y: auto; padding: 8px 20px calc(20px + env(safe-area-inset-bottom, 0px)); overscroll-behavior: contain; }
.sheet form.jform { background: transparent; border: 0; padding: 0; backdrop-filter: none; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(40px) scale(0.97); } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(40px) scale(0.97); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@media (max-width: 720px) {
  .sheet { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 26px 26px 0 0; border-bottom: 0; }
  .sheet[open] { animation: sheet-up 0.45s cubic-bezier(0.2, 0.9, 0.25, 1) both; }
  .sheet.closing { animation: sheet-down 0.28s ease-in both; }
  @keyframes sheet-up { from { transform: translateY(100%); } }
  @keyframes sheet-down { to { transform: translateY(100%); } }
}

/* Tap ripple */
.btn, .link, .founder, .feature, .tile, .ticks li, .steps li, .tabbar a, .m-join, .types label, .checks label, .wcard, .prog, .getapp-card { position: relative; overflow: hidden; }
.link-a { position: static; }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgb(57 255 20 / 0.35), rgb(57 255 20 / 0) 60%); transform: scale(0); animation: ripple 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; z-index: 0; }
.btn-amber .ripple, .m-join .ripple, .types label:has(input:checked) .ripple { background: radial-gradient(circle, rgb(255 255 255 / 0.55), rgb(255 255 255 / 0) 60%); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
/* Springy press */
.btn:active, .m-join:active, .tile:active, .link:active, .ticks li:active, .steps li:active, .founder:active, .feature:active, .types label:active, .checks label:active { transform: scale(0.95); transition-duration: 0.08s; }
.types label, .checks label { transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1), background-color 0.2s, border-color 0.2s; }
.checks label:has(input:checked), .types label:has(input:checked) { animation: pop 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }

/* Success tick */
.tick svg { display: block; fill: none; stroke: var(--amber-400); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.tick circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.6s 0.1s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.tick path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.4s 0.6s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.tick { animation: pop 0.5s 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .sheet[open], .sheet.closing, .sheet::backdrop, .fold.open .rail > *, .ripple, .tick, .tick circle, .tick path, .checks label:has(input:checked), .types label:has(input:checked) { animation: none !important; }
  .tick circle, .tick path { stroke-dashoffset: 0; }
}

/* ===================================================================
   Dropdowns everywhere (2026-11-06 c): form multi-picks and language
   =================================================================== */
/* Native selects: custom chevron */
select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339ff14' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }

/* Multi-pick dropdown */
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; font-size: 1rem; padding: 10px 40px 10px 12px; border-radius: 8px; border: 1.5px solid rgb(255 255 255 / 0.14); background: rgb(255 255 255 / 0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339ff14' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; color: #6b6b6b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color 0.2s; }
.dd summary::-webkit-details-marker { display: none; }
.dd.has summary { color: var(--fg); }
.dd[open] summary { border-color: var(--amber-400); box-shadow: 0 0 0 3px rgb(57 255 20 / 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339ff14' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E"); }
.dd summary:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 2px; }
.dd-menu { margin-top: 6px; display: grid; gap: 2px; padding: 6px; border-radius: 12px; border: 1px solid var(--glass-line); background: rgb(20 20 20 / 0.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.dd[open] .dd-menu { animation: drop 0.28s cubic-bezier(0.2, 0.9, 0.25, 1.05) both; }
.dd-menu label { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; cursor: pointer; font-size: 0.98rem; position: relative; overflow: hidden; transition: background-color 0.15s; }
.dd-menu label:hover { background: rgb(255 255 255 / 0.06); }
.dd-menu label:has(input:checked) { background: rgb(57 255 20 / 0.1); color: var(--amber-400); }
.dd-menu input { width: 18px; height: 18px; margin: 0; accent-color: var(--amber-400); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }

/* Language dropdown (header) */
.langdd { position: relative; }
.langdd summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: #fff; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.12); line-height: 1.2; }
.langdd summary::-webkit-details-marker { display: none; }
.langdd summary::after { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1); }
.langdd[open] summary::after { transform: rotate(180deg); }
.langdd-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; display: grid; padding: 6px; border-radius: 14px; border: 1px solid var(--glass-line); background: rgb(20 20 20 / 0.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.8); z-index: 40; animation: drop 0.25s cubic-bezier(0.2, 0.9, 0.25, 1.05) both; }
.langdd-menu a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--fg); font-size: 0.95rem; }
.langdd-menu a:hover { background: rgb(255 255 255 / 0.07); }
.langdd-menu a[aria-current="true"] { color: var(--amber-400); background: rgb(57 255 20 / 0.08); }
.d-lang { margin-left: 10px; }
.m-lang { display: none; background: none; padding: 0; }
@media (max-width: 980px) { .nav .d-lang { margin: 10px 0 0; } .nav .d-lang .langdd-menu { position: static; margin-top: 6px; } }
@media (max-width: 720px) { .m-lang { display: block; background: none; padding: 0; border-radius: 0; } }
@media (prefers-reduced-motion: reduce) { .dd[open] .dd-menu, .langdd-menu { animation: none; } }
.checks:has(> .dd) { display: block; }
.dd summary { width: 100%; }
.dd-menu label, .dd-menu label:hover { border: 0; border-radius: 8px; background: transparent; }
.dd-menu label:hover { background: rgb(255 255 255 / 0.06); }
.dd-menu label:has(input:checked) { background: rgb(57 255 20 / 0.1); border: 0; animation: none; }

/* Swipe rows move sideways only: no vertical wobble inside the row */
.rail, .fold .rail { overflow-y: hidden; overscroll-behavior: contain; touch-action: pan-x pan-y; }
@media (max-width: 720px) {
  .ticks, .steps, .groups, .founders, .prog-grid, .ladder.path, .wgrid { overflow-y: hidden !important; overscroll-behavior: contain; touch-action: pan-x pan-y; padding-block: 0 !important; }
}
/* Cards inside a row don't lift on hover (they'd be clipped); they still press in */
@media (hover: hover) {
  .rail > *:hover, .ticks > li:hover, .steps > li:hover, .groups > div:hover, .founders > *:hover, .prog-grid > *:hover, .wgrid > *:hover { transform: none; }
}
/* Cards inside a row slide in sideways, never vertically */
@keyframes slide-in { from { opacity: 0; transform: translateX(24px); } }
.fold.open .rail > * { animation-name: slide-in; }

/* ===================================================================
   2026-11-06 (d): speed, wordmark dot, startup "dot unfolds into brand"
   =================================================================== */
/* Speed: blur only on the header, tab bar and pop-up; no page fade between pages;
   quicker entrances; hero glow stays still on phones. */
.card, .founder, .feature, .tile, .pcard, .prog, .wcard, .ticks li, .steps li, .groups div, .kit, .fold, form.jform, .getapp-card, .link, .link:first-child, .link:last-child, .link.open {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.card, .founder, .feature, .prog, .wcard, .ticks li, .groups div, .kit, .fold, form.jform, .getapp-card { background: rgb(255 255 255 / 0.055); }
@view-transition { navigation: none; }
.anim .rv { transition-duration: 0.45s, 0.5s; }
.anim .hero .wrap > * { animation-duration: 0.5s; }
.anim .links > li { animation-duration: 0.45s; }
.anim .links > li:nth-child(1) { animation-delay: 0.12s; } .anim .links > li:nth-child(2) { animation-delay: 0.16s; }
.anim .links > li:nth-child(3) { animation-delay: 0.2s; } .anim .links > li:nth-child(4) { animation-delay: 0.24s; }
@media (max-width: 720px) {
  .hero::before, .hero::after { animation: none; }
  .site-head { background: rgb(0 0 0 / 0.94); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tabbar { background: rgb(8 8 8 / 0.96); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Wordmark: Jagaman + neon dot */
.ldot { display: inline-block; width: 0.22em; height: 0.22em; margin-left: 0.06em; border-radius: 50%; background: var(--amber-400); box-shadow: 0 0 10px rgb(57 255 20 / 0.6); }


.sglow { position: absolute; left: 50%; top: 50%; margin: -260px 0 0 -260px; }

/* ===================================================================
   Home = partner directory (2026-11-06 e): partners grouped by section
   =================================================================== */
.hero h1 { max-width: 20ch; }
.dir-sec + .dir-sec { margin-top: 30px; }
.dir-h { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-400); margin-bottom: 12px; }
html[lang="zh-Hans"] .dir-h { letter-spacing: 0.05em; font-size: 0.9rem; }
.dir-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.dcard { display: grid; gap: 6px; align-content: start; padding: 14px; border-radius: 18px; border: 1px solid var(--glass-line); background: rgb(255 255 255 / 0.055); color: var(--fg); text-decoration: none; position: relative; overflow: hidden; transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.2s, box-shadow 0.25s; }
.dlogo { display: grid; place-items: center; height: 120px; background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 6px; }
.dlogo img { max-height: 96px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.dlogo .nippon-logo { height: 44px; }
.dname { font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.drole { font-size: 0.85rem; color: var(--muted); }
a.dcard .dname::after { content: " →"; color: var(--amber-400); display: inline-block; transition: transform 0.25s; }
@media (hover: hover) { a.dcard:hover { border-color: #3a3a3a; box-shadow: 0 16px 34px -18px rgb(57 255 20 / 0.35); } a.dcard:hover .dname::after { transform: translateX(4px); } }
.dcard:active { transform: scale(0.97); }
@media (max-width: 720px) {
  .dir-row { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin-inline: -20px; padding: 0 20px; scrollbar-width: none; overscroll-behavior: contain; }
  .dir-row::-webkit-scrollbar { display: none; }
  .dcard { flex: 0 0 72%; scroll-snap-align: start; }
  .dlogo { height: 104px; }
  .dir-sec + .dir-sec { margin-top: 22px; }
}
.dlogo { grid-template-rows: minmax(0, 1fr); overflow: hidden; }
.dlogo img { height: 100%; max-height: 100%; width: auto; max-width: 100%; }
.dlogo .nippon-logo { height: 44px; }
@media (min-width: 900px) {
  .dir { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 20px; align-items: start; }
  .dir-sec + .dir-sec { margin-top: 0; }
  .dir-sec[data-n="2"] .dir-row { grid-template-columns: 1fr 1fr; }
  .dir-row { grid-template-columns: 1fr; }
}
a.dcard .dname.ext::after { content: " ↗"; }
