:root {
    --bg: #f5f7fa;
    --surface: #ffffff;
    --text: #101820;
    --text-soft: #657182;
    --dark: #071722;
    --green: #14e876;
    --green-dark: #05bd5b;
    --green-soft: #e8fff2;
    --blue: #3478f6;
    --violet: #7c4dff;
    --cyan: #0e9fbd;
    --border: #e5eaf0;
    --shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
    --radius-md: 18px;
    --radius-lg: 26px;
    --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 20, 30, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: #ffffff;
    white-space: nowrap;
}

.logo span { color: var(--green); }

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 600;
}

.desktop-nav a:hover { color: #ffffff; }

.header-actions {
    display: flex;
    gap: 10px;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-button span {
    width: 18px;
    height: 2px;
    border-radius: 4px;
    background: #ffffff;
}

/* BUTTONS */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
    color: #032313;
    background: linear-gradient(135deg, #18ef7c, #11dc6d);
    box-shadow: 0 9px 25px rgba(20, 232, 118, 0.22);
}

.button-primary:hover {
    background: linear-gradient(135deg, #22f688, #0fd467);
}

.button-ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.button-dark-outline {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.04);
}

.button-small {
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
}

.button-large {
    min-height: 54px;
    padding: 0 22px;
    font-size: 15px;
}

/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 75% 30%, rgba(14, 159, 189, .23), transparent 33%),
        radial-gradient(circle at 90% 75%, rgba(20, 232, 118, .14), transparent 26%),
        linear-gradient(135deg, #06131d 0%, #071c29 48%, #082531 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .35;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-grid {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(430px, 1.05fr);
    align-items: center;
    gap: 60px;
    padding-top: 64px;
    padding-bottom: 66px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.eyebrow { color: var(--green); }

.hero h1 {
    max-width: 660px;
    margin: 0;
    font-size: clamp(42px, 4.3vw, 68px);
    line-height: .99;
    letter-spacing: -2.7px;
}

.hero h1 span {
    display: block;
    color: var(--green);
}

.hero-lead {
    max-width: 580px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .74);
    font-size: 18px;
    line-height: 1.55;
}

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

.hero-benefits {
    display: flex;
    gap: 30px;
    margin-top: 38px;
}

.hero-benefits div {
    display: grid;
    gap: 4px;
}

.hero-benefits strong { font-size: 17px; }

.hero-benefits span {
    color: rgba(255, 255, 255, .48);
    font-size: 12px;
}

/* HERO LADDER */

.hero-visual {
    position: relative;
    min-height: 360px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    right: 6%;
    top: 5%;
    width: 68%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18, 236, 119, .12), transparent 65%);
    filter: blur(4px);
}

.ladder-line {
    position: absolute;
    left: 5%;
    right: 4%;
    bottom: 32%;
    height: 3px;
    background: linear-gradient(90deg, rgba(20, 232, 118, .05), var(--green));
    transform: rotate(-16deg);
    transform-origin: left center;
    box-shadow: 0 0 20px rgba(20, 232, 118, .7);
}

.hero-step {
    position: absolute;
    width: 100px;
    min-height: 82px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
    backdrop-filter: blur(12px);
}

.hero-step span {
    width: 24px;
    height: 24px;
    margin-bottom: 9px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    font-weight: 800;
}

.hero-step strong { font-size: 13px; }

.hero-step-1 { left: 3%; bottom: 5%; }
.hero-step-2 { left: 21%; bottom: 12%; }
.hero-step-3 { left: 39%; bottom: 22%; }
.hero-step-4 { left: 57%; bottom: 34%; }
.hero-step-5 { left: 72%; bottom: 49%; }

.hero-step-final {
    right: 0;
    bottom: 66%;
    min-height: 105px;
    border: 1px solid rgba(20, 232, 118, .55);
    background: linear-gradient(180deg, rgba(20, 232, 118, .27), rgba(20, 232, 118, .09));
    box-shadow: 0 0 30px rgba(20, 232, 118, .15);
}

.hero-step-final span {
    color: #072116;
    background: var(--green);
}

/* QUICK BENEFITS */

.quick-benefits {
    position: relative;
    z-index: 5;
    background: white;
    border-bottom: 1px solid var(--border);
}

.quick-benefits-grid {
    min-height: 88px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 20px;
}

.quick-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-benefit + .quick-benefit {
    border-left: 1px solid var(--border);
    padding-left: 24px;
}

.quick-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--blue);
    background: #edf4ff;
}

.quick-benefit div:last-child {
    display: grid;
    gap: 3px;
}

.quick-benefit strong { font-size: 13px; }

.quick-benefit span {
    color: var(--text-soft);
    font-size: 11px;
}

/* SECTIONS */

.section { padding: 80px 0; }

.section-heading { margin-bottom: 28px; }

.section-heading.compact { margin-bottom: 22px; }

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-kicker { color: var(--green-dark); }

.section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 3vw, 42px);
    letter-spacing: -1.4px;
}

.section-heading p {
    max-width: 590px;
    margin: 12px 0 0;
    color: var(--text-soft);
    line-height: 1.6;
}

/* CALCULATOR */

.section-calculator { padding-top: 58px; }

.calculator-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow);
}

.calculator-main { padding: 34px; }

.start-type-switch {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 4px;
    border-radius: 12px;
    background: #edf1f5;
}

.start-type {
    min-height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 9px;
    color: var(--text-soft);
    background: transparent;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.start-type.active {
    color: var(--text);
    background: white;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}

.freebet-note {
    margin: -8px 0 22px;
    padding: 12px 14px;
    border-radius: 10px;
    color: #725b00;
    background: #fff9dc;
    font-size: 12px;
    line-height: 1.5;
}

.calculator-fields {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 14px;
}

.field {
    display: grid;
    gap: 8px;
}

.field > span {
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 700;
}

.field input,
.field select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    outline: none;
    color: var(--text);
    background: white;
    font-weight: 700;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.field input:focus,
.field select:focus {
    border-color: #83caa4;
    box-shadow: 0 0 0 4px rgba(20, 232, 118, .10);
}

.input-with-suffix { position: relative; }

.input-with-suffix input { padding-right: 40px; }

.input-with-suffix > span {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-soft);
    font-weight: 700;
}

.calculator-button {
    width: 100%;
    min-height: 52px;
    margin-top: 16px;
}

.calculator-result {
    min-height: 100%;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, #eafff1, #f3fff8);
    border-left: 1px solid #dff4e7;
}

.result-label {
    margin-bottom: 8px;
    color: #567060;
    font-size: 12px;
    font-weight: 700;
}

.result-value {
    color: #087739;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1.2px;
}

.result-profit {
    margin-top: 8px;
    color: #61766a;
    font-size: 12px;
}

.result-profit strong { color: #0a7f3e; }

.result-meta {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #74847a;
    font-size: 11px;
}

.steps-card {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
}

.steps-card-head {
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
}

.steps-card h3 {
    margin: 0;
    font-size: 18px;
}

.steps-card p {
    margin: 6px 0 0;
    color: var(--text-soft);
    font-size: 12px;
}

.steps-table-wrap { overflow-x: auto; }

.steps-table {
    width: 100%;
    border-collapse: collapse;
}

.steps-table th,
.steps-table td {
    padding: 16px 22px;
    text-align: left;
    border-bottom: 1px solid #edf0f3;
}

.steps-table th {
    color: var(--text-soft);
    background: #fbfcfd;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.steps-table td {
    font-size: 13px;
    font-weight: 650;
}

.steps-table tbody tr:last-child td { border-bottom: 0; }

.step-number {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #087739;
    background: var(--green-soft);
    font-size: 12px;
    font-weight: 900;
}

.table-note {
    margin-top: 3px;
    color: #8993a1;
    font-size: 10px;
    font-weight: 600;
}

/* FEATURES */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card {
    min-height: 210px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .04);
}

.feature-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 26px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-weight: 900;
}

.feature-icon.green { color: #08964a; background: #e9fff2; }
.feature-icon.blue { color: var(--blue); background: #edf4ff; }
.feature-icon.violet { color: var(--violet); background: #f3efff; }
.feature-icon.cyan { color: var(--cyan); background: #eafaff; }

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
}

.feature-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.6;
}

/* ARTICLES */

.articles-section { padding-top: 30px; }

.coming-label {
    padding: 8px 12px;
    border-radius: 999px;
    color: #637082;
    background: #e9edf2;
    font-size: 11px;
    font-weight: 800;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.article-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
}

.article-image {
    height: 155px;
    background-size: cover;
}

.article-image-one {
    background:
        radial-gradient(circle at 70% 30%, rgba(20, 232, 118, .5), transparent 22%),
        linear-gradient(135deg, #0b2831, #102f25);
}

.article-image-two {
    background:
        radial-gradient(circle at 30% 60%, rgba(52, 120, 246, .55), transparent 22%),
        linear-gradient(135deg, #081625, #13273b);
}

.article-image-three {
    background:
        radial-gradient(circle at 65% 40%, rgba(124, 77, 255, .45), transparent 20%),
        linear-gradient(135deg, #171127, #0c1b2a);
}

.article-content { padding: 20px; }

.article-content > span {
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.article-content h3 {
    margin: 9px 0;
    font-size: 17px;
    line-height: 1.35;
}

.article-content p {
    margin: 0;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.55;
}

/* FOOTER */

.site-footer {
    margin-top: 30px;
    color: rgba(255, 255, 255, .65);
    background: var(--dark);
}

.footer-inner {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 10px;
}

.footer-inner p {
    margin: 0;
    font-size: 12px;
}

.footer-note {
    max-width: 340px;
    font-size: 11px;
    line-height: 1.5;
    text-align: right;
}

/* TABLET */

@media (max-width: 980px) {
    .desktop-nav { display: none; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-bottom: 36px;
    }

    .hero-content { max-width: 700px; }
    .hero-visual { min-height: 310px; }

    .quick-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .quick-benefit + .quick-benefit {
        border-left: 0;
        padding-left: 0;
    }

    .calculator-shell { grid-template-columns: 1fr; }

    .calculator-result {
        border-left: 0;
        border-top: 1px solid #dff4e7;
    }

    .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

/* MOBILE */

@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .header-inner { min-height: 62px; }
    .logo { font-size: 18px; }
    .header-actions { display: none; }
    .mobile-menu-button { display: flex; }

    .hero-grid {
        min-height: auto;
        padding-top: 42px;
        padding-bottom: 30px;
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.02;
        letter-spacing: -1.8px;
    }

    .hero-lead { font-size: 15px; }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .hero-actions .button { width: 100%; }

    .hero-benefits {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .hero-benefits strong { font-size: 13px; }
    .hero-benefits span { font-size: 10px; }

    .hero-visual {
        min-height: 250px;
        margin-top: 10px;
    }

    .hero-step {
        width: 72px;
        min-height: 68px;
        padding: 10px;
        border-radius: 12px;
    }

    .hero-step span {
        width: 20px;
        height: 20px;
        margin-bottom: 5px;
    }

    .hero-step strong { font-size: 10px; }

    .hero-step-final {
        width: 82px;
        min-height: 88px;
    }

    .quick-benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px 10px;
    }

    .quick-benefit { align-items: flex-start; }

    .quick-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .quick-benefit strong { font-size: 11px; }
    .quick-benefit span { font-size: 9px; }

    .section { padding: 56px 0; }
    .section-heading h2 { font-size: 30px; }

    .calculator-main { padding: 22px 18px; }
    .calculator-fields { grid-template-columns: 1fr; }

    .start-type-switch { width: 100%; }
    .start-type { flex: 1; }

    .calculator-result { padding: 24px 20px; }
    .result-value { font-size: 34px; }

    .steps-card { border-radius: 15px; }

    .steps-table th,
    .steps-table td {
        padding: 13px 14px;
    }

    .steps-table { min-width: 600px; }

    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: auto; }
    .articles-grid { grid-template-columns: 1fr; }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-inner {
        padding-top: 34px;
        padding-bottom: 34px;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-note { text-align: left; }
}


/* MOBILE MENU */

.mobile-menu-panel {
    display: none;
    border-top: 1px solid rgba(255,255,255,.07);
    background: rgba(5,20,30,.99);
}

.mobile-menu-panel.is-open {
    display: block;
}

.mobile-menu-inner {
    padding-top: 12px;
    padding-bottom: 18px;
}

.mobile-nav {
    display: grid;
}

.mobile-nav a {
    padding: 14px 2px;
    color: rgba(255,255,255,.82);
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: 14px;
    font-weight: 750;
}

.mobile-menu-actions {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-menu-actions .button {
    min-height: 46px;
}

.mobile-menu-button span {
    transition: transform .18s ease, opacity .18s ease;
}

.mobile-menu-button.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-button.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 681px) {
    .mobile-menu-panel {
        display: none !important;
    }
}

@media (max-width: 680px) {
    .mobile-menu-panel.is-open {
        display: block;
    }

    .mobile-menu-actions {
        grid-template-columns: 1fr;
    }
}


/* GLOBAL SHELL v0.2 */

.header-logout-form,
.mobile-logout-form {
    margin: 0;
}

.header-logout-form .button,
.mobile-logout-form .button {
    font-family: inherit;
}

.footer-brand {
    min-width: 0;
}

.footer-links {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.footer-links a {
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
    font-weight: 500;
}

.footer-links a:hover {
    color: #fff;
}

@media (max-width: 680px) {
    .mobile-logout-form,
    .mobile-logout-form .button {
        width: 100%;
    }
}


/* SvodRoom Rebrand v0.1 */
.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
}

.logo .logo-base { color: #ffffff; }
.logo .logo-accent { color: var(--green); }

.desktop-auth-link {
    align-self: center;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 500;
}
.desktop-auth-link:hover { color: #ffffff; }

.mobile-auth-link {
    display: block;
    padding: 11px 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    font-weight: 500;
}

.svod-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.svod-dashboard {
    position: relative;
    width: min(100%, 500px);
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.045));
    box-shadow: 0 28px 70px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
}

.svod-dashboard::before {
    content: "";
    position: absolute;
    inset: -18% -12% auto auto;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20,232,118,.16), transparent 66%);
    pointer-events: none;
}

.svod-dashboard-head,
.svod-dashboard-balance,
.svod-dashboard-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.svod-dashboard-head {
    position: relative;
    margin-bottom: 22px;
    color: rgba(255,255,255,.62);
    font-size: 12px;
}
.svod-dashboard-head span { font-weight: 600; color: rgba(255,255,255,.9); }
.svod-dashboard-head small {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.64);
}

.svod-dashboard-balance {
    position: relative;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.svod-dashboard-balance > div { display: grid; gap: 6px; }
.svod-dashboard-balance span,
.svod-mini-card span,
.svod-dashboard-row span { color: rgba(255,255,255,.5); font-size: 11px; }
.svod-dashboard-balance strong { font-size: 30px; line-height: 1; letter-spacing: -1px; }
.svod-dashboard-positive { text-align: right; }
.svod-dashboard-positive strong { color: var(--green); font-size: 20px; }

.svod-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    margin: 14px 0;
}
.svod-mini-card {
    display: grid;
    gap: 5px;
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    background: rgba(0,0,0,.13);
}
.svod-mini-card strong { font-size: 17px; }
.svod-mini-card small { color: rgba(255,255,255,.38); font-size: 10px; }

.svod-dashboard-list { display: grid; gap: 8px; }
.svod-dashboard-row {
    gap: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.045);
}
.svod-dashboard-row > div { display: grid; gap: 2px; }
.svod-dashboard-row b { font-size: 12px; font-weight: 600; }
.svod-dashboard-row strong { font-size: 14px; }

@media (max-width: 760px) {
    .svod-dashboard { width: 100%; padding: 18px; border-radius: 20px; }
    .svod-dashboard-balance strong { font-size: 24px; }
    .svod-dashboard-positive strong { font-size: 17px; }
    .desktop-auth-link { display: none; }
}


/* HOMEPAGE v0.2 — SvodRoom */

.hero-ladder-visual {
    min-height: 390px;
}

.hero-ladder-badge {
    position: absolute;
    right: 4%;
    top: 2%;
    z-index: 4;
    min-width: 150px;
    padding: 11px 13px;
    display: grid;
    gap: 3px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: rgba(4, 18, 27, .62);
    backdrop-filter: blur(12px);
}

.hero-ladder-badge span {
    color: rgba(255,255,255,.46);
    font-size: 10px;
}

.hero-ladder-badge strong {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.home-capabilities-section {
    padding: 54px 0 44px;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.home-capabilities-heading {
    margin-bottom: 24px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.home-capabilities-heading h2 {
    margin: 0;
    font-size: clamp(28px, 2.7vw, 38px);
    letter-spacing: -1.2px;
}

.home-capabilities-heading p {
    max-width: 460px;
    margin: 0;
    color: var(--text-soft);
    line-height: 1.55;
}

.home-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}

.home-capability-card {
    min-width: 0;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fbfcfd;
}

.home-capability-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #087739;
    background: var(--green-soft);
    font-size: 16px;
    font-weight: 600;
}

.home-capability-card h3 {
    margin: 1px 0 6px;
    font-size: 15px;
    font-weight: 600;
}

.home-capability-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.5;
}

.section-calculator {
    padding-top: 64px;
    padding-bottom: 68px;
}

.calculator-details-button {
    width: 100%;
    min-height: 42px;
    margin-top: 22px;
    border: 1px solid #b9e8cc;
    border-radius: 11px;
    color: #087739;
    background: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.calculator-details-button:hover {
    background: #fff;
}

.calculator-steps-dialog {
    width: min(860px, calc(100% - 32px));
    max-height: min(760px, calc(100% - 32px));
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(4,18,27,.28);
}

.calculator-steps-dialog::backdrop {
    background: rgba(4, 18, 27, .72);
    backdrop-filter: blur(4px);
}

.calculator-steps-dialog-shell {
    max-height: min(760px, calc(100vh - 32px));
    overflow: auto;
}

.calculator-steps-dialog-head {
    padding: 22px 24px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--border);
}

.calculator-steps-dialog-head span {
    display: block;
    margin-bottom: 5px;
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.calculator-steps-dialog-head h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -.5px;
}

.calculator-dialog-close {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 0;
    border-radius: 11px;
    color: #52606d;
    background: #f1f4f6;
    font-size: 22px;
    cursor: pointer;
}

.calculator-dialog-summary {
    padding: 13px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--text-soft);
    background: #fbfcfd;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    font-weight: 500;
}

.home-tracker-section {
    padding-top: 14px;
    padding-bottom: 64px;
}

.home-ladders-section {
    padding: 6px 0 72px;
}

.home-ladders-banner {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    gap: 48px;
    align-items: center;
    padding: 48px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        radial-gradient(circle at 95% 0%, rgba(20,232,118,.10), transparent 31%),
        #fff;
    box-shadow: var(--shadow);
}

.home-ladders-copy h2 {
    max-width: 560px;
    margin: 0;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.home-ladders-copy > p {
    max-width: 590px;
    margin: 16px 0 0;
    color: var(--text-soft);
    line-height: 1.65;
}

.home-ladders-points {
    margin: 24px 0 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-ladders-points span {
    padding: 8px 11px;
    border-radius: 999px;
    color: #425248;
    background: #f0f8f3;
    font-size: 11px;
    font-weight: 500;
}

.home-ladders-board {
    padding: 20px;
    border: 1px solid #dfe7e3;
    border-radius: 22px;
    background: #f8faf9;
}

.home-ladders-board-head {
    padding: 2px 2px 17px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e3e9e6;
}

.home-ladders-board-head > div {
    display: grid;
    gap: 4px;
}

.home-ladders-board-head span,
.home-ladders-result span {
    color: var(--text-soft);
    font-size: 10px;
}

.home-ladders-board-head strong {
    font-size: 16px;
    font-weight: 600;
}

.home-ladders-bank {
    text-align: right;
}

.home-ladders-bank strong {
    font-size: 20px;
}

.home-ladders-list {
    padding: 8px 0;
    display: grid;
    gap: 6px;
}

.home-ladder-row {
    min-width: 0;
    padding: 12px;
    display: grid;
    grid-template-columns: 34px minmax(0,1fr) auto;
    align-items: center;
    gap: 11px;
    border-radius: 14px;
    background: #fff;
}

.home-ladder-row.is-active {
    box-shadow: inset 3px 0 0 #13d96e;
}

.home-ladder-row.is-complete {
    background: #eefaf3;
}

.home-ladder-step {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #087739;
    background: var(--green-soft);
    font-size: 12px;
    font-weight: 700;
}

.home-ladder-row > div:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.home-ladder-row strong {
    font-size: 12px;
    font-weight: 600;
}

.home-ladder-row span {
    overflow: hidden;
    color: var(--text-soft);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-ladder-row b {
    color: #6e7b73;
    font-size: 10px;
    font-weight: 500;
}

.home-ladder-row.is-complete b {
    color: #087739;
}

.home-ladders-result {
    margin-top: 3px;
    padding: 15px 14px 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid #e3e9e6;
}

.home-ladders-result strong {
    color: #087739;
    font-size: 19px;
}

.home-why-section {
    padding: 70px 0;
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.home-why-heading {
    max-width: 720px;
}

.home-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
}

.home-why-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fbfcfd;
}

.home-why-card > span {
    color: #08a14e;
    font-size: 11px;
    font-weight: 600;
}

.home-why-card h3 {
    margin: 14px 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.home-why-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.6;
}

.articles-section {
    padding-top: 72px;
    padding-bottom: 72px;
}

.home-final-cta {
    padding: 0 0 72px;
}

.home-final-cta-shell {
    padding: 38px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(20,232,118,.18), transparent 28%),
        linear-gradient(135deg, #06131d, #082531);
}

.home-final-cta-kicker {
    margin-bottom: 8px;
    color: var(--green);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.home-final-cta h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -1.2px;
}

.home-final-cta p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.62);
}

@media (max-width: 980px) {
    .home-capabilities-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .home-capabilities-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .home-ladders-banner {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 36px;
    }

    .home-ladders-board {
        width: 100%;
    }

    .home-why-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .hero-ladder-visual {
        min-height: 260px;
    }

    .hero-ladder-badge {
        right: 0;
        top: 0;
        min-width: 132px;
        padding: 9px 10px;
    }

    .hero-step-1 { left: 1%; bottom: 6%; }
    .hero-step-2 { left: 18%; bottom: 13%; }
    .hero-step-3 { left: 35%; bottom: 23%; }
    .hero-step-4 { left: 52%; bottom: 35%; }
    .hero-step-5 { left: 66%; bottom: 49%; }
    .hero-step-final { right: 0; bottom: 65%; }

    .home-capabilities-section {
        padding: 42px 0 36px;
    }

    .home-capabilities-heading {
        margin-bottom: 18px;
    }

    .home-capabilities-heading h2 {
        font-size: 28px;
    }

    .home-capabilities-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-capability-card {
        padding: 16px;
    }

    .section-calculator {
        padding-top: 48px;
        padding-bottom: 52px;
    }

    .calculator-result {
        align-items: flex-start;
    }

    .calculator-details-button {
        width: 100%;
    }

    .calculator-steps-dialog {
        width: calc(100% - 20px);
        max-height: calc(100% - 20px);
        border-radius: 18px;
    }

    .calculator-steps-dialog-shell {
        max-height: calc(100vh - 20px);
    }

    .calculator-steps-dialog-head {
        padding: 18px 16px 14px;
    }

    .calculator-steps-dialog-head h2 {
        font-size: 19px;
    }

    .calculator-dialog-summary {
        padding: 11px 16px;
    }

    .calculator-steps-dialog .steps-table {
        min-width: 560px;
    }

    .home-tracker-section {
        padding-top: 4px;
        padding-bottom: 48px;
    }

    .home-ladders-section {
        padding: 0 0 52px;
    }

    .home-ladders-banner {
        gap: 26px;
        padding: 24px 18px;
        border-radius: 20px;
    }

    .home-ladders-copy h2 {
        font-size: 30px;
    }

    .home-ladders-points {
        margin: 20px 0 22px;
    }

    .home-ladders-copy .button {
        width: 100%;
    }

    .home-ladders-board {
        padding: 14px;
        border-radius: 18px;
    }

    .home-ladders-board-head {
        gap: 12px;
    }

    .home-ladder-row {
        grid-template-columns: 32px minmax(0,1fr);
    }

    .home-ladder-row b {
        grid-column: 2;
        justify-self: start;
    }

    .home-why-section {
        padding: 52px 0;
    }

    .home-why-card {
        padding: 21px;
    }

    .articles-section {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .home-final-cta {
        padding-bottom: 52px;
    }

    .home-final-cta-shell {
        padding: 28px 20px;
        align-items: stretch;
        flex-direction: column;
        gap: 22px;
        border-radius: 20px;
    }

    .home-final-cta-shell .button {
        width: 100%;
    }
}


/* Homepage v0.2.1 — brand mark + header cleanup */
.logo {
    align-items: center;
    gap: 8px;
}

.logo-mark {
    display: block;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

.logo-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
}

@media (max-width: 680px) {
    .logo {
        gap: 7px;
    }

    .logo-mark {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }
}


/* Brand assets hotfix v0.2.1.1 */
.logo-mark {
    color: #16A35B;
    overflow: visible;
}
