:root {
  --red: #b71c1c;
  --red-dark: #8f1515;
  --ink: #111827;
  --muted: #5f6673;
  --soft: #f5f5f7;
  --white: #ffffff;
  --line: #e5e7eb;
  --warm: #f4efe8;
  --gold: #b58a3c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 10px clamp(18px, 5vw, 56px);
  background: rgba(245, 245, 247, 0.88);
  border-bottom: 1px solid rgba(229, 231, 235, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.legal-links a:hover {
  color: var(--red);
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  min-height: calc(100svh - 120px);
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 72px) 24px;
  overflow: hidden;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-lead,
.section-heading p,
.split-heading p,
.download-band p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  background: var(--white);
  color: var(--red);
  border-color: var(--line);
}

.hero-visual {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 560px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 6% 4% 22%;
  background: #eee6dc;
  border: 1px solid rgba(183, 28, 28, 0.12);
  border-radius: 36px;
  transform: rotate(-4deg);
}

.phone-shot {
  position: relative;
  width: min(42vw, 390px);
  min-width: 260px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.22);
}

.phone-shot-main {
  z-index: 2;
  transform: rotate(-3deg);
}

.phone-shot-side {
  position: absolute;
  right: 3%;
  bottom: 4%;
  z-index: 1;
  width: min(32vw, 300px);
  opacity: 0.92;
  transform: rotate(6deg);
}

.section-band {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.white {
  background: var(--white);
}

.parchment {
  background: var(--warm);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.compact {
  max-width: 920px;
}

.feature-grid,
.course-grid,
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-card,
.course-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card p,
.course-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.feature-index,
.course-label {
  display: block;
  margin-bottom: 32px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 32px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.split-heading p {
  margin-bottom: 0;
}

.showcase-band {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: #17181c;
}

.showcase-band .eyebrow {
  color: #f0c46c;
}

.showcase-band h2 {
  color: var(--white);
}

.showcase-band .section-heading p {
  color: #c8ccd4;
}

.showcase-grid figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #24262b;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-grid img {
  width: 100%;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
}

.showcase-grid figcaption {
  padding: 14px 16px 16px;
  color: #eef0f3;
  font-size: 15px;
  font-weight: 700;
}

.download-band {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(52px, 7vw, 84px) clamp(18px, 5vw, 72px);
  background: var(--red);
  color: var(--white);
}

.download-band > div {
  max-width: 760px;
}

.download-band .eyebrow,
.download-band p {
  color: rgba(255, 255, 255, 0.82);
}

.download-band .button.primary {
  flex: 0 0 auto;
  background: var(--white);
  color: var(--red);
}

.legal-strip {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.legal-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.legal-links a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer {
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.legal-page {
  padding: clamp(42px, 7vw, 80px) 18px;
  background: var(--soft);
}

.legal-article {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-article h1 {
  font-size: 48px;
}

.legal-article h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 24px;
}

.legal-article p,
.legal-article li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.legal-article a {
  color: var(--red);
  font-weight: 700;
}

.legal-note {
  padding: 14px 16px;
  border-left: 4px solid var(--red);
  background: var(--soft);
}

@media (max-width: 900px) {
  .hero-band,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .hero-band {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .phone-shot {
    width: min(66vw, 280px);
    aspect-ratio: 4 / 5;
  }

  .phone-shot-side {
    width: min(48vw, 220px);
    right: 0;
  }

  .feature-grid,
  .course-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .download-band,
  .legal-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-lead,
  .section-heading p,
  .split-heading p,
  .download-band p {
    font-size: 18px;
  }

  .hero-visual {
    min-height: 310px;
  }

  .phone-shot-main {
    transform: rotate(-2deg);
  }

  .phone-shot-side {
    display: none;
  }

  .button {
    width: 100%;
  }

  .legal-article h1 {
    font-size: 38px;
  }
}
