/* ═══════════════════════════════════════════════════════════════
   FOTOCAL — shared design system
   Used by: Home, Features/*, Blog, Subscription, About, Contact
   NOT used by: /privacy-policy/, /terms/, /account-deletion/
                (those keep their own css/legal.css — do not touch)

   Palette : cream #FDF9F0 · dark navy ink #1B2340
   Accent  : pink #E91E63 → orange #FF7A3D gradient
   Borders : warm, thin, low-contrast
   Type    : Fraunces (headings) · Instrument Sans (body)
   Approach: mobile-first. Base styles are the phone layout;
             min-width media queries scale up.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Surfaces */
  --cream:        #FDF9F0;
  --cream-2:      #F9F3E6;
  --cream-3:      #F3EBDA;
  --white:        #FFFFFF;

  /* Ink */
  --ink:          #1B2340;
  --ink-soft:     #39415E;
  --muted:        #6E7590;

  /* Accent */
  --pink:         #E91E63;
  --orange:       #FF7A3D;
  --grad:         linear-gradient(135deg, #E91E63 0%, #FF7A3D 100%);
  --grad-rev:     linear-gradient(135deg, #FF7A3D 0%, #E91E63 100%);
  --grad-wash:    linear-gradient(135deg, rgba(233,30,99,.09), rgba(255,122,61,.09));

  /* Warm thin borders */
  --border:       rgba(176,124,86,.22);
  --border-soft:  rgba(176,124,86,.13);
  --border-pink:  rgba(233,30,99,.22);

  /* Shadows */
  --shadow-sm:    0 4px 16px -8px rgba(27,35,64,.18);
  --shadow-card:  0 10px 30px -14px rgba(27,35,64,.20);
  --shadow-soft:  0 18px 44px -20px rgba(27,35,64,.26);
  --shadow-lift:  0 30px 70px -28px rgba(27,35,64,.34);
  --shadow-cta:   0 14px 30px -10px rgba(233,30,99,.42);

  /* Radii */
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --nav-h: 64px;
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: rgba(233,30,99,.18); color: var(--ink); }

/* Visible focus for keyboard users only */
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(-200%);
  top: 8px; z-index: 300; background: var(--white); color: var(--ink);
  padding: .7rem 1.2rem; border-radius: 999px; border: 1px solid var(--border);
  box-shadow: var(--shadow-card); font-weight: 600; font-size: .9rem;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateX(-50%) translateY(0); }

/* ─── Layout primitives ─── */
.container { width: min(1160px, 90%); margin-inline: auto; }
.container-narrow { width: min(780px, 90%); margin-inline: auto; }

.section { padding: 4rem 0; }
.section-alt { background: var(--cream-2); border-block: 1px solid var(--border-soft); }
.section-tight { padding: 2.75rem 0; }

/* ─── Typography ─── */
.kicker {
  display: inline-block;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--pink); margin-bottom: .85rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.4vw, 3rem);
  font-weight: 550; line-height: 1.14; letter-spacing: -.02em;
  margin-bottom: .9rem;
}
.section-sub {
  color: var(--muted); font-size: 1.02rem; max-width: 60ch; margin-bottom: 2rem;
}
.accent {
  font-style: italic; font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* Fallback so the word is never invisible if background-clip is unsupported */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .accent { -webkit-text-fill-color: currentColor; color: var(--pink); }
}
.accent-light { font-style: italic; color: #FFC6A3; font-weight: 500; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1;
  text-align: center; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.8,.3,1.2), box-shadow .25s ease,
              background .25s ease, border-color .25s ease, color .25s ease;
}
.btn-cta { background: var(--grad); color: #fff; box-shadow: var(--shadow-cta); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(233,30,99,.5); }
.btn-outline {
  background: var(--white); color: var(--ink);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.btn-outline:hover { transform: translateY(-2px); border-color: var(--border-pink); }
.btn-ghost { color: var(--pink); padding-inline: .4rem; }
.btn-ghost:hover { transform: translateX(3px); }
.btn-sm { padding: .6rem 1.1rem; font-size: .86rem; }
.btn-block { display: flex; width: 100%; }

/* ─── Google Play badge ─── */
.play-badge {
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--ink); color: #fff;
  padding: .65rem 1.4rem .65rem 1.05rem; border-radius: var(--r-sm);
  box-shadow: var(--shadow-soft);
  transition: transform .25s cubic-bezier(.2,.8,.3,1.2), box-shadow .25s ease;
}
.play-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.play-badge-icon { width: 24px; height: 26px; flex: none; }
.play-badge-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.play-badge-text small { font-size: .6rem; letter-spacing: .12em; opacity: .82; }
.play-badge-text strong { font-size: 1.08rem; font-weight: 600; }
.play-badge-light { background: var(--white); color: var(--ink); border: 1px solid var(--border); }

/* ═══════════════════════════════════════════════
   NAVBAR  (markup injected by assets/js/layout.js)
   ═══════════════════════════════════════════════ */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,249,240,.86);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.nav-wrap.scrolled {
  border-bottom-color: var(--border-soft);
  box-shadow: 0 6px 24px -16px rgba(27,35,64,.28);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--nav-h);
}
.nav-logo {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  letter-spacing: -.01em; flex: none;
}
.logo-mark {
  width: 32px; height: 32px; flex: none; border-radius: 8px;
}
/* When the real app-icon PNG is used, this makes it read as an
   intentional icon tile rather than a white box on cream. */
.logo-mark.is-tile {
  box-shadow: 0 2px 8px -2px rgba(27,35,64,.25), 0 0 0 1px var(--border-soft);
  background: var(--white);
}

/* Desktop link row */
.nav-links {
  display: none;
  align-items: center; gap: .25rem;
  margin-left: auto;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .8rem; border-radius: 999px;
  font-size: .93rem; font-weight: 500; color: var(--ink-soft);
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--ink); background: rgba(233,30,99,.06); }
.nav-link[aria-current="page"] { color: var(--pink); font-weight: 600; }
.nav-caret {
  width: 10px; height: 10px; flex: none;
  transition: transform .25s ease;
}
.nav-item.open > .nav-link .nav-caret { transform: rotate(180deg); }

/* Dropdown panel — simple single-column list, opens on click.
   (Matches the pattern used across this app category.) */
.nav-panel {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 232px; padding: .45rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  /* visibility is stepped, not eased: on CLOSE it is delayed until the fade
     finishes; on OPEN (below) it flips instantly. If visibility were part of
     the eased transition the panel would still be `hidden` at the moment the
     keyboard handler calls .focus(), and the browser silently drops focus on
     a hidden element — which breaks ArrowDown-into-the-menu. */
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  z-index: 110;
}
.nav-item.open > .nav-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s;
}
.nav-panel a {
  display: block; padding: .6rem .75rem; border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  transition: background .18s ease, color .18s ease;
}
.nav-panel a:hover, .nav-panel a:focus-visible { background: var(--cream-2); color: var(--pink); }

.nav-actions { display: flex; align-items: center; gap: .5rem; flex: none; }

/* Language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; gap: .22rem;
  border: 1px solid var(--border); border-radius: 999px;
  padding: .42rem .7rem; font-size: .76rem; font-weight: 700;
  color: var(--muted); transition: border-color .2s ease;
}
.lang-toggle:hover { border-color: var(--border-pink); }
.lang-opt { transition: color .2s ease; }
.lang-opt.active { color: var(--pink); }
.lang-sep { opacity: .35; }

.btn-nav { display: none; }

/* Burger */
.nav-burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 9px; border-radius: 10px;
  border: 1px solid var(--border);
}
.nav-burger span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--ink); transition: transform .3s ease, opacity .2s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile drawer ─── */
.nav-mobile {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
  background: var(--cream);
  padding: 1.25rem 5% 2.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .32s cubic-bezier(.4,0,.2,1), visibility .32s;
}
.nav-mobile.open { transform: translateX(0); visibility: visible; }
body.nav-locked { overflow: hidden; }

.m-item { border-bottom: 1px solid var(--border-soft); }
.m-link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1rem .25rem;
  font-size: 1.05rem; font-weight: 600; color: var(--ink); text-align: left;
}
.m-link[aria-current="page"] { color: var(--pink); }
.m-link .nav-caret { width: 13px; height: 13px; color: var(--muted); }
.m-item.open .m-link .nav-caret { transform: rotate(180deg); }

/* Accordion sub-panel */
.m-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.m-item.open .m-panel { grid-template-rows: 1fr; }
.m-panel-inner { overflow: hidden; }
.m-panel a {
  display: block; padding: .7rem .25rem .7rem 1rem;
  font-size: .97rem; color: var(--muted);
  border-left: 2px solid var(--border);
  margin-left: .25rem;
}
.m-panel a:last-child { margin-bottom: .75rem; }
.m-panel a:hover, .m-panel a:focus-visible { color: var(--pink); border-left-color: var(--pink); }

.nav-mobile .play-badge { margin-top: 1.75rem; width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════
   PHONE MOCKUP  +  SCREENSHOT SLOTS
   ═══════════════════════════════════════════════ */
.phone {
  position: relative;
  width: min(260px, 74vw);
  aspect-ratio: 9 / 19.2;
  margin-inline: auto;
  padding: 9px;
  border-radius: 38px;
  background: linear-gradient(165deg, #2E3757 0%, #141A30 100%);
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(233,30,99,.16);
}
.phone-notch {
  position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 18px; background: #141A30; border-radius: 999px; z-index: 3;
}
.phone-screen {
  position: relative; height: 100%; width: 100%;
  border-radius: 30px; overflow: hidden;
  background: var(--cream);
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Slight tilt used on the hero device only */
.phone-tilt { transform: rotate(2deg); transition: transform .6s cubic-bezier(.2,.8,.3,1); }
.phone-tilt:hover { transform: rotate(0) translateY(-6px); }

/* Alternating lean, so the feature rows don't read as the same block repeated */
.phone-lean-l,
.phone-lean-r { transition: transform .6s cubic-bezier(.2,.8,.3,1); }
.phone-lean-l { transform: rotate(-2.5deg); }
.phone-lean-r { transform: rotate(2.5deg); }
.phone-lean-l:hover,
.phone-lean-r:hover { transform: rotate(0) translateY(-6px); }

/* ── Hero stage: the device, plus one decorative photo tucked under it.
      The photo is pure decoration (aria-hidden, empty alt) — it illustrates
      nothing specific, so no copy is attached to it. */
.hero-stage { position: relative; width: min(260px, 74vw); }
.deco-shot {
  position: absolute; z-index: 4; margin: 0;
  left: -30px; bottom: 26px;
  width: 118px; aspect-ratio: 1 / 1;
  border-radius: 24px; overflow: hidden;
  border: 5px solid var(--cream);
  box-shadow: var(--shadow-lift);
  transform: rotate(-7deg);
  transition: transform .6s cubic-bezier(.2,.8,.3,1);
}
.deco-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-stage:hover .deco-shot { transform: rotate(-3deg) translateY(-4px); }

/* ── Paired devices: a second screen peeking out from behind the first.
      The back device is decorative depth — hidden on narrow screens, where
      it would only push the layout sideways. */
.phone-duo { position: relative; width: min(260px, 74vw); }
.phone-duo .phone-front { position: relative; z-index: 2; transform: rotate(2.5deg); }
.phone-duo .phone-back  { display: none; }

/* Screenshot placeholder.
   .screen-slot is the ONLY thing in the markup. assets/js/layout.js tries to
   load data-src; if the PNG exists it swaps in a real <img>, otherwise this
   labelled gradient stays. Result: never a broken-image icon, and dropping the
   real file at the data-src path is all that's needed later. */
.screen-slot {
  position: relative; height: 100%; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6rem; padding: 2.5rem 1.1rem 1.1rem; text-align: center;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(233,30,99,.14), transparent 60%),
    linear-gradient(165deg, var(--cream-2) 0%, var(--cream-3) 100%);
}
.screen-slot::before {
  content: ""; position: absolute; inset: 10px; border-radius: 22px;
  border: 1.5px dashed rgba(233,30,99,.3);
  pointer-events: none;
}
.slot-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad); opacity: .9;
  display: grid; place-items: center; color: #fff; flex: none;
  box-shadow: var(--shadow-cta);
}
.slot-icon svg { width: 21px; height: 21px; }
.slot-label {
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  color: var(--ink); line-height: 1.35; max-width: 17ch;
}
.slot-note {
  font-size: .63rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); opacity: .8;
}
.slot-path {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .58rem; color: var(--muted); opacity: .75;
  word-break: break-all; max-width: 22ch; line-height: 1.4;
}

/* ═══════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════ */
.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--border); }
.card h3, .card h4 { font-weight: 700; margin-bottom: .35rem; }
.card h4 { font-size: 1rem; }
.card p { font-size: .91rem; color: var(--muted); }

.card-icon {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: .85rem;
  display: grid; place-items: center;
  background: var(--grad-wash);
  border: 1px solid var(--border-pink);
  color: var(--pink);
}
.card-icon svg { width: 20px; height: 20px; }

.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  color: var(--pink); background: var(--grad-wash);
  border: 1px solid var(--border-pink); border-radius: 999px;
  padding: .35rem .8rem; margin-bottom: 1rem;
}

/* Check list */
.check-list li {
  position: relative; padding-left: 1.75rem; margin-bottom: .5rem;
  font-size: .95rem; color: var(--ink-soft);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ═══════════════════════════════════════════════
   ALTERNATING FEATURE ROWS
   .flow-row  → image + copy, stacked on mobile,
                two columns from 900px, alternating via .flip
   ═══════════════════════════════════════════════ */
.flow-row {
  display: grid; gap: 2.25rem; align-items: center;
  padding: 2.5rem 0;
}
.flow-row + .flow-row { border-top: 1px solid var(--border-soft); }
.flow-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.05rem);
  font-weight: 550; line-height: 1.2; letter-spacing: -.015em;
  margin-bottom: .7rem;
}
.flow-copy > p { color: var(--muted); margin-bottom: 1.1rem; }
.flow-visual { display: flex; justify-content: center; }

/* ═══════════════════════════════════════════════
   STEPS
   ═══════════════════════════════════════════════ */
.steps { display: grid; gap: 1.75rem; margin-top: 2.5rem; }
.step { text-align: center; }
.step-badge {
  width: 42px; height: 42px; margin: 0 auto .9rem; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  box-shadow: var(--shadow-cta);
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; }
.step p { font-size: .93rem; color: var(--muted); max-width: 34ch; margin-inline: auto; }
.step .phone { margin-top: 1.5rem; width: min(210px, 62vw); }

/* ═══════════════════════════════════════════════
   PRICING TEASER
   ═══════════════════════════════════════════════ */
.plan-row { display: grid; gap: 1rem; margin: 2rem 0 1.5rem; }
.plan {
  position: relative; text-align: center;
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: 1.6rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.plan-best {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    var(--grad) border-box;
  box-shadow: var(--shadow-card);
}
.plan-flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-size: .64rem; font-weight: 800; letter-spacing: .09em;
  background: var(--grad); color: #fff;
  padding: .32rem .8rem; border-radius: 999px; box-shadow: var(--shadow-cta);
}
.plan-name {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .5rem;
}
.plan-price {
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 600;
  line-height: 1; margin-bottom: .3rem;
}
.plan-price span {
  font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--muted);
}
.plan-note { font-size: .8rem; color: var(--muted); min-height: 2.4em; }

/* ═══════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════ */
.faq-list { margin-top: 2rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--r-md); margin-bottom: .75rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease;
}
.faq-item[open] { border-color: var(--border-pink); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.25rem; cursor: pointer; list-style: none;
  font-weight: 600; font-size: .98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 14px; height: 14px; flex: none; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--pink); border-radius: 2px;
  transition: transform .3s ease;
}
.faq-plus::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-plus::after { top: 0; left: 6px; width: 2px; height: 14px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); }
.faq-item > p { padding: 0 1.25rem 1.15rem; color: var(--muted); font-size: .93rem; }
.faq-item a { color: var(--pink); font-weight: 600; text-decoration: underline; }

/* ═══════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════ */
.final-cta { padding: 3.5rem 0 4.5rem; }
.final-inner {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(155deg, #2B3358 0%, #141A30 100%);
  border-radius: var(--r-xl); padding: 3rem 1.5rem; color: var(--cream);
  box-shadow: var(--shadow-lift);
}
.final-inner::before {
  content: ""; position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 560px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,30,99,.34), transparent 68%);
  pointer-events: none;
}
.final-inner > * { position: relative; }
.final-inner h2 {
  font-family: var(--font-display); font-size: clamp(1.7rem, 5vw, 2.7rem);
  font-weight: 550; line-height: 1.16; max-width: 20ch; margin: 0 auto .8rem;
}
.final-inner p { color: rgba(253,249,240,.72); max-width: 46ch; margin: 0 auto 1.8rem; }

/* ═══════════════════════════════════════════════
   FOOTER  (markup injected by assets/js/layout.js)
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--cream-2);
  border-top: 1px solid var(--border-soft);
  padding: 3rem 0 1.75rem;
}
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand p { color: var(--muted); font-size: .9rem; margin: .85rem 0 1.1rem; max-width: 30ch; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--white); border: 1px solid var(--border-soft);
  display: grid; place-items: center; color: var(--pink);
  transition: transform .25s ease, border-color .25s ease;
}
.footer-social a:hover { transform: translateY(-3px); border-color: var(--border-pink); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h5 {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pink); margin-bottom: .8rem;
}
.footer-col a {
  display: block; font-size: .91rem; color: var(--muted); margin-bottom: .55rem;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; flex-direction: column; gap: .5rem; text-align: center;
  border-top: 1px solid var(--border-soft); padding-top: 1.4rem;
  font-size: .8rem; color: var(--muted);
}

/* ═══════════════════════════════════════════════
   "COMING SOON" STUB PAGES
   ═══════════════════════════════════════════════ */
.soon {
  min-height: calc(100vh - var(--nav-h) - 120px);
  display: grid; place-items: center; text-align: center; padding: 4rem 0;
}
.soon-inner { max-width: 46ch; }
.soon-mark {
  width: 62px; height: 62px; margin: 0 auto 1.5rem; border-radius: 18px;
  background: var(--grad-wash); border: 1px solid var(--border-pink);
  display: grid; place-items: center; color: var(--pink);
}
.soon-mark svg { width: 28px; height: 28px; }
.soon h1 {
  font-family: var(--font-display); font-size: clamp(1.9rem, 6vw, 2.8rem);
  font-weight: 550; line-height: 1.15; margin-bottom: .8rem; letter-spacing: -.02em;
}
.soon p { color: var(--muted); margin-bottom: 1.8rem; }
.soon-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ═══════════════════════════════════════════════
   REVEAL ANIMATION
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s ease var(--rd, 0s), transform .7s cubic-bezier(.2,.7,.3,1) var(--rd, 0s);
}
.reveal.in { opacity: 1; transform: none; }
/* If JS never runs, content must still be visible. */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — mobile-first scale-ups
   ═══════════════════════════════════════════════ */

/* ≥ 600px — small tablets */
@media (min-width: 600px) {
  .section { padding: 5rem 0; }
  .plan-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .final-inner { padding: 4rem 2.5rem; }
}

/* ≥ 900px — desktop layout, real nav appears */
@media (min-width: 900px) {
  :root { --nav-h: 72px; }
  .section { padding: 6rem 0; }

  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .nav-mobile { display: none; }
  .btn-nav { display: inline-flex; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: start; }

  .flow-row {
    grid-template-columns: 1fr 1fr; gap: 4rem;
    padding: 3.5rem 0;
  }
  /* Alternating rhythm: even rows put the image on the right */
  .flow-row.flip .flow-visual { order: 2; }
  .flow-row.flip .flow-copy   { order: 1; }
  .flow-row:not(.flip) .flow-visual { order: 1; }
  .flow-row:not(.flip) .flow-copy   { order: 2; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }

  .phone-duo .phone-back {
    display: block;
    position: absolute; z-index: 1;
    top: 7%; left: -27%; width: 80%;
    transform: rotate(-7deg);
    transition: transform .6s cubic-bezier(.2,.8,.3,1);
  }
  .phone-duo:hover .phone-back { transform: rotate(-9deg) translate(-6px, -6px); }
  .flow-row.flip .phone-duo .phone-back { left: auto; right: -27%; transform: rotate(7deg); }
  .flow-row.flip .phone-duo:hover .phone-back { transform: rotate(9deg) translate(6px, -6px); }

  .deco-shot { left: -44px; bottom: 34px; width: 148px; }
}

/* ≥ 1100px */
@media (min-width: 1100px) {
  .phone { width: 280px; }
  .hero-stage, .phone-duo { width: 280px; }
  .phone-duo .phone-back { width: 80%; }
}



/* ============================================================
   STICKY HEADER
   .nav-wrap already carries position:sticky, but layout.js injects
   the nav into #site-nav, and a sticky element can only travel
   inside its own parent's box. #site-nav is exactly nav-height
   tall, so the header had nowhere to stick and scrolled away with
   it. Making the holder sticky pins the header for the whole page.
   ============================================================ */
#site-nav { position: sticky; top: 0; z-index: 100; }

/* Pinned header must not cover in-page anchor targets. */
html { scroll-padding-top: calc(var(--nav-h) + 24px); }
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }


/* ═══════════════════════════════════════════════
   LANGUAGE DROPDOWN  (built by assets/js/main.js)
   Replaces the old EN/ES flip-toggle.
   ═══════════════════════════════════════════════ */
.lang-select { position: relative; }
.lang-current {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid var(--border); border-radius: 999px;
  padding: .4rem .6rem; font-size: .8rem; font-weight: 700; color: var(--ink-soft);
  transition: border-color .2s ease, background .2s ease;
}
.lang-current:hover { border-color: var(--border-pink); background: rgba(233,30,99,.05); }
.lang-flag { display: inline-flex; }
.lang-flag-svg { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(27,35,64,.08); display: block; }
.lang-code { letter-spacing: .04em; }
.lang-caret { width: 12px; height: 12px; color: var(--muted); transition: transform .25s ease; }
.lang-select.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 178px; padding: .35rem; list-style: none;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-soft);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 120;
}
.lang-select.open .lang-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.lang-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .6rem; border-radius: 10px;
  font-size: .9rem; font-weight: 600; color: var(--ink-soft); cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.lang-item:hover, .lang-item:focus-visible { background: var(--cream-2); color: var(--pink); outline: none; }
.lang-item[aria-selected="true"] { color: var(--pink); }
.lang-item[aria-selected="true"] .lang-name::after { content: " ✓"; }
.lang-name { flex: 1; }


/* ═══════════════════════════════════════════════
   COMPARISON CHART  (home page)
   ═══════════════════════════════════════════════ */
.compare-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 2.25rem 0 1rem; border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card); background: var(--white);
}
.compare { width: 100%; border-collapse: collapse; min-width: 660px; font-size: .92rem; }
.compare th, .compare td { padding: .8rem 1rem; text-align: center; border-bottom: 1px solid var(--border-soft); }
.compare thead th {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink);
  background: var(--cream-2);
}
.compare thead th.compare-us {
  color: #fff; background: var(--grad); border-top-left-radius: 4px; border-top-right-radius: 4px;
}
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink-soft); font-size: .9rem; }
.compare .col-feat { text-align: left; min-width: 210px; }
.compare td.c-us { background: var(--grad-wash); }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: var(--cream); }
.compare tbody tr:hover td.c-us { background: rgba(233,30,99,.12); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: none; }
.compare .yes { color: #1F9D55; font-weight: 800; font-size: 1.05rem; }
.compare .c-us .yes { color: var(--pink); }
.compare .no { color: var(--muted); opacity: .45; font-weight: 700; }
.compare .part {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  color: var(--muted); background: var(--cream-3); border-radius: 999px; padding: .18rem .5rem;
}
.compare .price { font-weight: 700; color: var(--ink); }
.compare .c-us .price { color: var(--pink); }
.compare-note { text-align: center; font-size: .8rem; color: var(--muted); max-width: 64ch; margin: .75rem auto 0; }
.compare-cta { text-align: center; margin-top: 1.75rem; }
@media (min-width: 900px) { .compare { font-size: .98rem; } .compare th, .compare td { padding: .95rem 1.15rem; } }
