/* TaxGene landing — tokens mirror lib/theme.ts in the app */
:root {
  --g900: #06281B;
  --g800: #0A3B28;
  --g700: #0C7B4D;
  --g600: #0F8A57;
  --g100: #E1F0E8;
  --g050: #F2F9F5;
  --ink: #13231B;
  --muted: #5A6B62;
  --line: #DCE9E1;
  --white: #FFFFFF;
  --back: #EDF3EF;
  --amber: #8A5A0B;
  --amber-bg: #FBF1DE;
  --mint: #3FC28D;
  --radius: 14px;
  --shadow: 0 24px 60px -30px rgba(6, 40, 27, .35);
  --shadow-sm: 0 4px 12px rgba(6, 40, 27, .07);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; color: var(--g900); text-wrap: balance; }
p { margin: 0; }
a { color: var(--g700); }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g700);
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 99; background: var(--white); padding: 8px 12px; border-radius: 8px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15.5px/1 "Plus Jakarta Sans", system-ui, sans-serif;
  padding: 15px 22px; border-radius: 12px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--g700); color: var(--white); }
.btn-primary:hover { background: var(--g600); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .7; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--g900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--g700); }
.btn:focus-visible, .lang button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--mint); outline-offset: 2px;
}

/* ---- nav ---- */
nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--g900); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--g700); color: var(--white);
  display: grid; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: .03em; flex: none;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--g700); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-right .signin { color: var(--g900); font-size: 15px; font-weight: 600; text-decoration: none; }
.nav-right .btn { padding: 11px 16px; font-size: 14.5px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--g050); }
.lang button {
  font: 700 12.5px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .04em;
  border: 0; background: transparent; color: var(--muted); padding: 7px 10px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--white); color: var(--g900); box-shadow: var(--shadow-sm); }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 560px) { .nav-right .signin, .nav-right .btn { display: none; } }

/* ---- hero ---- */
.hero { background: linear-gradient(180deg, var(--g050), var(--white)); padding-block: 72px 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 60px); font-weight: 800; margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--g700); }
.hero-sub { font-size: 19px; color: var(--muted); margin-top: 20px; max-width: 32em; }
@media (max-width: 900px) {
  .hero { padding-block: 44px 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* ---- waitlist form ---- */
.waitlist { margin-top: 30px; max-width: 520px; }
.wl-row { display: flex; gap: 10px; }
.wl-row input {
  flex: 1; min-width: 0; font: 500 16px/1.2 "Plus Jakarta Sans", sans-serif; color: var(--ink);
  padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
}
.wl-row input:focus { border-color: var(--g700); outline: none; box-shadow: 0 0 0 3px var(--g100); }
.wl-note { font-size: 14px; color: var(--muted); margin-top: 10px; }
.wl-msg { font-size: 15px; margin-top: 12px; padding: 12px 14px; border-radius: 10px; }
.wl-msg.ok { background: var(--g100); color: var(--g900); }
.wl-msg.err { background: var(--amber-bg); color: var(--amber); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) { .wl-row { flex-direction: column; } }

/* ---- package preview card ---- */
.preview { position: relative; }
.sheet {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  padding: 26px; max-width: 460px; margin-inline: auto;
}
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sheet-title { font-weight: 800; color: var(--g900); font-size: 17px; }
.sheet-meta { font-size: 13px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--g100); color: var(--g700); white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-block: 18px; }
.total { background: var(--g050); border-radius: 10px; padding: 11px 12px; }
.total span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.total b { display: block; font-size: 17px; color: var(--g900); margin-top: 2px; }
.cat { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding-block: 7px; font-size: 14px; }
.cat .amt { color: var(--g900); font-weight: 600; font-size: 13.5px; }
.bar { grid-column: 1 / -1; height: 6px; background: var(--g050); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--g700); border-radius: 99px; }
.flag { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px 12px; border-radius: 10px; background: var(--amber-bg); color: var(--amber); font-size: 13.5px; font-weight: 600; }
.float-chip {
  position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm);
  padding: 10px 14px; font-size: 13.5px; font-weight: 700; color: var(--g900); display: flex; align-items: center; gap: 8px;
}
.float-chip.one { top: -18px; right: 4%; }
.float-chip.two { bottom: -18px; left: 2%; }
.float-chip .dot { width: 22px; height: 22px; border-radius: 7px; background: var(--g100); color: var(--g700); display: grid; place-items: center; font-size: 13px; }
@media (max-width: 560px) { .float-chip { display: none; } .sheet { padding: 20px; } .totals { grid-template-columns: 1fr 1fr 1fr; gap: 6px; } .total b { font-size: 15px; } }

/* ---- trust strip ---- */
.strip { border-block: 1px solid var(--line); background: var(--white); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 22px; }
.strip-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--g900); }
.strip-item svg { width: 20px; height: 20px; color: var(--g700); flex: none; }
@media (max-width: 860px) { .strip-in { grid-template-columns: 1fr 1fr; } }

/* ---- sections ---- */
section.block { padding-block: 92px; }
section.tint { background: var(--g050); }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin-top: 12px; }
.sec-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
@media (max-width: 700px) { section.block { padding-block: 64px; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-num { width: 38px; height: 38px; border-radius: 11px; background: var(--g100); color: var(--g700); display: grid; place-items: center; font-weight: 800; }
.step h3 { font-size: 20px; margin-top: 18px; }
.step p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.pkg { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pkg-list { display: grid; gap: 14px; }
.pkg-item { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.pkg-item .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--g050); color: var(--g700); display: grid; place-items: center; flex: none; }
.pkg-item .icon svg { width: 22px; height: 22px; }
.pkg-item h3 { font-size: 17px; }
.pkg-item p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.forms { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.forms table { width: 100%; border-collapse: collapse; font-size: 15px; }
.forms th { text-align: left; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--g050); padding: 12px 18px; }
.forms td { padding: 15px 18px; border-top: 1px solid var(--line); }
.forms td:last-child { font-weight: 700; color: var(--g900); white-space: nowrap; }
.forms-note { font-size: 14px; color: var(--muted); padding: 14px 18px; border-top: 1px solid var(--line); background: var(--g050); }
@media (max-width: 860px) { .pkg { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.feature svg { width: 24px; height: 24px; color: var(--g700); }
.feature h3 { font-size: 17.5px; margin-top: 14px; }
.feature p { color: var(--muted); font-size: 15px; margin-top: 6px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---- pricing ---- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 30px; position: relative; }
.plan.pop { border: 2px solid var(--g700); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -13px; left: 26px; background: var(--g700); color: var(--white); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 19px; }
.plan .price { font-size: 46px; font-weight: 800; color: var(--g900); letter-spacing: -.03em; margin-top: 10px; }
.plan .price small { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15.5px; }
.plan li::before { content: "✓"; color: var(--g700); font-weight: 800; }
.pricing-note { color: var(--muted); font-size: 14.5px; margin-top: 22px; max-width: 820px; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* ---- faq ---- */
.faq { max-width: 780px; display: grid; gap: 12px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 16px; font-weight: 700; color: var(--g900); font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary .plus { color: var(--g700); font-size: 24px; line-height: 1; transition: transform .2s ease; flex: none; }
details[open] summary .plus { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 18px; font-size: 16px; }

/* ---- final cta ---- */
.cta { background: var(--g900); color: var(--white); border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.cta h2 { color: var(--white); font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.cta p { color: #B9D3C5; margin-top: 12px; font-size: 17px; }
.cta .waitlist { margin-top: 0; }
.cta .wl-row input { border-color: transparent; }
.cta .wl-note { color: #B9D3C5; }
.cta .btn-primary { background: var(--mint); color: var(--g900); }
.cta .btn-primary:hover { background: #5DD3A2; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 34px 24px; } }

/* ---- footer ---- */
footer { padding-block: 44px; border-top: 1px solid var(--line); margin-top: 92px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-in .links { display: flex; gap: 20px; font-size: 14.5px; }
.foot-in .links a { color: var(--muted); text-decoration: none; }
.disclaimer { color: var(--muted); font-size: 13.5px; margin-top: 22px; max-width: 760px; }

/* ---- motion ---- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s ease both; }
  .rise.d2 { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}
