:root {
  color-scheme: dark;
  --bg: #0a0d15;
  --sidebar: #101521;
  --panel: #141a27;
  --panel-2: #192131;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 181, 46, 0.34);
  --text: #f1f3f8;
  --muted: #8f9aaf;
  --muted-2: #68748b;
  --gold: #ffb52e;
  --gold-dark: #d78b08;
  --cyan: #4ad9f5;
  --green: #4ce0a8;
  --danger: #ff8176;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 76% 0, rgba(52, 64, 102, .23), transparent 31%), var(--bg); }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

.workspace-shell { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 100vh; }
.workspace-sidebar { position: sticky; top: 0; z-index: 20; display: flex; flex-direction: column; min-height: 100vh; height: 100vh; padding: 19px 16px; border-right: 1px solid var(--line); background: rgba(16, 21, 33, .97); overflow: auto; }
.workspace-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.workspace-brand img { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 22px; object-fit: contain; box-shadow: 0 0 0 1px rgba(255, 181, 46, .36), 0 16px 34px rgba(0, 0, 0, .36), 0 0 30px rgba(126, 62, 255, .14); }
.workspace-brand span { display: grid; line-height: 1.05; }
.workspace-brand strong { font-size: .82rem; letter-spacing: .02em; }
.workspace-brand small { margin-top: 5px; color: var(--gold); font-size: .59rem; font-weight: 900; letter-spacing: .23em; }

.workspace-nav { display: grid; gap: 5px; margin-top: 35px; }
.workspace-nav a { display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 8px; min-height: 42px; padding: 8px 10px; border: 1px solid transparent; border-radius: 7px; color: #7f8a9e; font-size: .76rem; font-weight: 800; transition: .18s ease; }
.workspace-nav a i { color: #58637a; font: normal 600 .62rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.workspace-nav a:hover { color: #d9deea; background: rgba(255, 255, 255, .035); }
.workspace-nav a.active { color: #fff; border-color: rgba(255, 255, 255, .04); background: #1c2333; }
.workspace-nav a.active i { color: var(--gold); }

.mobile-menu-toggle { display: none; }
.mobile-donate-link { display: none !important; }

.workspace-main { display: flex; flex-direction: column; min-width: 0; min-height: 100vh; }
.workspace-topbar { position: sticky; top: 0; z-index: 15; display: flex; justify-content: space-between; align-items: center; min-height: 73px; padding: 12px clamp(18px, 3.2vw, 48px); border-bottom: 1px solid var(--line); background: rgba(10, 13, 21, .84); backdrop-filter: blur(18px); }
.workspace-topbar > div:first-child { display: grid; gap: 3px; }
.topbar-kicker { color: var(--muted-2); font: 750 .59rem ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; }
#currentSectionLabel { font-size: 1rem; }
.topbar-actions { display: flex; gap: 7px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 39px; padding: 0 15px; border: 1px solid transparent; border-radius: 7px; font-size: .72rem; font-weight: 900; cursor: pointer; transition: transform .16s ease, filter .16s ease, border-color .16s ease; }
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.button-primary { color: #17120a; background: var(--gold); }
.button-secondary { color: #dbe1ed; border-color: var(--line); background: #1b2231; }
.button-ghost { color: #bdc5d4; border-color: var(--line); background: rgba(255, 255, 255, .03); }
.button-donate { border-color: rgba(255, 213, 77, .38); background: linear-gradient(135deg, #ffd54d, var(--gold)); box-shadow: 0 0 0 1px rgba(255, 181, 46, .06), 0 9px 25px rgba(255, 181, 46, .11); }
.button[disabled] { cursor: wait; opacity: .58; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: #d7ddea; font-size: .75rem; font-weight: 800; }
.text-link span { color: var(--gold); }

.page-section { scroll-margin-top: 85px; padding: clamp(45px, 7vw, 92px) clamp(18px, 4vw, 62px); }
.standalone-page { flex: 1 0 auto; min-height: calc(100vh - 73px - 65px); }
.panel { border: 1px solid var(--line); border-radius: 13px; background: var(--panel); box-shadow: 0 22px 65px rgba(0, 0, 0, .21); }
.eyebrow { color: var(--gold); font: 900 .64rem ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .17em; }

.hero-section { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); gap: 14px; align-items: stretch; min-height: calc(100vh - 73px); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 68px); overflow: hidden; background: radial-gradient(circle at 90% 8%, rgba(255, 181, 46, .12), transparent 29%), linear-gradient(145deg, #151b29, #111621); }
.hero-copy h1 { max-width: 780px; margin: 18px 0 21px; font-size: clamp(3.1rem, 6.4vw, 6.9rem); line-height: .88; letter-spacing: -.064em; }
.hero-copy h1 em { color: var(--gold); font-style: normal; }
.hero-copy p { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(.98rem, 1.5vw, 1.14rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 29px; }
.hero-dashboard { display: flex; flex-direction: column; padding: 22px; background: #121825; }
.mini-heading, .panel-title { display: flex; justify-content: space-between; align-items: center; color: var(--muted-2); font-size: .61rem; font-weight: 900; letter-spacing: .11em; }
.mini-heading b, .panel-title b { color: var(--green); font-size: .62rem; letter-spacing: 0; }
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: auto 0; }
.hero-stat-grid article { display: grid; gap: 6px; min-height: 124px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: #181f2e; }
.hero-stat-grid small { color: var(--muted-2); font-size: .56rem; font-weight: 900; letter-spacing: .11em; }
.hero-stat-grid strong { align-self: end; color: #fff; font-size: clamp(1.25rem, 2.1vw, 1.9rem); }
.hero-stat-grid span { color: var(--muted); font-size: .69rem; }
.round-strip { display: flex; align-items: center; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #0f1420; }
.round-strip span { color: var(--green); font-size: .6rem; font-weight: 900; }
.round-strip i { width: 8px; height: 8px; border: 2px solid #20394a; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(76, 224, 168, .6); }
.round-strip i.hot { background: var(--gold); box-shadow: 0 0 8px rgba(255, 181, 46, .6); }
.round-strip b { margin-left: auto; color: var(--muted-2); font-size: .6rem; }

.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 27px; }
.section-heading h1, .section-heading h2 { margin: 8px 0 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.045em; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.6; }

.calculator-section { padding-top: clamp(15px, 2.33vw, 31px); background: rgba(255, 255, 255, .012); }
.calculator-app-promo { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr); height: 260px; min-height: 0; margin-bottom: clamp(16px, 2.5vw, 22px); overflow: hidden; border-color: rgba(255, 181, 46, .28); background: radial-gradient(circle at 88% 12%, rgba(123, 75, 255, .2), transparent 34%), linear-gradient(135deg, #151b2a, #0b1324 58%, #101b2a); }
.calculator-app-promo-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 7px; padding: 14px 20px; }
.calculator-app-promo-copy h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2.15rem); line-height: 1; letter-spacing: -.04em; }
.calculator-app-promo-copy p { max-width: 610px; margin: 0; color: var(--muted); font-size: .67rem; line-height: 1.35; }
.calculator-app-promo-features { display: none; }
.calculator-app-promo-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.calculator-app-promo-actions .button { min-height: 34px; padding-inline: 12px; }
.calculator-app-promo-features span { padding: 6px 9px; border: 1px solid rgba(74, 217, 245, .22); border-radius: 999px; color: #c9d7e7; background: rgba(74, 217, 245, .05); font-size: .59rem; font-weight: 850; }
.calculator-app-promo-visual { position: relative; display: block; height: 260px; min-height: 0; overflow: hidden; border-left: 1px solid var(--line); background: #050a13; }
.calculator-app-promo-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0d1424 0, transparent 30%), linear-gradient(0deg, rgba(5, 10, 19, .55), transparent 40%); pointer-events: none; }
.calculator-app-promo-visual img { display: block; width: 100%; height: 260px; min-height: 0; object-fit: cover; object-position: 16% 18%; opacity: 1; transform: scale(1.025); transition: opacity .22s ease, transform .3s ease, filter .3s ease; }
.calculator-app-promo-visual.is-changing img { opacity: 0; transform: scale(1.05); }
.calculator-app-promo-visual:hover img { transform: scale(1.055); filter: brightness(1.08); }
.calculator-app-promo-visual > span { position: absolute; z-index: 2; right: 14px; bottom: 13px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(68, 231, 166, .26); border-radius: 999px; color: var(--green); background: rgba(7, 13, 22, .86); font-size: .56rem; font-weight: 900; letter-spacing: .08em; opacity: 1; transition: opacity .22s ease; }
.calculator-app-promo-visual.is-changing > span { opacity: 0; }
.calculator-app-promo-visual > span b { font: inherit; }
.calculator-app-promo-visual > span i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(68, 231, 166, .11); }
.calculator-workspace { display: grid; grid-template-columns: minmax(310px, .8fr) minmax(470px, 1.2fr); gap: 13px; align-items: start; }
.calculator-inputs, .calculator-results { padding: 20px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 18px 0 12px; }
.calculator-inputs label { display: grid; gap: 6px; min-width: 0; }
.calculator-inputs label span { color: var(--muted); font-size: .63rem; font-weight: 850; letter-spacing: .06em; }
.calculator-inputs input { width: 100%; min-height: 39px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; outline: none; color: #fff; background: #0c111c; }
.calculator-inputs input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 181, 46, .08); }
.advanced-settings { margin-top: 12px; border: 1px solid var(--line); border-radius: 9px; background: #111722; overflow: hidden; }
.advanced-settings summary { display: flex; justify-content: space-between; padding: 13px; list-style: none; cursor: pointer; }
.advanced-settings summary::-webkit-details-marker { display: none; }
.advanced-settings summary span { font-size: .73rem; font-weight: 900; }
.advanced-settings summary b { color: var(--muted-2); font-size: .61rem; }
.advanced-settings[open] summary { border-bottom: 1px solid var(--line); }
.advanced-body { display: grid; gap: 8px; padding: 12px; }
.advanced-body h3 { margin: 8px 0 2px; color: var(--gold); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.boost-row { display: grid; grid-template-columns: 1fr 78px 78px; gap: 7px; align-items: end; padding: 9px; border-radius: 7px; background: #171e2b; }
.boost-row-wide { grid-template-columns: minmax(90px, 1fr) repeat(3, 70px); }
.boost-row > strong { align-self: center; font-size: .66rem; }
.boost-label, .result-type { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.calculator-boost-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid rgba(255, 181, 46, .24); border-radius: 8px; background: linear-gradient(145deg, rgba(255, 181, 46, .14), rgba(38, 211, 255, .07)); font-size: 1rem; line-height: 1; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .3)); }
.boost-row input { min-height: 33px; padding: 5px 7px; }
.boost-row label span { font-size: .52rem; }
.spell-grid { display: grid; gap: 6px; }
.reset-button { width: 100%; margin-top: 12px; }
.result-summary { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: stretch; margin: 18px 0 13px; }
.result-summary article { display: flex; justify-content: space-between; align-items: end; gap: 15px; padding: 16px; border-radius: 9px; background: linear-gradient(100deg, rgba(255, 181, 46, .13), rgba(62, 87, 135, .22)); }
.result-summary article span { color: var(--muted); font-size: .68rem; }
.result-summary article strong { color: var(--gold); font-size: clamp(1.55rem, 3vw, 2.45rem); line-height: 1; }
.result-summary > div { display: grid; gap: 6px; min-width: 145px; }
.result-summary > div span { display: flex; justify-content: space-between; gap: 14px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: .61rem; }
.result-summary > div b { color: #fff; }
.result-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; }
.result-table { width: 100%; min-width: 430px; border-collapse: collapse; font-size: .69rem; }
.result-table th, .result-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; }
.result-table th { color: var(--cyan); background: #101622; font-size: .57rem; letter-spacing: .08em; text-transform: uppercase; }
.result-table th:first-child, .result-table td:first-child { text-align: left; }
.result-table td { color: #c8d0df; font-variant-numeric: tabular-nums; }
.result-table td:first-child { min-width: 145px; color: #eef2f8; font-weight: 800; }
.result-type .calculator-boost-icon { width: 27px; height: 27px; border-radius: 7px; font-size: .9rem; }
.result-table tr:last-child td { border-bottom: 0; }
.result-table tr.result-total td { color: #fff; background: rgba(255, 181, 46, .08); font-weight: 900; }
.result-table tr.result-base td { color: var(--muted); }
.result-table tr.result-empty { display: none; }
.calculator-note { margin: 11px 0 0; color: var(--muted-2); font-size: .62rem; line-height: 1.45; }
.solo-calculator { margin-top: 16px; padding: clamp(18px, 3vw, 28px); background: linear-gradient(145deg, rgba(38, 211, 255, .045), var(--panel) 38%, rgba(255, 181, 46, .04)); }
.standalone-page > .solo-calculator { margin-top: 0; }
.solo-calculator-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.solo-calculator-heading h2,
.solo-calculator-heading h3 { margin: 8px 0 7px; font-size: clamp(1.55rem, 3vw, 2.35rem); letter-spacing: -.035em; }
.solo-calculator-heading p { max-width: 650px; margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.solo-live-context { display: grid; grid-template-columns: auto minmax(180px, 1fr); align-items: center; gap: 8px 10px; min-width: min(100%, 360px); }
.solo-live-context > span { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 181, 46, .11); }
.solo-live-context > span[data-state='ready'] { background: var(--green); box-shadow: 0 0 0 4px rgba(68, 231, 166, .11); }
.solo-live-context > span[data-state='error'] { background: var(--danger); box-shadow: 0 0 0 4px rgba(255, 129, 118, .11); }
.solo-live-context strong { color: #c8d2e1; font-size: .62rem; line-height: 1.4; }
.solo-live-context .button { grid-column: 1 / -1; min-height: 36px; padding: 8px 12px; }
.solo-live-context .button:disabled { cursor: wait; opacity: .55; }
.solo-calculator-form { margin-top: 18px; }
.solo-input-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.solo-input-grid label { display: grid; gap: 6px; min-width: 0; }
.solo-input-grid label span { color: var(--muted); font-size: .58rem; font-weight: 850; letter-spacing: .055em; }
.solo-input-grid input { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; outline: none; color: #fff; background: #0c111c; font-variant-numeric: tabular-nums; }
.solo-input-grid input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(38, 211, 255, .08); }
.solo-result-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.solo-result-summary article { display: grid; gap: 9px; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: rgba(10, 15, 25, .68); }
.solo-result-summary span { color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .04em; }
.solo-result-summary strong { overflow: hidden; color: #fff; font-size: clamp(.88rem, 1.5vw, 1.18rem); font-variant-numeric: tabular-nums; text-overflow: ellipsis; }
.solo-result-summary article.is-positive { border-color: rgba(68, 231, 166, .28); background: rgba(68, 231, 166, .06); }
.solo-result-summary article.is-positive strong, #soloDailyResult.is-positive { color: var(--green); }
.solo-result-summary article.is-negative { border-color: rgba(255, 129, 118, .28); background: rgba(255, 129, 118, .06); }
.solo-result-summary article.is-negative strong, #soloDailyResult.is-negative { color: var(--danger); }
.solo-result-detail { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(390px, 1.2fr); gap: 10px; margin-top: 10px; }
.solo-net-visual, .solo-result-table-wrap { border: 1px solid var(--line); border-radius: 9px; background: rgba(10, 15, 25, .56); }
.solo-net-visual { display: flex; flex-direction: column; justify-content: center; min-height: 235px; padding: 22px; }
.solo-net-visual > span { color: var(--cyan); font-size: .57rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.solo-net-visual > strong { margin: 12px 0 18px; color: #fff; font-size: clamp(1.55rem, 3vw, 2.6rem); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.solo-result-track { height: 9px; border-radius: 999px; background: #202939; overflow: hidden; }
.solo-result-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--green)); transition: width .24s ease; }
.solo-result-track i.is-negative { background: linear-gradient(90deg, var(--gold), var(--danger)); }
.solo-net-visual small { margin-top: 10px; color: var(--muted-2); font-size: .6rem; line-height: 1.45; }
.solo-result-table-wrap { overflow-x: auto; }
.solo-result-table { width: 100%; min-width: 390px; height: 100%; border-collapse: collapse; }
.solo-result-table th, .solo-result-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .65rem; }
.solo-result-table th { color: var(--muted); text-align: left; font-weight: 750; }
.solo-result-table td { color: #e4e9f2; text-align: right; font-variant-numeric: tabular-nums; }
.solo-result-table tr:last-child th, .solo-result-table tr:last-child td { border-bottom: 0; }
.solo-result-net-row th, .solo-result-net-row td { color: #fff; background: rgba(255, 181, 46, .06); font-weight: 900; }
.solo-calculator-note { margin: 11px 0 0; color: var(--muted-2); font-size: .61rem; line-height: 1.5; }

.feature-tour-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin: 5px 0 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.feature-tour-heading h2, .feature-catalog-heading h2 { margin: 8px 0 0; font-size: clamp(1.65rem, 3vw, 2.65rem); letter-spacing: -.04em; }
.feature-tour-heading > p { max-width: 520px; margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.feature-tour { display: grid; gap: 18px; }
.feature-tour-card { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(28, 36, 54, .94), rgba(15, 20, 31, .98)); box-shadow: 0 24px 70px rgba(0, 0, 0, .22); overflow: hidden; }
.feature-tour-card > header { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.feature-tour-card > header > span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(74, 217, 245, .32); border-radius: 10px; color: var(--cyan); background: rgba(74, 217, 245, .06); font: 900 .76rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.feature-tour-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.feature-tour-card header p { margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.feature-tour-card header a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; color: #d8dfeb; font-size: .64rem; font-weight: 850; white-space: nowrap; }
.feature-tour-card header a:hover { border-color: rgba(255, 181, 46, .4); color: var(--gold); }
.feature-tour-image { display: block; padding: clamp(8px, 1.8vw, 18px); background: #090d17; }
.feature-tour-image img { display: block; width: 100%; height: auto; margin: 0 auto; border: 1px solid rgba(74, 217, 245, .15); border-radius: 9px; background: #020817; }
.feature-tour-image-portrait img { max-width: 760px; }
.feature-catalog-heading { margin: clamp(48px, 7vw, 82px) 0 20px; padding-top: 25px; border-top: 1px solid var(--line); }
.feature-catalog-heading p { margin: 8px 0 0; color: var(--muted); font-size: .76rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.feature-card { position: relative; display: flex; flex-direction: column; min-height: 220px; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); overflow: hidden; }
.feature-card::after { content: attr(data-index); position: absolute; top: 13px; right: 14px; color: #404a5e; font: 700 .65rem ui-monospace, monospace; }
.feature-card .feature-tag { color: var(--cyan); font-size: .57rem; font-weight: 900; letter-spacing: .13em; }
.feature-card h3 { margin: 13px 0 8px; font-size: 1.08rem; }
.feature-card p { margin: 0 0 15px; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.feature-card ul { display: grid; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; }
.feature-card li { color: #bbc4d4; font-size: .65rem; }
.feature-card li::before { content: "↳"; margin-right: 7px; color: var(--gold); }
.loading-card { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); text-align: center; }

.license-section { background: #0c1019; }
.license-referral-banner { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; margin-bottom: clamp(34px, 5vw, 62px); padding: clamp(25px, 3.2vw, 36px); border-color: rgba(255, 181, 46, .32); background: linear-gradient(120deg, #20180c, #131827 42%, #101d22); overflow: hidden; }
.license-referral-banner::after { content: ""; position: absolute; z-index: -1; right: 7%; width: 250px; height: 250px; border: 1px solid rgba(255, 181, 46, .17); border-radius: 50%; box-shadow: 0 0 0 34px rgba(74, 217, 245, .035), 0 0 0 68px rgba(76, 224, 168, .025); }
.license-referral-copy { min-width: 0; }
.license-referral-copy h2 { max-width: 780px; margin: 8px 0 9px; font-size: clamp(1.55rem, 3vw, 2.65rem); line-height: 1.04; letter-spacing: -.04em; }
.license-referral-copy p { max-width: 790px; margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.license-referral-copy small { display: block; margin-top: 10px; color: var(--muted-2); font-size: .59rem; line-height: 1.4; }
.license-referral-offer { position: relative; min-width: 250px; padding: 22px 24px; border: 1px solid rgba(255, 181, 46, .26); border-radius: 13px; background: rgba(9, 13, 22, .84); text-align: center; backdrop-filter: blur(10px); }
.license-referral-offer > span { color: var(--muted); font-size: .64rem; }
.license-referral-offer > strong { display: block; margin: 6px 0 13px; color: var(--gold); font-size: 1.35rem; }
.license-referral-offer .button { width: 100%; }
.discount-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -4px 0 20px; }
.discount-bar span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .66rem; }
.discount-bar b { margin-left: 5px; color: var(--green); }
.pricing-grid { display: grid; grid-template-columns: repeat(var(--pricing-columns, 3), minmax(0, 1fr)); gap: 10px; }
.pricing-card { position: relative; display: flex; flex-direction: column; min-height: 270px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.pricing-card.featured { border-color: rgba(255, 181, 46, .55); background: linear-gradient(150deg, rgba(255, 181, 46, .09), var(--panel) 44%); }
.pricing-card.featured::before { content: "POPULAR"; position: absolute; top: 13px; right: 14px; color: var(--gold); font-size: .54rem; font-weight: 950; letter-spacing: .12em; }
.pricing-number { color: var(--muted-2); font: 700 .61rem ui-monospace, monospace; }
.pricing-card h3 { margin: 13px 0 4px; font-size: 1.25rem; }
.pricing-price { min-height: 36px; margin-top: 10px; color: #fff; font-size: 1.4rem; font-weight: 950; }
.pricing-price small { color: var(--muted); font-size: .62rem; font-weight: 700; }
.pricing-card > p { color: var(--muted); font-size: .7rem; line-height: 1.5; }
.pricing-options { display: grid; gap: 6px; margin: auto 0 15px; }
.pricing-options span { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); color: #b8c1d1; font-size: .63rem; }
.pricing-options b { color: #fff; }
.pricing-card .button { width: 100%; }
.license-cta { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 13px; padding: 22px; }
.license-cta h3 { margin: 7px 0 0; font-size: 1.2rem; }

.license-comparison-panel, .website-payment-panel { padding: clamp(18px, 3vw, 30px); }
.license-comparison-panel { background: linear-gradient(145deg, rgba(38, 211, 255, .045), var(--panel) 35%, rgba(255, 181, 46, .045)); }
.website-payment-panel { margin-top: 14px; background: linear-gradient(145deg, rgba(68, 231, 166, .04), var(--panel) 34%, rgba(38, 211, 255, .035)); }
.license-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.license-panel-heading h2 { margin: 7px 0 0; font-size: clamp(1.45rem, 3vw, 2.2rem); letter-spacing: -.035em; }
.license-live-source, .license-payment-state { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border: 1px solid rgba(68, 231, 166, .24); border-radius: 999px; color: #b9cfca; background: rgba(68, 231, 166, .055); font-size: .62rem; font-weight: 850; white-space: nowrap; }
.license-live-source i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(68, 231, 166, .1); }
.license-payment-state { border-color: var(--line); color: var(--muted); background: rgba(255, 255, 255, .025); }
.license-payment-state[data-state='ready'] { border-color: rgba(68, 231, 166, .24); color: var(--green); background: rgba(68, 231, 166, .055); }
.license-payment-state[data-state='error'] { border-color: rgba(255, 129, 118, .3); color: var(--danger); background: rgba(255, 129, 118, .055); }
#licenseMatrix { width: min(100%, 980px); margin-inline: auto; }
.license-matrix-loading { min-height: 180px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 11px; color: var(--muted); font-size: .72rem; }
.license-matrix-scroll { border: 1px solid var(--line); border-radius: 11px; overflow-x: auto; background: rgba(8, 13, 22, .62); }
.license-matrix { width: 100%; }
.license-matrix-row { display: grid; grid-template-columns: minmax(190px, 1.4fr) repeat(var(--license-tier-count), minmax(120px, 1fr)); min-height: 40px; border-bottom: 1px solid var(--line); }
.license-matrix-row:last-child { border-bottom: 0; }
.license-matrix-row > span { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; min-width: 0; padding: 6px 10px; border-left: 1px solid var(--line); color: #d9e0eb; text-align: center; font-size: .66rem; }
.license-matrix-row > span:first-child { align-items: flex-start; border-left: 0; color: #f1f4f8; text-align: left; font-weight: 850; }
.license-matrix-head { min-height: 36px; background: linear-gradient(90deg, #172238, #111a2b); }
.license-matrix-head > span { color: var(--muted-2); font: 900 .58rem ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .11em; text-transform: uppercase; }
.license-matrix-head > span:not(:first-child) { color: var(--cyan); }
.license-matrix-yes { color: var(--green); font-size: 1.05rem; line-height: 1; }
.license-matrix-no { color: #596377; font-size: .85rem; }
.license-matrix-limit { color: #fff; font-size: .7rem; }
.license-matrix-price { min-height: 52px; background: rgba(255, 181, 46, .045); }
.license-matrix-price > span:first-child { color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.license-matrix-price strong { display: inline-flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 4px; color: #fff; font-size: 1rem; }
.license-matrix-price strong small { color: var(--gold); font-size: .58rem; }
.license-matrix-price .license-matrix-usd { color: var(--green); font-size: .62rem; font-style: normal; font-weight: 850; white-space: nowrap; }
.license-matrix-price > span > small { color: var(--muted-2); font-size: .54rem; }
.license-term-discounts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.license-term-discounts span { padding: 8px 11px; border: 1px solid rgba(68, 231, 166, .22); border-radius: 999px; color: #b9c7d6; background: rgba(68, 231, 166, .045); font-size: .62rem; }
.license-term-discounts b { margin-left: 4px; color: var(--green); }
.license-payment-note { margin: -3px 0 18px; color: var(--muted); font-size: .7rem; line-height: 1.55; }
#paymentProcess { min-height: 150px; }
.website-payment-auth, .website-payment-verify, .website-payment-checkout { border: 1px solid var(--line); border-radius: 11px; padding: clamp(16px, 2.5vw, 24px); background: rgba(8, 13, 22, .58); }
.website-payment-auth { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(320px, 1.25fr); gap: 22px; align-items: start; }
.website-payment-auth h3, .website-payment-verify h3, .website-payment-checkout h3 { margin: 7px 0 8px; font-size: 1.05rem; }
.website-payment-auth p, .website-payment-verify p, .website-payment-checkout p { margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.55; }
.website-payment-auth form, .website-payment-form { display: grid; gap: 10px; }
.website-payment-auth label, .website-payment-form label { display: grid; gap: 6px; color: var(--muted); font-size: .6rem; font-weight: 850; letter-spacing: .045em; }
.website-payment-auth input, .website-payment-form input, .website-payment-form select, .website-payment-code input { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; outline: none; color: #fff; background: #0b111c; font: inherit; }
.website-payment-auth input:focus, .website-payment-form input:focus, .website-payment-form select:focus, .website-payment-code input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(38, 211, 255, .08); }
.website-payment-actions, .website-payment-code { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.website-payment-actions .button { flex: 1 1 150px; }
.website-payment-account { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: -4px -4px 18px; padding: 10px 12px; border: 1px solid rgba(68, 231, 166, .17); border-radius: 8px; color: var(--green); background: rgba(68, 231, 166, .045); font-size: .64rem; font-weight: 850; }
.website-payment-account .button { min-height: 31px; }
.website-payment-verify > small { display: block; margin-top: 10px; color: var(--muted-2); font-size: .58rem; }
.website-payment-code { margin-top: 15px; }
.website-payment-code input { flex: 0 1 160px; color: var(--gold); font-size: 1.2rem; font-weight: 900; letter-spacing: .32em; text-align: center; }
.website-payment-steps { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 16px; }
.website-payment-step-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.website-payment-step-badges span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-2); font-size: .54rem; font-weight: 850; }
.website-payment-step-badges span.done { border-color: rgba(68, 231, 166, .21); color: var(--green); background: rgba(68, 231, 166, .04); }
.website-payment-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.website-payment-form > label:nth-child(4) { grid-column: 1 / -1; }
.website-payment-preview { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 5px 15px; padding: 14px; border: 1px solid rgba(255, 181, 46, .22); border-radius: 9px; background: rgba(255, 181, 46, .045); }
.website-payment-preview > span { color: var(--muted); font-size: .62rem; }
.website-payment-preview > strong { color: var(--gold); font-size: 1rem; }
.website-payment-preview > small { grid-column: 1 / -1; color: var(--muted-2); font-size: .57rem; line-height: 1.4; }
.website-create-order { grid-column: 1 / -1; min-height: 44px; }
.website-create-order:disabled { cursor: wait; opacity: .55; }
.website-payment-message, .website-payment-unavailable { margin-top: 12px; padding: 11px 13px; border: 1px solid rgba(68, 231, 166, .22); border-radius: 8px; color: #c7ddd6; background: rgba(68, 231, 166, .045); font-size: .64rem; line-height: 1.45; }
.website-payment-message.error, .website-payment-unavailable { border-color: rgba(255, 129, 118, .25); color: #e8bbb6; background: rgba(255, 129, 118, .045); }
.website-payment-order { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #0c121e; }
.website-payment-order.pending { border-color: rgba(255, 181, 46, .31); }
.website-payment-order.paid, .website-payment-order.completed { border-color: rgba(68, 231, 166, .31); }
.website-payment-order-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.website-payment-order-head > div { display: grid; gap: 3px; }
.website-payment-order-head span { color: var(--muted-2); font-size: .56rem; }
.website-payment-order-head strong { color: #fff; font-size: .88rem; }
.website-payment-order-head b { color: var(--gold); font-size: .68rem; }
.website-payment-instruction { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(180px, 1.3fr) auto; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.website-payment-instruction span { color: var(--muted); font-size: .6rem; }
.website-payment-instruction strong { color: var(--gold); font-size: .86rem; }
.website-payment-instruction code { overflow-wrap: anywhere; color: #e6ebf4; font-size: .67rem; }
.website-payment-instruction .button { min-height: 31px; }
.website-payment-qr { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.website-payment-qr img { width: 105px; height: 105px; padding: 5px; border-radius: 8px; background: #fff; }
.website-payment-qr small { color: var(--muted); font-size: .58rem; }
.website-payment-order > p { padding-top: 11px; border-top: 1px solid var(--line); }
.website-payment-order > a { display: inline-flex; margin-top: 9px; color: var(--cyan); font-size: .62rem; font-weight: 850; }

.donation-page-section { background: #0c1019; }
.donation-shell { width: min(100%, 1050px); margin-inline: auto; padding: clamp(19px, 3vw, 31px); border-color: rgba(255, 181, 46, .27); background: radial-gradient(circle at 92% 4%, rgba(255, 181, 46, .10), transparent 25%), linear-gradient(145deg, rgba(38, 211, 255, .035), var(--panel) 36%, rgba(255, 181, 46, .04)); }
.donation-heading { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 17px; align-items: center; margin-bottom: 21px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.donation-heart { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid rgba(255, 181, 46, .34); border-radius: 15px; background: rgba(255, 181, 46, .07); box-shadow: inset 0 0 24px rgba(255, 181, 46, .06); font-size: 1.8rem; }
.donation-heading h2 { margin: 6px 0 5px; font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.03em; }
.donation-heading p { max-width: 690px; margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.donation-type-badge { padding: 8px 11px; border: 1px solid rgba(68, 231, 166, .22); border-radius: 999px; color: var(--green); background: rgba(68, 231, 166, .045); font: 850 .55rem ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; white-space: nowrap; }
#donationProcess { min-height: 250px; }
.website-donation-auth, .website-donation-checkout { padding: clamp(16px, 2.5vw, 24px); border: 1px solid var(--line); border-radius: 11px; background: rgba(8, 13, 22, .62); }
.website-donation-auth { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(320px, 1.2fr); gap: 22px; align-items: start; }
.website-donation-auth h3 { margin: 7px 0 8px; font-size: 1.05rem; }
.website-donation-auth p { margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.55; }
.website-donation-auth form, .website-donation-form { display: grid; gap: 10px; }
.website-donation-auth label, .website-donation-form label { display: grid; gap: 6px; color: var(--muted); font-size: .6rem; font-weight: 850; letter-spacing: .045em; }
.website-donation-auth input, .website-donation-form input, .website-donation-form select { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; outline: none; color: #fff; background: #0b111c; font: inherit; }
.website-donation-auth input:focus, .website-donation-form input:focus, .website-donation-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 181, 46, .08); }
.website-donation-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.website-donation-form > label:nth-child(3), .website-donation-show { grid-column: 1 / -1; }
.website-donation-show { min-height: 44px; }
.website-donation-message { margin: 12px 0 0; padding: 11px 13px; border: 1px solid rgba(68, 231, 167, .22); border-radius: 8px; color: #c7ddd6; background: rgba(68, 231, 167, .045); font-size: .64rem; line-height: 1.45; }
.website-donation-message.error { border-color: rgba(255, 129, 118, .25); color: #e8bbb6; background: rgba(255, 129, 118, .045); }
.website-donation-placeholder { display: grid; place-items: center; min-height: 118px; margin-top: 14px; padding: 18px; border: 1px dashed rgba(255, 181, 46, .28); border-radius: 10px; color: var(--muted); background: rgba(255, 181, 46, .025); font-size: .65rem; text-align: center; }
.website-donation-result { margin-top: 14px; padding: 17px; border: 1px solid rgba(255, 181, 46, .31); border-radius: 10px; background: #0c121e; }
.website-donation-result .website-payment-order-head { margin-bottom: 10px; }
.website-donation-result .website-payment-order-head > div > span:first-child { color: var(--gold); font: 900 .56rem ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .11em; text-transform: uppercase; }
.website-donation-result .website-payment-instruction .button { min-width: 112px; }
.website-donation-result .website-payment-qr > div { display: grid; justify-items: start; gap: 8px; }
.website-donation-result > p { margin: 8px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .62rem; line-height: 1.5; }
.website-donation-result > p strong { color: #e7ebf3; overflow-wrap: anywhere; }
.donation-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: min(100%, 1050px); margin: 12px auto 0; }
.donation-info-grid article { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: rgba(20, 26, 39, .68); }
.donation-info-grid article > span { color: var(--cyan); font: 900 .62rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.donation-info-grid strong { display: block; font-size: .7rem; }
.donation-info-grid p { margin: 5px 0 0; color: var(--muted); font-size: .6rem; line-height: 1.45; }

.download-section { padding-block: 45px; }
.download-card { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: clamp(22px, 4vw, 38px); background: linear-gradient(120deg, rgba(255, 181, 46, .09), #151b28 38%); }
.download-icon img { width: 78px; height: 78px; border-radius: 16px; object-fit: cover; }
.download-card h2 { max-width: 700px; margin: 8px 0; font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -.035em; }
.download-card p { max-width: 750px; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.download-page-section { background: #0c1019; }
.android-download-hero { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(310px, .86fr); gap: 14px; margin-bottom: 14px; scroll-margin-top: 95px; }
.android-download-overview, .android-latest-panel, .android-release-panel, .android-install-panel { padding: clamp(20px, 2.5vw, 30px); }
.android-download-overview { display: flex; flex-direction: column; background: linear-gradient(125deg, rgba(255, 181, 46, .075), #151b28 42%); }
.android-app-identity { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.android-download-logo { width: 86px; height: 86px; border: 1px solid rgba(255, 181, 46, .28); border-radius: 17px; object-fit: cover; box-shadow: 0 18px 38px rgba(0, 0, 0, .32); }
.android-app-identity h2, .android-install-panel h2 { margin: 7px 0 6px; font-size: clamp(1.45rem, 2.4vw, 2.2rem); letter-spacing: -.035em; }
.android-app-identity p, .android-install-panel > p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.android-release-summary { margin: 22px 0; padding: 17px 18px; border: 1px solid rgba(68, 231, 166, .2); border-radius: 10px; background: rgba(68, 231, 166, .045); }
.android-release-summary > span { color: var(--green); font-size: .57rem; font-weight: 900; letter-spacing: .11em; }
.android-release-summary p { margin: 7px 0 0; color: #c9d2e1; font-size: .69rem; line-height: 1.6; }
.android-download-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; }
.android-latest-panel { background: linear-gradient(155deg, #171e2d, #121824); }
.android-build-heading { display: grid; gap: 5px; margin: 24px 0 18px; }
.android-build-heading span { color: var(--muted-2); font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.android-build-heading strong { color: #fff; font-size: clamp(1.45rem, 2.8vw, 2.35rem); letter-spacing: -.035em; }
.android-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.android-meta-grid article { display: grid; gap: 7px; min-width: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 9px; background: #0e1420; }
.android-meta-grid span { color: var(--muted-2); font-size: .55rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.android-meta-grid strong, .android-meta-grid code { overflow: hidden; color: #eef2f8; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.android-meta-wide { grid-column: 1 / -1; }
.android-install-note { margin: 15px 0 0; color: var(--muted); font-size: .6rem; line-height: 1.5; }
.android-download-content { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(280px, .72fr); gap: 14px; }
.android-panel-heading { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 17px; }
.android-panel-heading h2 { margin: 7px 0 0; font-size: 1.55rem; letter-spacing: -.035em; }
.android-panel-heading > span { color: var(--muted-2); font-size: .6rem; font-weight: 800; }
.android-release-list { display: grid; gap: 8px; }
.android-release-row { display: grid; grid-template-columns: minmax(112px, .48fr) minmax(0, 1.52fr) auto; gap: 16px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #0d131f; }
.android-release-row.is-latest { border-color: rgba(68, 231, 166, .27); background: linear-gradient(100deg, rgba(68, 231, 166, .055), #0d131f 34%); }
.android-release-version { display: grid; gap: 3px; }
.android-release-version span { color: var(--gold); font-size: .51rem; font-weight: 900; letter-spacing: .1em; }
.android-release-row.is-latest .android-release-version span { color: var(--green); }
.android-release-version strong { color: #fff; font-size: .92rem; }
.android-release-version small, .android-release-details small { color: var(--muted-2); font-size: .54rem; }
.android-release-details { min-width: 0; }
.android-release-details p { margin: 0 0 5px; color: #c5cede; font-size: .62rem; line-height: 1.52; }
.android-release-download { min-height: 34px; padding: 8px 12px; white-space: nowrap; }
.android-release-status { margin: 0; padding: 16px; color: var(--muted); font-size: .67rem; text-align: center; }
.android-release-status.error { color: var(--danger); }
.android-install-panel { align-self: start; }
.android-install-list { display: grid; gap: 8px; margin: 20px 0; padding: 0; list-style: none; }
.android-install-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 11px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: #0d131f; }
.android-install-list li > b { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255, 181, 46, .28); border-radius: 8px; color: var(--gold); font-size: .6rem; }
.android-install-list div { display: grid; gap: 3px; }
.android-install-list strong { color: #fff; font-size: .68rem; }
.android-install-list span { color: var(--muted); font-size: .58rem; line-height: 1.4; }
.community-section { padding-top: 20px; }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.community-grid article { padding: 25px; }
.community-grid h3 { margin: 11px 0 9px; font-size: 1.28rem; }
.community-grid p { color: var(--muted); font-size: .75rem; line-height: 1.6; }
.security-panel { border-color: rgba(255, 129, 118, .27); }
.security-panel .eyebrow { color: var(--danger); }
.workspace-footer { display: flex; gap: 18px; margin-top: auto; padding: 24px clamp(18px, 4vw, 62px); border-top: 1px solid var(--line); color: var(--muted-2); font-size: .65rem; }
.workspace-footer a { margin-left: auto; color: #aeb8ca; }

@media (max-width: 1040px) {
  .workspace-shell { grid-template-columns: 200px minmax(0, 1fr); }
  .workspace-brand { gap: 9px; }
  .workspace-brand img { width: 70px; height: 70px; border-radius: 16px; }
  .workspace-brand strong { font-size: .72rem; }
  .workspace-brand small { font-size: .52rem; }
  .hero-section, .calculator-workspace { grid-template-columns: 1fr; }
  .calculator-app-promo { grid-template-columns: minmax(260px, .9fr) minmax(300px, 1.1fr); }
  .hero-section { min-height: auto; }
  .hero-dashboard { min-height: 390px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { min-height: 235px; }
  .solo-result-detail { grid-template-columns: 1fr; }
  .solo-net-visual { min-height: 190px; }
  .website-payment-auth { grid-template-columns: 1fr; }
  .website-donation-auth { grid-template-columns: 1fr; }
  .license-referral-banner { grid-template-columns: 1fr; }
  .license-referral-offer { min-width: 0; }
  .android-download-hero, .android-download-content { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .workspace-shell { display: block; }
  .workspace-sidebar { position: sticky; top: 0; display: grid; grid-template-columns: 1fr auto auto; gap: 7px; align-items: center; min-height: 0; height: auto; padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .workspace-brand img { width: 52px; height: 52px; border-radius: 12px; }
  .mobile-menu-toggle { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; color: #fff; background: #1a2231; font-size: .7rem; font-weight: 850; }
  .mobile-menu-toggle b { color: var(--gold); }
  .mobile-donate-link { display: inline-flex !important; min-height: 36px; padding-inline: 11px; font-size: .64rem; }
  .workspace-nav { position: absolute; top: 58px; left: 10px; right: 10px; display: none; grid-template-columns: 1fr 1fr; gap: 5px; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: rgba(16, 21, 33, .98); box-shadow: 0 20px 50px #0009; }
  .workspace-nav.open { display: grid; }
  .workspace-topbar { display: none; }
  .page-section { scroll-margin-top: 65px; padding: 52px 16px; }
  .calculator-section { padding-top: 17px; }
  .hero-section { padding-top: 18px; }
  .hero-copy { padding: 28px 22px; }
  .hero-copy h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .calculator-app-promo-copy { padding: 13px 16px; }
  .calculator-app-promo-copy h2 { font-size: clamp(1.4rem, 4.5vw, 1.9rem); }
  .calculator-app-promo-visual, .calculator-app-promo-visual img { height: 260px; min-height: 0; }
  .hero-actions, .section-heading, .feature-tour-heading, .license-cta { align-items: stretch; flex-direction: column; }
  .section-heading, .feature-tour-heading { display: flex; }
  .section-heading > p { max-width: none; }
  .feature-tour-heading > p { max-width: none; }
  .feature-tour-card > header { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; padding: 13px; }
  .feature-tour-card > header > span { width: 38px; height: 38px; }
  .feature-tour-card header a { grid-column: 2; justify-self: start; }
  .feature-grid, .community-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 190px; }
  .result-summary { grid-template-columns: 1fr; }
  .result-summary > div { grid-template-columns: 1fr 1fr; }
  .solo-calculator-heading { align-items: stretch; flex-direction: column; }
  .solo-live-context { min-width: 0; }
  .solo-input-grid, .solo-result-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-card { grid-template-columns: auto 1fr; }
  .download-card .button { grid-column: 1 / -1; }
  .license-panel-heading, .website-payment-steps { align-items: flex-start; flex-direction: column; }
  .website-payment-step-badges { justify-content: flex-start; }
  .website-payment-instruction { grid-template-columns: 1fr auto; }
  .website-payment-instruction span { grid-column: 1 / -1; }
  .donation-heading { grid-template-columns: auto 1fr; }
  .donation-type-badge { grid-column: 2; justify-self: start; }
  .donation-info-grid { grid-template-columns: 1fr; }
  .workspace-footer { flex-wrap: wrap; }
  .workspace-footer a { margin-left: 0; }
  .android-release-row { grid-template-columns: 1fr; align-items: stretch; }
  .android-release-download { justify-self: start; }
}

@media (max-width: 620px) {
  .calculator-app-promo { grid-template-columns: 1fr; height: auto; }
  .calculator-app-promo-copy { padding: 14px 16px; }
  .calculator-app-promo-visual { height: 118px; min-height: 0; border-top: 1px solid var(--line); border-left: 0; }
  .calculator-app-promo-visual img { height: 118px; min-height: 0; }
  .calculator-app-promo-visual > span { right: 10px; bottom: 9px; }
}

@media (max-width: 460px) {
  .workspace-brand strong { font-size: .72rem; }
  .workspace-brand small { font-size: .52rem; }
  .hero-actions { gap: 14px; }
  .hero-actions .button { width: 100%; }
  .hero-stat-grid { grid-template-columns: 1fr; }
  .hero-dashboard { min-height: auto; }
  .hero-stat-grid article { min-height: 96px; }
  .field-grid, .result-summary > div { grid-template-columns: 1fr; }
  .boost-row, .boost-row-wide { grid-template-columns: 1fr 1fr; }
  .boost-row > strong { grid-column: 1 / -1; }
  .solo-input-grid, .solo-result-summary { grid-template-columns: 1fr; }
  .solo-result-table { min-width: 350px; }
  .download-card { grid-template-columns: 1fr; }
  .download-icon img { width: 62px; height: 62px; }
  .website-payment-form { grid-template-columns: 1fr; }
  .website-payment-form > label:nth-child(4), .website-payment-preview, .website-create-order { grid-column: auto; }
  .website-payment-preview { grid-template-columns: 1fr; }
  .website-payment-preview > small { grid-column: auto; }
  .website-payment-instruction { grid-template-columns: 1fr; }
  .website-payment-instruction .button { justify-self: start; }
  .donation-heading { grid-template-columns: 1fr; }
  .donation-heart { width: 52px; height: 52px; }
  .donation-type-badge { grid-column: auto; }
  .website-donation-form { grid-template-columns: 1fr; }
  .website-donation-form > label:nth-child(3), .website-donation-show { grid-column: auto; }
  .website-donation-result .website-payment-instruction .button { justify-self: start; }
  .license-referral-banner { padding: 22px; }
  .android-app-identity, .android-meta-grid { grid-template-columns: 1fr; }
  .android-meta-wide { grid-column: auto; }
  .android-download-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
