:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #59655f;
  --line: #dbe3df;
  --paper: #f7f7f2;
  --panel: #ffffff;
  --lime: #bbf45c;
  --green: #0f8a63;
  --blue: #376cf5;
  --coral: #f36b57;
  --amber: #f6b84b;
  --shadow: 0 24px 70px rgba(20, 32, 28, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(187, 244, 92, 0.24), transparent 420px),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(219, 227, 223, 0.8);
  background: rgba(247, 247, 242, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-canvas {
  display: block;
  width: 44px;
  height: 44px;
}

.top-nav {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.top-nav a {
  border-radius: 999px;
  padding: 8px 12px;
}

.top-nav a:hover {
  background: #edf2ec;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(54px, 8vw, 100px) clamp(18px, 4vw, 54px) 40px;
}

.hero-copy {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.91;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 30px;
  color: #34413b;
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
}

.primary-button {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 28px rgba(23, 32, 28, 0.22);
}

.primary-button:hover {
  transform: translateY(-1px);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.panel-topline,
.signal-stack {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.panel-topline {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pulse-canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #cdd8d3;
  border-radius: 6px;
  background: #fdfef9;
}

.signal-stack {
  margin-top: 14px;
  flex-wrap: wrap;
}

.signal-stack div {
  flex: 1 1 130px;
  min-width: 0;
  border-left: 3px solid var(--lime);
  padding-left: 10px;
}

.signal-stack span,
.signal-stack strong {
  display: block;
}

.signal-stack span {
  color: var(--muted);
  font-size: 0.75rem;
}

.signal-stack strong {
  margin-top: 4px;
  font-size: 0.95rem;
}

.source-strip {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.source-strip span {
  min-height: 68px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.74);
  color: #33413b;
  font-weight: 800;
  text-align: center;
}

.section,
.method-section,
.brief-section,
.comparison-section,
.faq-section {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 4vw, 54px);
}

.section-heading {
  max-width: 930px;
  margin-bottom: 34px;
}

.feature-grid,
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.comparison-grid article {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.feature-card:nth-child(2) {
  background: #eff6ff;
}

.feature-card:nth-child(3) {
  background: #fff6e4;
}

.card-index {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-card p,
.comparison-grid p,
.method-copy p,
.method-item p,
.doc-grid p,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.method-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  background: #17201c;
  color: #f7f7f2;
}

.method-copy {
  max-width: 720px;
}

.method-copy p {
  color: #c6d1cc;
  font-size: 1.08rem;
}

.method-list {
  display: grid;
  gap: 12px;
}

.method-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.method-item span {
  color: var(--lime);
  font-weight: 900;
}

.method-item p {
  margin-bottom: 0;
  color: #dce5e1;
}

.brief-section {
  background:
    linear-gradient(90deg, rgba(55, 108, 245, 0.09), rgba(243, 107, 87, 0.08)),
    #ffffff;
}

.brief-document {
  max-width: 1160px;
  margin: 0 auto;
  border: 1px solid #cfd9d4;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 42px);
  background: #fdfef9;
  box-shadow: var(--shadow);
}

.doc-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.doc-header h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.doc-header span {
  align-self: start;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 850;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.doc-grid div {
  border-left: 4px solid var(--coral);
  padding: 4px 0 4px 16px;
}

.comparison-section {
  background: #edf2ec;
}

.comparison-grid article {
  min-height: 210px;
  background: #ffffff;
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 950px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer p {
  max-width: 520px;
  margin: 6px 0 0;
}

.site-footer a {
  font-weight: 850;
}

@media (max-width: 980px) {
  .hero,
  .method-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .source-strip,
  .feature-grid,
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.6rem);
  }

  .hero-panel {
    padding: 12px;
  }

  .signal-stack,
  .doc-header,
  .site-footer {
    flex-direction: column;
  }

  .source-strip,
  .feature-grid,
  .comparison-grid,
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .method-item {
    grid-template-columns: 1fr;
  }

  .source-strip span {
    min-height: 52px;
  }
}
