/* HardenedOS landing — design tokens + layout
   ----------------------------------------------------- */

:root {
  --bg-deep: #08080d;
  --bg: #0b0f14;
  --bg-soft: #111827;
  --bg-card: #161e2c;
  --line: #1f2a3d;
  --line-soft: #1a2332;

  --fg: #e5e7eb;
  --fg-strong: #ffffff;
  --fg-mute: #94a3b8;
  --fg-dim: #6b7689;

  --accent: #7c5cff;
  --accent-2: #3b6dff;
  --accent-soft: rgba(124, 92, 255, 0.12);

  --maxw: 1140px;
  --pad: clamp(20px, 4vw, 40px);

  --radius: 12px;
  --radius-lg: 18px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--fg-strong); }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Header
   ----------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(11, 15, 20, 0.72);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-strong);
  font-weight: 700;
}
.brand:hover { color: var(--fg-strong); }
.brand .logo { width: 56px; height: 56px; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}
.brand-name {
  font-size: 34px;
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1;
}
.brand-os {
  background: linear-gradient(110deg, #7c5cff 0%, #3b6dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-tagline {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-mute);
}
/* Footer wordmark is a touch smaller so the tagline doesn't crowd
   the rest of the footer; tagline keeps the same size for parity. */
.footer-brand .brand-name { font-size: 26px; }
.footer-brand .brand-tagline { font-size: 10px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: var(--fg-mute);
  font-size: 14px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--fg-strong); }
.site-nav .nav-cta {
  color: var(--fg-strong);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 14px;
}
.site-nav .nav-cta:hover { border-color: var(--accent); }

/* Language toggle (EN ↔ ES) */
.site-nav .lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.site-nav .lang-toggle::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.2px solid currentColor;
  background:
    radial-gradient(circle at 50% 50%, transparent 4.5px, currentColor 4.5px, currentColor 5.2px, transparent 5.2px),
    linear-gradient(currentColor, currentColor) center/100% 1.2px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.2px 100% no-repeat;
  opacity: 0.85;
}
.site-nav .lang-toggle:hover {
  border-color: var(--accent);
  color: var(--fg-strong);
}

/* ─── Nav dropdown (used for "White label" submenu) ──────── */
.site-nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.site-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  /* Invisible padding-bottom that the layout corrects with a
     matching negative margin. Result: visible toggle stays put,
     but the hover area extends below it — bridging the gap to
     the dropdown so :hover doesn't drop when the cursor moves
     into the card. The padding ALSO sets the visible distance
     between toggle and dropdown (since the dropdown sits at
     top:100% of the padded box). 22px gives enough breathing
     room that misclicks become unlikely. */
  padding-bottom: 22px;
  margin-bottom: -22px;
}
.site-nav-toggle .caret {
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.15s ease;
}
.site-nav-group:hover .caret,
.site-nav-group:focus-within .caret {
  transform: rotate(180deg);
}
.site-nav-dropdown {
  /* Default state: hidden + non-interactive. Becomes visible on
     parent :hover via the rule below. visibility transitions with
     a delay so the fade-out finishes before pointer-events flip. */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(15, 19, 32, 0.96);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 18px 50px -10px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0s linear 0.15s, transform 0.15s ease;
  z-index: 20;
}
.site-nav-group:hover .site-nav-dropdown,
.site-nav-group:focus-within .site-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.15s ease, visibility 0s linear 0s, transform 0.15s ease;
}
.site-nav-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-mute);
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
}
.site-nav-dropdown a:hover,
.site-nav-dropdown a.active {
  background: var(--accent-soft);
  color: var(--fg-strong);
}
/* ─── Mobile nav: hamburger + slide-out panel ───────────── */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--fg-strong);
  cursor: pointer;
  padding: 0;
  z-index: 100;
  position: relative;
}
.nav-hamburger span,
.nav-hamburger span::before,
.nav-hamburger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.15s ease, top 0.2s ease;
}
.nav-hamburger span { position: relative; }
.nav-hamburger span::before { content: ""; position: absolute; top: -6px; left: 0; }
.nav-hamburger span::after  { content: ""; position: absolute; top:  6px; left: 0; }
.nav-hamburger[aria-expanded="true"] span         { background: transparent; }
.nav-hamburger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg);  }
.nav-hamburger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  /* Bigger brand logo on mobile — visually matches the height of the
     "HardenedOS" wordmark + tagline so the brand reads as a single unit */
  .brand .logo { width: 60px; height: 60px; }

  /* Show the hamburger */
  .nav-hamburger { display: inline-flex; }

  /* The nav becomes a slide-out panel from the right */
  .site-nav {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    max-width: 88vw;
    height: 100vh;
    background: var(--bg);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 96px 24px 32px;
    gap: 4px;
    overflow-y: auto;
    transition: right 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 90;
    box-shadow: -20px 0 50px -10px rgba(0, 0, 0, 0.5);
  }
  .site-nav.is-open { right: 0; }

  /* All nav links shown stacked inside the panel */
  .site-nav a {
    display: block;
    padding: 14px 6px;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
  }

  /* Hide the "Open admin" CTA on mobile per user request */
  .site-nav .nav-cta { display: none; }

  /* Lang toggle: pinned to the bottom-left, smaller pill */
  .site-nav .lang-toggle {
    align-self: flex-start;
    margin-top: 18px;
    border: 1px solid var(--line);
  }

  /* White-label dropdown shown inline (no hover-popover on mobile) */
  .site-nav-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .site-nav-toggle {
    padding-bottom: 14px;
    margin-bottom: 0;
  }
  .site-nav-toggle .caret { display: none; }
  .site-nav-dropdown {
    position: static;
    transform: none;
    background: transparent;
    border: 0;
    padding: 0 0 0 16px;
    margin: -10px 0 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .site-nav-dropdown a {
    border-bottom: 0;
    padding: 10px 6px;
    font-size: 14px;
  }

  /* Body backdrop overlay when menu is open */
  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 85;
  }
}

/* Hero
   ----------------------------------------------------- */
.hero {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-mockup { justify-self: center; }
}

/* Phone mockup
   ----------------------------------------------------- */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  width: min(100%, 280px);
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(155deg, #25293a 0%, #0c0f17 100%);
  border-radius: 38px;
  padding: 8px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 8px rgba(124, 92, 255, 0.04),
    0 35px 90px -20px rgba(0, 0, 0, 0.85);
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(124, 92, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(59, 109, 255, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0a0d14 0%, #161e2c 100%);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-camera {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  background: #000;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(80, 80, 110, 0.4);
  z-index: 3;
}

/* Status bar — top of screen, time + signal/wifi/battery */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-strong);
  letter-spacing: -0.01em;
}
.status-icons {
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--fg-strong);
}

/* Lock screen content area */
.lock-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px 20px;
  text-align: center;
}
.lock-time {
  font-size: 64px;
  font-weight: 200;
  color: var(--fg-strong);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-top: 28px;
  font-feature-settings: "tnum";
}
.lock-date {
  font-size: 12px;
  color: var(--fg-mute);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.lock-brand {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.lock-brand svg {
  width: 30px;
  height: 30px;
  display: block;
}
.lock-brand-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-strong);
  letter-spacing: -0.01em;
  margin: 0;
}
.lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 999px;
  color: var(--fg);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 10px;
  white-space: nowrap;
}
.lock-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.22);
}
.lock-bottom {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 18px 6px;
}
.lock-bottom-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  backdrop-filter: blur(4px);
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.18) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--fg-strong);
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(110deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--fg-mute);
  max-width: 620px;
  margin-bottom: 36px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 10px;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.cta-primary {
  background: linear-gradient(110deg, var(--accent), var(--accent-2));
  color: var(--fg-strong);
}
.cta-primary:hover {
  color: var(--fg-strong);
  transform: translateY(-1px);
}
.cta-secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}
.cta-secondary:hover {
  color: var(--fg-strong);
  border-color: var(--accent);
}

/* Sections
   ----------------------------------------------------- */
.section {
  padding: 100px 0;
  border-top: 1px solid var(--line-soft);
}
.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--fg-strong);
  max-width: 760px;
  margin-bottom: 16px;
}
.section-lede {
  font-size: 17px;
  color: var(--fg-mute);
  max-width: 700px;
  margin-bottom: 56px;
}

/* ─── Bedrock section (Built on bedrock) ─────────────────────
   Big outlined-headline + 2-col grid of badges & description
   blocks. Replaces the older 3-pillar layout (.pillars) which
   has been removed. */

.section-bedrock {
  padding: 100px 0 110px;
}
.bedrock-title {
  font-family: var(--font);
  /* Normal solid heading, brand gradient on the second line. The
     outlined version was too hard to read at small sizes; this matches
     the rest of the site's section h2 weight and letter-spacing. */
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--fg-strong);
  margin: 0 0 56px;
  text-wrap: balance;
  text-transform: none;
}
.bedrock-title span {
  display: block;
}
.bedrock-title span + span {
  background: linear-gradient(110deg, #7c5cff 0%, #3b6dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 600px) {
  .bedrock-title { margin-bottom: 36px; }
}

.bedrock-grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 980px) {
  .bedrock-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* ─── Left: 3×2 badge grid ────────────────────────────────── */
.bedrock-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 16px;
}
.bd-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.bd-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(124, 92, 255, 0.18), rgba(59, 109, 255, 0.06));
  border: 1px solid rgba(124, 92, 255, 0.4);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 8px 20px -8px rgba(124, 92, 255, 0.4);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.bd-badge:hover .bd-icon {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 12px 30px -8px rgba(124, 92, 255, 0.5);
}
.bd-icon svg {
  width: 32px;
  height: 32px;
}
.bd-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-strong);
  letter-spacing: -0.005em;
  line-height: 1.25;
  margin: 0;
}

/* ─── Right: lead + 3 description blocks ─────────────────── */
.bedrock-text {
  display: flex;
  flex-direction: column;
}
.bd-lead {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--fg-strong);
  margin: 0 0 40px;
  text-wrap: balance;
}
.bd-lead-mute {
  color: var(--fg-mute);
  font-weight: 500;
}

.bd-block {
  margin-bottom: 30px;
}
.bd-block:last-child {
  margin-bottom: 0;
}
.bd-block h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--fg-strong);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.bd-block p {
  font-size: 15px;
  color: var(--fg-mute);
  line-height: 1.65;
  margin: 0;
}

/* MDM / Device Policy
   ----------------------------------------------------- */
.section-mdm .section-lede {
  max-width: 760px;
  margin-bottom: 56px;
}

.mdm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
@media (max-width: 980px) {
  .mdm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mdm-grid { grid-template-columns: 1fr; }
}

.mdm-card {
  padding: 28px 26px 26px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.mdm-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.mdm-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(59, 109, 255, 0.12));
  border: 1px solid rgba(124, 92, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.mdm-icon svg {
  width: 26px;
  height: 26px;
}

.mdm-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--fg-strong);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.mdm-card p {
  font-size: 14px;
  color: var(--fg-mute);
  line-height: 1.65;
  margin: 0;
}

/* Tier mini-summary (policy levels, no prices) */
.mdm-tiers {
  padding: 36px 36px 30px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
@media (max-width: 720px) {
  .mdm-tiers { padding: 24px 22px; }
}
.mdm-tiers-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.mdm-tier-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
@media (max-width: 880px) {
  .mdm-tier-row { grid-template-columns: 1fr; }
}

.mdm-tier {
  padding: 22px 22px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.mdm-tier-mid {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.08), var(--bg-card) 70%);
}
.mdm-tier h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-strong);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.mdm-tier-mid h4 {
  color: var(--accent);
}
.mdm-tier p {
  font-size: 13.5px;
  color: var(--fg-mute);
  line-height: 1.6;
  margin: 0;
}

.mdm-ceiling-note {
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  color: var(--fg-mute);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.mdm-ceiling-note strong {
  color: var(--fg-strong);
  font-weight: 600;
}
.mdm-ceiling-note a {
  color: var(--accent);
  font-weight: 600;
  margin-left: 6px;
  white-space: nowrap;
}
.mdm-ceiling-note a:hover {
  text-decoration: underline;
}

/* Resellers
   ----------------------------------------------------- */
.resellers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 880px) {
  .resellers-grid { grid-template-columns: 1fr; gap: 32px; }
}
.reseller-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 880px) {
  .reseller-features { grid-template-columns: 1fr; gap: 20px; }
}
.reseller-features li {
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.reseller-features h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-strong);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.reseller-features p {
  color: var(--fg-mute);
  font-size: 14px;
}
.reseller-cta {
  margin-top: 60px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Devices
   ----------------------------------------------------- */
.devices-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
@media (max-width: 720px) {
  .devices-list { grid-template-columns: repeat(2, 1fr); }
}
.devices-list li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}
.devices-foot {
  color: var(--fg-mute);
  font-size: 14px;
  max-width: 720px;
}

/* Footer
   ----------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 60px 0 50px;
  background: var(--bg-deep);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-strong);
  font-weight: 700;
}
.footer-brand .logo { width: 44px; height: 44px; }
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: var(--fg-mute);
  font-size: 14px;
}
.footer-nav a:hover { color: var(--fg-strong); }
.footer-fine {
  color: var(--fg-dim);
  font-size: 13px;
}

/* ─── Cookie banner ──────────────────────────────────────────
   Injected by /cookies.js on first visit if not previously
   dismissed. Slides up from the bottom; one button. */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 140%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  width: calc(100% - 40px);
  max-width: 540px;
  background: rgba(15, 19, 32, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line, #1f2a3d);
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}
.cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
.cookie-banner-text {
  flex: 1;
  min-width: 0;
}
.cookie-banner-text p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-mute, #94a3b8);
  margin: 0;
}
.cookie-banner-text strong {
  color: var(--fg-strong, #fff);
  font-weight: 600;
}
.cookie-banner-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-strong, #fff);
  background: linear-gradient(110deg, #7c5cff, #3b6dff);
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 20px -8px rgba(124, 92, 255, 0.5);
}
.cookie-banner-btn:hover {
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
  .cookie-banner-btn { width: 100%; padding: 11px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: opacity 0.2s ease; transform: translate(-50%, 0); }
}
