:root {
  --ink: #141413;
  --cream: #faf9f5;
  --coral: #d97757;
  --coral-deep: #bd5f3e;
  --bg-alt: #f1efe6;
  --surface: #fff;
  --text: #1c1b18;
  --text-2: #57554d;
  --text-3: #8a877e;
  --border: #e6e3d9;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.018em;
}

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  padding: 9px 13px;
  font-size: 13px;
}

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

.eyebrow {
  color: var(--coral-deep);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 11px 21px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  transition: border-color .16s, background .16s, transform .16s;
}

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

.btn-ink { background: var(--ink); color: var(--cream); }

.btn-ink:hover { background: #000; }

.btn-line { border-color: #cbc7ba; background: transparent; color: var(--text); }

.btn-line:hover { border-color: var(--text-2); }

.text-link {
  color: var(--coral-deep);
  font-size: 15px;
  font-weight: 500;
}

.text-link:hover { color: #95492f; }

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--border);
  background: rgba(250, 249, 245, .88);
  backdrop-filter: blur(14px);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-2);
  font-size: 14.5px;
}

.nav-links a:hover { color: var(--text); }

.home-hero { padding: 98px 0 88px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}

.brand-cue {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-2);
  font-size: 13px;
}

.brand-cue img { width: 20px; height: 20px; }

.home-hero h1 {
  max-width: 750px;
  margin-top: 20px;
  font-size: clamp(46px, 6.2vw, 76px);
  letter-spacing: -.032em;
}

.hero-sub {
  max-width: 600px;
  margin-top: 25px;
  color: var(--text-2);
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.55;
}

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

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: min(100%, 470px);
  height: auto;
}

.home-section {
  padding: 110px 0;
  border-top: 1px solid var(--border);
}

.tint { background: var(--bg-alt); }

.section-head { max-width: 700px; }

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: -.024em;
}

.section-head > p {
  max-width: 650px;
  margin-top: 18px;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.58;
}

.operator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 58px;
}

.operator-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 30px;
}

.operator-card .card-mark {
  width: 34px;
  height: 4px;
  margin-bottom: 25px;
  border-radius: 999px;
  background: var(--coral);
}

.operator-card h3 { font-size: 22px; }

.operator-card p {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 15px;
}

.how-layout {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: clamp(54px, 9vw, 116px);
  align-items: start;
}

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

.step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 22px;
  border-bottom: 1px solid var(--border);
  padding: 27px 0 29px;
}

.step-no {
  padding-top: 2px;
  color: #c5a999;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
}

.step h3 { font-size: 21px; }

.step p {
  margin-top: 9px;
  color: var(--text-2);
  font-size: 15px;
}

.step a {
  color: var(--coral-deep);
  border-bottom: 1px solid #dfbaa9;
}

.step code,
.footer-code {
  overflow-wrap: anywhere;
  font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.step code {
  display: inline-block;
  margin-top: 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-alt);
  padding: 4px 7px;
}

.featured-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 54px;
}

.use-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color .16s, transform .16s;
}

.use-card:hover {
  transform: translateY(-2px);
  border-color: #cbc7ba;
}

.use-card-art {
  display: flex;
  height: 116px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  padding: 12px;
}

.use-card-art img {
  width: auto;
  height: 100%;
  max-width: 60%;
  object-fit: contain;
}

.use-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px 27px 27px;
}

.use-card-category {
  color: var(--coral-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.use-card h3 {
  margin-top: 12px;
  font-size: 20px;
  letter-spacing: -.01em;
}

.use-card p {
  margin-top: 9px;
  color: var(--text-2);
  font-size: 14.5px;
}

.use-card .go {
  margin-top: auto;
  padding-top: 19px;
  color: var(--coral-deep);
  font-size: 14px;
  font-weight: 500;
}

.engine-band {
  border-top: 1px solid #2d2c28;
  background: var(--ink);
  color: var(--cream);
  padding: 94px 0;
}

.engine-top {
  display: grid;
  grid-template-columns: minmax(190px, 245px) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 94px);
  align-items: center;
}

.engine-emblem {
  display: flex;
  width: 100%;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  border: 1px solid #3a3833;
  border-radius: 26px;
  background: var(--cream);
  padding: 22px;
}

.engine-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.engine-copy { max-width: 780px; }

.engine-copy .eyebrow { color: #e89c82; }

.engine-copy h2 {
  max-width: 700px;
  margin-top: 15px;
  font-size: clamp(37px, 4.7vw, 55px);
  letter-spacing: -.026em;
}

.engine-copy p {
  max-width: 760px;
  margin-top: 21px;
  color: #c9c6bd;
  font-size: 16.5px;
}

.engine-copy strong {
  color: var(--cream);
  font-weight: 500;
}

.engine-actions {
  display: flex;
  gap: 12px;
  margin-top: 27px;
  flex-wrap: wrap;
}

.engine-actions .btn-coral { background: var(--coral); color: var(--ink); }

.engine-actions .btn-coral:hover { background: #e38a6d; }

.engine-actions .btn-line {
  border-color: #5e5c56;
  color: var(--cream);
}

.model-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
  border-top: 1px solid #36342f;
  padding-top: 38px;
}

.model-group {
  min-width: 0;
  border: 1px solid #3b3a36;
  border-radius: 17px;
  background: #1b1a18;
  padding: 23px 24px;
}

.model-label {
  margin-bottom: 15px;
  color: #aaa79e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.model-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.model-list span {
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid #484640;
  border-radius: 999px;
  padding: 7px 11px;
  color: #f1eee6;
  font-size: 13px;
  line-height: 1.3;
}

.engine-punchline {
  max-width: 800px;
  margin: 28px auto 0;
  color: #c9c6bd;
  font-size: 15.5px;
  text-align: center;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
  gap: clamp(54px, 9vw, 104px);
  align-items: start;
}

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

.qa {
  border-bottom: 1px solid var(--border);
  padding: 25px 0 27px;
}

.qa h3 { font-size: 20px; }

.qa p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 15.5px;
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 68px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1.2fr 1fr;
  gap: 42px;
}

.footer .brand { font-size: 17px; }

.footer-note {
  max-width: 310px;
  margin-top: 15px;
  color: var(--text-2);
  font-size: 14px;
}

.footer h2 {
  margin: 4px 0 13px;
  color: var(--text-3);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.footer a,
.footer-copy {
  display: block;
  color: var(--text-2);
  padding: 5px 0;
  font-size: 14px;
}

.footer a:hover { color: var(--coral-deep); }

.footer-code {
  display: block;
  color: var(--text-2);
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--text-3);
  font-size: 13px;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    text-align: center;
  }

  .hero-sub { margin-right: auto; margin-left: auto; }

  .hero-actions { justify-content: center; }

  .hero-art {
    order: -1;
  }

  .hero-art img { width: min(100%, 280px); }

  .operator-grid,
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .how-layout,
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }

  .engine-top { grid-template-columns: minmax(0, 1fr); gap: 34px; }

  .engine-emblem { max-width: 180px; }

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

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

@media (max-width: 720px) {
  .nav-secondary { display: none; }

  .nav-in { height: 56px; }

  .home-hero { padding: 54px 0 66px; }

  .home-section { padding: 78px 0; }

  .featured-head { align-items: start; flex-direction: column; }

  .engine-band { padding: 70px 0; }

  .model-roster { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .wrap { padding: 0 24px; }

  .operator-grid,
  .featured-grid,
  .footer-grid { grid-template-columns: minmax(0, 1fr); }

  .operator-card { padding: 26px 24px; }

  .step { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }

  .engine-emblem { max-width: 154px; padding: 15px; border-radius: 21px; }

  .engine-copy p { font-size: 16px; }

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

  .engine-actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .engine-punchline { text-align: left; }

  .footer-intro { grid-column: auto; }

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

@media (max-width: 390px) {
  .wrap { padding-right: 18px; padding-left: 18px; }

  .brand { font-size: 15px; }

  .nav-links { gap: 16px; font-size: 13px; }

  .home-hero h1 { font-size: clamp(39px, 12vw, 48px); }

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

  .hero-actions .btn { width: 100%; }

  .model-group { padding: 21px 17px; }

  .model-list span { padding: 7px 9px; font-size: 12.5px; }
}
