/* Forever Us website. Self-hosted, no external requests. */
@font-face { font-family: "Dancing Script"; src: url("/assets/fonts/DancingScript_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url("/assets/fonts/DancingScript_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --ink: #2a1d3d;
  --ink-soft: #5d4d73;
  --paper: #fffafc;
  --blush: #fdeef4;
  --lilac: #8a63b8;
  --accent: #7655a3;
  --rose: #e0457b;
  --peach: #ffc9a3;
  --night: #1b1230;
  --card: #ffffff;
  --line: rgba(118, 85, 163, .14);
  --shadow: 0 30px 60px -20px rgba(64, 30, 100, .35);
  --radius: 22px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --script: "Dancing Script", "Brush Script MT", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.script { font-family: var(--script); font-weight: 700; color: var(--rose); letter-spacing: 0; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--lilac); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .95em 1.6em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); }
.btn--small { padding: .6em 1.15em; font-size: .92rem; }
.btn--glow { color: #fff; background: linear-gradient(135deg, var(--accent), var(--rose)); box-shadow: 0 12px 30px -10px rgba(224, 69, 123, .7); }
.btn--ghost { color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(8px); }
.btn--ghost-dark { color: var(--accent); background: transparent; border: 1.5px solid var(--accent); }
.btn--telegram { color: #fff; background: linear-gradient(135deg, #2aabee, #229ed9); box-shadow: 0 12px 26px -12px rgba(34, 158, 217, .8); }
.tg { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(255, 250, 252, .9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; width: min(1200px, 100% - 32px); margin: auto; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 10px; }
.brand__name { font: 700 1.6rem var(--script); color: #fff; transition: color .3s; }
.nav.is-solid .brand__name, .footer .brand__name { color: var(--accent); }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { color: rgba(255,255,255,.92); text-decoration: none; font-weight: 600; font-size: .93rem; }
.nav.is-solid .nav__links a { color: var(--ink); }
.nav__links a:hover { color: var(--rose) !important; }
.nav__menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.2); border-radius: 12px; padding: 12px 11px; cursor: pointer; }
.nav__menu span { display: block; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; }
.nav.is-solid .nav__menu { background: var(--blush); }
.nav.is-solid .nav__menu span { background: var(--accent); }
.mobile-menu { background: rgba(255,250,252,.98); padding: 8px 16px 18px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); }
.mobile-menu a { display: block; padding: 12px 6px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; overflow: hidden; display: flex; align-items: center; padding: 110px 0 80px;
  background: linear-gradient(165deg, #4a3180 0%, #8b56a3 38%, #e58fb0 72%, #ffc9a3 100%); }
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.orb--1 { width: 420px; height: 420px; background: #ff9fc4; top: -120px; right: -80px; }
.orb--2 { width: 360px; height: 360px; background: #b18cff; bottom: -100px; left: -120px; animation-delay: -6s; }
.orb--3 { width: 240px; height: 240px; background: #ffd9b8; top: 40%; left: 45%; animation-delay: -12s; }
@keyframes drift { to { transform: translate(40px, -30px) scale(1.12); } }
.float-heart { position: absolute; bottom: -40px; left: var(--x); font-size: 22px; color: rgba(255,255,255,.55); animation: rise 14s linear var(--d) infinite; }
@keyframes rise { to { transform: translateY(-110vh) rotate(25deg); opacity: 0; } }
.hero__inner { position: relative; width: min(1200px, 100% - 32px); margin: auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1 .script { display: block; color: #fff; font-size: clamp(3.4rem, 8vw, 6.2rem); line-height: 1; text-shadow: 0 6px 30px rgba(80, 20, 90, .35); }
.hero__line { display: block; font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 700; margin-top: .35em; }
.hero .lead { color: rgba(255,255,255,.9); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.hero__actions--center { justify-content: center; }
.hero__note { font-size: .9rem; opacity: .85; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 50% { transform: translateY(10px); opacity: .3; } }

/* 3D phones: CSS-only device (metal rim, black bezel, status strip with camera, side wall, buttons, studio shadows).
   Every size derives from --w so the device stays in proportion at any width. */
[data-tilt-group], .panel { perspective: 1800px; }
[data-tilt-group] { position: relative; }
.phone { --w: 270px; --rx: 0deg; --ry: 0deg; --tx: 0px; --ty: 0px; --gl: 0;
  --rim: calc(var(--w) * .013); --bezel: calc(var(--w) * .02); --depth: calc(var(--w) * .085);
  position: relative; margin: 0; width: var(--w); padding: var(--rim); border-radius: calc(var(--w) * .145);
  background: linear-gradient(135deg, #cdc7d8 0%, #7b7487 8%, #2d2836 24%, #17131d 50%, #2f2a39 74%, #6a6376 91%, #a8a1b4 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), inset 0 0 0 calc(var(--rim) - .5px) rgba(20,16,26,.28);
  transform-style: preserve-3d; touch-action: pan-y;
  translate: var(--tx) var(--ty); transform: rotateX(var(--rx)) rotateY(var(--ry)); }
/* Back of the body: sits behind the glass, so a turn of the phone reveals a sliver of rounded metal side wall. It also casts the shadows. */
.phone::before { content: ""; position: absolute; inset: 0; border-radius: inherit; transform: translateZ(calc(var(--depth) * -1));
  background: linear-gradient(90deg, #4a4455 0, #d3cddd 2.5px, #8a8396 5px, #2c2734 10px, #17131d 16px, #17131d calc(100% - 16px), #2a2532 calc(100% - 10px), #6d6679 calc(100% - 5px), #b3adc0 calc(100% - 2.5px), #3d3748 100%);
  box-shadow: 0 2px 3px rgba(24, 8, 44, .3), 0 14px 22px -8px rgba(34, 12, 62, .34), 0 36px 54px -22px rgba(40, 14, 76, .46), 0 60px 70px -46px rgba(40, 14, 76, .3); }
/* Power button and volume rocker on the right side wall. */
.phone::after { content: ""; position: absolute; top: 21%; right: calc(var(--w) * -.009); width: calc(var(--w) * .035); height: 25%; border-radius: calc(var(--w) * .008);
  transform: translateZ(calc(var(--depth) * -.5));
  background: linear-gradient(90deg, #2b2633, #8c8598 55%, #cbc5d6 78%, #4d4758);
  -webkit-mask: linear-gradient(180deg, #000 0 30%, transparent 30% 41%, #000 41%); mask: linear-gradient(180deg, #000 0 30%, transparent 30% 41%, #000 41%); }
/* Glass: black bezel (the border), then a status strip in the screen's own top colour that holds the camera, then the unedited screenshot. */
.phone__screen { position: relative; border: var(--bezel) solid #050308; border-radius: calc(var(--w) * .132); overflow: hidden;
  padding-top: calc(var(--w) * .072); background: var(--bar, #fefafb); box-shadow: 0 0 0 .5px #000; }
.phone__screen--plum { --bar: #5a3f8e; }
.phone__screen--lilac { --bar: #8d6bb7; }
.phone__screen--mist { --bar: #f0ecfa; }
.phone__screen img { width: 100%; height: auto; aspect-ratio: 430 / 932; }
.phone__screen::before { content: ""; position: absolute; z-index: 1; top: calc(var(--w) * .019); left: 50%; width: calc(var(--w) * .034); height: calc(var(--w) * .034); margin-left: calc(var(--w) * -.017); border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #3b4266 0 9%, #10121c 26%, #030305 60%); box-shadow: 0 0 0 .5px rgba(255,255,255,.14); }
.phone__screen::after { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; opacity: .75;
  background: linear-gradient(113deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,.05) 31%, rgba(255,255,255,0) 31.4%, rgba(255,255,255,0) 72%, rgba(255,255,255,.06) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 0 calc(var(--w) * .05) rgba(10, 4, 24, .1); }

/* Real 3D body, built by main.js (the phone keeps the simple back plate above when scripts are off).
   Four straight walls and five flat facets per corner make a true extruded rounded body, so it stays solid at every angle,
   edge-on included. main.js turns each phone every frame (idle sway, pointer follow, drag to spin) with transforms and opacity only. */
.phone.is-3d { cursor: grab; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.phone.is-3d.is-dragging { cursor: grabbing; }
.phone.is-3d img { -webkit-user-drag: none; }
.phone.is-live { will-change: transform; }
.phone.is-3d::before { inset: 1px; background: #17131d; box-shadow: none; transform: translateZ(calc(var(--depth) / -2)); }
.phone.is-3d .phone__screen { transform: translateZ(.5px); }
.phone__shadow { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; transform: translateZ(calc(var(--depth) * -1 - 1px));
  box-shadow: 0 2px 3px rgba(24, 8, 44, .3), 0 14px 22px -8px rgba(34, 12, 62, .34), 0 36px 54px -22px rgba(40, 14, 76, .46), 0 60px 70px -46px rgba(40, 14, 76, .3); }
.phone__sides { --r: calc(var(--w) * .145); position: absolute; inset: 0; border-radius: inherit; transform-style: preserve-3d; }
.phone:not(.is-live) .phone__sides { display: none; }
.phone__sides i { position: absolute; display: block; backface-visibility: hidden; filter: brightness(var(--b, 1));
  background: linear-gradient(180deg, #3d3848 0, #b9b3c6 9%, #857e92 20%, #6b6478 50%, #857e92 80%, #c9c3d5 91%, #4a4455 100%); }
.phone__wall--t, .phone__wall--b { left: var(--r); right: var(--r); height: var(--depth); }
.phone__wall--t { top: calc(var(--depth) / -2); transform: translateZ(calc(var(--depth) / -2)) rotateX(90deg); }
.phone__wall--b { bottom: calc(var(--depth) / -2); transform: translateZ(calc(var(--depth) / -2)) rotateX(-90deg); }
.phone__sides .phone__wall--l, .phone__sides .phone__wall--r { top: var(--r); bottom: var(--r); width: var(--depth);
  background: linear-gradient(90deg, #3d3848 0, #b9b3c6 9%, #857e92 20%, #6b6478 50%, #857e92 80%, #c9c3d5 91%, #4a4455 100%); }
.phone__wall--r { right: calc(var(--depth) / -2); transform: translateZ(calc(var(--depth) / -2)) rotateY(90deg); }
.phone__wall--l { left: calc(var(--depth) / -2); transform: translateZ(calc(var(--depth) / -2)) rotateY(-90deg); }
.phone__corner { position: absolute; width: 0; height: 0; transform-style: preserve-3d; }
.phone__corner--tr { top: var(--r); left: calc(100% - var(--r)); }
.phone__corner--br { top: calc(100% - var(--r)); left: calc(100% - var(--r)); }
.phone__corner--bl { top: calc(100% - var(--r)); left: var(--r); }
.phone__corner--tl { top: var(--r); left: var(--r); }
.phone__corner i { width: calc(var(--r) * .33); height: var(--depth); left: calc(var(--r) * -.165); top: calc(var(--depth) / -2);
  transform: translateZ(calc(var(--depth) / -2)) rotateZ(var(--a)) translateY(calc(var(--r) * -.9877)) rotateX(90deg); }
/* Raised button caps on the right wall (the flat ::after plate above gives them their outline from the front). */
.phone__btn { position: absolute; left: 100%; width: calc(var(--depth) * .42); margin-left: calc(var(--depth) * -.21); border-radius: calc(var(--w) * .008); backface-visibility: hidden;
  transform: translateX(calc(var(--w) * .008)) translateZ(calc(var(--depth) / -2)) rotateY(90deg); background: linear-gradient(90deg, #5d5769, #d3cddd 45%, #8a8396); }
.phone__btn--p { top: 21%; height: 7.5%; }
.phone__btn--v { top: 31.25%; height: 14.75%; }
/* Back of the phone: matte plum glass in a metal frame, camera island, quiet heart mark. Seen when a phone is spun round. */
.phone__rear { position: absolute; inset: 0; border-radius: inherit; backface-visibility: hidden; transform: translateZ(calc(var(--depth) * -1)) rotateY(180deg);
  border: var(--rim) solid #6f687c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  background: linear-gradient(118deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.03) 30%, rgba(255,255,255,0) 62%, rgba(255,255,255,.07) 100%) padding-box, linear-gradient(160deg, #62508f, #3d2e61 46%, #251a40) padding-box, #6f687c; }
.phone__rear::before { content: ""; position: absolute; top: 3.4%; left: 6.5%; width: 42%; aspect-ratio: 1 / 1.04; border-radius: 27%;
  --lens: #33416f 0 14%, #0b0d16 30% 52%, #262a3a 56% 62%, #05050a 66% 82%, #a9a3b8 86% 94%, transparent 100%;
  background:
    radial-gradient(circle calc(var(--w) * .085) at 31% 29%, var(--lens)),
    radial-gradient(circle calc(var(--w) * .085) at 31% 71%, var(--lens)),
    radial-gradient(circle calc(var(--w) * .058) at 73% 50%, var(--lens)),
    radial-gradient(circle calc(var(--w) * .022) at 73% 20%, #fff6d8 0 55%, #b9ad8c 75%, transparent 100%),
    linear-gradient(150deg, #4a3c6e, #1d1531);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 calc(var(--w) * .008) calc(var(--w) * .03) rgba(8, 2, 20, .5); }
.phone__rear::after { content: "\2665\FE0E"; position: absolute; top: 50%; left: 0; right: 0; text-align: center; font: 400 calc(var(--w) * .13)/1 var(--sans); color: rgba(255,255,255,.2); }
/* Light that travels: a bright band along the metal rim and a soft reflection across the glass, both moved by main.js as the phone turns. */
.phone__rim { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.phone__rim i { position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; will-change: transform; transform: translateX(170%);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95) 50%, rgba(255,255,255,0)); }
.phone__glare { position: absolute; z-index: 2; top: 0; bottom: 0; left: -90%; width: 90%; pointer-events: none; will-change: transform, opacity; transform: translateX(105%);
  background: linear-gradient(102deg, rgba(255,255,255,0) 8%, rgba(255,255,255,.07) 34%, rgba(255,255,255,.3) 50%, rgba(255,255,255,.07) 66%, rgba(255,255,255,0) 92%); }

/* Soft floor shadow under each group, like a studio table. */
.hero__stage::after, .feature__visual::after { content: ""; position: absolute; z-index: 0; left: 50%; bottom: 4px; width: 64%; height: 38px; translate: -50% 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(40, 14, 76, .3), rgba(40, 14, 76, .1) 62%, transparent); filter: blur(8px); }
.hero__stage::after { width: 92%; }

.hero__stage { height: 660px; display: grid; place-items: center; }
.hero__stage .phone { position: absolute; }
.phone--main { z-index: 3; --w: 280px; --ry: -5deg; --rx: 2deg; }
.phone--side { z-index: 2; --w: 232px; --ty: 30px; --rx: 2deg; }
.phone--left { --tx: -176px; --ry: 15deg; }
.phone--right { --tx: 176px; --ry: -15deg; }
.phone--side .phone__screen img, .phone--back .phone__screen img { filter: brightness(.94) saturate(.96); }

.chip { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px; font-size: .9rem; font-weight: 600; color: var(--ink);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 16px 36px -14px rgba(50, 20, 80, .45); animation: bob 6s ease-in-out infinite; max-width: 260px; }
.chip span { font-size: 1.15rem; }
/* Chips sit in the free space around the phones so they never hide what is on a screen. */
.chip--1 { top: 5%; left: calc(50% - 345px); }
.chip--2 { top: 27%; right: calc(50% - 348px); animation-delay: -2s; }
.chip--3 { bottom: -18px; left: calc(50% - 335px); animation-delay: -4s; }
.chip--a { bottom: 1%; right: 0; }
.chip--b { bottom: 12%; left: 2%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* About */
.about { padding: 120px 0 70px; background: radial-gradient(ellipse at top, var(--blush), var(--paper) 70%); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; box-shadow: 0 20px 40px -30px rgba(64,30,100,.4); }
.pillar__icon { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.pillar p { color: var(--ink-soft); margin: 0; }

/* Feature sections */
.feature { position: relative; padding: 110px 0; overflow: hidden; }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature__grid--flip .feature__copy { order: 2; }
.feature__copy p { color: var(--ink-soft); font-size: 1.06rem; }
.feature__visual { min-height: 650px; display: grid; place-items: center; }
.feature__visual .phone { position: relative; z-index: 2; --w: 264px; --ry: -9deg; --rx: 3deg; }
.feature__visual .phone:first-of-type:not(:only-of-type) { --tx: -58px; }
.feature__visual .phone--back { position: absolute; z-index: 1; --w: 226px; --tx: 108px; --ty: 22px; --ry: -14deg; }
.feature__grid--flip .feature__visual .phone { --ry: 9deg; }
.ticks { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: .7em; }
.ticks li { position: relative; padding-left: 2em; }
.ticks li::before { content: "♥"; position: absolute; left: 0; top: 0; width: 1.4em; height: 1.4em; border-radius: 50%; display: grid; place-items: center; font-size: .8em; color: #fff; background: linear-gradient(135deg, var(--lilac), var(--rose)); margin-top: .25em; }

.feature--garden { background: linear-gradient(180deg, #fff6ef 0%, #eef8ec 100%); }
.garden-bg { position: absolute; inset: 0; background: url("/assets/img/garden-sunset.jpg") center / cover no-repeat; opacity: .14; }
.garden-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.step { background: rgba(255,255,255,.85); border: 1px solid rgba(90, 140, 80, .18); border-radius: 18px; padding: 20px; text-align: center; display: grid; gap: 2px; }
.step span { font-size: 1.7rem; }
.step small { color: var(--ink-soft); }

.feature--night { color: #f4ecff; background: radial-gradient(ellipse at 70% 20%, #3c2a6b, var(--night) 65%); }
.feature--night .feature__copy p, .feature--night .ticks li { color: rgba(244,236,255,.86); }
.feature--night .eyebrow { color: #d6b8ff; }
.feature--night .script { color: #ffb3cf; }
.feature--night::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 60%, #fff, transparent), radial-gradient(1.5px 1.5px at 40% 80%, #fff, transparent), radial-gradient(1px 1px at 85% 15%, #fff, transparent), radial-gradient(1px 1px at 10% 70%, #fff, transparent); opacity: .6; }

/* Together tabs */
.together { padding: 110px 0; background: linear-gradient(180deg, var(--paper), var(--blush)); }
.tabs { margin-top: 30px; }
.tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.tabs__list button { font: 600 .98rem var(--sans); padding: .8em 1.3em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.tabs__list button[aria-selected="true"] { background: linear-gradient(135deg, var(--accent), var(--rose)); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -12px rgba(224,69,123,.8); }
.panel { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; max-width: 900px; margin: auto; animation: fade .45s ease; }
.panel[hidden] { display: none; }
.phone--panel { --w: 256px; --ry: -8deg; --rx: 3deg; margin: 10px 26px 44px; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }

/* Privacy */
.privacy { padding: 110px 0; background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(64,30,100,.45); }
.card__icon { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0; }
.fineprint { text-align: center; color: var(--ink-soft); font-size: .93rem; margin-top: 30px; }

/* FAQ */
.faq { padding: 100px 0; background: linear-gradient(180deg, var(--paper), var(--blush)); }
.faq__list { text-align: left; display: grid; gap: 12px; margin-top: 20px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--rose); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); }

/* Download */
.download { position: relative; padding: 120px 0; text-align: center; color: #fff; overflow: hidden; background: linear-gradient(160deg, #4a3180, #a05aa6 55%, #ef8fa9); }
.download__glow { position: absolute; width: 600px; height: 600px; left: 50%; top: 50%; translate: -50% -50%; background: radial-gradient(circle, rgba(255,255,255,.25), transparent 60%); }
.download .container { position: relative; }
.download h2 .script { color: #fff; font-size: 1.3em; }
.download .lead { color: rgba(255,255,255,.9); }
.download__icon { margin: 0 auto 20px; border-radius: 26px; box-shadow: 0 20px 40px -12px rgba(40,10,60,.5); }
.play-badge { display: inline-flex; align-items: center; gap: 12px; padding: .65em 1.4em; border-radius: 14px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.35); text-align: left; cursor: default; }
.play-badge svg { width: 28px; height: 28px; }
.play-badge span { display: grid; font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.play-badge small { font-weight: 500; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }

/* Footer */
.footer { background: #1b1230; color: rgba(255,255,255,.8); padding: 60px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer nav a, .footer__grid > div > a:not(.brand) { display: block; color: rgba(255,255,255,.8); text-decoration: none; margin-bottom: 8px; overflow-wrap: anywhere; }
.footer a:hover { color: #ffb3cf; }
.footer .brand__name { color: #fff; }
.footer__tag { margin-top: 10px; font-family: var(--script); font-size: 1.3rem; color: #ffb3cf; }
.footer__tg { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.footer .btn--ghost-dark { color: #fff; border-color: rgba(255,255,255,.5); }
.footer__copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .85rem; opacity: .7; }

/* Legal pages */
.legal-hero { padding: 130px 0 50px; color: #fff; background: linear-gradient(165deg, #4a3180, #8b56a3 60%, #e58fb0); text-align: center; }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal { padding: 50px 0 90px; }
.legal article { max-width: 780px; margin: auto; }
.legal h2 { font-size: 1.45rem; margin-top: 2em; color: var(--accent); }
.legal li { margin-bottom: .5em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0; }
.legal th, .legal td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.notice { background: var(--blush); border-left: 4px solid var(--rose); padding: 16px 20px; border-radius: 12px; }
.steps-list { counter-reset: s; list-style: none; padding: 0; }
.steps-list li { counter-increment: s; position: relative; padding-left: 3em; margin-bottom: 1em; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--accent), var(--rose)); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1240px) {
  .phone--main { --w: 240px; }
  .phone--side { --w: 198px; }
  .phone--left { --tx: -148px; }
  .phone--right { --tx: 148px; }
  .hero__stage { height: 600px; }
  .chip--1 { left: -3%; top: 0; }
  .chip--2 { right: -3%; top: auto; bottom: 0; }
  .chip--3 { left: -3%; }
}
@media (max-width: 1020px) {
  .phone--main { --w: 280px; }
  .phone--side { --w: 232px; }
  .phone--left { --tx: -176px; }
  .phone--right { --tx: 176px; }
  .chip--1 { left: calc(50% - 345px); top: 5%; }
  .chip--2 { right: calc(50% - 348px); top: 27%; bottom: auto; }
  .chip--3 { left: calc(50% - 335px); }
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: block; }
  .hero__inner, .feature__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero .lead { margin-inline: auto; }
  .hero__stage { height: 640px; }
  .feature__grid--flip .feature__copy { order: 0; }
  .ticks { text-align: left; max-width: 560px; margin-inline: auto; }
  .feature__visual { min-height: 640px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .garden-steps { grid-template-columns: repeat(2, 1fr); }
  .panel { grid-template-columns: 1fr; justify-items: center; gap: 30px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 96px; }
  .hero__stage { height: 510px; }
  .phone--main { --w: 196px; }
  .phone--side { --w: 150px; --ty: 26px; }
  .phone--left { --tx: -92px; }
  .phone--right { --tx: 92px; }
  .feature__visual { min-height: 500px; }
  .feature__visual .phone, .phone--panel { --w: 204px; }
  .feature__visual .phone:first-of-type:not(:only-of-type) { --tx: -42px; }
  .feature__visual .phone--back { --w: 172px; --tx: 72px; --ty: 18px; }
  .chip { font-size: .8rem; padding: 8px 12px; max-width: 200px; }
  .chip--1 { left: 0; top: 0; }
  .chip--2 { right: 0; top: auto; bottom: 0; }
  .chip--3 { left: auto; right: 0; top: 0; bottom: auto; }
  .pillars, .cards { grid-template-columns: 1fr; }
  .feature, .together, .privacy, .faq, .download { padding: 80px 0; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .float-heart { display: none; }
}

.fh1 { --x: 12%; --d: 0s; } .fh2 { --x: 78%; --d: 3s; } .fh3 { --x: 44%; --d: 6s; } .fh4 { --x: 90%; --d: 9s; }
.table-scroll { overflow-x: auto; }
.hero--404 { text-align: center; }
.big404 { font-size: 5rem; color: #fff; margin: 0; }
.feature--garden .chip--a { top: 21%; bottom: auto; right: -2%; max-width: 240px; }
.feature--garden .chip--b { left: -2%; right: auto; bottom: 30%; }
.feature--night h2 { color: #fff; }
@media (max-width: 640px) {
  .hero { align-items: flex-start; padding-top: 104px; }
  .chip { max-width: calc(100vw - 48px); }
  .feature--garden .chip--a { max-width: 170px; top: 19%; right: 0; }
  .feature--garden .chip--b { left: 0; bottom: -14px; }
}

/* Listen together (coming soon) */
.listen { position: relative; padding: 110px 0; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse at 20% 20%, rgba(255,190,160,.55), transparent 55%), linear-gradient(150deg, #7a3f6e 0%, #c0607a 50%, #f0a079 100%); }
.listen__notes span { position: absolute; font-size: 2.4rem; color: rgba(255,255,255,.28); animation: bob 7s ease-in-out infinite; }
.listen__notes span:nth-child(1) { left: 6%; top: 18%; } .listen__notes span:nth-child(2) { left: 42%; top: 10%; animation-delay: -2s; }
.listen__notes span:nth-child(3) { left: 88%; top: 22%; animation-delay: -4s; } .listen__notes span:nth-child(4) { left: 12%; bottom: 12%; animation-delay: -1s; }
.listen__notes span:nth-child(5) { left: 55%; bottom: 8%; animation-delay: -3s; } .listen__notes span:nth-child(6) { left: 80%; bottom: 16%; animation-delay: -5s; }
.listen__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.listen h2 { color: #fff; }
.listen .script { color: #ffe1ea; }
.listen .eyebrow { color: #ffe1ea; }
.listen__copy p { color: rgba(255,255,255,.92); font-size: 1.06rem; }
.listen__note { font-size: .95rem !important; opacity: .85; }
.soon-badge { display: inline-block; margin-bottom: 14px; padding: .35em .9em; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a2d55; background: #fff; box-shadow: 0 8px 20px -8px rgba(80,20,50,.5); }
.listen__art { display: grid; justify-items: center; gap: 26px; }
.vinyl { width: 260px; height: 260px; border-radius: 50%; display: grid; place-items: center; animation: spin 12s linear infinite;
  background: radial-gradient(circle, #2a1824 0 30%, transparent 31%), repeating-radial-gradient(circle, #1d1119 0 3px, #2c1a26 3px 6px); box-shadow: 0 30px 60px -20px rgba(60,10,40,.7); }
.vinyl__label { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: #fff; background: linear-gradient(135deg, var(--accent), var(--rose)); }
@keyframes spin { to { transform: rotate(360deg); } }
.wave { display: flex; align-items: center; gap: 6px; height: 44px; }
.wave i { width: 6px; height: 100%; border-radius: 3px; background: rgba(255,255,255,.9); animation: eq 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-delay: -.8s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.listen__pair { display: flex; align-items: center; gap: 12px; padding: 10px 20px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); font-weight: 700; }
.listen__heart { color: #ffd0de; }
@media (max-width: 1020px) { .listen__grid { grid-template-columns: 1fr; text-align: center; } .vinyl { width: 200px; height: 200px; } }

/* Clip (not scroll) the sections that hold phones, so shadows and chips can never scroll a section sideways or inside itself. */
@supports (overflow: clip) { .hero, .feature { overflow: clip; } }

/* Listen together: owner's picture (AI-made by the owner, cleared for use) */
.listen__photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9;
  box-shadow: 0 40px 70px -30px rgba(70, 10, 40, .7), 0 0 0 1px rgba(255,255,255,.25); transform: rotate(-1.5deg); }
.listen__photo img { width: 104%; max-width: none; height: 100%; margin-left: -2%; object-fit: cover; } /* trims the thin side borders */
.listen__tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  font-weight: 700; font-size: .92rem; color: #fff; background: rgba(60, 20, 45, .55); backdrop-filter: blur(10px); }
.listen__tag .wave { height: 18px; gap: 3px; }
.listen__tag .wave i { width: 3px; }
@media (max-width: 1020px) { .listen__photo { transform: none; max-width: 620px; margin-inline: auto; } }

/* Emergency call highlight */
.emergency { padding: 30px 0 90px; background: var(--paper); }
.emergency__card { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start; padding: 44px; border-radius: 28px;
  background: linear-gradient(135deg, #fff5f5, #ffe9ec); border: 1.5px solid #f2b8ba; box-shadow: 0 30px 60px -36px rgba(194, 41, 46, .55); }
.emergency__icon { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: linear-gradient(135deg, #e5484d, #c2292e); box-shadow: 0 14px 30px -10px rgba(194, 41, 46, .7); }
.emergency__icon span { color: #fff; font-weight: 900; font-size: 1.35rem; letter-spacing: .04em; }
.emergency__icon::before, .emergency__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(229, 72, 77, .5); animation: pulse 2.4s ease-out infinite; }
.emergency__icon::after { animation-delay: 1.2s; }
@keyframes pulse { to { transform: scale(1.7); opacity: 0; } }
.emergency .eyebrow { color: #c2292e; }
.emergency h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.emergency__copy > p { color: var(--ink-soft); }
.emergency__list { list-style: none; padding: 0; margin: 1em 0; display: grid; gap: .7em; }
.emergency__list li { position: relative; padding-left: 1.8em; }
.emergency__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7em; height: .7em; border-radius: 50%; background: #e5484d; }
.emergency__note { font-size: .9rem; color: #8a5a5c !important; margin: 0; }
@media (max-width: 640px) { .emergency__card { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; } .emergency__icon { width: 76px; height: 76px; } }

/* Location & safety: detailed blocks */
.loc-blocks { display: grid; gap: 16px; margin-top: 1.4em; }
.loc-block { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; box-shadow: 0 16px 30px -26px rgba(64,30,100,.45); }
.loc-block h3 { font-size: 1.08rem; margin-bottom: .4em; color: var(--accent); }
.loc-block .ticks { margin-top: .4em; gap: .45em; font-size: .97rem; }
@media (max-width: 1020px) { .loc-block { text-align: left; } }
