/* ==========================================================================
   monopole.cloud — glassmorphic SaaS landing
   Palette:
     #f8fafc cloud white   #0f172a deep space   #6366f1 monopole indigo
     #e0e7ff glass tint    #94a3b8 fog gray     #818cf8 soft indigo
     #f1f5f9 mist layer
   Fonts: Plus Jakarta Sans (display + body), Fira Code (mono)
   ========================================================================== */

:root {
    --c-bg: #f8fafc;
    --c-text: #0f172a;
    --c-accent: #6366f1;
    --c-accent-soft: #818cf8;
    --c-glass: #e0e7ff;
    --c-fog: #94a3b8;
    --c-mist: #f1f5f9;

    --glass-bg: rgba(224, 231, 255, 0.5);
    --glass-bg-strong: rgba(248, 250, 252, 0.7);
    --glass-border: rgba(99, 102, 241, 0.1);
    --glass-border-hover: rgba(99, 102, 241, 0.3);

    --shadow-soft: 0 18px 40px -28px rgba(15, 23, 42, 0.18);
    --shadow-lift: 0 30px 60px -30px rgba(99, 102, 241, 0.35);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;

    --max: 1100px;

    --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    --font-mono: "Fira Code", "SFMono-Regular", Consolas, monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Subtle global gradient + atmospheric tint */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(224, 231, 255, 0.55), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(224, 231, 255, 0.45), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

main,
header.topbar,
footer.site-foot,
.section-dots,
.cloud-wisps {
    position: relative;
    z-index: 1;
}

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

.mono {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 0.85rem;
}

/* ==========================================================================
   Cloud wisp decorations
   ========================================================================== */
.cloud-wisps {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.wisp {
    position: absolute;
    background: rgba(224, 231, 255, 0.3);
    border-radius: 50%;
    filter: blur(40px);
    width: 200px;
    height: 100px;
    pointer-events: none;
    will-change: transform;
}

.wisp-1 { top: 8%; left: -4%; width: 280px; height: 140px; }
.wisp-2 { top: 28%; right: -3%; width: 260px; height: 120px; background: rgba(129, 140, 248, 0.22); }
.wisp-3 { top: 55%; left: 20%; width: 320px; height: 130px; }
.wisp-4 { top: 72%; right: 12%; width: 240px; height: 110px; background: rgba(99, 102, 241, 0.18); }
.wisp-5 { top: 92%; left: 8%; width: 300px; height: 140px; }
.wisp-6 { top: 4%; right: 30%; width: 220px; height: 100px; background: rgba(129, 140, 248, 0.18); }
.wisp-7 { top: 45%; left: -2%; width: 200px; height: 100px; }

/* ==========================================================================
   Top navigation
   ========================================================================== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    background: rgba(248, 250, 252, 0.65);
    border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}

.topbar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.95rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 1rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(224, 231, 255, 0.6);
    border: 1px solid var(--glass-border);
}

.brand-dot {
    color: var(--c-accent);
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 1rem;
    flex: 1;
}

.primary-nav a {
    font-size: 0.9rem;
    color: #475569;
    transition: color 160ms ease;
}

.primary-nav a:hover {
    color: var(--c-accent);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Buttons */
.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: -0.005em;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 220ms ease, border-color 180ms ease;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--c-accent);
    color: #fff;
    box-shadow: 0 12px 30px -16px rgba(99, 102, 241, 0.6);
}

.btn-primary:hover {
    background: var(--c-accent-soft);
    transform: translateY(-1px);
    box-shadow: 0 16px 36px -14px rgba(99, 102, 241, 0.55);
}

.btn-ghost {
    background: rgba(224, 231, 255, 0.4);
    color: var(--c-text);
    border-color: var(--glass-border);
}

.btn-ghost:hover {
    background: rgba(224, 231, 255, 0.7);
    border-color: var(--glass-border-hover);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 0.78rem 1.4rem;
    font-size: 0.95rem;
}

/* ==========================================================================
   Section dots navigator
   ========================================================================== */
.section-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    align-items: center;
}

.dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-fog);
    transition: background 180ms ease, transform 180ms ease;
    cursor: pointer;
}

.dot:hover {
    transform: scale(1.4);
    background: var(--c-accent-soft);
}

.dot.active {
    background: var(--c-accent);
    transform: scale(1.5);
}

.dot.active::before {
    content: "";
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
}

.dot-tip {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
    white-space: nowrap;
}

.dot:hover .dot-tip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Section base
   ========================================================================== */
.section {
    padding: 6rem 1.5rem;
    position: relative;
}

.section-mist {
    background: linear-gradient(180deg, transparent 0%, rgba(241, 245, 249, 0.7) 14%, rgba(241, 245, 249, 0.7) 86%, transparent 100%);
}

.section-head {
    max-width: var(--max);
    margin: 0 auto 3rem;
    text-align: left;
}

.section-kicker {
    display: inline-block;
    color: var(--c-accent);
    margin-bottom: 0.75rem;
    letter-spacing: 0.04em;
}

.section-title {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.9rem;
    color: var(--c-text);
    max-width: 28ch;
}

.section-lede {
    color: #475569;
    max-width: 60ch;
    font-size: 1rem;
    margin: 0;
}

/* ==========================================================================
   Glass utility
   ========================================================================== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e0e7ff 0%, #f8fafc 50%, #e0e7ff 100%);
    z-index: -1;
}

.hero-inner {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.hero-panel {
    padding: 2.5rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    background: rgba(248, 250, 252, 0.55);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    align-self: flex-start;
    background: rgba(224, 231, 255, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    color: #334155;
    font-family: var(--font-mono);
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5);
    animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5); }
    70%  { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.hero-title {
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--c-text);
}

.hero-accent {
    background: linear-gradient(120deg, var(--c-accent), var(--c-accent-soft));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-tagline {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0;
    max-width: 56ch;
}

.hero-cta {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--glass-border);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.meta-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--c-fog);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.meta-value {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--c-text);
    font-weight: 500;
}

.meta-divider {
    width: 1px;
    align-self: stretch;
    background: var(--glass-border);
}

/* Hero side: lattice visualization */
.hero-side {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(248, 250, 252, 0.55);
}

.hero-side-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #334155;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.lattice-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 6px;
    flex: 1;
    min-height: 220px;
}

.lattice-cell {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.12);
    position: relative;
    transition: background 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.lattice-cell.north {
    background: rgba(99, 102, 241, 0.35);
    border-color: rgba(99, 102, 241, 0.4);
}

.lattice-cell.south {
    background: rgba(129, 140, 248, 0.55);
    border-color: rgba(129, 140, 248, 0.6);
}

.lattice-cell.active {
    background: var(--c-accent);
    border-color: var(--c-accent);
    transform: scale(1.08);
}

.hero-side-foot {
    border-top: 1px solid var(--glass-border);
    padding-top: 0.85rem;
    color: var(--c-accent);
}

/* ==========================================================================
   Card row (feature cards)
   ========================================================================== */
.card-row {
    max-width: var(--max);
    margin: 0 auto 1.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.card-row:last-child {
    margin-bottom: 0;
}

.card {
    flex: 1;
    min-width: 280px;
    padding: 1.6rem 1.7rem 1.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    background: rgba(224, 231, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--glass-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.4rem;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--c-text);
}

.card-body {
    margin: 0;
    color: #475569;
    font-size: 0.93rem;
    line-height: 1.65;
}

.card-code {
    margin-top: auto;
    padding: 0.55rem 0.7rem;
    background: rgba(15, 23, 42, 0.04);
    color: var(--c-accent);
    border: 1px dashed rgba(99, 102, 241, 0.25);
    border-radius: 8px;
    align-self: flex-start;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

/* ==========================================================================
   Architecture stack
   ========================================================================== */
.arch-stack {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.arch-layer {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1.4rem;
    padding: 1.8rem 1.8rem;
    background: rgba(248, 250, 252, 0.55);
}

.arch-layer:hover {
    border-color: var(--glass-border-hover);
    transform: translateX(2px);
}

.arch-layer-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--c-accent);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.arch-layer-body h3 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.arch-layer-body p {
    margin: 0 0 0.85rem;
    color: #475569;
    font-size: 0.95rem;
}

.arch-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.arch-list li {
    background: rgba(224, 231, 255, 0.55);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    color: #334155;
}

.arch-connector {
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, var(--c-accent) 0%, transparent 100%);
    margin: 0 auto;
    opacity: 0.4;
}

/* ==========================================================================
   Region table
   ========================================================================== */
.region-table {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.5rem 0.4rem;
    background: rgba(248, 250, 252, 0.55);
    overflow: hidden;
}

.region-head,
.region-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.8fr 1fr 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.95rem 1.4rem;
}

.region-head {
    color: var(--c-fog);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    border-bottom: 1px solid var(--glass-border);
}

.region-row {
    border-bottom: 1px solid rgba(99, 102, 241, 0.06);
    transition: background 200ms ease;
}

.region-row:last-child {
    border-bottom: none;
}

.region-row:hover {
    background: rgba(224, 231, 255, 0.35);
}

.region-name {
    font-weight: 600;
    color: var(--c-text);
}

.region-name em {
    font-style: normal;
    color: var(--c-fog);
    font-weight: 400;
    margin-left: 0.4rem;
    font-size: 0.85rem;
}

.region-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #334155;
}

.region-status.balancing .status-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

/* ==========================================================================
   Console section
   ========================================================================== */
.console-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.5rem;
}

.console-card {
    padding: 0;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.92);
    color: #e0e7ff;
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: var(--radius-md);
    box-shadow: 0 25px 60px -28px rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.console-tabs {
    display: flex;
    gap: 1rem;
    padding: 0.85rem 1.2rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.18);
    color: var(--c-fog);
}

.console-tabs .tab {
    cursor: pointer;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid transparent;
    transition: color 180ms ease, border-color 180ms ease;
}

.console-tabs .tab.active {
    color: #fff;
    border-bottom-color: var(--c-accent);
}

.console-tabs .tab:hover {
    color: var(--c-accent-soft);
}

.console-output {
    margin: 0;
    padding: 1.4rem 1.4rem 1.6rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.75;
    color: #cbd5e1;
    white-space: pre;
    overflow-x: auto;
}

.console-output .prompt { color: var(--c-accent-soft); }
.console-output .comment { color: #64748b; }
.console-output .indigo { color: var(--c-accent-soft); }

.cursor {
    display: inline-block;
    width: 8px;
    height: 1em;
    background: var(--c-accent-soft);
    margin-left: 4px;
    vertical-align: middle;
    animation: blink 1s steps(2) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.console-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.console-feature {
    flex: 0 1 auto;
    min-width: auto;
    padding: 1.2rem 1.3rem;
}

.console-feature h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.console-feature p {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
}

.console-feature p code {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid var(--glass-border);
    padding: 0.05rem 0.35rem;
    border-radius: 6px;
    color: var(--c-accent);
    font-size: 0.82rem;
}

.console-foot {
    max-width: var(--max);
    margin: 2.5rem auto 0;
    padding: 1.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: rgba(248, 250, 252, 0.55);
}

.console-foot-text h3 {
    margin: 0 0 0.3rem;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.console-foot-text p {
    margin: 0;
    color: #475569;
}

.console-foot-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-foot {
    margin-top: 5rem;
    padding: 4rem 1.5rem 1.6rem;
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(180deg, rgba(241, 245, 249, 0) 0%, rgba(241, 245, 249, 0.6) 100%);
}

.foot-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 2rem;
}

.foot-brand .brand-name {
    font-weight: 700;
    font-size: 1.05rem;
}

.foot-blurb {
    margin: 0.6rem 0 0;
    color: var(--c-fog);
    font-size: 0.9rem;
    max-width: 36ch;
}

.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.foot-col {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.foot-head {
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    font-size: 0.7rem;
}

.foot-col a {
    font-size: 0.9rem;
    color: #475569;
    transition: color 180ms ease;
}

.foot-col a:hover {
    color: var(--c-accent);
}

.foot-bottom {
    max-width: var(--max);
    margin: 2.5rem auto 0;
    padding-top: 1.2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--c-fog);
    font-size: 0.75rem;
}

/* ==========================================================================
   Reveal-on-scroll utility
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
    .hero-inner,
    .console-grid,
    .foot-inner {
        grid-template-columns: 1fr;
    }

    .arch-layer {
        grid-template-columns: 64px 1fr;
        padding: 1.4rem 1.3rem;
    }

    .region-head,
    .region-row {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        font-size: 0.85rem;
        padding: 0.85rem 1rem;
    }

    .region-head span:nth-child(4),
    .region-row span:nth-child(4) {
        display: none;
    }

    .section-dots {
        right: 1rem;
        gap: 0.7rem;
    }
}

@media (max-width: 720px) {
    .topbar-inner { flex-wrap: wrap; gap: 0.8rem; }
    .primary-nav { display: none; }
    .topbar-actions .btn-ghost { display: none; }

    .section { padding: 4.5rem 1.2rem; }
    .hero-panel { padding: 1.8rem 1.5rem; }
    .hero-meta { gap: 0.8rem; }
    .meta-divider { display: none; }

    .foot-cols { grid-template-columns: 1fr 1fr; }

    .region-head,
    .region-row {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .region-head span:nth-child(2),
    .region-row span:nth-child(2),
    .region-head span:nth-child(4),
    .region-row span:nth-child(4) {
        display: none;
    }

    .section-dots { display: none; }
}
