:root {
  --bg: #f3f4f8;
  --surface: #ffffff;
  --tint: #e8eaf6;
  --ink: #12152b;
  --ink-soft: #4b5068;
  --ink-mute: #7d819a;
  --line: #e3e5ef;
  --brand: #0b2a8c;
  --brand-hover: #091f6b;
  --brand-soft: #e8ecfb;
  --green: #1f8f45;
  --green-soft: #e4f4ea;
  --amber: #b45f06;
  --red: #c0233a;
  --shadow: 0 2px 4px rgba(18,21,43,.04), 0 10px 30px rgba(18,21,43,.06);
  --radius: 20px;
  --maxw: 1160px;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font: 600 .95rem var(--sans);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: var(--surface); color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-sm { padding: 9px 20px; font-size: .9rem; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* Navbar: floating white bar like the app header */
.nav-wrap { position: sticky; top: 0; z-index: 50; padding: 12px 0; }
.nav {
  background: var(--surface); border-radius: 999px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 12px 0 26px; position: relative;
}
.brand img { height: 50px; width: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: .92rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: var(--bg); border: 0; border-radius: 50%; width: 42px; height: 42px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px; font-size: .83rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 20px;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
h1, h2, h3 { font-weight: 700; line-height: 1.18; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 18px; }
h1 span { color: var(--brand); }
.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-note { display: flex; gap: 22px; flex-wrap: wrap; font-size: .88rem; color: var(--ink-soft); font-weight: 500; }
.hero-note span { display: flex; align-items: center; gap: 7px; }
.hero-note svg { color: var(--green); }

/* Match illustration */
.match { display: grid; gap: 0; }
.mcard { background: var(--surface); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.mcard .label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.person { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.person b { display: block; font-size: .98rem; line-height: 1.2; }
.person small { color: var(--ink-mute); font-size: .82rem; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.chip { background: var(--brand-soft); color: var(--ink-soft); border: 1px solid #d5daf0; border-radius: 999px; padding: 2px 11px; font-size: .78rem; font-weight: 500; }
.mrow { display: flex; justify-content: space-between; margin-top: 12px; font-size: .85rem; color: var(--ink-soft); padding-top: 12px; border-top: 1px solid var(--line); }
.status-ok { color: var(--green); font-weight: 700; }
.status-wait { color: var(--amber); font-weight: 700; }
.link-line { height: 38px; position: relative; margin: 0 auto; width: 2px; background: repeating-linear-gradient(to bottom, var(--brand) 0 5px, transparent 5px 9px); }
.link-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  background: var(--green-soft); color: var(--green); font-size: .78rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; border: 1px solid #bfe3cc;
}
.mcard.offset { margin-left: 36px; }
.mcard.offset-l { margin-right: 36px; }

/* Sections */
section { padding: 88px 0; }
.band { background: var(--surface); }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--green); margin-bottom: 10px; letter-spacing: .02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.03rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.band .card { background: var(--bg); box-shadow: none; }
.icon { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.icon.g { background: var(--green-soft); color: var(--green); }
.card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: .94rem; }

/* What we do */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split p.copy { color: var(--ink-soft); font-size: 1.03rem; }
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.checklist li { display: flex; gap: 12px; color: var(--ink-soft); }
.checklist svg { flex: none; color: var(--green); margin-top: 3px; }
.not-box { margin-top: 24px; padding: 16px 20px; border-radius: 16px; background: var(--tint); color: var(--ink-soft); font-size: .93rem; }
.subjects { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.subject { background: var(--bg); border-radius: 18px; padding: 20px; }
.subject .icon { margin-bottom: 12px; }
.subject b { display: block; }
.subject small { color: var(--ink-mute); font-size: .83rem; }

/* Tabs-style role switch look + steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step .num { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: .92rem; }

.role .tag { display: inline-block; background: var(--brand-soft); color: var(--brand); font-size: .76rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin-bottom: 14px; }
.role ul { list-style: none; display: grid; gap: 9px; margin-top: 14px; }
.role li { color: var(--ink-soft); font-size: .93rem; display: flex; gap: 10px; }
.role li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.2 2.2 4.6-4.8' stroke='%231f8f45' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Safety */
.safety-box { background: var(--tint); border-radius: 28px; padding: 56px 40px; }
.safety-box .card { box-shadow: none; }
.safety-links { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 18px; padding: 18px 24px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--ink-soft); font-size: .95rem; }

/* CTA */
.cta-box { background: var(--brand); color: #fff; border-radius: 28px; padding: 56px 32px; text-align: center; }
.cta-box h2 { color: #fff; }
.cta-box p { color: #cdd6f5; max-width: 500px; margin: 0 auto 26px; }
.cta-box .btn-primary { background: #fff; color: var(--brand); }
.cta-box .btn-primary:hover { background: var(--brand-soft); }

.contact-card { display: flex; align-items: center; gap: 16px; }
.contact-card a { font-weight: 600; font-size: 1.05rem; }

/* Footer */
footer { background: var(--surface); padding: 60px 0 28px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
footer .brand img { height: 42px; margin-bottom: 14px; }
footer p { font-size: .9rem; color: var(--ink-soft); max-width: 310px; }
footer h4 { font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 9px; }
footer li a { color: var(--ink-soft); text-decoration: none; font-size: .91rem; }
footer li a:hover { color: var(--brand); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .83rem; color: var(--ink-mute); }

/* Policy pages */
.page-hero { padding: 40px 0 8px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 8px; }
.page-hero p { color: var(--ink-soft); max-width: 640px; }
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 32px 0 80px; align-items: start; }
.toc { position: sticky; top: 100px; background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); font-size: .9rem; }
.toc h4 { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.toc ul { list-style: none; display: grid; gap: 8px; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--brand); }
.doc { background: var(--surface); border-radius: var(--radius); padding: 40px 44px; box-shadow: var(--shadow); max-width: 860px; }
.doc h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.doc h2:first-of-type { margin-top: 8px; }
.doc h3 { font-size: 1.05rem; margin: 20px 0 6px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc p { margin-bottom: 12px; }
.doc ul, .doc ol { margin: 0 0 14px 22px; display: grid; gap: 6px; }
.notice { padding: 16px 20px; background: var(--brand-soft); border-radius: 14px; margin-bottom: 24px; color: var(--ink); font-size: .94rem; }
.notice.urgent { background: #fdecee; }
.policy-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.policy-index a.card { text-decoration: none; color: inherit; display: block; transition: transform .2s; }
.policy-index a.card:hover { transform: translateY(-2px); }
.policy-index a.card h3 { color: var(--brand); }

/* Motion */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--green)); z-index: 100; }
.nav { transition: box-shadow .3s; }
.nav.scrolled { box-shadow: 0 6px 30px rgba(18,21,43,.12); }

.reveal, .reveal-l, .reveal-r, .reveal-scale {
  opacity: 0; transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--d, 0ms); will-change: transform, opacity;
}
.reveal { transform: translateY(28px); }
.reveal-l { transform: translateX(-40px); }
.reveal-r { transform: translateX(40px); }
.reveal-scale { transform: scale(.92); }
.in { opacity: 1 !important; transform: none !important; }

/* Hero load-in */
.rise, .rise-r { opacity: 0; animation: rise .9s cubic-bezier(.22,1,.36,1) forwards; animation-delay: var(--d, 0ms); }
.rise-r { animation-name: riseR; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes riseR { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
h1[data-words] .w { display: inline-block; opacity: 0; transform: translateY(.6em); animation: rise .8s cubic-bezier(.22,1,.36,1) forwards; animation-delay: calc(120ms + var(--i) * 55ms); }

.match { transition: transform .15s linear; }
.float-a { animation: rise .9s cubic-bezier(.22,1,.36,1) forwards, bob 6s ease-in-out 1.2s infinite; animation-delay: var(--d, 0ms), 1.2s; }
.float-b { animation: riseR .9s cubic-bezier(.22,1,.36,1) forwards, bob 7s ease-in-out 1.5s infinite reverse; animation-delay: var(--d, 0ms), 1.5s; }
.float-a { animation-name: riseR, bob; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.link-line { background: repeating-linear-gradient(to bottom, var(--brand) 0 5px, transparent 5px 9px); background-size: 2px 18px; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 0 18px; } }
.pill i { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,143,69,.5); } 70% { box-shadow: 0 0 0 8px rgba(31,143,69,0); } 100% { box-shadow: 0 0 0 0 rgba(31,143,69,0); } }

.btn { transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,42,140,.18); }
.card, .step, .subject { transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.card:hover, .step:hover { transform: translateY(-5px) !important; box-shadow: 0 14px 40px rgba(18,21,43,.12); }
.card:hover .icon { background: var(--brand); color: #fff; }
.card:hover .icon.g { background: var(--green); color: #fff; }
.icon { transition: background .3s, color .3s; }

/* Marquee */
.marquee { overflow: hidden; padding: 18px 0; background: var(--brand); }
.marquee-track { display: flex; width: max-content; gap: 14px; animation: scroll 40s linear infinite; }
.marquee span { color: #fff; font-weight: 600; font-size: .9rem; padding: 6px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Growth loop */
.loop { display: grid; grid-template-columns: 1fr 140px 1fr; gap: 0; align-items: stretch; margin-bottom: 40px; }
.loop-side { background: var(--bg); border-radius: 28px; padding: 32px; position: relative; overflow: hidden; min-height: 320px; }
.loop-side h3 { font-size: 1.3rem; margin: 14px 0 4px; }
.loop-side p { color: var(--ink-soft); font-size: .94rem; }
.avatar.big { width: 56px; height: 56px; font-size: 1.3rem; }
.bubbles { position: relative; height: 90px; margin-top: 16px; }
.bub { position: absolute; background: var(--surface); border: 1px solid #d5daf0; color: var(--brand); font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow); animation: drift 5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.2s); }
.bub:nth-child(1) { left: 0; top: 4px; } .bub:nth-child(2) { left: 46%; top: 0; } .bub:nth-child(3) { left: 8%; top: 52px; } .bub:nth-child(4) { left: 60%; top: 46px; }
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(10px,-10px); } }
.loop-mid { position: relative; min-height: 40px; }
.flow-line { position: absolute; inset: 50% 0 auto 0; height: 2px; background: repeating-linear-gradient(to right, var(--green) 0 6px, transparent 6px 12px); opacity: .6; }
.flow-line i { position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); animation: travel 2.4s linear infinite; }
.flow-line i:nth-child(2) { animation-delay: .8s; } .flow-line i:nth-child(3) { animation-delay: 1.6s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }
.flow-tag { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font-size: .72rem; font-weight: 700; color: var(--green); letter-spacing: .08em; text-transform: uppercase; }
.meters { display: grid; gap: 14px; margin-top: 20px; }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: .86rem; font-weight: 600; }
.meter em { font-style: normal; color: var(--green); font-size: .78rem; }
.bar { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.bar div { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--green)); transition: width 1.6s cubic-bezier(.22,1,.36,1) .3s; }
.in .bar div, .meters.in .bar div { width: var(--w); }
.eg { display: block; margin-top: 14px; color: var(--ink-mute); font-size: .75rem; }
.outcomes { margin-top: 8px; }

.footer-bottom a { color: var(--brand); font-weight: 600; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 960px) { .loop { grid-template-columns: 1fr; gap: 0; } .loop-mid { height: 70px; } .flow-line { inset: 0 auto 0 50%; width: 2px; height: auto; background: repeating-linear-gradient(to bottom, var(--green) 0 6px, transparent 6px 12px); } .flow-line i { left: -5px; top: 0; animation-name: travelY; } .flow-tag { top: 50%; left: calc(50% + 14px); transform: translateY(-50%); } .grid-2 { grid-template-columns: 1fr; } }
@keyframes travelY { 0% { top: 0; opacity: 0; } 15%,85% { opacity: 1; } 100% { top: calc(100% - 12px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-l, .reveal-r, .reveal-scale, .rise, .rise-r, h1[data-words] .w { opacity: 1 !important; transform: none !important; }
  .bar div { width: var(--w); }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .doc-layout { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toc { position: static; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 10px 24px 14px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; }
  .menu-toggle { display: grid; place-items: center; }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .hero { padding: 36px 0 56px; }
  .grid-3, .steps, .policy-index, .subjects { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { padding-left: 16px; }
  .brand img { height: 34px; }
  .safety-box { padding: 36px 22px; }
  .doc { padding: 26px 22px; }
  .mcard.offset { margin-left: 12px; } .mcard.offset-l { margin-right: 12px; }
}

/* ===== Launch update: bento, kanban, tabs ===== */
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 200; }
.skip:focus { left: 12px; }
.announce { background: var(--brand); color: #dfe5ff; text-align: center; font-size: .85rem; padding: 9px 16px; }
.announce a { color: #fff; font-weight: 700; text-decoration: none; margin-left: 6px; }
.announce a:hover { text-decoration: underline; }
.announce .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5ce08a; margin-right: 8px; animation: pulse 2s infinite; }
.tight { padding: 52px 0; }
.band.tight { padding: 72px 0; }
.kicker.light { color: #9fe3b8; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline:hover { border-color: #fff; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.t { grid-column: span 12; background: var(--surface); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; position: relative; transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.t:hover { box-shadow: 0 14px 40px rgba(18,21,43,.12); }
.s4 { grid-column: span 4; } .s5 { grid-column: span 5; } .s7 { grid-column: span 7; } .s12 { grid-column: span 12; } .r2 { grid-row: span 2; }
.t h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); color: inherit; }
.t h3 { font-size: 1.15rem; }
.tp { color: var(--ink-soft); font-size: .93rem; margin: 6px 0 18px; }
.tlabel { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.tlabel.light { color: #9aa6e0; }
.tsub { margin-top: auto; color: var(--ink-mute); font-size: .83rem; }
.tsub.light { color: #8f9bd6; }
.t-brand { background: var(--brand); color: #fff; justify-content: center; }
.t-brand p { color: #cdd6f5; margin: 14px 0 6px; max-width: 560px; }
.t-dark { background: #0e1330; color: #fff; }
.t-green { background: var(--green-soft); }
.bigline { font-size: 1.4rem; font-weight: 700; line-height: 1.25; margin: 14px 0; color: var(--ink); }

.ticks { list-style: none; display: grid; gap: 10px; margin: 20px 0; }
.ticks li { position: relative; padding-left: 28px; color: #d8defa; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.2 2.2 4.6-4.8' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.ticks.dark li { color: var(--ink-soft); }
.ticks.dark li::before { background-color: var(--green-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.2 2.2 4.6-4.8' stroke='%231f8f45' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ticks.dark { margin-bottom: 26px; }

.mathlive { display: flex; align-items: center; gap: 14px; font-size: 2.2rem; font-weight: 800; margin: 18px 0; color: var(--ink); }
.m-eq { color: var(--ink-mute); }
.m-a { position: relative; width: 3em; height: 1.2em; }
.m-a b { position: absolute; left: 0; top: 0; color: var(--brand); }
.a1 { animation: qa 5s ease-in-out infinite; }
.a2 { animation: qa 5s ease-in-out infinite reverse; opacity: 0; color: var(--green) !important; }
@keyframes qa { 0%,42% { opacity: 1; transform: none; } 52%,92% { opacity: 0; transform: translateY(-10px); } 100% { opacity: 1; transform: none; } }

.code { font: 500 .95rem/1.7 "JetBrains Mono", ui-monospace, Consolas, monospace; color: #dfe4ff; margin: 18px 0; white-space: pre-wrap; }
.c-k { color: #8fb4ff; } .c-f { color: #c9d1ff; } .c-n { color: #f3c56b; } .c-s { color: #7ee0a1; }
.caret { display: inline-block; width: 8px; height: 1.1em; background: #7ee0a1; vertical-align: text-bottom; margin-left: 3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.atom, .bot { width: 130px; height: auto; margin: 10px auto 14px; }
.orb { transform-box: view-box; transform-origin: 60px 60px; animation: spin 4s linear infinite; }
.o2 { animation-duration: 6s; animation-direction: reverse; } .o3 { animation-duration: 5s; animation-delay: -2s; }
@keyframes spin { to { transform: rotate(360deg); } }
.eyes { transform-box: fill-box; transform-origin: center; animation: eyes 4s infinite; }
@keyframes eyes { 0%,92%,100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.ant { animation: pulse 2s infinite; }

.ui { margin-top: auto; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--bg); border-radius: 20px; padding: 18px; }
.field.wide { grid-column: span 2; }
.field label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 5px; }
.input { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; font-size: .9rem; display: flex; justify-content: space-between; }
.input i { font-style: normal; color: var(--ink-mute); }
.slots { display: flex; gap: 8px; flex-wrap: wrap; }
.slot { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 14px; font-size: .82rem; color: var(--ink-soft); }
.slot.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 600; }
.fake-btn { display: inline-block; background: var(--brand); color: #fff; font-weight: 600; font-size: .9rem; padding: 10px 22px; border-radius: 999px; }
.fake-btn.sm { padding: 6px 16px; font-size: .8rem; margin-top: 10px; }
.ui.meters { margin-top: auto; display: grid; gap: 16px; }
.profile { background: var(--bg); border-radius: 20px; padding: 16px; }
.star { color: #c98a00; font-size: .82rem; font-weight: 700; margin-left: 4px; }
.cal { background: var(--bg); border-radius: 20px; padding: 16px; }
.days, .dates { display: grid; grid-template-columns: repeat(6, 1fr); text-align: center; }
.days { font-size: .7rem; color: var(--ink-mute); font-weight: 600; margin-bottom: 4px; }
.dates span { padding: 7px 0; border-radius: 10px; font-weight: 600; font-size: .88rem; }
.dates .sel { background: var(--brand); color: #fff; animation: pop 2.4s ease-in-out infinite; }
@keyframes pop { 50% { transform: scale(1.12); } }
.event { background: var(--brand-soft); border-radius: 14px; padding: 12px 14px; margin-top: 12px; }
.event b { display: block; font-size: .9rem; } .event small { color: var(--ink-soft); }
.fb { background: var(--bg); border-radius: 20px; padding: 16px; }
.stars { display: flex; gap: 4px; font-size: 1.6rem; line-height: 1; }
.stars span { color: #d6d9ea; }
.in .stars span { animation: starOn .4s forwards; }
.in .stars span:nth-child(1) { animation-delay: .5s; } .in .stars span:nth-child(2) { animation-delay: .65s; } .in .stars span:nth-child(3) { animation-delay: .8s; } .in .stars span:nth-child(4) { animation-delay: .95s; } .in .stars span:nth-child(5) { animation-delay: 1.1s; }
@keyframes starOn { to { color: #f0b429; transform: scale(1.1); } }
.quote { margin-top: 12px; font-size: .9rem; color: var(--ink-soft); }
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.log { margin: 0; }
.logrow { display: grid; grid-template-columns: 1fr auto 90px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.logrow:last-child { border: 0; }
.logrow em { font-style: normal; color: var(--ink-mute); font-size: .85rem; }
.logrow b { font-size: .85rem; text-align: right; }

/* Kanban */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; background: var(--tint); border-radius: 28px; padding: 16px; }
.col { background: rgba(255,255,255,.6); border-radius: 20px; padding: 14px; min-height: 300px; }
.col-h { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.col-h .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.col:last-child .n { background: var(--green); }
.col-h b { display: block; font-size: .95rem; line-height: 1.2; } .col-h small { font-size: .74rem; color: var(--ink-mute); }
.cards { display: grid; gap: 10px; align-content: start; }
.kcard { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 1px 3px rgba(18,21,43,.08); }
.kt { font-weight: 700; font-size: .93rem; } .ks { font-size: .78rem; color: var(--ink-mute); margin: 2px 0 8px; }
.kstat { font-size: .78rem; font-weight: 700; color: var(--amber); }
.kstat.ok { color: var(--green); }
.kcard.active { outline: 2px solid var(--brand); box-shadow: 0 10px 28px rgba(11,42,140,.22); position: relative; z-index: 2; }
.kcard.active .kstat { color: var(--brand); }
.caption { text-align: center; font-size: .8rem; color: var(--ink-mute); margin-top: 16px; }

/* Tabs */
.tabs { display: inline-flex; background: var(--tint); border-radius: 999px; padding: 5px; margin-bottom: 22px; }
.tabs button { border: 0; background: transparent; padding: 10px 24px; border-radius: 999px; font: 600 .92rem var(--sans); color: var(--ink-soft); cursor: pointer; transition: background .2s, color .2s; }
.tabs button.on { background: #fff; color: var(--brand); box-shadow: 0 2px 8px rgba(18,21,43,.1); }
.panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow); }
.panel[hidden] { display: none; }
.panel h3 { font-size: 1.6rem; margin-bottom: 4px; }
.panel.swap { animation: rise .5s cubic-bezier(.22,1,.36,1); }
.ui.list { margin: 0; display: grid; gap: 10px; }
.lrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bg); border-radius: 16px; padding: 16px 18px; }
.lrow b { display: block; } .lrow small { color: var(--ink-mute); }
.lrow span { font-size: .85rem; font-weight: 700; }

/* Safety rules + growth trio */
.rules { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; counter-reset: r; }
.rules li { counter-increment: r; padding: 22px 0; border-top: 1px solid rgba(11,42,140,.16); }
.rules li::before { content: counter(r, decimal-leading-zero); display: block; color: var(--green); font-weight: 800; font-size: .85rem; margin-bottom: 4px; }
.rules b { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.rules span { color: var(--ink-soft); font-size: .93rem; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 56px; }
.trio > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.trio h3 { font-size: 1.1rem; margin-bottom: 6px; } .trio p { color: var(--ink-soft); font-size: .94rem; }

@media (max-width: 960px) {
  .s4, .s5 { grid-column: span 6; } .s7 { grid-column: span 12; } .r2 { grid-row: auto; }
  .board { grid-template-columns: 1fr 1fr; }
  .panel, .hours, .trio { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .s4, .s5 { grid-column: span 12; }
  .board { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px; }
  .col { scroll-snap-align: start; min-height: 240px; }
  .panel { padding: 26px 22px; }
  .tabs button { padding: 10px 16px; }
  .form { grid-template-columns: 1fr; } .field.wide { grid-column: auto; }
}

.reveal, .reveal-l, .reveal-r, .reveal-scale, .t, .card, .step { transition-delay: var(--d, 0ms); }

.fake-btn.sm { display: table; }
.flow-tag { top: calc(50% - 28px); }
.loop-side { min-height: 0; }
.bubbles { height: 110px; }
.bub:nth-child(3) { top: 62px; } .bub:nth-child(4) { top: 56px; }

.hero-grid > *, .split > *, .loop > *, .panel > *, .bento > *, .hours > *, .footer-grid > * { min-width: 0; }
html, body { overflow-x: clip; }
.board { max-width: 100%; }

/* ===== Navbar dropdowns ===== */
.nav-links { align-items: center; gap: 6px; }
.nav-links > li { position: relative; }
.nav-link, .dd-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: transparent; border: 0; font: 600 .92rem var(--sans); color: var(--ink-soft); cursor: pointer; text-decoration: none; transition: background .2s, color .2s; }
.nav-links a.nav-link { font-weight: 600; font-size: .92rem; }
.nav-link:hover, .dd-btn:hover, .dd.open > .dd-btn { background: var(--bg); color: var(--brand); }
.dd-btn .chev { transition: transform .25s; }
.dd.open > .dd-btn .chev { transform: rotate(180deg); }
.dd-panel {
  position: absolute; top: calc(100% + 18px); left: 50%; width: 340px; padding: 8px;
  background: var(--surface); border-radius: 22px; box-shadow: 0 20px 60px rgba(18,21,43,.16), 0 2px 6px rgba(18,21,43,.06);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.98); transform-origin: top center;
  transition: opacity .2s ease, transform .25s cubic-bezier(.22,1,.36,1), visibility .2s;
}
.dd-panel.dd-right { left: auto; right: -40px; transform: translate(0, 8px) scale(.98); transform-origin: top right; }
.dd.open > .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.dd.open > .dd-panel.dd-right { transform: none; }
.dd-panel::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.nav-links .dd-item { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; text-decoration: none; color: var(--ink); transition: background .2s; }
.nav-links .dd-item:hover, .nav-links .dd-item:focus-visible { background: var(--bg); color: var(--ink); }
.dd-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); transition: background .2s, color .2s; }
.dd-item:hover .dd-ic { background: var(--brand); color: #fff; }
.dd-item b { display: block; font-size: .93rem; line-height: 1.25; }
.dd-item small { display: block; font-size: .8rem; color: var(--ink-mute); line-height: 1.35; font-weight: 400; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

/* ===== Responsive: tablet & mobile ===== */
.contact-box { padding: 36px 40px; }
.toc summary { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 1.1rem; }
.toc details[open] summary::after { content: "–"; }
.toc ul { margin-top: 12px; }
.swipe { display: none; text-align: center; font-size: .78rem; color: var(--ink-mute); margin-top: 10px; }

@media (max-width: 1100px) {
  .container { padding: 0 28px; }
  .nav-links { gap: 0; }
  .dd-panel.dd-right { right: -20px; }
}

@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .nav { height: 60px; padding: 0 8px 0 20px; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-radius: 24px; box-shadow: 0 20px 50px rgba(18,21,43,.16); padding: 10px; max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav-links.open { display: flex; animation: rise .35s cubic-bezier(.22,1,.36,1); }
  .nav-link, .dd-btn { width: 100%; justify-content: space-between; padding: 14px 16px; border-radius: 14px; font-size: 1rem; min-height: 48px; }
  .nav-links a.nav-link { display: flex; }
  .dd-panel, .dd-panel.dd-right {
    position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 8px; background: transparent;
    max-height: 0; overflow: hidden; transition: max-height .35s ease; border-radius: 0;
  }
  .dd-panel::before { display: none; }
  .dd.open > .dd-panel, .dd.open > .dd-panel.dd-right { transform: none; max-height: 520px; padding-bottom: 6px; }
  .nav-links .dd-item { padding: 10px 12px; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; }

  .hero { padding: 44px 0 56px; }
  .hero-grid { gap: 44px; }
  .match { max-width: 520px; width: 100%; margin: 0 auto; }
  .lead { max-width: none; }
  .loop { grid-template-columns: 1fr; }
  .contact-box { padding: 30px; }
  .toc { padding: 16px 20px; }
  .doc { padding: 32px 28px; }
  .safety-box { padding: 44px 28px; }
  .cta-box { padding: 48px 28px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .tight { padding: 40px 0; }
  .band.tight { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .t { padding: 24px; border-radius: 24px; }
  .t-brand .ticks { margin-bottom: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 90px; }
  .container { padding: 0 18px; }
  .announce { font-size: .78rem; padding: 8px 12px; }
  .nav-wrap { padding: 10px 0; }
  .brand img { height: 38px; }
  .nav-cta .btn-sm { padding: 10px 18px; }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.6rem; }
  .pill { font-size: .76rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-note { gap: 10px 18px; font-size: .84rem; }
  .mcard { padding: 16px 18px; }
  .mcard.offset, .mcard.offset-l { margin-left: 0; margin-right: 0; }
  .link-badge { font-size: .72rem; padding: 4px 10px; }
  .bento { gap: 12px; }
  .t { padding: 22px 20px; }
  .mathlive { font-size: 1.8rem; }
  .code { font-size: .8rem; }
  .swipe { display: block; }
  .board { margin: 0 -18px; border-radius: 0; padding: 12px 18px; scroll-padding: 0 18px; }
  .col { min-height: 220px; }
  .steps { grid-template-columns: 1fr; }
  .tabs { display: flex; width: 100%; }
  .tabs button { flex: 1; padding: 12px 8px; font-size: .88rem; }
  .panel { padding: 24px 20px; gap: 28px; border-radius: 24px; }
  .panel h3 { font-size: 1.3rem; }
  .panel .btn { width: 100%; }
  .loop-side { padding: 24px 20px; border-radius: 24px; }
  .loop-mid { min-height: 64px; }
  .trio { gap: 26px; margin-top: 40px; }
  .safety-box { padding: 32px 20px; border-radius: 24px; margin: 0 -4px; }
  .safety-links .btn { flex: 1 1 100%; }
  .faq details { padding: 16px 18px; }
  .cta-box { padding: 40px 20px; border-radius: 24px; }
  .contact-box { padding: 24px 20px; }
  .contact-card a { font-size: .98rem; word-break: break-all; }
  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .logrow { grid-template-columns: 1fr auto; } .logrow b { grid-column: 2; text-align: right; } .logrow em { grid-column: 2; grid-row: 1; justify-self: end; }
  .page-hero { padding: 24px 0 4px; }
  .doc { padding: 24px 20px; border-radius: 20px; }
  .doc ul, .doc ol { margin-left: 18px; }
  .policy-index { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  h1 { font-size: 1.8rem; }
  .nav { padding-left: 14px; }
  .brand img { height: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .card:hover, .step:hover, .policy-index a.card:hover { transform: none !important; box-shadow: var(--shadow); }
  .btn:hover { transform: none; box-shadow: none; }
}
@supports (padding: max(0px)) {
  .announce { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  footer { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
}

@media (max-width: 960px) { .nav-links a.nav-link { padding: 14px 16px; font-size: 1rem; min-height: 48px; align-items: center; } }

@media (max-width: 960px) { .t-green { grid-column: span 12; } .col { min-height: 0; } .board .cards { min-height: 90px; } }
