[hidden] { display: none !important; }
:root {
  --ink: #0F1E24;
  --ink-2: #0B171C;
  --ink-3: #16303A;
  --rule-dark: #2F5260;
  --paper: #FFFFFF;
  --green: #127A55;
  --green-dk: #4CC38A;
  --red: #C8372D;
  --red-dk: #F0675C;
  --isotherm: #CFE3EA;
  --mist: #EEF5F7;
  --muted: #4A5A61;
  --muted-dk: #B9CDD3;
  --body-2: #2B3B42;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
img, svg { display: block; }
a { color: var(--green); }
a:hover { color: var(--ink); }
.dark a:not(.btn) { color: var(--isotherm); }
.dark a:not(.btn):hover { color: var(--paper); }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green-dk); outline-offset: 2px; }

/* Header */
.dark { background: var(--ink); color: var(--paper); }
.site-head .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper) !important; text-decoration: none; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; }
.brand small { font-family: var(--sans); font-weight: 400; font-size: 15px; color: var(--muted-dk); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.nav a:not(.btn) { text-decoration: none; color: var(--isotherm); }
.nav a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-underline-offset: 6px; }

/* Buttons and inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 0; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; }
.btn-green { background: var(--green-dk); color: var(--ink); }
.btn-green:hover { background: #6BD3A0; color: var(--ink); }
.btn-solid { background: var(--green); color: var(--paper); }
.btn-solid:hover { background: #0E6346; color: var(--paper); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid var(--isotherm); }
.btn-ghost:hover { background: var(--ink-3); color: var(--paper); }
.btn-lg { min-height: 48px; padding: 0 20px; }
.btn[aria-disabled="true"] { opacity: .65; cursor: not-allowed; }

.signup { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type="email"] { flex: 1 1 220px; min-height: 48px; font: 16px var(--sans); padding: 0 14px; border-radius: 8px; border: 1px solid #4A6B76; background: var(--ink-3); color: var(--paper); }
.signup input::placeholder { color: #8FA8B0; }
.signup.light input[type="email"] { background: var(--paper); color: var(--ink); border-color: #9CB4BC; }
.signup.light input::placeholder { color: #6B7D84; }
.form-note { font-size: 13px; color: var(--muted-dk); min-height: 1.2em; }
.light-note { color: var(--muted); }

/* Tape */
.tape { border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); background: var(--ink-2); overflow: hidden; }
.tape-track { display: flex; gap: 32px; padding: 10px 24px; white-space: nowrap; font-family: var(--mono); font-size: 13px; width: max-content; animation: tape 60s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-item { display: inline-flex; gap: 10px; }
.tape-item .stn { font-weight: 700; color: var(--paper); }
.tape-item .dim { color: var(--muted-dk); }
.tape-tag { color: var(--muted-dk); font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tape-track { animation: none; } }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px; align-items: start; padding-top: 48px; padding-bottom: 56px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.hero h1 { font-weight: 800; font-size: clamp(42px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.03em; }
.lede { font-size: 18px; color: var(--isotherm); max-width: 52ch; }
.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule-dark); border: 1px solid var(--rule-dark); border-radius: 10px; overflow: hidden; }
.stat-strip > div { background: var(--ink); padding: 12px 14px; }
.stat-strip .l { font-size: 13px; color: var(--muted-dk); }
.stat-strip .v { font-family: var(--mono); font-weight: 700; font-size: 20px; }
@media (max-width: 420px) { .stat-strip { grid-template-columns: 1fr; } }

/* Board */
.board { background: var(--paper); color: var(--ink); border-radius: 12px; overflow: hidden; }
.board-tabs { display: flex; gap: 4px; padding: 8px; background: var(--mist); overflow-x: auto; }
.board-tabs button { flex: none; min-height: 44px; padding: 0 14px; border: 0; border-radius: 8px; cursor: pointer; font: 700 14px var(--mono); background: transparent; color: var(--ink); }
.board-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.board-head { padding: 16px 18px 6px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.board-head h2 { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.board-head span { font-size: 13px; color: var(--muted); }
.board-head strong { font-family: var(--mono); color: var(--ink); }
.board-rows { padding: 0 18px 8px; }
.brow { display: grid; grid-template-columns: 70px 64px 64px minmax(0, 1fr) 44px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #E3EEF1; font-family: var(--mono); font-size: 14px; }
.brow.head { font-family: var(--sans); font-size: 13px; color: var(--muted); border-bottom-color: var(--isotherm); padding: 8px 0; }
.brow.hl { background: #F3F9F6; }
.brow .r { text-align: right; }
.brow .b { white-space: nowrap; font-weight: 700; }
.edge { position: relative; height: 14px; }
.edge .axis { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: #9CC6D4; }
.edge .bar { position: absolute; top: 0; bottom: 0; border-radius: 2px; }
.board-note { padding: 12px 18px 16px; font-size: 14px; color: var(--body-2); }
.board-foot { padding: 10px 18px; background: var(--mist); font-size: 13px; color: var(--muted); }
@media (max-width: 480px) { .brow { grid-template-columns: 62px 52px 52px minmax(0, 1fr) 36px; gap: 6px; font-size: 13px; } }

/* Sections */
.section { padding-top: 64px; padding-bottom: 64px; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.how > div { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 16px; }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--green); font-weight: 700; }
.how h3 { font-weight: 700; font-size: 22px; }
.how p { color: var(--body-2); }

/* Pricing */
.pricing-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.pricing-top h2 { font-weight: 800; font-size: clamp(30px, 4vw, 40px); line-height: 1.05; }
.toggle { display: inline-flex; background: var(--ink-3); border-radius: 10px; padding: 4px; gap: 4px; }
.toggle button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 8px; font: 600 15px var(--sans); cursor: pointer; background: transparent; color: var(--isotherm); }
.toggle button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 20px; margin-top: 28px; }
.plan { border: 1px solid var(--rule-dark); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.plan.core { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.plan.founding { border-color: var(--green-dk); }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.plan-top .name { font-family: var(--display); font-weight: 700; font-size: 22px; }
.plan-top .tag { font-family: var(--mono); font-size: 14px; color: var(--muted-dk); }
.plan.core .plan-top .tag { color: var(--green); font-weight: 700; }
.plan.founding .plan-top .tag { color: var(--green-dk); font-weight: 700; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .amt { font-family: var(--mono); font-weight: 700; font-size: 48px; line-height: 1; }
.price .per { color: var(--muted-dk); }
.plan.core .price .per { color: var(--muted); }
.price .save { color: var(--green); font-weight: 600; font-size: 14px; }
.plan ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.plan:not(.core) ul { color: #E3EEF1; }
.plan .btn { margin-top: auto; width: 100%; }
.plan .fine { font-size: 13px; color: var(--muted-dk); }
.plan.core .fine { color: var(--muted); }
.seats { height: 8px; border-radius: 4px; background: var(--ink-3); overflow: hidden; }
.seats span { display: block; height: 100%; background: var(--green-dk); }
.disclaim { font-size: 14px; color: var(--muted-dk); margin-top: 28px; }

/* Signup band */
.band { background: var(--mist); }
.band .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 28px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.band h2 { font-weight: 800; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; }
.band p { color: var(--body-2); margin-top: 8px; }

/* FAQ and legal */
.page-head { padding-top: 48px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.page-head h1 { font-weight: 800; font-size: clamp(32px, 4vw, 46px); line-height: 1.05; }
.page-head p { color: var(--muted); }
.faq { padding-bottom: 64px; }
.faq details { border-top: 1px solid var(--isotherm); }
.faq details:last-child { border-bottom: 1px solid var(--isotherm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 19px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-family: var(--mono); font-size: 22px; color: var(--green); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 20px; color: var(--body-2); display: flex; flex-direction: column; gap: 10px; max-width: 70ch; }
.legal { padding-bottom: 64px; display: flex; flex-direction: column; gap: 14px; max-width: 72ch; color: var(--body-2); }
.legal h2 { font-size: 22px; color: var(--ink); margin-top: 18px; }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.callout { background: var(--mist); border-radius: 12px; padding: 18px 20px; color: var(--ink); }

/* Scorecard */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.kpi { background: var(--mist); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.kpi .l { font-size: 14px; color: var(--muted); }
.kpi .v { font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1.1; }
.kpi .s { font-size: 13px; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.panel { border: 1px solid var(--isotherm); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.panel h2, .tblock h2 { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.tblock { display: flex; flex-direction: column; gap: 12px; }
.tscroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th { text-align: left; color: var(--muted); font-size: 13px; font-weight: 500; padding: 6px 8px; }
table.data td { padding: 9px 8px; border-top: 1px solid #E3EEF1; }
table.data th:first-child, table.data td:first-child { padding-left: 0; }
table.data .r { text-align: right; }
table.data .num { font-family: var(--mono); font-size: 14px; }
.skillbar { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 8px; align-items: center; }
.skillbar .track { height: 12px; background: var(--mist); border-radius: 3px; position: relative; }
.skillbar .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; }
.note { font-size: 13px; color: var(--muted); }
.empty { border: 1px dashed #9CB4BC; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.empty h2 { font-size: 24px; }
.empty p { color: var(--body-2); max-width: 62ch; }
.badge { align-self: flex-start; display: inline-block; font: 700 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #FFF4E5; color: #8A4B00; }
.dark .badge { background: #3A2A12; color: #FFD7A1; }

/* Footer */
.site-foot { border-top: 1px solid var(--isotherm); }
.site-foot .foot-bar { padding-top: 28px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.site-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-foot strong { font-family: var(--display); color: var(--ink); }
.foot-legal { display: block; margin: 0 auto; font-size: 13px; color: var(--muted); padding-bottom: 28px; max-width: 1240px; }
