:root {
  color-scheme: light;
  --seo-page: #f4f1e8;
  --seo-ink: #15171c;
  --seo-muted: #626974;
  --seo-line: rgba(21, 23, 28, 0.16);
  --seo-panel: rgba(255, 253, 248, 0.92);
  --seo-teal: #0f8f8b;
  --seo-red: #d84e38;
  --seo-gold: #efb84b;
  --seo-green: #8cbf3f;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--seo-page);
}

body.seo-page {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--seo-page);
  color: var(--seo-ink);
}

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

.seo-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(21, 23, 28, 0.08);
  background: rgba(244, 241, 232, 0.9);
  backdrop-filter: blur(18px);
}

.seo-brand,
.seo-nav nav,
.seo-actions,
.seo-keywords {
  display: flex;
  align-items: center;
}

.seo-brand {
  gap: 10px;
  font-weight: 900;
}

.seo-brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--seo-ink);
  color: #fffdf8;
}

.seo-nav nav {
  min-width: 0;
  gap: clamp(10px, 2vw, 22px);
  color: var(--seo-muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.seo-nav nav a,
.seo-nav-cta,
.seo-button {
  white-space: nowrap;
}

.seo-nav-cta {
  border: 1px solid var(--seo-ink);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.84rem;
  font-weight: 900;
}

.seo-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  padding: 116px clamp(20px, 5vw, 76px) clamp(72px, 10vh, 112px);
  overflow: hidden;
  background: #fffaf0;
}

.seo-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  perspective: 1200px;
  pointer-events: auto;
}

.seo-scene-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(21, 23, 28, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 23, 28, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
}

.seo-deck-stack {
  position: absolute;
  right: clamp(-60px, 4vw, 80px);
  top: 18vh;
  width: min(58vw, 820px);
  aspect-ratio: 16 / 9;
  transform: rotateX(calc(58deg + var(--tilt-x))) rotateZ(-18deg) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

.seo-slide-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 14px;
  border: 2px solid rgba(21, 23, 28, 0.24);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 38px);
  box-shadow: 0 32px 80px rgba(21, 23, 28, 0.18);
  transform-style: preserve-3d;
}

.seo-slide-card span,
.seo-slide-card strong,
.seo-slide-card em {
  display: block;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
}

.seo-slide-card span {
  width: 30%;
  height: 14px;
}

.seo-slide-card strong {
  width: 68%;
  height: 38px;
}

.seo-slide-card em {
  width: 48%;
  height: 18px;
}

.card-one {
  background: var(--seo-teal);
  transform: translateZ(90px);
}

.card-two {
  background: var(--seo-gold);
  transform: translate3d(-46px, 48px, 42px);
}

.card-three {
  background: var(--seo-red);
  transform: translate3d(-92px, 96px, 0);
}

.seo-control-strip {
  position: absolute;
  right: clamp(22px, 6vw, 110px);
  bottom: clamp(42px, 9vh, 100px);
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(21, 23, 28, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 22px 50px rgba(21, 23, 28, 0.14);
}

.seo-control-strip b {
  display: block;
  width: 44px;
  height: 10px;
  border-radius: 999px;
  background: var(--seo-ink);
}

.seo-control-strip b:nth-child(2) {
  background: var(--seo-teal);
}

.seo-control-strip b:nth-child(3) {
  background: var(--seo-gold);
}

.seo-control-strip b:nth-child(4) {
  background: var(--seo-red);
}

.seo-hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(760px, 92vw);
}

.seo-hero-copy p,
.seo-kicker {
  margin: 0 0 14px;
  color: var(--seo-teal);
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.seo-hero-copy h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.6rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.seo-hero-copy span {
  display: block;
  max-width: 680px;
  margin-top: 28px;
  color: #333840;
  font-size: clamp(1.06rem, 2vw, 1.42rem);
  line-height: 1.5;
}

.seo-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.seo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 950;
}

.seo-button.primary {
  background: var(--seo-ink);
  color: #fffdf8;
}

.seo-button.secondary {
  border: 1px solid var(--seo-ink);
  background: rgba(255, 253, 248, 0.72);
}

.seo-band {
  padding: clamp(42px, 8vw, 96px) clamp(20px, 5vw, 76px);
}

.seo-proof-band {
  background: var(--seo-ink);
  color: #fffdf8;
}

.seo-band-inner {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) 1fr;
  gap: clamp(20px, 5vw, 56px);
  align-items: start;
}

.seo-keywords {
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.seo-keywords li {
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 999px;
  padding: 11px 14px;
  color: #fffdf8;
  font-weight: 850;
}

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

.seo-feature {
  min-height: 260px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--seo-panel);
}

.seo-feature h2,
.seo-faq h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.seo-feature p,
.seo-faq p {
  color: var(--seo-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.seo-faq-band {
  background: #e7efe9;
}

.seo-faq {
  max-width: 900px;
}

.seo-faq details {
  border-top: 1px solid rgba(21, 23, 28, 0.16);
  padding: 20px 0;
}

.seo-faq details:last-child {
  border-bottom: 1px solid rgba(21, 23, 28, 0.16);
}

.seo-faq summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 950;
}

@media (max-width: 860px) {
  .seo-nav {
    position: absolute;
    align-items: flex-start;
  }

  .seo-nav nav {
    display: none;
  }

  .seo-hero {
    min-height: 94vh;
    padding-top: 104px;
  }

  .seo-deck-stack {
    top: 13vh;
    right: -42vw;
    width: 118vw;
    opacity: 0.48;
  }

  .seo-control-strip {
    display: none;
  }

  .seo-hero-copy h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 18vw, 5.8rem);
  }

  .seo-band-inner,
  .seo-feature-grid {
    grid-template-columns: 1fr;
  }
}
