
:root {
  --paper: #f7f5ee;
  --paper-dark: #e6ece3;
  --ink: #17382f;
  --white: #fffdf8;
  --accent: #3d735a;
  --accent-light: #dce8d8;
  --accent-mid: #aac3ae;
  --muted: #617269;
  --border: #bdc9c0;
  --line: 1px solid var(--border);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--accent-light); padding: .75rem 1rem; border: var(--line); font-weight: 700; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; font-size: .82rem; font-weight: 750; letter-spacing: .11em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ink); color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.08em; }
nav { display: flex; align-items: center; gap: 1.8rem; }
nav a { font-size: .82rem; font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { background: var(--ink); color: var(--white); border: 1px solid var(--ink); padding: .68rem 1rem; border-radius: 2px; }

main { overflow: hidden; }
.hero {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 700px;
  padding: 104px 0 96px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 84px;
  align-items: center;
}
.hero > * { min-width: 0; }
.eyebrow, .section-index, .tool-label, .limit-kicker, .plan-state, .endpoint-label {
  margin: 0 0 1.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .74rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { display: inline-block; color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.8rem; max-width: 720px; font-size: clamp(3.5rem, 6.4vw, 6rem); line-height: .94; letter-spacing: -.06em; font-weight: 680; }
h1 em { font-family: Georgia, serif; font-weight: 400; }
.hero-lede { max-width: 660px; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.58; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.3rem 0; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .9rem 1.15rem; border: 1px solid var(--ink); border-radius: 2px; font-weight: 700; text-decoration: none; transition: background-color .15s, color .15s; }
.button:hover { background: var(--accent-light); color: var(--ink); }
.button-primary { background: var(--ink); color: var(--white); }
.button-secondary { background: transparent; }
.truth-strip { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 2.4rem 0 0; padding: 1.1rem 0 0; border-top: var(--line); list-style: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .69rem; font-weight: 650; text-transform: uppercase; }
.truth-strip li::before { content: "●"; margin-right: .45rem; color: var(--accent); }

.compiler-card { position: relative; background: var(--white); border: var(--line); border-radius: 8px; padding: 1.5rem; box-shadow: 0 18px 45px rgba(23, 56, 47, .08); }
.card-topline { display: flex; justify-content: space-between; border-bottom: var(--line); padding: 0 0 1rem; margin-bottom: .4rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .65rem; font-weight: 700; }
.status-dot::before { content: "●"; color: var(--accent); margin-right: .45rem; }
.flow-row { display: grid; grid-template-columns: 46px 1fr; align-items: center; min-height: 82px; border-bottom: var(--line); padding: .8rem .5rem; }
.flow-number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); font-size: .75rem; }
.flow-row strong { display: block; font-size: 1.02rem; }
.flow-row small { display: block; color: var(--muted); margin-top: .2rem; }
.accent-row { margin: .4rem 0; background: var(--accent-light); border: 0; border-radius: 4px; }
.output-row { margin-top: .4rem; background: var(--ink); color: var(--white); border: 0; border-radius: 4px; }
.output-row .flow-number, .output-row small { color: var(--accent-mid); }
.flow-connector { display: none; }
.hash-line { margin: 1rem 0 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .68rem; text-align: center; color: var(--muted); }

.statement { background: var(--accent-light); padding: 96px max(20px, calc((100vw - var(--max)) / 2)); }
.statement h2 { max-width: 1020px; margin-bottom: 1.8rem; font-family: Georgia, serif; font-size: clamp(2.2rem, 4.4vw, 4.4rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 400; }
.statement > p:last-child { max-width: 700px; margin: 0; color: var(--muted); font-size: 1.2rem; }

.value-section, .limits-section, .how-section, .pricing-section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 104px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.section-heading h2, .limits-intro h2, .how-section > h2, .connect-section h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.7rem, 5.3vw, 5rem); line-height: 1; letter-spacing: -.045em; font-weight: 400; }
.section-note { max-width: 420px; margin: 0; color: var(--muted); font-size: .98rem; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: var(--line); border-left: var(--line); }
.value-card { min-height: 360px; display: flex; flex-direction: column; padding: 2.2rem; border-right: var(--line); border-bottom: var(--line); }
.value-card h3 { max-width: 470px; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.02; letter-spacing: -.045em; }
.value-card > p:not(.tool-label) { max-width: 520px; font-size: 1.05rem; }
.reality { margin-top: auto; border-top: 1px solid currentColor; padding-top: 1rem; font-size: .88rem; }
.card-yellow { background: var(--white); }
.card-blue { background: var(--accent-light); color: var(--ink); }
.card-coral { background: var(--paper-dark); }
.card-ink { background: var(--ink); color: var(--white); }

.limits-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.limits-intro { position: sticky; top: 2rem; }
.limits-intro p:last-child { max-width: 410px; margin-top: 1.5rem; font-size: 1.08rem; color: var(--muted); }
.limit-board { border: var(--line); }
.limit-column { padding: 2rem; }
.limit-column + .limit-column { border-top: var(--line); }
.limit-column ul { margin: 0; padding: 0; list-style: none; }
.limit-column li { position: relative; padding: 1rem 0 1rem 2rem; border-top: var(--line); }
.limit-column li::before { position: absolute; left: 0; font-weight: 900; }
.now-column { background: var(--white); }
.now-column li::before { content: "+"; }
.not-column { background: var(--ink); color: var(--white); }
.not-column li { border-color: #547065; }
.not-column li::before { content: "×"; color: var(--accent-mid); }

.how-section { border-top: var(--line); }
.steps { margin: 4rem 0 3rem; padding: 0; list-style: none; border-top: var(--line); }
.steps li { display: grid; grid-template-columns: 120px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: var(--line); }
.steps li > span { font-family: Georgia, serif; font-size: 4rem; line-height: 1; font-style: italic; }
.steps h3 { margin-bottom: .45rem; font-size: 1.7rem; }
.steps p { max-width: 700px; margin: 0; color: var(--muted); }
.precedence { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; background: var(--accent-light); color: var(--ink); padding: 1.5rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem; font-weight: 700; }
.precedence b { color: var(--accent); font-size: 1.3rem; }

.pricing-section { border-top: var(--line); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--line); border-left: var(--line); }
.price-card { min-height: 590px; display: flex; flex-direction: column; padding: 2.2rem; border-right: var(--line); border-bottom: var(--line); background: var(--white); }
.future-plan { background: var(--accent-light); }
.enterprise-plan { background: var(--paper-dark); }
.price-card h3 { font-size: 2rem; margin-bottom: 1rem; }
.price { margin: 0; font-size: 5.6rem; line-height: .9; font-weight: 900; letter-spacing: -.08em; }
.price span { font-size: 1.5rem; vertical-align: top; }
.price small { font-size: .78rem; letter-spacing: 0; margin-left: .4rem; }
.price-custom { font-size: 3.4rem; letter-spacing: -.04em; }
.price-note { min-height: 64px; margin: 1.2rem 0 1.5rem; color: var(--muted); }
.price-card ul { margin: 0 0 2rem; padding: 1rem 0 0; border-top: 1px solid var(--ink); list-style: none; }
.price-card li { padding: .45rem 0; }
.price-card li::before { content: "·"; margin-right: .6rem; }
.text-link { margin-top: auto; font-weight: 900; text-underline-offset: 4px; }
.muted-link { color: var(--muted); text-decoration: none; }

.connect-section { background: var(--ink); color: var(--white); padding: 112px max(20px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; }
.connect-section > div:first-child > p:last-child { max-width: 500px; margin-top: 2rem; }
.light-index { color: var(--accent-mid); }
.connect-panel { background: var(--white); color: var(--ink); border: 0; border-radius: 8px; padding: 2.2rem; }
.connect-panel code { display: block; overflow-wrap: anywhere; background: var(--accent-light); color: var(--ink); padding: 1rem; border-radius: 3px; font-size: clamp(.88rem, 2vw, 1.15rem); }
.connect-panel ol { padding-left: 1.4rem; margin: 1.5rem 0; }
.connect-panel li { padding: .35rem 0 .35rem .4rem; }
.prompt-box { background: var(--paper-dark); border: var(--line); padding: 1rem; }
.prompt-box span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.prompt-box p { margin: .6rem 0 0; font-weight: 750; }
.connect-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.connect-links a { font-size: .82rem; font-weight: 850; text-underline-offset: 4px; }

footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; min-height: 150px; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
footer p { margin: 0; color: var(--muted); text-align: center; font-size: .84rem; }
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a { font-size: .78rem; font-weight: 800; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 72px; padding-top: 70px; }
  .compiler-card { max-width: 620px; }
  .section-heading { align-items: start; flex-direction: column; }
  .limits-section { grid-template-columns: 1fr; }
  .limits-intro { position: static; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: auto; }
  .text-link { margin-top: 1.5rem; }
  .connect-section { grid-template-columns: 1fr; gap: 3rem; }
  footer { grid-template-columns: 1fr; padding: 2.5rem 0; text-align: center; }
  .footer-brand, .footer-links { justify-content: center; }
}

@media (max-width: 640px) {
  .site-header, .hero, .value-section, .limits-section, .how-section, .pricing-section, footer { width: min(calc(100% - 28px), var(--max)); }
  .site-header { min-height: 68px; }
  .site-header nav { display: none; }
  .hero { min-height: auto; padding: 60px 0 76px; }
  h1 { overflow-wrap: break-word; font-size: clamp(3rem, 15vw, 4.5rem); }
  .actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .truth-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .compiler-card { width: 100%; margin-left: 0; box-shadow: 0 12px 30px rgba(23, 56, 47, .07); }
  .statement, .connect-section { padding-left: 14px; padding-right: 14px; }
  .value-section, .limits-section, .how-section, .pricing-section { padding: 78px 0; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 340px; padding: 1.4rem; }
  .limit-column, .price-card, .connect-panel { padding: 1.35rem; }
  .steps li { grid-template-columns: 62px 1fr; gap: 1rem; }
  .steps li > span { font-size: 3rem; }
  .precedence { justify-content: flex-start; gap: .65rem; }
  .connect-links { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
