/* =========================================================
   DevScape.io LLC — site styles
   Brand kit v1.0 · Bracket Slash system
   Fonts: Schibsted Grotesk (display) · Hanken Grotesk (body) · JetBrains Mono (labels)
   Plain CSS, no build step. Deploys as-is to Cloudflare Pages.
   Light + dark theming via [data-theme] on <html> (see main.js / inline head script).
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@500;600;700;800;900&family=Hanken+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Graphite / ink */
  --ink:          #0E1116;   /* Graphite Ink — always-dark surfaces (hero, footer) */
  --graphite-900: #171B22;
  --graphite-800: #232A34;
  --slate-600:    #3D4653;
  --slate-400:    #6B7482;   /* muted text */
  --silver-300:   #C7CDD6;
  --line:         #E6E9EE;   /* hairline borders */
  --line-dark:    #232A34;   /* borders on always-dark surfaces */
  --paper-50:     #F7F9FC;   /* light page background */
  --white:        #ffffff;

  /* Scape Blue accent */
  --blue-600:     #1E5AE0;
  --blue-500:     #2F6BF2;   /* Scape Blue */
  --sky-300:      #7FA8F5;
  --mist-50:      #EAF0FE;

  /* Semantic theme tokens — these flip in dark mode (see below) */
  --bg:          var(--paper-50);   /* page background */
  --surface:     var(--white);      /* cards, inputs */
  --surface-2:   var(--mist-50);    /* subtle raised tint (hovers, callouts, table heads) */
  --text:        var(--ink);        /* primary text */
  --text-muted:  var(--slate-600);  /* body / secondary text */
  --text-dim:    var(--slate-400);  /* labels, captions */
  --header-bg:   rgba(247, 249, 252, 0.82);

  /* squircle-ish radii (Apple icon grid feel) */
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(14, 17, 22, 0.04), 0 2px 8px rgba(14, 17, 22, 0.04);
  --shadow-md: 0 8px 30px rgba(14, 17, 22, 0.08);
  --shadow-blue: 0 8px 24px rgba(47, 107, 242, 0.28);

  --wrap: 1200px;
  --font-display: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  color-scheme: light;
}

/* ---------- Dark theme ----------
   Only the surface/text tokens flip; the brand palette (blues) and the
   intentionally-dark surfaces (hero, footer, .section-dark) stay put. */
:root[data-theme="dark"] {
  --bg:          #0E1116;
  --surface:     #171B22;
  --surface-2:   #1C2636;
  --text:        #EAEDF2;
  --text-muted:  #AEB7C4;
  --text-dim:    #8A93A3;
  --header-bg:   rgba(14, 17, 22, 0.82);
  --line:        #29313D;   /* remap raw hairline so all borders go dark */
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.32), 0 2px 8px rgba(0, 0, 0, 0.30);
  --shadow-md:   0 8px 30px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}
/* No-JS fallback: honor the OS preference unless the visitor explicitly chose light */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #0E1116;
    --surface:     #171B22;
    --surface-2:   #1C2636;
    --text:        #EAEDF2;
    --text-muted:  #AEB7C4;
    --text-dim:    #8A93A3;
    --header-bg:   rgba(14, 17, 22, 0.82);
    --line:        #29313D;
    --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.32), 0 2px 8px rgba(0, 0, 0, 0.30);
    --shadow-md:   0 8px 30px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Offset anchor jumps so the sticky header doesn't cover the target */
:target { scroll-margin-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.2s ease, color 0.2s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Kicker (JetBrains Mono engineering signature) ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--blue-500);
}
.on-dark .kicker { color: var(--sky-300); }
.on-dark .kicker::before { background: var(--sky-300); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; display: block; flex: none; }
.logo-word {
  font-family: var(--font-display); font-weight: 800; font-size: 23px;
  letter-spacing: -0.02em; line-height: 1; color: var(--text);
}
.logo-word .dot { color: var(--blue-500); }
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--blue-600); }
.nav .nav-cta {
  margin-left: 8px;
  color: #fff;
  background: var(--blue-500);
  padding: 10px 18px;
  box-shadow: var(--shadow-blue);
}
.nav .nav-cta:hover { background: var(--blue-600); color: #fff; }
[data-theme="dark"] .nav a[aria-current="page"] { color: var(--sky-300); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; flex: none;
  background: transparent; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.theme-toggle:hover { background: var(--surface-2); border-color: var(--text-dim); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun, .theme-toggle .icon-moon { display: none; }
:root:not([data-theme="dark"]) .theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
}

/* ---------- Sections & layout ---------- */
main { display: block; }

section { padding: 88px 0; }
section.tight { padding: 64px 0; }

.section-dark {
  background: var(--ink);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--silver-300); }

/* Hero with photographic background + dark overlay for legibility */
.hero {
  position: relative;
  padding: 116px 0;
  background:
    linear-gradient(180deg, rgba(14, 17, 22, 0.78), rgba(14, 17, 22, 0.72) 55%, rgba(14, 17, 22, 0.86)),
    url('assets/photos/hero-desk.jpg') center / cover no-repeat;
}

/* Any dark section can take a photographic background via --bg-img.
   The overlay keeps white text legible over varied imagery. */
.section-dark.has-photo {
  position: relative;
  background:
    linear-gradient(180deg, rgba(14, 17, 22, 0.86), rgba(14, 17, 22, 0.76) 50%, rgba(14, 17, 22, 0.92)),
    var(--bg-img) center / cover no-repeat;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.split.wide-text { grid-template-columns: 1.1fr 0.9fr; }
.split.split--stretch { align-items: stretch; }
.split.split--stretch .media { min-height: 100%; height: 100%; }
.split.media-left { direction: rtl; }
.split.media-left > * { direction: ltr; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 40px; }

/* Media — squircle stand-ins. Real photo: style="--img:url('assets/x.jpg')" */
.media {
  position: relative;
  border-radius: var(--r-lg);
  min-height: 440px;
  overflow: hidden;
  background:
    var(--img, none),
    linear-gradient(150deg, var(--graphite-800), var(--ink) 70%);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line-dark);
}
.media--blue {
  background:
    var(--img, none),
    linear-gradient(150deg, #4E82F7, var(--blue-600) 72%);
  border-color: transparent;
}
.media--tall { min-height: 560px; }
.media__glow {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 80% 10%, rgba(127,168,245,0.22), transparent 55%);
  pointer-events: none;
}

/* JAMF Professional Partner badge (official asset) */
.badge-jamf {
  position: absolute;
  left: 22px; bottom: 22px;
  width: 200px; height: auto;
  border-radius: var(--r-sm);
  box-shadow: 0 8px 22px rgba(14, 17, 22, 0.35);
}
.badge-jamf--top { top: 24px; right: 24px; left: auto; bottom: auto; }

/* SupportID product branding (badge row on the dark hero, app icon in the CTA) */
.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}
.hero-brand-icon {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 10px 22px rgba(14, 17, 22, 0.55));
}
.hero-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero-brand-name .id { color: #6EA8FF; }
.app-icon {
  display: block;
  margin: 0 auto 24px;
  width: 92px;
  height: 92px;
  filter: drop-shadow(0 14px 28px rgba(14, 17, 22, 0.5));
}

/* ---------- Hangar product page ---------- */
code, kbd { font-family: var(--font-mono); font-size: 0.86em; }
code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
kbd {
  display: inline-block; padding: 1px 7px; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line); color: var(--text); white-space: nowrap;
}
.hangar-meta { margin: 18px 0 0; font-family: var(--font-mono); font-size: 13px; color: var(--slate-400); }
.section-dark .hangar-meta { color: var(--slate-400); }
.hangar-unavailable {
  margin: 16px auto 0; padding: 12px 16px; max-width: 520px; font-size: 15px;
  border: 1px solid rgba(255, 179, 64, 0.35); background: rgba(255, 179, 64, 0.1);
  border-radius: var(--r-sm); color: #FFD79A;
}
.section-dark .hangar-unavailable { color: #FFD79A; }

/* Illustrated app window — colours are Hangar's own design tokens */
.hg-window {
  margin: 56px auto 0; max-width: 980px; text-align: left;
  border-radius: 14px; overflow: hidden; background: #1B1B20;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.hg-titlebar { display: flex; gap: 8px; padding: 13px 14px; }
.hg-titlebar span { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.hg-titlebar span:nth-child(2) { background: #FEBC2E; }
.hg-titlebar span:nth-child(3) { background: #28C840; }
.hg-body { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 380px; }
.hg-sidebar { padding: 4px 10px 16px; font-size: 13.5px; color: #C3C3CC; }
.hg-group {
  display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; padding: 0 8px;
  font-weight: 600; color: #E9E9EE;
}
.hg-group em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 11px; color: #6F6F7A; }
.hg-tint { width: 9px; height: 9px; border-radius: 3px; background: var(--tint); }
.hg-row {
  display: flex; align-items: center; gap: 9px; padding: 5px 8px 5px 26px; border-radius: 6px;
  white-space: nowrap; overflow: hidden;
}
.hg-row small {
  margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: #8D8D97;
  overflow: hidden; text-overflow: ellipsis;
}
.hg-row.is-selected { background: rgba(61, 126, 255, 0.22); color: #fff; }
.hg-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; }
.hg-dot.run { background: #32D74B; box-shadow: 0 0 0 3px rgba(50, 215, 75, 0.16); }
.hg-dot.attn { background: #FFB340; box-shadow: 0 0 0 3px rgba(255, 179, 64, 0.2); }
.hg-dot.idle { border: 1.5px solid #5E5E68; }
.hg-dot.exit { background: #48484F; }
.hg-pane { display: flex; flex-direction: column; background: #101013; border-left: 1px solid rgba(255, 255, 255, 0.07); min-width: 0; }
.hg-pane-head {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  background: #17171B; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px; color: #C3C3CC; white-space: nowrap; overflow: hidden;
}
.hg-pane-head b { color: #E9E9EE; font-weight: 600; }
.hg-pane-head span { color: #6F6F7A; }
.hg-pane-head .hg-path { margin-left: auto; font-family: var(--font-mono); font-size: 11.5px; }
.hg-term {
  margin: 0; padding: 18px 20px; overflow: hidden;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; color: #E9E9EE;
}
.hg-term .p { color: #5AC8FA; }
.hg-term .g { color: #32D74B; }
.hg-term .o { color: #FF9F0A; }
.hg-term .d { color: #6F6F7A; }
.hg-term .cur { display: inline-block; width: 8px; background: #E9E9EE; animation: hg-blink 1.1s steps(1) infinite; }
@keyframes hg-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hg-term .cur { animation: none; } }

.hg-concepts dl { margin: 0; }
.hg-concepts dt { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-500); }
.hg-concepts dd { margin: 4px 0 22px; color: var(--text-muted); font-size: 16.5px; }
.hg-concepts dd:last-child { margin-bottom: 0; }
[data-theme="dark"] .hg-concepts dt { color: var(--sky-300); }

.hg-keys { padding: 10px 0; }
.hg-keys div {
  display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 12px;
  padding: 12px 28px; font-size: 16px; color: var(--text-muted);
  border-bottom: 1px solid var(--line);
}
.hg-keys div:last-child { border-bottom: 0; }

.hg-plans .card { display: flex; flex-direction: column; }
.hg-plans .check-list { flex: 1; }
.hg-plans .btn { align-self: flex-start; }
.hg-buy { margin-top: 0; }
.hg-buy-note { font-size: 14px; margin: 14px 0 0; }
.hg-plan-pro { border: 2px solid var(--blue-500); }
.hg-plan-name { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 6px; }
.hg-price { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.02em; color: var(--text); margin: 0 0 18px; line-height: 1.1; }
.hg-price small { font-size: 17px; font-weight: 600; color: var(--text-dim); }
.hg-price span { display: block; font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--text-dim); letter-spacing: 0; margin-top: 4px; }

.hg-steps { margin: 4px 0 24px; padding-left: 22px; color: var(--text-muted); }
.hg-steps li { margin-bottom: 8px; padding-left: 4px; }
.hg-fda { font-size: 15px; margin: 18px 4px 0; }

@media (max-width: 900px) {
  .hg-body { grid-template-columns: minmax(0, 1fr); }
  .hg-pane { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.07); }
  .hg-pane-head .hg-path { display: none; }
  .hg-term { font-size: 11px; padding: 14px; }
  .hg-keys div { grid-template-columns: 110px 1fr; padding: 12px 20px; }
}

/* ---------- Typography ---------- */
/* Balance headings so lines wrap evenly instead of orphaning a single word */
h1, h2, h3 { font-family: var(--font-display); color: var(--text); text-wrap: balance; }
h1 {
  font-weight: 800;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
h2 {
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
h3 {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 30px 0 8px;
}
p { margin: 0 0 18px; color: var(--text-muted); text-wrap: pretty; }
.lead { font-size: 21px; color: var(--text-muted); text-wrap: balance; }
.section-dark .lead { color: var(--silver-300); }
.muted { color: var(--text-dim); }
strong { color: var(--text); font-weight: 700; }
.section-dark strong { color: #fff; }

/* subhead limit */
.measure { max-width: 620px; }
.measure-lg { max-width: 920px; margin-left: auto; margin-right: auto; }
/* Headings need a little more room than body copy so short section titles
   (e.g. "Apple engineering at our core") don't wrap when space is available. */
h2.measure, h3.measure { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .kicker { justify-content: center; }

/* bold-lead paragraph list */
.lead-list p { margin-bottom: 20px; }

/* checkmark list */
.check-list { list-style: none; padding: 0; margin: 8px 0 28px; }
.check-list li {
  position: relative; padding-left: 34px; margin-bottom: 12px;
  font-weight: 500; color: var(--text); font-size: 18px;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232F6BF2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* feature grid (cards) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature .idx {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  color: var(--blue-500); letter-spacing: 0.1em;
}
.feature h3 { margin: 14px 0 6px; }
.feature p { margin: 0; font-size: 16.5px; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  padding: 14px 26px; border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--silver-300); }
.btn-ghost:hover { border-color: var(--text); background: var(--surface); }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.28); }
.on-dark .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Contact card (centered form with a photo banner header) ---------- */
.contact-card { max-width: 720px; margin: 0 auto; padding: 0; overflow: hidden; }
.contact-card__photo {
  height: 220px;
  background: var(--bg-img, none) center 42% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.contact-card .form { margin: 0; padding: clamp(28px, 4vw, 44px); }

/* ---------- Forms ---------- */
.form { margin-top: 8px; }
.field-group { margin-bottom: 20px; }
.field-label {
  display: block; font-family: var(--font-display);
  font-weight: 700; font-size: 16px; margin-bottom: 10px; color: var(--text);
}
.field-sub, .req { font-family: var(--font-body); font-weight: 400; color: var(--text-dim); font-size: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; margin-bottom: 7px; color: var(--text-muted); }
input, select, textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 14px 16px; outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { min-height: 150px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--text-dim); }
input:focus, select:focus, textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(47, 107, 242, 0.15);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233D4653' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 46px;
}
:root[data-theme="dark"] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23AEB7C4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.form-status { font-size: 15px; margin: 12px 0 0; min-height: 1.3em; }
.form-status.ok  { color: #1E8A5B; }
.form-status.err { color: #B4413C; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--silver-300); padding: 64px 0 40px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid var(--line-dark);
}
.site-footer .logo-mark { width: 32px; height: 32px; }
.site-footer .logo-word { color: #fff; }
.site-footer .logo-word .dot { color: var(--sky-300); }
.footer-brand p { margin: 18px 0 0; color: var(--slate-400); max-width: 320px; font-size: 15.5px; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate-400); margin: 4px 0 16px;
}
.footer-col a {
  display: block; text-decoration: none; color: var(--silver-300);
  font-size: 15.5px; margin-bottom: 10px; transition: color 0.15s ease;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 26px;
}
.footer-bottom p { margin: 0; font-size: 14px; color: var(--slate-400); }
.footer-bottom .gh { color: var(--silver-300); display: inline-flex; }
.footer-bottom svg { width: 22px; height: 22px; }
.footer-bottom .gh:hover svg { fill: #fff; }
.footer-legal { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-legal a {
  color: var(--slate-400); text-decoration: none; font-size: 14px;
  transition: color 0.15s ease;
}
.footer-legal a:hover { color: #fff; }

/* ---------- Legal / prose pages ---------- */
.legal { max-width: 780px; }
.legal .lead { margin-bottom: 8px; }
.legal .updated { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); margin-bottom: 40px; }
.legal h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 44px 0 14px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { font-size: 17px; }
.legal .callout {
  border-left: 3px solid var(--blue-500);
  background: var(--surface-2);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px; margin: 18px 0 8px; color: var(--text-muted);
}
.legal a { color: var(--blue-600); }
[data-theme="dark"] .legal a { color: var(--sky-300); }
.legal h3 { font-size: clamp(18px, 1.8vw, 21px); margin: 28px 0 10px; }
/* Per-product headings inside a numbered subsection, e.g. each App under 3.3.
   Borrows the table-header label treatment rather than a fourth display size:
   body copy here is already 17px and often bold, so another bold 17px heading
   reads as part of the paragraph instead of above it. */
.legal h4 {
  font-family: var(--font-mono); color: var(--text);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin: 30px 0 10px;
}
.legal ul { margin: 14px 0 10px; padding-left: 4px; list-style: none; }
.legal li {
  position: relative; padding-left: 22px; margin: 8px 0;
  font-size: 17px; color: var(--text-muted);
}
.legal li::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 6px; height: 6px; border-radius: 2px; background: var(--sky-300);
}
.legal .note {
  border-left: 3px solid var(--silver-300);
  background: var(--surface-2);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px; margin: 20px 0 8px; color: var(--text-muted);
}
.legal .table-wrap {
  overflow-x: auto; margin: 20px 0 10px;
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal th, .legal td {
  text-align: left; padding: 12px 16px; vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.legal tbody tr:last-child td { border-bottom: 0; }
.legal th {
  background: var(--surface-2); color: var(--text);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.legal td { color: var(--text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  section { padding: 60px 0; }
  .split, .split.wide-text { grid-template-columns: 1fr; gap: 36px; }
  .split.media-left { direction: ltr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .media, .media--tall { min-height: 320px; }
  .badge-jamf { width: 148px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 18px; }

  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 14px 20px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; justify-content: center; }
  .nav-toggle { display: block; }
  .site-header .wrap { position: relative; }
  .card-pad { padding: 28px; }
  .field-row { grid-template-columns: 1fr; }
}
