:root {
  --ink: #302941;
  --text: #686176;
  --muted: #8b839b;
  --cream: #fff8ee;
  --paper: #fffdf8;
  --white: #ffffff;
  --peach: #ff9f72;
  --coral: #ff6f8e;
  --sun: #ffd76f;
  --mint: #a7e4c2;
  --sky: #9bd9ff;
  --lavender: #d8c8ff;
  --violet: #7a5cff;
  --line: rgba(72, 57, 96, 0.12);
  --shadow: 0 18px 50px rgba(80, 58, 110, 0.12);
  --soft-shadow: 0 12px 30px rgba(80, 58, 110, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 215, 111, 0.24), transparent 30rem),
    linear-gradient(180deg, #fff8ee 0%, #fff9f2 35%, #f5fbff 70%, #fff8f0 100%);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

.desktop-only {
  display: none !important;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  overflow: hidden;
  min-height: 100vh;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-band {
  position: relative;
  padding: 72px 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 28px));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 14px 40px rgba(74, 54, 98, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: box-shadow 220ms ease, background 220ms ease, top 220ms ease;
}

.site-header.is-scrolled {
  top: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 16px 42px rgba(74, 54, 98, 0.14);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-mobile-cta {
  margin-left: auto;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), var(--peach));
  box-shadow: 0 10px 22px rgba(255, 111, 142, 0.22);
  font-size: 0.82rem;
  font-weight: 800;
}

.main-nav {
  display: none;
}

.main-nav a {
  color: #5a536b;
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 180ms ease, transform 180ms ease;
}

.main-nav a:hover {
  color: var(--coral);
  transform: translateY(-1px);
}

.main-nav a.is-active {
  color: #b14967;
}

.main-nav .nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), var(--peach));
  box-shadow: 0 10px 24px rgba(255, 111, 142, 0.24);
}

.main-nav .nav-cta:hover {
  color: var(--white);
}

.nav-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 159, 114, 0.16);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-open .main-nav {
  position: fixed;
  inset: 82px 14px auto;
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: var(--shadow);
}

.nav-open .main-nav a {
  padding: 12px 14px;
  border-radius: var(--radius);
}

.nav-mobile-note {
  margin-top: 8px;
  padding: 14px;
  border-radius: var(--radius);
  color: #5a536b;
  background: linear-gradient(135deg, rgba(255, 215, 111, 0.2), rgba(155, 217, 255, 0.22));
}

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

.nav-mobile-note strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.9rem;
}

.nav-mobile-note span {
  font-size: 0.82rem;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 118px;
  background:
    linear-gradient(130deg, rgba(255, 248, 238, 0.98) 0%, rgba(255, 247, 238, 0.96) 42%, rgba(230, 247, 255, 0.92) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 42px;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: #a2536d;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-subtitle,
.section-heading p,
.personalization-copy p,
.memory-content p,
.price-note,
.footer-grid p {
  color: var(--text);
  font-size: 1rem;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: clamp(1.02rem, 2.5vw, 1.22rem);
}

.hero-actions,
.footer-links,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), var(--peach) 70%, var(--sun));
  box-shadow: 0 14px 28px rgba(255, 111, 142, 0.3);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(122, 92, 255, 0.14);
  box-shadow: 0 10px 22px rgba(80, 58, 110, 0.1);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(255, 111, 142, 0.24);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(122, 92, 255, 0.1);
  border-radius: 999px;
  color: #61576e;
  background: rgba(255, 255, 255, 0.54);
  font-size: 0.82rem;
  font-weight: 700;
}

.mobile-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.mobile-proof-strip span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(122, 92, 255, 0.1);
  border-radius: var(--radius);
  color: #554d65;
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.mobile-quick-themes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.mobile-quick-themes a {
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 111, 142, 0.15);
  border-radius: var(--radius);
  color: #5a536b;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 239, 231, 0.78));
  box-shadow: 0 10px 22px rgba(80, 58, 110, 0.08);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: center;
}

.hero-visual {
  position: relative;
  filter: drop-shadow(0 24px 42px rgba(74, 54, 98, 0.16));
}

.hero-visual img {
  width: min(560px, 100%);
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 26px 64px rgba(64, 46, 78, 0.18);
  animation: floatHero 6s ease-in-out infinite;
}

.mobile-hero-preview {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 215, 111, 0.24), transparent 9rem),
    radial-gradient(circle at 100% 12%, rgba(122, 92, 255, 0.14), transparent 8rem),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 52px rgba(80, 58, 110, 0.16);
  backdrop-filter: blur(14px);
}

.mobile-hero-preview::before {
  position: absolute;
  inset: -10px auto auto 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 111, 0.8), rgba(255, 111, 142, 0.2) 58%, transparent 60%);
  content: "";
  filter: blur(1px);
}

.mobile-video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(48, 41, 65, 0.16);
}

.mobile-video-shell img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mobile-video-shell::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(48, 41, 65, 0.56));
  content: "";
}

.mobile-play-badge {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 111, 142, 0.9);
  box-shadow: 0 12px 28px rgba(48, 41, 65, 0.2);
}

.mobile-play-badge svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transform: translateX(2px);
}

.mobile-video-caption {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  color: var(--white);
}

.mobile-video-caption strong,
.mobile-video-caption span {
  display: block;
}

.mobile-video-caption strong {
  max-width: 170px;
  font-size: 0.98rem;
  line-height: 1.2;
}

.mobile-video-caption span {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  font-weight: 800;
}

.mobile-story-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mobile-story-steps span {
  display: grid;
  min-height: 48px;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(122, 92, 255, 0.1);
  border-radius: 12px;
  color: #554d65;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.73rem;
  font-weight: 800;
  text-align: center;
}

.hero-pattern,
.section-bg,
.memory-bg {
  position: absolute;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 420px auto;
  opacity: 0.08;
}

.pattern-stars {
  inset: 6% -8% auto auto;
  width: 56vw;
  height: 56vw;
  max-height: 760px;
  background-image: url("/assets/bg-stars.svg");
}

.pattern-leaves {
  inset: auto auto -18% -12%;
  width: 58vw;
  height: 58vw;
  max-height: 760px;
  background-image: url("/assets/bg-jungle.svg");
}

.floating-shape {
  position: absolute;
  z-index: 0;
  opacity: 0.7;
  animation: floatTiny 8s ease-in-out infinite;
}

.floating-shape.star {
  width: 18px;
  height: 18px;
  background: var(--sun);
  clip-path: polygon(50% 0, 62% 36%, 100% 38%, 69% 59%, 80% 100%, 50% 75%, 20% 100%, 31% 59%, 0 38%, 38% 36%);
}

.floating-shape.leaf {
  width: 34px;
  height: 18px;
  border-radius: 100% 0 100% 0;
  background: var(--mint);
  transform: rotate(-22deg);
}

.floating-shape.cloud {
  width: 54px;
  height: 24px;
  border-radius: 999px;
  background: rgba(155, 217, 255, 0.72);
  box-shadow: -14px 5px 0 rgba(155, 217, 255, 0.55), 16px 7px 0 rgba(155, 217, 255, 0.45);
}

.shape-one {
  top: 22%;
  left: 8%;
}

.shape-two {
  right: 9%;
  bottom: 22%;
  animation-delay: -2s;
}

.shape-three {
  top: 16%;
  right: 22%;
  animation-delay: -4s;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.page-hero {
  min-height: 470px;
  display: grid;
  align-items: center;
  padding-top: 150px;
  background: linear-gradient(135deg, rgba(255, 248, 238, 0.98), rgba(235, 249, 255, 0.96));
}

.page-hero-grid,
.auth-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-hero p,
.auth-copy p,
.admin-top p {
  max-width: 680px;
  color: var(--text);
  font-size: 1.05rem;
}

.page-hero-card {
  padding: 22px;
  border: 1px solid rgba(122, 92, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.page-hero-card strong,
.page-hero-card span {
  display: block;
}

.page-hero-card strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.25rem;
}

.page-hero-card span {
  color: var(--text);
}

.narrow-page {
  max-width: 860px;
}

.section-bg {
  inset: 0;
  background-size: 520px auto;
}

.bg-jungle {
  background-image: url("/assets/bg-jungle.svg");
}

.bg-school {
  background-image: url("/assets/bg-school.svg");
}

.bg-sparkles {
  background-image: url("/assets/bg-sparkles.svg");
}

.bg-stars,
.bg-planets {
  background-image: url("/assets/bg-stars.svg");
}

.themes,
.examples {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(245, 251, 255, 0.96));
}

.theme-grid,
.steps-grid,
.examples-grid,
.pricing-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.theme-card,
.step-card,
.video-card,
.price-card,
.story-form-card,
.blog-card,
.info-card,
.admin-panel,
.metric-card {
  border: 1px solid rgba(122, 92, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
}

.theme-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.theme-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 111, 142, 0.38);
  box-shadow: 0 18px 40px rgba(255, 111, 142, 0.15);
}

.theme-art {
  display: grid;
  height: 150px;
  margin-bottom: 18px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 215, 111, 0.24), rgba(155, 217, 255, 0.26));
}

.theme-art img {
  width: 88%;
  max-height: 132px;
  transition: transform 260ms ease;
}

.theme-card:hover .theme-art img {
  transform: scale(1.05);
}

.theme-card p,
.step-card p,
.video-meta span,
.price-card li,
.blog-card p,
.info-card p,
.legal-copy p,
.auth-switch {
  color: var(--text);
  font-size: 0.94rem;
}

.card-link {
  display: inline-flex;
  margin-top: 8px;
  color: #b14967;
  font-weight: 800;
  transition: color 180ms ease;
}

.card-link:hover {
  color: var(--violet);
}

.how {
  background: linear-gradient(180deg, rgba(245, 251, 255, 0.96), rgba(255, 248, 238, 0.96));
}

.step-card {
  position: relative;
  padding: 24px;
}

.step-number {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--violet), var(--coral));
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(122, 92, 255, 0.22);
}

.personalization {
  background: linear-gradient(135deg, rgba(255, 247, 238, 0.98), rgba(248, 246, 255, 0.98));
}

.personalization-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: start;
}

.personalization-copy {
  max-width: 650px;
}

.custom-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.custom-list li {
  position: relative;
  min-height: 44px;
  padding: 12px 12px 12px 38px;
  border: 1px solid rgba(122, 92, 255, 0.1);
  border-radius: var(--radius);
  color: #554d65;
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 700;
}

.custom-list li::before {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sun), var(--coral));
  content: "";
  box-shadow: 0 0 0 4px rgba(255, 159, 114, 0.12);
}

.story-form-card {
  padding: 18px;
}

.form-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.form-header h3 {
  margin-bottom: 4px;
}

.form-header p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
}

.form-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, #fff 0 12%, transparent 13%),
    linear-gradient(135deg, var(--sun), var(--coral), var(--violet));
  box-shadow: 0 12px 24px rgba(255, 111, 142, 0.2);
}

.form-grid {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: #554d65;
  font-size: 0.82rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(72, 57, 96, 0.15);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input,
select {
  min-height: 48px;
  padding: 0 13px;
}

textarea {
  resize: vertical;
  padding: 12px 13px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 111, 142, 0.72);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 111, 142, 0.12);
}

.form-submit {
  width: 100%;
  margin-top: 16px;
}

.form-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: #3c775f;
  font-size: 0.92rem;
  font-weight: 800;
}

.form-message.error {
  color: #b14967;
}

.video-card {
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(80, 58, 110, 0.15);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #edf7ff;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.04);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 111, 142, 0.92);
  box-shadow: 0 12px 28px rgba(75, 41, 84, 0.24);
  transform: translate(-50%, -50%);
}

.play-button svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  transform: translateX(2px);
}

.duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(48, 41, 65, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.video-meta {
  padding: 18px;
}

.video-meta span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #a2536d;
  font-weight: 800;
}

.memory {
  min-height: 460px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 245, 236, 0.98), rgba(232, 248, 255, 0.94));
}

.memory-bg {
  inset: -4%;
  background-image: url("/assets/family-memory.svg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: min(900px, 120vw) auto;
  opacity: 0.1;
}

.memory-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.memory-content p {
  max-width: 560px;
  font-size: 1.1rem;
}

.pricing {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(249, 246, 255, 0.96));
}

.price-card {
  position: relative;
  display: grid;
  min-height: 100%;
  padding: 24px;
}

.price-card.featured {
  border-color: rgba(255, 111, 142, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 238, 0.92));
  box-shadow: 0 24px 55px rgba(255, 111, 142, 0.17);
}

.plan-price {
  margin: 6px 0 10px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.popular {
  justify-self: start;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #8c3e58;
  background: rgba(255, 215, 111, 0.34);
  font-size: 0.75rem;
  font-weight: 800;
}

.price-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 16px 0 24px;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
}

.price-card li::before {
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  content: "";
}

.price-card .btn {
  align-self: end;
  width: 100%;
}

.final-cta {
  text-align: center;
  background: linear-gradient(135deg, #fff1df, #e9f8ff 60%, #f7efff);
}

.final-cta .container {
  display: grid;
  justify-items: center;
}

.final-cta h2 {
  max-width: 760px;
}

.blog-preview {
  background: linear-gradient(180deg, rgba(245, 251, 255, 0.96), rgba(255, 253, 248, 0.96));
}

.blog-grid,
.faq-grid,
.admin-stats {
  display: grid;
  gap: 18px;
}

.blog-card,
.info-card {
  padding: 22px;
}

.blog-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #a2536d;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.legal {
  background: rgba(255, 253, 248, 0.94);
}

.legal-copy {
  display: grid;
  gap: 14px;
  padding-top: 0;
}

.legal-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.auth-page,
.payment-result {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 140px;
  background: linear-gradient(135deg, rgba(255, 247, 238, 0.98), rgba(248, 246, 255, 0.98));
}

.auth-card {
  width: 100%;
  max-width: 520px;
  justify-self: stretch;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.google-auth-btn {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(72, 57, 96, 0.12);
  border-radius: 999px;
  color: #3f3850;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(80, 58, 110, 0.08);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.google-auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(80, 58, 110, 0.12);
}

.google-auth-btn span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, #4285f4, #34a853 48%, #fbbc05 72%, #ea4335);
  font-size: 0.92rem;
  font-weight: 800;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: rgba(72, 57, 96, 0.12);
  content: "";
}

.field-hint {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.resend-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(72, 57, 96, 0.1);
}

.resend-form[hidden] {
  display: none;
}

.resend-form .btn {
  width: 100%;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.auth-actions .btn {
  flex: 1 1 180px;
}

.auth-switch {
  margin: 16px 0 0;
}

.auth-switch a {
  color: #b14967;
  font-weight: 800;
}

.admin-page {
  padding-top: 145px;
  background: linear-gradient(135deg, rgba(255, 248, 238, 0.98), rgba(239, 249, 255, 0.98));
}

.admin-top {
  display: grid;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.admin-top h1 {
  margin-bottom: 10px;
}

.metric-card {
  padding: 20px;
}

.metric-card span {
  display: block;
  color: var(--ink);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}

.metric-card p {
  margin: 8px 0 0;
  color: var(--text);
  font-weight: 700;
}

.admin-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.admin-panel {
  padding: 22px;
}

.admin-panel h2 {
  font-size: 1.35rem;
}

.admin-panel a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(72, 57, 96, 0.1);
  color: #5e566d;
  font-weight: 800;
}

.admin-table {
  overflow-x: auto;
}

.admin-table [role="row"] {
  display: grid;
  min-width: 620px;
  grid-template-columns: 1fr 1.3fr 1fr 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(72, 57, 96, 0.1);
  color: var(--text);
}

.admin-table [role="columnheader"] {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  color: #8c3e58;
  background: rgba(255, 215, 111, 0.32);
  font-size: 0.8rem;
  font-weight: 800;
}

.status-pill.green {
  color: #2f765c;
  background: rgba(167, 228, 194, 0.36);
}

.status-pill.blue {
  color: #2f6788;
  background: rgba(155, 217, 255, 0.36);
}

.cost-panel {
  margin-top: 18px;
}

.cost-grid {
  display: grid;
  gap: 14px;
}

.cost-grid article {
  padding: 16px;
  border: 1px solid rgba(122, 92, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
}

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

.cost-grid span {
  color: #a2536d;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cost-grid strong {
  margin: 5px 0;
  color: var(--ink);
  font-size: 1.6rem;
}

.cost-grid p {
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 700;
}

.cost-grid small {
  color: var(--muted);
  font-weight: 700;
}

.payment-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}

.payment-copy p,
.payment-next p,
.payment-next li {
  color: var(--text);
}

.payment-next h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.payment-next ol {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  margin: 18px 0 0;
}

.success-check {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  box-shadow: 0 14px 30px rgba(47, 118, 92, 0.18);
}

.success-check::before {
  width: 24px;
  height: 13px;
  border-bottom: 4px solid var(--white);
  border-left: 4px solid var(--white);
  content: "";
  transform: rotate(-45deg) translate(1px, -2px);
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid rgba(72, 57, 96, 0.1);
  background: #fffdf8;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-grid p {
  max-width: 440px;
  margin: 12px 0 0;
  font-size: 0.94rem;
}

.footer-links a,
.socials a {
  color: #5e566d;
  font-size: 0.9rem;
  font-weight: 800;
}

.socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(122, 92, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.socials a:hover {
  color: var(--coral);
  border-color: rgba(255, 111, 142, 0.42);
  transform: translateY(-2px);
}

.socials svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-sticky-cta {
  position: fixed;
  z-index: 45;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 215, 111, 0.2), transparent 5rem),
    rgba(255, 253, 248, 0.94);
  box-shadow: 0 16px 42px rgba(74, 54, 98, 0.16);
  backdrop-filter: blur(16px);
}

.mobile-sticky-cta a {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 14px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.mobile-sticky-cta .mobile-sticky-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), var(--peach));
  box-shadow: 0 10px 22px rgba(255, 111, 142, 0.22);
}

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

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

.reveal-delay {
  transition-delay: 120ms;
}

@keyframes floatHero {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes floatTiny {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(8px, -18px, 0) rotate(8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

@media (max-width: 899px) {
  .site-footer {
    padding-bottom: 104px;
  }
}

@media (min-width: 620px) {
  .section-band {
    padding: 88px 0;
  }

  .hero {
    padding-top: 118px;
  }

  .page-hero,
  .auth-page,
  .admin-page {
    padding-top: 150px;
  }

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

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

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

  .form-grid .full {
    grid-column: 1 / -1;
  }

  .story-form-card {
    padding: 24px;
  }
}

@media (min-width: 900px) {
  .mobile-only {
    display: none !important;
  }

  .desktop-only {
    display: block !important;
  }

  .trust-row.desktop-only {
    display: flex !important;
  }

  .section-band {
    padding: 108px 0;
  }

  .hero {
    padding-top: 118px;
  }

  .page-hero,
  .auth-page,
  .admin-page {
    padding-top: 150px;
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .nav-toggle {
    display: none;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.86fr);
  }

  .page-hero-grid,
  .auth-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  }

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

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

  .personalization-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    gap: 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto auto;
    align-items: start;
  }

  .admin-top,
  .admin-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .payment-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  }

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

  .admin-top .btn {
    justify-self: end;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    width: calc(100% - 20px);
    top: 10px;
    min-height: 58px;
    gap: 8px;
    padding: 8px 10px 8px 12px;
  }

  .brand {
    flex: 1 1 auto;
    gap: 7px;
    font-size: 0.88rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text {
    max-width: 145px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
  }

  .header-mobile-cta {
    flex: 0 0 auto;
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 112px;
  }

  h1 {
    font-size: clamp(2.02rem, 12vw, 2.72rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-subtitle {
    margin-bottom: 20px;
  }

  .mobile-proof-strip {
    grid-template-columns: 1fr;
  }

  .mobile-proof-strip span {
    min-height: 38px;
  }

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

  .mobile-story-steps {
    grid-template-columns: 1fr;
  }

  .custom-list {
    grid-template-columns: 1fr;
  }

  .theme-art {
    height: 134px;
  }

  .site-footer {
    padding-bottom: 104px;
  }
}
