:root {
  --ink: #191b18;
  --paper: #f4f0e8;
  --paper-strong: #fffdf8;
  --saddle: #b8663c;
  --saddle-dark: #8f492b;
  --patina: #2f6f68;
  --graphite: #66695f;
  --rule: #d8d2c6;
  --rule-dark: #353932;
  --danger: #9b4b3f;
  --page: min(1200px, calc(100% - 40px));
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(216, 210, 198, 0.8);
  background: rgba(244, 240, 232, 0.94);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: var(--page);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand-word {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-word em {
  color: var(--saddle);
  font-style: normal;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #494c45;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--saddle-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rule);
  background: transparent;
  place-items: center;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 20px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.button {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--saddle);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--saddle-dark);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #30342d;
}

.button-ghost {
  border-color: var(--rule);
  background: transparent;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--ink);
}

.eyebrow,
.tech-label {
  margin: 0 0 14px;
  color: var(--saddle-dark);
  font-family: "IBM Plex Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  min-height: calc(100vh - 76px);
  border-bottom: 1px solid var(--rule);
  display: grid;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(25, 27, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 27, 24, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
}

.hero-grid {
  width: var(--page);
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: 70px;
  align-items: center;
  position: relative;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.hero-copy h1 span {
  color: var(--saddle);
}

.hero-lead {
  max-width: 620px;
  margin: 30px 0 0;
  color: #4e514a;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.hero-note {
  margin-top: 23px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--graphite);
  font-size: 12px;
  line-height: 1.5;
}

.hero-note::before {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--patina);
  content: "";
  flex: 0 0 auto;
}

.cad-stage {
  aspect-ratio: 1.06;
  padding: 34px;
  border: 1px solid var(--rule-dark);
  border-radius: 34px;
  color: var(--paper);
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.cad-stage::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 240, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 232, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
}

.cad-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.cad-toolbar strong {
  font-size: 13px;
  letter-spacing: -0.02em;
}

.cad-toolbar span {
  color: #aeb2a8;
  font-family: Menlo, Consolas, monospace;
  font-size: 10px;
}

.pattern-svg {
  width: 100%;
  height: auto;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.cad-status {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  padding: 12px 14px;
  border: 1px solid #4b5148;
  border-radius: 12px;
  color: #d7dbd1;
  background: rgba(25, 27, 24, 0.9);
  font-family: Menlo, Consolas, monospace;
  font-size: 10px;
  line-height: 1.7;
}

.cad-status b {
  color: #91c5b8;
  font-weight: 600;
}

.trust-strip {
  border-bottom: 1px solid var(--rule);
}

.trust-inner {
  width: var(--page);
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto repeat(4, 1fr);
  align-items: center;
  gap: 28px;
}

.trust-inner > span {
  color: var(--graphite);
  font-size: 12px;
}

.trust-item {
  padding-left: 18px;
  border-left: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
}

.trust-item i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--saddle);
}

.section {
  padding: 120px 0;
}

.section-shell {
  width: var(--page);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.65;
}

.problem-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
}

.problem-quote {
  padding: 34px;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.problem-quote blockquote {
  margin: 0;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.problem-quote small {
  margin-top: 44px;
  color: #aeb2a8;
  line-height: 1.5;
}

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

.problem-row {
  padding: 25px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
}

.problem-row > span {
  color: var(--saddle);
  font-family: Menlo, Consolas, monospace;
  font-size: 12px;
}

.problem-row h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.problem-row p {
  margin: 0;
  color: var(--graphite);
  line-height: 1.6;
}

.dark-section {
  color: var(--paper);
  background: var(--ink);
}

.dark-section .eyebrow {
  color: #d4865b;
}

.dark-section .section-heading p:not(.eyebrow) {
  color: #aeb2a8;
}

.workflow {
  counter-reset: workflow;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--rule-dark);
  background: var(--rule-dark);
}

.workflow-card {
  min-height: 340px;
  padding: 28px;
  background: var(--ink);
  counter-increment: workflow;
}

.workflow-card::before {
  color: #d4865b;
  content: "0" counter(workflow);
  font-family: Menlo, Consolas, monospace;
  font-size: 11px;
}

.workflow-card h3 {
  margin: 70px 0 14px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.workflow-card p {
  margin: 0;
  color: #aeb2a8;
  font-size: 14px;
  line-height: 1.65;
}

.workflow-card .output {
  margin-top: 24px;
  color: #d9ddd5;
  font-family: Menlo, Consolas, monospace;
  font-size: 10px;
}

.feature-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.feature-sticky {
  position: sticky;
  top: 120px;
}

.feature-sticky h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.feature-sticky p {
  max-width: 470px;
  margin: 22px 0 0;
  color: var(--graphite);
  line-height: 1.7;
}

.feature-list {
  border-top: 1px solid var(--rule);
}

.feature-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--saddle-dark);
  font-family: Menlo, Consolas, monospace;
  font-size: 11px;
}

.feature-item h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.feature-item p {
  margin: 9px 0 0;
  color: var(--graphite);
  line-height: 1.65;
}

.deliverable-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 16px;
}

.deliverable {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-strong);
  display: flex;
  flex-direction: column;
}

.deliverable:first-child {
  color: var(--paper);
  background: var(--saddle-dark);
  border-color: var(--saddle-dark);
}

.deliverable-number {
  color: currentColor;
  opacity: 0.65;
  font-family: Menlo, Consolas, monospace;
  font-size: 11px;
}

.deliverable h3 {
  margin: auto 0 12px;
  font-size: 27px;
  letter-spacing: -0.04em;
}

.deliverable p {
  margin: 0;
  color: var(--graphite);
  line-height: 1.6;
}

.deliverable:first-child p {
  color: #f0d6c6;
}

.honesty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
  border-radius: 24px;
  overflow: hidden;
}

.honesty-copy {
  padding: 54px;
  background: var(--paper-strong);
}

.honesty-copy h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.honesty-copy p {
  margin: 24px 0 0;
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.7;
}

.honesty-rules {
  padding: 54px;
  color: var(--paper);
  background: var(--ink);
}

.honesty-rule {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-dark);
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  color: #d9ddd5;
  line-height: 1.5;
}

.honesty-rule:first-child {
  padding-top: 0;
}

.honesty-rule span {
  color: #91c5b8;
}

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

.audience-card {
  padding: 28px;
  border-top: 3px solid var(--ink);
  background: var(--paper-strong);
}

.audience-card:nth-child(2) {
  border-color: var(--saddle);
}

.audience-card:nth-child(3) {
  border-color: var(--patina);
}

.audience-card h3 {
  margin: 0 0 14px;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.audience-card p {
  margin: 0;
  color: var(--graphite);
  line-height: 1.65;
}

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

.price-card {
  padding: 30px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.price-card.featured {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.price-card .tag {
  min-height: 22px;
  color: var(--saddle-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-card.featured .tag {
  color: #d4865b;
}

.price-card h3 {
  margin: 14px 0 0;
  font-size: 26px;
}

.price {
  margin: 28px 0;
  font-size: 14px;
}

.price strong {
  display: block;
  font-size: 38px;
  letter-spacing: -0.05em;
}

.price-card ul {
  min-height: 180px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.price-card li {
  padding: 8px 0;
  color: var(--graphite);
  font-size: 14px;
}

.price-card li::before {
  margin-right: 8px;
  color: var(--patina);
  content: "✓";
  font-weight: 800;
}

.price-card.featured li {
  color: #cbd0c7;
}

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

.faq-list {
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item button {
  width: 100%;
  padding: 24px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-size: 19px;
  font-weight: 700;
}

.faq-item button::after {
  color: var(--saddle);
  content: "+";
  font-size: 24px;
  font-weight: 400;
}

.faq-item.open button::after {
  content: "−";
}

.faq-answer {
  max-width: 780px;
  max-height: 0;
  overflow: hidden;
  color: var(--graphite);
  line-height: 1.7;
  transition: max-height 220ms ease, padding 220ms ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.cta-section {
  padding: 0 0 28px;
}

.cta {
  width: var(--page);
  min-height: 430px;
  margin: 0 auto;
  padding: 56px;
  border-radius: 30px;
  color: var(--paper);
  background: var(--saddle-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.cta::after {
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 360px;
  height: 280px;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 48% 52% 38% 62%;
  transform: rotate(-14deg);
  content: "";
}

.cta h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  position: relative;
  z-index: 2;
}

.cta-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.cta-bottom p {
  max-width: 530px;
  margin: 0;
  color: #f0d6c6;
  line-height: 1.6;
}

.site-footer {
  padding: 64px 0 32px;
  color: var(--paper);
  background: var(--ink);
}

.footer-grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 50px;
}

.footer-brand p {
  max-width: 300px;
  margin: 18px 0 0;
  color: #9fa39a;
  font-size: 13px;
  line-height: 1.6;
}

.footer-col h3 {
  margin: 0 0 18px;
  color: #cfd3ca;
  font-size: 12px;
  text-transform: uppercase;
}

.footer-col a {
  margin: 10px 0;
  display: block;
  color: #92968d;
  font-size: 13px;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-bottom {
  width: var(--page);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #777b73;
  font-size: 11px;
}

.legal-main {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 120px;
}

.legal-main h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.06em;
}

.legal-main h2 {
  margin-top: 48px;
  font-size: 25px;
}

.legal-main p,
.legal-main li {
  color: #4f524b;
  line-height: 1.75;
}

.legal-notice {
  margin: 30px 0;
  padding: 20px;
  border-left: 3px solid var(--saddle);
  background: var(--paper-strong);
}

@media (max-width: 1000px) {
  .site-nav {
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .cad-stage {
    width: min(680px, 100%);
  }

  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 22px 0;
  }

  .trust-inner > span {
    grid-column: 1 / -1;
  }

  .workflow {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-layout,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .feature-sticky {
    position: static;
  }

  .deliverable-grid {
    grid-template-columns: 1fr 1fr;
  }

  .deliverable:first-child {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --page: min(100% - 28px, 1200px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 68px 0 0;
    padding: 38px 24px;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 200ms ease;
  }

  .menu-open .site-nav {
    transform: translateX(0);
  }

  .site-nav a {
    font-size: 24px;
  }

  .nav-actions .button-ghost {
    display: none;
  }

  .hero-grid {
    padding: 54px 0;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 15vw, 72px);
  }

  .cad-stage {
    padding: 20px;
    border-radius: 24px;
  }

  .cad-status {
    right: 14px;
    bottom: 14px;
  }

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

  .trust-inner > span {
    grid-column: auto;
  }

  .section {
    padding: 82px 0;
  }

  .workflow,
  .pricing-grid,
  .audience-grid,
  .honesty,
  .deliverable-grid {
    grid-template-columns: 1fr;
  }

  .deliverable:first-child {
    grid-column: auto;
  }

  .workflow-card {
    min-height: 280px;
  }

  .honesty-copy,
  .honesty-rules {
    padding: 32px 24px;
  }

  .cta {
    min-height: 480px;
    padding: 36px 24px;
  }

  .cta-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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