: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: 11px; min-width: 0; }
.workspace-brand img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 181, 46, .3); }
.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); }

.sidebar-status { display: grid; gap: 5px; margin-top: auto; padding: 14px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(255, 181, 46, .045); }
.sidebar-status span { color: var(--gold); font-size: .58rem; font-weight: 900; letter-spacing: .12em; }
.sidebar-status span i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green); }
.sidebar-status strong { font-size: .8rem; }
.sidebar-status small { color: var(--muted-2); font-size: .66rem; }
.sidebar-launch { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; padding: 11px 12px; border-radius: 7px; color: #17120a; background: linear-gradient(135deg, #ffbf42, var(--gold)); font-size: .72rem; font-weight: 950; }
.mobile-menu-toggle { display: none; }

.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); }
.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 { background: rgba(255, 255, 255, .012); }
.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)); }
.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 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; }
.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; }

.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; }
.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); }
  .hero-section, .calculator-workspace { grid-template-columns: 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; }
}

@media (max-width: 760px) {
  .workspace-shell { display: block; }
  .workspace-sidebar { position: sticky; top: 0; display: grid; grid-template-columns: 1fr auto; 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: 38px; height: 38px; }
  .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); }
  .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; }
  .sidebar-status, .sidebar-launch { display: none; }
  .workspace-topbar { display: none; }
  .page-section { scroll-margin-top: 65px; padding: 52px 16px; }
  .hero-section { padding-top: 18px; }
  .hero-copy { padding: 28px 22px; }
  .hero-copy h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .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; }
  .workspace-footer { flex-wrap: wrap; }
  .workspace-footer a { margin-left: 0; }
}

@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; }
}

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