@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    
    --bg:           #ffffff;
    --bg-subtle:    #f8f8f8;
    --border:       #e8e8e8;
    --text:         #111111;
    --text-muted:   #888888;
    --accent:       #d4163c;
    --accent-hover: #b01230;
    --accent-light: rgba(212, 22, 60, 0.08);

    
    --green-bg:     #f0fdf4;
    --green-border: #16a34a;
    --green-text:   #166534;
    --green-dark:   #14532d;

    
    --dark-bg:      #111111;
    --dark-text:    rgba(255, 255, 255, 0.75);
    --dark-accent:  rgba(212, 22, 60, 0.85);

    
    --s1:  8px;
    --s2:  16px;
    --s3:  24px;
    --s4:  32px;
    --s5:  48px;
    --s6:  64px;
    --s7:  96px;

    
    --text-xs:   12px;
    --text-sm:   14px;
    --text-base: 16px;
    --text-lg:   18px;
    --text-xl:   20px;
    --text-2xl:  24px;
    --text-3xl:  32px;
    --text-4xl:  48px;
    --text-5xl:  64px;

    
    --radius:    10px;
    --radius-lg: 16px;
    --radius-sm: 6px;

    
    --dur-fast:   0.15s;
    --dur-normal: 0.2s;

    
    --white:              #ffffff;
    --lh-base:            1.6;
    --lh-relaxed:         1.7;
    --alert-error-bg:     #fff1f2;
    --alert-error-border: #fecdd3;
    --alert-info-bg:      #eff6ff;
    --alert-info-border:  #bfdbfe;
    --alert-info-text:    #1d4ed8;
    --green-border-light: #bbf7d0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: var(--text-base);
    background: var(--bg);
    color: var(--text);
    line-height: var(--lh-base);
    -webkit-font-smoothing: antialiased;
}

.infobar {
    background: var(--text);
    color: var(--white);
    height: 36px;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
}

.infobar-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
}

.infobar-segment {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: .3px;
    color: rgba(255,255,255,.9);
    flex-shrink: 0;
}

nav {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 var(--s4);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: var(--text-base);
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: .7;
    flex-shrink: 0;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--s2);
}

.btn-sm {
    padding: 7px var(--s2);
    font-size: var(--text-xs);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--s4);
}

.nav-links a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--dur-fast);
}

.nav-links a:hover { color: var(--text); }
.nav-links a.nav-current { color: var(--text); font-weight: 600; }

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--dur-normal), opacity var(--dur-normal);
    transform-origin: center;
}

.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
    border-bottom: 1px solid var(--border);
    padding: var(--s7) var(--s4) var(--s6);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--s1);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: var(--s4);
}

.counter-wrap {
    margin-bottom: var(--s4);
}

.counter-number {
    font-size: 120px;
    font-weight: 900;
    letter-spacing: -6px;
    line-height: 1;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    display: block;
}

.counter-label {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: var(--s1);
    display: block;
}

.hero h1 {
    font-size: var(--text-3xl);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: var(--s3);
    color: var(--text);
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero-sub {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: var(--lh-base);
    margin-bottom: var(--s4);
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: var(--s2);
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s1);
    padding: 10px var(--s2);
    border-radius: var(--radius);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-outline:hover {
    background: var(--bg-subtle);
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 var(--s4);
}

section {
    padding: var(--s6) var(--s4);
    max-width: 1080px;
    margin: 0 auto;
}

section + section {
    border-top: 1px solid var(--border);
}

.section-label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: var(--s2);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: var(--s2);
}

.section-title span { color: var(--accent); }

.section-sub {
    font-size: var(--text-base);
    color: var(--text-muted);
    max-width: 520px;
    line-height: var(--lh-base);
}

.proc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--s4);
    margin-top: var(--s5);
}

.proc-card {
    padding: var(--s4);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-subtle);
}

.proc-card .icon {
    font-size: 24px;
    margin-bottom: var(--s2);
    display: block;
}

.proc-card h3 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--s1);
    color: var(--text);
}

.proc-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
}

.section-full {
    max-width: 100% !important;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--s6) var(--s4) !important;
    text-align: center;
}

.section-full .section-sub {
    margin: 0 auto;
}

.sign-box {
    max-width: 520px;
    margin: var(--s5) auto 0;
    text-align: left;
}

.form-group { margin-bottom: var(--s3); }

.form-group label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--text-muted);
    margin-bottom: var(--s1);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px var(--s2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: var(--text-base);
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: border-color var(--dur-fast);
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
}

.form-note {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--s1);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 12px var(--s3);
    font-size: var(--text-base);
    margin-top: var(--s1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s2);
}

.form-checks {
    margin-bottom: var(--s3);
    display: flex;
    flex-direction: column;
    gap: var(--s2);
}

.check-label {
    display: flex;
    align-items: flex-start;
    gap: var(--s1);
    font-size: var(--text-sm);
    color: var(--text);
    cursor: pointer;
    line-height: 1.5;
}

.check-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}

.check-label a {
    color: var(--accent);
    text-decoration: underline;
}

.required-star {
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
}

.alert {
    padding: var(--s2) var(--s3);
    border-radius: var(--radius);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--s3);
    border: 1px solid transparent;
}

.alert-success {
    background: var(--green-bg);
    border-color: var(--green-border-light);
    color: var(--green-text);
}

.alert-error {
    background: var(--alert-error-bg);
    border-color: var(--alert-error-border);
    color: var(--accent-hover);
}

.alert-info {
    background: var(--alert-info-bg);
    border-color: var(--alert-info-border);
    color: var(--alert-info-text);
}

.teacher-page {
    max-width: 680px;
    margin: var(--s6) auto;
    padding: 0 var(--s4);
}

.teacher-box {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--s5);
}

.teacher-box h2 {
    font-size: var(--text-2xl);
    font-weight: 800;
    letter-spacing: -.5px;
    margin-bottom: var(--s1);
}

.teacher-box .desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--s5);
    line-height: var(--lh-base);
}

.signatures-list h3 {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: var(--s3);
}

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

.sig-table th {
    text-align: left;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--text-muted);
    padding: var(--s1) var(--s2);
    border-bottom: 1px solid var(--border);
}

.sig-table td {
    padding: var(--s2);
    font-size: var(--text-sm);
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.class-badge {
    display: inline-block;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: .5px;
}

.page-content {
    max-width: 680px;
    margin: var(--s6) auto;
    padding: 0 var(--s4);
}

.page-content h1 {
    font-size: var(--text-4xl);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: var(--s4);
    line-height: 1.1;
}

.page-content h1 em {
    font-style: normal;
    color: var(--accent);
}

.page-content h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-top: var(--s5);
    margin-bottom: var(--s2);
}

.page-content p {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--s3);
}

.page-content ul {
    margin: var(--s2) 0 var(--s3) var(--s4);
}

.page-content li {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--s1);
}

.page-content .back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--s1);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: var(--s5);
    transition: color var(--dur-fast);
}

.page-content .back-link:hover { color: var(--text); }

footer {
    border-top: 1px solid var(--border);
    padding: var(--s5) var(--s4);
    margin-top: var(--s6);
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--s5);
    align-items: start;
}

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

.footer-brand {
    font-size: var(--text-base);
    color: var(--text);
    margin-bottom: var(--s1);
}

footer p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--s1);
}

footer a {
    color: var(--text-muted);
    text-decoration: underline;
}

.footer-heading {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: var(--s2);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s1);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--dur-fast);
}

.footer-links a:hover { color: var(--text); }


.tabs-section {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-subtle);
}

.tabs-header-wrap {
    position: sticky;
    top: 60px;
    background: var(--bg-subtle);
    z-index: 10;
    border-bottom: 2px solid var(--border);
}

.tabs-header {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 var(--s4);
    display: flex;
}

.tab-btn {
    flex: 1;
    padding: var(--s2) var(--s2);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color var(--dur-normal), border-color var(--dur-normal);
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-btn:hover:not(.active) { color: var(--text); }
.tab-icon { font-size: 1.3rem; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.panel-hero {
    padding: var(--s6) var(--s4) var(--s4);
    max-width: 1080px;
    margin: 0 auto;
}

.panel-label {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--s2);
}

.panel-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: var(--s2);
    max-width: 22ch;
}

.panel-intro {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
    max-width: 62ch;
    margin-bottom: var(--s5);
}

.priority-list {
    width: calc(100% - 2 * var(--s4));
    max-width: 1080px;
    margin: 0 auto var(--s6);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.priority-block {
    background: var(--bg);
    padding: var(--s4) var(--s5);
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: var(--s4);
    align-items: start;
    transition: background var(--dur-fast);
}

.priority-block:hover { background: var(--bg-subtle); }

.priority-num {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--border);
    letter-spacing: -2px;
}

.priority-block.top .priority-num { color: var(--accent); opacity: .3; }

.priority-content-label {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--s1);
}

.priority-title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--s2);
    line-height: 1.3;
}

.priority-text {
    font-size: var(--text-sm);
    line-height: 1.75;
    color: var(--text-muted);
}

.priority-text + .priority-text { margin-top: var(--s2); }

.solution-box {
    max-width: 1080px;
    margin: 0 auto var(--s6);
    padding: 0 var(--s4);
}

.solution-inner {
    background: var(--green-bg);
    border-left: 4px solid var(--green-border);
    padding: var(--s4) var(--s5);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.solution-label {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green-text);
    margin-bottom: var(--s1);
}

.solution-title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--s2);
    color: var(--text);
}

.solution-text {
    font-size: var(--text-sm);
    line-height: 1.75;
    color: var(--green-dark);
}

.solution-text strong {
    display: block;
    margin-bottom: var(--s1);
    color: var(--green-text);
}

.callout {
    max-width: 1080px;
    margin: 0 auto var(--s6);
    padding: 0 var(--s4);
}

.callout-inner {
    background: var(--dark-bg);
    color: var(--white);
    padding: var(--s5);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--s4);
    align-items: start;
    border-radius: var(--radius-lg);
}

.callout-icon { font-size: 2rem; line-height: 1; }

.callout-title {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--s2);
    color: var(--dark-accent);
}

.callout-text {
    font-size: var(--text-sm);
    line-height: 1.75;
    color: var(--dark-text);
}

.callout-text strong { color: var(--white); font-weight: 700; }

.faq-section {
    max-width: 1080px;
    margin: 0 auto var(--s6);
    padding: 0 var(--s4);
}

.faq-section-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--s4);
    padding-bottom: var(--s2);
    border-bottom: 2px solid var(--border);
}

.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }

.faq-q {
    width: 100%;
    text-align: left;
    padding: var(--s3) 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s2);
    font-family: inherit;
}

.faq-q::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform var(--dur-normal);
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; font-size: var(--text-sm); color: var(--text-muted); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding-bottom: var(--s3); }

.legal-table {
    max-width: 1080px;
    margin: 0 auto var(--s6);
    padding: 0 var(--s4);
}

.legal-table-inner {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.legal-table-header {
    display: grid;
    grid-template-columns: 2fr 3fr 1fr;
    background: var(--dark-bg);
    color: var(--white);
    padding: var(--s2) var(--s3);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.legal-row {
    display: grid;
    grid-template-columns: 2fr 3fr 1fr;
    padding: var(--s3);
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: background var(--dur-fast);
}

.legal-row:hover { background: var(--bg-subtle); }
.legal-row:last-child { border-bottom: none; }

.legal-law {
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.4;
}

.legal-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
    padding-right: var(--s2);
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.badge-high { background: var(--accent); color: var(--white); }
.badge-med  { background: var(--dark-bg); color: var(--white); }
.badge-low  { background: var(--bg-subtle); color: var(--text-muted); border: 1px solid var(--border); }

.cta-band {
    max-width: 100% !important;
    padding: var(--s7) var(--s4) !important;
    margin: 0 !important;
    background: var(--accent);
    text-align: center;
    border-top: none !important;
}

.cta-band-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--s2);
    letter-spacing: -1px;
}

.cta-band-sub {
    font-size: var(--text-base);
    color: rgba(255,255,255,.8);
    margin-bottom: var(--s4);
    max-width: 54ch;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--lh-relaxed);
}

.btn-white {
    background: var(--white);
    color: var(--accent);
    padding: 12px var(--s5);
    font-size: var(--text-base);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius);
    display: inline-block;
    transition: opacity var(--dur-fast), transform var(--dur-fast);
}

.btn-white:hover { opacity: .9; transform: translateY(-2px); }

@media (max-width: 768px) {
    .nav-inner { padding: 0 var(--s2); }
    .nav-burger { display: flex; }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 96px; 
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: var(--s2) var(--s3);
        z-index: 99;
    }

    .nav-links.nav-open { display: flex; }
    .nav-links li { border-bottom: 1px solid var(--border); }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a { display: block; padding: var(--s2) 0; font-size: var(--text-base); }

    .hero { padding: var(--s5) var(--s2); }
    .counter-number { font-size: 80px; letter-spacing: -4px; }
    .hero h1 { font-size: var(--text-2xl); }

    section { padding: var(--s5) var(--s2); }
    .section-full { padding: var(--s5) var(--s2) !important; }

    .footer-inner { grid-template-columns: 1fr; gap: var(--s4); }

    .tabs-header-wrap { top: 60px; }
    .tab-btn { font-size: 10px; padding: var(--s1) 4px; }
    .tab-icon { font-size: 1.1rem; }
    .panel-hero { padding: var(--s4) var(--s2) var(--s3); }
    .panel-title { font-size: var(--text-2xl); }
    .priority-list { width: calc(100% - var(--s2) * 2); }
    .solution-box, .callout, .faq-section, .legal-table { padding-left: var(--s2); padding-right: var(--s2); }
    .priority-block { grid-template-columns: 1fr; gap: var(--s1); padding: var(--s3) var(--s2); }
    .priority-num { font-size: 2rem; }
    .callout-inner { grid-template-columns: 1fr; }
    .legal-table-header, .legal-row { grid-template-columns: 1fr 2fr; }
    .legal-table-header span:last-child, .legal-row .badge { display: none; }
    .cta-band { padding: var(--s5) var(--s2) !important; }
    .cta-band-title { font-size: var(--text-2xl); }
}

/* ── end.html ──────────────────────────────────────────────────────────────── */
.end-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--s6) var(--s3) var(--s7);
    text-align: center;
}
.end-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .35rem .9rem;
    border-radius: 99px;
    margin-bottom: var(--s3);
}
.end-total {
    font-size: clamp(64px, 14vw, 112px);
    font-weight: 900;
    line-height: 1;
    color: var(--accent);
    margin-bottom: .15em;
}
.end-total-label {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: var(--s5);
}
.end-title {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: var(--s3);
}
.end-title em {
    color: var(--accent);
    font-style: normal;
}
.end-sub {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
    max-width: 560px;
    margin: 0 auto var(--s6);
}
.groups-title {
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--s3);
}
.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: var(--s2);
    text-align: left;
}
.group-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--s2);
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.group-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
}
.group-count {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}
.end-footer-note {
    margin-top: var(--s5);
    font-size: var(--text-sm);
    color: var(--text-muted);
}
@media (max-width: 480px) {
    .groups-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}
