@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,700;1,6..72,400&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --bg: #0e0e0e;
  --surface: rgba(25, 26, 26, 0.72);
  --surface-strong: #1f2020;
  --surface-highest: #252626;
  --text: #e7e5e5;
  --muted: #acabab;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #dfc29f;
  --accent-deep: #d0b493;
  --ink: #f0ece4;
  --forest: #4a7c59;
  --sand: #574329;
  --success: #b0e7bd;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(223, 194, 159, 0.06), transparent 26%),
    radial-gradient(circle at 90% 20%, rgba(74, 124, 89, 0.05), transparent 22%),
    linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
}

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

code {
  padding: 0 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 0.95em;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(22px);
  background: rgba(14, 14, 14, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
}

.brand-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #c8a070);
  color: #1a1200;
  font-family: "Newsreader", serif;
  font-size: 22px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.nav-actions {
  display: flex;
  gap: 12px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, filter 180ms ease, background 180ms ease;
}

.button {
  background: linear-gradient(135deg, var(--accent), #c8a070);
  color: #1a1200;
  box-shadow: 0 18px 30px rgba(223, 194, 159, 0.12);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.button.is-disabled,
.button-secondary.is-disabled {
  cursor: not-allowed;
  opacity: 0.56;
  pointer-events: none;
  box-shadow: none;
}

.button.is-fallback,
.button-secondary.is-fallback {
  background: linear-gradient(135deg, var(--forest), #2d6b48);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 30px rgba(74, 124, 89, 0.14);
}

.hero {
  padding: 62px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 30px;
  align-items: stretch;
}

.hero-copy {
  padding: 10px 0;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(56px, 8vw, 90px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hero h1 span,
.page-hero h1 span {
  color: var(--accent);
  font-style: italic;
}

.lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.hero-panel,
.card,
.pricing-card,
.faq-card,
.signal-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  padding: 24px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(223, 194, 159, 0.06), transparent 30%),
    radial-gradient(circle at left bottom, rgba(74, 124, 89, 0.05), transparent 25%),
    linear-gradient(180deg, rgba(25, 26, 26, 0.92), rgba(20, 20, 20, 0.78));
}

.browser {
  overflow: hidden;
  border-radius: 24px;
  background: #141312;
  color: #f7f0e7;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.browser-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  min-height: 420px;
}

.watch-stage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(223, 194, 159, 0.1), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(74, 124, 89, 0.08), transparent 28%),
    linear-gradient(135deg, #1a1918, #0f0f10);
}

.watch-stage::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 20px);
}

.watch-stage-copy {
  position: absolute;
  left: 32px;
  bottom: 30px;
  z-index: 1;
}

.watch-stage-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 30px;
}

.watch-stage-copy span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.watch-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 9, 10, 0.92);
}

.mini-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.mini-card h3 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.mini-tile {
  min-height: 98px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 40%),
    #080808;
}

.mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.section {
  padding: 34px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 20px;
}

.section-head h2,
.page-hero h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.section-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.cards-3,
.pricing-grid,
.signal-grid,
.faq-grid,
.seo-grid {
  display: grid;
  gap: 18px;
}

.cards-3,
.signal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seo-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.card,
.pricing-card,
.faq-card,
.signal-panel {
  padding: 22px;
  border-radius: var(--radius-xl);
}

.card h3,
.pricing-card h3,
.signal-panel h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--ink);
}

.card p,
.pricing-card p,
.signal-panel p,
.page-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.statline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.stat {
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 22px;
  color: var(--accent);
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pricing-card.is-featured {
  background:
    radial-gradient(circle at top right, rgba(223, 194, 159, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(31, 32, 32, 0.95), rgba(25, 26, 26, 0.82));
  border-color: rgba(223, 194, 159, 0.28);
}

.pricing-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(74, 124, 89, 0.14);
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 18px 0 12px;
}

.price strong {
  font-size: 48px;
  line-height: 0.9;
  color: var(--ink);
}

.price span {
  color: var(--muted);
  font-size: 14px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #c8a070);
}

.pricing-note,
.fineprint,
.config-callout span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.pricing-note {
  margin-top: 16px;
}

.config-callout {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(74, 124, 89, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(74, 124, 89, 0.06), transparent 38%),
    rgba(25, 26, 26, 0.82);
}

.config-callout strong {
  font-size: 15px;
  color: var(--ink);
}

.token-callout {
  margin-top: 0;
}

.token-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.token-input {
  min-width: min(100%, 520px);
  flex: 1 1 320px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--accent);
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 13px;
}

.signal-panel {
  background:
    radial-gradient(circle at top left, rgba(74, 124, 89, 0.06), transparent 34%),
    var(--surface);
}

.comparison {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
}

.comparison table {
  width: 100%;
  border-collapse: collapse;
}

.comparison th,
.comparison td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.comparison th {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.faq-card details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq-card details:first-child {
  padding-top: 0;
}

.faq-card details:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card p {
  margin-top: 12px;
}

.cta-band {
  padding: 32px 0 76px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  padding: 28px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(223, 194, 159, 0.08), transparent 36%),
    linear-gradient(135deg, #1a1918, #111110);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.cta-panel h2 {
  font-family: "Newsreader", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.cta-panel p {
  color: rgba(231, 229, 229, 0.6);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.site-footer {
  padding: 0 0 34px;
}

.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer a:hover {
  color: var(--text);
}

.page-hero {
  padding: 52px 0 22px;
}

.page-hero .lead {
  max-width: 760px;
}

.grid-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.brand-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.legal-stack {
  display: grid;
  gap: 14px;
}

.legal-stack .card {
  background: var(--surface-strong);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #c8a070);
  color: #1a1200;
  font-family: "Newsreader", serif;
  font-size: 18px;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--ink);
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.mockup-ext {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, #161616, #0e0e0e);
  border: 1px solid var(--line);
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.mockup-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mockup-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.mockup-title {
  font-family: "Newsreader", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.mockup-sub {
  font-size: 13px;
  color: var(--muted);
}

.mockup-actions {
  display: flex;
  gap: 8px;
}

.mockup-btn {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.mockup-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.mockup-card h4 {
  margin: 0 0 6px;
  font-family: "Newsreader", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.mockup-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.mockup-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.mockup-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.mockup-pill.is-active {
  background: rgba(74, 124, 89, 0.16);
  border-color: rgba(74, 124, 89, 0.3);
  color: var(--success);
}

.mockup-notification {
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(223, 194, 159, 0.08);
  border: 1px solid rgba(223, 194, 159, 0.12);
  color: var(--accent);
  font-size: 13px;
}

.mockup-input-row {
  display: flex;
  gap: 10px;
}

.mockup-input {
  flex: 1;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 14px;
}

.mockup-cta {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent), #c8a070);
  color: #1a1200;
  font-size: 14px;
  font-weight: 700;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: rgba(74, 124, 89, 0.14);
  border: 1px solid rgba(74, 124, 89, 0.2);
}

.success-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--success);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  text-align: center;
}

.success-card h2 {
  margin: 0 0 8px;
  font-family: "Newsreader", serif;
  font-size: 32px;
  color: var(--ink);
}

.success-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .hero-grid,
  .cards-3,
  .pricing-grid,
  .signal-grid,
  .faq-grid,
  .seo-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .browser-layout {
    grid-template-columns: 1fr;
  }

  .watch-sidebar {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header .shell,
  .nav,
  .nav-actions,
  .hero-actions,
  .hero-meta,
  .section-head,
  .token-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .statline,
  .mini-grid,
  .comparison {
    grid-template-columns: 1fr;
  }

  .comparison {
    overflow: auto;
  }

  .shell {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero h1,
  .page-hero h1 {
    font-size: 48px;
  }
}
