:root {
  --paper: #fbfbf8;
  --surface: #ffffff;
  --ink: #141915;
  --muted: #5f6861;
  --faint: #8f978f;
  --line: #e1e3dc;
  --accent: #b58b3b;
  --accent-soft: #f3e7c8;
  --accent-pale: #fff9e8;
  --panel: #f6f6f1;
  --shadow: 0 22px 70px rgba(20, 25, 21, 0.08);
  --font-sans: Aptos, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Roboto Mono", "Cascadia Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px 40px;
  border-bottom: 1px solid rgba(225, 227, 220, 0.82);
  background: rgba(251, 251, 248, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.mockup-topbar,
.site-footer,
.site-footer nav {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  position: relative;
  width: 28px;
  height: 22px;
  border: 1px solid rgba(20, 25, 21, 0.36);
  border-radius: 4px;
  background: linear-gradient(180deg, #f3dea2 0%, #d7b369 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -7px;
  width: 15px;
  height: 8px;
  border: 1px solid rgba(20, 25, 21, 0.32);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: #efd590;
}

.nav-links {
  justify-content: flex-end;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 4px;
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 760;
}

.nav-cta:hover {
  background: #263027;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 760;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:active,
.draft-actions button:active {
  transform: translateY(1px);
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
}

.button.primary:hover {
  background: #263027;
}

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

.button.secondary:hover {
  border-color: rgba(20, 25, 21, 0.34);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 76px;
  align-items: center;
  width: 100%;
  max-width: 1320px;
  min-height: 760px;
  margin: 0 auto;
  padding: 96px 40px 88px;
}

.hero-copy-block {
  min-width: 0;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #5f6f61;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 66px;
  line-height: 1.02;
  font-weight: 790;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 780;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.22;
  font-weight: 760;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: #333b35;
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions {
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.credibility {
  max-width: 520px;
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.product-mockup {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mockup-topbar {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}

.mockup-topbar span {
  color: var(--ink);
}

.mockup-topbar strong {
  color: #6d613f;
  font-size: 11px;
}

.question-card,
.answer-card,
.sources-card {
  margin: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffefa;
}

.question-card small,
.answer-card small,
.sources-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.question-card p,
.answer-card p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  overflow-wrap: break-word;
}

.answer-card {
  background: #f8faf5;
}

.answer-card p {
  color: #253128;
  font-weight: 520;
}

.sources-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sources-card li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: break-word;
}

.sources-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent-soft);
}

.draft-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 18px 18px;
}

.draft-actions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 730;
  text-align: left;
  cursor: default;
}

.draft-actions button::after {
  content: "->";
  color: var(--accent-soft);
  font-family: var(--font-mono);
}

.section {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 104px 40px;
}

.section-heading {
  max-width: 820px;
}

.section-heading.narrow {
  max-width: 920px;
}

.section-heading p:not(.eyebrow),
.early p,
.final-cta p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.problem-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.problem-body p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.pain-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 58px;
  border-top: 1px solid var(--line);
}

.pain-grid article,
.trust-grid article,
.use-grid article {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pain-grid article:nth-child(3n),
.trust-grid article:nth-child(3n) {
  border-right: 0;
}

.pain-grid p,
.trust-grid p,
.use-grid p,
.steps p,
.product-card p,
.origin-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.product {
  max-width: none;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product > * {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
  margin-top: 58px;
}

.product-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.ask-card {
  grid-row: span 2;
  background: var(--ink);
  color: #ffffff;
}

.ask-card p,
.ask-card strong {
  color: #ffffff;
}

.card-index {
  display: block;
  margin-bottom: 38px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.prompt-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.prompt-list p {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #eef2ed;
}

.how {
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 58px 0 0;
  margin: 0;
  list-style: none;
}

.steps li {
  min-height: 250px;
  padding: 24px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--line);
}

.steps li:last-child {
  border-right: 0;
}

.steps span {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 58px;
  border-top: 1px solid var(--line);
}

.use-grid article:nth-child(2n) {
  border-right: 0;
}

.use-grid a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
}

.origin {
  max-width: none;
  background: #f3f5ef;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.origin-card {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 70px;
  max-width: 1240px;
  margin: 0 auto;
}

.origin-heading {
  max-width: 480px;
}

.origin-copy {
  columns: 2;
  column-gap: 42px;
}

.origin-copy p:first-child {
  margin-top: 0;
}

.fit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 34px;
}

.fit-list span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

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

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

.trust-grid article {
  min-height: 220px;
}

.trust-grid article:nth-child(3n) {
  border-right: 1px solid var(--line);
}

.trust-grid article:last-child {
  border-right: 0;
}

.early {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 70px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.price-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.price-card span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-card strong {
  display: block;
  margin-top: 12px;
  font-size: 38px;
  line-height: 1;
}

.price-card p {
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 15px;
}

.price-card .button {
  width: 100%;
}

.final-cta {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 108px 40px;
  border-top: 1px solid var(--line);
}

.final-cta h2 {
  max-width: 780px;
}

.final-cta .button {
  margin-top: 32px;
}

.site-footer {
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding: 34px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

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

.site-footer nav {
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .hero,
  .origin-card,
  .early {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 48px;
  }

  .product-mockup {
    max-width: 720px;
  }

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

  .steps li,
  .trust-grid article,
  .trust-grid article:nth-child(3n) {
    min-height: 0;
    border-right: 0;
  }

  .origin-copy {
    columns: 1;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 18px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    gap: 8px 18px;
    font-size: 13px;
  }

  .hero,
  .section,
  .final-cta {
    padding: 66px 18px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.06;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy,
  .problem-body p,
  .section-heading p:not(.eyebrow),
  .early p,
  .final-cta p {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .product-mockup {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    border-radius: 6px;
  }

  .question-card,
  .answer-card,
  .sources-card {
    margin: 14px;
    padding: 15px;
  }

  .question-card p,
  .answer-card p {
    font-size: 16px;
  }

  .draft-actions {
    padding: 0 14px 14px;
  }

  .problem-body,
  .product-grid,
  .use-grid,
  .pain-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid article,
  .use-grid article {
    border-right: 0;
  }

  .product-card {
    padding: 24px;
  }

  .ask-card {
    grid-row: auto;
  }

  .steps li {
    padding: 22px 0;
  }

  .steps span {
    margin-bottom: 22px;
  }

  .origin-card {
    gap: 34px;
  }

  .early {
    gap: 36px;
  }

  .site-footer {
    flex-direction: column;
    padding: 30px 18px;
  }
}

@media (max-width: 480px) {
  .hero-copy-block,
  .product-mockup {
    justify-self: start;
    width: 100%;
    max-width: 354px;
  }

  .hero-copy,
  .credibility {
    max-width: 354px;
  }
}
