/* VirelVPN website — the app's dark glass language, translated to the web.
   One static file, no build step, system fonts. Green means one thing only:
   live state and the primary action.

   Three themes, like the app: dark is the design's home (the tokens on
   :root), light follows the app's own light-palette rules (chat 11: green
   TEXT gets a darker shade — --accent-ink — while green FILLS keep the
   accent; the primary button stays green), and automatic is the absence
   of a data-theme attribute, in which case prefers-color-scheme decides.
   Every colour is a token; nothing below the palettes names a hex. */

:root {
    --bg: #0A0E14;
    --surface: #111820;
    --stroke: #1F2A36;
    --glass: rgba(255, 255, 255, 0.06);
    --glass-raised: rgba(255, 255, 255, 0.09);
    --glass-stroke: rgba(255, 255, 255, 0.08);
    --card-top: rgba(255, 255, 255, 0.075);
    --card-bottom: rgba(255, 255, 255, 0.035);
    --nav-bg: rgba(10, 14, 20, 0.82);
    --ink: #E7ECF3;
    --ink-dim: #A8B3C4;
    --ink-faint: #8A94A6;
    --accent: #22C55E;
    --accent-ink: #22C55E;
    --on-accent: #0A0E14;
    --accent-soft: rgba(34, 197, 94, 0.14);
    --accent-glow: rgba(34, 197, 94, 0.20);
    --accent-line: rgba(34, 197, 94, 0.40);
    --hero-glow: rgba(34, 197, 94, 0.13);
    --field: rgba(255, 255, 255, 0.05);
    --field-stroke: rgba(255, 255, 255, 0.14);
    --danger: #EF4444;
    --danger-ink: #F3B4B4;
    --danger-soft: rgba(239, 68, 68, 0.08);
    --danger-line: rgba(239, 68, 68, 0.35);
    --flash-ink: #BBF7D0;
    --flash-line: rgba(34, 197, 94, 0.35);
    --warn-bg: rgba(250, 204, 21, 0.12);
    --warn-line: rgba(250, 204, 21, 0.35);
    --warn-ink: #FDE68A;
    --pill-off: rgba(255, 255, 255, 0.07);
    --menu-shadow: rgba(0, 0, 0, 0.45);
    --flag-ring: rgba(255, 255, 255, 0.12);
    --mark-outer: #22C55E;
    --mark-mid: #7BE8A6;
    --mark-ink: #EAFFF3;
    color-scheme: dark;
}

/* The light palette, twice: once for "automatic" when the system is light
   (and no explicit choice was made), once for an explicit "light". The two
   blocks must stay identical — CSS has no way to share them. */
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        --bg: #F4F7FB;
        --surface: #FFFFFF;
        --stroke: #D9E0EA;
        --glass: rgba(15, 23, 42, 0.04);
        --glass-raised: rgba(15, 23, 42, 0.07);
        --glass-stroke: rgba(15, 23, 42, 0.10);
        --card-top: rgba(255, 255, 255, 0.92);
        --card-bottom: rgba(255, 255, 255, 0.70);
        --nav-bg: rgba(244, 247, 251, 0.85);
        --ink: #0F172A;
        --ink-dim: #475569;
        --ink-faint: #64748B;
        --accent: #16A34A;
        --accent-ink: #15803D;
        --on-accent: #FFFFFF;
        --accent-soft: rgba(22, 163, 74, 0.12);
        --accent-glow: rgba(22, 163, 74, 0.22);
        --accent-line: rgba(22, 163, 74, 0.45);
        --hero-glow: rgba(22, 163, 74, 0.12);
        --field: #FFFFFF;
        --field-stroke: #CBD5E1;
        --danger: #DC2626;
        --danger-ink: #B91C1C;
        --danger-soft: rgba(220, 38, 38, 0.06);
        --danger-line: rgba(220, 38, 38, 0.35);
        --flash-ink: #166534;
        --flash-line: rgba(22, 163, 74, 0.35);
        --warn-bg: rgba(217, 119, 6, 0.10);
        --warn-line: rgba(217, 119, 6, 0.35);
        --warn-ink: #92400E;
        --pill-off: rgba(15, 23, 42, 0.06);
        --menu-shadow: rgba(15, 23, 42, 0.18);
        --flag-ring: rgba(15, 23, 42, 0.15);
        --mark-outer: #16A34A;
        --mark-mid: #22C55E;
        --mark-ink: #14532D;
        color-scheme: light;
    }
}
:root[data-theme="light"] {
    --bg: #F4F7FB;
    --surface: #FFFFFF;
    --stroke: #D9E0EA;
    --glass: rgba(15, 23, 42, 0.04);
    --glass-raised: rgba(15, 23, 42, 0.07);
    --glass-stroke: rgba(15, 23, 42, 0.10);
    --card-top: rgba(255, 255, 255, 0.92);
    --card-bottom: rgba(255, 255, 255, 0.70);
    --nav-bg: rgba(244, 247, 251, 0.85);
    --ink: #0F172A;
    --ink-dim: #475569;
    --ink-faint: #64748B;
    --accent: #16A34A;
    --accent-ink: #15803D;
    --on-accent: #FFFFFF;
    --accent-soft: rgba(22, 163, 74, 0.12);
    --accent-glow: rgba(22, 163, 74, 0.22);
    --accent-line: rgba(22, 163, 74, 0.45);
    --hero-glow: rgba(22, 163, 74, 0.12);
    --field: #FFFFFF;
    --field-stroke: #CBD5E1;
    --danger: #DC2626;
    --danger-ink: #B91C1C;
    --danger-soft: rgba(220, 38, 38, 0.06);
    --danger-line: rgba(220, 38, 38, 0.35);
    --flash-ink: #166534;
    --flash-line: rgba(22, 163, 74, 0.35);
    --warn-bg: rgba(217, 119, 6, 0.10);
    --warn-line: rgba(217, 119, 6, 0.35);
    --warn-ink: #92400E;
    --pill-off: rgba(15, 23, 42, 0.06);
    --menu-shadow: rgba(15, 23, 42, 0.18);
    --flag-ring: rgba(15, 23, 42, 0.15);
    --mark-outer: #16A34A;
    --mark-mid: #22C55E;
    --mark-ink: #14532D;
    color-scheme: light;
}

/* ---------- theme reveal ---------- */

/* The switcher's script flips the theme inside a view transition and clips
   the new page to a circle growing from the button (public/js/theme.js).
   The default cross-fade is switched off so the circle is the whole
   effect; the new snapshot sits on top and the clip does the rest. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
/* Phones: a little more air at the edges (the owner felt the content sat
   against the sides), and cards give it back on the inside so the text
   column does not shrink. */
@media (max-width: 980px) {
    .container { padding: 0 32px; }
}
@media (max-width: 640px) {
    .container { padding: 0 8.5vw; }   /* ≈32px on a 375px phone, ≈36px on 430px */
    .card { padding: 20px; border-radius: 16px; }
    .hero { padding: 60px 0 52px; }
    .section { padding: 52px 0; }
    .section-tight { padding: 36px 0; }
}

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 14px; }
h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -0.02em; }
h2 { font-size: clamp(23px, 3.4vw, 30px); letter-spacing: -0.01em; }
h3 { font-size: 18px; }
p  { margin: 0 0 14px; }
a  { color: inherit; }
.muted { color: var(--ink-dim); }
.small { font-size: 13.5px; }
.accent { color: var(--accent-ink); }

/* ---------- nav ---------- */

.nav-wrap {
    position: sticky; top: 0; z-index: 50;
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-stroke);
}
.nav {
    display: flex; align-items: center; gap: 26px;
    height: 64px;
}
.nav-brand {
    display: flex; align-items: center; gap: 9px;
    font-size: 19px; font-weight: 700; text-decoration: none;
}
.nav-brand em { font-style: normal; color: var(--accent-ink); }
.nav-links { display: flex; gap: 22px; flex: 1; }
.nav-links a {
    text-decoration: none; color: var(--ink-dim);
    font-size: 14.5px; font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* Phones: the brand, the language button and one account button fit on
   the first row; the page links drop to a second row instead of vanishing.
   The green "Get VirelVPN" goes — the hero has it a thumb's width below. */
@media (max-width: 640px) {
    /* padding-top/bottom only: the shorthand `padding: 10px 0` here wiped
       the .container side padding and glued the bar to the screen edges. */
    .nav { flex-wrap: wrap; gap: 10px 14px; height: auto; padding-top: 10px; padding-bottom: 10px; }
    .nav-brand { font-size: 17px; }
    .nav-cta { margin-inline-start: auto; }
    .nav-cta .btn-primary { display: none; }
    .nav-cta .btn { padding: 8px 12px; font-size: 13.5px; }
    .nav-links { order: 3; flex-basis: 100%; gap: 18px; }
}

/* ---------- language + theme switchers ---------- */

/* <details> menus: open and close with no script, and the browser handles
   keyboard and focus for free. The theme menu borrows every rule. */
.lang, .theme { position: relative; }
.lang summary, .theme summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 6px;
    padding: 8px 11px; border-radius: 12px;
    background: var(--glass); border: 1px solid var(--glass-stroke);
    color: var(--ink-dim); font-size: 13px; font-weight: 600; line-height: 1;
}
.lang summary::-webkit-details-marker, .theme summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary,
.theme summary:hover, .theme[open] summary { color: var(--ink); background: var(--glass-raised); }
.theme summary { padding: 8px 9px; }
.theme-icon { flex-shrink: 0; display: block; }
.theme-icon[hidden] { display: none; }
.lang-icon { flex-shrink: 0; }
.lang-flag { display: inline-flex; line-height: 0; }
.flag-svg { border-radius: 2px; box-shadow: 0 0 0 1px var(--flag-ring); }
.lang-menu {
    position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
    min-width: 210px; margin: 0; padding: 6px; list-style: none;
    background: var(--surface); border: 1px solid var(--glass-stroke);
    border-radius: 14px; box-shadow: 0 18px 40px var(--menu-shadow);
    z-index: 60;
}
.theme-menu { min-width: 150px; }
.lang-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 9px;
    text-decoration: none; color: var(--ink-dim); font-size: 14px;
}
.lang-menu a:hover { background: var(--glass-raised); color: var(--ink); }
.lang-menu a.current { color: var(--accent-ink); font-weight: 600; }
@media (max-width: 640px) { .lang-code { display: none; } }

/* ---------- right-to-left ---------- */

/* Layout is flex/grid throughout, so the browser mirrors it. What is left
   is the handful of places that spell out a physical side. */
[dir="rtl"] .msg.you { border-bottom-right-radius: 16px; border-bottom-left-radius: 6px; }
[dir="rtl"] .msg.us  { border-bottom-left-radius: 16px; border-bottom-right-radius: 6px; }
[dir="rtl"] .plan-badge { left: auto; right: 50%; transform: translateX(50%); }

/* ---------- buttons ---------- */

.btn {
    display: inline-block; padding: 11px 20px;
    border-radius: 12px; border: 1px solid transparent;
    font-size: 14.5px; font-weight: 600; text-decoration: none;
    cursor: pointer; transition: filter 0.15s, background 0.15s;
    font-family: inherit;
}
.btn-primary {
    background: var(--accent); color: var(--on-accent);
    box-shadow: 0 0 24px var(--accent-glow);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
    background: var(--glass); color: var(--ink);
    border-color: var(--glass-stroke);
}
.btn-ghost:hover { background: var(--glass-raised); }
.btn-danger-ghost {
    background: var(--danger-soft); color: var(--danger-ink);
    border-color: var(--danger-line);
    padding: 7px 14px; font-size: 13px;
}
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 14px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- sections ---------- */

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.hero {
    padding: 88px 0 72px;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 46% at 50% -4%, var(--hero-glow), transparent),
        var(--bg);
}
.hero .lede {
    font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-dim);
    max-width: 620px; margin: 0 auto 30px;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.hero-mark { margin-bottom: 22px; }

.trust-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.chip {
    padding: 6px 14px; border-radius: 999px;
    background: var(--glass); border: 1px solid var(--glass-stroke);
    font-size: 13px; color: var(--ink-dim);
}
.chip b { color: var(--ink); font-weight: 600; }

/* ---------- glass cards & grids ---------- */

.card {
    background: linear-gradient(160deg, var(--card-top), var(--card-bottom));
    border: 1px solid var(--glass-stroke);
    border-radius: 20px; padding: 24px;
}
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.feature-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--accent-ink);
    margin-bottom: 14px; font-size: 20px;
}
.card h3 { margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }
.card .muted { font-size: 14px; }

/* ---------- locations ---------- */

.loc-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.loc {
    display: flex; align-items: center; gap: 9px;
    padding: 10px 16px; border-radius: 12px;
    background: var(--glass); border: 1px solid var(--glass-stroke);
    font-size: 14.5px;
}
.loc .flag { font-size: 18px; line-height: 1; }
.loc .tag {
    font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
    color: var(--accent-ink); text-transform: uppercase;
}

/* ---------- pricing ---------- */

.plans { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.recommended { border-color: var(--accent-line); box-shadow: 0 0 34px var(--accent-soft); }
.plan-badge {
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    padding: 3px 12px; border-radius: 999px;
    background: var(--accent); color: var(--on-accent);
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; white-space: nowrap;
}
.plan-price { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 2px; }
.plan-price span { font-size: 15px; font-weight: 500; color: var(--ink-dim); }
.plan-per { color: var(--ink-faint); font-size: 13.5px; margin-bottom: 16px; }
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */

.faq details {
    background: var(--glass); border: 1px solid var(--glass-stroke);
    border-radius: 14px; padding: 0 20px; margin-bottom: 10px;
}
.faq summary {
    cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 15.5px;
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-ink); font-size: 20px; font-weight: 500; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details > p { color: var(--ink-dim); font-size: 14.5px; padding-bottom: 16px; margin: 0; white-space: pre-line; }
.faq-cat {
    margin: 30px 0 12px; font-size: 13px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint);
}

/* ---------- steps / how it works ---------- */

.step-num {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--accent-ink);
    font-weight: 700; font-size: 15px; margin-bottom: 12px;
}

/* ---------- platforms ---------- */

.platforms { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.platform {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: 12px;
    background: var(--glass); border: 1px solid var(--glass-stroke);
    font-size: 14px; color: var(--ink-dim);
}
.platform.live { color: var(--ink); border-color: var(--accent-line); }
.platform .soon {
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em;
    color: var(--ink-faint); text-transform: uppercase;
}

/* ---------- forms / auth / account ---------- */

.form-card { max-width: 440px; margin: 0 auto; }
.page-narrow { max-width: 720px; margin: 0 auto; }
label { display: block; font-size: 13.5px; color: var(--ink-dim); margin: 16px 0 6px; }
input[type=email], input[type=password], input[type=text] {
    width: 100%; padding: 12px 14px; font-size: 15px;
    color: var(--ink); background: var(--field);
    border: 1px solid var(--field-stroke); border-radius: 10px;
    font-family: inherit;
}
input:focus { outline: none; border-color: var(--accent); }
.form-error { color: var(--danger-ink); font-size: 13.5px; margin: 8px 0 0; }
label.check { display: flex; align-items: center; gap: 9px; cursor: pointer; }
label.check input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.flash {
    padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 14px;
    background: var(--accent-soft); border: 1px solid var(--flash-line); color: var(--flash-ink);
}

.status-pill {
    display: inline-block; padding: 4px 12px; border-radius: 999px;
    font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em;
}
.status-pill.on  { background: var(--accent-soft); color: var(--accent-ink); }
.status-pill.off { background: var(--pill-off); color: var(--ink-dim); }

/* ---------- support conversations ---------- */

/* The ticket states, in the app's colours: amber = the ball is in our court,
   green = we answered, grey = done. */
.status-pill.open     { background: var(--warn-bg); color: var(--warn-ink); }
.status-pill.answered { background: var(--accent-soft); color: var(--accent-ink); }
.status-pill.closed   { background: var(--pill-off); color: var(--ink-dim); }

.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.card-head h3 { margin-bottom: 2px; }
.crumbs { color: var(--ink-faint); font-size: 13.5px; margin-bottom: 18px; }
.crumbs a { color: var(--ink-dim); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.flash-warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-ink); }

textarea {
    width: 100%; min-height: 150px; padding: 12px 14px; font-size: 15px; line-height: 1.55;
    color: var(--ink); background: var(--field);
    border: 1px solid var(--field-stroke); border-radius: 10px;
    font-family: inherit; resize: vertical;
}
textarea:focus { outline: none; border-color: var(--accent); }
textarea::placeholder { color: var(--ink-faint); }

.ticket-row {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid var(--glass-stroke);
    text-decoration: none; color: inherit;
}
.ticket-row:first-of-type { margin-top: 10px; }
.ticket-row:last-child { border-bottom: none; }
.ticket-row .body { flex: 1; min-width: 0; }
.ticket-row .cat { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.ticket-row .excerpt { color: var(--ink-dim); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket-row:hover .excerpt { color: var(--ink); }
.ticket-row .meta { color: var(--ink-faint); font-size: 12.5px; }
.dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
    background: var(--accent); box-shadow: 0 0 8px var(--accent-glow);
}

.cat-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card {
    display: block; padding: 16px 18px; border-radius: 14px;
    background: var(--glass); border: 1px solid var(--glass-stroke);
    text-decoration: none; color: inherit;
}
.cat-card:hover { border-color: var(--accent-line); background: var(--glass-raised); }
.cat-card .name { font-weight: 600; font-size: 15px; }
.cat-card .desc { color: var(--ink-faint); font-size: 13.5px; }

.faq-inline details { margin-bottom: 8px; }
.faq-inline details:last-child { margin-bottom: 0; }

.thread { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.msg {
    max-width: 82%; padding: 12px 16px; border-radius: 16px;
    font-size: 15px; overflow-wrap: anywhere;
}
.msg .text { white-space: pre-line; }
.msg .who { font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.msg .when { font-size: 12px; color: var(--ink-faint); margin-top: 6px; }
.msg.you { align-self: flex-end; background: var(--accent-soft); border: 1px solid var(--flash-line); border-bottom-right-radius: 6px; }
.msg.us  { align-self: flex-start; background: var(--glass); border: 1px solid var(--glass-stroke); border-bottom-left-radius: 6px; }
.msg.us .who { color: var(--accent-ink); }
@media (max-width: 560px) { .msg { max-width: 94%; } }

.device-row {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 13px 0; border-bottom: 1px solid var(--glass-stroke);
}
.device-row:last-child { border-bottom: none; }
.device-row .name { font-weight: 600; font-size: 14.5px; }
.device-row .meta { color: var(--ink-faint); font-size: 12.5px; }

/* Two independent columns: a card that grows (the device list) pushes down
   only what is beneath it in its own column. A single grid would move the
   whole next row. */
.account-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; align-items: start; }
.account-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 820px) { .account-grid { grid-template-columns: 1fr; } }

/* ---------- legal ---------- */

.legal h2 { margin-top: 36px; font-size: 21px; }
.legal p, .legal li { color: var(--ink-dim); font-size: 15px; }
.legal .updated { color: var(--ink-faint); font-size: 13.5px; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--glass-stroke); padding: 48px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: 13px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.footer a { display: block; text-decoration: none; color: var(--ink-dim); font-size: 14px; margin-bottom: 9px; }
.footer a:hover { color: var(--ink); }
.footer .nav-brand { margin-bottom: 10px; }
.footer-brand p { color: var(--ink-faint); font-size: 13.5px; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; margin: 0; border-radius: 10px;
    background: var(--glass); border: 1px solid var(--glass-stroke);
    color: var(--ink-dim);
}
.social-row a:hover { color: var(--accent-ink); border-color: var(--accent-line); }
.footer-bottom {
    margin-top: 34px; padding-top: 18px;
    border-top: 1px solid var(--glass-stroke);
    color: var(--ink-faint); font-size: 13px;
}
