/* NamEngine beta landing homepage */
:root {
  --landing-bg: #fbf8f1;
  --landing-card: #ffffff;
  --landing-ink: #1b1d2a;
  --landing-muted: #687386;
  --landing-line: rgba(27, 29, 42, 0.11);
  --landing-coral: #e1421f;
  --landing-coral-bright: #ff5233;
  --landing-teal: #0f8f73;
  --landing-gold: #b9860b;
}

main {
  max-width: 1180px;
  padding-top: 28px;
}

.landing-hero,
.landing-section {
  color: var(--landing-ink);
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.54fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
  min-height: 560px;
  padding: clamp(38px, 6vw, 72px) clamp(20px, 5vw, 58px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(251, 248, 241, 0.68)),
    url("/static/images/namengine-landing-background-softwaves.jpg") center / cover no-repeat,
    var(--landing-bg);
  border: 1px solid rgba(27, 29, 42, 0.07);
  border-radius: 34px;
  box-shadow: 0 26px 90px rgba(24, 33, 47, 0.08);
}

.landing-atmosphere {
  position: absolute;
  inset: -110px -180px auto auto;
  width: 520px;
  height: 520px;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 32%, rgba(255, 82, 51, 0.12), transparent 56%),
    radial-gradient(circle at 64% 56%, rgba(255, 201, 51, 0.13), transparent 54%),
    radial-gradient(circle at 46% 78%, rgba(31, 237, 187, 0.12), transparent 55%);
  filter: blur(8px);
}

.landing-hero-copy,
.landing-demo-card,
.landing-section > * {
  position: relative;
  z-index: 1;
}

.landing-hero-logo {
  display: block;
  width: min(236px, 62vw);
  height: auto;
  margin: 0 0 20px;
}

.landing-kicker,
.landing-eyebrow,
.landing-demo-eyebrow {
  margin: 0 0 16px;
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.landing-kicker span {
  width: 7px;
  height: 7px;
  background: var(--landing-coral-bright);
  border-radius: 999px;
}

.landing-hero h1,
.landing-section h2,
.landing-matters h2,
.landing-final h2 {
  max-width: 780px;
  margin: 0;
  color: var(--landing-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.landing-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
}

.landing-hero h1 em {
  display: block;
  font-style: italic;
}

.landing-hero-sub {
  max-width: 610px;
  margin: 24px 0 0;
  color: #4d596b;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.62;
}

.landing-actions,
.landing-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.landing-button,
.landing-final-actions a,
.landing-vertical-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  background: var(--landing-ink);
  border: 1px solid var(--landing-ink);
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.landing-button:hover,
.landing-final-actions a:hover,
.landing-vertical-card:hover > span {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(27, 29, 42, 0.14);
}

.landing-button-secondary {
  color: var(--landing-ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(27, 29, 42, 0.12);
}

.landing-demo-card {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  min-height: 386px;
  padding: 24px 0 26px;
  overflow: hidden;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(27, 29, 42, 0.1);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(24, 33, 47, 0.12);
  backdrop-filter: blur(10px);
}

.landing-demo-eyebrow {
  margin: 0 24px 16px;
}

.landing-demo-carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.landing-demo-track {
  display: flex;
  width: 100%;
  height: 100%;
  animation: landingDemoScroll 6s ease-in-out infinite;
}

.landing-demo-slide {
  --demo-accent: var(--landing-teal);
  --demo-soft: rgba(15, 143, 115, 0.1);
  display: grid;
  grid-template-rows: 32px 64px 42px 42px 1fr;
  row-gap: 8px;
  flex: 0 0 100%;
  justify-items: center;
  align-items: center;
  min-height: 306px;
  padding: 6px 26px 4px;
  background:
    radial-gradient(circle at 50% 0%, var(--demo-soft), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.52));
}

.landing-demo-slide.baby {
  --demo-accent: #ff6b6b;
  --demo-soft: rgba(255, 107, 107, 0.16);
}

.landing-demo-slide.pet {
  --demo-accent: #fcba76;
  --demo-soft: rgba(252, 186, 118, 0.2);
}

.landing-demo-slide.business {
  --demo-accent: #3fa6a0;
  --demo-soft: rgba(63, 166, 160, 0.18);
}

.landing-demo-vertical {
  margin-bottom: 14px;
  padding: 7px 11px;
  color: var(--demo-accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--demo-soft);
  border: 1px solid color-mix(in srgb, var(--demo-accent) 26%, transparent);
  border-radius: 999px;
}

.landing-demo-name {
  color: var(--landing-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 5vw, 58px);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.landing-demo-sub {
  margin: 8px 0 26px;
  color: var(--landing-muted);
  font-size: 14px;
  font-weight: 700;
}

@keyframes landingDemoScroll {
  0%, 28% { transform: translateX(0); }
  33%, 61% { transform: translateX(-100%); }
  66%, 94% { transform: translateX(-200%); }
  99.999% { transform: translateX(-300%); }
  100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .landing-demo-track {
    animation: none;
  }
}

.landing-reaction-row {
  display: flex;
  gap: 10px;
}

.landing-reaction {
  display: inline-flex;
  min-width: 92px;
  justify-content: center;
  align-items: center;
  padding: 10px 18px;
  text-align: center;
  font-weight: 900;
  border: 1px solid var(--landing-line);
  border-radius: 999px;
}

.landing-reaction.love {
  color: #ffffff;
  background: #e1421f;
  border-color: rgba(225, 66, 31, 0.32);
  box-shadow: 0 8px 18px rgba(225, 66, 31, 0.18);
}

.landing-reaction.no {
  color: #1b2b20;
  background: #b7f34a;
  border-color: rgba(98, 145, 24, 0.24);
  box-shadow: 0 8px 18px rgba(115, 174, 28, 0.16);
}

.landing-learning-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.landing-learning-tags span {
  padding: 7px 11px;
  color: #26364d;
  font-size: 12px;
  font-weight: 900;
  background: var(--demo-soft, rgba(15, 143, 115, 0.1));
  border: 1px solid color-mix(in srgb, var(--demo-accent, #0f8f73) 18%, transparent);
  border-radius: 999px;
}

.landing-section {
  padding: clamp(62px, 8vw, 104px) 0 0;
}

#naming-experiences {
  padding-top: clamp(24px, 3vw, 40px);
}

.landing-experiences-pricing {
  font-size: 0.95rem;
  color: var(--landing-muted, #666);
  margin: 4px 0 16px;
  font-style: italic;
}

.landing-section-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.landing-section h2,
.landing-loop-panel h2,
.landing-final h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.04;
}

.landing-section-head p:not(.landing-eyebrow),
.landing-final > p,
.landing-loop-panel p,
.landing-matters p {
  max-width: 620px;
  margin: 14px 0 0;
  color: #566174;
  font-size: 17px;
  line-height: 1.62;
}

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

.landing-vertical-card {
  display: grid;
  gap: 13px;
  min-height: 292px;
  padding: 28px;
  color: var(--landing-ink);
  text-decoration: none;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.98), var(--card-soft)),
    #ffffff;
  border: 1px solid rgba(27, 29, 42, 0.1);
  border-top: 5px solid var(--card-accent);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.06);
}

.landing-vertical-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 44%, #ffffff);
}

.landing-vertical-card img {
  width: min(188px, 100%);
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.landing-vertical-card h3 {
  margin: 8px 0 0;
  color: var(--card-accent);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  line-height: 1;
}

.landing-vertical-card p {
  margin: 0;
  color: #566174;
  font-size: 15px;
  line-height: 1.58;
}

.landing-vertical-card > span {
  align-self: end;
  justify-self: start;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
  background: var(--card-accent);
  border-color: transparent;
}

.landing-soon-note {
  margin: 24px 0 0;
  color: #8a94a3;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.landing-flow,
.landing-pricing-grid,
.landing-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-flow article,
.landing-pricing-card,
.landing-trust-grid article {
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(27, 29, 42, 0.1);
  border-radius: 20px;
}

.landing-step-number {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--landing-coral);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.landing-flow h3,
.landing-pricing-card h3,
.landing-trust-grid h3,
.landing-compare h3 {
  margin: 0 0 10px;
  color: var(--landing-ink);
  font-size: 18px;
}

.landing-flow p,
.landing-pricing-card p,
.landing-trust-grid p,
.landing-compare p {
  margin: 0;
  color: #607086;
  font-size: 15px;
  line-height: 1.58;
}

.landing-pricing-section {
  padding-left: clamp(18px, 3vw, 34px);
  padding-right: clamp(18px, 3vw, 34px);
  padding-bottom: 10px;
  scroll-margin-top: 96px;
}

.landing-pricing-card {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 390px;
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.06);
}

.landing-pricing-grid-paid-only {
  grid-template-columns: minmax(0, min(680px, 100%));
}

.landing-pricing-card-paid-only {
  min-height: 0;
}

.landing-pricing-card.featured {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 0%, rgba(185, 134, 11, 0.18), transparent 36%),
    radial-gradient(circle at 4% 8%, rgba(15, 143, 115, 0.13), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(251, 248, 241, 0.94));
  border-color: rgba(27, 29, 42, 0.14);
  box-shadow: 0 24px 70px rgba(24, 33, 47, 0.11);
}

.landing-pricing-card.featured::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--landing-teal), var(--landing-gold), #d8b055);
}

.landing-pricing-label {
  justify-self: start;
  padding: 7px 10px;
  color: var(--landing-teal);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(15, 143, 115, 0.1);
  border: 1px solid rgba(15, 143, 115, 0.18);
  border-radius: 999px;
}

.landing-pricing-card.featured .landing-pricing-label {
  color: var(--landing-ink);
  background: rgba(185, 134, 11, 0.11);
  border-color: rgba(185, 134, 11, 0.22);
}

.landing-pricing-price {
  color: var(--landing-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 700;
  line-height: 0.95;
}

.landing-pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-pricing-card li {
  position: relative;
  padding-left: 24px;
  color: #566174;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.landing-pricing-card li::before {
  position: absolute;
  left: 0;
  top: 0.2em;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 950;
  content: "✓";
  background: var(--landing-teal);
  border-radius: 999px;
}

.landing-pricing-card.featured li::before {
  background: linear-gradient(135deg, var(--landing-teal), var(--landing-gold));
}

.landing-pricing-card a {
  align-self: end;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  background: var(--landing-ink);
  border-radius: 999px;
}

.landing-pricing-card.featured a {
  background: linear-gradient(135deg, var(--landing-ink), #26364d);
  box-shadow: 0 12px 28px rgba(24, 33, 47, 0.14);
}

.landing-pricing-card.featured a:is(:hover, :focus-visible) {
  color: #ffffff;
  background: linear-gradient(135deg, var(--landing-teal), #0b6654);
}

.landing-compare-section {
  padding-left: clamp(4px, 1.4vw, 12px);
  padding-right: clamp(4px, 1.4vw, 12px);
}

.landing-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--landing-line);
  border: 1px solid var(--landing-line);
  border-radius: 24px;
}

.landing-compare > div {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(24px, 4vw, 40px);
  background: #ffffff;
}

.landing-compare .bad {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(96, 112, 134, 0.06)),
    #ffffff;
}

.landing-compare .namengine {
  background:
    linear-gradient(180deg, #ffffff, rgba(15, 143, 115, 0.12)),
    #ffffff;
}

.landing-compare-label {
  justify-self: start;
  padding: 7px 10px;
  color: #607086;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(96, 112, 134, 0.09);
  border: 1px solid rgba(96, 112, 134, 0.12);
  border-radius: 999px;
}

.landing-compare .good .landing-compare-label {
  color: var(--landing-teal);
  background: rgba(15, 143, 115, 0.12);
  border-color: rgba(15, 143, 115, 0.2);
}

.landing-compare ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-compare li {
  position: relative;
  margin: 0;
  padding-left: 28px;
  color: #566174;
  font-size: 15px;
  line-height: 1.55;
}

.landing-compare li::before {
  position: absolute;
  left: 0;
  top: 0.18em;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  content: "×";
  background: #8a94a3;
  border-radius: 999px;
}

.landing-compare .good li::before {
  content: "✓";
  background: var(--landing-teal);
}

.landing-compare li strong {
  color: var(--landing-ink);
}

.landing-loop-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  background: #ffffff;
  border: 1px solid rgba(27, 29, 42, 0.1);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(24, 33, 47, 0.08);
}

.landing-loop-example {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 14px;
  align-items: center;
  padding: 24px;
  background: var(--landing-bg);
  border: 1px solid rgba(27, 29, 42, 0.08);
  border-radius: 22px;
}

.landing-loop-example span {
  display: inline-flex;
  min-width: 72px;
  justify-content: center;
  align-items: center;
  padding: 7px 10px;
  color: #1b2b20;
  text-align: center;
  font-size: 12px;
  font-weight: 950;
  background: #b7f34a;
  border: 1px solid rgba(98, 145, 24, 0.24);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(115, 174, 28, 0.18);
}

.landing-loop-example span.love {
  color: #ffffff;
  background: #e1421f;
  border-color: rgba(225, 66, 31, 0.32);
  box-shadow: 0 8px 18px rgba(225, 66, 31, 0.22);
}

.landing-loop-example span.no {
  color: #1b2b20;
  background: #b7f34a;
}

.landing-loop-example strong {
  color: var(--landing-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-style: italic;
}

.landing-loop-example p {
  grid-column: 1 / -1;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 750;
}

.landing-matters {
  margin-top: clamp(62px, 8vw, 104px);
  padding: clamp(54px, 7vw, 88px) clamp(24px, 6vw, 60px);
  color: #ffffff;
  text-align: center;
  background: var(--landing-ink);
  border-radius: 30px;
}

.landing-matters h2 {
  max-width: 760px;
  margin: 0 auto;
  color: #fff7ed;
  font-size: clamp(34px, 4vw, 52px);
  font-style: italic;
  line-height: 1.18;
}

.landing-matters p {
  margin: 18px auto 0;
  color: #c3cad8;
}

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

.landing-final {
  padding-bottom: 48px;
  text-align: center;
}

.landing-final .landing-eyebrow,
.landing-final h2,
.landing-final > p {
  margin-left: auto;
  margin-right: auto;
}

.landing-final-actions {
  justify-content: center;
  gap: 12px;
}

.landing-final-actions a {
  position: relative;
  overflow: hidden;
  min-width: 112px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 14px 30px rgba(24, 33, 47, 0.14);
}

.landing-final-actions a::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 58%);
  transition: opacity 160ms ease;
}

.landing-final-actions a:hover::before,
.landing-final-actions a:focus-visible::before {
  opacity: 1;
}

.landing-final-actions a.baby {
  background: linear-gradient(135deg, #9a6c10, #b88018);
}

.landing-final-actions a.pet {
  color: #ffffff;
  background: linear-gradient(135deg, #207060, #2f9486);
}

.landing-final-actions a.business {
  background: linear-gradient(135deg, #0e1c36, #27476e);
}

@media (max-width: 860px) {
  main {
    padding: 0 16px 52px;
  }

  .landing-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 34px 18px 28px;
    border-radius: 0 0 30px 30px;
  }

  .landing-hero-logo {
    width: min(210px, 70vw);
  }

  .landing-actions,
  .landing-button {
    width: 100%;
  }

  .landing-demo-card {
    padding: 24px 18px;
  }

  .landing-vertical-grid,
  .landing-pricing-grid,
  .landing-flow,
  .landing-compare,
  .landing-loop-panel,
  .landing-trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-vertical-card {
    min-height: 244px;
    padding: 24px;
  }

.landing-vertical-card img {
  width: min(176px, 100%);
  height: 42px;
}
}

/* ══════════════════════════════════════════════════════════════════════
   Homepage vertical card and demo carousel palette — matches result
   card vocabulary applied across Baby, Pet, and Business.
   ══════════════════════════════════════════════════════════════════════ */

/* Baby card: blush-to-coral gradient */
.landing-vertical-card.baby {
  background: linear-gradient(148deg, #fff4ef 0%, #fde8dc 52%, #f8d4c2 100%);
  border-top-color: #ff6b57;
  border-color: rgba(255, 107, 87, 0.22);
  box-shadow:
    0 8px 28px rgba(255, 107, 87, 0.12),
    0 28px 64px rgba(16, 43, 84, 0.10);
}
.landing-vertical-card.baby h3 { color: #b82c1c; }
.landing-vertical-card.baby > span { background: #9a6c10; }

/* Pet card: deep amber gradient */
.landing-vertical-card.pet {
  background: linear-gradient(148deg, #fffbe0 0%, #fff0b0 52%, #ffe590 100%);
  border-top-color: #f2b84b;
  border-color: rgba(242, 184, 75, 0.26);
  box-shadow:
    0 8px 28px rgba(242, 184, 75, 0.16),
    0 28px 64px rgba(26, 32, 53, 0.09);
}
.landing-vertical-card.pet h3 { color: #7a5000; }
.landing-vertical-card.pet > span { background: #2f9486; }

/* Business card: slate-blue depth */
.landing-vertical-card.business {
  background: linear-gradient(148deg, #dce8f8 0%, #c8d8f0 52%, #b4c8e6 100%);
  border-top-color: #27476e;
  border-color: rgba(39, 71, 110, 0.22);
  box-shadow:
    0 8px 28px rgba(39, 71, 110, 0.14),
    0 28px 64px rgba(15, 23, 42, 0.10);
}
.landing-vertical-card.business h3 { color: #162c58; }
.landing-vertical-card.business > span { background: #29344f; }

/* Demo carousel: per-vertical gradient backgrounds */
.landing-demo-slide.baby {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 107, 87, 0.20), transparent 60%),
    linear-gradient(180deg, #fff4ef 0%, #fde8dc 100%);
}
.landing-demo-slide.pet {
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 184, 75, 0.24), transparent 60%),
    linear-gradient(180deg, #fffbe0 0%, #fff0b0 100%);
}
.landing-demo-slide.business {
  background:
    radial-gradient(circle at 50% 0%, rgba(39, 71, 110, 0.18), transparent 60%),
    linear-gradient(180deg, #dce8f8 0%, #c8d8f0 100%);
}

/* Scoped homepage vertical-card differentiation pass 2026-08-18. */
.landing-vertical-card {
  position: relative;
  overflow: hidden;
  grid-template-rows: auto auto 1fr auto;
}

.landing-vertical-card::before {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  padding: 4px 9px;
  color: color-mix(in srgb, var(--card-accent) 70%, #18212f);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid color-mix(in srgb, var(--card-accent) 24%, rgba(255, 255, 255, 0.7));
  border-radius: 999px;
  content: "Guided fit";
}

.landing-vertical-card.baby::before { content: "For families"; }
.landing-vertical-card.pet::before { content: "For companions"; }
.landing-vertical-card.business::before { content: "For brands"; }

.landing-vertical-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-vertical-card h3::after {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1;
  background: var(--card-accent);
  border-radius: 50%;
}

.landing-vertical-card.baby h3::after { content: "♡"; background: #ff6b57; }
.landing-vertical-card.pet h3::after { content: "•"; background: #2f9486; }
.landing-vertical-card.business h3::after { content: "↗"; background: #29344f; }

.landing-vertical-card > span {
  width: fit-content;
  margin-top: 2px;
}

/* ============================================================
   Option B — Full-bleed photo hero + floating header
   v=20260824-hero-photo-v1
   ============================================================ */

/* Reset main constraints on landing page */
.page-landing main {
  max-width: 100%;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Re-constrain all sections below the hero */
.page-landing .landing-section,
.page-landing .landing-taste-preview {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 5vw, 58px);
  padding-right: clamp(20px, 5vw, 58px);
}

/* ── Floating transparent header ── */
.page-landing .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.page-landing .site-header.scrolled {
  position: fixed;
  background: #18212f;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.page-landing .brand-logo-wordmark {
  filter: brightness(0) invert(1);
}

.page-landing .site-nav-link,
.page-landing .site-nav-signin {
  color: rgba(255,255,255,0.88) !important;
}

.page-landing .site-nav-link:hover {
  color: #ffffff !important;
}

.page-landing .naming-menu-trigger,
.page-landing .naming-menu-trigger span {
  color: rgba(255,255,255,0.88);
}

.page-landing .naming-menu-trigger:hover,
.page-landing .naming-menu-trigger:hover span {
  color: #ffffff;
}

.page-landing .naming-menu-trigger svg path {
  stroke: rgba(255,255,255,0.88);
}

/* ── Hero — full-bleed photo ── */
.page-landing .landing-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 100svh;
  padding: 0 clamp(20px, 6vw, 80px) clamp(40px, 5vw, 64px);
  background: url('/static/images/namengine-hero.jpg') center / cover no-repeat;
  border-radius: 0;
  border: none;
  box-shadow: none;
  gap: 0;
}

.landing-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 26, 0.18) 0%,
    rgba(10, 15, 26, 0.10) 35%,
    rgba(10, 15, 26, 0.55) 68%,
    rgba(10, 15, 26, 0.80) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.page-landing .landing-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: #ffffff;
}

.page-landing .landing-hero-copy h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.06;
  color: #ffffff;
  margin: 0 0 0.45rem;
  letter-spacing: -0.01em;
}

.page-landing .landing-hero-sub {
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: rgba(255,255,255,0.76);
  margin: 0 0 1.75rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Vertical pills */
.landing-vertical-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.landing-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.62);
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.landing-pill:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.90);
  transform: translateY(-1px);
}

.landing-pill:active {
  transform: translateY(0);
}

/* Hero primary CTA */
.landing-cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  background: #ffffff;
  color: #18212f;
  border: none;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  margin-bottom: 0.55rem;
  transition: background 0.15s ease, transform 0.15s ease;
  font-family: inherit;
}

.landing-cta-primary:hover {
  background: #f0ece4;
  transform: translateY(-2px);
}

.landing-cta-reassure {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin: 0 0 1.75rem;
}

/* Remind strip at base of hero */
.landing-hero-remind {
  position: relative;
  z-index: 1;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.13);
}

.landing-hero-remind p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.52);
  margin: 0 0 3px;
}

.landing-remind-link {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.76);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.32);
  transition: color 0.15s ease;
}

.landing-remind-link:hover {
  color: #ffffff;
  text-decoration-color: rgba(255,255,255,0.65);
}

/* ── Trust badge strip ── */
.landing-trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 4vw, 40px);
  flex-wrap: wrap;
  padding: 16px clamp(20px, 5vw, 48px);
  background: #18212f;
  color: rgba(255,255,255,0.80);
  font-size: 0.87rem;
}

.landing-trust-strip div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.landing-trust-strip strong {
  color: #ffffff;
  font-weight: 600;
}

/* ── Taste preview (demo carousel, now standalone) ── */
.landing-taste-preview {
  display: flex;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) 0;
}

/* ── Popup overlay ── */
.landing-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 26, 0.52);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.landing-popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ── Popup — bottom sheet (mobile) ── */
.landing-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 201;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  padding: 14px 24px calc(env(safe-area-inset-bottom, 0px) + 30px);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.landing-popup.active {
  transform: translateY(0);
}

.landing-popup-handle {
  width: 36px;
  height: 4px;
  background: #e0ddd8;
  border-radius: 2px;
  margin: 0 auto 18px;
}

.landing-popup-eyebrow {
  font-size: 0.77rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #687386;
  margin: 0 0 5px;
}

.landing-popup h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.45rem, 4vw, 1.8rem);
  font-weight: 700;
  color: #18212f;
  margin: 0 0 4px;
  line-height: 1.14;
}

.landing-popup-sub {
  font-size: 0.88rem;
  color: #687386;
  margin: 0 0 18px;
}

.landing-popup-email-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1b1d2a;
  margin-bottom: 3px;
}

.landing-popup-email-note {
  font-size: 0.78rem;
  color: #687386;
  margin: 0 0 8px;
}

.landing-popup-email-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e0ddd8;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #1b1d2a;
  box-sizing: border-box;
  margin-bottom: 13px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.landing-popup-email-input:focus {
  border-color: #b9860b;
}

.landing-popup-cta {
  display: block;
  width: 100%;
  padding: 15px;
  background: #18212f;
  color: #ffffff;
  border: none;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  margin-bottom: 9px;
  font-family: inherit;
  transition: background 0.15s ease;
}

.landing-popup-cta:hover {
  background: #0f1620;
}

.landing-popup-skip {
  display: block;
  width: 100%;
  text-align: center;
  padding: 9px;
  font-size: 0.88rem;
  color: #687386;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color 0.15s ease;
}

.landing-popup-skip:hover {
  color: #18212f;
}

/* ── Popup — centered modal on wider screens ── */
@media (min-width: 600px) {
  .landing-popup {
    bottom: auto;
    top: 50%;
    left: 50%;
    right: auto;
    width: 460px;
    border-radius: 20px;
    padding: 26px 32px 30px;
    transform: translate(-50%, calc(-50% + 18px));
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .landing-popup.active {
    transform: translate(-50%, -50%);
    opacity: 1;
  }

  .landing-popup-handle {
    display: none;
  }
}

/* ============================================================
   Page Landing — Mobile fixes v=20260824-mobile-fix-v1
   ============================================================ */

/* Prevent horizontal bleed */
body.page-landing {
  overflow-x: hidden;
}

/* Override the mobile breakpoint that reverts hero to grid */
@media (max-width: 860px) {
  .page-landing main {
    padding: 0 !important;
  }

  .page-landing .landing-hero {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    min-height: 100svh !important;
    padding: 0 20px clamp(36px, 8vw, 56px) !important;
    border-radius: 0 !important;
    grid-template-columns: unset !important;
  }

  .page-landing .landing-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Demo card — constrain width when standalone */
  .landing-taste-preview .landing-demo-card {
    width: min(380px, 100%);
    max-width: 100%;
  }

  /* Pill row wraps neatly */
  .landing-vertical-pills {
    gap: 8px;
  }

  .landing-pill {
    padding: 9px 18px;
    font-size: 0.9rem;
  }

  /* CTA full width on mobile */
  .landing-cta-primary {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   Vertical card hover window  v=20260824-hover-v2
   ============================================================ */

.vc-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 20px;
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--card-accent, #b06010) 6%, #ffffff) 0%,
    color-mix(in srgb, var(--card-accent, #b06010) 14%, #ffffff) 100%
  );
  border-radius: inherit;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 4;
}

/* Desktop + Mobile: shown via JS when hovering "Start naming" or tapping card (adds .vc-active) */
.landing-vertical-card.vc-active .vc-hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── "Start Free" badge ── */
.vc-free {
  display: inline-flex;
  align-self: flex-start;
  margin: 0;
  padding: 5px 13px;
  background: color-mix(in srgb, var(--card-accent, #b06010) 18%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--card-accent, #b06010) 35%, transparent);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--card-accent, #b06010) 65%, #18212f);
}

/* ── Benefit list ── */
.vc-list {
  list-style: none;
  margin: 2px 0 4px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.vc-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #1f2838;
  font-weight: 500;
}

.vc-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    color-mix(in srgb, var(--card-accent, #b06010) 22%, white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* ── CTA button ── */
.vc-nav-btn {
  display: block;
  padding: 14px 20px;
  background: color-mix(in srgb, var(--card-accent, #b06010) 88%, #18212f);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  text-align: center;
  border-radius: 100px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.12s ease;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--card-accent, #b06010) 40%, transparent);
}

.vc-nav-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ── Remind link ── */
.vc-remind {
  display: block;
  font-size: 11.5px;
  color: #687386;
  text-align: center;
  cursor: pointer;
  line-height: 1.5;
}

.vc-remind strong {
  color: color-mix(in srgb, var(--card-accent, #b06010) 70%, #18212f);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

/* ============================================================
   Hero microcopy  v=20260824-step1
   ============================================================ */

.landing-cta-micro {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: #8796aa;
  letter-spacing: 0.01em;
}

/* ============================================================
   Sample name card — scoped real detail styles  v=20260824-step1b
   ============================================================ */

.lsc-wrap {
  max-width: 740px;
  margin: 32px auto 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.lsc-wrap .detail-shell {
  display: grid;
  gap: 14px;
}

.lsc-wrap .detail-hero {
  display: grid;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #dde3ec;
  border-left: 5px solid var(--accent, #ff6b57);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(24, 33, 47, 0.06);
}

.lsc-wrap .detail-hero .eyebrow {
  margin: 0 0 6px;
  color: #607086;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lsc-wrap .detail-hero h1 {
  margin: 0 0 6px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  line-height: 1;
  color: #18212f;
}

.lsc-wrap .chosen-pronunciation {
  margin: 2px 0 4px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent, #ff6b57);
  letter-spacing: 0.05em;
}

.lsc-wrap .chosen-tagline {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: #607086;
  font-style: italic;
}

.lsc-wrap .chosen-detail {
  padding: 18px;
  background: #ffffff;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24, 33, 47, 0.04);
}

.lsc-wrap .chosen-detail .eyebrow {
  margin: 0 0 4px;
  color: #607086;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lsc-wrap .chosen-detail h2 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: #18212f;
}

.lsc-wrap .chosen-detail p,
.lsc-wrap .baby-decision-lead {
  margin: 0 0 10px;
  color: #465266;
  font-size: 15px;
  line-height: 1.62;
}

.lsc-wrap .baby-strongest-fit {
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(255, 107, 87, 0.07);
  border: 1px solid rgba(255, 107, 87, 0.2);
  border-radius: 6px;
}

.lsc-wrap .baby-strongest-fit strong {
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent, #ff6b57);
}

.lsc-wrap .baby-strongest-fit p {
  margin: 0;
  color: #2a3040;
  font-size: 14px;
}

.lsc-wrap .chosen-detail ul {
  margin: 0;
  padding-left: 1.2em;
  color: #465266;
  font-size: 14.5px;
  line-height: 1.65;
}

.lsc-wrap .chosen-detail ul li {
  margin-bottom: 5px;
}

.lsc-footer-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: #8796aa;
  font-style: italic;
}

@media (max-width: 600px) {
  .lsc-wrap .detail-hero { padding: 20px; }
  .lsc-wrap .chosen-detail { padding: 14px; }
}

/* ============================================================
   FAQ section  v=20260824b
   ============================================================ */

.landing-faq-list {
  display: grid;
  gap: 10px;
  max-width: 780px;
}

.landing-faq-item {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  display: grid;
  gap: 8px;
}

.landing-faq-q {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #18212f;
  line-height: 1.4;
}

.landing-faq-a {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #465266;
}

.landing-faq-a a {
  color: #18212f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 720px) {
  .landing-faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    align-items: start;
  }
}

/* ============================================================
   Free preview section  v=20260824
   ============================================================ */

.landing-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.landing-preview-item {
  padding: 22px;
  background: #ffffff;
  border: 1px solid #dde3ec;
  border-left: 4px solid var(--landing-teal, #0f8f73);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.landing-preview-item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #18212f;
  line-height: 1.3;
}

.landing-preview-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #465266;
}

.landing-preview-note {
  margin: 20px 0 0;
  font-size: 14.5px;
  color: #687386;
  font-style: italic;
}

@media (max-width: 720px) {
  .landing-preview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============================================================
   Hero vertical pill CTAs  v=20260824
   ============================================================ */

.landing-vertical-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.landing-vertical-actions .landing-button {
  flex: 1 1 auto;
  min-width: 140px;
  text-align: center;
  justify-content: center;
  border-radius: 100px;
  font-weight: 800;
  font-size: 14.5px;
  padding: 14px 22px;
  border-width: 2px;
  transition: filter 0.15s ease, transform 0.12s ease;
}

.landing-vertical-actions .landing-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* Baby — coral */
.landing-hero-baby {
  background: #ff6b57;
  color: #ffffff;
  border-color: #ff6b57;
}

/* Pet — amber */
.landing-hero-pet {
  background: #f2b84b;
  color: #3a2800;
  border-color: #f2b84b;
}

/* Business — deep slate */
.landing-hero-business {
  background: #27476e;
  color: #ffffff;
  border-color: #27476e;
}

@media (max-width: 480px) {
  .landing-vertical-actions { flex-direction: column; }
  .landing-vertical-actions .landing-button { min-width: 0; }
}
