/* Pair.in — app landing page: white, pink-coral-violet gradient, big rounded UI.
   Stage 3+ turns the gradient into sodium streetlight amber on a night-road navy, and hearts into crosshairs. */
:root {
  --bg: #ffffff;
  --bg2: #fff4f7;
  --bg3: #f7f2ff;
  --card: #ffffff;
  --ink: #1c1530;
  --ink2: #3b3352;
  --muted: #736c86;
  --line: #f0e6f0;
  --g1: #ff4d8d;
  --g2: #ff7b5c;
  --g3: #8a5cf6;
  --accent: #ff3d7f;
  --accent-ink: #ffffff;
  --soft: #ffe3ec;
  --grad: linear-gradient(120deg, var(--g1) 0%, var(--g2) 48%, var(--g3) 100%);
  --grad-soft: linear-gradient(135deg, #fff0f5 0%, #fff4ee 50%, #f4efff 100%);
  --shadow: 0 22px 60px -24px rgba(138, 92, 246, .38), 0 8px 22px -12px rgba(255, 77, 141, .25);
  --shadow-s: 0 10px 28px -14px rgba(60, 30, 90, .28);
  --r: 28px;
  --r-s: 18px;
  --f-ja: "M PLUS 1", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  --f-en: "Outfit", "M PLUS 1", sans-serif;
  --danger: #e5244f;
  color-scheme: light;
}
html[data-stage="2"] { --g1: #f2508a; --g2: #f0805e; --g3: #7553e0; --soft: #fde4ea; }
html[data-stage="3"], html[data-stage="4"] {
  --bg: #0f0d16;
  --bg2: #15121d;
  --bg3: #171320;
  --card: #1b1724;
  --ink: #f4ecdf;
  --ink2: #dcd1c1;
  --muted: #a3998b;
  --line: #2c2735;
  --g1: #ffc35a;
  --g2: #f08a2b;
  --g3: #4a3561;
  --accent: #ffad3b;
  --accent-ink: #1a1205;
  --soft: #2a2117;
  --grad-soft: linear-gradient(135deg, #1a1520 0%, #1f1814 55%, #15121e 100%);
  --shadow: 0 26px 70px -26px rgba(255, 160, 50, .28), 0 10px 30px -14px rgba(0, 0, 0, .6);
  --shadow-s: 0 10px 28px -14px rgba(0, 0, 0, .7);
  --danger: #ff6a3d;
  color-scheme: dark;
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-ja); font-size: 16px; line-height: 1.8;
  font-weight: 400; overflow-x: hidden; transition: background-color .6s, color .6s;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.en { font-family: var(--f-en); }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* stage visibility helpers */
html[data-stage="0"] :is(.from-1, .from-2, .from-3, .from-4),
html[data-stage="1"] :is(.from-2, .from-3, .from-4),
html[data-stage="2"] :is(.from-3, .from-4),
html[data-stage="3"] .from-4,
html:is([data-stage="1"], [data-stage="2"], [data-stage="3"], [data-stage="4"]) .until-1,
html:is([data-stage="2"], [data-stage="3"], [data-stage="4"]) .until-2,
html:is([data-stage="3"], [data-stage="4"]) .until-3 { display: none !important; }

/* heart / crosshair icon */
.hx { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; fill: currentColor; flex: none; }
.hx .x { display: none; }
html:is([data-stage="3"], [data-stage="4"]) .hx .h { display: none; }
html:is([data-stage="3"], [data-stage="4"]) .hx .x { display: inline; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 54px; padding: 0 28px;
  border-radius: 999px; border: 0; background: var(--grad); color: #fff; font-weight: 800; font-size: 16px; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(255, 77, 141, .6); transition: transform .15s, box-shadow .2s, filter .2s;
}
html:is([data-stage="3"], [data-stage="4"]) .btn { color: #1a1205; box-shadow: 0 14px 30px -12px rgba(255, 170, 60, .5); }
.btn:hover { transform: translateY(-2px); filter: saturate(1.1); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn.block { width: 100%; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 22px 8px 16px; border-radius: 18px; border: 0;
  background: var(--ink); color: var(--bg); text-align: left; cursor: pointer; transition: transform .15s;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 28px; height: 28px; fill: currentColor; }
.store small { display: block; font-size: 11px; opacity: .75; line-height: 1.2; font-weight: 500; }
.store b { display: block; font-family: var(--f-en); font-size: 18px; line-height: 1.2; font-weight: 700; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.site-header .container { display: flex; align-items: center; gap: 20px; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-en); font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: var(--ink); }
.logo .mark { width: 38px; height: 38px; border-radius: 13px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 20px; box-shadow: 0 8px 18px -8px rgba(255, 77, 141, .7); }
html:is([data-stage="3"], [data-stage="4"]) .logo .mark { color: #1a1205; }
.logo .dot { color: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; color: var(--ink2); }
.nav a:hover, .nav a[aria-current] { background: var(--soft); color: var(--accent); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--soft); cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--grad-soft); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.hero::before { width: 520px; height: 520px; left: -160px; top: -180px; background: var(--g1); opacity: .22; }
.hero::after { width: 560px; height: 560px; right: -200px; bottom: -260px; background: var(--g3); opacity: .25; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 56px 0 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 8px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-s); font-weight: 700; font-size: 13px; color: var(--ink2); }
.eyebrow .pill { background: var(--grad); color: #fff; padding: 2px 10px; border-radius: 999px; font-family: var(--f-en); font-size: 12px; }
html:is([data-stage="3"], [data-stage="4"]) .eyebrow .pill { color: #1a1205; }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.22; margin: 20px 0 18px; font-weight: 900; letter-spacing: -.01em; }
.hero h1 .grad-text { display: inline-block; }
.hero .lead { font-size: 17px; color: var(--ink2); max-width: 30em; margin: 0 0 28px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; justify-self: center; width: min(470px, 100%); }
.phone-photo { position: relative; border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 928 / 1152; background: #f6dfe8; }
.phone-photo > img { width: 100%; height: 100%; object-fit: cover; }
.phone-photo .screen-host { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-s); font-weight: 800; font-size: 14px; white-space: nowrap; animation: floaty 5s ease-in-out infinite; }
.chip .hx { color: var(--accent); font-size: 18px; }
.chip.c1 { left: -34px; top: 50%; }
.chip.c2 { right: -14px; bottom: 3%; animation-delay: -2.5s; }
.chip small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); line-height: 1.2; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* app screen (projected onto photos) */
.app { position: absolute; left: 0; top: 0; width: 300px; height: 640px; transform-origin: 0 0; background: #fff; color: #1c1530; overflow: hidden; border-radius: 34px; font-family: var(--f-ja); font-size: 14px; line-height: 1.5; user-select: none; -webkit-user-select: none; touch-action: none; }
html:is([data-stage="3"], [data-stage="4"]) .app { background: #121019; color: #f4ecdf; }
.app .sb { height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; font-family: var(--f-en); font-weight: 700; font-size: 13px; }
.app .sb .bat { width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; opacity: .8; }
.app .sb .bat::after { content: ""; position: absolute; inset: 1.5px; right: 5px; background: currentColor; border-radius: 1px; }
.app .ab { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.app .ab .logo { font-size: 20px; gap: 7px; color: inherit; }
.app .ab .logo .mark { width: 28px; height: 28px; border-radius: 10px; font-size: 15px; }
.app .ab .bell { width: 34px; height: 34px; border-radius: 12px; background: rgba(255, 77, 141, .1); display: grid; place-items: center; color: var(--accent); position: relative; }
.app .ab .bell::after { content: ""; position: absolute; right: 6px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.app .deck { position: absolute; left: 14px; right: 14px; top: 92px; bottom: 150px; }
.app .card { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; background: #ddd; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); will-change: transform; touch-action: none; cursor: grab; }
.app .card:active { cursor: grabbing; }
.app .card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.app .card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(10, 5, 20, .78)); color: #fff; }
.app .card .meta b { font-size: 21px; font-weight: 900; }
.app .card .meta b span { font-family: var(--f-en); font-weight: 600; font-size: 18px; margin-left: 6px; }
.app .card .meta p { margin: 2px 0 0; font-size: 12px; opacity: .9; }
.app .card .fit { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .92); color: #e6336f; font-weight: 900; font-size: 12px; padding: 4px 10px; border-radius: 999px; display: flex; gap: 4px; align-items: center; }
html:is([data-stage="3"], [data-stage="4"]) .app .card .fit { background: rgba(20, 15, 10, .85); color: #ffb547; }
.app .card .stamp { position: absolute; top: 34px; padding: 4px 12px; border: 3px solid; border-radius: 10px; font-family: var(--f-en); font-weight: 800; font-size: 24px; letter-spacing: .08em; opacity: 0; transform: rotate(-14deg); }
.app .card .stamp.like { left: 18px; color: #2fd27a; }
.app .card .stamp.nope { right: 18px; color: #ff4d6d; transform: rotate(14deg); }
.app .acts { position: absolute; left: 0; right: 0; bottom: 74px; display: flex; justify-content: center; align-items: center; gap: 18px; }
.app .acts button { width: 58px; height: 58px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 10px 24px -10px rgba(40, 10, 60, .45); display: grid; place-items: center; cursor: pointer; font-size: 26px; }
html:is([data-stage="3"], [data-stage="4"]) .app .acts button { background: #221d2b; }
.app .acts .no { color: #ff5a7a; font-size: 24px; font-weight: 800; font-family: var(--f-en); }
.app .acts .yes { width: 68px; height: 68px; background: var(--grad); color: #fff; font-size: 30px; }
html:is([data-stage="3"], [data-stage="4"]) .app .acts .yes { background: var(--grad); color: #1a1205; }
.app .acts .star { color: #8a5cf6; font-size: 22px; }
.app .tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid rgba(0, 0, 0, .06); font-size: 10px; color: #9b93ad; font-weight: 700; }
.app .tabs span { display: grid; justify-items: center; gap: 2px; }
.app .tabs i { width: 22px; height: 22px; border-radius: 7px; background: currentColor; opacity: .35; display: block; }
.app .tabs .on { color: var(--accent); }
.app .tabs .on i { opacity: 1; background: var(--grad); }
.app .toast { position: absolute; left: 16px; right: 16px; top: 98px; z-index: 5; background: rgba(28, 21, 48, .92); color: #fff; border-radius: 16px; padding: 10px 14px; font-weight: 700; font-size: 13px; text-align: center; opacity: 0; transform: translateY(-8px); transition: .25s; pointer-events: none; }
.app .toast.on { opacity: 1; transform: none; }
html:is([data-stage="3"], [data-stage="4"]) .app .toast { background: rgba(255, 173, 59, .95); color: #1a1205; }

/* sections */
main > section { padding: 96px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head .kicker { font-family: var(--f-en); font-weight: 800; letter-spacing: .14em; font-size: 13px; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.35; margin: 8px 0 12px; font-weight: 900; }
.sec-head p { margin: 0; color: var(--muted); }
.tint { background: var(--bg2); }
.tint2 { background: var(--bg3); }

.stats { margin-top: -36px; position: relative; z-index: 2; }
.stats .row { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 26px 10px; }
.stats .row > div { text-align: center; border-right: 1px solid var(--line); padding: 0 10px; }
.stats .row > div:last-child { border: 0; }
.stats b { display: block; font-family: var(--f-en); font-weight: 800; font-size: clamp(24px, 3vw, 36px); line-height: 1.2; }
.stats small { color: var(--muted); font-size: 13px; font-weight: 700; }
.stats .fine { text-align: right; font-size: 11px; color: var(--muted); margin: 8px 6px 0; }

.news { padding: 72px 0 24px; }
.news-box { display: grid; grid-template-columns: 200px 1fr; gap: 24px; background: var(--card); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); padding: 28px 32px; }
.news-box h2 { margin: 0; font-size: 22px; font-weight: 900; }
.news-box h2 small { display: block; font-family: var(--f-en); color: var(--accent); font-size: 12px; letter-spacing: .14em; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { display: grid; grid-template-columns: 104px 92px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; align-items: baseline; }
.news-list li:last-child { border: 0; }
.news-list time { font-family: var(--f-en); color: var(--muted); font-weight: 600; font-size: 14px; }
.tag { display: inline-block; text-align: center; font-size: 11px; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--accent); }
.tag.blue { background: #ebf2ff; color: #3a6ff0; }
html:is([data-stage="3"], [data-stage="4"]) .tag.blue { background: #1f2533; color: #9bb4e8; }
.news-list a { color: var(--ink); text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 4px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat { background: var(--card); border-radius: var(--r); padding: 30px 28px 32px; box-shadow: var(--shadow-s), inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.feat .num { font-family: var(--f-en); font-weight: 800; font-size: 13px; color: var(--accent); letter-spacing: .12em; }
.feat h3 { font-size: 22px; margin: 6px 0 10px; line-height: 1.45; font-weight: 900; }
.feat p { margin: 0; color: var(--ink2); font-size: 15px; }
.feat .mock { height: 170px; border-radius: 20px; background: var(--grad-soft); margin-bottom: 22px; position: relative; overflow: hidden; display: grid; place-items: center; }
.mock-radar svg { width: 150px; height: 150px; }
.mock-swipe .mc { position: absolute; width: 96px; height: 128px; border-radius: 16px; background-size: cover; background-position: center; box-shadow: var(--shadow-s); }
.mock-swipe .mc:nth-child(1) { transform: translateX(-50px) rotate(-10deg); }
.mock-swipe .mc:nth-child(2) { transform: translateX(50px) rotate(9deg); }
.mock-swipe .mc:nth-child(3) { z-index: 2; }
.mock-safe .shield { width: 92px; height: 104px; background: var(--grad); clip-path: path("M46 0 L92 16 L92 52 C92 80 70 98 46 104 C22 98 0 80 0 52 L0 16 Z"); display: grid; place-items: center; color: #fff; font-size: 40px; font-weight: 900; }
.mock-safe .badges { position: absolute; bottom: 14px; display: flex; gap: 6px; }
.mock-safe .badges span { background: var(--card); font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; box-shadow: var(--shadow-s); }

.cta-band { border-radius: 40px; background: var(--grad); color: #fff; padding: 56px 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
html:is([data-stage="3"], [data-stage="4"]) .cta-band { color: #1a1205; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.35; margin: 0 0 10px; font-weight: 900; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band .btn { background: #fff; color: #e6336f; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .4); }
html:is([data-stage="3"], [data-stage="4"]) .cta-band .btn { background: #1a1205; color: #ffb547; }
.cta-band .qs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cta-band .qs span { background: rgba(255, 255, 255, .2); padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: st; }
.step { background: var(--card); border-radius: var(--r); padding: 28px; box-shadow: inset 0 0 0 1px var(--line); }
.step::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 15px; background: var(--grad); color: #fff; font-family: var(--f-en); font-weight: 800; font-size: 20px; margin-bottom: 14px; }
html:is([data-stage="3"], [data-stage="4"]) .step::before { color: #1a1205; }
.step h3 { margin: 0 0 6px; font-size: 19px; font-weight: 900; }
.step p { margin: 0; color: var(--ink2); font-size: 15px; }

/* couples */
.couples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.couple { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-s), inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.couple .ph { aspect-ratio: 3 / 2; position: relative; overflow: hidden; }
.couple .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.couple:hover .ph img { transform: scale(1.03); }
.couple .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.couple .who { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.couple .who .hx { color: var(--accent); }
.couple blockquote { margin: 0; font-size: 15px; color: var(--ink2); }
.couple .foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.couple .foot span { background: var(--bg2); padding: 3px 10px; border-radius: 999px; font-weight: 700; color: var(--muted); }
.stamp-picked { position: absolute; right: 14px; top: 14px; transform: rotate(8deg); border: 3px solid #ff9a2e; color: #ff9a2e; font-weight: 900; padding: 2px 12px; border-radius: 10px; background: rgba(15, 13, 22, .55); font-size: 15px; letter-spacing: .1em; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: var(--card); border-radius: var(--r); padding: 30px 28px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; position: relative; }
.plan.best { box-shadow: 0 0 0 3px var(--accent), var(--shadow); }
.plan .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 16px; border-radius: 999px; white-space: nowrap; }
html:is([data-stage="3"], [data-stage="4"]) .plan .ribbon { color: #1a1205; }
.plan h3 { margin: 0; font-size: 20px; font-weight: 900; }
.plan .price { font-family: var(--f-en); font-weight: 800; font-size: 42px; line-height: 1.1; margin: 14px 0 2px; }
.plan .price small { font-family: var(--f-ja); font-size: 14px; font-weight: 700; color: var(--muted); }
.plan .sub { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: 15px; }
.plan li { display: flex; gap: 8px; align-items: baseline; }
.plan li .hx { color: var(--accent); font-size: 14px; }
.plan li.off { color: var(--muted); text-decoration: line-through; }
.plan .btn { margin-top: auto; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 32px; background: var(--card); border-radius: var(--r-s); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.price-table th, .price-table td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--bg2); font-size: 13px; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td.en { font-weight: 700; }
.fineprint { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

/* safety */
.safety { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.safe { display: grid; grid-template-columns: 56px 1fr; gap: 18px; background: var(--card); border-radius: var(--r-s); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.safe .ic { width: 56px; height: 56px; border-radius: 18px; background: var(--soft); color: var(--accent); display: grid; place-items: center; font-size: 24px; font-weight: 900; font-family: var(--f-en); }
.safe h3 { margin: 0 0 4px; font-size: 18px; font-weight: 900; }
.safe p { margin: 0; font-size: 14px; color: var(--ink2); }
.licence { margin-top: 20px; text-align: center; font-size: 13px; color: var(--muted); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: var(--r-s); box-shadow: inset 0 0 0 1px var(--line); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; font-weight: 800; position: relative; display: flex; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--f-en); color: var(--accent); font-weight: 800; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 24px; color: var(--accent); font-family: var(--f-en); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px 28px; color: var(--ink2); font-size: 15px; }

.dl-band { text-align: center; padding: 80px 0 96px; }
.dl-band h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.3; margin: 0 0 12px; font-weight: 900; }
.dl-band p { color: var(--muted); margin: 0 0 28px; }
.dl-band .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* footer */
.site-footer { background: var(--bg2); padding: 56px 0 28px; font-size: 14px; color: var(--ink2); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { margin: 0 0 10px; font-size: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.site-footer .legal button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 16px; cursor: pointer; font-size: 12px; font-weight: 700; }
.wlt { color: var(--accent); font-weight: 700; }

/* modal (pre-registration) */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(20, 10, 30, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-box { width: min(480px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--card); border-radius: 32px; padding: 32px 30px 28px; box-shadow: var(--shadow); position: relative; }
.modal-box h2 { margin: 0 0 6px; font-size: 24px; font-weight: 900; }
.modal-box .x { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 14px; border: 0; background: var(--soft); color: var(--accent); font-size: 20px; cursor: pointer; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { font-weight: 800; font-size: 14px; }
.field input, .field select { height: 52px; border-radius: 16px; border: 2px solid var(--line); background: var(--bg); padding: 0 16px; font-size: 16px; outline: none; transition: border-color .2s; }
.field input:focus, .field select:focus { border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 3px; flex: none; }
.err { color: var(--danger); font-weight: 700; font-size: 14px; min-height: 1.4em; margin: 10px 0 0; }
.ok-box { text-align: center; padding: 10px 0; }
.ok-box .big { font-size: 54px; color: var(--accent); line-height: 1; }

/* page head (sub pages) */
.page-head { background: var(--grad-soft); padding: 56px 0 48px; text-align: center; }
.page-head .kicker { font-family: var(--f-en); font-weight: 800; letter-spacing: .14em; font-size: 13px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 48px); margin: 6px 0 10px; font-weight: 900; line-height: 1.3; }
.page-head p { margin: 0 auto; color: var(--ink2); max-width: 38em; }

/* alteration overlay */
.alter { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; cursor: pointer; background: #000; }
.alter canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.alter .msg { position: relative; text-align: center; color: #fff; font-size: clamp(22px, 4vw, 40px); font-weight: 900; letter-spacing: .12em; text-shadow: 3px 0 #ff2a6a, -3px 0 #ffb547; animation: jit .18s steps(2) infinite; padding: 0 16px; }
.alter .msg small { display: block; margin-top: 18px; font-size: 13px; letter-spacing: .3em; text-shadow: none; color: #bbb; animation: none; font-family: var(--f-en); }
@keyframes jit { 50% { transform: translate(2px, -1px); } }
html.glitching body { animation: gl .45s steps(3); }
@keyframes gl { 0% { filter: hue-rotate(0) contrast(1); transform: translateX(0); } 33% { filter: hue-rotate(90deg) contrast(1.6); transform: translateX(-6px); } 66% { filter: invert(.1) contrast(1.3); transform: translateX(5px); } 100% { filter: none; transform: none; } }
@media (prefers-reduced-motion: reduce) { .alter .msg, .chip, html.glitching body { animation: none; } }

/* responsive */
@media (max-width: 1000px) {
  .nav { position: absolute; left: 0; right: 0; top: 74px; flex-direction: column; background: var(--card); padding: 12px 20px 20px; box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .menu-btn { display: block; margin-left: auto; }
  .hdr-cta { display: none; }
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding: 36px 0 56px; }
  .hero-visual { width: min(400px, 100%); }
  .features, .couples, .plans, .steps { grid-template-columns: 1fr; }
  .safety { grid-template-columns: 1fr; }
  .stats .row { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .stats .row > div:nth-child(2) { border: 0; }
  .news-box { grid-template-columns: 1fr; padding: 24px 20px; }
  .news-list li { grid-template-columns: 1fr; gap: 2px; }
  .news-list li .tag { justify-self: start; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 26px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  main > section { padding: 72px 0; }
  .chip.c1 { left: -6px; }
  .chip.c2 { right: -6px; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 34px; }
  .price-table { font-size: 13px; }
  .price-table th, .price-table td { padding: 10px 6px; }
  .modal-box { padding: 28px 20px 22px; }
  .logo { font-size: 23px; }
}
.app .glare { position: absolute; inset: 0; z-index: 9; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 34%, transparent 35%); }
.lb-side h3 .hx { color: var(--accent); }
html:is([data-stage="3"], [data-stage="4"]) .btn.ghost { color: var(--ink); }
