/*
 * Public website — საქართველოს ამინდი. Hand-authored, no build step (docs/WEBSITE.md).
 * Mobile-first; light/dark via prefers-color-scheme; motion respects prefers-reduced-motion.
 */

:root {
    --blue-700: #1553a8;
    --blue-600: #1e6fd9;
    --blue-500: #3d8bfd;
    --blue-100: #e3eeff;
    --amber: #f2a541;
    --ink: #0f1b2d;

    --bg: #f5f8fd;
    --surface: #ffffff;
    --surface-2: #eef3fb;
    --text: #0f1b2d;
    --text-muted: #4a5a73;
    --border: #dbe4f1;
    --link: #1553a8;
    --focus: #f2a541;
    --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 12px 32px -12px rgba(15, 27, 45, .18);
    --shadow-lg: 0 30px 60px -20px rgba(15, 27, 45, .45);

    --sky-1: #0b2a5b;
    --sky-2: #1e6fd9;
    --sky-3: #2f7de0;
    --on-sky: #ffffff;
    --on-sky-muted: rgba(255, 255, 255, .86);

    --map-fill: #1e6fd9;
    --map-line: #1553a8;
    --map-glow: #3d8bfd;

    --radius: 20px;
    --radius-sm: 12px;
    --container: 1160px;
    --font: "Noto Sans Georgian", "BPG Arial", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b1422;
        --surface: #121e31;
        --surface-2: #17253c;
        --text: #e9f0fb;
        --text-muted: #a8b6cc;
        --border: #24344f;
        --link: #8cbcff;
        --blue-100: #1a2e4d;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
        --sky-1: #050d1c;
        --sky-2: #0f3470;
        --sky-3: #2560b8;
        --map-fill: #2f7de0;
        --map-line: #8cbcff;
        --map-glow: #3d8bfd;
    }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 6px;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: 10px;
    font-weight: 600; box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }

main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---- Header ---------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.02rem; }
.brand img { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.play-badge) {
    display: inline-block; padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
    white-space: nowrap;
}
.site-nav a:not(.play-badge):hover { background: var(--surface-2); }
.site-nav a[aria-current="page"] { background: var(--blue-100); color: var(--link); }
.site-nav .play-badge { white-space: nowrap; }

/* Hamburger (shown below 860px when JS runs; public/js/site.js). */
.nav-toggle {
    display: none; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
    border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
}
.nav-toggle:hover { background: var(--surface-2); }
.nav-toggle__bars { position: relative; display: block; width: 20px; height: 14px; }
.nav-toggle__bars span {
    position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .2s ease, opacity .15s ease, top .2s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.is-menu-open .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.is-menu-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.is-menu-open .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 859.98px) {
    /* With JS: brand + hamburger in one row; the nav becomes a panel under the header. */
    .js .nav-toggle { display: inline-flex; }
    .js .site-nav {
        position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
        flex-direction: column; align-items: stretch; gap: 14px; padding: 12px 20px 20px;
        background: var(--bg); border-bottom: 1px solid var(--border);
        /* Second shadow = scrim over the page; clipped so it never darkens the header bar itself. */
        box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .55), 0 0 0 100vmax rgba(4, 9, 18, .55); clip-path: inset(0 0 -100vmax 0);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    }
    .js .is-menu-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
    .js .site-nav ul { flex-direction: column; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
    .js .site-nav a:not(.play-badge) {
        display: flex; align-items: center; min-height: 52px; padding: 12px 16px; border-radius: 14px; font-size: 1.05rem;
    }
    .js .site-nav .play-badge { justify-content: center; min-height: 52px; }

    /* Without JS: a tidy second row with the page links (the Play badge is in the hero and footer). */
    html:not(.js) .header-inner { flex-wrap: wrap; }
    html:not(.js) .site-nav { width: 100%; }
    html:not(.js) .site-nav .play-badge { display: none; }
}

/* ---- Buttons & Play badge -------------------------------------------- */
.button {
    display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 22px;
    border-radius: 14px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
    transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.button--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(30, 111, 217, .7); }
.button--primary:hover { background: var(--blue-700); }
.button--ghost { color: var(--on-sky); border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); }
.button--ghost:hover { background: rgba(255, 255, 255, .18); }
.button:active { transform: translateY(1px); }

.play-badge {
    display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px;
    border-radius: 14px; background: #0b1220; color: #fff; text-decoration: none; line-height: 1.2;
    border: 1.5px solid rgba(255, 255, 255, .18); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
    transition: transform .15s ease, box-shadow .15s ease;
}
a.play-badge:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .7); }
.play-badge__text { display: flex; flex-direction: column; }
.play-badge__text small { font-size: .72rem; opacity: .8; }
.play-badge__text strong { font-weight: 600; font-size: 1rem; }
.play-badge__icon { color: #34d399; }
.play-badge.is-soon { background: rgba(255, 255, 255, .12); border-style: dashed; border-color: rgba(255, 255, 255, .55); box-shadow: none; cursor: default; }
.play-badge.is-soon .play-badge__icon { color: currentColor; }
.play-badge--compact { min-height: 40px; padding: 6px 14px; border-radius: 12px; }
.play-badge--compact .play-badge__text strong { font-size: .9rem; }
.site-header .play-badge.is-soon, .site-footer .play-badge.is-soon, .cta-band .play-badge.is-soon {
    background: var(--surface-2); color: var(--text-muted); border-color: var(--border);
}
.site-footer .play-badge { margin-top: 8px; }

/* ---- Hero -------------------------------------------------------------- */
.hero, .page-hero { position: relative; overflow: hidden; color: var(--on-sky); isolation: isolate; }
.hero__sky {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse 60% 55% at 85% 12%, rgba(242, 165, 65, .55), transparent 60%),
        radial-gradient(ellipse 70% 60% at 10% 100%, rgba(111, 177, 255, .28), transparent 65%),
        linear-gradient(160deg, var(--sky-1) 0%, var(--sky-2) 58%, var(--sky-3) 100%);
}
.hero__inner { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 64px; align-items: center; }
.eyebrow {
    display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
    font-size: .85rem; font-weight: 600; letter-spacing: .02em;
}
.hero h1, .page-hero h1 { color: #fff; }
.hero__lead, .page-hero__lead { font-size: clamp(1.08rem, 2.4vw, 1.3rem); color: var(--on-sky-muted); max-width: 34em; }
.page-hero__meta { color: var(--on-sky-muted); margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__device { display: flex; justify-content: center; }
.phone {
    position: relative; width: min(290px, 78vw); aspect-ratio: 9 / 19.5;
    padding: 10px; border-radius: 44px; background: linear-gradient(145deg, #1c2638, #05080f);
    box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
}
.phone__screen { width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #0b1422; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__brand {
    height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center;
    background: radial-gradient(circle at 50% 30%, rgba(242, 165, 65, .35), transparent 55%), linear-gradient(170deg, #11346e, #0b1422 80%);
    color: #fff; font-weight: 800; font-size: 1.1rem;
}
.phone__brand img { width: 112px; height: 112px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .4)); }
.phone--small { width: 220px; border-radius: 36px; padding: 8px; }
.phone--small .phone__screen { border-radius: 29px; }

.page-hero { padding: 56px 0 64px; }
.page-hero--compact { padding: 44px 0 52px; }

/* ---- Sections ---------------------------------------------------------- */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0 64px; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }
.section-more { margin: 24px 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Weather now — a regular section below the hero (no negative margin: the positioned hero would paint over it). */
.section--weather {
    background: radial-gradient(ellipse 70% 55% at 50% 0%, color-mix(in srgb, var(--blue-600) 12%, transparent), transparent 72%);
}
.weather-grid, .feature-grid, .gallery, .check-list, .toc ul { list-style: none; margin: 0; padding: 0; }
.weather-grid { display: grid; gap: 16px; }
.weather-card {
    position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: var(--radius);
    background: linear-gradient(160deg, color-mix(in srgb, var(--blue-600) 14%, var(--surface)), var(--surface) 60%);
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.weather-card__city { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.weather-card__main { display: flex; align-items: center; gap: 12px; }
.weather-card__temp { margin: 0; font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.weather-card__temp .unit { font-size: 1.3rem; font-weight: 600; vertical-align: top; margin-left: 2px; color: var(--text-muted); }
.weather-card__condition { font-weight: 600; margin: 10px 0 8px; }
.weather-card__facts { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.weather-card__facts li { font-size: .85rem; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-muted); }
.weather-card__meta { font-size: .82rem; color: var(--text-muted); margin: 0; }
.weather-card.is-pending { background: var(--surface); }

/* Empty ("no data yet") state — shared by public website cards. */
.empty-state {
    flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    margin-top: 12px; padding: 18px; border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--surface-2) 70%, transparent);
    border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}
.empty-state__icon {
    display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 12px;
    color: var(--link); background: color-mix(in srgb, var(--blue-600) 14%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue-600) 28%, transparent);
}
.empty-state__icon .icon { width: 22px; height: 22px; }
.empty-state__title { margin: 0; font-weight: 700; font-size: 1rem; line-height: 1.4; color: var(--text); }
.empty-state__text { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--text-muted); }

/* Features */
.feature-grid { display: grid; gap: 16px; }
.feature-card {
    padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--blue-600) 45%, var(--border)); }
.feature-card h3 { margin-top: 14px; }
.feature-card p { color: var(--text-muted); margin: 0; font-size: .95rem; }
.feature-card__icon {
    display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
    background: linear-gradient(145deg, var(--blue-600), var(--blue-500)); color: #fff; box-shadow: 0 8px 18px -8px rgba(30, 111, 217, .8);
}

/* Georgia */
.section--georgia { background: linear-gradient(180deg, transparent, var(--surface-2) 30%, var(--surface-2) 70%, transparent); }
.georgia { display: grid; gap: 28px; align-items: center; }
.georgia__lead { font-size: 1.1rem; color: var(--text-muted); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.check-list .icon { color: var(--blue-600); margin-top: .2em; }
/*
 * Right column: Georgia map with real city markers and their names (partials/georgia-map, App\Support\GeorgiaMap).
 * Markers live in the SVG's own coordinate system, so they scale with the map and never drift.
 */
.georgia__visual { display: flex; justify-content: center; min-width: 0; }
.georgia__map { position: relative; isolation: isolate; width: 100%; max-width: 560px; aspect-ratio: 500 / 259; }
.georgia__map::before {
    content: ""; position: absolute; inset: -6% 4%; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--blue-600) 16%, transparent), transparent);
}
.georgia-map { display: block; width: 100%; height: 100%; overflow: visible; }
.georgia-map__fill-a { stop-color: var(--map-fill); stop-opacity: .3; }
.georgia-map__fill-b { stop-color: var(--map-fill); stop-opacity: .06; }
.georgia-map__grid { fill: var(--map-line); opacity: .2; }
.georgia-map__glow { fill: none; stroke: var(--map-glow); stroke-width: 12; stroke-linejoin: round; opacity: .14; filter: blur(8px); }
.georgia-map__outline { fill: none; stroke: var(--map-line); stroke-width: 1.2; stroke-linejoin: round; opacity: .55; }

/*
 * City markers + labels (always visible). Font size is in SVG units, so labels scale with the map and stay on
 * their markers; each label is anchored on the side facing its marker (GeorgiaMap::markers()).
 */
.georgia-map { --mk: 1; }
.gm-marker__ring { fill: var(--amber); opacity: .2; transform-box: fill-box; transform-origin: center; transform: scale(var(--mk)); transition: opacity .2s ease, transform .2s ease; }
.gm-marker__dot { fill: var(--amber); stroke: var(--bg); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; transform: scale(var(--mk)); transition: transform .2s ease; }
.gm-label {
    font-family: var(--font); font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
    fill: var(--text); paint-order: stroke; stroke: var(--bg); stroke-width: .3em; stroke-linejoin: round;
    transition: fill .2s ease;
}
/* Gentle emphasis on hover only — nothing depends on it. */
.gm-city:hover .gm-marker__ring { opacity: .38; transform: scale(calc(var(--mk) * 1.45)); }
.gm-city:hover .gm-marker__dot { transform: scale(calc(var(--mk) * 1.25)); }
.gm-city:hover .gm-label { fill: var(--amber); }

/* Gallery */
.gallery {
    display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 24px;
    max-width: var(--container); margin: 0 auto; scrollbar-width: thin;
}
.gallery li { scroll-snap-align: center; flex: none; }
.gallery figure { margin: 0; }
.gallery figcaption { text-align: center; margin-top: 12px; font-weight: 600; color: var(--text-muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq summary {
    list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; border-radius: var(--radius-sm);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
    border-right: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--text-muted); }

/* CTA band */
.section--cta { padding-top: 24px; }
.cta-band {
    display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding: 32px; border-radius: 28px; color: #fff;
    background:
        radial-gradient(ellipse 50% 80% at 100% 0%, rgba(242, 165, 65, .45), transparent 60%),
        linear-gradient(135deg, #0b2a5b, #1e6fd9);
    box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .86); }
.cta-band img { width: 64px; height: 64px; border-radius: 18px; }
.cta-band .play-badge.is-soon { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55); }

/* ---- Support ---------------------------------------------------------- */
.support-layout { display: grid; gap: 28px; align-items: start; }
.contact-card, .help-card, .form-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px;
}
.contact-card { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.contact-card h2, .help-card h2 { font-size: 1.25rem; }
.contact-card p { margin: 0; }
.toc { margin-bottom: 20px; }
.toc ul { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--blue-100); text-decoration: none; font-weight: 600; font-size: .9rem; }
.help-card { margin-bottom: 16px; scroll-margin-top: 90px; }
.help-card ul { margin: 0; padding-left: 1.2em; }
.help-card li { margin-bottom: 8px; color: var(--text-muted); }
.help-card li::marker { color: var(--blue-600); }

.form-card { scroll-margin-top: 90px; }
.form-lead { color: var(--text-muted); }
.field { margin-bottom: 18px; }
.field label, .device-info legend { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="email"], select, textarea {
    width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid var(--border);
    border-radius: 12px; padding: 12px 14px; min-height: 48px;
}
textarea { resize: vertical; min-height: 140px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--blue-600); outline-offset: 1px; }
[aria-invalid="true"] { border-color: #d64545 !important; }
.hint { font-size: .85rem; color: var(--text-muted); margin: 6px 0 0; }
.device-info { border: 1.5px dashed var(--border); border-radius: 14px; padding: 14px 16px; margin: 0 0 18px; }
.device-info dl { margin: 10px 0; display: grid; gap: 4px; }
.device-info dl div { display: flex; gap: 8px; }
.device-info dt { color: var(--text-muted); }
.device-info dd { margin: 0; font-weight: 600; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue-600); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card .button { width: 100%; justify-content: center; margin-top: 4px; }
.alert { border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; }
.alert p { margin: 0 0 4px; }
.alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.alert--success { background: color-mix(in srgb, #1f9d61 14%, var(--surface)); border: 1px solid color-mix(in srgb, #1f9d61 45%, transparent); }
.alert--error { background: color-mix(in srgb, #d64545 12%, var(--surface)); border: 1px solid color-mix(in srgb, #d64545 45%, transparent); }

/* ---- Legal ------------------------------------------------------------ */
.notice {
    display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 28px;
    background: color-mix(in srgb, var(--amber) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 55%, transparent); font-weight: 600;
}
.notice .icon { color: #b86e00; margin-top: .2em; }
.prose { font-size: 1.03rem; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.prose blockquote { margin: 1em 0; padding: 8px 16px; border-left: 4px solid var(--blue-600); background: var(--surface-2); border-radius: 0 10px 10px 0; }
.prose code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.legal-contact { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { margin-top: 32px; padding: 48px 0 24px; background: var(--surface); border-top: 1px solid var(--border); }
.footer-grid { display: grid; gap: 28px; }
.footer-brand p { color: var(--text-muted); margin: 12px 0; max-width: 28em; }
.footer-title { font-size: .95rem; margin-bottom: 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: var(--text-muted); text-decoration: none; word-break: break-word; }
.footer-links a:hover { color: var(--link); text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---- Larger screens ----------------------------------------------------- */
@media (min-width: 640px) {
    .weather-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-band { flex-direction: row; align-items: center; }
    .cta-band__copy { flex: 1; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
}

@media (min-width: 900px) {
    .hero__inner { grid-template-columns: 1.15fr .85fr; padding-top: 72px; padding-bottom: 96px; }
    .hero__device { justify-content: flex-end; }
    .phone { width: 300px; }
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
    .georgia { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .support-layout { grid-template-columns: 1.3fr 1fr; }
    .form-card { position: sticky; top: 88px; }
    .section { padding: 88px 0; }
    .section--weather { padding-top: 72px; }
}

@media (max-width: 520px) {
    .georgia-map { --mk: 1.45; } /* markers keep a visible size on the smaller map */
    .gm-label { font-size: 16.5px; } /* ≈ 11–13 px on screen at 375–430 px wide */
    .brand span { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
    .site-header, .site-footer, .hero__sky, .play-badge { display: none !important; }
    .hero, .page-hero { color: #000; }
}
