:root {
  color-scheme: light;
  --bg: #f7efdf;
  --paper: #fffaf1;
  --paper-strong: #ffffff;
  --ink: #081c3a;
  --muted: #5d6679;
  --line: rgba(8, 28, 58, 0.14);
  --line-strong: rgba(8, 28, 58, 0.22);
  --accent: #ffd20a;
  --accent-deep: #f3272f;
  --blue: #1756f5;
  --pastel-blue: #dfe5f7;
  --pastel-pink: #f6d4cd;
  --pastel-cream: #f5e6bf;
  --shadow: 0 20px 60px rgba(8, 28, 58, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 10, 0.72), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(223, 229, 247, 0.9), transparent 22%),
    radial-gradient(circle at 10% 58%, rgba(246, 212, 205, 0.7), transparent 20%),
    linear-gradient(180deg, #fffaf1 0%, var(--bg) 44%, #f4ecd9 100%);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
}

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

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

.page-shell {
  width: min(1160px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 249, 240, 0.78)),
    linear-gradient(180deg, rgba(255, 210, 10, 0.18), transparent 45%);
  box-shadow: var(--shadow);
  padding: 24px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(23, 86, 245, 0.14);
  filter: blur(10px);
}

.hero-secondary {
  padding-bottom: 28px;
}

.topbar,
.hero-grid,
.section,
.cta-card,
.quote-card {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ghost-link {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: center;
}

.hero-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul,
figure,
blockquote {
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.08;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-text,
.feature-card p,
.step-card p,
.cta-card p,
.prose-card p,
.cluster-card p,
.faq-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink);
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.ghost-link:hover,
.ghost-link:focus-visible,
.cluster-card:hover,
.cluster-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(24, 22, 26, 0.12);
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
}

.hero-points,
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.hero-points li,
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

.hero-points li::before,
.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 18px 0 0 var(--blue);
}

.hero-card {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 360px);
  padding: 16px;
  border-radius: 36px;
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(24, 22, 26, 0.26);
  transform: rotate(4deg);
}

.phone-stack {
  position: relative;
  min-height: 520px;
}

.hero-shot {
  position: absolute;
  width: 72%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 24px 48px rgba(8, 28, 58, 0.26);
}

.hero-shot-back {
  top: 16px;
  left: 0;
  transform: rotate(-8deg);
}

.hero-shot-front {
  right: 0;
  bottom: 16px;
  transform: rotate(6deg);
}

.social-proof {
  padding: 28px 10px 10px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  margin-top: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 250, 241, 0.76);
  box-shadow: var(--shadow);
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.content-grid,
.narrative-grid,
.steps-grid,
.gallery-grid,
.cluster-grid {
  display: grid;
  gap: 18px;
}

.content-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

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

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

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

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

.feature-card,
.step-card,
.quote-card,
.cta-card,
.shot-card,
.cluster-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  padding: 22px;
}

.feature-card,
.step-card,
.cluster-card {
  display: grid;
  gap: 14px;
}

.prose-card {
  gap: 18px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}

.shot-card {
  padding: 14px;
  overflow: hidden;
}

.shot-card img {
  width: 100%;
  border-radius: 18px;
}

.shot-card-yellow {
  background: rgba(255, 210, 10, 0.18);
}

.shot-card-blue {
  background: rgba(23, 86, 245, 0.12);
}

.shot-card-red {
  background: rgba(243, 39, 47, 0.12);
}

.shot-card-cream {
  background: rgba(245, 230, 191, 0.5);
}

.cluster-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 241, 0.84));
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-card summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 700;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card p {
  margin-top: 14px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(223, 229, 247, 0.55)),
    rgba(255, 255, 255, 0.74);
}

.site-footer {
  margin-top: 28px;
  padding: 24px 28px 4px;
}

.footer-title {
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 1080px) {
  .hero-grid,
  .content-grid,
  .narrative-grid,
  .steps-grid,
  .gallery-grid,
  .cluster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid-single {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 16px, 100%);
    padding: 8px 0 28px;
  }

  .hero,
  .section {
    border-radius: 24px;
    padding: 20px;
  }

  .topbar,
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero-grid,
  .content-grid,
  .narrative-grid,
  .steps-grid,
  .gallery-grid,
  .cluster-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  h1 {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  h2 {
    max-width: none;
  }

  .phone-frame {
    width: min(100%, 320px);
    margin: 0 auto;
    transform: none;
  }

  .phone-stack {
    min-height: 420px;
  }

  .hero-shot {
    width: 74%;
  }
}
