/*
 * Shieldome Siege - deploy/landing/css/site.css
 *
 * Shared design system for the marketing site (index.html, security.html,
 * docs.html, privacy.html, terms.html, dpa.html, blog/). Dark theme is the
 * default (:root) regardless of OS preference - enterprise-security-tool
 * convention - with an explicit light variant via [data-theme="light"],
 * toggled manually and persisted to localStorage (see js/site.js and the
 * pre-paint inline <script> every page carries in <head> to avoid a flash
 * of the wrong theme). Background and every color are still painted
 * explicitly on both themes so the page holds regardless of the viewer's
 * OS theme, same reasoning the old per-page tokens used, just applied to
 * two explicit themes instead of one.
 *
 * Brand colors below are taken verbatim from the logo package
 * (/home/nemanja/Downloads/shieldome-siege-logo/README.md): #FF8A3D
 * (main), #E5641F (shadow), #FFB27A (highlight), #0B0F14 (dark) - the
 * accent tokens here match that palette exactly rather than an
 * independently-chosen value, so the logo and the site are one system.
 */

:root {
  --bg-0:#0B0F14; --bg-1:#10161f; --bg-2:#161d29;
  --border:#232c3a; --border-strong:#2f3b4e;
  --text-primary:#eef2f7; --text-secondary:#9aa8bd; --text-tertiary:#6b7789;
  --accent:#FF8A3D; --accent-hover:#FFB27A; --accent-active:#E5641F;
  --accent-ink:#2a1200; --accent-soft:rgba(255,138,61,.12);
  --success:#3ecf8e; --warning:#ffb020; --danger:#ff5c5c; --info:#4fa3ff;

  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px;
  --space-5:24px; --space-6:32px; --space-7:48px; --space-8:64px;
  --space-9:96px; --space-10:128px;
  --radius-sm:8px; --radius-md:14px; --radius-lg:20px; --radius-full:999px;

  --font-display:'Archivo', sans-serif;
  --font-body:'IBM Plex Sans', sans-serif;
  --font-mono:'IBM Plex Mono', monospace;

  --wrap: 1180px;
  --wrap-wide: 1080px; /* docs.html's sidebar+content layout needs a distinct, narrower-than-hero max width */
}

:root[data-theme="light"] {
  --bg-0:#f7f8fa; --bg-1:#ffffff; --bg-2:#eef1f5;
  --border:#dde2e9; --border-strong:#c7cfdb;
  --text-primary:#10161f; --text-secondary:#4a5568; --text-tertiary:#6b7789;
  --accent:#d9631a; --accent-hover:#c2560f; --accent-active:#a84908;
  --accent-ink:#ffffff; --accent-soft:rgba(217,99,26,.10);
  --success:#1f9d6b; --warning:#b3720a; --danger:#d63a3a; --info:#2a6fd6;
}

/* ============ RESET / BASE ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg-0); color: var(--text-primary);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .35;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 0%, transparent 75%);
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; margin: 0 0 var(--space-4); text-wrap: balance; letter-spacing: -0.01em; color: var(--text-primary); }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 var(--space-4); color: var(--text-secondary); }
a { color: inherit; }
ul, ol { color: var(--text-secondary); }
code, pre { font-family: var(--font-mono); }
code { background: var(--bg-2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; font-size: .88em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--space-6); position: relative; z-index: 1; }
.wrap-wide { max-width: var(--wrap-wide); margin: 0 auto; padding-inline: var(--space-6); position: relative; z-index: 1; }
section { padding-block: var(--space-9); }
@media (max-width: 720px) { section { padding-block: var(--space-7); } .wrap, .wrap-wide { padding-inline: var(--space-4); } }

::selection { background: var(--accent); color: var(--accent-ink); }

a.skip-link {
  position: absolute; left: var(--space-3); top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; transition: top .15s ease;
}
a.skip-link:focus { top: var(--space-3); }

:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--accent-soft); border-radius: var(--radius-sm);
}

/* ============ NAV ============ */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-0) 82%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
header.site .bar, header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: var(--space-4); gap: var(--space-4); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.brand img.logo-lockup { height: 30px; width: auto; display: block; }
/* The lockup SVG's wordmark text is baked in at a fixed color per file
   (near-white in -dark-bg, near-black in -light-bg) - it's not
   currentColor, so a single <img> can't just recolor with theme. Both
   variants are rendered and CSS shows only the one that matches the
   active theme. */
.brand-logo--light { display: none; }
:root[data-theme="light"] .brand-logo--dark { display: none; }
:root[data-theme="light"] .brand-logo--light { display: inline-block; }
.brand .mark { width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--accent-soft); border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; color: var(--accent); font-family: var(--font-mono); font-weight: 700; font-size: 1rem; }
.brand .word { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--text-primary); letter-spacing: -0.01em; }
.brand .word span { color: var(--accent); }
nav.links { display: flex; align-items: center; gap: var(--space-6); }
nav.links a.navlink { text-decoration: none; color: var(--text-secondary); font-weight: 500; font-size: .92rem; }
nav.links a.navlink:hover { color: var(--text-primary); }
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
@media (max-width: 900px) { nav.links { display: none; } }

.theme-toggle {
  width: 38px; height: 38px; border-radius: var(--radius-full); flex-shrink: 0;
  background: var(--bg-1); border: 1px solid var(--border); color: var(--text-secondary);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.theme-toggle:hover { border-color: var(--border-strong); color: var(--text-primary); }

/* ============ BUTTONS ============ */
.btn { font-family: var(--font-body); font-weight: 700; font-size: .95rem; border-radius: var(--radius-full);
  padding: 13px 26px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  cursor: pointer; border: 1.5px solid transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-active); }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ============ SCROLL REVEAL ============ */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { transition: none; } }

/* ============ HERO ============ */
.hero { padding-top: var(--space-10); padding-bottom: var(--space-9); position: relative; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-8); align-items: center; }
@media (max-width: 900px) { .hero .grid { grid-template-columns: 1fr; } }
.eyebrow { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent); display: flex; align-items: center; gap: 8px; margin-bottom: var(--space-4); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero .lead { font-size: 1.1rem; max-width: 46ch; }
.cta-row { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-6); }
.hero .fine { font-size: .82rem; color: var(--text-tertiary); margin-top: var(--space-5); max-width: 46ch; }
.hero .fine a { color: var(--accent); text-decoration: none; }
.hero .fine a:hover { text-decoration: underline; }

.radar {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 50%, var(--bg-2) 0%, var(--bg-1) 70%);
  border: 1px solid var(--border); overflow: hidden;
}
.radar::before, .radar::after { content: ""; position: absolute; border: 1px solid var(--border-strong); border-radius: 50%; }
.radar::before { inset: 14%; }
.radar::after { inset: 32%; }
.radar .ring3 { position: absolute; inset: 4%; border: 1px solid var(--border); border-radius: 50%; }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent-soft) 0deg, transparent 60deg); animation: spin 6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .radar .sweep { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.radar .blip { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.radar .blip.b1 { top: 30%; left: 62%; }
.radar .blip.b2 { top: 60%; left: 34%; }
.radar .blip.b3 { top: 45%; left: 48%; background: var(--danger); box-shadow: 0 0 0 6px rgba(255,92,92,.15); }
.radar .label { position: absolute; bottom: var(--space-5); left: var(--space-5); right: var(--space-5);
  font-family: var(--font-mono); font-size: .72rem; color: var(--text-tertiary); }

/* ============ TRUST BAR ============ */
.trust-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-block: var(--space-5); }
.trust-bar .wrap { display: flex; align-items: center; gap: var(--space-7); flex-wrap: wrap; justify-content: space-between; }
.trust-bar .item { display: flex; align-items: center; gap: var(--space-3); color: var(--text-tertiary); font-size: .85rem; }
.trust-bar img { height: 20px; width: auto; }
/* OVHcloud's source file is a dark-navy mark on a transparent background
   with no light variant - grayscale alone left it dark-on-dark and
   effectively invisible against the dark theme's near-black background,
   so dark theme also inverts it to read as a light mark; light theme
   keeps it in its real navy color, unfiltered. The GDPR badge is a
   full-color seal with its own white ring, legible on either background
   as-is, so it's deliberately excluded from this filter. */
.trust-bar img.ovh-badge { opacity: .85; filter: grayscale(1) invert(1) brightness(1.7); }
:root[data-theme="light"] .trust-bar img.ovh-badge { filter: none; opacity: .9; }

/* ============ FOOTER PAYMENT BADGES ============ */
/* Payment-network badges are fixed-color brand marks with no dark-theme
   variant - each sits on its own small white chip (same treatment
   billing_checkout.html already uses) so they read correctly regardless
   of the active theme, instead of needing a light/dark asset per logo. */
.payment-badges { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-4);
  padding-block: var(--space-5); margin-bottom: var(--space-5); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.payment-badges .label { font-size: .78rem; color: var(--text-tertiary); margin-right: var(--space-2); }
.payment-badges img { height: 30px; width: auto; background: #fff; border-radius: var(--radius-sm); padding: 5px 10px; display: block; }
.payment-badges a { display: inline-flex; transition: opacity .15s ease; }
.payment-badges a:hover { opacity: .85; }

/* ============ SECTION HEAD ============ */
.section-head { max-width: 640px; margin-bottom: var(--space-7); }
.section-head .eyebrow { margin-bottom: var(--space-3); }

/* ============ CARD ============ */
.card { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); }

/* ============ WHAT WE SCAN ============ */
.scan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 900px) { .scan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .scan-grid { grid-template-columns: 1fr; } }
.scan-grid .card h4 { font-family: var(--font-display); font-size: 1.02rem; margin-bottom: var(--space-3); display:flex; align-items:center; gap:10px; }
.scan-grid .card h4 .num { font-family: var(--font-mono); color: var(--accent); font-size: .85rem; }
.scan-grid .card p { font-size: .92rem; margin-bottom: var(--space-3); }
.scan-grid .card a { font-size: .84rem; color: var(--accent); text-decoration: none; font-weight: 600; }
.scan-grid .card a:hover { text-decoration: underline; }
.scan-grid .card:hover { border-color: var(--border-strong); }

/* ============ HOW IT WORKS ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: var(--space-4); }
.step .n { font-family: var(--font-mono); font-size: .8rem; color: var(--accent); border: 1px solid var(--border-strong);
  background: var(--accent-soft); width: 34px; height: 34px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); font-weight: 700; }
.step h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.step p { font-size: .9rem; }

/* ============ SAMPLE REPORT MOCKUP ============ */
.report-mock { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.report-mock .chrome { display: flex; align-items: center; gap: 8px; padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border); background: var(--bg-2); }
.report-mock .chrome .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.report-mock .chrome .path { margin-left: var(--space-4); font-family: var(--font-mono); font-size: .78rem; color: var(--text-tertiary); }
.report-mock .body { padding: var(--space-5); }
.finding-row { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-4); align-items: center;
  padding: var(--space-4) 0; border-bottom: 1px solid var(--border); }
.finding-row:last-of-type { border-bottom: none; }
.finding-row .target { font-family: var(--font-mono); font-size: .85rem; color: var(--text-primary); }
.finding-row .name { font-size: .8rem; color: var(--text-tertiary); margin-top: 2px; }
.cvss { font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; text-align: right; }
.cvss.crit { color: var(--danger); } .cvss.high { color: var(--warning); }
.cvss .u { display: block; font-size: .62rem; color: var(--text-tertiary); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: var(--radius-full);
  font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; white-space: nowrap; }
.badge--critical { background: rgba(255,92,92,.12); color: var(--danger); }
.badge--high { background: rgba(255,176,32,.12); color: var(--warning); }
.badge--medium { background: var(--accent-soft); color: var(--accent); }
.badge--info { background: rgba(79,163,255,.12); color: var(--info); }
.badge--ok { background: rgba(62,207,142,.12); color: var(--success); }
.badge--neutral { background: var(--bg-2); color: var(--text-tertiary); border: 1px solid var(--border); }

.chain-note { margin-top: var(--space-4); padding: var(--space-4) var(--space-5); border-left: 3px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .87rem; }
.chain-note strong { color: var(--text-primary); }
.report-mock .caption { padding: var(--space-3) var(--space-5); font-size: .74rem; color: var(--text-tertiary);
  border-top: 1px solid var(--border); font-style: italic; }

/* ============ PRICING ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.tier { position: relative; display: flex; flex-direction: column; }
.tier--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tier .badge-pin { position: absolute; top: -13px; right: 24px; }
.tier .name { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--text-tertiary); margin-bottom: var(--space-3); }
.tier .price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; margin-bottom: var(--space-2); }
.tier .price .unit { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--text-secondary); }
.tier .desc { font-size: .88rem; margin-bottom: var(--space-5); flex-grow: 1; }
.tier .btn { width: 100%; justify-content: center; margin-top: auto; }

.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); margin-top: var(--space-6); }
@media (max-width: 700px) { .addons { grid-template-columns: 1fr; } }
.addon { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: var(--space-5); border: 1px dashed var(--border-strong); border-radius: var(--radius-md); }
.addon .t { font-weight: 700; font-size: .92rem; margin-bottom: 2px; }
.addon .d { font-size: .82rem; color: var(--text-tertiary); }
.addon .p { font-family: var(--font-mono); color: var(--accent); font-weight: 700; white-space: nowrap; }

.pricing-note { text-align: center; margin-top: var(--space-6); font-size: .88rem; color: var(--text-tertiary); }
.pricing-note a { color: var(--accent); text-decoration: none; } .pricing-note a:hover { text-decoration: underline; }

/* ============ WHITE LABEL ============ */
.wl-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
@media (max-width: 900px) { .wl-wrap { grid-template-columns: 1fr; } }
.wl-wrap ul { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.wl-wrap li { display: flex; gap: var(--space-3); font-size: .93rem; color: var(--text-secondary); }
.wl-wrap li .check { color: var(--accent); font-family: var(--font-mono); flex-shrink: 0; }
.wl-price { font-family: var(--font-mono); color: var(--accent); font-weight: 700; }

.mock-reports { display: flex; flex-direction: column; gap: var(--space-4); }
.mock-report-header { border-radius: var(--radius-md); border: 1px solid var(--border); overflow: hidden; }
.mock-report-header .top { padding: var(--space-4) var(--space-5); display: flex; align-items: center; justify-content: space-between; }
.mock-report-header.generic .top { background: var(--bg-2); }
.mock-report-header.branded .top { background: linear-gradient(90deg, var(--accent-soft), transparent); }
.mock-report-header .top .tag { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-tertiary); }
.mock-report-header .top .name { font-family: var(--font-display); font-weight: 800; font-size: .95rem; }
.mock-report-header .bar { height: 6px; background: var(--border); }
.mock-report-header.branded .bar { background: var(--accent); }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-1); padding-inline: var(--space-5); }
.faq-item summary { cursor: pointer; padding-block: var(--space-5); font-weight: 700; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.3rem; color: var(--accent);
  transition: transform .2s ease; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .a { padding-bottom: var(--space-5); font-size: .93rem; color: var(--text-secondary); margin-top: calc(-1 * var(--space-2)); }
.faq-item .a a { color: var(--accent); text-decoration: none; } .faq-item .a a:hover { text-decoration: underline; }

/* ============ FINAL CTA ============ */
.final-cta { text-align: center; padding-block: var(--space-8); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.final-cta h2 { margin-bottom: var(--space-3); }
.final-cta p { max-width: 46ch; margin-inline: auto; margin-bottom: var(--space-6); }
.final-cta .cta-row { justify-content: center; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-8); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
form.contact-form { display: flex; flex-direction: column; gap: var(--space-4); }
form.contact-form label { font-size: .82rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; display: block; }
form.contact-form input, form.contact-form textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text-primary); font-family: var(--font-body); font-size: .95rem;
}
form.contact-form input:focus, form.contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text-secondary); }
.checkbox-row input { width: auto; }
#contact-status.ok { color: var(--success); }
#contact-status.err { color: var(--danger); }

/* ============ FOOTER ============ */
footer.site { border-top: 1px solid var(--border); padding-block: var(--space-7); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-6); }
.footer-links { display: flex; gap: var(--space-5); flex-wrap: wrap; font-size: .85rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; } .footer-links a:hover { color: var(--text-primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap;
  padding-top: var(--space-5); border-top: 1px solid var(--border); font-size: .8rem; color: var(--text-tertiary); }
.footer-bottom .mascot-mark { display: flex; align-items: center; gap: 8px; opacity: .55; }
.footer-bottom .mascot-mark img { width: 22px; height: 22px; object-fit: contain; }

/* ============ DOCS LAYOUT (docs.html) ============ */
.layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--space-8); padding-block: var(--space-6) var(--space-9); align-items: start; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } }
.doc-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; font-size: .87rem; }
.doc-nav a { padding: 7px 10px; border-radius: var(--radius-sm); color: var(--text-secondary); text-decoration: none; }
.doc-nav a:hover { background: var(--bg-2); color: var(--text-primary); }
.doc-nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

/* ============ CALLOUT / LEGAL TABLES (security/privacy/terms/dpa/docs) ============ */
.callout { background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-5); margin: var(--space-4) 0; font-size: .94rem; color: var(--text-secondary); }
.callout strong { color: var(--text-primary); }
table.subprocessors { width: 100%; border-collapse: collapse; margin: var(--space-4) 0; font-size: .9rem; }
table.subprocessors th, table.subprocessors td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
table.subprocessors th { color: var(--text-primary); font-family: var(--font-display); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--border-strong); }
table.subprocessors td { vertical-align: top; }
