:root {
  color-scheme: light;
  --ink: #15201c;
  --muted: #5f6b66;
  --line: #d9e2de;
  --paper: #f7faf8;
  --white: #ffffff;
  --green: #10a66a;
  --green-dark: #06704d;
  --blue: #2368d8;
  --amber: #d88716;
  --charcoal: #202a27;
  --shadow: 0 24px 70px rgba(21, 32, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(247, 250, 248, 0.92);
  border-bottom: 1px solid rgba(217, 226, 222, 0.85);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.proof-row,
.hero-actions,
.stream-topline,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 12px;
}

.nav-links {
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
}

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

.header-cta {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  font-size: 14px;
  font-weight: 680;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  min-height: calc(88svh - 72px);
  padding: clamp(46px, 7vw, 86px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 58px);
  background:
    linear-gradient(90deg, rgba(16, 166, 106, 0.08), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 72%);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-lede {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 760;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  background: var(--white);
  border-color: var(--line);
}

.proof-row {
  flex-wrap: wrap;
  gap: 10px;
}

.proof-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.hero-visual {
  position: relative;
  min-height: 590px;
}

.terminal-panel,
.stream-card,
.cost-meter,
.feature-card,
.price-card,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.terminal-panel {
  overflow: hidden;
}

.panel-bar {
  display: flex;
  gap: 7px;
  padding: 13px;
  background: #1d2522;
}

.panel-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ec655f;
}

.panel-bar span:nth-child(2) {
  background: #e6b54a;
}

.panel-bar span:nth-child(3) {
  background: #4dbb73;
}

pre {
  margin: 0;
  padding: 22px;
  overflow: auto;
  background: #202a27;
  color: #e8f1ed;
  font-size: 13px;
  line-height: 1.6;
}

.stream-card {
  position: absolute;
  right: 0;
  top: 220px;
  width: min(92%, 440px);
  padding: 22px;
}

.stream-topline {
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 760;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(16, 166, 106, 0.14);
}

.url-box {
  overflow-wrap: anywhere;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 7px;
  background: #edf4f1;
  color: #30413a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.ladder {
  display: grid;
  gap: 10px;
}

.ladder div {
  display: grid;
  grid-template-columns: 54px 1fr 78px;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: var(--muted);
  font-size: 13px;
}

.ladder div::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: var(--bar);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.ladder span {
  grid-column: 1;
}

.ladder strong {
  grid-column: 3;
  color: var(--ink);
  text-align: right;
}

.cost-meter {
  position: absolute;
  left: 8px;
  bottom: 14px;
  width: min(88%, 370px);
  padding: 18px;
  border-color: rgba(216, 135, 22, 0.38);
}

.cost-meter div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.cost-meter strong {
  color: var(--amber);
  font-size: 34px;
}

.meter-label {
  font-weight: 780;
}

.cost-meter p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.strip {
  padding-top: 26px;
  padding-bottom: 26px;
  background: var(--charcoal);
  color: #f3f8f5;
}

.strip p {
  max-width: 1060px;
  margin: 0 auto;
  font-size: clamp(19px, 2.4vw, 28px);
  line-height: 1.28;
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card,
.price-card {
  padding: 24px;
}

.feature-card {
  min-height: 238px;
  box-shadow: none;
}

.feature-card p,
.price-card li,
.cta-section p {
  color: var(--muted);
}

.card-icon {
  display: block;
  position: relative;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #e7f4ee;
}

.upload-icon::before,
.chunk-icon::before,
.limit-icon::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid var(--green-dark);
  border-radius: 4px;
}

.upload-icon::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 9px;
  width: 8px;
  height: 16px;
  border-top: 2px solid var(--green-dark);
  border-left: 2px solid var(--green-dark);
  transform: rotate(45deg);
}

.chunk-icon::before {
  box-shadow: 8px 8px 0 -2px #e7f4ee, 8px 8px 0 0 var(--blue);
}

.limit-icon::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 20px;
  width: 17px;
  height: 2px;
  background: var(--amber);
}

.workflow-section {
  background: #edf4f1;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.workflow-step {
  min-height: 240px;
  padding: 28px;
  background: var(--white);
}

.workflow-step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 34px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  font-weight: 780;
}

.pricing-section {
  background: var(--white);
}

.price-card {
  position: relative;
  box-shadow: none;
}

.price-card.highlighted {
  border-color: rgba(16, 166, 106, 0.55);
  box-shadow: 0 22px 60px rgba(16, 166, 106, 0.12);
}

.plan-label {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e7f4ee;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 780;
}

.price {
  margin-bottom: 22px;
  font-size: 42px;
  font-weight: 820;
}

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

ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 20px;
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 36px;
  align-items: start;
  background: #f1f0ea;
}

.cta-section h2 {
  max-width: 720px;
}

.signup-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  box-shadow: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(35, 104, 216, 0.22);
  outline-offset: 2px;
}

.form-note {
  margin: 0;
  font-size: 12px;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

  .hero-section {
    min-height: auto;
  }

  .hero-visual {
    min-height: 560px;
  }

  .comparison-grid,
  .pricing-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    padding-inline: 10px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-section {
    padding-top: 36px;
  }

  .hero-visual {
    min-height: 610px;
  }

  .terminal-panel,
  .stream-card,
  .cost-meter {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .cost-meter div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .ladder div {
    grid-template-columns: 48px 1fr 72px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
