:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.12);
  --blue: #0071e3;
  --blue-dark: #005bb8;
  --teal: #1a7971;
  --mint: #d8f3ed;
  --graphite: #24262a;
  --radius: 28px;
  --max: 1180px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 245, 247, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.top-nav,
.product-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-nav {
  min-height: 44px;
  font-size: 13px;
  color: #424245;
}

.brand {
  font-weight: 650;
  color: var(--ink);
}

.nav-links,
.product-nav div {
  display: flex;
  align-items: center;
  gap: 24px;
}

.product-nav {
  min-height: 52px;
  font-size: 12px;
}

.product-nav span {
  font-size: 21px;
  font-weight: 700;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-cta {
  background: var(--blue);
  color: white;
  padding: 8px 14px;
}

.hero {
  min-height: calc(100vh - 96px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 92px 24px 70px;
  display: grid;
  grid-template-rows: auto minmax(420px, 1fr);
  align-items: start;
  gap: 30px;
}

.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 17px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 7.4vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.16;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  border: 1px solid transparent;
  padding: 12px 22px;
  font-size: 17px;
  font-weight: 600;
}

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

.button.primary:hover,
.nav-cta:hover {
  background: var(--blue-dark);
}

.button.secondary {
  border-color: var(--blue);
  color: var(--blue);
}

.hero-stage {
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.document-stack {
  position: relative;
  width: min(90vw, 820px);
  height: min(58vw, 520px);
}

.paper {
  position: absolute;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f8fafb);
  box-shadow: var(--shadow);
}

.paper-main {
  inset: 18px 72px 34px 118px;
  z-index: 2;
  padding: 42px;
  transform: rotate(-3deg);
}

.paper-back {
  inset: 64px 160px 12px 52px;
  background: linear-gradient(145deg, #e5efec, #ffffff);
  transform: rotate(7deg);
}

.paper-kicker {
  display: inline-flex;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--mint);
  color: #0f665f;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.paper h2 {
  max-width: 360px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
}

.line {
  height: 12px;
  width: 76%;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #d9dde2;
}

.line.wide {
  width: 92%;
}

.line.short {
  width: 48%;
}

.field-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field-grid span {
  min-height: 78px;
  border-radius: 16px;
  background: #eef1f4;
}

.floating-note {
  position: absolute;
  right: 54px;
  bottom: 44px;
  z-index: 3;
  width: 220px;
  border-radius: 22px;
  background: rgba(36, 38, 42, 0.94);
  color: white;
  padding: 18px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.floating-note strong,
.floating-note span {
  display: block;
}

.floating-note span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
}

.band,
.feature-showcase,
.source-section,
.small-housing,
.template-cta,
.faq {
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px 24px;
}

.guide-section {
  border-top: 1px solid var(--line);
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  border-top: 1px solid var(--line);
}

.section-heading h2,
.feature-copy h2,
.template-cta h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-copy {
  color: var(--muted);
  font-size: clamp(19px, 1.65vw, 24px);
  font-weight: 400;
  line-height: 1.42;
}

.reading-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 400;
  line-height: 1.48;
}

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 72px;
}

.feature-copy p {
  margin-top: 22px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-grid div {
  min-height: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 18px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  box-shadow: none;
}

.spec-grid div:last-child {
  border-bottom: 0;
}

.spec-grid p {
  margin: 0;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.35;
}

.spec-grid strong,
.spec-grid small {
  display: block;
}

.spec-grid strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.2;
}

.spec-grid small {
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.48;
}

.spec-grid span,
.steps span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.centered {
  max-width: 880px;
  margin: 0 auto 44px;
  text-align: center;
}

.source-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 72px;
  align-items: start;
}

.text-columns {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.placeholder-image {
  min-height: 220px;
  margin: 0 0 24px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.75) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(rgba(255,255,255,0.8) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(145deg, #cfeee8, #f7fbfd);
}

.source-panel {
  border-radius: 22px;
  background: var(--surface);
  padding: 20px;
}

.source-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-panel li {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  color: #424245;
  font-size: 16px;
  line-height: 1.35;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps article {
  min-height: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 26px 26px 30px 0;
  display: block;
}

.steps article + article {
  padding-left: 26px;
}

.steps article:last-child {
  border-right: 0;
}

.steps h3 {
  margin: 16px 0 10px;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 650;
}

.steps p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.48;
}

.template-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  border-radius: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.template-cta p {
  max-width: 740px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.48;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

details {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 24px;
  font-weight: 750;
}

details p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 24px 72px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .product-nav div {
    gap: 14px;
  }

  .product-nav div a:not(.nav-cta) {
    display: none;
  }

  .hero,
  .intro,
  .feature-showcase,
  .source-section,
  .steps,
  .template-cta {
    grid-template-columns: 1fr;
  }

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

  .hero-copy {
    text-align: left;
  }

  .hero-stage {
    min-height: 430px;
  }

  .document-stack {
    width: min(94vw, 560px);
    height: 410px;
  }

  .paper-main {
    inset: 20px 28px 48px 28px;
    padding: 28px;
  }

  .paper-back {
    inset: 60px 62px 20px 6px;
  }

  .floating-note {
    right: 12px;
    bottom: 22px;
  }

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

  .spec-grid div {
    padding: 14px 0 16px;
    gap: 16px;
  }

  .spec-grid strong {
    margin-bottom: 4px;
    font-size: 18px;
  }

  .spec-grid small {
    font-size: 14.5px;
    line-height: 1.42;
  }

  .spec-grid span {
    min-width: 26px;
  }
}

@media (max-width: 560px) {
  .top-nav,
  .product-nav {
    padding-inline: 16px;
  }

  .product-nav span {
    font-size: 17px;
  }

  .hero,
  .band,
  .feature-showcase,
  .highlights,
  .small-housing,
  .template-cta,
  .faq {
    padding-inline: 16px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-lead,
  .intro-copy,
  .feature-copy p,
  .template-cta p {
    font-size: 20px;
  }

  .button {
    width: 100%;
  }

  .highlight-card,
  .steps article {
    min-height: auto;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
