:root {
  --bg: #070b10;
  --bg-soft: #0a1017;
  --panel: #0c141d;
  --panel-2: #101a25;
  --line: rgba(137, 192, 220, .14);
  --line-bright: rgba(32, 211, 255, .38);
  --text: #f3f7fa;
  --muted: #91a2af;
  --cyan: #22d3ff;
  --cyan-soft: #99efff;
  --green: #54ef9a;
  --amber: #ffbd5d;
  --purple: #d6a4ff;
  --red: #ff485f;
  --shell: min(1180px, calc(100% - 40px));
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 72% 8%, rgba(17, 160, 206, .12), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(117, 189, 221, .1);
  background: rgba(7, 11, 16, .78);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
}

.brand img {
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(34, 211, 255, .16);
}

.brand b { color: var(--cyan); }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #b5c2cc; font-size: 14px; text-decoration: none; transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--cyan-soft); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(84, 239, 154, .2);
  border-radius: 100px;
  background: rgba(84, 239, 154, .06);
  color: #baf8d4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.status-pill i, .proof-row i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(84, 239, 154, .8);
}

.status-pill.status-beta { border-color: rgba(255, 190, 64, .28); background: rgba(65, 43, 8, .34); color: #ffd27a; }
.status-pill.status-beta i { background: #ffbd3f; box-shadow: 0 0 10px rgba(255, 189, 63, .8); }

.hero {
  position: relative;
  min-height: 800px;
  padding: 104px 0 118px;
  overflow: hidden;
}

.grid-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(52, 126, 156, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 126, 156, .08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 66px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--cyan);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span::before { content: "//"; color: rgba(34, 211, 255, .48); }

h1, h2, h3 { line-height: 1.06; }

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(52px, 5.35vw, 82px);
  font-weight: 780;
  letter-spacing: -.057em;
}

h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(105deg, var(--cyan-soft), var(--cyan) 58%, #4d9fff);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lede {
  max-width: 640px;
  margin: 30px 0 0;
  color: #a7b6c1;
  font-size: 19px;
  line-height: 1.72;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-button:focus-visible, .nav-links a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.button small { padding: 2px 6px; border-radius: 5px; background: rgba(3, 10, 15, .18); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.button-icon { font-size: 18px; }
.button-primary { background: var(--cyan); color: #021016; box-shadow: 0 14px 36px rgba(34, 211, 255, .16); }
.button-primary:hover { box-shadow: 0 18px 44px rgba(34, 211, 255, .24); }
.button-secondary { border-color: rgba(157, 201, 220, .22); background: rgba(16, 27, 38, .66); color: #e4edf2; }
.button-secondary:hover { border-color: rgba(34, 211, 255, .48); background: rgba(21, 39, 52, .88); }

.proof-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; color: #81939f; font-size: 12px; }
.proof-row span { display: flex; align-items: center; gap: 8px; }
.proof-row i { width: 5px; height: 5px; }

.app-frame {
  position: relative;
  border: 1px solid rgba(74, 196, 235, .28);
  border-radius: 18px;
  background: #091018;
  box-shadow: 0 46px 110px rgba(0, 0, 0, .52), 0 0 80px rgba(30, 174, 225, .08);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-4deg) rotateX(1deg);
}

.app-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.04), transparent 22%);
}

.window-bar { height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; border-bottom: 1px solid #4d4242; background: #2c2525; }
.window-title { display: flex; align-items: center; gap: 7px; color: #f0eded; font-family: "Segoe UI", sans-serif; font-size: 10px; font-weight: 400; }
.window-app-icon { width: 12px; height: 12px; border: 1px solid #a5b8b8; background: linear-gradient(135deg, #d7efea 0 45%, #72a6a0 45% 100%); }
.window-actions { display: flex; align-items: center; gap: 18px; }
.window-actions i { width: 9px; height: 1px; background: #d7d3d3; }
.window-actions i:nth-child(2) { width: 8px; height: 8px; border: 1px solid #d7d3d3; background: transparent; }
.window-actions i:nth-child(3) { position: relative; width: 9px; background: transparent; }
.window-actions i:nth-child(3)::before, .window-actions i:nth-child(3)::after { content: ""; position: absolute; left: 0; width: 10px; height: 1px; background: #d7d3d3; }
.window-actions i:nth-child(3)::before { transform: rotate(45deg); }
.window-actions i:nth-child(3)::after { transform: rotate(-45deg); }

.app-content { padding: 12px 10px 10px; background: #121212; }
.monitor-toolbar { min-height: 30px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.monitor-status { display: flex; flex-wrap: wrap; gap: 0 4px; color: #ccc; font: 9px "Segoe UI", sans-serif; line-height: 1.45; }
.monitor-status b { color: #b9b9b9; font-weight: 400; }
.monitor-name { color: #00ffff; }
.summary-active { color: #00ff99; }
.summary-rented { color: #ffaa00; }
.summary-purple { color: #d49cff; }
.summary-switch { color: #9fb4c8; }
.summary-switch i { font-style: normal; font-weight: 700; }
.summary-switch .switch-on { color: #57d68d; }
.summary-switch .switch-off { color: #ff5c6c; }
.summary-time { color: #ccc; }
.menu-demo { position: relative; z-index: 4; flex: 0 0 auto; }
.settings-chip { width: 28px; min-height: 21px; padding: 0 5px 5px; border: 1px solid #292929; border-radius: 3px; background: #151515; color: #e2e2e2; font: 12px "Segoe UI", sans-serif; line-height: 1; letter-spacing: 1px; }
.menu-popover { position: absolute; top: 22px; right: 0; width: 158px; padding: 3px; border: 1px solid #383838; border-radius: 2px; background: #202020; box-shadow: 0 7px 18px rgba(0,0,0,.45); color: #eee; font: 7px "Segoe UI", sans-serif; text-align: left; }
.menu-popover span { display: flex; justify-content: space-between; padding: 5px 7px; border-radius: 2px; }
.menu-popover span:first-child { background: #303030; }
.menu-popover b { font-weight: 400; }

.account-tabs { display: flex; gap: 2px; align-items: end; min-height: 24px; border-bottom: 1px solid #282828; }
.account-tab { min-width: 48px; padding: 3px 8px; border: 1px solid #292929; border-bottom: 0; border-radius: 3px 3px 0 0; background: #121212; color: #d8d8d8; font: 8px "Segoe UI", sans-serif; }
.account-tab.active { background: #151515; color: white; }
.account-tab b { margin-left: 4px; color: #ff0000; font-size: 10px; }

.rig-panel { border: 1px solid #292929; border-top: 0; border-radius: 0 3px 3px 3px; background: #121212; overflow: hidden; }
.rig-tabs { display: flex; align-items: end; gap: 2px; min-height: 25px; padding-left: 2px; border-bottom: 1px solid #282828; }
.rig-tabs span { min-width: 47px; padding: 3px 7px; border: 1px solid #292929; border-bottom: 0; border-radius: 3px 3px 0 0; color: #ddd; font: 8px "Segoe UI", sans-serif; }
.rig-tabs .active { background: #171717; color: white; }

.rig-table { margin: 2px; border: 1px solid #292929; background: #1b1b1b; overflow: hidden; }
.table-row { display: grid; grid-template-columns: .52fr 2.35fr .75fr .55fr .72fr 1.82fr .72fr .72fr .42fr; align-items: center; min-height: 25px; border-bottom: 1px solid #292929; color: #f1f1f1; font: 8px "Segoe UI", sans-serif; }
.table-row:last-child { border-bottom: 0; }
.table-row > span { min-width: 0; padding: 3px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.table-row > span + span { border-left: 1px solid #292929; }
.auto-demo { display: flex; justify-content: center; gap: 1px; }
.auto-demo i { display: inline-grid; place-items: center; width: 12px; height: 11px; border: 1px solid #42474e; border-radius: 2px; background: #25282d; color: #68747d; font-size: 6px; font-style: normal; line-height: 1; }
.auto-demo i.active { border-color: #57d68d; background: #087f72; color: #eafff9; }
.auto-demo i.blocked { border-color: #ff5c6c; background: #551f27; color: #ff7783; }
.event-options { display: flex; align-items: center; gap: 8px; padding: 4px 7px; color: #d8d8d8; font: 8px "Segoe UI", sans-serif; }
.event-options b { border: 1px solid #3a3a3a; border-radius: 2px; padding: 2px 6px; font-weight: 400; }
.event-options small { margin-left: auto; color: #78858e; font-size: 7px; }
.table-head { min-height: 28px; background: #202020; color: #f4f4f4; text-align: center; }
.status-rented { color: green; }
.status-ready { color: white; }
.status-offline { color: red; }
.status-offline-rented { color: yellow; }
.status-disabled { color: magenta; }
.speed-low { color: #ff5c6c; }
.speed-normal { color: #57d68d; }
.speed-high { color: #d49cff; }

.event-title { min-height: 22px; display: grid; place-items: center; border-bottom: 1px solid #292929; color: white; font: 8px "Segoe UI", sans-serif; }
.event-log { min-height: 160px; margin: 0 2px; border: 1px solid #292929; background: #1b1b1b; font: 8px "Segoe UI", sans-serif; }
.event-log p { min-height: 25px; margin: 0; padding: 5px 4px; border-bottom: 1px solid #292929; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-info { color: white; }
.log-disabled { color: magenta; }
.log-rented { color: green; }
.log-offline-rented { color: yellow; }
.log-performance { color: #ff5c6c; }
.log-message { color: #54ef9a; }
.log-extension { color: #54ef9a; }
.log-hook { color: #66c2ff; }
.move-down { display: flex; align-items: center; gap: 7px; min-height: 27px; padding: 4px 5px; color: #eee; font: 8px "Segoe UI", sans-serif; }
.move-down span { color: white; font-size: 10px; }

.section { padding: 118px 0; }
.section-heading { max-width: 760px; margin-bottom: 54px; }
h2 { margin: 0; font-size: clamp(40px, 5vw, 66px); letter-spacing: -.045em; }
.section-heading > p:last-child, .security-copy > p { color: #97a9b5; font-size: 18px; }
.section-heading > p:last-child { max-width: 670px; margin: 23px 0 0; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.permission-legend { display: grid; grid-template-columns:max-content 1fr; gap:10px 16px; align-items:center; margin:0 0 48px; padding:20px 22px; border:1px solid var(--line); border-radius:14px; background:rgba(8, 14, 21, .72); }
.permission-legend p { margin:0; color:#91a4b0; }
.permission-mark { display:inline-flex; width:max-content; padding:5px 9px; border:1px solid; border-radius:999px; font:700 10px Consolas, monospace; letter-spacing:.06em; }
.permission-read { color:#62e6a0; border-color:rgba(98,230,160,.35); background:rgba(98,230,160,.07); }
.permission-write { color:#ffd166; border-color:rgba(255,209,102,.4); background:rgba(255,209,102,.08); }
.feature-group-heading { display:flex; align-items:center; gap:14px; margin:0 0 18px; }
.feature-group-heading h3 { margin:0; color:#dce8ed; font-size:20px; }
.feature-group-write { margin-top:64px; }
.feature-grid-write .feature-card { border-color:rgba(255,209,102,.2); }
.feature-card { position: relative; min-height: 290px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(15, 25, 35, .94), rgba(8, 14, 21, .95)); overflow: hidden; }
.feature-card::after { content: ""; position: absolute; inset: auto -80px -110px auto; width: 240px; height: 240px; border-radius: 50%; background: rgba(30, 193, 236, .04); filter: blur(12px); }
.feature-wide { grid-column: 1 / -1; min-height: 260px; display: grid; grid-template-columns: auto 1fr .9fr; align-items: center; gap: 30px; }
.card-number { color: rgba(34, 211, 255, .52); font-family: Consolas, monospace; font-size: 12px; letter-spacing: .08em; }
.feature-wide .card-number { align-self: start; }
.feature-card h3 { max-width: 420px; margin: 24px 0 14px; font-size: 28px; letter-spacing: -.025em; }
.feature-wide h3 { margin-top: 0; }
.feature-card p { max-width: 560px; margin: 0; color: #8fa2af; }
.feature-card strong { color: #d8e5eb; }
.mini-tabs { display: flex; align-items: center; gap: 4px; padding: 16px; border: 1px solid rgba(117, 184, 210, .11); border-radius: 11px; background: #070c12; }
.mini-tabs span { padding: 8px 12px; border: 1px solid #1d2c37; border-radius: 6px; color: #81939f; font-family: Consolas, monospace; font-size: 9px; }
.mini-tabs span:first-child { border-color: rgba(34,211,255,.42); color: #e1f5fa; }
.mini-tabs b { color: var(--red); font-size: 13px; }

.security-section { position: relative; border-block: 1px solid rgba(88, 164, 194, .1); background: linear-gradient(180deg, rgba(10, 17, 24, .72), rgba(7, 11, 16, .5)); }
.security-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 96px; align-items: center; }
.security-copy > p { max-width: 650px; }
.security-copy .eyebrow { font-size: 12px; }
.security-copy h2 { max-width: 690px; }
.security-note { padding-left: 18px; border-left: 2px solid rgba(255, 189, 93, .55); color: #a99e8d !important; font-size: 14px !important; }
.security-stack { display: grid; gap: 10px; }
.security-item { display: flex; align-items: flex-start; gap: 18px; padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12, 21, 30, .78); }
.security-icon { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(34, 211, 255, .28); border-radius: 9px; color: var(--cyan); font: 10px Consolas, monospace; }
.security-item b { display: block; margin-bottom: 4px; color: #e6f0f4; }
.security-item small { display: block; color: #82949f; font-size: 13px; }

.donate-section { background: radial-gradient(circle at 50% 0, rgba(214, 164, 255, .08), transparent 34rem); }
.donate-warning { max-width: 720px !important; margin-top: 20px; padding: 13px 16px; border: 1px solid rgba(255, 189, 93, .28); border-radius: 10px; background: rgba(255, 189, 93, .055); color: #b9aa91 !important; font-size: 14px !important; }
.donate-warning strong { color: var(--amber); }
.wallet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.wallet-card { min-width: 0; padding: 25px; border: 1px solid rgba(137, 192, 220, .15); border-radius: 17px; background: linear-gradient(145deg, rgba(15, 25, 35, .96), rgba(9, 15, 22, .96)); box-shadow: 0 22px 55px rgba(0, 0, 0, .16); }
.wallet-heading { display: flex; align-items: center; gap: 14px; }
.wallet-symbol { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid rgba(214, 164, 255, .3); border-radius: 12px; background: rgba(214, 164, 255, .06); color: var(--purple); font: 700 20px Consolas, monospace; }
.wallet-heading h3 { margin: 0; font-size: 19px; }
.wallet-heading p { margin: 1px 0 0; color: #8194a1; font-size: 12px; }
.wallet-payment { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 19px; }
.wallet-payment > div { min-width: 0; }
.wallet-qr-button { --qr-size: 108px; position: relative; z-index: 1; width: var(--qr-size); height: var(--qr-size); padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: zoom-in; transform-origin: center; transition: box-shadow .18s ease; }
.wallet-qr-button:hover, .wallet-qr-button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.wallet-qr-button[aria-expanded="true"] { position: fixed; top: 50%; left: 50%; z-index: 1001; width: min(calc(var(--qr-size) * 2), calc(100vw - 32px)); height: min(calc(var(--qr-size) * 2), calc(100vw - 32px)); cursor: zoom-out; transform: translate(-50%, -50%); box-shadow: 0 20px 70px rgba(0, 0, 0, .78); }
.wallet-qr { width: 100%; height: 100%; padding: 5px; border-radius: 10px; background: #fff; }
.wallet-qr-placeholder { display: block; }
body.qr-expanded { overflow: hidden; }
body.qr-expanded::before { content: ""; position: fixed; inset: 0; z-index: 1000; background: rgba(2, 6, 10, .82); backdrop-filter: blur(4px); }
.network-warning { min-height: 38px; margin: 0 0 10px; color: #9cabb4; font-size: 12px; }
.wallet-address { display: block; width: 100%; padding: 12px; overflow-wrap: anywhere; border: 1px solid rgba(34, 211, 255, .13); border-radius: 9px; background: rgba(4, 9, 13, .68); color: #d8edf4; font: 12px/1.5 Consolas, monospace; user-select: all; }
.copy-address { margin-top: 14px; padding: 9px 14px; border: 1px solid rgba(34, 211, 255, .28); border-radius: 8px; background: rgba(34, 211, 255, .06); color: var(--cyan-soft); cursor: pointer; font-size: 12px; font-weight: 700; transition: border-color .2s ease, background .2s ease; }
.copy-address:hover, .copy-address:focus-visible { border-color: rgba(34, 211, 255, .62); background: rgba(34, 211, 255, .11); }

.support-section { padding-bottom: 140px; }
.support-card { display: grid; grid-template-columns: auto 1fr; gap: 38px; align-items: center; padding: 40px; border: 1px solid rgba(34, 211, 255, .25); border-radius: 28px; background: linear-gradient(120deg, rgba(13, 25, 35, .98), rgba(7, 14, 21, .98)); box-shadow: 0 36px 100px rgba(0,0,0,.25); }
.support-logo img { border-radius: 50%; box-shadow: 0 0 45px rgba(34,211,255,.16); }
.support-copy h2 { font-size: clamp(34px, 4vw, 54px); }
.support-copy > p:not(.eyebrow) { max-width: 600px; color: #92a5b2; }
.support-copy .button { margin-top: 10px; }
.donate-box { padding: 25px; border: 1px solid rgba(214, 164, 255, .18); border-radius: 16px; background: rgba(214, 164, 255, .045); }
.donate-box > span { color: var(--purple); font: 9px Consolas, monospace; letter-spacing: .12em; }
.donate-box strong { display: block; margin: 13px 0 8px; font-size: 24px; line-height: 1.15; }
.donate-box p { color: #8c9ca8; font-size: 13px; }
.text-button { display: inline-block; padding: 0; border: 0; background: transparent; color: var(--purple); cursor: pointer; font-weight: 700; text-decoration: none; }

.site-footer { border-top: 1px solid rgba(111, 176, 202, .1); padding: 30px 0; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; color: #657884; font-size: 11px; }
.footer-inner > p:nth-child(2) { text-align: center; }
.footer-brand { font-size: 12px; }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 100; max-width: min(440px, calc(100% - 32px)); padding: 12px 17px; border: 1px solid rgba(34,211,255,.34); border-radius: 10px; background: #101b25; color: #dcecf2; box-shadow: 0 14px 60px rgba(0,0,0,.45); font-size: 13px; opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* Telegram access page */
.subpage-body {
  background:
    radial-gradient(circle at 75% 4%, rgba(34, 211, 255, .13), transparent 30rem),
    var(--bg);
}

.nav-links a[aria-current="page"] { color: var(--cyan-soft); }

.donation-body {
  background:
    radial-gradient(circle at 75% 4%, rgba(214, 164, 255, .13), transparent 30rem),
    var(--bg);
}

.donation-status { border-color: rgba(214, 164, 255, .23); background: rgba(214, 164, 255, .06); color: #ead5fb; }
.donation-status i { background: var(--purple); box-shadow: 0 0 10px rgba(214, 164, 255, .8); }

.access-main { min-height: calc(100vh - 72px); }
.access-hero { position: relative; padding: 92px 0 42px; overflow: hidden; }
.access-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(52, 126, 156, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 126, 156, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.access-intro { position: relative; max-width: 900px; }
.access-intro h1 { max-width: 820px; font-size: clamp(48px, 7vw, 78px); }
.access-intro > p:not(.eyebrow) { max-width: 720px; margin: 25px 0 0; color: #a7b6c1; font-size: 18px; }

.proxy-disclaimer {
  position: relative;
  margin-top: 38px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 189, 93, .34);
  border-radius: 15px;
  background: rgba(255, 189, 93, .065);
  color: #b8ad9c;
}
.proxy-disclaimer strong { display: block; margin-bottom: 7px; color: var(--amber); font-size: 15px; }
.proxy-disclaimer p { margin: 0; font-size: 14px; }

.donation-disclaimer {
  position: relative;
  margin-top: 38px;
  padding: 22px 24px;
  border: 1px solid rgba(214, 164, 255, .3);
  border-radius: 15px;
  background: rgba(214, 164, 255, .055);
  color: #b9acc5;
}
.donation-disclaimer strong { display: block; margin-bottom: 7px; color: #ebcfff; font-size: 15px; }
.donation-disclaimer p { margin: 0; font-size: 14px; }
.donation-guide { padding-bottom: 72px; }
.donation-guide .guide-number { color: rgba(214, 164, 255, .7); }
.donation-wallets { padding: 58px 0 132px; border-top: 1px solid rgba(214, 164, 255, .1); background: radial-gradient(circle at 50% 0, rgba(214, 164, 255, .07), transparent 36rem); }
.donation-wallet-heading { margin-bottom: 0; }

.access-guide { padding: 48px 0 52px; }
.access-guide-heading { margin-bottom: 38px; }
.access-guide-heading h2 { font-size: clamp(36px, 4.5vw, 56px); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(15, 25, 35, .94), rgba(8, 14, 21, .96));
}
.guide-number { color: rgba(34, 211, 255, .56); font: 700 11px Consolas, monospace; letter-spacing: .12em; }
.guide-card h3 { margin: 23px 0 10px; font-size: 23px; }
.guide-card p { margin: 0; color: #8fa2af; font-size: 14px; }
.guide-card p strong { color: #dce9ee; }
.guide-visual {
  min-height: 162px;
  margin-top: 18px;
  border: 1px solid rgba(93, 167, 196, .16);
  border-radius: 13px;
  background: #091018;
  overflow: hidden;
}
.visual-bar { height: 28px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid #1b2a35; background: #101a24; }
.visual-bar i { width: 6px; height: 6px; border-radius: 50%; background: #3e5360; }
.visual-proxy-row { display: grid; gap: 18px; padding: 25px 18px; color: #8598a4; font: 11px Consolas, monospace; }
.visual-proxy-row b { width: max-content; padding: 9px 12px; border-radius: 7px; background: var(--cyan); color: #021016; font: 700 10px Inter, sans-serif; }
.guide-dialog { display: grid; place-items: center; align-content: center; gap: 5px; padding: 18px; text-align: center; }
.telegram-mark { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 4px; border-radius: 50%; background: #2aabee; color: white; font-size: 17px; transform: rotate(-24deg); }
.guide-dialog strong { font-size: 15px; }
.guide-dialog small { color: #718691; }
.visual-action { margin-top: 8px; padding: 7px 25px; border-radius: 7px; background: #2aabee; color: white; font-size: 11px; font-weight: 750; }
.guide-connected { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px; }
.shield-mark { display: grid; place-items: center; width: 46px; height: 52px; border: 2px solid var(--green); border-radius: 19px 19px 24px 24px; color: var(--green); font-size: 22px; }
.guide-connected strong, .guide-connected small { display: block; }
.guide-connected strong { color: #dff8ea; font-size: 14px; }
.guide-connected small { max-width: 140px; margin-top: 4px; color: #71868f; font-size: 10px; }
.manual-paths { display: grid; grid-template-columns: 1.15fr 1.5fr 1.5fr 1.8fr; gap: 13px; margin-top: 14px; padding: 19px 22px; border: 1px solid rgba(34, 211, 255, .14); border-radius: 13px; background: rgba(34, 211, 255, .035); color: #8ea1ad; font-size: 12px; }
.manual-paths > strong { color: var(--cyan-soft); }
.manual-paths b { color: #c7d5dc; }

/* Guide */
.guide-body {
  background:
    radial-gradient(circle at 76% 1%, rgba(34, 211, 255, .09), transparent 30rem),
    radial-gradient(circle at 12% 28%, rgba(214, 164, 255, .045), transparent 26rem),
    var(--bg);
}
.guide-status { border-color: rgba(34, 211, 255, .22); color: var(--cyan-soft); }
.guide-main { overflow: clip; }
.guide-hero { padding: 94px 0 72px; border-bottom: 1px solid rgba(93, 167, 196, .11); }
.guide-intro { max-width: 1180px; }
.guide-intro h1 { max-width: 850px; margin: 16px 0 22px; }
.guide-intro > p:not(.eyebrow) { max-width: 780px; color: #9aadb8; font-size: 20px; }
.guide-quick-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.guide-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; padding-top: 68px; padding-bottom: 128px; }
.guide-toc { position: sticky; top: 94px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; padding: 20px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(9, 16, 23, .84); backdrop-filter: blur(16px); }
.guide-toc > strong { display: block; margin: 0 9px 12px; color: #d9e7ed; font-size: 13px; }
.guide-toc nav { display: grid; gap: 2px; }
.guide-toc a { display: flex; align-items: center; gap: 10px; padding: 8px 9px; border-radius: 8px; color: #8295a1; font-size: 12px; text-decoration: none; }
.guide-toc a:hover, .guide-toc a:focus-visible { background: rgba(34, 211, 255, .07); color: var(--cyan-soft); }
.guide-toc a span { color: rgba(34, 211, 255, .48); font: 700 9px Consolas, monospace; }
.guide-content { min-width: 0; }
.guide-chapter { scroll-margin-top: 92px; padding: 0 0 72px; margin-bottom: 72px; border-bottom: 1px solid rgba(93, 167, 196, .12); }
.chapter-heading { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 26px; }
.chapter-heading > span { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border: 1px solid rgba(34, 211, 255, .2); border-radius: 12px; background: rgba(34, 211, 255, .045); color: var(--cyan); font: 700 11px Consolas, monospace; }
.chapter-heading p { margin: 1px 0 5px; color: #5e8292; font: 700 9px Consolas, monospace; letter-spacing: .16em; }
.chapter-heading h2 { font-size: clamp(36px, 4.4vw, 58px); }
.chapter-lede { max-width: 750px; margin: -4px 0 38px; color: #a8bac4; font-size: 20px; }
.guide-content h3 { margin: 38px 0 16px; color: #e6eff3; font-size: 24px; letter-spacing: -.02em; }
.guide-content > .guide-chapter > p, .guide-chapter li { color: #91a4af; }
.guide-content a { color: var(--cyan-soft); }
.guide-content code { font-family: Consolas, "SFMono-Regular", monospace; }
.steps-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.steps-list li { display: grid; grid-template-columns: 34px 1fr; gap: 13px; align-items: start; padding: 15px 17px; border: 1px solid rgba(93, 167, 196, .13); border-radius: 12px; background: rgba(11, 20, 28, .62); }
.steps-list li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(34, 211, 255, .08); color: var(--cyan); font: 700 10px Consolas, monospace; }
.steps-list li div { padding-top: 3px; }
.permission-table-wrap { overflow-x: auto; border: 1px solid rgba(93, 167, 196, .16); border-radius: 14px; }
.permission-table { width: 100%; min-width: 650px; border-collapse: collapse; background: rgba(10, 18, 25, .78); font-size: 13px; }
.permission-table th, .permission-table td { padding: 15px 17px; border-bottom: 1px solid rgba(93, 167, 196, .1); text-align: left; }
.permission-table thead th { color: #718c99; font: 700 9px Consolas, monospace; letter-spacing: .09em; text-transform: uppercase; }
.permission-table tbody th { color: #d5e2e8; }
.permission-table tbody tr:last-child > * { border-bottom: 0; }
.permission-table td { color: #8da0aa; }
.perm-read, .perm-write { display: inline-flex; padding: 4px 8px; border-radius: 6px; font-size: 11px; }
.perm-read { background: rgba(34, 211, 255, .09); color: var(--cyan-soft); }
.perm-write { background: rgba(84, 239, 154, .09); color: var(--green); }
.guide-callout { margin: 18px 0; padding: 19px 21px; border: 1px solid; border-radius: 14px; }
.guide-callout strong { display: block; margin-bottom: 6px; color: #edf5f7; }
.guide-callout p { margin: 0; color: #95a8b2; font-size: 13px; }
.guide-callout.danger { border-color: rgba(255, 75, 93, .27); background: rgba(255, 75, 93, .055); }
.guide-callout.info { border-color: rgba(34, 211, 255, .22); background: rgba(34, 211, 255, .045); }
.guide-callout.caution { border-color: rgba(255, 196, 88, .23); background: rgba(255, 196, 88, .045); }
.check-list { display: grid; gap: 9px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 27px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.telegram-bot-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin: 28px 0; padding: 20px; border: 1px solid rgba(42, 171, 238, .25); border-radius: 17px; background: linear-gradient(120deg, rgba(42,171,238,.09), rgba(9,17,24,.85)); }
.telegram-bot-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #2aabee; color: white; font-size: 22px; transform: rotate(-20deg); }
.telegram-bot-card small, .telegram-bot-card strong, .telegram-bot-card div > a { display: block; }
.telegram-bot-card small { color: #658699; font: 700 8px Consolas, monospace; letter-spacing: .14em; }
.telegram-bot-card strong { margin: 4px 0 2px; color: #edf6f9; font-size: 18px; }
.telegram-bot-card div > a { font-size: 12px; text-decoration: none; }
.compact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.compact-grid > div { padding: 17px; border: 1px solid rgba(93, 167, 196, .12); border-radius: 12px; background: rgba(10, 18, 26, .65); }
.compact-grid strong { color: #dce8ed; font-size: 14px; }
.compact-grid p { margin: 6px 0 0; color: #81949f; font-size: 12px; }
.feature-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-list-grid article { padding: 21px; border: 1px solid rgba(93, 167, 196, .13); border-radius: 14px; background: linear-gradient(145deg, rgba(14,24,33,.85), rgba(8,14,20,.88)); }
.feature-list-grid article > span { color: rgba(34,211,255,.55); font: 700 8px Consolas, monospace; letter-spacing: .13em; }
.feature-list-grid h3 { margin: 15px 0 8px; font-size: 19px; }
.feature-list-grid p { margin: 0; color: #8497a2; font-size: 13px; }
.zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.zone-grid > div { display: grid; gap: 5px; padding: 18px; border: 1px solid; border-radius: 12px; }
.zone-grid strong { font-size: 18px; }
.zone-grid span { color: #81949f; font-size: 11px; }
.zone-green { border-color: rgba(84,239,154,.25) !important; background: rgba(84,239,154,.045); color: var(--green); }
.zone-yellow { border-color: rgba(255,196,88,.25) !important; background: rgba(255,196,88,.045); color: #ffc458; }
.zone-red { border-color: rgba(255,75,93,.25) !important; background: rgba(255,75,93,.045); color: #ff6474; }
.template-row { display: flex; flex-wrap: wrap; gap: 9px; }
.template-row span { padding: 9px 12px; border: 1px solid; border-radius: 8px; font: 700 10px Consolas, monospace; }
.template-red { border-color: rgba(255,75,93,.28) !important; background: rgba(255,75,93,.05); color: #ff7583; }
.template-yellow { border-color: rgba(255,196,88,.28) !important; background: rgba(255,196,88,.05); color: #ffd273; }
.template-custom { border-color: rgba(34,211,255,.24) !important; background: rgba(34,211,255,.04); color: var(--cyan-soft); }
.locked-footer-example { display: flex; gap: 15px; align-items: start; margin: 20px 0; padding: 17px 19px; border: 1px solid rgba(34,211,255,.2); border-radius: 12px; background: rgba(6,16,22,.85); }
.locked-footer-example > span { color: #ffd46b; }
.locked-footer-example small { color: #5d8798; font: 700 8px Consolas, monospace; letter-spacing: .14em; }
.locked-footer-example p { margin: 7px 0 0; color: #b8cad2; font-size: 12px; }
.formula-card { margin: 22px 0; padding: 24px; border: 1px solid rgba(214,164,255,.23); border-radius: 15px; background: rgba(214,164,255,.045); }
.formula-card small { color: var(--purple); font: 700 9px Consolas, monospace; letter-spacing: .14em; }
.formula-card code { display: block; margin: 15px 0; color: #f0e0fb; font-size: clamp(15px, 2vw, 20px); overflow-wrap: anywhere; }
.formula-card p { margin: 0; color: #92859c; font-size: 12px; }
.automation-variable-table { min-width: 720px; }
.automation-variable-table tbody th code { color: var(--cyan-soft); }
.automation-examples { display: grid; gap: 10px; margin: 18px 0; }
.automation-examples > div { min-width: 0; padding: 16px 18px; border: 1px solid rgba(34,211,255,.16); border-radius: 11px; background: #081119; }
.automation-examples small { display: block; margin-bottom: 9px; color: #587e8e; font: 700 8px Consolas, monospace; letter-spacing: .14em; }
.automation-examples code { display: block; overflow-x: auto; padding-bottom: 2px; color: #b8e7f2; font-size: 12px; white-space: nowrap; }
.log-files { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.log-files code { padding: 12px 14px; border: 1px solid rgba(34,211,255,.17); border-radius: 9px; background: #081119; color: var(--cyan-soft); font-size: 12px; }
.guide-help { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; padding: 40px; border: 1px solid rgba(34,211,255,.3); border-radius: 26px; background: radial-gradient(circle at 0 0, rgba(34,211,255,.1), transparent 25rem), linear-gradient(130deg, rgba(14,27,37,.98), rgba(7,14,21,.98)); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.guide-help-mark { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(34,211,255,.35); border-radius: 18px; color: var(--cyan); font-size: 28px; font-weight: 700; box-shadow: inset 0 0 25px rgba(34,211,255,.08); }
.guide-help h2 { margin: 12px 0 16px; font-size: clamp(36px, 5vw, 58px); }
.guide-help > div > p:not(.eyebrow) { max-width: 680px; color: #94a8b3; font-size: 16px; }
.guide-help-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 18px; }
.guide-help small { color: #667f8b; }
.guide-help small a { text-decoration: none; }

.proxy-section { padding: 30px 0 120px; }
.proxy-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.proxy-toolbar h2 { font-size: clamp(32px, 4vw, 48px); }
.proxy-status { margin: 9px 0 0; color: #7f929e; font-size: 13px; }
.proxy-refresh { flex: 0 0 auto; min-height: 44px; }

.proxy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.proxy-card {
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 25, 35, .96), rgba(8, 14, 21, .97));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .14);
}
.proxy-card-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.proxy-card-label { color: var(--cyan); font: 700 10px Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.proxy-card-time { color: #657985; font-size: 11px; white-space: nowrap; }
.proxy-fields { display: grid; gap: 10px; margin: 20px 0; }
.proxy-field { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.proxy-field span { color: #6f8491; font-size: 11px; text-transform: uppercase; }
.proxy-field code { min-width: 0; overflow-wrap: anywhere; color: #d9e9ef; font: 12px/1.55 Consolas, monospace; }
.proxy-card-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.proxy-card-actions .button { min-height: 42px; padding-inline: 15px; }
.proxy-copy { border-color: rgba(157, 201, 220, .18); background: transparent; color: #aebdc6; }
.proxy-copy:hover { border-color: rgba(34, 211, 255, .45); background: rgba(34, 211, 255, .055); }
.proxy-empty {
  grid-column: 1 / -1;
  padding: 42px;
  border: 1px dashed rgba(137, 192, 220, .2);
  border-radius: 16px;
  color: #81949f;
  text-align: center;
}
.proxy-skeleton { min-height: 250px; overflow: hidden; }
.proxy-skeleton::after {
  content: "";
  display: block;
  width: 70%;
  height: 12px;
  margin-top: 26px;
  border-radius: 8px;
  background: rgba(137, 192, 220, .1);
  box-shadow: 0 34px 0 rgba(137, 192, 220, .07), 0 68px 0 rgba(137, 192, 220, .06);
}

.download-section { padding-top: 48px; }
.download-panel { display: grid; grid-template-columns: 1.2fr .9fr auto; gap: 34px; align-items: center; padding: 34px; border: 1px solid rgba(34, 211, 255, .22); border-radius: 22px; background: linear-gradient(145deg, rgba(13, 27, 38, .94), rgba(7, 14, 21, .96)); }
.download-copy h2 { margin: 8px 0 12px; font-size: clamp(30px, 4vw, 48px); }
.download-copy > p:last-child { margin: 0; color: #96a9b5; line-height: 1.65; }
.download-requirements { padding: 18px 20px; border: 1px solid rgba(133, 171, 190, .16); border-radius: 15px; background: rgba(5, 12, 18, .52); }
.download-requirements strong { color: #e8f2f6; }
.download-requirements ul { margin: 10px 0 0; padding-left: 19px; color: #91a5b1; line-height: 1.55; }
.download-dialog { width: min(720px, calc(100% - 28px)); max-height: min(90vh, 820px); padding: 0; overflow: auto; border: 1px solid rgba(34, 211, 255, .34); border-radius: 22px; background: #09121a; color: #e9f2f6; box-shadow: 0 30px 100px rgba(0, 0, 0, .78); }
.download-dialog::backdrop { background: rgba(0, 5, 9, .84); backdrop-filter: blur(7px); }
.download-dialog-card { position: relative; padding: 34px; }
.download-dialog h2 { margin: 10px 42px 22px 0; font-size: clamp(27px, 5vw, 42px); line-height: 1.1; }
.dialog-close { position: absolute; top: 17px; right: 17px; width: 38px; height: 38px; border: 1px solid rgba(148, 180, 197, .2); border-radius: 10px; background: rgba(17, 31, 42, .82); color: #dbe8ed; font-size: 25px; cursor: pointer; }
.download-warning { margin-top: 15px; padding: 18px 20px; border: 1px solid rgba(34, 211, 255, .17); border-radius: 15px; background: rgba(16, 31, 42, .72); }
.download-warning strong { font-size: 17px; }
.download-warning p, .beta-warning { margin: 8px 0 0; color: #9bafba; line-height: 1.62; }
.credentials-warning { border-color: rgba(255, 190, 64, .28); background: rgba(65, 43, 8, .24); }
.beta-warning { margin-top: 20px; }
.beta-warning a { color: var(--cyan-soft); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 26px; }

.news-main { min-height: calc(100vh - 76px); }
.news-hero { position: relative; padding: 108px 0 54px; overflow: hidden; }
.news-hero::before {
  content: "";
  position: absolute;
  inset: -35% 38% auto -12%;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 255, .12), transparent 67%);
  pointer-events: none;
}
.news-intro { position: relative; }
.news-intro h1 { margin: 12px 0 16px; }
.news-intro > p:last-child { max-width: 690px; color: #9bafb9; font-size: 18px; line-height: 1.65; }
.news-list-section { padding: 0 0 120px; }
.news-list { display: grid; gap: 22px; }
.news-card {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(85, 119, 138, .32);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(18, 29, 37, .96), rgba(8, 14, 20, .98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}
.news-card-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; color: #91a7b2; font: 700 11px Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.news-card-meta span { padding: 5px 9px; border: 1px solid rgba(34, 211, 255, .28); border-radius: 999px; color: var(--cyan-soft); background: rgba(34, 211, 255, .06); }
.news-card h2 { margin: 18px 0 16px; font-size: clamp(27px, 4vw, 42px); }
.news-card p { max-width: 920px; color: #a3b4bd; line-height: 1.72; }
.news-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.news-status { color: var(--cyan-soft); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 82px; }
  .hero-grid, .security-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 70px; }
  .app-frame { max-width: 760px; transform: none; }
  .security-grid { gap: 55px; }
  .support-card { grid-template-columns: auto 1fr; }
  .proxy-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .manual-paths { grid-template-columns: 1fr 1fr; }
  .guide-layout { grid-template-columns: 1fr; gap: 34px; padding-top: 36px; }
  .guide-toc { position: relative; top: auto; z-index: 1; max-height: none; overflow-x: auto; padding: 13px; }
  .guide-toc > strong { margin-bottom: 9px; }
  .guide-toc nav { display: flex; min-width: max-content; }
  .guide-toc a { white-space: nowrap; }
  .download-panel { grid-template-columns: 1fr 1fr; }
  .download-panel > .button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .header-inner { min-height: 64px; }
  .nav-links { display: none; }
  .status-pill { font-size: 9px; }
  .hero { padding: 70px 0 88px; }
  h1 { font-size: clamp(44px, 14vw, 68px); }
  .hero-lede { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .proof-row { gap: 12px 18px; }
  .app-frame { margin-inline: -7px; }
  .app-content { padding: 8px 5px 5px; }
  .monitor-status { gap: 0 2px; font-size: 6px; }
  .settings-chip { width: 23px; min-height: 18px; padding: 0 3px 4px; font-size: 9px; }
  .menu-popover { top: 19px; width: 138px; font-size: 5.5px; }
  .account-tab { min-width: 40px; padding: 2px 5px; font-size: 6px; }
  .rig-tabs span { min-width: 42px; padding-inline: 5px; font-size: 6px; }
  .table-row { min-height: 21px; font-size: 5.5px; }
  .table-row > span { padding-inline: 2px; }
  .table-head { min-height: 23px; }
  .event-title, .event-log, .move-down { font-size: 5.5px; }
  .event-log { min-height: 120px; }
  .event-log p { min-height: 21px; padding: 4px 3px; }
  .section { padding: 86px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; grid-template-columns: 1fr; }
  .feature-card { min-height: 250px; padding: 27px; }
  .mini-tabs { flex-wrap: wrap; }
  .wallet-grid { grid-template-columns: 1fr; }
  .wallet-payment { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; }
  .wallet-qr-button { --qr-size: 92px; }
  .support-card { grid-template-columns: 1fr; padding: 28px; }
  .support-logo img { width: 88px; }
  .support-copy .button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 10px; text-align: left; }
  .footer-inner > p:nth-child(2) { text-align: left; }
  .access-main { min-height: calc(100vh - 64px); }
  .access-hero { padding: 68px 0 30px; }
  .access-intro > p:not(.eyebrow) { font-size: 16px; }
  .proxy-disclaimer { padding: 18px; }
  .donation-disclaimer { padding: 18px; }
  .donation-wallets { padding: 42px 0 calc(128px + env(safe-area-inset-bottom)); }
  .proxy-section { padding: 24px 0 86px; }
  .proxy-toolbar { align-items: stretch; flex-direction: column; }
  .proxy-refresh { width: 100%; }
  .proxy-card { padding: 19px; }
  .proxy-card-actions .button { flex: 1 1 130px; }
  .access-guide { padding: 36px 0 42px; }
  .guide-card { padding: 20px; }
  .manual-paths { grid-template-columns: 1fr; }
  .guide-hero { padding: 64px 0 48px; }
  .guide-intro > p:not(.eyebrow) { font-size: 17px; }
  .guide-quick-actions .button { width: 100%; }
  .guide-layout { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .guide-chapter { padding-bottom: 54px; margin-bottom: 54px; }
  .chapter-heading { gap: 13px; }
  .chapter-heading > span { flex-basis: 36px; height: 36px; border-radius: 10px; }
  .chapter-lede { font-size: 17px; }
  .compact-grid, .feature-list-grid, .zone-grid { grid-template-columns: 1fr; }
  .telegram-bot-card { grid-template-columns: auto 1fr; }
  .telegram-bot-card > .button { grid-column: 1 / -1; width: 100%; }
  .permission-table-wrap { margin-right: -14px; border-radius: 12px 0 0 12px; }
  .guide-help { grid-template-columns: 1fr; padding: 27px; }
  .guide-help-actions .button { width: 100%; }
  .download-panel { grid-template-columns: 1fr; padding: 25px; }
  .download-panel > .button { grid-column: auto; }
  .download-dialog-card { padding: 27px 20px 22px; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .button { width: 100%; }
  .news-hero { padding: 70px 0 38px; }
  .news-list-section { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .news-actions .button { width: 100%; }
}

@media (max-width: 420px) {
  .header-inner { gap: 10px; }
  .brand { gap: 8px; font-size: 14px; }
  .brand img { width: 38px; height: 38px; }
  .status-pill { gap: 6px; padding: 6px 8px; font-size: 8px; white-space: nowrap; }
  .support-card { padding: 24px; }
  .wallet-card { padding: 19px; }
  .steps-list li { grid-template-columns: 30px 1fr; padding: 13px; }
  .guide-help { padding: 23px; }
}

@supports (padding: max(0px)) {
  .site-header,
  main,
  .site-footer {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .site-footer { padding-bottom: max(30px, calc(18px + env(safe-area-inset-bottom))); }
  .support-section { padding-bottom: max(140px, calc(88px + env(safe-area-inset-bottom))); }
}

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