/* Encore home: dark, premium, animated. Coral → pink → violet like the app. System fonts only (CSP). */
:root {
  --bg: #07070C;
  --bg2: #0D0D16;
  --card: rgba(255,255,255,.045);
  --card2: rgba(255,255,255,.07);
  --line: rgba(255,255,255,.09);
  --line2: rgba(255,255,255,.16);
  --ink: #F4F2FA;
  --muted: #A3A0B5;
  --dim: #6E6B80;
  --coral: #FF6A45;
  --pink: #FF4F8B;
  --violet: #9B5CFF;
  --sage: #7FD3A8;
  --gold: #FFC24D;
  --blue: #4D8DFF;
  --brand: linear-gradient(100deg, #FF6A45 0%, #FF4F8B 45%, #9B5CFF 100%);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

/* ---------- ambient background ---------- */
.aurora { position: fixed; inset: -20vh -10vw auto; height: 120vh; z-index: -2; pointer-events: none; filter: blur(90px); opacity: .7; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s var(--ease) infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 2vw; top: 0; background: radial-gradient(circle, #FF6A45 0%, transparent 65%); }
.aurora i:nth-child(2) { width: 52vw; height: 52vw; right: -6vw; top: 6vh; background: radial-gradient(circle, #9B5CFF 0%, transparent 65%); animation-duration: 28s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 38vw; height: 38vw; left: 30vw; top: 30vh; background: radial-gradient(circle, #FF4F8B 0%, transparent 65%); animation-duration: 25s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vw,4vh) scale(1.12); } 100% { transform: translate(-4vw,8vh) scale(.95); } }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
  background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1px); background-size: 3px 3px; mask-image: linear-gradient(#000, transparent 70%); }

/* ---------- nav ---------- */
.top { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(7,7,12,.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-color: var(--line); }
.top-bar { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 900; box-shadow: 0 6px 20px rgba(255,79,139,.35); }
.top-nav { margin-left: auto; display: flex; gap: 28px; font-size: .94rem; color: var(--muted); }
.top-nav a:hover { color: var(--ink); }
.pill-btn { padding: 10px 18px; border-radius: 999px; background: #fff; color: #0B0B12; font-weight: 700; font-size: .92rem; transition: transform .2s var(--ease), box-shadow .2s; }
.pill-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255,255,255,.18); }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(127,211,168,.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(127,211,168,0); } }
.pill-kicker { padding: 8px 14px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(255,255,255,.04); backdrop-filter: blur(8px); letter-spacing: .04em; text-transform: none; font-size: .9rem; color: var(--ink); }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.02; font-weight: 800; }
h1 { font-size: clamp(2.7rem, 7.4vw, 6rem); margin: 22px 0 22px; }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); margin: 14px 0 18px; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 720px; margin-inline: auto; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 620px; }
.fine { font-size: .86rem; color: var(--dim); margin-top: 18px; }

/* rotating word */
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(40%) rotateX(-40deg); filter: blur(8px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); white-space: nowrap; }
.rotator > span.on { visibility: visible; opacity: 1; transform: none; filter: none; }
.rotator > span.out { visibility: visible; opacity: 0; transform: translateY(-40%) rotateX(40deg); filter: blur(8px); }
.no-js .rotator > span:first-child { visibility: visible; opacity: 1; transform: none; filter: none; }

/* ---------- buttons ---------- */
.cta { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 34px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 16px; background: #fff; color: #0B0B12; font-weight: 700; box-shadow: 0 14px 40px rgba(255,255,255,.12); }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: .7rem; font-weight: 600; opacity: .7; line-height: 1; }
.store span { line-height: 1.15; font-size: 1.12rem; }
.ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 16px; border: 1px solid var(--line2); background: rgba(255,255,255,.04); font-weight: 650; transition: background .2s, transform .2s var(--ease); }
.ghost:hover { background: rgba(255,255,255,.09); transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero { padding: 70px 0 40px; position: relative; }
.stage { position: relative; margin: 70px auto 0; width: min(980px, 100%); height: 640px; perspective: 1400px; }
.phone { position: absolute; left: 50%; top: 0; width: 320px; height: 640px; margin-left: -160px; border-radius: 52px; padding: 12px;
  background: linear-gradient(160deg, #2A2833, #121118); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 50px 120px rgba(155,92,255,.35), 0 30px 60px rgba(0,0,0,.6);
  animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: radial-gradient(120% 70% at 50% 0%, #2A1638 0%, #120E1C 55%, #0B0A12 100%); }
.notch { position: absolute; top: 10px; left: 50%; width: 104px; height: 30px; margin-left: -52px; border-radius: 20px; background: #000; z-index: 3; }
.p-head { padding: 56px 18px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--brand); flex: none; position: relative; }
.av::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--sage); border-right-color: transparent; transform: rotate(-30deg); }
.p-head b { display: block; font-size: .98rem; letter-spacing: -.01em; }
.p-head small { color: var(--muted); font-size: .76rem; }
.p-tabs { display: flex; margin: 12px 16px 0; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: .76rem; color: var(--muted); }
.p-tabs span { flex: 1; text-align: center; padding: 6px 0; border-radius: 9px; }
.p-tabs .on { background: rgba(255,255,255,.12); color: var(--ink); font-weight: 650; }
.chat { padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; min-height: 210px; }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 18px; font-size: .86rem; line-height: 1.35; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.msg.show { opacity: 1; transform: none; }
.msg.them { align-self: flex-start; background: rgba(255,255,255,.1); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--brand); border-bottom-right-radius: 6px; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.reply-card { position: absolute; left: 12px; right: 12px; bottom: 14px; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid var(--line2); backdrop-filter: blur(14px); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reply-card.show { opacity: 1; transform: none; }
.reply-card .lbl { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
.reply-card p { font-size: .86rem; margin: 6px 0 10px; }
.reply-card .row { display: flex; gap: 6px; }
.reply-card .row span { font-size: .7rem; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--muted); }
.reply-card .row span:first-child { background: var(--brand); color: #fff; font-weight: 700; }

/* floating chips around the phone */
.float { position: absolute; padding: 14px 16px; border-radius: 18px; background: rgba(20,18,30,.72); border: 1px solid var(--line2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0,0,0,.45); font-size: .86rem; animation: bob 6s ease-in-out infinite; }
.float .t { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.f-goal { left: 0; top: 70px; width: 250px; }
.f-goal b { display: block; font-size: .98rem; letter-spacing: -.01em; transition: opacity .35s; }
.f-steps { margin-top: 10px; display: grid; gap: 7px; font-size: .78rem; color: var(--muted); }
.f-steps div { display: flex; gap: 8px; align-items: center; }
.f-steps .d { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--dim); flex: none; }
.f-steps .done .d { background: var(--sage); border-color: var(--sage); }
.f-steps .here { color: var(--ink); font-weight: 650; }
.f-steps .here .d { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,106,69,.2); }
.f-score { right: 10px; top: 120px; display: flex; gap: 12px; align-items: center; animation-delay: -2s; }
.ring { --p: 72; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
  background: radial-gradient(closest-side, #15131F 78%, transparent 80% 100%), conic-gradient(var(--coral), var(--pink), var(--violet) calc(var(--p) * 1%), rgba(255,255,255,.1) 0); }
.f-score small { color: var(--muted); display: block; font-size: .74rem; }
.f-mem { right: 40px; bottom: 90px; width: 230px; animation-delay: -4s; }
.f-mem ul { list-style: none; display: grid; gap: 6px; font-size: .8rem; }
.f-mem li { padding: 6px 9px; border-radius: 10px; background: rgba(255,255,255,.06); }
.f-rel { left: 50px; bottom: 120px; animation-delay: -3s; display: flex; gap: 10px; align-items: center; }
.f-rel .tag { padding: 4px 10px; border-radius: 999px; background: rgba(127,211,168,.14); color: var(--sage); font-weight: 700; font-size: .78rem; transition: opacity .35s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- not a dating app ---------- */
.statement { padding: 120px 0 40px; text-align: center; }
.statement h2 { font-size: clamp(2.2rem, 6vw, 4.8rem); max-width: 1000px; margin-inline: auto; }
.statement h2 s { text-decoration: none; position: relative; color: var(--dim); }
.statement h2 s::after { content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: .09em; background: var(--coral); border-radius: 4px; transform: scaleX(0); transform-origin: left; transition: transform .9s .3s var(--ease); }
.statement.in h2 s::after { transform: scaleX(1); }
.marquee { margin-top: 50px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee + .marquee { margin-top: 14px; }
.track { display: flex; gap: 14px; width: max-content; animation: scroll 38s linear infinite; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 44s; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255,255,255,.04); font-weight: 650; white-space: nowrap; }
.chip i { font-style: normal; font-size: 1.1rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.block { padding: 120px 0; position: relative; }
.head { max-width: 760px; }
.head.centered { text-align: center; margin-inline: auto; }
.head.centered .lede { margin-inline: auto; }

/* relationship cards */
.rels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.rel { position: relative; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), border-color .3s, background .3s; min-height: 330px; display: flex; flex-direction: column; }
.rel::before { content: ""; position: absolute; inset: 0; opacity: .0; transition: opacity .4s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.10), transparent 40%); }
.rel:hover { transform: translateY(-6px); border-color: var(--line2); background: var(--card2); }
.rel:hover::before { opacity: 1; }
.rel .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 18px; }
.rel h3 { font-size: 1.35rem; }
.rel .who { color: var(--muted); font-size: .9rem; margin: 6px 0 18px; }
.rel .goal { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.rel .goal + p { font-weight: 650; margin: 4px 0 16px; }
.rel .bub { margin-top: auto; padding: 10px 14px; border-radius: 16px 16px 6px 16px; background: var(--brand); font-size: .88rem; align-self: flex-end; max-width: 95%; }
.c-fam .ico { background: rgba(255,194,77,.14); } .c-fri .ico { background: rgba(127,211,168,.14); }
.c-work .ico { background: rgba(77,141,255,.14); } .c-love .ico { background: rgba(255,79,139,.14); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; }
.step .n { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: rgba(255,255,255,.08); margin-bottom: 20px; }
.step p { color: var(--muted); margin-top: 10px; font-size: .98rem; }
.step .vis { height: 150px; margin: -6px -6px 22px; border-radius: 16px; position: relative; overflow: hidden; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.shots { position: absolute; inset: 0; display: grid; place-items: center; }
.shots i { position: absolute; width: 62px; height: 110px; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); border: 1px solid var(--line2); }
.shots i::before, .shots i::after { content: ""; position: absolute; left: 8px; right: 18px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.25); top: 22px; box-shadow: 10px 16px 0 rgba(255,79,139,.6), 0 32px 0 rgba(255,255,255,.25), 10px 48px 0 rgba(255,79,139,.6); }
.in .shots i:nth-child(1) { animation: fanL 1s .2s var(--ease) both; } .in .shots i:nth-child(3) { animation: fanR 1s .2s var(--ease) both; }
@keyframes fanL { from { transform: none; } to { transform: translateX(-46px) rotate(-10deg); } }
@keyframes fanR { from { transform: none; } to { transform: translateX(46px) rotate(10deg); } }
.goalbox { position: absolute; inset: 22px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.goalbox .type { font-weight: 650; border-bottom: 2px solid var(--coral); padding-bottom: 6px; white-space: nowrap; overflow: hidden; width: 0; }
.in .goalbox .type { animation: type 2s .4s steps(26) forwards; }
@keyframes type { to { width: 100%; } }
.goalbox .bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.goalbox .bar i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 4px; }
.in .goalbox .bar i { animation: fill 1.6s 2.2s var(--ease) forwards; }
@keyframes fill { to { width: 40%; } }
.goalbox small { color: var(--muted); }
.sendbox { position: absolute; inset: 20px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 10px; }
.sendbox .bub { padding: 10px 14px; border-radius: 16px 16px 6px 16px; background: var(--brand); font-size: .86rem; max-width: 92%; opacity: 0; transform: translateY(12px); }
.in .sendbox .bub { animation: rise .7s .5s var(--ease) forwards; }
.sendbox .tones { display: flex; gap: 6px; opacity: 0; } .in .sendbox .tones { animation: rise .7s 1s var(--ease) forwards; }
.sendbox .tones span { font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* strategy showcase */
.strat { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.plan { padding: 28px; border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line2); box-shadow: 0 40px 100px rgba(155,92,255,.18); }
.plan-top { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan-top .ring { --p: 42; width: 84px; height: 84px; font-size: 1.5rem; }
.js .plan-top .ring { --p: 0; }
.plan-top small { color: var(--muted); font-size: .8rem; }
.plan-top b { display: block; font-size: 1.15rem; letter-spacing: -.01em; }
.tl { list-style: none; margin-top: 22px; position: relative; }
.tl::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line2); }
.tl::after { content: ""; position: absolute; left: 11px; top: 8px; width: 2px; height: 0; background: var(--brand); transition: height 1.6s .3s var(--ease); }
.plan.in .tl::after { height: 34%; }
.tl li { position: relative; padding: 0 0 18px 40px; opacity: .0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.plan.in .tl li { opacity: 1; transform: none; }
.plan.in .tl li:nth-child(2) { transition-delay: .15s; } .plan.in .tl li:nth-child(3) { transition-delay: .3s; } .plan.in .tl li:nth-child(4) { transition-delay: .45s; } .plan.in .tl li:nth-child(5) { transition-delay: .6s; }
.tl li::before { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg2); border: 2px solid var(--dim); z-index: 1; }
.tl li.done::before { background: var(--sage); border-color: var(--sage); }
.tl li.here::before { border-color: var(--coral); box-shadow: 0 0 0 5px rgba(255,106,69,.2); }
.tl b { display: block; font-size: 1rem; }
.tl small { color: var(--muted); font-size: .86rem; }
.tl .yah { display: inline-block; margin-left: 8px; font-size: .64rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--coral); color: #fff; vertical-align: 2px; }
.tl .next { color: var(--muted); }
.ticks { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.ticks li { display: flex; gap: 12px; color: var(--muted); }
.ticks li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 900; display: grid; place-items: center; }
.ticks li strong { color: var(--ink); font-weight: 650; }

/* memory */
.mem { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.mem-cards { position: relative; height: 430px; }
.mcard { position: absolute; padding: 22px; border-radius: 24px; background: rgba(20,18,30,.75); border: 1px solid var(--line2); backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.mcard .t { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); margin-bottom: 12px; }
.m1 { left: 0; top: 0; width: 70%; }
.m1 .hd { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.m1 .hd small { color: var(--muted); display: block; font-size: .8rem; }
.m1 ul { list-style: none; display: grid; gap: 8px; }
.m1 li { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: .92rem; }
.m2 { right: 0; bottom: 0; width: 62%; animation: bob 7s ease-in-out infinite; }
.m2 p { font-size: .92rem; }
.m2 .q { color: var(--muted); font-size: .84rem; margin-bottom: 8px; }
.m2 .a { padding: 10px 12px; border-radius: 14px 14px 4px 14px; background: var(--brand); margin-top: 10px; }

/* privacy */
.priv { padding: 64px; border-radius: 36px; background: radial-gradient(120% 120% at 100% 0%, rgba(155,92,255,.25), transparent 50%), linear-gradient(180deg, #12111B, #0B0A12); border: 1px solid var(--line2); position: relative; overflow: hidden; }
.priv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.priv-grid article { padding: 24px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.priv-grid p { color: var(--muted); margin-top: 8px; font-size: .96rem; }
.small-link { margin-top: 28px; }
.small-link a { color: var(--ink); border-bottom: 1px solid var(--line2); }
.small-link a:hover { border-color: var(--pink); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stats div { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.stats b { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -.04em; line-height: 1; }
.stats span { color: var(--muted); font-size: .95rem; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; align-items: stretch; }
.plan-c { padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; }
.plan-c.best { background: linear-gradient(var(--bg2), var(--bg2)) padding-box, var(--brand) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 80px rgba(255,79,139,.18); }
.plan-c .flag { position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--brand); font-size: .74rem; font-weight: 800; }
.plan-c h3 { font-size: 1.05rem; color: var(--muted); font-weight: 650; }
.price { font-size: 2.8rem; font-weight: 800; letter-spacing: -.04em; margin: 10px 0 18px; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan-c ul { list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: .96rem; }
.plan-c li { padding-left: 24px; position: relative; }
.plan-c li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 800; }
.legal { font-size: .8rem; color: var(--dim); margin-top: 24px; max-width: 820px; }
.legal a { text-decoration: underline; }

/* faq */
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 650; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 22px; max-width: 700px; }

/* closer */
.closer { position: relative; padding: 100px 40px; border-radius: 40px; text-align: center; overflow: hidden; background: #0E0C16; border: 1px solid var(--line2); }
.closer::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, #FF6A45, #FF4F8B, #9B5CFF, #4D8DFF, #FF6A45); filter: blur(90px); opacity: .35; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.closer > * { position: relative; }
.closer .sub { margin-bottom: 30px; }

/* footer */
.foot { padding: 70px 0 40px; border-top: 1px solid var(--line); margin-top: 60px; color: var(--muted); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { color: var(--ink); font-size: .86rem; margin-bottom: 12px; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot nav a:hover { color: var(--ink); }
.foot-brand p { margin-top: 12px; max-width: 320px; }
.foot-base { display: flex; justify-content: space-between; margin-top: 46px; font-size: .82rem; color: var(--dim); }

.center-lede { margin: 18px auto 0; }
.block.flush-top { padding-top: 0; }
.block.near-top { padding-top: 40px; }


/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .rels { grid-template-columns: repeat(2, 1fr); }
  .strat, .mem { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .f-goal { left: -10px; } .f-mem { right: -10px; }
}
@media (max-width: 760px) {
  .top-nav { display: none; }
  .pill-btn { margin-left: auto; }
  h1 { font-size: 2.35rem; }
  .f-score { display: none !important; }
  .hero { padding-top: 40px; }
  .stage { height: 600px; margin-top: 50px; }
  .phone { width: 290px; height: 590px; margin-left: -145px; }
  .f-goal, .f-mem, .f-rel { display: none; }
  .steps, .plans, .priv-grid { grid-template-columns: 1fr; }
  .rels { grid-template-columns: 1fr; }
  .rel { min-height: 0; }
  .block { padding: 80px 0; }
  .priv { padding: 32px 22px; border-radius: 28px; }
  .mem-cards { height: 470px; }
  .m1 { width: 92%; } .m2 { width: 86%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .closer { padding: 70px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .msg, .reply-card, .tl li { opacity: 1 !important; transform: none !important; }
  .goalbox .type { width: 100%; } .goalbox .bar i { width: 40%; } .sendbox .bub, .sendbox .tones { opacity: 1; transform: none; }
}

/* ---------- reply test (/try) ---------- */
.try-hero { padding: 70px 0 30px; }
.try-title { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.try-wrap { padding: 10px 0 60px; }
.try-banner { margin-bottom: 18px; padding: 14px 18px; border-radius: 16px; background: rgba(127,211,168,.1); border: 1px solid rgba(127,211,168,.3); color: var(--ink); }
.code-chip { font-weight: 800; padding: 2px 8px; border-radius: 8px; background: rgba(255,255,255,.1); letter-spacing: .04em; }
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.who-btn { font: inherit; color: var(--muted); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line); font-weight: 650; font-size: .92rem; transition: transform .25s var(--ease), border-color .25s, background .25s, color .25s; }
.who-btn i { font-style: normal; font-size: 1.5rem; }
.who-btn:hover { transform: translateY(-2px); color: var(--ink); }
.who-btn.on { color: var(--ink); background: linear-gradient(var(--bg2), var(--bg2)) padding-box, var(--brand) border-box; border: 1.5px solid transparent; box-shadow: 0 14px 40px rgba(255,79,139,.18); }
.try-card { padding: 26px; border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line2); box-shadow: 0 40px 100px rgba(155,92,255,.16); animation: rise .6s var(--ease) both; }
.try-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.try-head small { display: block; color: var(--muted); font-size: .8rem; }
.try-thread { padding: 18px 0 8px; display: flex; flex-direction: column; min-height: 70px; }
.try-thread .msg { font-size: 1rem; max-width: 88%; }
.try-thread .msg.swap { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.try-label { display: block; margin: 16px 0 8px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.try-field { width: 100%; font: inherit; color: var(--ink); background: rgba(0,0,0,.35); border: 1px solid var(--line2); border-radius: 18px; padding: 14px 16px; resize: vertical; min-height: 96px; transition: border-color .2s, box-shadow .2s; }
.try-field:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,79,139,.15); }
.try-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.try-row.end { justify-content: flex-end; margin-top: 22px; }
.try-count { color: var(--dim); font-size: .84rem; }
.try-btn { font: inherit; font-weight: 750; color: #fff; cursor: pointer; border: 0; padding: 14px 24px; border-radius: 16px; background: var(--brand); box-shadow: 0 14px 34px rgba(255,79,139,.3); transition: transform .2s var(--ease), box-shadow .2s, opacity .2s; }
.try-btn:hover { transform: translateY(-1px); box-shadow: 0 18px 44px rgba(255,79,139,.4); }
.try-btn:disabled { opacity: .6; cursor: progress; }
.ghost { font: inherit; color: var(--ink); cursor: pointer; }
.try-error { margin-top: 12px; color: #FF8A8A; font-size: .92rem; }
.res-top { display: flex; align-items: center; gap: 18px; }
.ring.big { width: 96px; height: 96px; font-size: 2rem; }
.res-out { color: var(--muted); }
.res-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.res-lists > div { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.res-lists h3 { font-size: 1rem; margin-bottom: 8px; }
.res-lists ul { list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: .94rem; }
.res-lists li { padding-left: 20px; position: relative; }
#worked li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 800; }
#fix li::before { content: "→"; position: absolute; left: 0; color: var(--coral); font-weight: 800; }
.res-bub { padding: 14px 16px; border-radius: 18px 18px 6px 18px; background: var(--brand); font-size: 1rem; max-width: 92%; margin-left: auto; width: fit-content; }
.res-why { color: var(--muted); font-size: .92rem; margin-top: 10px; }
.try-cta { margin-top: 40px; padding: 40px; border-radius: 30px; text-align: center; position: relative; overflow: hidden; background: #0E0C16; border: 1px solid var(--line2); }
.try-cta::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, #FF6A45, #FF4F8B, #9B5CFF, #4D8DFF, #FF6A45); filter: blur(90px); opacity: .28; animation: spin 18s linear infinite; }
.try-cta > * { position: relative; }
.try-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.try-cta p { color: var(--muted); max-width: 560px; margin: 0 auto 22px; }
.try-fine { margin-top: 26px; font-size: .82rem; color: var(--dim); text-align: center; }
.try-fine a { text-decoration: underline; }
@media (max-width: 640px) {
  .who { grid-template-columns: repeat(2, 1fr); }
  .res-lists { grid-template-columns: 1fr; }
  .try-card { padding: 20px; border-radius: 24px; }
  .try-cta { padding: 30px 20px; }
}

/* how it works: the ways in cycle */
.ways .way { position: absolute; inset: 0; opacity: 0; transform: scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ways .way.on { opacity: 1; transform: none; }
.no-js .ways .way:first-child { opacity: 1; }
.way-name { white-space: nowrap; }
.way-dots { display: flex; gap: 6px; margin-top: 16px; }
.way-dots i { width: 6px; height: 6px; border-radius: 4px; background: var(--line2); transition: width .3s var(--ease), background .3s; }
.way-dots i.on { width: 18px; background: var(--coral); }
.paste { position: absolute; inset: 18px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.paste .clip { position: absolute; right: 0; top: 0; font-size: 1.3rem; }
.paste .pmsg { font-size: .82rem; padding: 8px 12px; border-radius: 14px; background: rgba(255,255,255,.08); width: fit-content; max-width: 88%; }
.paste .pmsg.me { align-self: flex-end; background: var(--brand); }
.rec { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; }
.dotrec { width: 14px; height: 14px; border-radius: 50%; background: #FF4D4D; box-shadow: 0 0 0 0 rgba(255,77,77,.6); animation: recpulse 1.4s infinite; }
@keyframes recpulse { 70% { box-shadow: 0 0 0 12px rgba(255,77,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,77,0); } }
.rtime { font-weight: 750; font-variant-numeric: tabular-nums; }
.rbars { display: flex; gap: 4px; align-items: flex-end; height: 34px; }
.rbars i { width: 6px; border-radius: 3px; background: var(--brand); animation: eq 1s ease-in-out infinite; }
.rbars i:nth-child(1) { height: 40%; } .rbars i:nth-child(2) { height: 80%; animation-delay: .15s; } .rbars i:nth-child(3) { height: 55%; animation-delay: .3s; } .rbars i:nth-child(4) { height: 70%; animation-delay: .45s; }
@keyframes eq { 50% { transform: scaleY(.45); } }
.kb { position: absolute; inset: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.kbsug { font-size: .8rem; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid var(--line2); width: fit-content; align-self: center; }
.keys { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.keys i { height: 18px; border-radius: 4px; background: rgba(255,255,255,.12); }
.keys i:nth-child(3) { animation: tap 1.6s infinite; } .keys i:nth-child(7) { animation: tap 1.6s .8s infinite; }
@keyframes tap { 0%, 30%, 100% { background: rgba(255,255,255,.12); } 15% { background: var(--pink); } }
.scan { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.scan p { position: relative; color: var(--muted); font-size: .84rem; }
.scan .beam { position: absolute; left: 10%; right: 10%; height: 2px; top: 20%; background: var(--brand); box-shadow: 0 0 18px var(--pink); animation: beam 2s ease-in-out infinite alternate; }
@keyframes beam { to { top: 80%; } }
