@font-face { font-family: "Sora"; font-weight: 500; font-display: swap; src: url("/fonts/sora-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url("/fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #0B1220;
  --ink-2: #111A2E;
  --ink-line: #1E293B;
  --paper: #FFFFFF;
  --surface: #F4F6F8;
  --line: #E2E8F0;
  --muted: #475569;
  --muted-dark: #94A3B8;
  --brand: #047857;
  --brand-hover: #065F46;
  --brand-bright: #10B981;
  --tick: #059669;
  --warning: #B45309;
  --warning-bg: #FEF3E2;
  --info: #2563EB;
  --info-bg: #EAF1FE;
  --success-bg: #E7F6EF;
  --danger: #DC2626;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: "Sora", "Inter", sans-serif; font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius-s); z-index: 50; }
.skip:focus { left: 16px; }
.num { font-variant-numeric: tabular-nums; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); background: #fff; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 28px; width: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--radius-s); border: 0;
  background: var(--brand); color: #fff; font: 600 16px/1 "Inter", sans-serif;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .15s var(--ease), box-shadow .15s;
  box-shadow: 0 1px 0 rgba(11,18,32,.08), inset 0 -2px 0 rgba(0,0,0,.12);
}
.btn:hover { background: var(--brand-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-small { height: 40px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.kicker { color: var(--muted); font-size: 15px; font-weight: 500; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-bright); box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.hero h1 { font-size: clamp(38px, 3.9vw, 52px); letter-spacing: -0.035em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: block; }
.hero .lede { margin-top: 26px; max-width: 34em; font-size: 19px; color: var(--muted); }
.hero .actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero .note { font-size: 15px; color: var(--muted); }

/* Board */
.board {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: 0 24px 60px -24px rgba(11,18,32,.22), 0 2px 6px rgba(11,18,32,.04);
  padding: 22px 22px 14px;
}
.board::before { content: ""; position: absolute; inset: -40px -60px auto auto; width: 260px; height: 260px; background: radial-gradient(closest-side, rgba(16,185,129,.16), transparent); z-index: -1; }
.board-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 2px 4px 16px; border-bottom: 1px solid var(--line); }
.board-title { font: 600 16px/1.3 "Sora", sans-serif; letter-spacing: -0.01em; }
.board-sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.board-count { text-align: right; font-size: 14px; color: var(--muted); white-space: nowrap; }
.board-count strong { display: block; font: 600 22px/1.1 "Sora", sans-serif; color: var(--ink); }
.meter { height: 4px; background: var(--surface); border-radius: 4px; margin: 14px 4px 6px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--tick); border-radius: 4px; transition: width .8s var(--ease); }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.avatar { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font: 600 13px/1 "Sora", sans-serif; color: var(--ink); background: var(--surface); }
.who { min-width: 0; }
.who b { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px 0 9px; border-radius: 999px;
  font-size: 13px; font-weight: 500; white-space: nowrap; transition: background-color .35s, color .35s;
}
.status svg { width: 14px; height: 14px; flex: none; }
.s-wait { background: var(--warning-bg); color: var(--warning); }
.s-review, .s-sent { background: var(--info-bg); color: var(--info); }
.s-approved { background: var(--success-bg); color: var(--brand); }
.s-filed { background: var(--ink); color: #fff; }
.s-filed .tk { stroke: var(--brand-bright); }
.status .tk { stroke-dasharray: 20; stroke-dashoffset: 20; }
.status.draw .tk { animation: draw .5s .1s var(--ease) forwards; }
.status.swap { animation: swap .45s var(--ease); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes swap { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-6px); opacity: 0; } 55% { transform: translateY(6px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
.board-foot { display: flex; align-items: center; gap: 8px; padding: 12px 4px 4px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.board-foot .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-bright); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); } 60% { box-shadow: 0 0 0 7px rgba(16,185,129,0); } }

/* Deadline (ink) */
.deadline { background: var(--ink); color: #fff; padding: 112px 0 104px; position: relative; overflow: hidden; }
.deadline .wrap { position: relative; }
.deadline h2 { font-size: clamp(28px, 3.4vw, 40px); max-width: 18em; }
.days { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 28px; margin: 48px 0 18px; }
.days .big { font: 600 clamp(112px, 19vw, 248px)/.82 "Sora", sans-serif; letter-spacing: -0.055em; font-variant-numeric: tabular-nums; }
.days .unit { font-size: 19px; color: var(--muted-dark); max-width: 15em; padding-bottom: 14px; }
.days .unit strong { color: #fff; font-weight: 600; }
.timeline { position: relative; margin-top: 72px; }
.track { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--ink-line); }
.track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--brand-bright); transition: width 1.6s var(--ease); }
.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.stop { padding-top: 34px; position: relative; }
.stop::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--ink-line); transition: border-color .4s, background-color .4s; }
.stop.on::before { border-color: var(--brand-bright); background: var(--brand-bright); }
.stop.key::before { width: 20px; height: 20px; top: -2px; left: -2px; border-color: var(--brand-bright); box-shadow: 0 0 0 6px rgba(16,185,129,.14); }
.stop.key time { color: var(--brand-bright); }
.stop time { display: block; font: 600 18px/1.3 "Sora", sans-serif; letter-spacing: -0.01em; }
.stop p { margin-top: 6px; color: var(--muted-dark); font-size: 15px; max-width: 16em; }
.today-tag { position: absolute; top: -34px; transform: translateX(-50%); font-size: 13px; color: var(--brand-bright); white-space: nowrap; opacity: 0; transition: opacity .4s 1.2s; }
.timeline.in .today-tag { opacity: 1; }

/* Steps */
.how { padding: 120px 0 40px; }
.how h2, .practice h2, .later h2, .join h2 { font-size: clamp(30px, 3.6vw, 44px); max-width: 16em; }
.how .intro { margin-top: 18px; color: var(--muted); max-width: 36em; font-size: 18px; }
.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { padding: 28px 28px 8px 0; position: relative; counter-increment: s; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); font: 600 14px/1 "Sora", sans-serif; margin-bottom: 22px; }
.steps li:last-child::before { background: var(--ink); color: #fff; }
.steps h3 { font-size: 20px; letter-spacing: -0.015em; }
.steps p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.quote-chip { display: inline-block; margin-top: 14px; padding: 8px 12px; border-radius: 10px 10px 10px 2px; background: var(--surface); font-size: 14px; color: var(--ink); }

/* Practice */
.practice { padding: 120px 0; }
.practice .wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; align-items: start; }
.practice .body p { color: var(--muted); font-size: 18px; }
.practice .body p + p { margin-top: 18px; }
.facts { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts b { font: 600 28px/1 "Sora", sans-serif; letter-spacing: -0.03em; }
.facts span { color: var(--muted); font-size: 16px; }

/* Later */
.later { padding: 0 0 120px; }
.later .panel { background: var(--surface); border-radius: var(--radius-l); padding: 56px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
.later p.intro { margin-top: 16px; color: var(--muted); }
.later ul { list-style: none; margin: 0; padding: 0; }
.later li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.later li:last-child { border-bottom: 0; }
.later li svg { width: 16px; height: 16px; flex: none; transform: translateY(2px); }

/* Join */
.join { padding: 0 0 120px; }
.join h2 { max-width: none; }
.join .card { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 56px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 56px; box-shadow: 0 30px 80px -40px rgba(11,18,32,.2); }
.join .intro { margin-top: 16px; color: var(--muted); }
.join .contact { margin-top: 28px; font-size: 15px; color: var(--muted); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 600; }
label .opt { font-weight: 400; color: var(--muted); }
input, select {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid #CBD5E1; border-radius: var(--radius-s);
  font: 400 16px/1 "Inter", sans-serif; color: var(--ink); background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
input:hover, select:hover { border-color: #94A3B8; }
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(4,120,87,.18); }
input[aria-invalid="true"] { border-color: var(--danger); }
.err { font-size: 14px; color: var(--danger); min-height: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 6px; }
.submit-row .small { font-size: 14px; color: var(--muted); flex: 1 1 260px; }
.form-msg { grid-column: 1 / -1; font-size: 15px; color: var(--danger); }
.done { display: none; grid-column: 1 / -1; align-content: start; gap: 14px; }
.done svg { width: 56px; height: 56px; }
.done .tk { stroke-dasharray: 60; stroke-dashoffset: 60; }
.done.show { display: grid; }
.done.show .tk { animation: draw .7s .15s var(--ease) forwards; }
.done.show .ring { animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.done h3 { font-size: 24px; }
.done p { color: var(--muted); }

/* FAQ */
.faq { padding: 0 0 120px; }
.faq .wrap { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 56px; align-items: start; }
.faq h2 { font-size: clamp(30px, 3.6vw, 44px); }
.faq .intro { margin-top: 16px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 18px; letter-spacing: -0.01em; line-height: 1.35; }
.qa summary:hover h3 { color: var(--brand); }
.qa-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .2s, border-color .2s, transform .3s var(--ease); }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s var(--ease), background-color .2s; }
.qa-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-icon { background: var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.qa[open] .qa-icon::before, .qa[open] .qa-icon::after { background: #fff; }
.qa[open] .qa-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa p { color: var(--muted); padding: 0 48px 24px 0; max-width: 40em; }
.qa[open] p { animation: qa-in .35s var(--ease); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 980px) { .faq .wrap { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .faq { padding-bottom: 72px; } .qa p { padding-right: 0; } .qa summary h3 { font-size: 17px; } }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; align-items: flex-start; }
.site-foot img { height: 22px; width: auto; margin-bottom: 12px; }
.site-foot nav { display: flex; gap: 22px; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--ink); }

/* Legal page */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); }
.legal .updated { color: var(--muted); margin-top: 10px; }
.legal h2 { font-size: 22px; margin-top: 44px; }
.legal p, .legal li { color: #334155; margin-top: 12px; }
.legal ul { padding-left: 22px; }

/* Reveal (page load only) */
.js .hero h1 .line > span { transform: translateY(105%); }
.js .hero .kicker, .js .hero .lede, .js .hero .actions { opacity: 0; transform: translateY(10px); }
.js .board { opacity: 0; transform: translateY(24px) scale(.985); }
.js .row { opacity: 0; transform: translateX(12px); }
.ready .hero h1 .line > span { transform: none; transition: transform .9s var(--ease); }
.ready .hero h1 .line:nth-child(2) > span { transition-delay: .07s; }
.ready .hero h1 .line:nth-child(3) > span { transition-delay: .14s; }
.ready .hero .kicker { opacity: 1; transform: none; transition: opacity .6s, transform .6s var(--ease); }
.ready .hero .lede { opacity: 1; transform: none; transition: opacity .7s .35s, transform .7s .35s var(--ease); }
.ready .hero .actions { opacity: 1; transform: none; transition: opacity .7s .5s, transform .7s .5s var(--ease); }
.ready .board { opacity: 1; transform: none; transition: opacity .9s .3s, transform 1.1s .3s var(--ease); }
.ready .row { opacity: 1; transform: none; transition: opacity .5s, transform .6s var(--ease); }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .practice .wrap, .later .panel, .join .card { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 64px; }
  .hero .lede { font-size: 17px; }
  .board { padding: 16px 14px 10px; border-radius: 16px; }
  .row { grid-template-columns: 32px minmax(0,1fr); }
  .row .status { grid-column: 2; justify-self: start; }
  .avatar { width: 32px; height: 32px; }
  .deadline { padding: 80px 0 72px; }
  .stops { grid-template-columns: 1fr; gap: 26px; }
  .track { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .track i { width: 100% !important; height: 0; transition: height 1.6s var(--ease); }
  .stop { padding: 0 0 0 36px; }
  .stop.key::before { left: -2px; }
  .today-tag { display: none; }
  .how { padding: 80px 0 24px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 26px 0 8px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .practice { padding: 80px 0; }
  .facts li { grid-template-columns: 96px minmax(0,1fr); }
  .later .panel, .join .card { padding: 28px 20px; border-radius: 16px; }
  .later { padding-bottom: 72px; }
  .join { padding-bottom: 72px; }
  form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
