/* welgo.uz — one stylesheet for every page. Tokens match the app (Color.kt) and admin. */
:root {
  --ink: #0d1117;
  --frame: #05070a;
  --card: #161b22;
  --card2: #1d232d;
  --line: #252c36;
  --edge: #3e4248;
  --volt: #bdf52f;
  --ember: #ff6a3d;
  --bad: #ff5638;
  --bad-text: #ff7a61;
  --gold: #ffd24a;
  --text: #f2f5f8;
  --soft: #c9cfd7;
  --muted: #8b96a5;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --num: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --wrap: 1200px;
  --gutter: 20px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }
.volt { color: var(--volt); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 6px; }

/* Placeholders the owner still has to fill in (legal entity, contacts). */
.ph { color: var(--ember); border: 1px dashed var(--ember); background: rgb(255 106 61 / 0.12); border-radius: 6px; padding: 0 6px; font-weight: 600; white-space: nowrap; }

/* --- header --- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(13 17 23 / 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgb(37 44 54 / 0.6); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.wordmark { font: 700 28px/1 var(--num); letter-spacing: -0.02em; text-decoration: none; color: var(--text); }
.wordmark b { color: var(--volt); font-weight: 700; }
.nav { display: flex; gap: 32px; }
.nav a { text-decoration: none; color: var(--soft); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--text); }
.actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.lang a { text-decoration: none; padding: 6px 11px; border-radius: 999px; font: 700 13px/1 var(--font); color: var(--muted); }
.lang a[aria-current='true'] { background: var(--card2); color: var(--volt); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; border-radius: 999px; padding: 13px 22px; font: 700 15px/1.2 var(--font); transition: transform .2s var(--ease), filter .2s, opacity .2s; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--volt); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--edge); }
.btn.danger { background: var(--bad); color: #fff; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--text); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 1px; }
@media (max-width: 960px) {
  .nav, .actions .btn { display: none; }
  .menu-btn { display: block; }
  .lang a:not([aria-current='true']) { display: none; }
  .site-header.open .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: var(--ink); border-bottom: 1px solid var(--line); }
  .site-header.open .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .site-header.open .lang a { display: block; }
}

/* --- store badges (both "soon" until the apps are live) --- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px 11px 16px; border-radius: 16px; background: #000; border: 1px solid #5f6368; text-decoration: none; min-width: 190px; }
.store small { display: block; font: 500 12px/1.2 var(--font); color: var(--muted); }
.store strong { display: block; font: 700 19px/1.2 var(--font); color: var(--text); white-space: nowrap; }
@media (max-width: 420px) { .store { gap: 10px; } .store strong { font-size: 16px; } .store svg { width: 22px; } }
.store svg { flex: none; }

/* --- sections --- */
section { position: relative; }
.eyebrow { font: 700 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--volt); }
.h2 { font: 800 clamp(32px, 4.4vw, 52px)/1.08 var(--font); letter-spacing: -0.02em; }
.head { display: grid; gap: 14px; justify-items: center; text-align: center; margin-bottom: 56px; }
.lead { color: var(--soft); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }

/* reveal on scroll; static without JS or with reduced motion */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* --- hero --- */
.hero { overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; max-width: 820px; max-height: 620px; border-radius: 50%; background: rgb(189 245 47 / 0.16); filter: blur(140px); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); align-items: center; gap: 24px; min-height: calc(100svh - 72px); padding-block: 48px 72px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--soft); font: 600 14px/1 var(--font); }
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); }
.hero-copy { display: grid; gap: 28px; justify-items: start; position: relative; z-index: 1; }
.h1 { font: 800 clamp(44px, 6vw, 76px)/1.02 var(--font); letter-spacing: -0.03em; }
.hero-copy .lead { max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; color: var(--text); font-weight: 600; text-decoration: none; }
.link-arrow b { color: var(--volt); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-weight: 500; font-size: 14px; }
.facts li::before { content: '✓'; color: var(--volt); font-weight: 700; margin-right: 8px; }
.scene { position: relative; height: min(640px, 70vh); min-height: 400px; }
.scene canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 72%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 62% at 50% 72%, #000 40%, transparent 100%); }
.counter { position: absolute; top: 4%; right: 3%; display: grid; gap: 6px; padding: 16px 20px; border-radius: 20px; background: rgb(22 27 34 / 0.88); border: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 16px 40px rgb(0 0 0 / .45); z-index: 2; }
.counter small { color: var(--muted); font-weight: 500; font-size: 13px; }
.counter .steps { display: flex; align-items: baseline; gap: 8px; }
.counter .steps strong { font: 700 38px/1 var(--num); }
.counter .steps span { color: var(--muted); font-weight: 500; font-size: 15px; }
.coins-chip { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--volt); color: var(--ink); font: 700 15px/1 var(--num); }
.coins-chip::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 1.5px var(--ink); }
.counter.bump .coins-chip { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.08); } }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-block: 36px 0; }
  .scene { height: 420px; min-height: 0; margin-inline: calc(-1 * var(--gutter)); }
  .stores { width: 100%; }
  .store { flex: 1 1 0; min-width: 0; justify-content: center; padding-inline: 12px; }
}

/* --- phone mockups (real app screens) --- */
.phone { width: 316px; aspect-ratio: 9 / 19.4; border-radius: 54px; background: var(--frame); border: 2px solid #2a313b; padding: 10px; box-shadow: 0 40px 80px rgb(0 0 0 / .6), 0 0 120px rgb(189 245 47 / .12); position: relative; }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: var(--ink); }
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .5s var(--ease); }

/* --- how it works --- */
.how { padding-block: 40px; }
.how .head { margin-bottom: 32px; }
.how-stage .phone { width: auto; height: min(672px, calc(100svh - 280px)); }
.how-grid { display: grid; grid-template-columns: 470px 1fr; gap: 48px; align-items: center; }
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 3px 1fr; gap: 18px; padding: 18px 24px; border-radius: 20px; border: 1px solid transparent; transition: background .4s, border-color .4s; }
.step::before { content: ''; border-radius: 2px; background: var(--line); transition: background .4s; }
.step .n { font: 700 14px/1 var(--num); color: var(--muted); }
.step h3 { font: 700 22px/1.25 var(--font); color: var(--muted); margin-top: 8px; transition: color .4s, font-size .4s; }
.step p { color: var(--soft); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.step.on { background: var(--card); border-color: var(--line); padding-block: 24px; }
.step.on::before { background: var(--volt); }
.step.on .n { color: var(--volt); }
.step.on h3 { color: var(--text); font-size: 26px; }
.step.on p { max-height: 120px; opacity: 1; margin-top: 8px; }
.track { display: flex; align-items: center; gap: 10px; padding: 14px 0 0 24px; color: var(--muted); font: 700 13px/1 var(--num); }
.track i { width: 120px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.track i b { display: block; height: 100%; width: 33.4%; background: var(--volt); transition: width .4s var(--ease); }
.how-stage { position: relative; display: grid; place-items: center; }
.toast { position: absolute; right: 2%; top: 18%; display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 16px; border-radius: 18px; background: rgb(22 27 34 / .92); border: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 20px 40px rgb(0 0 0 / .5); }
.toast i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgb(189 245 47 / .14); color: var(--volt); font-style: normal; font-weight: 700; }
.toast strong { display: block; font-size: 15px; }
.toast small { display: block; color: var(--muted); font-size: 13px; }
.toast em { font: 700 22px/1 var(--num); color: var(--volt); font-style: normal; }
.bg-chip { position: absolute; left: 6%; bottom: 22%; }
.how-mobile { display: none; }
@media (max-width: 960px) {
  .how-grid { display: none; }
  .how-mobile { display: grid; gap: 16px; }
  .how-card { padding: 22px 22px 0; border-radius: 24px; background: var(--card); border: 1px solid var(--line); overflow: hidden; display: grid; gap: 10px; }
  .how-card .n { font: 700 14px/1 var(--num); color: var(--volt); }
  .how-card h3 { font: 700 24px/1.2 var(--font); }
  .how-card p { color: var(--soft); }
  .how-card .phone { width: 230px; margin: 12px auto -230px; border-radius: 38px; padding: 7px; }
  .how-card .phone .screen { border-radius: 32px; }
  .how-card .crop { height: 260px; overflow: hidden; }
}

/* --- features bento --- */
.features { padding-block: 72px; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(180deg, var(--card2), var(--card) 60%); border: 1px solid var(--line); padding: 44px; min-height: 500px; isolation: isolate; }
.card.wide { grid-column: span 2; }
.card .txt { display: grid; gap: 14px; max-width: 340px; position: relative; }
.card h3 { font: 700 30px/1.15 var(--font); letter-spacing: -0.015em; }
.card p { color: var(--soft); }
.tag { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 7px 12px 7px 10px; border-radius: 999px; font: 700 13px/1 var(--font); color: var(--soft); background: var(--card2); border: 1px solid var(--line); }
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.card .phone { position: absolute; width: 260px; border-radius: 44px; padding: 8px; }
.card .phone .screen { border-radius: 36px; }
.card.wide .phone { right: 8%; top: 56px; }
.card:not(.wide):not(.pro) .phone { left: 50%; top: 260px; transform: translateX(-50%); width: 250px; }
.card .phone.tilt-l { transform: rotate(4deg); right: 30%; top: 120px; width: 220px; }
.card .phone.tilt-r { width: 240px; }
.card.wide:has(.tilt-l) .txt { max-width: 290px; }
.card .phone.tilt-r { transform: rotate(-4deg); right: 4%; }
.card.pro { grid-column: 1 / -1; min-height: 300px; background: linear-gradient(90deg, #a8c800, #d9e017 45%, #d0f00f 70%, #b4d200); border: 0; color: #141f00; padding: 56px; }
.card.pro::after { content: 'PRO'; position: absolute; left: 47%; top: -60px; font: 800 260px/1 var(--font); letter-spacing: -0.04em; color: #305100; opacity: .14; z-index: -1; }
.card.pro h3 { font-size: 44px; font-weight: 800; }
.card.pro p { color: #2b3a05; font-size: 18px; max-width: 440px; }
.pro-tag { justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--volt); font: 800 13px/1 var(--font); }
.perks { display: flex; flex-wrap: wrap; gap: 10px; padding: 6px 0 0; margin: 0; list-style: none; }
.perks li { padding: 8px 14px; border-radius: 999px; background: rgb(13 17 23 / .9); color: var(--text); font-weight: 700; font-size: 14px; }
.card.pro .phone { right: 8%; top: 40px; transform: rotate(-6deg); width: 260px; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr; gap: 16px; }
  .card, .card.wide { grid-column: auto; min-height: 0; padding: 24px 22px 0; height: auto; }
  .card .txt { max-width: none; }
  .card h3 { font-size: 24px; }
  .card .phone, .card.wide .phone, .card:not(.wide):not(.pro) .phone, .card.pro .phone { position: relative; inset: auto; transform: none; width: 230px; margin: 20px auto -260px; }
  .card .phone.tilt-l { display: none; }
  .card .crop { height: 250px; overflow: hidden; }
  .card.pro { padding: 28px 24px 0; }
  .card.pro h3 { font-size: 34px; }
  .card.pro::after { font-size: 160px; top: auto; bottom: 20px; left: 30%; }
}

/* --- business --- */
.business { padding-block: 40px 72px; }
.biz { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 476px; gap: 48px; padding: 64px; border-radius: 32px; background: var(--card); border: 1px solid var(--line); isolation: isolate; }
.biz::before { content: ''; position: absolute; left: -160px; top: -220px; width: 560px; height: 560px; border-radius: 50%; background: rgb(189 245 47 / .14); filter: blur(160px); z-index: -1; }
.biz-copy { display: grid; gap: 20px; align-content: start; }
.biz-copy .h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
.biz-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 8px; }
.benefits { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.benefits li { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 20px 22px; border-radius: 20px; background: var(--card2); border: 1px solid var(--line); }
.benefits .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgb(189 245 47 / .12); color: var(--volt); font: 700 15px/1 var(--num); }
.benefits strong { display: block; font-size: 18px; }
.benefits span { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .biz { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; } .biz .btn.primary { width: 100%; } }

/* --- FAQ --- */
.faq { padding-block: 40px 96px; }
.faq-list { width: min(860px, 100%); margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 20px; border: 1px solid var(--line); background: var(--ink); transition: background .3s; }
.faq details[open] { background: var(--card); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px; font: 700 19px/1.35 var(--font); color: var(--soft); }
.faq details[open] summary { color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 32px; height: 32px; border-radius: 50%; color: var(--volt); background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat, var(--card2); transition: background-color .3s; }
.faq details[open] summary::after { color: var(--ink); background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, var(--volt); }
.faq details p { padding: 0 28px 24px; color: var(--soft); max-width: 760px; }
@media (max-width: 960px) { .faq summary { font-size: 16px; padding: 18px; } .faq details p { padding: 0 18px 18px; font-size: 15px; } }

/* --- footer --- */
.site-footer { background: var(--frame); border-top: 1px solid var(--line); padding-block: 72px 32px; }
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 64px; }
.cta-band h2 { font: 800 clamp(28px, 3.4vw, 40px)/1.15 var(--font); letter-spacing: -0.02em; }
.cta-band p { color: var(--muted); margin-top: 10px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-cols h4 { margin: 0 0 14px; font: 700 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.foot-cols a { color: var(--soft); text-decoration: none; font-weight: 500; font-size: 15px; }
.foot-cols a:hover { color: var(--text); }
.foot-brand p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 300px; }
.legal-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 960px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } .cta-band .stores { width: 100%; } }

/* --- legal pages --- */
.doc-head { border-bottom: 1px solid rgb(37 44 54 / .6); padding-block: 64px 44px; }
.crumb { display: flex; gap: 8px; color: var(--muted); font: 600 14px/1 var(--font); }
.crumb b { color: var(--volt); font-weight: 600; }
.doc-head h1 { font: 800 clamp(36px, 5vw, 60px)/1.05 var(--font); letter-spacing: -0.03em; margin-top: 16px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; color: var(--muted); font-size: 15px; }
.doc { display: grid; grid-template-columns: 280px minmax(0, 760px); gap: 80px; padding-block: 56px 96px; }
.toc { position: sticky; top: 100px; align-self: start; display: grid; gap: 4px; }
.toc h4, .toc summary { margin: 0 0 8px; font: 700 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; counter-reset: toc; }
.doc .toc a { display: block; padding: 9px 14px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 0 10px 10px 0; }
.doc .toc a.on { border-color: var(--volt); color: var(--text); font-weight: 700; background: var(--card); }
.doc article { display: grid; gap: 40px; }
.doc article[hidden] { display: none; }
.doc section { display: grid; gap: 14px; scroll-margin-top: 96px; }
.doc h2 { font: 700 28px/1.2 var(--font); letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--soft); font-size: 17px; line-height: 1.65; }
.doc ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.doc strong { color: var(--text); }
.doc a { color: var(--volt); }
.table { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.table table { width: 100%; border-collapse: collapse; }
.table th { background: var(--card2); color: var(--muted); font: 600 13px/1.3 var(--font); text-align: left; padding: 14px 16px; }
.table td { padding: 14px 16px; border-top: 1px solid var(--line); color: var(--soft); font-size: 15px; vertical-align: top; }
.table td:first-child { color: var(--text); font-weight: 600; }
.table tr:nth-child(even) td { background: var(--card); }
.callout { display: grid; grid-template-columns: 3px 1fr; gap: 14px; padding: 16px 20px; border-radius: 16px; background: rgb(189 245 47 / .08); border: 1px solid rgb(189 245 47 / .35); }
.callout::before { content: ''; border-radius: 2px; background: var(--volt); }
.callout p { color: var(--text); font-size: 16px; }
@media (max-width: 960px) {
  .doc { grid-template-columns: 1fr; gap: 24px; padding-top: 16px; }
  .toc { position: static; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
  .toc a { padding: 8px 10px; }
  .doc h2 { font-size: 22px; }
  .doc p, .doc li { font-size: 16px; }
  .table thead { display: none; }
  .table tr { display: grid; gap: 4px; padding: 14px 16px; border-top: 1px solid var(--line); }
  .table tr:first-child { border-top: 0; }
  .table td { padding: 0; border: 0; background: none !important; }
  .table td:last-child { color: var(--volt); font-size: 13px; font-weight: 600; }
}

/* --- delete account --- */
.stage { position: relative; padding-block: 88px 120px; overflow: hidden; }
.stage::before { content: ''; position: absolute; left: 50%; top: -100px; translate: -50% 0; width: 700px; height: 500px; border-radius: 50%; background: rgb(255 86 56 / .08); filter: blur(160px); pointer-events: none; }
.del { position: relative; width: min(480px, 100%); margin-inline: auto; display: grid; gap: 18px; padding: 32px 28px 28px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.del[hidden] { display: none; }
.progress { display: flex; gap: 6px; }
.progress i { width: 28px; height: 4px; border-radius: 2px; background: var(--line); }
.progress i.on { background: var(--bad); }
.del.done .progress i { background: var(--volt); }
.del .icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgb(255 86 56 / .14); color: var(--bad); }
.del.done .icon { background: rgb(189 245 47 / .14); color: var(--volt); }
.del h1 { font: 800 28px/1.2 var(--font); letter-spacing: -0.01em; }
.del p { color: var(--soft); }
.del .hint { color: var(--muted); font-size: 13px; }
.del label { color: var(--muted); font-size: 13px; font-weight: 600; }
.field { display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 58px; border-radius: 16px; background: var(--ink); border: 1.5px solid var(--line); transition: border-color .2s; }
.field:focus-within { border-color: var(--volt); }
.field span { font: 500 18px/1 var(--num); color: var(--text); padding-right: 12px; border-right: 1px solid var(--line); }
.field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--text); font: 500 18px/1 var(--num); letter-spacing: .02em; }
.code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.code input { width: 100%; height: 58px; border-radius: 14px; background: var(--ink); border: 1.5px solid var(--line); color: var(--text); text-align: center; font: 700 24px/1 var(--num); outline: 0; }
.code input:focus { border-color: var(--volt); }
.code.error input { border-color: var(--bad); }
.err { color: var(--bad-text); font-weight: 600; font-size: 14px; }
.err:empty { display: none; }
.alt { padding: 14px 16px; border-radius: 14px; background: var(--card2); }
.alt strong { display: block; font-size: 14px; }
.alt span { color: var(--soft); font-size: 14px; }
.account { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--card2); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(189 245 47 / .16); color: var(--volt); font-weight: 700; flex: none; }
.account div { flex: 1; min-width: 0; }
.account strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account small { color: var(--muted); font: 500 13px/1 var(--num); }
.account .bal { text-align: right; flex: none; }
.account .bal strong { color: var(--gold); font: 700 22px/1 var(--num); }
.losses { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.losses li { display: flex; gap: 10px; color: var(--soft); font-weight: 500; }
.losses li::before { content: '✕'; color: var(--bad-text); font-weight: 700; font-size: 13px; padding-top: 2px; }
.pro-note { padding: 12px 14px; border-radius: 14px; background: rgb(255 210 74 / .07); border: 1px solid rgb(255 210 74 / .4); color: #ffe28a; font-size: 14px; }
.del .check { display: flex; gap: 12px; align-items: center; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text); }
.check input { width: 22px; height: 22px; accent-color: var(--bad); margin: 0; }
.textlink { background: none; border: 0; color: var(--soft); text-decoration: underline; font: 600 15px/1 var(--font); cursor: pointer; justify-self: center; padding: 6px; }
.mini-foot { background: var(--frame); border-top: 1px solid var(--line); padding-block: 28px; }
