:root {
  --bg: #231E1B;
  --bg-soft: #2B2521;
  --panel: rgba(43, 37, 33, 0.85);
  --panel-strong: #332C28;
  --ink: #FFFBEC;
  --muted: #A89F95;
  --line: rgba(255, 251, 236, 0.08);
  --accent: #D78A62;
  --accent-deep: #BC6B42;
  --accent-soft: #442D20;
  --gold: #d9b471;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215, 138, 98, 0.15), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(215, 138, 98, 0.08), transparent 18%),
    linear-gradient(180deg, #2D2723 0%, var(--bg) 44%, #1A1613 100%);
}

img {
  max-width: 100%;
}

button,
a {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem;
  margin-top: 1.2rem;
  border: 1px solid rgba(255, 251, 236, 0.08);
  border-radius: 999px;
  background: rgba(43, 37, 33, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1A1613;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-text strong {
  font-size: 1rem;
  line-height: 1;
}

.brand-text span {
  font-size: 0.76rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.section {
  padding: 5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 1.18fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 7.5rem);
  padding-top: 4rem;
}

.eyebrow,
.audience-kicker,
.pricing-tier,
.panel-label,
.portrait-age,
.status-pill {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

.eyebrow {
  color: var(--accent-deep);
  margin-bottom: 1rem;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 {
  font-size: clamp(3.7rem, 5vw, 6.25rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.7rem, 4vw, 4.3rem);
  max-width: 12ch;
}

h3 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  font-size: 1.1rem;
  max-width: 58ch;
  margin: 1.5rem 0 1.2rem;
}

.hero-note {
  margin: 0 0 1.4rem;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.7rem;
}

.hero-points,
.audience-card ul,
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points {
  display: grid;
  gap: 0.8rem;
}

.hero-points li,
.audience-card li,
.pricing-card li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
}

.hero-points li::before,
.audience-card li::before,
.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  transform: translateY(-50%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-small {
  min-height: 2.9rem;
  padding: 0 1.15rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.button-large {
  min-height: 3.6rem;
  padding: 0 1.55rem;
  font-size: 1rem;
  font-weight: 700;
}

.button-solid {
  color: #110E0C;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 14px 30px rgba(215, 138, 98, 0.35);
}

.button-ghost {
  color: var(--ink);
  background: rgba(43, 37, 33, 0.75);
  border: 1px solid rgba(255, 251, 236, 0.15);
}

.button-block {
  width: 100%;
}

.hero-visual {
  position: relative;
}

.app-glow {
  position: absolute;
  inset: 7% 8% auto auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 138, 98, 0.25), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.app-window {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: rgba(50, 43, 38, 0.85);
  border: 1px solid rgba(255, 251, 236, 0.12);
  box-shadow: var(--shadow);
}

.app-chrome {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.3rem;
  border-bottom: 1px solid rgba(255, 251, 236, 0.08);
  background: rgba(35, 30, 26, 0.84);
}

.app-chrome span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #e6bfaa;
}

.app-chrome span:nth-child(2) {
  background: #dfd1aa;
}

.app-chrome span:nth-child(3) {
  background: #b9d1ba;
}

.app-chrome p {
  margin-left: auto;
  font-size: 0.86rem;
  font-weight: 700;
  color: #9C8F84;
}

.app-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  min-height: 620px;
}

.app-sidebar,
.app-tools {
  padding: 1.2rem;
  background: rgba(35, 30, 26, 0.75);
}

.app-sidebar {
  border-right: 1px solid rgba(255, 251, 236, 0.08);
}

.app-tools {
  border-left: 1px solid rgba(255, 251, 236, 0.08);
}

.sidebar-block + .sidebar-block,
.tool-panel + .tool-panel {
  margin-top: 1rem;
}

.panel-label,
.portrait-age {
  color: #B2A69A;
}

.child-list,
.montage-stack,
.export-list {
  display: grid;
  gap: 0.7rem;
}

.child-row,
.saved-card,
.tool-panel,
.step-card,
.benefit-card,
.audience-card,
.feature-card,
.memory-panel,
.pricing-card,
.final-cta-card,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.child-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem;
}

.child-row.active {
  background: rgba(215, 138, 98, 0.15);
  border-color: rgba(215, 138, 98, 0.3);
}

.child-row strong,
.saved-card strong {
  display: block;
  font-size: 0.95rem;
}

.child-row span:not(.avatar),
.saved-card span {
  font-size: 0.82rem;
  color: var(--muted);
}

.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 16px;
  background: linear-gradient(160deg, #eed9c2 0%, #d39b75 100%);
}

.avatar-b {
  background: linear-gradient(160deg, #f0c5af 0%, #c87452 100%);
}

.avatar-c {
  background: linear-gradient(160deg, #ead6aa 0%, #c0a06d 100%);
}

.saved-card {
  padding: 0.95rem;
}

.saved-card.muted {
  opacity: 0.8;
}

.app-main {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(43, 37, 33, 0.96) 0%, rgba(35, 30, 26, 0.96) 100%);
}

.workflow-strip,
.editor-grid,
.preview-timeline,
.toggle-row {
  display: flex;
  align-items: center;
}

.workflow-strip {
  justify-content: space-between;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(55, 47, 42, 0.85);
}

.portrait-card {
  flex: 1;
  padding: 0.75rem;
  border-radius: 18px;
  background: rgba(55, 47, 42, 0.88);
  border: 1px solid rgba(255, 251, 236, 0.08);
}

.portrait-card.highlight {
  background: linear-gradient(180deg, rgba(255, 241, 227, 0.98), rgba(255, 248, 241, 0.92));
}

.portrait {
  position: relative;
  height: 118px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7e6d8 0%, #d59e76 100%);
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 18% 24% 12%;
  border-radius: 50% 50% 42% 42%;
  background: linear-gradient(180deg, #f2d5c1 0%, #e9bea1 100%);
}

.portrait::after {
  content: "";
  position: absolute;
  inset: auto 26% 12% 26%;
  height: 24%;
  border-radius: 999px 999px 28px 28px;
  background: rgba(244, 220, 199, 0.85);
}

.portrait-baby {
  background: linear-gradient(180deg, #f6e7dc 0%, #e4b38c 100%);
}

.portrait-kid {
  background: linear-gradient(180deg, #f6decd 0%, #d4855c 100%);
}

.portrait-older {
  background: linear-gradient(180deg, #f1dac9 0%, #b96b49 100%);
}

.timeline-arrow {
  width: 1.6rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(215, 138, 98, 0.3), rgba(215, 138, 98, 0.9));
  position: relative;
}

.timeline-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid rgba(215, 138, 98, 0.9);
}

.editor-grid {
  gap: 1rem;
  align-items: stretch;
}

.editor-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
}

.panel {
  padding: 1rem;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.status-pill {
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  background: rgba(215, 138, 98, 0.2);
  color: var(--accent-deep);
}

.alignment-scene {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.face {
  position: relative;
  min-height: 255px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f7e7da 0%, #e0a782 100%);
  overflow: hidden;
}

.face::before {
  content: "";
  position: absolute;
  inset: 16% 22% 9%;
  border-radius: 48% 48% 42% 42%;
  background: linear-gradient(180deg, #f3d8c4 0%, #ebc2a7 100%);
}

.face-left::after,
.face-right::after {
  content: "";
  position: absolute;
  inset: 8% 20% auto 20%;
  height: 28%;
  border-radius: 46% 46% 34% 34%;
  background: rgba(96, 58, 39, 0.18);
}

.landmark {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid rgba(201, 111, 72, 0.9);
  z-index: 1;
}

.landmark-eye {
  top: 43%;
  left: 34%;
}

.landmark-eye.second {
  left: auto;
  right: 34%;
}

.landmark-nose {
  top: 56%;
  left: 50%;
  transform: translateX(-50%);
}

.landmark-mouth {
  top: 67%;
  left: 50%;
  transform: translateX(-50%);
}

.slider-rail {
  grid-column: 1 / -1;
  position: relative;
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(214, 191, 172, 0.7);
}

.slider-fill {
  position: absolute;
  inset: 0 36% 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
}

.preview-stage {
  display: grid;
  gap: 1rem;
}

.preview-frame {
  position: relative;
  min-height: 255px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #7A4930 0%, #4D2D1E 100%);
}

.morph {
  position: absolute;
  inset: 12% 28% 10%;
  border-radius: 46% 46% 42% 42%;
  animation: pulseMorph 6s ease-in-out infinite;
}

.morph-a {
  background: rgba(255, 251, 236, 0.3);
  transform: translateX(-12%);
}

.morph-b {
  background: rgba(215, 138, 98, 0.3);
  transform: scale(1.06);
  animation-delay: 1.1s;
}

.morph-c {
  background: rgba(215, 138, 98, 0.15);
  transform: translateX(10%) scale(1.1);
  animation-delay: 2.2s;
}

.play-indicator {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(35, 30, 26, 0.9);
  border: 1px solid rgba(255, 251, 236, 0.14);
  position: relative;
}

.play-indicator::before {
  content: "";
  position: absolute;
  left: 0.76rem;
  top: 0.55rem;
  border-top: 0.34rem solid transparent;
  border-bottom: 0.34rem solid transparent;
  border-left: 0.55rem solid var(--accent);
}

.preview-timeline {
  gap: 0.8rem;
}

.preview-timeline span {
  font-size: 0.84rem;
  color: #816a59;
}

.progress-bar {
  position: relative;
  flex: 1;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress-bar span {
  position: absolute;
  inset: 0 22% 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
}

.tool-panel {
  padding: 1rem;
}

.montage-stack span,
.export-list span,
.toggle-row span:first-child {
  display: block;
  padding: 0.78rem 0.9rem;
  border-radius: 14px;
  background: rgba(35, 30, 26, 0.86);
  color: #D3CABF;
  font-size: 0.86rem;
}

.toggle-row {
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.7rem;
}

.toggle-row span:first-child {
  flex: 1;
}

.toggle {
  width: 3rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 0.17rem;
  left: 0.18rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #fffbec;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.toggle.on {
  background: linear-gradient(90deg, rgba(201, 111, 72, 0.8), rgba(217, 180, 113, 0.8));
}

.toggle.on::after {
  left: auto;
  right: 0.18rem;
}

.section-soft {
  position: relative;
}

.section-soft::before {
  content: "";
  position: absolute;
  inset: 1rem auto 1rem 50%;
  width: min(100vw - 1.5rem, calc(var(--container) + 3.5rem));
  transform: translateX(-50%);
  border-radius: 40px;
  background: rgba(43, 37, 33, 0.58);
  border: 1px solid rgba(255, 251, 236, 0.08);
  z-index: -1;
}

.section-heading {
  margin-bottom: 2.3rem;
}

.section-heading h2 {
  max-width: 13ch;
}

.steps-grid,
.benefits-grid,
.features-grid {
  display: grid;
  gap: 1.15rem;
}

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

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

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

.step-card,
.benefit-card,
.feature-card {
  padding: 1.5rem;
}

.step-number {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.audience-grid,
.outcome-grid,
.pricing-grid {
  display: grid;
  gap: 1.2rem;
}

.audience-grid,
.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.audience-card,
.memory-panel,
.pricing-card,
.final-cta-card {
  padding: 2rem;
}

.audience-kicker,
.pricing-tier {
  color: var(--accent-deep);
  margin-bottom: 0.8rem;
}

.audience-card h3 {
  font-size: 1.6rem;
  max-width: 18ch;
}

.audience-card p + ul {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.9rem;
}

.card-actions {
  margin-top: 1.4rem;
}

.outcome-grid {
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
}

.memory-panel {
  background:
    radial-gradient(circle at top left, rgba(255, 220, 191, 0.55), transparent 30%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.95), rgba(251, 245, 238, 0.95));
}

.memory-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}

.memory-strip span {
  display: block;
  padding: 0.8rem 0.55rem;
  border-radius: 14px;
  text-align: center;
  font-size: 0.84rem;
  color: #725d50;
  background: rgba(255, 248, 239, 0.92);
  border: 1px solid rgba(255, 251, 236, 0.08);
}

.memory-wave {
  position: relative;
  margin-bottom: 1.7rem;
}

.wave-line {
  height: 110px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 10% 80%, rgba(201, 111, 72, 0.9) 0 4px, transparent 5px),
    radial-gradient(circle at 37% 32%, rgba(201, 111, 72, 0.78) 0 4px, transparent 5px),
    radial-gradient(circle at 64% 60%, rgba(201, 111, 72, 0.74) 0 4px, transparent 5px),
    radial-gradient(circle at 90% 18%, rgba(201, 111, 72, 0.9) 0 4px, transparent 5px),
    linear-gradient(180deg, rgba(255, 242, 230, 0.96), rgba(250, 235, 223, 0.96));
  border: 1px solid rgba(255, 251, 236, 0.08);
}

.memory-markers {
  position: absolute;
  inset: 0;
}

.memory-markers span {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff7ef;
  border: 3px solid rgba(201, 111, 72, 0.85);
}

.memory-markers span:nth-child(1) {
  left: 8%;
  bottom: 16%;
}

.memory-markers span:nth-child(2) {
  left: 34%;
  top: 25%;
}

.memory-markers span:nth-child(3) {
  left: 61%;
  top: 52%;
}

.memory-markers span:nth-child(4) {
  right: 8%;
  top: 12%;
}

blockquote {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.1;
  color: #533f32;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.faq-item {
  border: 1px solid rgba(255, 251, 236, 0.08);
  border-radius: var(--radius-md);
  background: rgba(43, 37, 33, 0.72);
  padding: 1.15rem 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

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

.faq-item p {
  margin-top: 0.9rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  line-height: 1;
  margin: 0 0 0.25rem;
}

.pricing-per {
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  vertical-align: middle;
}

.pricing-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.pricing-card ul {
  display: grid;
  gap: 0.9rem;
}

.pricing-summary {
  min-height: 4.8rem;
}

.pricing-card-featured {
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.98), rgba(252, 239, 228, 0.98));
  border-color: rgba(182, 121, 88, 0.22);
  color: #2b211c;
}

.pricing-card-featured h3,
.pricing-card-featured p,
.pricing-card-featured li {
  color: #5b4335;
}

.pricing-card-featured .pricing-tier {
  color: #9a5b37;
}

.final-cta {
  padding-bottom: 6.5rem;
}

.final-cta-card {
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(215, 138, 98, 0.15), transparent 28%),
    linear-gradient(180deg, rgba(43, 37, 33, 0.98), rgba(35, 30, 26, 0.98));
}

.final-cta-card h2 {
  max-width: 11ch;
  margin: 0 auto 1rem;
}

.final-cta-card p:not(.eyebrow) {
  max-width: 52ch;
  margin: 0 auto 1.8rem;
}

.final-cta-card .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2.2rem;
}

.site-footer p {
  color: var(--ink);
  font-weight: 800;
}

.site-footer span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Privacy trust bar */
.privacy-bar {
  width: min(calc(100% - 2rem), var(--container));
  margin: -1.5rem auto 0;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 251, 236, 0.12);
  border-radius: 20px;
  background: rgba(43, 37, 33, 0.75);
  backdrop-filter: blur(8px);
}

.privacy-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* Brand logo image (when swapping in real logo) */
.brand-logo {
  height: 2.4rem;
  width: auto;
}

/* Video modal */
.demo-modal-video .demo-modal-card {
  padding: 1.5rem;
}

.demo-video-wrap {
  position: relative;
  margin: 1.2rem 0 0;
  border-radius: 20px;
  overflow: hidden;
  background: #1a1008;
  aspect-ratio: 16 / 9;
}

.demo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.demo-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(180deg, rgba(255, 247, 238, 0.96), rgba(249, 236, 220, 0.96));
  border-radius: 20px;
}

.demo-video-placeholder span {
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
}

.demo-video-placeholder p {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Hide placeholder once video src is present and can play */
.demo-video:not([src=""]) ~ .demo-video-placeholder,
.demo-video[src$=".mp4"] ~ .demo-video-placeholder {
  display: none;
}

.demo-modal {
  width: min(calc(100% - 2rem), 760px);
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: transparent;
  color: var(--ink);
}

.demo-modal::backdrop {
  background: rgba(41, 27, 20, 0.5);
  backdrop-filter: blur(8px);
}

.demo-modal-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(215, 138, 98, 0.15), transparent 28%),
    linear-gradient(180deg, rgba(43, 37, 33, 0.98), rgba(35, 30, 26, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.demo-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  background: rgba(35, 30, 26, 0.88);
  color: var(--ink);
}

.demo-sequence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.6rem 0;
  position: relative;
}

.demo-photo {
  min-height: 210px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f3e0d2 0%, #d59670 100%);
  box-shadow: 0 14px 28px rgba(63, 40, 23, 0.08);
}

.demo-photo::before {
  content: "";
  display: block;
  width: 56%;
  height: 66%;
  margin: 14% auto 0;
  border-radius: 48% 48% 40% 40%;
  background: linear-gradient(180deg, #f2d6c0 0%, #e8bda0 100%);
}

.demo-photo-a {
  background: linear-gradient(180deg, #f6e8de 0%, #e4ae89 100%);
}

.demo-photo-b {
  background: linear-gradient(180deg, #f5dfd1 0%, #d5845c 100%);
}

.demo-photo-c {
  background: linear-gradient(180deg, #f3d8c7 0%, #b96746 100%);
}

.demo-playline {
  position: absolute;
  inset: auto 8% -0.6rem 8%;
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(224, 203, 184, 0.72);
  overflow: hidden;
}

.demo-playline::after {
  content: "";
  position: absolute;
  inset: 0 34% 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
  animation: glide 2.8s ease-in-out infinite alternate;
}

.demo-copy {
  display: grid;
  gap: 0.8rem;
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pulseMorph {
  0%,
  100% {
    opacity: 0.4;
    filter: blur(0);
  }
  50% {
    opacity: 0.9;
    filter: blur(4px);
  }
}

@keyframes glide {
  0% {
    inset: 0 52% 0 0;
  }
  100% {
    inset: 0 0 0 52%;
  }
}

@media (max-width: 1120px) {
  .hero,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

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

  .app-body {
    grid-template-columns: 1fr;
  }

  .app-sidebar,
  .app-tools {
    border: 0;
  }

  .app-sidebar {
    border-bottom: 1px solid rgba(255, 251, 236, 0.08);
  }

  .app-tools {
    border-top: 1px solid rgba(255, 251, 236, 0.08);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .tool-panel + .tool-panel {
    margin-top: 0;
  }

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

  .pricing-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid-three .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 1rem;
    border-radius: 28px;
  }

  .site-nav,
  .site-header > .button {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
  }

  .steps-grid,
  .benefits-grid,
  .features-grid,
  .audience-grid,
  .pricing-grid,
  .pricing-grid-three,
  .editor-grid,
  .app-tools,
  .demo-sequence {
    grid-template-columns: 1fr;
  }

  .privacy-bar {
    gap: 0.5rem 1rem;
  }

  .hero-note {
    font-size: 0.92rem;
  }

  .workflow-strip {
    padding: 0.8rem;
  }

  .timeline-arrow {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-item summary {
    font-size: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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