:root {
  color-scheme: dark;
  --bg: #080a09;
  --panel: rgba(18, 23, 19, 0.78);
  --panel-strong: #111612;
  --ink: #f6f0e6;
  --muted: rgba(246, 240, 230, 0.62);
  --dim: rgba(246, 240, 230, 0.68);
  --line: rgba(246, 240, 230, 0.14);
  --green: #78dca1;
  --green-deep: #0aaa66;
  --blue: #72a9ff;
  --amber: #efbd72;
  --font-main: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --radius: 22px;
  --page: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(10, 170, 102, 0.22), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(40, 118, 229, 0.18), transparent 32%),
    linear-gradient(rgba(246, 240, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 240, 230, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}

.ambient::after {
  content: "";
  position: absolute;
  width: 34vw;
  height: 34vw;
  right: 10%;
  bottom: -22%;
  border-radius: 50%;
  background: rgba(216, 139, 31, 0.1);
  filter: blur(90px);
}

.seo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 9, 0.82);
  backdrop-filter: blur(18px);
}

.seo-nav {
  width: var(--page);
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
  background: rgba(120, 220, 161, 0.14);
  font-style: normal;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover { color: var(--ink); }

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 9px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button {
  color: #06120b;
  background: var(--green);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(246, 240, 230, 0.035);
}

.button:hover,
.button-secondary:hover { transform: translateY(-2px); }

.button:focus-visible,
.button-secondary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.breadcrumbs {
  width: var(--page);
  margin: 0 auto;
  padding-top: 26px;
  color: var(--dim);
  font: 11px/1.4 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumbs a { color: var(--muted); }

.page-hero {
  width: var(--page);
  min-height: 650px;
  margin: 0 auto;
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font: 11px/1.4 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 11ch;
  margin: 22px 0 24px;
  font-size: clamp(54px, 6.7vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero-copy > p {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.micro-proof {
  margin-top: 28px;
  color: var(--dim);
  font-size: 13px;
}

.micro-proof b { color: var(--ink); }

.dashboard-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(27, 35, 29, 0.9), rgba(11, 14, 12, 0.94));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38), 0 0 70px rgba(10, 170, 102, 0.08);
}

.dashboard-head,
.dashboard-total,
.dashboard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font: 10px/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
}

.live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(120, 220, 161, 0.1);
}

.dashboard-total { margin-top: 30px; align-items: end; }

.dashboard-total strong {
  display: block;
  font-size: clamp(52px, 7vw, 78px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.dashboard-total span { color: var(--muted); font-size: 13px; }
.dashboard-total b { color: var(--green); font-size: 13px; }

.chart {
  position: relative;
  height: 190px;
  margin: 28px 0 24px;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(to bottom, transparent 0 46px, rgba(246, 240, 230, 0.06) 47px);
}

.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart path.line { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.chart path.area { fill: url(#area); }

.dashboard-foot > div { display: grid; gap: 4px; }
.dashboard-foot span { color: var(--dim); font-size: 11px; }
.dashboard-foot b { font-size: 18px; }

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-inner { width: var(--page); margin: 0 auto; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 48px;
}

.section h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-head p { margin-bottom: 0; color: var(--muted); font-size: 17px; }

.pain-grid,
.feature-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.pain-card,
.feature-card,
.link-card {
  min-height: 250px;
  padding: 28px;
  background: rgba(10, 13, 11, 0.94);
}

.pain-card > span,
.feature-card > span,
.module-card > span,
.update-card time {
  color: var(--green);
  font: 10px/1.4 var(--font-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pain-card h3,
.feature-card h3,
.link-card h3,
.module-card h2,
.update-card h2 {
  margin: 42px 0 12px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.pain-card p,
.feature-card p,
.link-card p,
.module-card p,
.update-card p { margin-bottom: 0; color: var(--muted); }

.pain-card b {
  display: block;
  margin-top: 20px;
  color: var(--green);
  font-size: 14px;
}

.feature-grid { grid-template-columns: repeat(2, 1fr); }
.feature-card { min-height: 220px; }
.feature-card h3 { margin-top: 34px; }

.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.workflow article {
  min-height: 280px;
  padding: 30px 28px 24px 0;
  border-right: 1px solid var(--line);
}

.workflow article + article { padding-left: 28px; }
.workflow article:last-child { border-right: 0; }
.workflow span { color: var(--dim); font: 11px/1 var(--font-mono); }
.workflow h3 { margin: 70px 0 12px; font-size: 23px; letter-spacing: -0.03em; }
.workflow p { color: var(--muted); }

.price-band {
  width: var(--page);
  margin: 0 auto;
  padding: 54px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr auto;
  align-items: center;
  gap: 48px;
  border: 1px solid rgba(120, 220, 161, 0.36);
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(10, 170, 102, 0.12), rgba(246, 240, 230, 0.03));
  box-shadow: 0 0 80px rgba(10, 170, 102, 0.08);
}

.price-band strong {
  display: block;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.price-band strong small { font-size: 0.28em; letter-spacing: 0; color: var(--muted); }
.price-band p { margin: 0; color: var(--muted); }
.price-band p b { color: var(--ink); }

.note {
  width: var(--page);
  margin: 18px auto 0;
  color: var(--dim);
  font-size: 12px;
  text-align: center;
}

.link-grid { grid-template-columns: repeat(4, 1fr); }
.link-card { min-height: 210px; }
.link-card h3 { margin-top: 26px; font-size: 20px; }
.link-card b { display: inline-block; margin-top: 20px; color: var(--green); font-size: 13px; }

.module-list,
.updates-list { display: grid; gap: 14px; }

.module-card,
.update-card {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 19, 16, 0.72);
}

.module-card h2,
.update-card h2 { margin-top: 16px; }
.module-card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.module-card li + li { margin-top: 7px; }
.module-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.module-meta i { padding: 6px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-style: normal; font-size: 11px; }
.status-dev { color: var(--amber) !important; }

.prose {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.prose h2 { max-width: none; margin: 64px 0 20px; color: var(--ink); font-size: 38px; }
.prose strong { color: var(--ink); }

.seo-footer {
  width: var(--page);
  margin: 90px auto 0;
  padding: 32px 0 42px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.seo-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.seo-footer a:hover { color: var(--green); }

.not-found {
  width: var(--page);
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.not-found-code {
  color: rgba(120, 220, 161, 0.88);
  font: 800 clamp(110px, 21vw, 280px)/0.8 var(--font-main);
  letter-spacing: -0.09em;
  text-shadow: 0 0 90px rgba(10, 170, 102, 0.3);
}

.not-found h1 { font-size: clamp(48px, 6vw, 78px); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .seo-nav { grid-template-columns: 1fr auto; }
  .page-hero { grid-template-columns: 1fr; gap: 48px; min-height: auto; }
  .dashboard-card { width: min(620px, 100%); }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .pain-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .price-band { grid-template-columns: 1fr; gap: 24px; }
  .link-grid { grid-template-columns: 1fr 1fr; }
  .module-card,
  .update-card { grid-template-columns: 1fr; gap: 18px; }
  .not-found { grid-template-columns: 1fr; gap: 24px; align-content: center; }
  .not-found-code { font-size: 150px; }
}

@media (max-width: 560px) {
  :root { --page: calc(100% - 40px); }
  .seo-header,
  .seo-nav { min-height: 64px; }
  .seo-nav > .button { min-height: 40px; padding: 0 13px; font-size: 13px; }
  .breadcrumbs { padding-top: 20px; }
  .page-hero { padding: 54px 0 70px; }
  h1 { font-size: clamp(46px, 14vw, 62px); }
  .hero-actions { display: grid; }
  .dashboard-card { padding: 19px; border-radius: 20px; }
  .chart { height: 150px; }
  .section { padding: 72px 0; }
  .section h2 { font-size: clamp(39px, 11vw, 50px); }
  .feature-grid,
  .link-grid { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: 1fr; }
  .workflow article,
  .workflow article + article { min-height: 0; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .workflow h3 { margin-top: 40px; }
  .price-band { width: calc(100% - 24px); padding: 30px 24px; }
  .module-card,
  .update-card { padding: 25px; }
  .seo-footer { grid-template-columns: 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  .dashboard-card { animation: card-in 700ms cubic-bezier(.2,.75,.2,1) both; }
  .chart path.line { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: line-in 1100ms 250ms ease forwards; }
  @keyframes card-in { from { opacity: 0; transform: translateY(24px); } }
  @keyframes line-in { to { stroke-dashoffset: 0; } }
}
