:root {
  --bg: #f7f8fa;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --ink: #0b1220;
  --text: #121926;
  --muted: #5b6577;
  --faint: #8b95a7;
  --line: rgba(11, 18, 32, 0.08);
  --line-strong: rgba(11, 18, 32, 0.14);
  --accent: #0d9488;
  --accent-bright: #14b8a6;
  --accent-dim: rgba(13, 148, 136, 0.1);
  --accent-ink: #042f2e;
  --warn: #b45309;
  --warn-bg: rgba(245, 158, 11, 0.12);
  --danger: #e11d48;
  --danger-bg: rgba(225, 29, 72, 0.08);
  --ok: #059669;
  --ok-bg: rgba(5, 150, 105, 0.1);
  --navy: #0c1b3a;
  --max: 1120px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-ui: "Figtree", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, .btn { cursor: pointer; font: inherit; border: 0; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.028;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 250, 0.82);
  backdrop-filter: blur(14px);
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
}
.nav-brand .mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: block;
}
.nav-brand .mark img {
  width: 100%;
  height: 100%;
  display: block;
}
.nav-brand .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.nav.is-scrolled {
  box-shadow: 0 10px 30px rgba(12, 27, 58, 0.06);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; gap: 0.6rem; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13,148,136,0.22);
}
.btn-primary:hover { background: #0f766e; }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 0.45rem 0.75rem; font-size: 0.85rem; }

.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; }

.hero {
  position: relative;
  display: grid;
  align-items: start;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 75% 15%, rgba(20,184,166,0.16), transparent 55%),
    radial-gradient(ellipse 45% 35% at 10% 85%, rgba(12,27,58,0.06), transparent 50%),
    linear-gradient(180deg, #eef7f6 0%, var(--bg) 55%, #f3f4f6 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12,27,58,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,27,58,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 65% 55% at 65% 35%, #000 15%, transparent 75%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.25rem 0 3.75rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.brand-lockup {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 6.5vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin-bottom: 1.15rem;
  color: var(--ink);
}
.brand-lockup span {
  display: block;
  color: var(--accent);
  font-size: 0.28em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
  max-width: 18ch;
  margin-bottom: 0.85rem;
  color: var(--navy);
}
.hero .lede {
  color: var(--muted);
  max-width: 36ch;
  font-size: 1.02rem;
  margin-bottom: 1.55rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.35rem;
}
.pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
}

.product-stage {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 0.9rem;
  background: var(--surface);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 24px 60px rgba(12,27,58,0.1),
    0 0 0 1px rgba(13,148,136,0.06);
  overflow: hidden;
  min-height: 360px;
}
.product-stage .chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: linear-gradient(180deg, #fbfbfc, #f4f5f7);
}
.dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #c5cad3; }
.dot.r { background: #fb7185; }
.dot.y { background: #fbbf24; }
.dot.g { background: #34d399; }
.stage-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 310px;
}
.term, .inbox {
  padding: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.55;
}
.term {
  border-right: 1px solid var(--line);
  color: #3f4b5f;
  background: #0f1724;
  color: #b7c0d0;
}
.term .ok { color: #34d399; }
.term .hi { color: #fb7185; }
.term .med { color: #fbbf24; }
.term .cmd { color: #5eead4; }
.inbox { background: #fafbfc; }
.inbox-card {
  border: 1px solid var(--line-strong);
  border-radius: 0.55rem;
  padding: 0.75rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(12,27,58,0.04);
}
.inbox-card .meta {
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  margin-bottom: 0.45rem;
}
.inbox-card strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.fp {
  color: var(--muted);
  background: var(--surface-2);
  border-radius: 0.35rem;
  padding: 0.45rem 0.5rem;
  margin: 0.5rem 0 0.7rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.inbox-actions { display: flex; gap: 0.35rem; }
.chip {
  flex: 1;
  text-align: center;
  padding: 0.4rem;
  border-radius: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
}
.chip.approve { background: var(--accent-dim); color: var(--accent); }
.chip.edit { background: var(--warn-bg); color: var(--warn); }
.chip.deny { background: var(--danger-bg); color: var(--danger); }

section { padding: 4.5rem 0; border-bottom: 1px solid var(--line); }
.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.15;
  max-width: 18ch;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.section-lede {
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.suite-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.suite-item {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1.25rem;
  background: var(--surface);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(12,27,58,0.03);
  transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.suite-item:hover {
  border-color: rgba(13,148,136,0.35);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(12,27,58,0.07);
}
.suite-item .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.suite-item.paid .tag { color: var(--warn); }
.suite-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.suite-item p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.suite-item .foot {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--faint);
}
.price-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  border-radius: 0.3rem;
  background: var(--ok-bg);
  color: var(--ok);
}
.price-badge.paid { background: var(--warn-bg); color: var(--warn); }

.proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
.proof-list { display: grid; gap: 0.85rem; }
.proof-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--surface);
}
.proof-item .n {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.8rem;
  padding-top: 0.15rem;
}
.proof-item h4 { font-size: 0.98rem; margin-bottom: 0.15rem; color: var(--ink); }
.proof-item p { color: var(--muted); font-size: 0.88rem; }

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--surface);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
}
.compare th, .compare td {
  text-align: left;
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare tr:last-child td { border-bottom: 0; }
.compare th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  background: var(--surface-2);
}
.compare td:first-child { color: var(--muted); width: 28%; }
.compare .yes { color: var(--ok); font-weight: 600; }
.compare .no { color: var(--faint); }
.compare .ours { background: rgba(13,148,136,0.05); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.pricing-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.radar-addon {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--bg-elev);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.radar-addon strong {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.radar-addon p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.2rem;
}
.plan {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.4rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(12,27,58,0.04);
}
.plan.featured {
  border-color: rgba(13,148,136,0.45);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(20,184,166,0.12), transparent 60%),
    var(--surface);
  transform: scale(1.02);
  box-shadow: 0 18px 50px rgba(13,148,136,0.12);
}
.plan h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0;
}
.plan h3 .pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f766e;
  background: rgba(13,148,136,0.12);
  border: 1px solid rgba(13,148,136,0.25);
  padding: 0.2rem 0.45rem;
  border-radius: 0.35rem;
}
.plan .amt {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0.6rem 0 0.2rem;
  color: var(--ink);
  line-height: 1.1;
}
.plan .amt small { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.plan .desc { color: var(--muted); font-size: 0.9rem; margin: 0 0 1.1rem; }
.plan ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  flex: 1;
}
.plan li {
  color: var(--text);
  font-size: 0.9rem;
  padding-left: 1.1rem;
  position: relative;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}
.plan.free li::before { background: var(--ok); }

.cta-band {
  margin: 0 auto;
  width: min(var(--max), calc(100% - 2.5rem));
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  padding: 2.2rem;
  background:
    radial-gradient(ellipse 55% 80% at 100% 50%, rgba(20,184,166,0.14), transparent 55%),
    linear-gradient(135deg, #fff, #f3faf9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 16px 40px rgba(12,27,58,0.05);
}
.cta-band h2 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.cta-band p { color: var(--muted); max-width: 40ch; }

footer {
  padding: 2.5rem 0 3.25rem;
  color: var(--faint);
  font-size: 0.85rem;
}
.footer-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-brand {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 2rem auto 0;
  display: flex;
  justify-content: center;
}
.footer-brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
}
.footer-brand img {
  width: 2.75rem;
  height: 2.75rem;
  display: block;
}
.footer-brand .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 60% at 90% 0%, rgba(20,184,166,0.14), transparent 55%),
    linear-gradient(180deg, #eef7f6, var(--bg));
}
.page-hero .wrap { display: grid; gap: 0.75rem; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 14ch;
  color: var(--ink);
}
.page-hero p { color: var(--muted); max-width: 48ch; font-size: 1.05rem; }

.code-block {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: #0f1724;
  border: 1px solid rgba(12,27,58,0.2);
  border-radius: 0.65rem;
  padding: 1rem 1.1rem;
  color: #c5cddb;
  overflow-x: auto;
}
.code-block .prompt { color: #5eead4; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.feature {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(12,27,58,0.03);
}
.feature h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.feature p { color: var(--muted); font-size: 0.92rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-copy { animation: rise 0.75s var(--ease) both; }
.product-stage { animation: rise 0.75s var(--ease) 0.12s both; }
.suite-item {
  animation: rise 0.6s var(--ease) both;
}
.suite-item:nth-child(1) { animation-delay: 0.05s; }
.suite-item:nth-child(2) { animation-delay: 0.12s; }
.suite-item:nth-child(3) { animation-delay: 0.19s; }
.page-hero .wrap { animation: rise 0.65s var(--ease) both; }

.wordmark-accent { color: var(--accent); }

.scan-install {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner, .suite-row, .proof, .feature-grid, .stage-grid,
  .scan-install, .pricing-grid, .pricing-grid.three {
    grid-template-columns: 1fr !important;
  }
  .plan.featured { transform: none; }
  .term { border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-links { display: none; }
  .hero-inner { padding: 2.5rem 0 3rem; }
}
