:root {
  --ink: #191713;
  --paper: #f4f1ea;
  --paper-dim: #ece7db;
  --orange: #e8551a;
  --orange-deep: #d64a12;
  --white: #ffffff;
  --ink-soft: #4a463f;
  --ink-faint: #6b6558;
  --paper-soft: #c9c3b4;
  --paper-faint: #8a8578;
  --line: #e2dcce;
  --line-strong: #cfc8b6;
  --shadow-card: 0 1px 2px rgba(25, 23, 19, 0.05), 0 10px 30px -14px rgba(25, 23, 19, 0.18);
  --shadow-btn: 0 1px 2px rgba(25, 23, 19, 0.15), 0 8px 20px -8px rgba(232, 85, 26, 0.5);
  --nav-h: 64px;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

.num { font-variant-numeric: tabular-nums; }

h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 20px; }
h3 { font-size: 15px; font-weight: 600; }

section, .hero { padding: 84px 6vw; }

.plabel {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--orange); text-transform: uppercase; margin-bottom: 10px;
}

/* nav: sticky, translucent, blurred */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  height: var(--nav-h); padding: 0 6vw;
  background: rgba(244, 241, 234, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.lockup {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 16px; letter-spacing: 0.03em;
  color: var(--ink); text-decoration: none;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a:not(.btn) {
  position: relative; color: var(--ink-soft); text-decoration: none;
  font-size: 14px; font-weight: 500; padding: 4px 0;
  transition: color 0.18s ease;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.22s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after { transform: scaleX(1); }
.nav-links a:not(.btn).active { color: var(--ink); }

/* buttons: orange = primary action */
.btn {
  display: inline-block; background: var(--orange); color: var(--white);
  font-family: inherit; font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 9px; border: 0;
  text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover {
  background: var(--orange-deep); transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(25, 23, 19, 0.15), 0 12px 26px -8px rgba(232, 85, 26, 0.55);
}
.btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(25, 23, 19, 0.2); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-block { display: block; width: 100%; text-align: center; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px;
}

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 72px; }
.hero-sub { font-size: 17px; color: var(--ink-soft); margin: 18px 0 28px; max-width: 46ch; }
.micro { font-size: 13px; color: var(--ink-faint); margin-top: 16px; max-width: 52ch; }
.dark .micro { color: var(--paper-faint); }

.hero-phone {
  background: var(--ink); border-radius: 18px; padding: 20px;
  display: flex; flex-direction: column; gap: 9px; min-height: 290px;
  box-shadow: 0 24px 60px -24px rgba(25, 23, 19, 0.45);
}
.phone-top { color: var(--paper); font-weight: 600; font-size: 13px; display: flex; justify-content: space-between; }
.muted { color: var(--paper-faint); }
.phone-row {
  background: var(--paper); border-radius: 9px; padding: 11px 13px;
  display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 500;
}
.phone-row .num { font-weight: 700; }
.phone-row-out { background: #2a271f; color: var(--paper); }
.phone-row-out .due { color: var(--orange); font-weight: 700; }
.phone-note { margin-top: auto; color: var(--paper-faint); font-size: 11.5px; text-align: center; }

/* dark + dim sections */
.dark { background: var(--ink); color: var(--paper); }
.dark h2 { color: var(--paper); max-width: 34ch; }
.dim { background: var(--paper-dim); }

.deal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.deal { border-radius: 14px; padding: 26px 28px; }
.deal h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 12px; }
.deal p { font-size: 15px; line-height: 1.65; }
.deal-usual { border: 1px solid #3a362d; }
.deal-usual h3 { color: var(--paper-faint); }
.deal-usual p { color: var(--paper-soft); }
.deal-ours { border: 1px solid rgba(232, 85, 26, 0.55); background: rgba(232, 85, 26, 0.07); }
.deal-ours h3 { color: var(--orange); }

/* migration steps */
.section-sub { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 30px; max-width: 58ch; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(25, 23, 19, 0.06), 0 16px 36px -14px rgba(25, 23, 19, 0.22); }
.step-n { font-weight: 800; font-size: 20px; color: var(--orange); }
.step h3 { margin: 8px 0; font-size: 16px; }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* pricing */
.price-card {
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 16px;
  padding: 32px; max-width: 440px; box-shadow: var(--shadow-card);
}
.price-line { display: flex; align-items: baseline; gap: 8px; }
.price { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; }
.per { font-weight: 500; color: var(--ink-soft); }
.pill {
  margin-left: auto; background: var(--paper-dim); color: var(--ink);
  font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
}
.price-list {
  list-style: none; padding: 18px 0 20px; margin: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid; gap: 11px; font-size: 14.5px; font-weight: 500;
}

/* cta form */
.cta-inner { max-width: 520px; }
.cta-sub { font-size: 15.5px; line-height: 1.65; color: var(--paper-soft); margin-bottom: 24px; }
#lead-form { display: grid; gap: 12px; }
#lead-form input {
  background: var(--paper); border: 1px solid transparent; border-radius: 9px;
  padding: 13px 15px; font-family: inherit; font-size: 14.5px; color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
#lead-form input:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 85, 26, 0.25);
}
#lead-form input::placeholder { color: var(--ink-faint); }
.hp { position: absolute; left: -9999px; }
.lead-done-msg { font-size: 16px; font-weight: 600; color: var(--paper); padding: 12px 0; }

/* footer */
.foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 28px 6vw; font-size: 13px; color: var(--ink-faint);
  border-top: 1px solid var(--line);
}
.foot-brand { font-weight: 600; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-faint); text-decoration-color: var(--line-strong); transition: color 0.18s ease; }
.foot-links a:hover { color: var(--ink); }

/* privacy prose */
.prose { max-width: 640px; padding: 72px 6vw; display: grid; gap: 16px; }
.prose h1 { font-size: 32px; }
.prose p { color: var(--ink-soft); font-size: 15px; }

/* responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .deal-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  section, .hero { padding: 60px 6vw; }
}
@media (max-width: 520px) {
  .nav-links a:not(.btn) { display: none; }
}
