:root {
  --bg: #f5efe4;
  --bg-strong: #eadcc5;
  --surface: rgba(255, 252, 246, 0.76);
  --surface-strong: #fff9f0;
  --ink: #1b1712;
  --muted: #62584b;
  --line: rgba(27, 23, 18, 0.12);
  --accent: #d66a32;
  --accent-deep: #b74e1a;
  --accent-soft: rgba(214, 106, 50, 0.12);
  --shadow: 0 30px 80px rgba(44, 28, 10, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(214, 106, 50, 0.24), transparent 28%),
    radial-gradient(circle at bottom right, rgba(34, 111, 94, 0.16), transparent 24%),
    linear-gradient(180deg, #f8f3eb 0%, #f5efe4 44%, #efe5d6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(27, 23, 18, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 23, 18, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 80%);
}

.site-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 22px 0 36px;
}

.topbar,
.proof-strip,
.feature-grid,
.scenario-grid,
.checkout-layout,
.cta-panel {
  backdrop-filter: blur(16px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 16px;
  z-index: 10;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 249, 240, 0.75);
  box-shadow: 0 16px 30px rgba(50, 35, 17, 0.08);
}

.brand,
.topnav a,
.button,
.payment-card,
.faq-item {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background:
    linear-gradient(135deg, var(--accent) 0%, #ffbb7f 100%);
  box-shadow:
    8px 8px 0 rgba(27, 23, 18, 0.08),
    0 0 0 6px rgba(214, 106, 50, 0.12);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
}

.topnav-cta {
  color: #fff6ef !important;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.topnav-cta:hover,
.topnav-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(183, 78, 26, 0.3);
}

.topnav a:hover,
.topnav a:focus-visible,
.brand:hover,
.brand:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 72px 0 48px;
}

.hero-copy,
.hero-visual,
.proof-strip,
.section,
.cta-panel,
.footer {
  position: relative;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-family: "IBM Plex Mono", monospace;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.5rem, 3.5vw, 3.1rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 40ch;
}

.hero-text {
  max-width: 56ch;
  margin-top: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff6ef;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 14px 28px rgba(183, 78, 26, 0.24);
}

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

.trust-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-row span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 249, 240, 0.62);
  border: 1px solid var(--line);
}

.hero-visual {
  display: grid;
  gap: 18px;
  justify-items: end;
}

.hero-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.hero-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 249, 240, 0.62);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
  white-space: nowrap;
}

.device-card,
.price-panel,
.proof-strip,
.feature-card,
.scenario-grid article,
.checkout-copy,
.payment-card,
.faq-item,
.cta-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.device-card {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 36px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 190, 133, 0.4), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 245, 232, 0.54));
}

.device-body {
  position: relative;
  height: 100%;
  border-radius: 30px;
  border: 1px solid rgba(27, 23, 18, 0.08);
  background:
    linear-gradient(135deg, #16110e 0%, #2a211c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -16px 24px rgba(0, 0, 0, 0.18);
}

.device-chip {
  position: absolute;
  inset: 24% 24% auto auto;
  width: 34%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #2c3835 0%, #19201f 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 8px rgba(10, 16, 15, 0.16),
    0 18px 36px rgba(0, 0, 0, 0.28);
}

.device-led {
  position: absolute;
  top: 20%;
  left: 18%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #70f7af;
  box-shadow: 0 0 0 10px rgba(112, 247, 175, 0.08), 0 0 22px rgba(112, 247, 175, 0.58);
}

.device-grid {
  position: absolute;
  inset: 10%;
  border-radius: 22px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(160deg, rgba(0, 0, 0, 0.75), transparent 80%);
}

.device-usb {
  position: absolute;
  right: 12%;
  bottom: 6%;
  width: 32%;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(180deg, #d4cbc1 0%, #978a7d 100%);
  box-shadow: 0 12px 24px rgba(65, 49, 34, 0.18);
}

.price-panel {
  width: min(100%, 320px);
  padding: 22px;
  border-radius: var(--radius-lg);
}

.price-label,
.price-note,
.checkout-copy p,
.payment-note,
.faq-answer,
.footer p,
.proof-strip p,
.feature-card p,
.scenario-grid p {
  color: var(--muted);
}

.price-label {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.price-value {
  margin-top: 8px;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.price-note {
  margin-top: 10px;
  line-height: 1.6;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.proof-strip article {
  padding: 8px 10px;
}

.proof-strip h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.section {
  padding: 84px 0 0;
}

.section-alt {
  padding-top: 72px;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 800px;
}

.section-lede {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-lede strong {
  color: var(--ink);
}

.section-heading h2,
.cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

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

.feature-card,
.scenario-grid article,
.checkout-copy,
.payment-card,
.faq-item {
  border-radius: var(--radius-md);
  padding: 24px;
}

.feature-card {
  min-height: 220px;
}

.feature-card h3,
.scenario-grid h3,
.payment-card h3,
.faq-question {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.feature-card p,
.scenario-grid p,
.checkout-copy p,
.payment-note,
.faq-answer,
.footer p {
  line-height: 1.7;
}

.feature-badge,
.scenario-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

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

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 30px;
}

.checkout-copy {
  background:
    linear-gradient(180deg, rgba(255, 249, 240, 0.88), rgba(246, 237, 224, 0.9));
}

.checkout-copy p + p {
  margin-top: 14px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.payment-card {
  display: grid;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  min-height: 220px;
}

.payment-card:hover,
.payment-card:focus-visible,
.faq-item:hover,
.faq-item:focus-within {
  transform: translateY(-3px);
  border-color: rgba(214, 106, 50, 0.34);
  box-shadow: 0 24px 52px rgba(91, 50, 20, 0.14);
}

.payment-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(214, 106, 50, 0.22), rgba(255, 193, 145, 0.42));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  color: var(--accent-deep);
}

.payment-note {
  margin-top: auto;
}

.payment-arrow {
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent-deep);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.faq-question {
  padding-right: 12px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: 84px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 249, 240, 0.95), rgba(241, 225, 201, 0.88));
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px 0 12px;
}

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .scenario-grid,
  .checkout-layout,
  .faq-list,
  .cta-panel,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-items: stretch;
  }

  .price-panel,
  .device-card {
    width: 100%;
  }

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

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--content-width));
    padding-top: 14px;
  }

  .topbar {
    border-radius: 28px;
    align-items: flex-start;
  }

  .topnav {
    gap: 12px;
  }

  .hero {
    padding-top: 46px;
  }

  .checkout-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .button,
  .hero-actions a {
    width: 100%;
  }

  .trust-row {
    flex-direction: column;
  }
}
