:root {
    color-scheme: light;
    --bg: #07111f;
    --bg-alt: #0f172a;
    --surface: rgba(15, 23, 42, 0.84);
    --surface-soft: rgba(15, 23, 42, 0.68);
    --card: rgba(255, 255, 255, 0.06);
    --card-strong: rgba(255, 255, 255, 0.1);
    --border: rgba(148, 163, 184, 0.18);
    --text: #e2e8f0;
    --text-muted: #9fb0c7;
    --accent: #7dd3fc;
    --accent-strong: #38bdf8;
    --success: #86efac;
    --danger: #f87171;
    --shadow: 0 24px 80px rgba(2, 6, 23, 0.4);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(125, 211, 252, 0.16), transparent 35%),
        radial-gradient(circle at top right, rgba(134, 239, 172, 0.12), transparent 28%),
        linear-gradient(180deg, #050b15 0%, #09131f 32%, #0f172a 100%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 92%);
}

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

button,
input,
textarea {
    font: inherit;
}

input,
textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);
    outline: none;
}

input:focus,
textarea:focus {
    border-color: rgba(125, 211, 252, 0.7);
    box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.14);
}

label {
    display: block;
    margin: 0 0 0.45rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.page-shell {
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.25rem 0 3rem;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 1rem;
    z-index: 10;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--success));
    color: #07111f;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
}

.brand strong,
.hero h1,
.form-intro h1,
.dashboard-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.03em;
}

.brand small {
    display: block;
    color: var(--text-muted);
}

.topnav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.content {
    padding: 2rem 0 0;
}

.eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
}

.hero,
.auth-layout,
.form-layout {
    display: grid;
    gap: 1.5rem;
}

.hero-grid,
.auth-layout {
    grid-template-columns: 1.25fr 0.95fr;
    align-items: stretch;
}

.hero-copy,
.auth-copy,
.form-intro {
    padding: 1rem 0;
}

.hero h1,
.auth-copy h1,
.form-intro h1,
.dashboard-header h1 {
    margin: 0;
    line-height: 0.95;
    font-size: clamp(2.75rem, 5vw, 5.25rem);
}

.lead {
    max-width: 62ch;
    margin: 1.25rem 0 0;
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.cta-row,
.dashboard-actions,
.form-actions,
.item-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.9rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-strong), #1d4ed8);
    color: white;
    font-weight: 800;
    box-shadow: 0 18px 36px rgba(14, 116, 144, 0.25);
}

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

.button-secondary,
.button-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: var(--border);
    box-shadow: none;
}

.button-danger {
    background: rgba(248, 113, 113, 0.16);
    color: #fecaca;
    border-color: rgba(248, 113, 113, 0.2);
}

.hero-panel,
.feature-grid,
.metrics-grid,
.split-grid {
    display: grid;
    gap: 1rem;
}

.hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid,
.metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.4rem;
}

.split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.4rem;
}

.stat-card,
.feature-card,
.metric-card,
.panel-card,
.demo-card,
.auth-panel,
.form-card,
.map-card {
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.72));
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
}

.stat-card {
    padding: 1.25rem;
}

.stat-card span,
.metric-card span {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.stat-card strong,
.metric-card strong {
    font-size: 2rem;
    font-family: 'Space Grotesk', sans-serif;
}

.stat-card small {
    display: block;
    margin-top: 0.65rem;
    color: var(--text-muted);
}

.feature-card,
.panel-card,
.demo-card,
.auth-panel,
.form-card,
.map-card {
    padding: 1.2rem;
}

.feature-card h2,
.section-heading h2 {
    margin: 0 0 0.6rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
}

.feature-card p,
.demo-card dd,
.demo-card dt,
.panel-card p,
.section-heading p,
.auth-copy p,
.form-intro p {
    color: var(--text-muted);
}

.demo-card {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.4rem;
}

.credential-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
}

.credential-list dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.credential-list dd {
    margin: 0.35rem 0 0;
    font-weight: 700;
    color: var(--text);
    word-break: break-word;
}

.dashboard-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.metrics-grid {
    margin-top: 0;
}

.metric-card {
    padding: 1rem 1.15rem;
}

.map-card,
.panel-card {
    overflow: hidden;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.map {
    width: 100%;
    min-height: 430px;
    border-radius: 22px;
    overflow: hidden;
}

.map-help-text {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.satellite-history {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(239, 237, 228, 0.7);
}

.history-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.history-label {
    display: block;
    font-weight: 800;
}

.history-toolbar p {
    margin: 0.3rem 0 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.satellite-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(2rem, 1fr));
    gap: 0.35rem;
    margin-top: 1rem;
    max-height: 13rem;
    overflow-y: auto;
    padding: 0.6rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.satellite-calendar-weekday {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
}

.satellite-calendar-month {
    grid-column: 1 / -1;
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px solid var(--border);
    color: var(--text);
    text-transform: capitalize;
}

.satellite-calendar-month:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.satellite-calendar-day {
    min-height: 2rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    cursor: not-allowed;
}

.satellite-calendar-day.is-available {
    border-color: rgba(125, 211, 252, 0.45);
    background: rgba(125, 211, 252, 0.18);
    color: var(--text);
    cursor: pointer;
}

.satellite-calendar-day.is-available:hover,
.satellite-calendar-day.is-available:focus-visible {
    background: var(--accent);
    color: #07111f;
}

.map-evolution-button {
    margin-top: 0.45rem;
    padding: 0.4rem 0.55rem;
    border: 0;
    border-radius: 7px;
    background: var(--accent);
    color: #07111f;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
}

.map-evolution-status {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.7rem;
}

.evolution-strip {
    display: flex;
    gap: 0.25rem;
    max-width: 14rem;
    margin-top: 0.45rem;
    overflow-x: auto;
}

.evolution-card {
    width: 3.5rem;
    flex: 0 0 auto;
    margin: 0;
}

.evolution-thumbnail {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: 4px;
}

.evolution-card figcaption {
    margin-top: 0.15rem;
    color: var(--text-muted);
    font-size: 0.58rem;
    line-height: 1.1;
    text-align: center;
}

.satellite-history label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.satellite-history select {
    min-width: 265px;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
}

.satellite-history p {
    max-width: 34rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: right;
}

.list-stack {
    display: grid;
    gap: 0.85rem;
}

.list-item {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
}

.list-item h3 {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
}

.list-item p,
.list-item small {
    margin: 0;
    color: var(--text-muted);
}

.empty-state {
    margin: 0;
    padding: 1rem;
    border: 1px dashed var(--border);
    border-radius: 18px;
    color: var(--text-muted);
}

.auth-panel,
.form-card {
    max-width: 560px;
}

.auth-panel {
    margin-left: auto;
}

.form-card.narrow {
    max-width: 620px;
}

.form-and-map {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(440px, 1.25fr);
    gap: 1rem;
    align-items: start;
}

.form-card form {
    display: grid;
    gap: 1rem;
}

.flash {
    padding: 1rem 1.15rem;
    border-radius: 18px;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.flash-success {
    border-color: rgba(134, 239, 172, 0.24);
    color: #bbf7d0;
}

.flash-error {
    border-color: rgba(248, 113, 113, 0.24);
    color: #fecaca;
}

.map-help {
    margin: 0.85rem 0 0;
    color: var(--text-muted);
}

.form-actions {
    margin-top: 0.5rem;
}

@media (max-width: 1100px) {
    .hero-grid,
    .hero-panel,
    .feature-grid,
    .metrics-grid,
    .split-grid,
    .form-and-map,
    .auth-layout,
    .dashboard-header,
    .demo-card {
        grid-template-columns: 1fr;
    }

    .dashboard-header,
    .demo-card {
        display: grid;
    }

    .topbar {
        position: static;
        flex-direction: column;
        align-items: start;
    }

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

@media (max-width: 700px) {
    .page-shell {
        width: min(100%, calc(100% - 1rem));
        padding-top: 0.5rem;
    }

    .topbar,
    .feature-card,
    .stat-card,
    .panel-card,
    .demo-card,
    .auth-panel,
    .form-card,
    .map-card {
        border-radius: 22px;
    }

    .hero h1,
    .auth-copy h1,
    .form-intro h1,
    .dashboard-header h1 {
        font-size: 2.3rem;
    }

    .map {
        min-height: 340px;
    }
}

/* ParcelCheck visual system: calm, editorial and built for field work. */
:root {
    --bg: #f4f1e8;
    --bg-alt: #e7e2d4;
    --surface: #fffdf7;
    --surface-soft: #efede4;
    --card: #fffdf7;
    --card-strong: #e5eee4;
    --border: #d8d7ca;
    --text: #1f2b20;
    --text-muted: #687264;
    --accent: #d97645;
    --accent-strong: #bd5931;
    --success: #6e8f5b;
    --danger: #b85c4c;
    --shadow: 0 20px 60px rgba(47, 55, 36, 0.1);
}

body {
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    background:
        radial-gradient(circle at 86% 2%, rgba(210, 224, 188, 0.68), transparent 27rem),
        radial-gradient(circle at 0% 30%, rgba(240, 211, 185, 0.35), transparent 30rem),
        var(--bg);
}

body::before {
    background-image: radial-gradient(rgba(31, 43, 32, 0.1) 0.7px, transparent 0.7px);
    background-size: 18px 18px;
    opacity: 0.2;
    mask-image: linear-gradient(180deg, black, transparent 78%);
}

.page-shell {
    width: min(1180px, calc(100% - 3rem));
    padding: 1.5rem 0 5rem;
}

.topbar {
    position: static;
    padding: 0.55rem 0.65rem 0.55rem 0.8rem;
    border: 1px solid rgba(31, 43, 32, 0.12);
    border-radius: 18px;
    background: rgba(255, 253, 247, 0.72);
    box-shadow: 0 8px 25px rgba(47, 55, 36, 0.06);
    backdrop-filter: blur(16px);
}

.brand {
    gap: 0.7rem;
}

.brand-mark {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 11px;
    background: var(--text);
    color: #e9b27e;
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
}

.brand strong,
.hero h1,
.form-intro h1,
.dashboard-header h1,
.feature-card h2,
.section-heading h2 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.brand strong {
    font-size: 1rem;
}

.brand small {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.topnav {
    gap: 0.3rem;
}

.topnav > a:not(.button) {
    padding: 0.65rem 0.8rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.topnav > a:not(.button):hover,
.text-link:hover {
    color: var(--accent-strong);
}

.content {
    padding-top: 4.5rem;
}

.hero {
    min-height: 510px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0 2rem;
}

.eyebrow {
    color: var(--accent-strong);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
}

.eyebrow-dot,
.status-dot {
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: var(--accent);
    vertical-align: 0.05em;
}

.hero h1,
.auth-copy h1,
.form-intro h1,
.dashboard-header h1 {
    max-width: 10ch;
    font-size: clamp(3.5rem, 7vw, 6.9rem);
    line-height: 0.9;
}

.lead {
    max-width: 53ch;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.cta-row {
    margin-top: 1rem;
}

.button {
    padding: 0.78rem 1rem;
    border-radius: 10px;
    background: var(--text);
    color: #fffdf7;
    box-shadow: 0 10px 20px rgba(31, 43, 32, 0.14);
    font-size: 0.88rem;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    background: var(--accent-strong);
    box-shadow: 0 12px 24px rgba(189, 89, 49, 0.2);
    transform: translateY(-2px);
}

.button-secondary,
.button-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
    box-shadow: none;
}

.button-secondary:hover,
.button-ghost:hover {
    background: var(--surface-soft);
    color: var(--text);
}

.button-danger {
    background: rgba(184, 92, 76, 0.1);
    color: var(--danger);
    border-color: rgba(184, 92, 76, 0.22);
}

.text-link {
    padding: 0.78rem 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    min-height: 450px;
    overflow: hidden;
    border-radius: 30px;
    background:
        linear-gradient(rgba(223, 231, 202, 0.24), rgba(223, 231, 202, 0.24)),
        linear-gradient(135deg, #aebc94, #d8d2ae 48%, #c6a781);
    box-shadow: 0 25px 65px rgba(47, 55, 36, 0.18);
}

.hero-visual::before,
.hero-visual::after {
    content: '';
    position: absolute;
    inset: -20%;
    background: repeating-linear-gradient(112deg, transparent 0 26px, rgba(255, 253, 247, 0.16) 27px 29px, transparent 30px 55px);
    transform: rotate(-10deg);
}

.hero-visual::after {
    background: repeating-linear-gradient(82deg, transparent 0 45px, rgba(88, 119, 74, 0.2) 46px 49px, transparent 50px 82px);
    transform: rotate(8deg);
    opacity: 0.7;
}

.hero-map-lines {
    position: absolute;
    inset: 0;
    background: linear-gradient(118deg, transparent 45%, rgba(255, 253, 247, 0.5) 45.3%, transparent 45.7%), linear-gradient(20deg, transparent 54%, rgba(255, 253, 247, 0.35) 54.3%, transparent 54.7%);
    z-index: 1;
}

.hero-visual-label,
.hero-visual-note {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(255, 253, 247, 0.5);
    background: rgba(255, 253, 247, 0.86);
    box-shadow: 0 10px 25px rgba(47, 55, 36, 0.12);
    backdrop-filter: blur(12px);
}

.hero-visual-label {
    top: 1.2rem;
    right: 1.2rem;
    padding: 0.6rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.status-dot {
    width: 0.4rem;
    height: 0.4rem;
    margin-right: 0.35rem;
    background: var(--success);
}

.hero-field {
    position: absolute;
    z-index: 2;
    border: 2px solid rgba(255, 253, 247, 0.84);
    background: rgba(91, 129, 73, 0.3);
    box-shadow: 0 0 0 1px rgba(71, 99, 59, 0.15), 0 12px 20px rgba(47, 55, 36, 0.12);
}

.field-one { inset: 22% 30% 32% 15%; border-radius: 44% 56% 30% 70% / 44% 40% 60% 56%; transform: rotate(-12deg); }
.field-two { inset: 38% 9% 15% 48%; border-radius: 70% 30% 55% 45% / 35% 55% 45% 65%; transform: rotate(13deg); background: rgba(190, 133, 62, 0.3); }
.field-three { inset: 57% 43% 8% 23%; border-radius: 28% 72% 63% 37% / 46% 34% 66% 54%; transform: rotate(27deg); background: rgba(211, 164, 84, 0.3); }

.hero-visual-note {
    bottom: 1.2rem;
    left: 1.2rem;
    display: grid;
    gap: 0.2rem;
    width: min(230px, calc(100% - 2.4rem));
    padding: 0.85rem 1rem;
    border-radius: 14px;
}

.hero-visual-note strong { font-family: 'Fraunces', serif; font-size: 1.2rem; }
.hero-visual-note span { color: var(--text-muted); font-size: 0.75rem; }
.hero-visual-note .note-kicker { color: var(--accent-strong); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }

.metrics-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 2.5rem 0 0;
    padding: 1.15rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.metrics-strip div { display: flex; align-items: baseline; gap: 0.65rem; padding: 0 1.2rem; border-right: 1px solid var(--border); }
.metrics-strip div:first-child { padding-left: 0; }
.metrics-strip div:last-child { border-right: 0; }
.metrics-strip strong { font-family: 'Fraunces', serif; font-size: 1.15rem; }
.metrics-strip span { color: var(--text-muted); font-size: 0.78rem; }

.feature-grid { gap: 0; margin-top: 5rem; }
.feature-card,
.stat-card,
.metric-card,
.panel-card,
.demo-card,
.auth-panel,
.form-card,
.map-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 253, 247, 0.78);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.feature-card { min-height: 220px; padding: 1.35rem; border-radius: 0; border-right: 0; }
.feature-card:first-child { border-radius: 18px 0 0 18px; }
.feature-card:last-child { border-right: 1px solid var(--border); border-radius: 0 18px 18px 0; }
.feature-number { color: var(--accent-strong); font-size: 0.7rem; font-weight: 700; }
.feature-card h2 { margin-top: 4rem; font-size: 1.65rem; }
.feature-card p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; }

.demo-card { margin-top: 2.5rem; padding: 1.5rem; background: var(--text); color: #fffdf7; }
.demo-card h2 { margin: 0; font-family: 'Fraunces', serif; font-size: 1.65rem; font-weight: 500; }
.demo-card .eyebrow, .demo-card dd { color: #e9b27e; }
.demo-card dt { color: rgba(255, 253, 247, 0.55); }

.dashboard-header h1 { max-width: 12ch; font-size: clamp(3rem, 5vw, 5.3rem); }
.dashboard-header { align-items: end; }
.dashboard-actions { justify-content: end; }
.metric-card { padding: 1rem 1.15rem; }
.metric-card strong { font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 500; }
.map-card, .panel-card { padding: 1.15rem; }
.map { min-height: 500px; border-radius: 13px; filter: saturate(0.82); }
.section-heading h2 { font-size: 1.75rem; }
.section-heading p { font-size: 0.8rem; }
.list-item { border-color: var(--border); border-radius: 12px; background: rgba(239, 237, 228, 0.7); }
.empty-state { border-color: var(--border); }
.auth-panel, .form-card { padding: 1.5rem; }
input, textarea { color: var(--text); border-color: var(--border); border-radius: 10px; background: var(--surface); }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(217, 118, 69, 0.13); }
.flash { border-radius: 12px; background: var(--surface); }

@media (max-width: 1100px) {
    .content { padding-top: 3rem; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { padding-bottom: 0; }
    .hero h1 { max-width: 11ch; }
}

@media (max-width: 700px) {
    .page-shell { width: min(100%, calc(100% - 1.25rem)); }
    .topbar { align-items: center; flex-direction: row; }
    .topnav > a:not(.button) { display: none; }
    .content { padding-top: 2.5rem; }
    .hero h1, .auth-copy h1, .form-intro h1, .dashboard-header h1 { font-size: 3.35rem; }
    .hero-visual { min-height: 390px; }
    .metrics-strip { grid-template-columns: 1fr; gap: 0.8rem; }
    .metrics-strip div, .metrics-strip div:first-child { padding: 0; border: 0; }
    .feature-grid { gap: 0.7rem; }
    .feature-card, .feature-card:first-child, .feature-card:last-child { min-height: auto; border: 1px solid var(--border); border-radius: 16px; }
    .feature-card h2 { margin-top: 2rem; }
    .demo-card { display: grid; }
    .credential-list { grid-template-columns: 1fr; }
    .satellite-history { align-items: stretch; flex-direction: column; }
    .satellite-history select { width: 100%; min-width: 0; }
    .satellite-history p { text-align: left; }
}
