:root {
    --red: #01315F;
    --red-dark: #01213f;
    --charcoal: #212226;
    --ink: #111318;
    --navy: #111318;
    --navy-deep: #16171a;
    --muted: #676767;
    --mist: #f4f5f6;
    --fog: #f7f7f8;
    --paper: #ffffff;
    --seafoam: #1f8a7a;
    --seafoam-dark: #16695c;
    --sand: #d6c4a8;
    --line: rgba(17, 19, 24, 0.12);
    --shadow: 0 18px 50px rgba(17, 19, 24, 0.1);
    --radius: 0;
    --font-display: "Manrope", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --header-h: 7.25rem;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --wrap: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: #fff;
    min-height: 100vh;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem;
}

p {
    margin: 0 0 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    background: var(--red);
    color: white;
    padding: 0.75rem 1rem;
    z-index: 1000;
}

.skip-link:focus {
    top: 1rem;
}

.eyebrow {
    color: var(--red);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 0.65rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(17, 19, 24, 0.08);
}

.header-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 44px 78px;
}

.logo-banner {
    grid-row: 1 / 3;
    grid-column: 1;
    display: flex;
    align-items: center;
    padding: 0.35rem 1.15rem;
    background: #fff;
    z-index: 2;
}

.brand-logo {
    display: block;
    height: 104px;
    width: auto;
}

.logo-icon {
    width: 1.7rem;
    height: 1.7rem;
    flex: none;
}

.topbar {
    grid-column: 2;
    grid-row: 1;
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.75rem 0 1.25rem;
    font-size: 0.86rem;
}

.topbar-links {
    display: flex;
    gap: 1.35rem;
}

.topbar a:hover {
    color: #fff;
}

.nav-bar {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #fff;
    padding: 0 1.5rem 0 0.5rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.site-nav > a {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
}

.site-nav > a:hover,
.site-nav > a.is-active {
    color: var(--red);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 0.5rem;
}

.nav-login {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
}

.nav-login:hover {
    color: var(--red);
}

.nav-toggle {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    display: block;
    width: 1.35rem;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s var(--ease);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: "";
    position: absolute;
}

.nav-toggle-bar::before { top: 0.7rem; }
.nav-toggle-bar::after { bottom: 0.7rem; }
.nav-toggle .nav-toggle-bar { margin: 0 auto; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-mark {
    width: 1.45rem;
    height: 1.45rem;
    background: var(--red);
    clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    white-space: nowrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.9rem 1.45rem;
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    background: var(--red-dark);
    color: #fff;
}

.btn-primary,
.btn-accent {
    background: var(--red);
    color: #fff;
}

.btn-primary:hover,
.btn-accent:hover {
    background: var(--red-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}

.btn-ghost:hover {
    background: var(--red);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--ink);
}

.btn-light:hover {
    background: var(--fog);
    color: var(--ink);
}

.btn-lg {
    padding: 1rem 1.7rem;
}

/* Hero */
.hero {
    position: relative;
    min-height: 640px;
    display: grid;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 16, 28, 0.78) 0%, rgba(10, 16, 28, 0.55) 48%, rgba(10, 16, 28, 0.28) 100%),
        url("https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=2000&q=80") center right / cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--wrap);
    width: 100%;
    margin: 0 auto;
    padding: 5.5rem 1.5rem 8rem;
}

.hero h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 1.1rem;
}

.hero h1 span {
    color: var(--red);
}

.hero-content p {
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
}

/* Features overlapping the hero */
.feature-band {
    position: relative;
    z-index: 2;
    margin-top: -72px;
    padding: 0 1.5rem 1rem;
}

.feature-panel {
    max-width: var(--wrap);
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 20px 60px rgba(17, 19, 24, 0.1);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2.4rem 2rem;
}

.feature-panel h2 {
    font-size: 1.15rem;
    margin: 0.9rem 0 0.4rem;
}

.feature-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

/* Sections */
.section {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 5.5rem 1.5rem;
}

.section-head {
    max-width: 40rem;
    margin-bottom: 2.5rem;
}

.section-head.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2,
.split-copy h2,
.calc-copy h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--ink);
}

.section-head p,
.split-copy > p {
    color: var(--muted);
    font-size: 1.05rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-photo,
.split-visual {
    min-height: 380px;
    background:
        linear-gradient(160deg, rgba(17, 19, 24, 0.15), rgba(1, 49, 95, 0.12)),
        url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat;
}

.about-badge {
    position: absolute;
    right: -12px;
    top: 18px;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(1, 49, 95, 0.35);
}

.about-badge strong {
    font-family: var(--font-display);
    font-size: 1.7rem;
    line-height: 1;
}

.about-badge span {
    font-size: 0.78rem;
    line-height: 1.3;
    margin-top: 0.35rem;
}

.about-points {
    display: grid;
    gap: 1.1rem;
    margin: 1.5rem 0 1.75rem;
}

.about-points h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.about-points p {
    margin: 0;
    color: var(--muted);
}

.services-block {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.94)),
        url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1600&q=60") center / cover no-repeat;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.service-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(17, 19, 24, 0.04);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(1, 49, 95, 0.1);
    color: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-card h3 {
    font-size: 1.3rem;
}

.service-card p {
    color: var(--muted);
}

.service-card a {
    color: var(--red);
    font-family: var(--font-display);
    font-weight: 700;
}

.service-card a:hover {
    color: var(--red-dark);
}

/* Calculator */
.calculator-block {
    padding: 0 0 5rem;
}

.calc-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 520px;
    background: var(--fog);
}

.calc-copy {
    padding: 4rem 3rem;
}

.calc-form {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.5rem;
    max-width: 460px;
}

.calc-form input {
    width: 100%;
    border: 1px solid #e4e4e6;
    background: #fff;
    padding: 1rem 1rem;
    font: inherit;
    color: var(--ink);
}

.calc-form input:focus {
    outline: 2px solid rgba(1, 49, 95, 0.35);
    border-color: var(--red);
}

.calc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.calc-visual {
    background:
        linear-gradient(180deg, rgba(17, 19, 24, 0.05), rgba(17, 19, 24, 0.18)),
        url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat;
    min-height: 320px;
}

/* Stats */
.stats-band {
    background:
        linear-gradient(90deg, rgba(17, 19, 24, 0.82), rgba(17, 19, 24, 0.62)),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
    color: #fff;
}

.stats-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 4.5rem 1.5rem;
    text-align: center;
}

.stats-inner h2 {
    color: #fff;
    max-width: 16ch;
    margin: 0 auto 2rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stats-row strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
}

.stats-row span {
    color: rgba(255, 255, 255, 0.78);
}

/* Stories */
.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.story-card {
    background: var(--fog);
    padding: 1.75rem 1.5rem;
    border-top: 3px solid var(--red);
}

.story-card p {
    color: #3a3d44;
    font-size: 1rem;
}

.story-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.story-card span {
    color: var(--muted);
    font-size: 0.88rem;
}

.subscribe-band {
    background: var(--charcoal);
    color: #fff;
}

.subscribe-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.subscribe-inner h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 0.35rem;
}

.subscribe-inner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.subscribe-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    min-width: min(100%, 420px);
}

.subscribe-form .form-alert {
    flex: 1 0 100%;
}

.subscribe-form input {
    flex: 1 1 220px;
    border: 0;
    padding: 0.95rem 1rem;
    font: inherit;
}

/* Page hero */
.page-hero {
    padding: 5rem 1.5rem 4.25rem;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(17, 19, 24, 0.72), rgba(17, 19, 24, 0.78)),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: #fff;
    max-width: 18ch;
    margin: 0 auto 0.75rem;
}

.page-hero .reveal {
    opacity: 1;
    transform: none;
}

.page-hero p {
    max-width: 36rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.product {
    background: #fff;
    border: 1px solid var(--line);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product h3 {
    font-size: 1.4rem;
}

.product .rate {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--red);
    margin: 0.35rem 0 0.25rem;
}

.product .rate span {
    font-size: 1rem;
    color: var(--muted);
    font-family: var(--font-body);
    font-weight: 500;
}

.product ul {
    margin: 1rem 0 1.5rem;
    padding: 0;
    list-style: none;
    flex: 1;
}

.product li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 0.55rem;
    color: var(--muted);
}

.product li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--red);
}

.cta-band {
    margin: 0 auto 4rem;
    max-width: var(--wrap);
    padding: 3rem 2.25rem;
    background: var(--charcoal);
    color: #fff;
}

.cta-band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    margin-bottom: 0.35rem;
}

.cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    max-width: 32rem;
}

/* Auth */
.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-visual {
    position: relative;
    background:
        radial-gradient(circle at 20% 20%, rgba(1, 49, 95, 0.55), transparent 42%),
        linear-gradient(160deg, #212226 0%, #01213f 100%);
    color: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.auth-visual .brand-logo {
    height: 96px;
    background: #fff;
    border-radius: 10px;
    padding: 0.4rem 0.55rem;
}

.auth-quote {
    max-width: 22rem;
}

.auth-quote h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 0.75rem;
}

.auth-quote p {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: #fff;
}

.auth-form-wrap {
    width: 100%;
    max-width: 400px;
}

.auth-form-wrap h1 {
    font-size: 2.2rem;
    margin-bottom: 0.35rem;
}

.auth-form-wrap > p {
    color: var(--muted);
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: #fff;
    color: var(--ink);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(1, 49, 95, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.form-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0 1.5rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.form-meta a,
.auth-switch a {
    color: var(--red);
    font-weight: 600;
}

.auth-form-wrap .btn,
.form-actions .btn {
    width: 100%;
}

.form-actions {
    display: grid;
    gap: 0.75rem;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.form-alert {
    display: none;
    padding: 0.85rem 1rem;
    background: rgba(1, 49, 95, 0.08);
    color: var(--red-dark);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.form-alert.is-visible {
    display: block;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-details h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
    margin: 0;
    color: var(--muted);
}

.contact-details a:hover {
    color: var(--red);
}

.contact-form {
    background: var(--fog);
    border: 1px solid var(--line);
    padding: 1.75rem;
}

.timeline {
    border-left: 2px solid var(--line);
    margin-left: 0.5rem;
    padding-left: 1.75rem;
    display: grid;
    gap: 2rem;
}

.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: calc(-1.75rem - 5px);
    top: 0.35rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(1, 49, 95, 0.15);
}

.timeline-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.timeline-item p {
    margin: 0;
    color: var(--muted);
}

.stat-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 1.5rem 0 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.stat-inline strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
}

.stat-inline span {
    color: var(--muted);
    font-size: 0.9rem;
}

.split-copy p {
    color: var(--muted);
}

/* Footer */
.site-footer {
    background: #111214;
    color: rgba(255, 255, 255, 0.72);
    padding: 4rem 1.5rem 1.5rem;
}

.footer-inner {
    max-width: var(--wrap);
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    gap: 3rem;
}

.footer-brand .brand-logo {
    height: 88px;
    background: #fff;
    border-radius: 8px;
    padding: 0.35rem 0.5rem;
}

.footer-brand p,
.footer-cols p {
    margin-top: 1rem;
    max-width: 22rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.68);
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.footer-cols h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-cols a {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-cols a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: var(--wrap);
    margin: 0 auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 980px) {
    .header-grid {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    }

    .logo-banner {
        grid-row: 1;
        grid-column: 1 / -1;
        height: auto;
        padding: 0.4rem 1rem;
    }

    .logo-banner .brand-logo {
        height: 64px;
    }

    .topbar {
        display: none;
    }

    .nav-bar {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-end;
        min-height: 64px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 1.25rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav > a,
    .nav-login {
        font-size: 1.35rem;
    }

    .nav-actions {
        flex-direction: column;
        width: min(260px, 80%);
        margin: 0.5rem 0 0;
    }

    .nav-actions .btn {
        width: 100%;
    }

    .feature-panel,
    .service-grid,
    .story-grid,
    .product-grid,
    .split,
    .contact-grid,
    .calc-grid,
    .auth-page,
    .footer-inner,
    .stats-row {
        grid-template-columns: 1fr;
    }

    .feature-panel {
        grid-template-columns: 1fr 1fr;
    }

    .about-badge {
        right: 12px;
    }

    .auth-visual {
        min-height: 260px;
        padding: 1.75rem;
    }

    .footer-cols {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .feature-panel,
    .form-row,
    .footer-cols {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 520px;
    }

    .hero-content {
        padding: 3.5rem 1.25rem 6rem;
    }

    .calc-copy {
        padding: 2.5rem 1.25rem;
    }

    .cta-band {
        margin: 0 0 2.5rem;
        padding: 2rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
