:root {
  --paper: #e8e5d6;
  --paper-alt: #dfdbc8;
  --card: #f0ede0;
  --card-alt: #f6f3e8;
  --ink: #202820;
  --ink-soft: #465148;
  --ink-faint: #7d8678;
  --accent: #b5623f;
  --accent-deep: #8f4a2e;
  --sage: #5a7a4b;
  --ochre: #c49a3b;
  --crimson: #934434;
  --rule: rgba(32, 40, 32, 0.12);
  --rule-heavy: rgba(32, 40, 32, 0.22);
  --hero: #191612;
  --hero-soft: #262219;
  --max-width: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

.shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(25, 22, 18, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(246, 243, 232, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--card-alt);
}

.brand-accent {
  color: #d47a4f;
  font-style: italic;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: rgba(246, 243, 232, 0.76);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--card-alt);
  background:
    radial-gradient(
      circle at 78% 24%,
      rgba(181, 98, 63, 0.22),
      transparent 18rem
    ),
    radial-gradient(
      circle at 18% 80%,
      rgba(196, 154, 59, 0.08),
      transparent 16rem
    ),
    linear-gradient(180deg, var(--hero) 0%, #171410 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(246, 243, 232, 0.045) 0,
    rgba(246, 243, 232, 0.045) 1px,
    transparent 1px,
    transparent 4.75rem
  );
  opacity: 0.2;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.85));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7rem;
  background: linear-gradient(
    180deg,
    rgba(25, 22, 18, 0) 0%,
    rgba(25, 22, 18, 0.2) 44%,
    rgba(232, 229, 214, 1) 100%
  );
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 26rem);
  gap: 3rem;
  align-items: center;
  min-height: calc(100svh - 4.75rem - 1.5rem);
  padding: clamp(3.5rem, 8vw, 6rem) 0 8rem;
}

.hero-copy {
  max-width: 38rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #d48a62;
}

.hero h1,
.section h2,
.feature-card h3,
.trust-panel h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 0.96;
  text-wrap: balance;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(3.3rem, 8vw, 6.3rem);
}

.hero h1 span {
  color: #e68b55;
  font-style: italic;
}

.hero-lede,
.section-lede {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  font-size: 1.08rem;
}

.hero-lede {
  color: rgba(246, 243, 232, 0.82);
}

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

.section-lede-dark {
  color: rgba(246, 243, 232, 0.8);
}

.hero-actions,
.launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1.15rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
}

.button-primary {
  background: var(--accent);
  color: #fffaf2;
  border-color: var(--accent);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.button-secondary {
  background: rgba(246, 243, 232, 0.04);
  border-color: rgba(246, 243, 232, 0.22);
  color: var(--card-alt);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(246, 243, 232, 0.44);
}

.button-ghost-light {
  background: transparent;
  border-color: rgba(246, 243, 232, 0.3);
  color: var(--card-alt);
}

.button-ghost-light:hover,
.button-ghost-light:focus-visible {
  border-color: rgba(246, 243, 232, 0.52);
}

.button-dark {
  background: var(--ink);
  color: var(--card-alt);
  border-color: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #151b15;
  border-color: #151b15;
}

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

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

.hero-points,
.bench-list,
.trust-panel ul {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 34rem;
}

.hero-points li,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(246, 243, 232, 0.16);
  border-radius: 999px;
  background: rgba(246, 243, 232, 0.06);
  font-size: 0.9rem;
}

.hero-stage,
.bench-stage {
  position: relative;
}

.hero-stage {
  min-height: 33rem;
}

.device-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(246, 243, 232, 0.12);
  background: rgba(246, 243, 232, 0.06);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.3);
}

.device-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-parent {
  width: min(100%, 23rem);
  aspect-ratio: 0.64;
  margin-left: auto;
  transform: rotate(-6deg);
}

.device-parent img {
  object-position: center 90%;
  transform: scale(1.36);
}

.proof-strip {
  position: relative;
  z-index: 2;
  margin-top: -3rem;
  padding-bottom: 1rem;
}

.ruled-band {
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3.1rem,
    rgba(32, 40, 32, 0.06) 3.1rem,
    rgba(32, 40, 32, 0.06) 3.18rem
  );
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: rgba(240, 237, 224, 0.92);
  box-shadow: 0 1rem 2rem rgba(20, 24, 20, 0.08);
}

.proof-grid article {
  padding: 0.4rem 1rem 0.4rem 1.1rem;
  border-left: 2px solid rgba(181, 98, 63, 0.32);
}

.proof-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-text {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-paper {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--paper);
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--paper-alt);
}

.section-grid,
.bench-grid,
.tutors-grid,
.launch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 25rem);
  gap: 3rem;
  align-items: center;
}

.section h2 {
  max-width: 10ch;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature-card,
.trust-panel,
.detail-list,
.bench-stats article {
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: rgba(246, 243, 232, 0.72);
  box-shadow: 0 0.75rem 2rem rgba(20, 24, 20, 0.06);
}

.feature-card {
  padding: 1.15rem;
}

.feature-kicker,
.detail-kicker {
  margin: 0 0 0.4rem;
  color: var(--ink-faint);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card h3 {
  font-size: 1.4rem;
}

.feature-card p:last-child,
.detail-text,
.trust-panel li {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.showcase-column,
.tutor-stage {
  display: grid;
  gap: 1.25rem;
}

.showcase-device,
.device-tutor {
  width: min(100%, 22rem);
}

.showcase-device {
  aspect-ratio: 0.65;
  justify-self: end;
  transform: rotate(3deg);
}

.showcase-device img {
  object-position: center 15%;
  transform: scale(1.14);
}

.detail-list {
  padding: 0.3rem 1.15rem;
}

.detail-list article {
  padding: 0.95rem 0;
}

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

.detail-text {
  margin-top: 0;
}

.section-bench {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 72% 18%,
      rgba(181, 98, 63, 0.16),
      transparent 18rem
    ),
    linear-gradient(180deg, #1f281f 0%, #1b241b 100%);
  color: var(--card-alt);
}

.section-bench::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6rem;
  background: linear-gradient(
    180deg,
    rgba(27, 36, 27, 0),
    rgba(27, 36, 27, 0.65)
  );
  pointer-events: none;
}

.bench-grid {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
}

.bench-copy {
  position: relative;
  z-index: 1;
}

.bench-list li {
  position: relative;
  margin-top: 0.95rem;
  padding-left: 1.2rem;
  color: rgba(246, 243, 232, 0.88);
}

.bench-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--ochre);
}

.bench-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.bench-stats article {
  padding: 1.15rem;
  border-color: rgba(246, 243, 232, 0.12);
  background: rgba(246, 243, 232, 0.05);
  box-shadow: none;
}

.bench-stat-value {
  margin: 0;
  color: var(--ochre);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.95rem;
  line-height: 1;
}

.bench-stat-copy {
  margin: 0.45rem 0 0;
  color: rgba(246, 243, 232, 0.72);
  font-size: 0.94rem;
}

.device-bench {
  width: min(100%, 22rem);
  aspect-ratio: 0.64;
  margin-left: auto;
  transform: rotate(5deg);
  border-color: rgba(246, 243, 232, 0.08);
  background: rgba(246, 243, 232, 0.03);
}

.device-bench img {
  object-position: center 13%;
  transform: scale(1.14);
}

.device-tutor {
  aspect-ratio: 0.64;
  transform: rotate(-4deg);
}

.device-tutor img {
  object-position: center 22%;
  transform: scale(2.2);
}

.trust-panel {
  padding: 1.2rem;
  max-width: 25rem;
}

.trust-panel h3 {
  font-size: 2rem;
}

.trust-panel ul {
  margin-top: 1rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pill {
  color: var(--ink);
  border-color: var(--rule-heavy);
  background: rgba(246, 243, 232, 0.42);
}

.launch-section {
  border-top: 1px solid var(--rule);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--paper);
}

.launch-layout {
  grid-template-columns: minmax(0, 1fr) auto;
}

@media (max-width: 72rem) {
  .hero-shell,
  .section-grid,
  .bench-grid,
  .tutors-grid,
  .launch-layout {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
    padding-bottom: 6rem;
  }

  .hero-stage,
  .bench-stage {
    min-height: auto;
  }

  .device-parent,
  .device-bench,
  .showcase-device,
  .device-tutor {
    margin-inline: auto;
  }

  .showcase-column,
  .tutor-stage {
    justify-items: center;
  }

  .trust-panel {
    max-width: 100%;
  }
}

@media (max-width: 58rem) {
  .proof-grid,
  .feature-list,
  .bench-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 44rem) {
  .shell {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .header-row {
    min-height: 4.2rem;
  }

  .site-nav {
    display: none;
  }

  .hero-shell {
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 5rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero-lede,
  .section-lede {
    font-size: 1rem;
  }

  .proof-grid,
  .feature-list,
  .bench-stats {
    grid-template-columns: 1fr;
  }

  .proof-grid article {
    padding-right: 0.4rem;
  }

  .section h2,
  .trust-panel h3 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
}
