:root {
  color-scheme: light;
  --black: #241914;
  --panel: #30221b;
  --paper: #f3ebdd;
  --white: #fbf7f0;
  --ink: #2c2019;
  --muted: #76685d;
  --line: #d8c7b3;
  --accent: #7b4f35;
  --accent-dark: #633c29;
  --orange: #b96d35;
  --green: #617249;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 64px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  letter-spacing: 0;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid #49382f;
  background: rgba(44, 32, 25, 0.94);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.brand img { border-radius: 7px; }

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

nav a { color: #d8cabb; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--white); }

.header-download {
  padding: 8px 12px;
  border: 1px solid #6a5549;
  border-radius: 7px;
}

.hero {
  position: relative;
  height: calc(100svh - 88px);
  min-height: 620px;
  max-height: 860px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 46%;
  z-index: -1;
  background: var(--panel);
  border-left: 1px solid #4a382f;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 47vw);
  padding: 86px 0 0 max(40px, calc((100vw - 1240px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: #bfae9f;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 84px;
  font-weight: 760;
  line-height: 0.95;
}

.hero-lede {
  max-width: 540px;
  margin-bottom: 16px;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.15;
}

.hero-detail {
  max-width: 500px;
  color: #cfc2b6;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.download-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: var(--white);
  flex: 0 0 auto;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.download-button:hover, .download-button:focus-visible { background: var(--accent-dark); }
.text-link { color: #ddcfc1; font-size: 14px; text-decoration: none; }
.text-link:hover, .text-link:focus-visible { color: var(--white); }

.requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: 16px;
  color: #a39183;
  font-family: var(--mono);
  font-size: 11px;
}

.requirements span { white-space: nowrap; }
.requirements span:not(:last-child)::after { content: "·"; margin: 0 10px; }

.hero-product {
  position: absolute;
  z-index: 1;
  top: 28px;
  right: max(20px, calc((100vw - 1240px) / 2));
  width: 480px;
  height: auto;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.42));
}

.hero-facts {
  position: absolute;
  z-index: 3;
  left: max(40px, calc((100vw - 1240px) / 2));
  bottom: 28px;
  display: flex;
  gap: 34px;
  color: #ad9b8d;
  font-family: var(--mono);
  font-size: 11px;
}

.hero-facts b { color: var(--white); font-size: 13px; }

.statement,
.privacy {
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;
  padding: 112px 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 56px;
  font-size: 54px;
  line-height: 1.06;
}

.signal-list { border-top: 1px solid var(--line); }

.signal-list article {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.signal-list h3 { margin: 0; font-size: 20px; }
.signal-list p { margin: 0; color: var(--muted); }
.signal-number { color: var(--accent); font-family: var(--mono); font-size: 12px; }

.capabilities {
  padding: 104px max(40px, calc((100vw - 1160px) / 2));
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 64px;
  align-items: end;
}

.section-heading .section-kicker { grid-column: 1 / -1; margin-bottom: -28px; }
.section-heading h2 { margin-bottom: 44px; }
.section-heading > p { margin-bottom: 50px; color: var(--muted); font-size: 17px; }
.capability-list { border-top: 1px solid var(--line); }

.capability-list article {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.capability-index { color: var(--accent); font-family: var(--mono); font-size: 11px; }
.capability-list h3 { margin: 0 0 3px; font-size: 19px; }
.capability-list p { margin: 0; color: var(--muted); }
.status { font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.status.live { color: var(--green); }
.status.planned { color: var(--orange); }

.providers {
  padding: 104px max(40px, calc((100vw - 1160px) / 2));
  background: var(--black);
  color: var(--white);
}

.providers h2 { margin-bottom: 44px; }
.provider-list { border-top: 1px solid #58463b; }

.provider-list article {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr auto;
  gap: 48px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid #58463b;
}

.provider-list article > div { display: flex; align-items: center; gap: 16px; }
.provider-list h3 { margin: 0; font-size: 20px; }
.provider-list p { margin: 0; color: #c9baad; }
.provider-mark { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 7px; background: #443229; font-family: var(--mono); font-size: 13px; }
.provider-mark.claude { color: #d58b50; }
.provider-mark.codex { color: #d8c2ad; }
.provider-mark.future { color: #9e8b7d; }
.provider-source { color: #afc08d; font-family: var(--mono); font-size: 10px; text-transform: uppercase; white-space: nowrap; }
.provider-source.planned { color: #d69461; }

.instrument {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
  min-height: 760px;
  padding: 80px max(40px, calc((100vw - 1160px) / 2));
  overflow: hidden;
  background: #e6d7c5;
}

.instrument h2 { margin-bottom: 24px; }
.instrument-copy > p { max-width: 500px; color: #66574d; font-size: 18px; }

.instrument dl { display: grid; grid-template-columns: 1fr auto; margin: 42px 0 0; border-top: 1px solid #c9b59e; }
.instrument dt, .instrument dd { padding: 16px 0; border-bottom: 1px solid #c9b59e; }
.instrument dt { font-weight: 700; }
.instrument dd { margin: 0; color: #66574d; font-family: var(--mono); font-size: 12px; }
.instrument dd.claude { color: #a65f2c; }
.instrument dd.codex { color: var(--accent); }
.instrument img { width: 430px; height: auto; justify-self: center; filter: drop-shadow(0 24px 48px rgba(61, 39, 28, 0.24)); }

.privacy-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.privacy-grid p { color: #58483f; font-size: 22px; line-height: 1.45; }
.privacy-grid ul { margin: 0; padding: 0; list-style: none; }
.privacy-grid li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.privacy-grid li span { margin-right: 10px; color: var(--green); }

.pricing {
  padding: 104px max(40px, calc((100vw - 1160px) / 2));
  background: #eadfce;
}

.plan-list { border-top: 1px solid #c9b59e; }
.plan-list article { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; padding: 28px 0; border-bottom: 1px solid #c9b59e; }
.plan-list article > div { display: flex; justify-content: space-between; gap: 20px; }
.plan-list span { font-size: 20px; font-weight: 700; }
.plan-list strong { color: var(--accent); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.plan-list p { margin: 0; color: var(--muted); }
.pricing-note { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 13px; }

.faq {
  padding: 104px max(40px, calc((100vw - 1160px) / 2));
  background: var(--paper);
}

.faq h2 { margin-bottom: 44px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--accent); font-family: var(--mono); font-weight: 400; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 760px; margin: -4px 0 26px; color: var(--muted); }

.download {
  padding: 104px 40px;
  background: var(--accent);
  color: var(--white);
  text-align: center;
}

.download .eyebrow { color: #e9daca; }
.download h2 { margin: 0 auto 34px; }
.download-button.light { border-color: var(--white); background: var(--white); color: var(--accent-dark); }
.download > p:not(.eyebrow) { margin: 18px auto 10px; color: #e9daca; font-size: 13px; }
.download .install-note { max-width: 680px; }
.apple-help, .checksum { display: inline-block; margin: 0 8px; color: #e9daca; font-family: var(--mono); font-size: 11px; }

footer {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(40px, calc((100vw - 1160px) / 2));
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
}

footer .brand { color: var(--ink); }

@media (max-width: 1100px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 900px) {
  .site-header { padding: 0 20px; }
  nav a:not(.header-download) { display: none; }
  .hero-copy { width: 58vw; padding-left: 28px; }
  h1 { font-size: 62px; }
  .hero-lede { font-size: 25px; }
  .hero-detail { font-size: 15px; }
  .hero-product { right: -92px; width: 430px; }
  .hero-facts { left: 28px; }
  .section-heading { grid-template-columns: 1fr; gap: 0; }
  .section-heading .section-kicker { grid-column: auto; margin-bottom: 20px; }
  .section-heading h2 { margin-bottom: 24px; }
  .section-heading > p { margin-bottom: 44px; }
  .provider-list article { grid-template-columns: 1fr 1fr; gap: 24px; }
  .provider-source { grid-column: 2; }
  .instrument { grid-template-columns: 1fr 360px; gap: 30px; }
  .instrument img { width: 360px; }
}

@media (max-width: 680px) {
  .site-header { height: 56px; }
  .header-download { display: none; }
  .hero { height: calc(100svh - 72px); min-height: 620px; }
  .hero::after { inset: 54% 0 0; border-top: 1px solid #4a382f; border-left: 0; }
  .hero-copy { width: auto; padding: 48px 24px 0; }
  .eyebrow { margin-bottom: 14px; }
  h1 { font-size: 50px; }
  .hero-lede { width: 90%; font-size: 23px; }
  .hero-detail { width: 88%; font-size: 14px; }
  .hero-actions { margin-top: 22px; }
  .text-link { display: none; }
  .requirements { max-width: 320px; }
  .hero-product { top: auto; right: -12px; bottom: -248px; width: 300px; }
  .hero-facts { right: 24px; bottom: 18px; left: 24px; justify-content: space-between; gap: 8px; }
  .hero-facts span:not(:first-child) { display: none; }
  .statement, .privacy { width: calc(100% - 40px); padding: 80px 0; }
  h2 { margin-bottom: 38px; font-size: 38px; }
  .signal-list article { grid-template-columns: 44px 1fr; gap: 14px; }
  .signal-list p { grid-column: 2; }
  .capabilities, .providers, .faq { padding: 80px 20px; }
  .capability-list article { grid-template-columns: 38px 1fr auto; gap: 12px; }
  .provider-list article { grid-template-columns: 1fr; gap: 12px; }
  .provider-source { grid-column: auto; }
  .instrument { grid-template-columns: 1fr; padding: 72px 20px 0; }
  .instrument img { width: 320px; max-width: 100%; }
  .privacy-grid { grid-template-columns: 1fr; gap: 32px; }
  .privacy-grid p { font-size: 19px; }
  .pricing { padding: 80px 20px; }
  .plan-list article { grid-template-columns: 1fr; gap: 16px; }
  .faq summary { font-size: 17px; }
  .download { padding: 80px 20px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding: 30px 20px; }
}

@media (max-height: 720px) and (max-width: 680px) {
  .hero { min-height: 560px; }
  .hero-detail { display: none; }
  .hero-product { bottom: -290px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
