/* LuviDuo home. Dark only; the red thread ties the chapters together.
   Performance rules: animate transform/opacity only, no blur/backdrop/blend filters,
   glows are radial gradients. */

:root {
  --night: #09090c;
  --cream: #f3ebdd;
  --coral: #f2554b;
  --lilac: #c084fc;
  --ash: #47464b;
  --sand: #beb7ad;
  --shell: #231d30;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-hero: clamp(2.5rem, 1.35rem + 5vw, 6rem);
  --t-h2: clamp(2.15rem, 1.4rem + 3.1vw, 4.25rem);
  --t-body: clamp(1.03rem, 0.98rem + 0.25vw, 1.18rem);
  --t-small: 0.875rem;

  --gutter: clamp(16px, 5vw, 64px);
  --bar-h: 60px;
  --thread-w: 2.5px;

  color-scheme: dark;
}

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

html {
  background: var(--night);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--bar-h);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "SOFT" 100;
  font-optical-sizing: auto;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--cream);
  color: var(--night);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  top: 10px;
}

/* ── Header ───────────────────────────────────────────────────────────── */

.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  background: rgba(9, 9, 12, 0.9);
  border-bottom: 1px solid rgba(71, 70, 75, 0.45);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.bar-end {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang select {
  appearance: none;
  -webkit-appearance: none;
  height: 36px;
  padding: 0 28px 0 14px;
  border: 1px solid var(--ash);
  border-radius: 999px;
  background: var(--night)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23BEB7AD' stroke-width='1.5'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  color: var(--cream);
  font: 500 0.875rem/1 var(--sans);
  cursor: pointer;
}

.bar-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--night);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

/* ── The red thread ───────────────────────────────────────────────────── */

.thread {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

.thread path {
  fill: none;
  stroke: var(--coral);
  stroke-width: var(--thread-w);
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.thread .t-wide {
  display: none;
}

@media (min-width: 900px) {
  .thread .t-wide {
    display: inline;
  }
  .thread .t-narrow {
    display: none;
  }
}

/* Without the scroll story the hero stacks its text, so the thread keeps to the edge. */
.thread .t-static,
.hatch:not(.hatch-live) .thread-hero :is(.t-wide, .t-narrow) {
  display: none;
}

.hatch:not(.hatch-live) .thread-hero .t-static {
  display: inline;
}

@media (min-width: 900px) {
  .hatch:not(.hatch-live) .thread-hero path {
    display: none;
  }
}

/* ── Hero: static (no JS / reduced motion) is the default ─────────────── */

.hatch {
  position: relative;
}

.hatch-stage {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 40px;
  padding: 48px var(--gutter) 96px;
}

.hatch-art {
  --art: min(70vw, 40svh, 380px);
  position: relative;
  z-index: 1;
  width: var(--art);
  aspect-ratio: 3 / 4;
}

.art-in {
  position: absolute;
  inset: 0;
}

.layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.aura {
  position: absolute;
  inset: -45% -60%;
  opacity: 0;
  pointer-events: none;
}

.aura-coral {
  background: radial-gradient(closest-side at 38% 52%, rgba(232, 99, 122, 0.34), rgba(232, 99, 122, 0) 70%);
}

.aura-lilac {
  background: radial-gradient(closest-side at 62% 52%, rgba(192, 132, 252, 0.3), rgba(192, 132, 252, 0) 70%);
}

.leak {
  position: absolute;
  inset: 10% 5% 0;
  background: radial-gradient(closest-side at 50% 52%, rgba(255, 237, 188, 0.75), rgba(255, 237, 188, 0) 72%);
  opacity: 0;
}

.half,
.crack,
.flash,
.sparkles {
  opacity: 0;
}

.flash {
  position: absolute;
  inset: -70% -90%;
  background: radial-gradient(closest-side, rgba(255, 246, 226, 0.95), rgba(255, 237, 188, 0.35) 45%, rgba(255, 237, 188, 0) 75%);
  pointer-events: none;
}

.piece {
  transform-origin: 50% 70%;
}

.luvi {
  transform-origin: 50% 90%;
}

.luvi-breath {
  transform-origin: 50% 86%;
}

/* The hatchling is the app's own render (PetPainter, baby stage), placed so
   its feet stand where the egg's base was. */
.luvi-img {
  position: absolute;
  left: 12%;
  top: 23.3%;
  width: 76%;
  height: auto;
}

/* Static final state: hatched, shell pieces beside it. */
.hatch:not(.hatch-live) .egg {
  opacity: 0;
}
.hatch:not(.hatch-live) .aura {
  opacity: 0.7;
}
.hatch:not(.hatch-live) .sparkles {
  opacity: 1;
}
.hatch:not(.hatch-live) .piece-top {
  transform: translate(-40%, 16%) rotate(-24deg) scale(0.72);
}
.hatch:not(.hatch-live) .piece-bottom {
  transform: translate(40%, 14%) rotate(12deg) scale(0.72);
}

.hatch-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 640px;
}

.beat h1 {
  font-size: var(--t-hero);
  line-height: 1.02;
}

.beat h2 {
  font-size: calc(var(--t-hero) * 0.82);
  line-height: 1.04;
}

.beat p {
  margin-top: 12px;
  max-width: 34ch;
  color: var(--sand);
}

.soft-italic {
  font-style: italic;
}

/* The egg button and its hint only exist in the scroll story. */
.egg-tap,
.tap-hint {
  display: none;
}

/* ── Hero: scroll story (added by JS when motion is allowed) ─────────── */

.hatch-live {
  height: 480vh;
}

/* The stage sits under the header, so nothing hides behind it at scroll 0. */
.hatch-live .hatch-stage {
  position: sticky;
  top: var(--bar-h);
  height: calc(100vh - var(--bar-h));
  height: calc(100svh - var(--bar-h));
  padding: 0;
  display: block;
  overflow: hidden;
}

.hatch-live :is(.hatch-art, .egg-tap) {
  --art: min(70vw, 40svh, 380px);
  position: absolute;
  left: 50%;
  top: 40%;
  margin-left: calc(var(--art) / -2);
  margin-top: calc(var(--art) * -2 / 3);
}

.hatch-live .art-in {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 1.4s ease,
    transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hatch-live.is-ready .art-in {
  opacity: 1;
  transform: none;
}

.hatch-live .hatch-copy {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: max(28px, env(safe-area-inset-bottom));
  width: auto;
  max-width: none;
  gap: 0;
}

.hatch-live .beat {
  grid-area: 1 / 1;
  align-self: end;
  opacity: 0;
  visibility: hidden;
}

.hatch-live .beat[data-beat="0"] {
  opacity: 1;
  visibility: visible;
}

/* A transparent button over the egg (and the hint under it): tap to advance. */
.hatch-live .egg-tap {
  display: block;
  z-index: 3;
  width: var(--art);
  height: calc(var(--art) * 4 / 3 + 56px);
  padding: 0;
  border: 0;
  border-radius: 40px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hatch-live .tap-hint {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  transform: translateX(-50%);
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hatch-live.is-ready.at-start .tap-hint {
  opacity: 1;
  transition-delay: 0.9s;
}

.hint-pointer {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .hint-touch {
    display: none;
  }
  .hint-pointer {
    display: inline;
  }
}

.tap-hint i {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--coral);
  border-bottom: 1.5px solid var(--coral);
  transform: rotate(45deg);
  animation: hint-bob 1.8s ease-in-out infinite;
}

@keyframes hint-bob {
  0%,
  100% {
    transform: translateY(-2px) rotate(45deg);
  }
  50% {
    transform: translateY(4px) rotate(45deg);
  }
}

.hatch-live:not(.at-start) .tap-hint i,
.hatch-live:not(.in-view) .tap-hint i {
  animation-play-state: paused;
}

/* Nobody has touched anything for a moment: the egg wobbles once, the hint pulses. */
.hatch-live.nudge .egg {
  transform-origin: 50% 90%;
  animation: nudge 0.9s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

/* The spans are flex items, so they transform without a display override
   (one here would un-hide the hint meant for the other kind of pointer). */
.hatch-live.nudge .tap-hint span {
  animation: hint-pulse 0.9s ease;
}

@keyframes nudge {
  0%,
  100% {
    transform: none;
  }
  18% {
    transform: rotate(-6deg);
  }
  38% {
    transform: rotate(5deg);
  }
  58% {
    transform: rotate(-3deg);
  }
  78% {
    transform: rotate(1.5deg);
  }
}

@keyframes hint-pulse {
  0%,
  100% {
    transform: none;
  }
  40% {
    transform: scale(1.08);
  }
}

/* After the hatch, a tap pets Luvi: the app's squash, stretch, settle. */
.luvi-img.squash {
  transform-origin: 50% 88%;
  animation: squash 0.42s ease-out;
}

@keyframes squash {
  0%,
  100% {
    transform: none;
  }
  28% {
    transform: scale(1.12, 0.88);
  }
  60% {
    transform: scale(0.95, 1.05);
  }
}

/* Only the moving hero layers get their own compositor layer, and only while the hero is on screen. */
.hatch-live.in-view :is(.egg-shake, .piece, .luvi, .luvi-breath) {
  will-change: transform;
}
.hatch-live.in-view .egg {
  will-change: transform, opacity;
}
.hatch-live.in-view :is(.half, .crack, .leak, .aura, .flash, .sparkles, .beat) {
  will-change: opacity;
}

.hatch-live.is-hatched .luvi-breath {
  animation: breathe 4.2s ease-in-out infinite;
}

.hatch-live:not(.in-view) .luvi-breath {
  animation-play-state: paused;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.025, 0.975);
  }
}

@media (min-width: 900px) {
  .hatch-live :is(.hatch-art, .egg-tap) {
    --art: min(30vw, 58svh, 440px);
    left: 62%;
    top: 49%;
  }

  .hatch-live .hatch-copy {
    left: var(--gutter);
    right: auto;
    top: 0;
    bottom: 0;
    width: min(40vw, 600px);
    align-items: center;
  }

  .hatch-live .beat {
    align-self: center;
  }

  .hatch-stage {
    flex-direction: row;
    justify-content: center;
    gap: 64px;
    padding-top: 96px;
  }
}

/* ── Stores ───────────────────────────────────────────────────────────── */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 22px 8px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--night);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.1;
  transition: background-color 0.2s ease;
}

.store:hover {
  background: #fff;
}

.store span {
  display: flex;
  flex-direction: column;
}

.store small {
  font-weight: 500;
  font-size: 0.72rem;
  color: #47464b;
}

/* ── Chapters ─────────────────────────────────────────────────────────── */

.chapter {
  position: relative;
  padding-block: clamp(88px, 14vh, 168px);
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.chapter-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 56px;
  padding-inline: var(--gutter);
}

.chapter-text {
  max-width: 34rem;
}

.chapter-text h2 {
  font-size: var(--t-h2);
  line-height: 1.04;
}

.chapter-text p {
  margin-top: 20px;
  max-width: 38ch;
  color: var(--sand);
}

.chapter-text p + p {
  margin-top: 14px;
}

.chapter-media {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .chapter-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    min-height: 620px;
  }

  .media-right .chapter-text {
    justify-self: end;
  }

  .media-left .chapter-text {
    grid-column: 2;
    grid-row: 1;
  }

  .media-left .chapter-media {
    grid-column: 1;
    grid-row: 1;
  }
}

.phone {
  --pw: min(280px, 70vw);
  position: relative;
  width: var(--pw);
  padding: calc(var(--pw) * 0.032);
  border-radius: calc(var(--pw) * 0.155);
  background: #16151a;
  box-shadow:
    inset 0 0 0 1px var(--ash),
    0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.phone img {
  width: 100%;
  border-radius: calc(var(--pw) * 0.125);
}

/* The 281px App Store captures stay small so they don't look soft. */
.phone-small {
  --pw: min(232px, 62vw);
}

.window {
  width: min(440px, 100%);
  border-radius: 28px;
  box-shadow:
    inset 0 0 0 1px var(--ash),
    0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.window-wide {
  border: 1px solid var(--ash);
}

.pair .widget {
  position: absolute;
  width: min(150px, 36vw);
  right: max(0px, calc(50% - 200px));
  bottom: -28px;
  border-radius: 26px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.95);
}

/* One-shot reveal, only when the observer is running. */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.9s ease,
    transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-ready .chapter-media[data-reveal] {
  transition-delay: 0.12s;
}

.reveal-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ── Finale + footer ──────────────────────────────────────────────────── */

.finale {
  position: relative;
  padding: 220px var(--gutter) clamp(96px, 16vh, 160px);
  text-align: center;
}

.thread-end {
  height: 190px;
  bottom: auto;
}

.knot {
  position: absolute;
  left: 50%;
  top: 184px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--coral);
}

.finale-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin-inline: auto;
  padding-top: 40px;
}

.finale h2 {
  font-size: calc(var(--t-hero) * 0.92);
  line-height: 1.02;
  font-style: italic;
}

.finale p {
  margin-top: 20px;
  max-width: 40ch;
  color: var(--sand);
}

.finale .stores {
  justify-content: center;
  margin-top: 36px;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 32px var(--gutter) max(32px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(71, 70, 75, 0.55);
  color: var(--sand);
  font-size: var(--t-small);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot-links a {
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 420px) {
  .stores {
    gap: 8px;
  }
  .store {
    gap: 9px;
    min-height: 52px;
    padding: 7px 15px 7px 13px;
    font-size: 0.95rem;
  }
  .store small {
    font-size: 0.66rem;
  }
  .bar-cta {
    padding: 0 14px;
  }
  .brand {
    font-size: 1.15rem;
  }
}

@media (max-width: 899px) and (max-height: 720px) {
  .hatch-live :is(.hatch-art, .egg-tap) {
    --art: min(62vw, 34svh, 380px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .tap-hint i,
  .luvi-breath,
  .luvi-img.squash,
  .hatch-live.nudge .egg {
    animation: none !important;
  }
}

.foot-guides {
  margin-top: 10px;
}

/* ── Conversion: what it is, proof, one store per phone, QR on desktop ── */

.finale .reassure {
  margin-top: 12px;
  font-size: var(--t-small);
}

.os-ios .store[data-store="android"],
.os-android .store[data-store="ios"] {
  display: none;
}

.qr {
  display: none;
  margin: 32px 0 0;
  text-align: center;
}

.os-desktop .qr {
  display: block;
}

.qr img {
  display: block;
  margin: 0 auto 10px;
  padding: 10px;
  border-radius: 14px;
  background: var(--cream);
}

.qr figcaption {
  font-size: var(--t-small);
  color: var(--sand);
}

/* ── Intro: what LuviDuo is, before the egg story ─────────────────────── */

.intro {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vh, 64px) var(--gutter) 0;
  text-align: center;
}

.intro-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 380px at 15% 8%, rgba(242, 85, 75, 0.16), transparent 70%),
    radial-gradient(560px 440px at 95% 72%, rgba(192, 132, 252, 0.12), transparent 70%);
}

.intro-thread {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.intro-thread path {
  fill: none;
  stroke: var(--coral);
  stroke-width: var(--thread-w);
  vector-effect: non-scaling-stroke;
}

.intro-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-inline: auto;
}

.intro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
}

.intro-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.intro h1 {
  font-size: var(--t-hero);
  line-height: 1.02;
}

.intro h1 em {
  display: inline-block;
  color: var(--coral);
}

.intro-sub {
  max-width: 40ch;
  margin: 16px auto 0;
  color: #e2d9cb;
}

.intro-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.intro-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(243, 235, 221, 0.16);
  background: rgba(35, 29, 48, 0.6);
  font-size: 0.86rem;
}

.intro-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 18px;
}

.intro .stores {
  justify-content: center;
  margin-top: 22px;
}

.intro .store {
  box-shadow: 0 10px 30px rgba(242, 85, 75, 0.18);
}

.intro-proof {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--sand);
}

.intro-proof .stars {
  color: #ffc95c;
  letter-spacing: 1px;
}

:lang(es) .intro-proof .stars,
:lang(fr) .intro-proof .stars,
:lang(de) .intro-proof .stars {
  display: none;
}

.intro-fan {
  position: relative;
  z-index: 1;
  height: clamp(300px, 72vw, 460px);
  margin-top: 28px;
}

.intro-phone {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(150px, 44vw, 230px);
  margin: 0;
  aspect-ratio: 281 / 612;
  border-radius: 36px;
  overflow: hidden;
  border: 2px solid rgba(243, 235, 221, 0.16);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65), 0 0 0 7px #141218;
}

.intro-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.intro-phone.center {
  z-index: 2;
  width: clamp(170px, 50vw, 260px);
  transform: translateX(-50%);
}

.intro-phone.left {
  transform: translateX(-135%) rotate(-9deg) translateY(30px);
  opacity: 0.9;
}

.intro-phone.right {
  transform: translateX(35%) rotate(9deg) translateY(30px);
  opacity: 0.9;
}

.beat .beat-title {
  font-size: var(--t-hero);
  line-height: 1.02;
}


/* ── Free vs Premium + FAQ: plain reading section before the finale ──── */

.plain {
  position: relative;
  padding: clamp(64px, 10vh, 120px) var(--gutter) 24px;
}

.plain-inner {
  max-width: 820px;
  margin-inline: auto;
}

.plain h2 {
  font-size: var(--t-h2);
  line-height: 1.05;
}

.plain-lead {
  margin-top: 14px;
  max-width: 52ch;
  color: var(--sand);
}

.plans {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

@media (min-width: 760px) {
  .plans {
    grid-template-columns: 1.15fr 1fr;
  }
}

.plan {
  margin: 0;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid rgba(243, 235, 221, 0.14);
  background: rgba(35, 29, 48, 0.45);
}

.plan ul,
ul.plan {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  padding-left: 26px;
  margin: 10px 0;
}

.plan-free li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 600;
}

.plan-premium li::before {
  content: "+";
  position: absolute;
  left: 2px;
  color: var(--lilac);
  font-weight: 600;
}

.plan h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
}

.plan-premium p {
  margin-top: 12px;
  font-size: var(--t-small);
  color: var(--sand);
}

.faq-title {
  margin-top: clamp(56px, 8vh, 88px);
}

.faq {
  margin: 20px 0 0;
}

.faq .qa {
  padding: 18px 0;
  border-bottom: 1px solid rgba(71, 70, 75, 0.55);
}

.faq dt {
  font-weight: 600;
}

.faq dd {
  margin: 6px 0 0;
  color: var(--sand);
}

.plain-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 22px;
}

.plain-links a {
  text-decoration-color: var(--coral);
  text-underline-offset: 3px;
}

.foot-langs {
  width: 100%;
}

.brand-icon {
  border-radius: 7px;
}
