:root {
  --bg: #fff7ea;
  --bg-soft: #fffdf8;
  --bg-warm: #ffecc9;
  --text: #201b14;
  --muted: #665b4b;
  --line: #ead7b7;
  --accent: #b84d08;
  --accent-dark: #823205;
  --gold: #f5a623;
  --gold-soft: #ffdd8a;
  --green: #26735d;
  --blue: #245f8f;
  --rose: #ad3154;
  --shadow: 0 24px 70px rgba(77, 48, 15, 0.16);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(245, 166, 35, 0.18), transparent 28rem),
    linear-gradient(180deg, #fff4df 0%, var(--bg) 42%, #fffdf8 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(184, 77, 8, 0.42);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

.skip-link {
  background: var(--text);
  color: #fff;
  left: 1rem;
  padding: 0.65rem 0.85rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: rgba(255, 247, 234, 0.9);
  border-bottom: 1px solid rgba(234, 215, 183, 0.8);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.nav-shell {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0.85rem 1rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.15rem;
  font-weight: 900;
  gap: 0.55rem;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  border: 2px solid #381a06;
  border-radius: 8px;
  box-shadow: 3px 3px 0 #381a06;
  color: #fff;
  display: inline-flex;
  font-size: 0.9rem;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  justify-content: flex-end;
}

.nav-links a {
  border-radius: 8px;
  color: #342b1e;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.45rem 0.55rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: rgba(245, 166, 35, 0.18);
}

.nav-links .nav-cta {
  background: var(--text);
  color: #fff8ea;
  padding-inline: 0.8rem;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  background: var(--accent-dark);
}

.hero {
  overflow: hidden;
  position: relative;
}

.hero-backdrop {
  background:
    linear-gradient(90deg, rgba(255, 247, 234, 0.96), rgba(255, 247, 234, 0.78)),
    url("assets/brand-hero-2048x1152.png") center / cover no-repeat;
  inset: 0;
  opacity: 0.32;
  position: absolute;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 2.5rem;
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100svh - 4.25rem);
  padding: 4.5rem 1rem 3rem;
  position: relative;
}

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

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

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

h1 {
  font-size: clamp(3.15rem, 14vw, 6.65rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 1.2rem;
  max-width: 830px;
}

.hero-subtext {
  color: #4e4334;
  font-size: clamp(1.06rem, 2.8vw, 1.3rem);
  max-width: 760px;
}

.hero-actions,
.section .button,
.page-hero .button {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button,
button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.72rem 1rem;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
}

.primary {
  background: var(--accent-dark);
  color: #fff9ef;
}

.primary:hover,
.primary:focus-visible {
  background: #632404;
}

.secondary {
  background: #fff8ec;
  border-color: #42200b;
  box-shadow: 3px 3px 0 #42200b;
  color: #20170f;
}

.phone-preview {
  background: #17120d;
  border: 8px solid #1f1912;
  border-radius: 34px;
  box-shadow: var(--shadow), 8px 8px 0 rgba(56, 26, 6, 0.12);
  height: 640px;
  margin: 0 auto;
  max-height: 78svh;
  max-width: 320px;
  min-height: 520px;
  overflow: hidden;
  padding: 1.1rem;
  position: relative;
  width: min(82vw, 320px);
}

.phone-top {
  background: #050403;
  border-radius: 999px;
  height: 0.55rem;
  left: 50%;
  position: absolute;
  top: 0.6rem;
  transform: translateX(-50%);
  width: 4.5rem;
  z-index: 2;
}

.reel-stack {
  display: grid;
  gap: 0.75rem;
  height: 100%;
  padding-top: 1.1rem;
}

.mini-reel {
  align-content: end;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  color: #fff;
  display: grid;
  min-height: 0;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.mini-reel::before {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.68) 75%);
  content: "";
  inset: 0;
  position: absolute;
}

.mini-reel > * {
  position: relative;
}

.mini-reel h2 {
  font-size: 1rem;
  line-height: 1.05;
  margin-bottom: 0.35rem;
}

.mini-reel p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
  margin-bottom: 0;
}

.demo-label {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #24170b;
  display: inline-flex;
  font-size: 0.66rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  padding: 0.22rem 0.45rem;
}

.reel-ai {
  background:
    linear-gradient(135deg, rgba(184, 77, 8, 0.35), rgba(245, 166, 35, 0.35)),
    repeating-linear-gradient(135deg, #78360d 0 10px, #9f5512 10px 20px);
}

.reel-creator {
  background:
    linear-gradient(135deg, rgba(173, 49, 84, 0.35), rgba(245, 166, 35, 0.28)),
    radial-gradient(circle at 25% 25%, #ffe4b4, transparent 20%),
    #8d2545;
}

.reel-game {
  background:
    linear-gradient(135deg, rgba(38, 115, 93, 0.42), rgba(36, 95, 143, 0.32)),
    linear-gradient(45deg, #163e34, #214e78);
}

.phone-actions {
  display: grid;
  gap: 0.62rem;
  position: absolute;
  right: 1.15rem;
  top: 42%;
}

.phone-actions span {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  height: 2rem;
  width: 2rem;
}

.section,
.page-hero,
.legal-page {
  margin: 0 auto;
  max-width: 1180px;
  padding: 3.5rem 1rem;
}

.compact-hero {
  padding-bottom: 1.5rem;
}

.page-hero {
  max-width: 920px;
  text-align: center;
}

.page-hero h1 {
  margin-inline: auto;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.1rem;
}

.split-section {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.3rem;
}

.split-section h2,
.section-heading h2,
.safety-banner h2 {
  font-size: clamp(2rem, 7vw, 4rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 0;
}

.section-lede {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  margin-bottom: 1.25rem;
  max-width: 760px;
}

.card-grid,
.support-grid {
  display: grid;
  gap: 1rem;
}

.info-card {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(77, 48, 15, 0.08);
  padding: 1.15rem;
}

.info-card h2,
.info-card h3 {
  font-size: 1.22rem;
  line-height: 1.15;
  margin-bottom: 0.55rem;
}

.info-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-icon {
  color: var(--accent-dark);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
}

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

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.steps span {
  align-items: center;
  background: var(--gold-soft);
  border: 2px solid #4b2508;
  border-radius: 999px;
  color: #3b1b05;
  display: inline-flex;
  font-weight: 900;
  height: 2.1rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 2.1rem;
}

.steps h3 {
  margin-bottom: 0.45rem;
}

.steps p {
  color: var(--muted);
  margin-bottom: 0;
}

.safety-banner {
  align-items: center;
  background: #21170f;
  border-radius: 16px;
  color: #fff8ec;
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  padding: 2rem;
}

.safety-banner .eyebrow,
.safety-banner p {
  color: #ffdd8a;
}

.safety-banner .secondary {
  background: #fff8ec;
  justify-self: start;
}

.demo-grid-section {
  padding-top: 1rem;
}

.demo-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.demo-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(77, 48, 15, 0.1);
  overflow: hidden;
}

.demo-card-media {
  align-items: center;
  aspect-ratio: 9 / 16;
  color: #fff;
  display: flex;
  justify-content: center;
  min-height: 300px;
  position: relative;
}

.demo-card-media::after {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.42) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.demo-card-media span {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: #201b14;
  display: inline-flex;
  font-size: 1.35rem;
  font-weight: 950;
  height: 5rem;
  justify-content: center;
  position: relative;
  width: 5rem;
  z-index: 1;
}

.theme-gold .demo-card-media {
  background: linear-gradient(145deg, #7c350b, #f5a623);
}

.theme-rose .demo-card-media {
  background: linear-gradient(145deg, #842142, #ffb56a);
}

.theme-teal .demo-card-media {
  background: linear-gradient(145deg, #123a31, #2aa27f);
}

.theme-ink .demo-card-media {
  background: linear-gradient(145deg, #191714, #ba6a12);
}

.theme-blue .demo-card-media {
  background: linear-gradient(145deg, #173d64, #78b7d8);
}

.theme-green .demo-card-media {
  background: linear-gradient(145deg, #225533, #e0bd43);
}

.demo-card-body {
  padding: 1rem;
}

.demo-card h2 {
  font-size: 1.12rem;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.demo-card p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tags span {
  background: #fff0d4;
  border: 1px solid #f0c673;
  border-radius: 999px;
  color: #57300a;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.2rem 0.48rem;
}

.demo-card-footer {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.demo-card-footer span {
  color: #514636;
  font-size: 0.88rem;
  font-weight: 800;
}

.demo-card-footer button {
  background: #251a10;
  color: #fff8ec;
  font-size: 0.86rem;
  min-height: 2.35rem;
  padding: 0.5rem 0.7rem;
}

.legal-page {
  max-width: 920px;
}

.document {
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(77, 48, 15, 0.08);
  padding: clamp(1.2rem, 4vw, 2.5rem);
}

.document h1 {
  font-size: clamp(2.5rem, 9vw, 4.6rem);
}

.document h2 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 2rem 0 0.65rem;
}

.document p,
.document li {
  color: var(--muted);
}

.document ul {
  padding-left: 1.2rem;
}

.document li + li {
  margin-top: 0.45rem;
}

.callout {
  background: #fff0d4;
  border: 1px solid #e7bb64;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  padding: 1rem;
}

.callout h2 {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 1.4rem 1rem;
}

.footer-shell {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
}

.footer-shell p {
  margin: 0;
}

.footer-shell nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
}

.footer-shell a {
  font-weight: 700;
}

@media (min-width: 720px) {
  .nav-shell {
    padding-inline: 1.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
    padding-inline: 1.5rem;
  }

  .phone-preview {
    justify-self: end;
  }

  .split-section {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  }

  .card-grid,
  .steps,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .safety-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 2.4rem;
  }
}

@media (min-width: 1020px) {
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    font-size: 0.88rem;
    padding: 0.36rem 0.42rem;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-actions .button {
    flex: 1 1 11rem;
  }

  .phone-preview {
    max-height: none;
  }

  .demo-card-media {
    min-height: 360px;
  }
}
