:root {
  --ink: #151515;
  --ink-strong: #050505;
  --muted: #66645f;
  --paper: #f8f6ef;
  --wash: #ebe7dd;
  --line: rgba(20, 20, 18, 0.14);
  --orange: #f26300;
  --orange-dark: #cf4d00;
  --green: #2f7f7a;
  --blue: #243b8b;
  --max: 1160px;
  --shadow: 0 18px 50px rgba(20, 20, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  padding: 0 clamp(18px, 4vw, 34px);
  border-bottom: 1px solid rgba(20, 20, 18, 0.08);
  background: rgba(248, 246, 239, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  color: rgba(21, 21, 21, 0.68);
  font-size: 13px;
  font-weight: 600;
}

.nav-links a,
.auth-links a {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink-strong);
}

.auth-links {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.button,
.auth-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 14px;
  border: 1px solid rgba(20, 20, 18, 0.14);
  border-radius: 7px;
  background: rgba(248, 246, 239, 0.76);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.button:hover,
.auth-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 20, 18, 0.28);
}

.button.primary,
.auth-links a.primary {
  border-color: rgba(20, 20, 18, 0.18);
  background: var(--orange);
  color: #fffaf3;
  box-shadow: 0 12px 26px rgba(242, 99, 0, 0.2);
}

.button.primary:hover,
.auth-links a.primary:hover {
  background: var(--orange-dark);
}

.button.secondary {
  background: #fffaf3;
}

.hero {
  position: relative;
  min-height: calc(100svh - 58px);
  display: grid;
  align-items: center;
  padding: clamp(56px, 9vw, 104px) clamp(20px, 5vw, 54px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(248, 246, 239, 0.96), rgba(248, 246, 239, 0.76) 58%, rgba(242, 99, 0, 0.12)),
    repeating-linear-gradient(0deg, rgba(20, 20, 18, 0.045) 0 1px, transparent 1px 36px);
  pointer-events: none;
}

.hero-inner,
.section-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.95fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(48px, 7.6vw, 108px);
  line-height: 0.92;
}

h1 em,
h2 em {
  color: var(--orange);
  font-style: normal;
}

.hero-copy {
  margin-top: 22px;
  max-width: 640px;
  color: rgba(21, 21, 21, 0.72);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

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

.proof-panel {
  border: 1px solid rgba(20, 20, 18, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.proof-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid rgba(20, 20, 18, 0.1);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-list {
  display: grid;
  gap: 0;
}

.proof-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(20, 20, 18, 0.08);
}

.proof-row:last-child {
  border-bottom: 0;
}

.proof-row i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(47, 127, 122, 0.12);
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.proof-row strong {
  display: block;
  margin-bottom: 3px;
}

.proof-row span,
.proof-row small,
.card p,
.step p,
.plan-card p,
.note {
  color: rgba(21, 21, 21, 0.64);
  line-height: 1.55;
}

.proof-row em {
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 54px);
}

.section.washed {
  background: var(--wash);
}

.section h2 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
}

.section-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(21, 21, 21, 0.68);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.5;
}

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

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

.card,
.step,
.plan-card,
.summary-band {
  border: 1px solid rgba(20, 20, 18, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.72);
  box-shadow: 0 12px 32px rgba(20, 20, 18, 0.07);
}

.card,
.step,
.summary-band {
  padding: 22px;
}

.card b,
.step b {
  display: block;
  margin-bottom: 10px;
  color: var(--orange-dark);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 28px;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.comparison h3 {
  margin-bottom: 14px;
  font-size: 26px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: rgba(21, 21, 21, 0.7);
  line-height: 1.45;
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(47, 127, 122, 0.12);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
}

.plan-card.featured {
  border-color: rgba(242, 99, 0, 0.42);
  box-shadow: 0 18px 42px rgba(242, 99, 0, 0.14);
}

.plan-tag {
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(242, 99, 0, 0.1);
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price {
  margin: 18px 0 6px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 34px;
  font-weight: 700;
}

.price small {
  color: var(--muted);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.usd-price {
  min-height: 21px;
  color: rgba(21, 21, 21, 0.54);
  font-size: 13px;
  font-weight: 700;
}

.plan-card .button {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  margin-top: 20px;
  color: rgba(21, 21, 21, 0.62);
  font-size: 14px;
  line-height: 1.5;
}

.status-message {
  display: none;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(20, 20, 18, 0.12);
  border-radius: 8px;
  background: #fffaf3;
  color: rgba(21, 21, 21, 0.72);
  line-height: 1.5;
}

.status-message.is-visible {
  display: block;
}

.interactive-demo {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  margin-top: 34px;
}

.demo-step-list {
  display: grid;
  gap: 10px;
}

.demo-step {
  width: 100%;
  min-height: 58px;
  padding: 14px;
  border: 1px solid rgba(20, 20, 18, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.72);
  color: rgba(21, 21, 21, 0.68);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.demo-step:hover,
.demo-step.active {
  transform: translateY(-1px);
  border-color: rgba(242, 99, 0, 0.32);
  background: rgba(242, 99, 0, 0.1);
  color: var(--ink-strong);
}

.demo-preview {
  min-height: 430px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(20, 20, 18, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 243, .88), rgba(248, 246, 239, .58)),
    repeating-linear-gradient(0deg, rgba(20, 20, 18, .045) 0 1px, transparent 1px 34px);
  box-shadow: var(--shadow);
}

.demo-preview h3 {
  margin: 12px 0 10px;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1;
}

.demo-preview p {
  margin: 0;
  color: rgba(21, 21, 21, 0.66);
  font-size: 16px;
  line-height: 1.55;
}

.demo-status {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(47, 127, 122, .12);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.demo-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.demo-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(20, 20, 18, .08);
  border-radius: 7px;
  background: rgba(255, 255, 255, .5);
  color: rgba(21, 21, 21, .72);
}

.demo-list b {
  color: var(--ink-strong);
}

.demo-list span {
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(5, 5, 5, 0.45);
}

.checkout-modal.is-open {
  display: grid;
}

.checkout-dialog {
  width: min(520px, 100%);
  border: 1px solid rgba(20, 20, 18, 0.16);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(5, 5, 5, 0.28);
}

.checkout-dialog header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid rgba(20, 20, 18, 0.1);
}

.checkout-dialog form {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.checkout-dialog label {
  display: grid;
  gap: 6px;
  color: rgba(21, 21, 21, 0.66);
  font-size: 13px;
  font-weight: 800;
}

.checkout-dialog input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 20, 18, 0.14);
  border-radius: 7px;
  background: #fffaf3;
  color: var(--ink);
}

.modal-close {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(20, 20, 18, 0.14);
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}

.footer {
  padding: 30px clamp(20px, 5vw, 54px);
  border-top: 1px solid rgba(20, 20, 18, 0.1);
  background: #151515;
  color: rgba(248, 246, 239, 0.76);
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: #fffaf3;
}

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand,
  .auth-links {
    justify-self: center;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-grid,
  .grid,
  .grid.two,
  .comparison,
  .interactive-demo,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .hero {
    min-height: auto;
  }

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

  .proof-row {
    grid-template-columns: auto 1fr;
  }

  .proof-row em {
    grid-column: 2;
  }
}
