/* efir.zone — design: design/screens/Landing*.dc.html (desktop 1440 / phone 390 anchors), monochrome brand
   (scratchpad BRIEF_MONO: white surfaces, near-black ink, neutral greys, black primary actions; colour only for status).
   Phone layout is the base; ≥ 1024 px switches to the desktop layout (content column 1200, fluid down to 1024). */
@font-face { font-family: Onest; src: url(fonts/onest-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Onest; src: url(fonts/onest-medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Onest; src: url(fonts/onest-semibold.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }
/* metric-compatible fallback so the swap does not shift the layout */
@font-face { font-family: OnestFallback; src: local("Arial"), local("Helvetica Neue"), local("Roboto"); size-adjust: 103%; ascent-override: 96%; descent-override: 25%; line-gap-override: 0%; }

:root {
  --bg: #FFFFFF; --surface: #F4F4F4; --surface2: #ECECEC; --line: #E5E5E5; --line-s: #DCDCDC;
  --ink: #0D0D0D; --t2: #5D5D5D; --t3: #6B6B6B;
  --d-bg: #0D0D0D; --d-ink: #FFFFFF; --d-t2: #C3C3C3; --d-t3: #9F9F9F; --d-line: rgba(255,255,255,.16); --d-frame: #242424;
  --success: #1E7A45; --success-bg: #E7F6EC; --danger: #D92D20; --danger-bg: #FDECEB;
  --badge-font: -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow-phone: 0 0 0 1px rgba(13,13,13,.08), 0 50px 90px -40px rgba(13,13,13,.45);
  --gut: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Onest, OnestFallback, system-ui, sans-serif; font-size: 16px; line-height: 1.4;
  letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; text-align: inherit; letter-spacing: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: #FFFFFF; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; position: relative; }
section[id] { scroll-margin-top: 16px; }

/* ---------- type ---------- */
.h1 { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.045em; }
.h2 { font-size: 32px; line-height: 36px; font-weight: 600; letter-spacing: -0.04em; }
.lead { font-size: 17px; line-height: 25px; color: var(--t2); }

/* ---------- header ---------- */
.top { box-shadow: inset 0 -1px 0 var(--line); }
.top-in { height: 64px; padding: 0 16px 0 20px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; height: 44px; color: var(--ink); flex-shrink: 0; }
.lk-d { display: none; }
.navs, .cta { display: none; }
.langs { margin-left: auto; height: 40px; padding: 3px; border-radius: 20px; background: var(--surface); display: flex; gap: 2px; }
.lg { min-width: 44px; height: 34px; padding: 0 10px; border-radius: 17px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500; color: var(--t3); transition: background-color .16s, color .16s; }
.lg.on { background: #FFFFFF; box-shadow: 0 1px 3px rgba(13,13,13,.14); color: var(--ink); font-weight: 600; }
.lg:not(.on):hover { color: var(--ink); }
.nav { height: 44px; padding: 0 14px; border-radius: 22px; font-size: 15px; font-weight: 500; color: var(--t2); display: inline-flex; align-items: center; transition: background-color .16s, color .16s; }
.nav:hover { background: var(--surface); color: var(--ink); }
.cta { height: 44px; padding: 0 22px; border-radius: 22px; background: var(--ink); color: #FFFFFF; font-size: 15px; font-weight: 600; align-items: center; transition: transform .16s cubic-bezier(.2,.8,.2,1.3), background-color .2s; }
.cta:hover { background: #2A2A2A; }
.cta:active, .btn1:active, .badge:active, .lp-open:active { transform: scale(.97); }

/* ---------- store badges (official artwork look: black, 1px #A6A6A6 rim; never recoloured) ---------- */
.stores { display: flex; gap: 10px; align-items: flex-start; }
.bwrap { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
html.ios .w-as { order: -1; }
.badge { width: 100%; height: 52px; padding: 0 10px; border-radius: 10px; background: #000000; color: #FFFFFF; box-shadow: inset 0 0 0 1px #A6A6A6;
  display: flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--badge-font); letter-spacing: 0; cursor: pointer;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s; }
.badge .g-gp { width: 24px; height: 26px; flex-shrink: 0; }
.badge .g-as { width: 25px; height: 25px; flex-shrink: 0; margin-top: -3px; }
.bt { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; text-align: left; }
.b-gp .bs { font-size: 9.5px; letter-spacing: .06em; font-weight: 500; }
.b-gp .bn { margin-top: 3px; font-size: 19px; letter-spacing: -0.01em; font-weight: 500; }
.b-as .bs { font-size: 10.5px; font-weight: 400; }
.b-as .bn { margin-top: 1px; font-size: 21px; letter-spacing: -0.025em; font-weight: 500; }
.soon-line { display: flex; align-items: center; gap: 7px; font-size: 13px; line-height: 16px; font-weight: 500; color: var(--t2); }
.soon-line .dot { width: 7px; height: 7px; border-radius: 50%; background: #F2A53B; flex-shrink: 0; }
.soon-note { margin-top: 12px; font-size: 13.5px; line-height: 19px; color: var(--t2); }
@media (hover: hover) { .badge:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #FFFFFF, 0 14px 28px -14px rgba(0,0,0,.55); } }

/* ---------- phones: screenshots of the app boards in an ink frame ---------- */
.phone { --sw: 241.8px; --pad: 9px; --r: 41.2px; --ri: 32.2px; --dot: 6.8px; --dt: 17.9px;
  position: relative; flex-shrink: 0; padding: var(--pad); border-radius: var(--r); background: var(--ink); box-shadow: 0 0 0 1px rgba(13,13,13,.08), 0 40px 70px -34px rgba(13,13,13,.45); }
.phone::after { content: ""; position: absolute; top: var(--dt); left: 50%; width: var(--dot); height: var(--dot); margin-left: calc(var(--dot) / -2); border-radius: 50%; background: var(--ink); z-index: 2; }
.screen { position: relative; overflow: hidden; width: var(--sw); aspect-ratio: 390 / 844; border-radius: var(--ri); background: #FFFFFF; }
.screen img { width: 100%; height: 100%; object-fit: cover; }
.ph-city { --sw: 171.6px; --pad: 6px; --r: 28.9px; --ri: 22.9px; --dot: 4.8px; --dt: 12.3px; }
.shot { position: absolute; inset: 0; display: none; }
.shot.on { display: block; animation: fade .35s ease both; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-copy { padding: 36px 20px 0; }
.hero .lead { margin-top: 18px; }
.st-hero { margin-top: 28px; }
.qrcard { display: none; }
.hero-art { position: relative; height: 548px; margin-top: 36px; display: flex; justify-content: center; }
.hero-art .rise { position: relative; z-index: 1; height: max-content; }
.hero-e { position: absolute; width: 600px; height: 600px; left: calc(50% - 129.9px - 167px); top: -92.2px; overflow: visible; }
.hero-e path { fill: none; stroke: var(--ink); stroke-width: 2.9; stroke-linecap: round; stroke-linejoin: round; }
.js .draw { stroke-dasharray: 1 2; stroke-dashoffset: 1; animation: draw 1600ms cubic-bezier(.4,.15,.25,1) 250ms forwards; }
.js .rise { animation: rise 900ms cubic-bezier(.2,.8,.2,1) 700ms both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- city ---------- */
.city { position: relative; z-index: 1; background: var(--surface); }
.city-in { padding: 56px 20px 8px; display: flex; flex-direction: column; }
.city-copy { display: contents; }
.city .h2 { order: 1; }
.city .lead { order: 2; margin-top: 16px; }
.city-art { order: 3; margin: 32px -4px 0; }
.facts { order: 4; margin-top: 28px; display: flex; flex-direction: column; }
.stage { position: relative; height: 420px; }
.stage .pa { position: absolute; left: 4px; top: 40px; }
.stage .pb { position: absolute; right: 4px; top: 0; }
.fact { padding: 16px 0 18px; box-shadow: inset 0 1px 0 var(--line-s); display: flex; flex-direction: column; gap: 5px; }
.ft { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.015em; }
.fd { font-size: 15px; line-height: 22px; color: var(--t2); }

/* ---------- inside ---------- */
.inside-in { padding-top: 64px; }
.inside .h2 { padding: 0 20px; }
.tabs { margin-top: 22px; padding: 0 20px; display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; height: 40px; padding: 0 12px; border-radius: 20px; background: var(--surface); color: var(--ink); font-size: 14.5px; font-weight: 600;
  transition: transform .16s cubic-bezier(.2,.8,.2,1.3), background-color .16s; }
.tab[aria-selected="true"] { background: var(--ink); color: #FFFFFF; }
.tab .tg, .tab .td { display: none; }
.panel { padding: 20px 20px 0; min-height: 118px; }
.ptag { font-size: 14px; color: var(--t3); }
.pdesc { margin-top: 6px; font-size: 16.5px; line-height: 24px; color: var(--t2); }
.inside-art { margin-top: 20px; display: flex; justify-content: center; }

/* ---------- privacy (dark band) ---------- */
.dark { background: var(--d-bg); color: var(--d-ink); }
.privacy { margin-top: 64px; overflow: hidden; }
.priv-in { padding: 56px 20px 0; display: flex; flex-direction: column; }
.priv-art { order: 2; margin-top: 40px; display: flex; justify-content: center; }
.priv-art .crop { height: 360px; overflow: hidden; }
.privacy .phone { background: var(--d-frame); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 70px -36px rgba(0,0,0,.8); }
.privacy .phone::after { background: var(--d-frame); }
.privacy .lead { margin-top: 16px; color: var(--d-t2); }
.steps { margin-top: 28px; padding: 0; list-style: none; display: flex; flex-direction: column; }
.steps li { padding: 14px 0; box-shadow: inset 0 1px 0 var(--d-line); display: flex; gap: 14px; }
.sn { width: 22px; flex-shrink: 0; font-size: 14px; line-height: 22px; font-weight: 600; color: var(--d-ink); font-variant-numeric: tabular-nums; }
.sx { display: flex; flex-direction: column; gap: 3px; }
.st { font-size: 17px; line-height: 22px; font-weight: 600; }
.sd { font-size: 14.5px; line-height: 21px; color: var(--d-t2); }
.sms { margin-top: 4px; padding-top: 14px; box-shadow: inset 0 1px 0 var(--d-line); font-size: 14px; line-height: 20px; color: var(--d-t3); }
.promises { margin-top: 28px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.promises li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 22px; }
.promises .ic { flex-shrink: 0; color: var(--d-ink); }

/* ---------- premium ---------- */
.prem-in { padding: 64px 20px 0; }
.prem-art { position: relative; height: 188px; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #F7C58A 0%, #F4A86A 58%, #E98E57 100%); }
.prem-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.prem-art .sun { position: absolute; right: 44px; top: 28px; width: 60px; height: 60px; border-radius: 50%; background: #FFE8C2; }
.prem-art .dl { position: absolute; z-index: 1; left: 36px; top: 40px; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #FFFFFF;
  box-shadow: 0 12px 24px -10px rgba(13,13,13,.45); display: flex; align-items: center; justify-content: center; }
.prem-art .dl .ic { width: 30px; height: 30px; }
.premium .h2 { margin-top: 32px; }
.premium .lead { margin-top: 14px; }
.plans { margin-top: 24px; display: flex; gap: 10px; }
.plan { flex: 1 1 0; min-width: 0; padding: 16px 16px 15px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 4px; }
.pt { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--t2); }
.pill { height: 22px; padding: 0 8px; border-radius: 11px; background: var(--success-bg); color: var(--success); font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; }
.pp { font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pd { font-size: 13.5px; color: var(--t3); }
.pnote { margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--t3); }

/* ---------- faq ---------- */
.faq-in { padding: 72px 20px 0; display: grid; grid-template-areas: "h" "list" "ask"; }
.faq .h2 { grid-area: h; }
.qas { grid-area: list; margin-top: 20px; box-shadow: inset 0 1px 0 var(--line); }
.qa { box-shadow: inset 0 -1px 0 var(--line); }
.qa summary { list-style: none; min-height: 64px; padding: 12px 0; display: flex; align-items: center; gap: 14px; cursor: pointer; border-radius: 0; transition: background-color .16s; }
.qa summary::-webkit-details-marker { display: none; }
.qq { flex-grow: 1; font-size: 17px; line-height: 23px; font-weight: 600; letter-spacing: -0.015em; }
.qi { flex-shrink: 0; transition: transform .2s; }
.qa[open] .qi { transform: rotate(45deg); }
.qx { margin-top: -4px; padding: 0 36px 20px 0; font-size: 15.5px; line-height: 23px; color: var(--t2); }
.qa[open] .qx { animation: fade .35s ease both; }
.ask { grid-area: ask; margin-top: 20px; font-size: 15.5px; line-height: 23px; color: var(--t2); }
.ask a, .lnk { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- download ---------- */
.get { margin-top: 72px; background: var(--surface); }
.get-in { padding: 56px 20px 60px; }
.get-e { width: 56px; height: 56px; color: var(--ink); }
.get-e path { stroke-width: 5.4; }
.h2-get { margin-top: 16px; font-size: 36px; line-height: 40px; letter-spacing: -0.045em; }
.get .lead { margin-top: 10px; }
.st-end { margin-top: 24px; }
.endqr { display: none; }

/* ---------- footer ---------- */
.foot-in { padding: 32px 20px 40px; display: flex; flex-direction: column; }
.f-brand { display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.f-brand .copy, .f-sp, .f-lang { display: none; }
.f-col { display: flex; flex-direction: column; }
.f-col.f-lang { display: none; }
.f-col + .f-col, nav.f-col { margin-top: 16px; }
nav.f-col { margin-top: 24px; }
.f-h { font-size: 13.5px; font-weight: 600; color: var(--t3); }
.f-col a { min-height: 40px; display: flex; align-items: center; font-size: 15px; color: var(--t2); }
.f-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.copy-m { margin-top: 20px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--line); font-size: 13.5px; color: var(--t3); }
.f-langs { display: flex; gap: 16px; }
.fl { font-size: 15px; color: var(--t3); padding-bottom: 2px; }
.fl.on { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 30; width: max-content; max-width: min(560px, calc(100% - 32px)); padding: 14px 20px; border-radius: 18px;
  background: var(--ink); color: #FFFFFF; font-size: 15px; line-height: 21px; font-weight: 500; transform: translateX(-50%); animation: toast .3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- wider phones / tablets (600–1023): phone layout in a centred column ---------- */
@media (min-width: 600px) and (max-width: 1023.98px) {
  .hero-copy, .city-in, .inside-in, .priv-in, .prem-in, .faq-in, .get-in, .foot-in { max-width: 680px; margin-left: auto; margin-right: auto; }
  .stores { max-width: 400px; }
  .h1 { font-size: 52px; line-height: 56px; }
  .h2 { font-size: 40px; line-height: 44px; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .stage { max-width: 420px; margin: 0 auto; }
  .prem-art { height: 260px; }
}

/* =================================== desktop ≥ 1024 =================================== */
@media (min-width: 1024px) {
  .wrap { width: calc(100% - 80px); }
  .h1 { font-size: min(66px, 5.32vw); line-height: 1.06; }
  .h2 { font-size: 52px; line-height: 56px; }
  .lead { font-size: 19px; line-height: 29px; }

  .top-in { height: 88px; padding: 0; }
  .lk-d { display: block; } .lk-m { display: none; }
  .navs { display: flex; flex-grow: 1; justify-content: center; gap: 4px; }
  .langs { margin-left: 0; }
  .lg { height: auto; }
  .cta { display: inline-flex; }

  .stores { display: inline-flex; gap: 12px; }
  .bwrap { flex: none; align-items: flex-start; }
  html.ios .w-as { order: 0; }
  .badge { width: auto; height: 56px; padding: 0 20px 0 14px; border-radius: 11px; gap: 11px; }
  .badge .g-gp { width: 26px; height: 28px; }
  .badge .g-as { width: 27px; height: 27px; }
  .b-gp .bs { font-size: 10.5px; }
  .b-gp .bn { font-size: 21px; }
  .b-as .bs { font-size: 11.5px; }
  .b-as .bn { font-size: 23px; }
  .soon-line { font-size: 13.5px; }
  .soon-note { margin-top: 16px; max-width: 470px; font-size: 15px; line-height: 22px; }

  .phone { --sw: 312px; --pad: 11px; --r: 52px; --ri: 41px; --dot: 9px; --dt: 19px; box-shadow: var(--shadow-phone); }
  .ph-city { --sw: 273px; --pad: 10px; --r: 46px; --ri: 36px; }

  /* hero: copy at 128, phone at x 760 / y 72 of the 1200 column, the «e» behind it */
  .hero { height: 820px; }
  .hero-in { height: 820px; }
  .hero-copy { position: absolute; left: 0; top: 128px; width: 660px; padding: 0; z-index: 2; }
  .hero .lead { margin-top: 28px; max-width: 500px; }
  .st-hero { margin-top: 40px; }
  .qrcard { display: block; margin-top: 28px; width: 440px; padding: 14px 22px 14px 14px; border-radius: 24px; background: var(--surface); transition: background-color .2s, box-shadow .2s; }
  .qv { display: none; align-items: center; gap: 18px; }
  .qv.q-app { display: flex; }
  .hero:has(.w-gp .badge:hover) .q-gp, .hero:has(.w-as .badge:hover) .q-as { display: flex; }
  .hero:has(.w-gp a.badge:hover) .q-app, .hero:has(.w-as a.badge:hover) .q-app { display: none; }
  .hero:has(a.badge:hover) .qrcard { background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--ink), 0 18px 40px -24px rgba(13,13,13,.35); }
  .qbox { width: 104px; height: 104px; flex-shrink: 0; border-radius: 16px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
  .qt { display: flex; flex-direction: column; gap: 4px; }
  .q1 { font-size: 16.5px; font-weight: 600; }
  .q2 { font-size: 14.5px; line-height: 20px; color: var(--t2); }
  .q3 { margin-top: 2px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
  .hero-art { position: absolute; margin: 0; top: 72px; right: max(0px, calc(100% - 1094px)); height: auto; display: block; }
  .hero-e { left: -317.5px; top: -73.75px; width: 744px; height: 744px; }
  .hero-e path { stroke-width: 2.5; }
  .js .rise { animation-delay: 900ms; }

  /* city: 610 × 700 stage (two .7 phones) | copy */
  .city-in { height: 860px; padding: 0; flex-direction: row; align-items: center; gap: 80px; }
  .city-art { order: 0; margin: 0; width: calc(610px * var(--k, 1)); height: calc(700px * var(--k, 1)); flex-shrink: 0; position: relative; }
  .stage { position: absolute; left: 0; top: 0; width: 610px; height: 700px; transform: scale(var(--k, 1)); transform-origin: 0 0; }
  .stage .pa { left: 0; top: 76px; }
  .stage .pb { left: 315px; right: auto; top: 16px; }
  .city-copy { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
  .city .lead { margin-top: 22px; }
  .facts { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 32px; }
  .fact { padding: 18px 0 0; gap: 6px; }
  .ft { line-height: normal; }

  /* inside: vertical tabs | one phone */
  .inside-in { height: 860px; padding: 0; display: flex; align-items: center; gap: 120px; }
  .inside-copy { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
  .inside .h2 { padding: 0; }
  .tabs { margin-top: 40px; padding: 0; flex-direction: column; gap: 0; overflow: visible; }
  .tab { position: relative; height: auto; padding: 20px 24px 20px 28px; border-radius: 0 18px 18px 0; background: transparent; color: inherit; font-size: inherit; font-weight: inherit;
    display: flex; flex-direction: column; gap: 8px; text-align: left; transition: background-color .2s; }
  .tab::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: transparent; }
  .tab[aria-selected="true"] { background: var(--surface); color: inherit; }
  .tab[aria-selected="true"]::before { background: var(--ink); }
  .tab:not([aria-selected="true"]):hover { background: #F9F9F9; }
  .tt { display: flex; align-items: baseline; gap: 14px; }
  .tn { font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -0.03em; color: var(--t2); }
  .tab[aria-selected="true"] .tn { color: var(--ink); }
  .tab .tg { display: inline; font-size: 14px; color: var(--t3); }
  .tab[aria-selected="true"] .td { display: block; max-width: 520px; font-size: 16.5px; line-height: 25px; color: var(--t2); animation: fade .35s ease both; }
  .panel { display: none; }
  .inside-art { margin: 0; width: 440px; flex-shrink: 0; }

  /* privacy: phone | copy */
  .privacy { margin-top: 0; overflow: visible; }
  .priv-in { height: 840px; padding: 0; flex-direction: row; align-items: center; gap: 104px; }
  .priv-art { order: 0; margin: 0; width: 440px; flex-shrink: 0; }
  .priv-art .crop { height: auto; overflow: visible; }
  .priv-copy { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
  .privacy .lead { margin-top: 22px; }
  .steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .steps li { padding: 18px 0 0; flex-direction: column; gap: 6px; }
  .sn { width: auto; line-height: normal; }
  .sx { gap: 6px; }
  .st { line-height: normal; }
  .sms { margin-top: 20px; padding-top: 0; box-shadow: none; line-height: normal; }
  .promises { margin-top: 44px; padding-top: 26px; box-shadow: inset 0 1px 0 var(--d-line); gap: 14px; }
  .promises li { align-items: center; font-size: 17px; line-height: normal; }

  /* premium */
  .prem-in { padding: 128px 0 0; display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: 80px; align-items: center; }
  .prem-art { height: 300px; border-radius: 32px; }
  .prem-art .sun { right: 70px; top: 46px; width: 92px; height: 92px; }
  .prem-art .dl { left: 64px; top: 70px; width: 88px; height: 88px; box-shadow: 0 16px 30px -12px rgba(13,13,13,.45); }
  .prem-art .dl .ic { width: 40px; height: 40px; }
  .prem-copy { display: flex; flex-direction: column; min-width: 0; }
  .premium .h2 { margin-top: 0; }
  .premium .lead { margin-top: 20px; max-width: 600px; }
  .plans { margin-top: 32px; gap: 12px; }
  .plan { flex: 0 1 220px; padding: 18px 20px; }
  .pp { font-size: 30px; line-height: 36px; }
  .pd { font-size: 14px; }
  .pnote { margin-top: 18px; font-size: 14.5px; line-height: normal; }

  /* faq */
  .faq-in { padding: 160px 0 0; grid-template-columns: 400px 1fr; grid-template-rows: auto 1fr; grid-template-areas: "h list" "ask list"; column-gap: 80px; align-items: start; }
  .qas { margin-top: 0; }
  .qa summary { min-height: 72px; padding: 0 8px; gap: 16px; }
  .qa summary:hover { background: #F9F9F9; }
  .qq { font-size: 19px; line-height: 24px; letter-spacing: -0.02em; }
  .qx { margin-top: -6px; padding: 0 64px 26px 8px; font-size: 16.5px; line-height: 25px; }
  .ask { margin-top: 18px; font-size: 16.5px; line-height: 25px; }
  .ask a { display: block; }

  /* download */
  .get { margin-top: 160px; }
  .get-in { height: 520px; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
  .get-copy { display: flex; flex-direction: column; align-items: flex-start; }
  .get-e { width: 72px; height: 72px; margin-left: -6px; }
  .get-e path { stroke-width: 5.8; }
  .h2-get { margin-top: 22px; font-size: 64px; line-height: 66px; letter-spacing: -0.04em; }
  .get .lead { margin-top: 16px; }
  .st-end { margin-top: 36px; }
  .endqr { display: flex; width: 300px; flex-shrink: 0; padding: 28px; border-radius: 32px; background: #FFFFFF; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .eq { display: flex; flex-direction: column; gap: 4px; }

  /* footer */
  .foot-in { height: 200px; padding: 56px 0 0; flex-direction: row; align-items: flex-start; gap: 64px; }
  .f-brand .copy { display: block; font-size: 14px; color: var(--t3); }
  .f-sp { display: block; flex-grow: 1; }
  .f-col.f-lang { display: flex; }
  .f-col, nav.f-col, .f-col + .f-col { margin-top: 0; gap: 10px; }
  .f-col a { min-height: 0; color: var(--ink); }
  .f-col .fl { color: var(--t3); }
  .f-col .fl.on { color: var(--ink); }
  .copy-m { display: none; }
  .toast { bottom: 32px; padding: 15px 22px; }
}
/* 1024–1239: same layout, art blocks scaled down to fit the narrower column */
@media (min-width: 1024px) and (max-width: 1239.98px) {
  .city-art { --k: .78; }
  .city-in { gap: 56px; }
  .inside-in { gap: 64px; }
  .inside-art { width: 360px; }
  .priv-in { gap: 64px; }
  .priv-art { width: 360px; }
  .qrcard { width: 420px; }
}
@media (min-width: 1024px) and (max-width: 1119.98px) {
  .hero-copy { width: 560px; }
  .qrcard { width: 400px; }
  .prem-in { gap: 48px; }
}

/* =================================== legal =================================== */
.legal-in { padding: 24px 20px 0; display: flex; flex-direction: column; }
.l-side { display: flex; flex-direction: column; gap: 20px; }
.dtabs { padding: 4px; border-radius: 22px; background: var(--surface); display: flex; gap: 2px; }
.dtab { flex: 1 1 0; height: 44px; padding: 0 16px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; color: var(--t2);
  transition: background-color .16s; }
.dtab.on { background: #FFFFFF; box-shadow: 0 1px 3px rgba(13,13,13,.12); color: var(--ink); }
.l-h { font-size: 13.5px; font-weight: 600; color: var(--t3); }
.l-toc { display: none; }
.l-toc ol { margin-top: 6px; padding: 0; list-style: none; }
.toc { min-height: 40px; padding: 8px 12px; border-radius: 12px; display: flex; gap: 12px; align-items: baseline; transition: background-color .16s; }
.toc:hover { background: var(--surface); }
.toc .tn { width: 18px; flex-shrink: 0; font-size: 13.5px; font-weight: 600; color: var(--t3); font-variant-numeric: tabular-nums; letter-spacing: 0; line-height: inherit; }
.toc .tx { font-size: 15px; line-height: 20px; color: var(--t2); }
.toc.cur { background: var(--surface); }
.toc.cur .tn { color: var(--ink); }
.toc.cur .tx { color: var(--ink); font-weight: 600; }
.doc { margin-top: 28px; max-width: 720px; display: flex; flex-direction: column; }
.doc h1 { font-size: 34px; line-height: 40px; font-weight: 600; letter-spacing: -0.04em; }
.meta { margin-top: 14px; font-size: 15.5px; line-height: 23px; color: var(--t2); }
.short { margin-top: 28px; padding: 20px 20px; border-radius: 24px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.short ul { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.short li { display: flex; gap: 12px; font-size: 16px; line-height: 24px; }
.short .ic { flex-shrink: 0; margin-top: 1px; color: var(--success); }
.sec { margin: 22px -20px 0; padding: 16px 20px; border-radius: 20px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 24px; transition: background-color .4s, box-shadow .4s; }
.sec:target { background: #F8F8F8; box-shadow: inset 3px 0 0 var(--ink); }
.sec h2 { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.025em; }
.sec p, .sec ul { font-size: 16.5px; line-height: 26px; color: #1F1F1F; }
.sec ul { padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 6px; }
.askbox { margin-top: 40px; padding: 20px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ak { display: flex; flex-direction: column; gap: 4px; }
.ah { font-size: 18px; font-weight: 600; }
.ap { font-size: 15px; line-height: 22px; color: var(--t2); }
.btn2 { height: 48px; padding: 0 22px; border-radius: 24px; background: var(--surface); font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; flex-shrink: 0; transition: background-color .16s; }
.btn2:hover { background: var(--surface2); }
.ver { margin-top: 18px; font-size: 13.5px; line-height: 19px; color: var(--t3); }
.legal + .foot { margin-top: 64px; box-shadow: inset 0 1px 0 var(--line); }
@media (min-width: 1024px) {
  .legal-in { padding: 56px 0 0; display: grid; grid-template-columns: 300px minmax(0, 720px); gap: 96px; align-items: start; }
  .l-side { position: sticky; top: 32px; gap: 24px; }
  .dtabs { flex-direction: column; }
  .dtab { flex: none; justify-content: flex-start; }
  .l-toc { display: flex; flex-direction: column; }
  .l-toc .l-h { margin: 0 0 0 12px; }
  .doc { margin-top: 0; }
  .doc h1 { font-size: 48px; line-height: 54px; }
  .short { margin-top: 32px; padding: 24px 28px; }
  .short li { font-size: 17px; line-height: 25px; }
  .short .ic { margin-top: 2px; }
  .sec h2 { font-size: 24px; line-height: 30px; }
  .sec p, .sec ul { font-size: 17px; line-height: 27px; }
  .sec ul { line-height: 26px; }
  .askbox { margin-top: 48px; padding: 24px 28px; flex-direction: row; align-items: center; gap: 24px; }
  .ak { flex-grow: 1; }
  .legal + .foot { margin-top: 120px; }
}

/* =================================== link fallback (/u, /join) and 404 =================================== */
body.lp { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.lp-top { height: 56px; flex-shrink: 0; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.lp-what { height: 44px; display: flex; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--t2); }
.lp-what:hover { color: var(--ink); }
.lp-main { flex-grow: 1; display: flex; flex-direction: column; }
.lp-card { flex-grow: 1; display: flex; flex-direction: column; }
.lp-who { flex-grow: 1; padding: 28px 20px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-ava { position: relative; flex-shrink: 0; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: #FCE6F2; color: #8A1F5A;
  display: none; align-items: center; justify-content: center; font-size: 42px; font-weight: 600; }
.lp-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-gava { background: linear-gradient(180deg, #8FD1EE, #FFE7BE); }
.lp-gava .s1 { position: absolute; right: 20%; top: 18%; width: 24%; height: 24%; border-radius: 50%; background: #FFD27A; }
.lp-gava .s2 { position: absolute; left: -30%; right: 10%; bottom: -40%; height: 70%; border-radius: 50%; background: #8DC7A0; }
.lp-gava .s3 { position: absolute; left: 20%; right: -30%; bottom: -48%; height: 70%; border-radius: 50%; background: #6EB088; }
.lp-bad { display: none; width: 96px; height: 96px; border-radius: 50%; background: var(--danger-bg); align-items: center; justify-content: center; margin-top: 28px; }
.lp-bad > span { width: 62px; height: 62px; border-radius: 50%; background: var(--danger); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
[data-kind="profile"] .lp-ava:not(.lp-gava), [data-kind="loading"] .lp-ava:not(.lp-gava), [data-kind="group"] .lp-gava, [data-kind="channel"] .lp-gava { display: flex; }
[data-kind="expired"] .lp-bad, [data-kind="nouser"] .lp-bad { display: flex; }
.lp-name { margin-top: 16px; min-height: 32px; font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.lp-sub { margin-top: 2px; min-height: 21px; font-size: 15px; color: var(--t3); }
.lp-err { display: none; margin-top: 10px; max-width: 320px; font-size: 15.5px; line-height: 22px; color: var(--t2); }
[data-kind="expired"] .lp-name, [data-kind="nouser"] .lp-name { margin-top: 20px; font-size: 24px; line-height: 30px; letter-spacing: -0.025em; }
[data-kind="expired"] .lp-sub, [data-kind="nouser"] .lp-sub { display: none; }
[data-kind="expired"] .lp-err, [data-kind="nouser"] .lp-err { display: block; }
.lp-lock { display: none; margin-top: 16px; align-items: center; gap: 6px; font-size: 13.5px; color: var(--t3); }
[data-kind="group"] .lp-lock { display: flex; }
.lp-act { flex-shrink: 0; margin: 0 20px; padding: 22px 0 28px; border-top: 1px solid var(--line); }
.lp-h { font-size: 19px; line-height: 25px; font-weight: 600; letter-spacing: -0.025em; }
.lp-t { margin-top: 6px; font-size: 15px; line-height: 21px; color: var(--t2); }
.lp-qrrow, .lp-or { display: none; }
.st-link { margin-top: 18px; }
.lp-open { margin-top: 10px; height: 48px; border-radius: 24px; background: var(--surface); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 15.5px;
  transition: transform .16s cubic-bezier(.2,.8,.2,1.3), background-color .16s; }
.lp-open[hidden] { display: none; }
.lp-open:hover { background: var(--surface2); }
.lp-open .o1 { color: var(--t2); }
.lp-open .o2 { font-weight: 600; }
.lp-note { margin-top: 12px; text-align: center; font-size: 13.5px; line-height: 18px; color: var(--t3); overflow-wrap: anywhere; }
.lp-note .n-d, .lp-url { display: none; }
[data-kind="loading"] .lp-act { visibility: hidden; }
.nf-main { flex-grow: 1; display: flex; flex-direction: column; }
.nf-top { flex-grow: 1; padding: 64px 28px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.nf-k { margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--t3); }
.nf-top h1 { margin-top: 6px; font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -0.03em; }
.nf-top p { margin-top: 10px; max-width: 320px; font-size: 15.5px; line-height: 22px; color: var(--t2); }
.nf-bot { flex-shrink: 0; padding: 0 20px 28px; }
.btn1 { height: 56px; border-radius: 28px; background: var(--ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600;
  transition: transform .16s cubic-bezier(.2,.8,.2,1.3), background-color .2s; }
.btn1:hover { background: #2A2A2A; }
.nf-get { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.nf-q { font-size: 13.5px; font-weight: 600; color: var(--t3); }
.nf-get .st-link { margin-top: 10px; }
@media (min-width: 600px) {
  .lp-main, .nf-main { width: 100%; max-width: 440px; margin: 0 auto; }
  .lp-top { padding: 0 32px; }
}
/* desktop link card (LandingLinkDesktop): profile | QR + stores */
@media (min-width: 900px) {
  body.lp:not(.nf) { background: var(--surface); }
  .lp-top { height: 80px; padding: 0 48px; }
  .lk-d { display: block; } .lk-m { display: none; }
  .lp-what { font-size: 15px; }
  .lp-main { max-width: none; align-items: center; justify-content: center; padding: 0 24px 40px; }
  .lp-card { flex-grow: 0; width: min(980px, 100%); border-radius: 32px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(13,13,13,.04), 0 24px 60px -32px rgba(13,13,13,.22); flex-direction: row; }
  .lp-who { width: 420px; flex-grow: 0; flex-shrink: 0; padding: 48px 44px 44px; justify-content: center; border-right: 1px solid var(--line); }
  .lp-ava { width: 112px; height: 112px; font-size: 45px; }
  .lp-name { font-size: 28px; line-height: 34px; }
  .lp-sub { font-size: 15.5px; }
  .lp-lock { margin-top: 18px; }
  .lp-act { flex: 1 1 0; min-width: 0; margin: 0; padding: 48px 48px 44px; border-top: 0; display: flex; flex-direction: column; }
  .lp-h { font-size: 26px; line-height: 32px; letter-spacing: -0.03em; }
  .lp-t { margin-top: 8px; font-size: 15.5px; line-height: 22px; }
  .lp-qrrow { margin-top: 28px; display: flex; align-items: center; gap: 24px; }
  [data-kind="expired"] .lp-qrrow, [data-kind="nouser"] .lp-qrrow, [data-kind="expired"] .lp-or, [data-kind="nouser"] .lp-or { display: none; }
  .lp-qr { position: relative; flex-shrink: 0; padding: 12px; border-radius: 20px; border: 1px solid var(--line); background: #FFFFFF; }
  .lp-qrsvg { display: block; width: 184px; height: 184px; }
  .lp-qrsvg svg { width: 184px; height: 184px; }
  .lp-qre { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 12px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; color: var(--ink); }
  .lp-qrt { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
  .lp-qrt .q1 { font-size: 16px; line-height: 22px; font-weight: 600; }
  .lp-qrt .q2 { font-size: 14.5px; line-height: 20px; color: var(--t2); }
  .lp-or { display: block; margin-top: 32px; font-size: 13.5px; font-weight: 600; color: var(--t3); }
  .st-link { margin-top: 12px; max-width: 340px; }
  [data-kind="expired"] .st-link, [data-kind="nouser"] .st-link { margin-top: 24px; }
  .lp-open { display: none; }
  .lp-note { text-align: left; }
  .lp-note .n-m { display: none; } .lp-note .n-d { display: inline; }
  .lp-url { display: block; margin-top: 20px; font-size: 13.5px; color: var(--t3); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .draw { stroke-dashoffset: 0; }
}

/* ============================ /delete-account ============================ */
.dpage-in { padding: 24px 20px 0; display: flex; flex-direction: column; gap: 40px; }
.dpage .doc { margin-top: 0; }
.d-steps { padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 6px; font-size: 16.5px; line-height: 26px; color: #1F1F1F; }
.dlink { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; overflow-wrap: anywhere; }
.d-side { min-width: 0; }
.d-jump { margin-top: 16px; align-self: flex-start; }
#h-form { scroll-margin-top: 24px; }
.dform { padding: 24px 20px; border-radius: 28px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; }
.dform h2 { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.025em; }
.dform h3 { font-size: 18px; line-height: 24px; font-weight: 600; outline: none; }
.d-st { display: none; flex-direction: column; gap: 14px; }
.dform[data-state="phone"] [data-s="phone"], .dform[data-state="sms"] [data-s="sms"], .dform[data-state="expired"] [data-s="expired"],
.dform[data-state="done"] [data-s="done"], .dform[data-state="none"] [data-s="none"] { display: flex; }
.dform:not([data-state="phone"]) > h2 { display: none; }
.d-p { font-size: 15.5px; line-height: 23px; color: var(--t2); }
.d-p b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.d-phoneform { display: flex; flex-direction: column; gap: 10px; }
.d-l { font-size: 13.5px; font-weight: 600; color: var(--t3); }
.d-in { height: 56px; padding: 0 18px; border: 0; border-radius: 18px; background: var(--surface); font: inherit; font-size: 18px; color: var(--ink);
  font-variant-numeric: tabular-nums; outline: none; width: 100%; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .16s; }
.d-in:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.d-err, .d-wrong { padding: 12px 14px; border-radius: 14px; background: var(--danger-bg); color: var(--danger); font-size: 14.5px; line-height: 20px; }
.d-err[hidden], .d-wrong[hidden] { display: none; }
.dform .btn1 { width: 100%; border: 0; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; }
.dform .btn1:disabled { opacity: .5; cursor: default; }
.d-card { border-radius: 20px; background: var(--surface); display: flex; flex-direction: column; }
.d-row { min-height: 60px; padding: 10px 10px 10px 16px; display: flex; align-items: center; gap: 12px; }
.d-row + .d-row { box-shadow: inset 0 1px 0 var(--line-s); }
.d-k { width: 48px; flex-shrink: 0; font-size: 13.5px; font-weight: 600; color: var(--t3); }
.d-v { flex-grow: 1; min-width: 0; font-size: 19px; white-space: nowrap; font-weight: 600; letter-spacing: .01em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.d-copy { width: 40px; height: 40px; padding: 0; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 18px; background: #FFFFFF; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(13,13,13,.1); }
.d-copy:hover { background: var(--surface2); }
.d-open { display: none; }
.ios .d-open, .android .d-open { display: flex; }
.d-wait { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--t2); flex-wrap: wrap; }
.d-left { color: var(--t3); font-variant-numeric: tabular-nums; }
.d-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); animation: dpulse 1.2s ease-in-out infinite; }
@keyframes dpulse { 0%, 100% { opacity: .2; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
.d-link { align-self: flex-start; height: 40px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.d-ok { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.d-date { font-size: 20px; line-height: 27px; font-weight: 600; letter-spacing: -0.02em; }
@media (min-width: 1024px) {
  .dpage-in { padding: 56px 0 0; display: grid; grid-template-columns: minmax(0, 680px) 420px; gap: 80px; align-items: start; justify-content: space-between; }
  .d-side { position: sticky; top: 32px; }
  .d-jump { display: none; }
  .dform { padding: 28px; }
  .d-steps { font-size: 17px; line-height: 27px; }
}
@media (max-width: 379.98px) { .dform { padding: 20px 16px; } .d-row { padding-left: 12px; gap: 8px; } .d-k { width: 42px; } .d-v { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .d-dot { animation: none; } }
