/* ============================================================
   weltekx-dev — style.css
   Brutalism  |  Amber accent  |  Full light/dark support
   All colors via CSS variables — zero hardcoded color values
   ============================================================ */

/* ── Self-hosted Inter (variable font, weights 400-800) ─────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter.woff2') format('woff2');
}

/* ── Dark tokens (default) ──────────────────────────────────── */
:root {
  --bg:          #0F0F0F;
  --bg-2:        #1A1A1A;
  --bg-3:        #222222;
  --accent:      #C8922A;
  --accent-2:    #E8AE4A;
  --border:      #333333;
  --border-hi:   #C8922A;
  --text:        #EBEBEB;
  --text-muted:  #888888;
  --text-faint:  #555555;
  --green:       #4ADE80;
  --blue:        #60A5FA;
  --shadow:      #000;
}

/* ── Light tokens ───────────────────────────────────────────── */
[data-theme="light"] {
  --bg:          #F2EDE4;
  --bg-2:        #E8E0D2;
  --bg-3:        #DDD5C4;
  --accent:      #9A6010;
  --accent-2:    #B87820;
  --border:      #B8AA98;
  --border-hi:   #9A6010;
  --text:        #160E04;
  --text-muted:  #5C5040;
  --text-faint:  #9A8C7A;
  --green:       #16803C;
  --blue:        #1D4ED8;
}
/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul { list-style: none; }
html { scroll-behavior: smooth; }

::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Base ───────────────────────────────────────────────────── */
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11';
  transition: background 0.2s, color 0.2s;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
main { flex: 1; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* ── Layout ─────────────────────────────────────────────────── */
.container        { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 760px; }
.container-tight  { max-width: 660px; }
.container-prose  { max-width: 720px; }

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  transition: background 0.2s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }

.nav-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); }
.nav-logo img { width: 30px; height: 30px; }
.nav-logo span { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.nav-logo span em { font-style: normal; color: var(--accent); }
.nav-logo:hover { text-decoration: none; color: var(--text); }

.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a {
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 600;
  padding: .4rem .75rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: color .15s, border-color .15s, background .15s;
}
.nav-links a:hover  { color: var(--text); border-color: var(--border); background: var(--bg-2); text-decoration: none; }
.nav-links a.active { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.nav-links a.active:hover { color: var(--accent); background: transparent; }

.nav-links a.nav-cta {
  background: var(--accent);
  color: var(--bg);
  border: 2px solid var(--accent);
  font-weight: 800;
  padding: .38rem 1rem;
  margin-left: .5rem;
}
.nav-links a.nav-cta:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--bg); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .2s; }

/* ── Theme toggle ───────────────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: 1px solid var(--border);
  padding: .28rem .6rem;
  cursor: pointer;
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: border-color .15s, color .15s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { width: 13px; height: 13px; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 2px solid var(--border);
  background-color: var(--bg);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 40%, transparent 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: .2rem .65rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 780px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }

/* ── App tiles (home page) ──────────────────────────────────── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.app-tile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border: 2px solid var(--border-hi);
  text-decoration: none;
  color: var(--text);
  background: var(--bg-2);
  transition: background .15s, transform .15s, box-shadow .15s;
  position: relative;
  box-shadow: 6px 6px 0 var(--shadow);
}
.app-tile:hover { background: var(--bg-3); border-color: var(--border-hi); text-decoration: none; color: var(--text); transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--shadow); }
.app-tile:hover .app-tile-arrow { opacity: 1; }

.app-tile-img { width: 68px; height: 68px; object-fit: cover; display: block; }

.app-tile-name    { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--text); }
.app-tile-tagline { font-size: .88rem; color: var(--text-muted); line-height: 1.5; }

.app-tile-status {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid;
  padding: .18rem .55rem;
  margin-top: auto;
  width: fit-content;
}
.app-tile-status-live { color: var(--green); border-color: var(--green); background: color-mix(in srgb, var(--green) 10%, transparent); }
.app-tile-status-soon { color: var(--accent-2); border-color: var(--accent-2); background: color-mix(in srgb, var(--accent-2) 10%, transparent); }

.app-tile-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--accent);
  opacity: 0;
  transition: opacity .15s;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .72rem 1.5rem;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
  border: 2px solid;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .1s;
  letter-spacing: .02em;
  white-space: nowrap;
  background: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translate(2px, 2px); box-shadow: none; }

.btn-primary { background: var(--accent); color: var(--bg); border-color: var(--accent); box-shadow: 4px 4px 0 var(--shadow); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--bg); box-shadow: 4px 4px 0 var(--shadow); }

.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--bg); box-shadow: 4px 4px 0 var(--shadow); }

.btn-ghost { background: transparent; color: var(--text-muted); border-color: var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--text); background: var(--bg-2); box-shadow: 4px 4px 0 var(--shadow); }

.btn-disabled { opacity: .38; cursor: not-allowed; pointer-events: none; box-shadow: none; }

/* ── Section spacing ────────────────────────────────────────── */
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-label {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

/* ── Page header ─────────────────────────────────────────────── */
.page-header {
  padding: 4rem 0 3rem;
  border-bottom: 2px solid var(--border);
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: .75rem;
  line-height: 1.1;
}
.page-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 520px; }

.page-header-row      { display: flex; align-items: center; gap: 1.25rem; }
.page-header-title    { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; color: var(--text); line-height: 1.1; margin-bottom: .5rem; }
.page-header-subtitle { font-size: 1.1rem; color: var(--text-muted); }

/* ── Unstyled link (used for in-page "← App" back links) ────── */
.link-unstyled {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.link-unstyled:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

/* ── Back link ──────────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.back-link:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

/* ── App icon ───────────────────────────────────────────────── */
.app-icon {
  width: 60px; height: 60px;
  border: 2px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
  overflow: hidden;
}
.app-icon img { object-fit: cover; width: 100%; height: 100%; }
.app-icon-sm    { width: 48px; height: 48px; }

/* ── App subnav ──────────────────────────────────────────────── */
.app-subnav {
  border-bottom: 2px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 58px;
  z-index: 90;
  transition: background 0.2s;
}
.app-subnav-list { display: flex; overflow-x: auto; scrollbar-width: none; }
.app-subnav-list::-webkit-scrollbar { display: none; }
.app-subnav-link {
  display: block;
  padding: .75rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.app-subnav-link:hover  { color: var(--text); text-decoration: none; }
.app-subnav-link.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Stats row ───────────────────────────────────────────────── */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  border: 2px solid var(--border);
  margin-bottom: 3rem;
}
.stats-row-mt-0 { margin-top: 0; }
.stats-row-mb-7 { margin-bottom: 3rem; }

.stat-item {
  flex: 1;
  min-width: 110px;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat-item:last-child { border-right: none; }
.stat-item .value { font-size: 2rem; font-weight: 800; color: var(--accent); letter-spacing: -.04em; line-height: 1; }
.stat-item .label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-top: .5rem; }

/* ── Feature grid / card grid ────────────────────────────────── */
.feature-grid,
.build-cards-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 2px solid var(--border);
  border-left: 2px solid var(--border);
  margin-bottom: 3rem;
}

.card {
  display: flex;
  flex-direction: column;
  border-right: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  padding: 1.5rem;
  background: var(--bg);
  transition: background .15s;
}
.card:hover { background: var(--bg-2); }

.card-icon {
  width: 38px; height: 38px;
  border: 2px solid var(--border-hi);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon-amber { border-color: var(--accent-2); color: var(--accent-2); }

.card h3 { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: .5rem; }
.card p  { font-size: .85rem; color: var(--text-muted); line-height: 1.55; }

.card-compact {
  padding: 1.25rem 1.5rem;
}
.card-icon-sm {
  width: 32px; height: 32px;
  border-width: 2px;
}
.text-h3-card { font-size: 1.05rem; font-weight: 800; color: var(--text); margin-bottom: .5rem; letter-spacing: -.01em; }
.text-p-card  { font-size: .85rem; color: var(--text-muted); line-height: 1.55; }

/* ── Lede ────────────────────────────────────────────────────── */
.lede { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; }

/* ── Badges ──────────────────────────────────────────────────── */
.badges-flex  { display: flex; flex-wrap: wrap; gap: .5rem; }
.badges-flex-mb-7 { margin-bottom: 3rem; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid;
}
.badge-android { border-color: var(--accent); color: var(--accent); }
.badge-live    { border-color: var(--green); color: var(--green); }
.badge-soon    { border-color: var(--accent-2); color: var(--accent-2); }

/* ── CTA banner ──────────────────────────────────────────────── */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 2px solid var(--border-hi);
  padding: 1.5rem 2rem;
  flex-wrap: wrap;
  background: var(--bg-2);
  box-shadow: 6px 6px 0 var(--shadow);
}
.cta-title    { font-size: 1.25rem; font-weight: 800; color: var(--text); margin-bottom: .5rem; }
.cta-subtitle { font-size: .88rem; color: var(--text-muted); }
.cta-subtitle a { color: var(--accent-2); }
.cta-banner-mb { margin-bottom: 3rem; }

/* ── Contact card ────────────────────────────────────────────── */
.contact-card {
  border: 2px solid var(--border-hi);
  padding: 3rem 2.5rem;
  text-align: center;
  background: var(--bg-2);
  box-shadow: 8px 8px 0 var(--shadow);
}
.contact-card h2 { font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: .75rem; }
.contact-card p  { color: var(--text-muted); margin-bottom: 1.5rem; margin-left: auto; margin-right: auto; font-size: 1.1rem; max-width: 38ch; }

.contact-email {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--accent); font-weight: 700; font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}
.contact-email:hover { color: var(--accent-2); border-color: var(--accent-2); text-decoration: none; }
.contact-note { color: var(--text-muted); font-size: .9rem; margin-top: .5rem; }

/* ── FAQ accordion ───────────────────────────────────────────── */
.faq-header { margin-bottom: 1.5rem; }
.faq-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--text); margin-top: .25rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.5rem 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  transition: color .15s;
}
.faq-question:hover { color: var(--accent); }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .2s;
  line-height: 1;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer { display: none; }
.faq-item.open .faq-answer { display: block; }

.faq-answer-inner {
  padding: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.faq-answer-inner p + p { margin-top: .75rem; }
.faq-answer-inner a { color: var(--accent-2); }
.faq-answer-inner a:hover { color: var(--accent); }

/* ── Policy sections ─────────────────────────────────────────── */
.policy-section { padding: 2rem 0; border-bottom: 1px solid var(--border); }
.policy-section:last-child { border-bottom: none; }
.policy-section h2 { font-size: 1.25rem; font-weight: 800; color: var(--text); margin-bottom: 1rem; letter-spacing: -.02em; }
.policy-section h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 1.5rem 0 .75rem; }
.policy-section p  { color: var(--text-muted); line-height: 1.7; margin-bottom: .75rem; }
.policy-section ul,
.policy-section ol { color: var(--text-muted); line-height: 1.7; padding-left: 1.5rem; margin-bottom: .75rem; }
.policy-section li { margin-bottom: .5rem; }
.policy-section strong { color: var(--text); font-weight: 700; }
.policy-section a  { color: var(--accent-2); }
.policy-section a:hover { color: var(--accent); }

/* ── Callout ─────────────────────────────────────────────────── */
.callout {
  border: 1px solid var(--border-hi);
  background: var(--bg-2);
  padding: 1rem 1.5rem;
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.callout strong { color: var(--text); }

/* ── Table wrapper (mobile overflow) ─────────────────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── Data table ──────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: .85rem; margin-bottom: 2rem; }
.data-table th { text-align: left; font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border-bottom: 2px solid var(--border); padding: .75rem 1rem; }
.data-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-muted); vertical-align: top; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-2); }

/* ── Changelog ───────────────────────────────────────────────── */
.changelog-entry  { padding: 2rem 0; border-bottom: 1px solid var(--border); }
.changelog-entry:last-child { border-bottom: none; }
.changelog-header { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.changelog-date   { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.changelog-body   { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }
.changelog-body ul { padding-left: 1.5rem; }
.changelog-body li { margin-bottom: .5rem; }
.changelog-body strong { color: var(--text); }

.changelog-tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border: 1px solid; padding: .15rem .55rem; }
.changelog-tag-added   { color: var(--green); border-color: var(--green); }
.changelog-tag-changed { color: var(--accent-2); border-color: var(--accent-2); }
.changelog-tag-fixed   { color: var(--blue); border-color: var(--blue); }

/* ── App selector (support page) ────────────────────────────── */
.app-select-wrap { margin: 2rem 0; }
.app-select {
  background: var(--bg-2);
  color: var(--text);
  border: 2px solid var(--border);
  padding: .55rem .9rem;
  padding-right: 2.4rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  -webkit-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 50%, calc(100% - .75rem) 50%;
  background-size: .4rem .4rem, .4rem .4rem;
  background-repeat: no-repeat;
  transition: border-color .15s;
}
.app-select:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { border-top: 2px solid var(--border); margin-top: auto; background: var(--bg); transition: background 0.2s; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { display: flex; align-items: center; gap: .55rem; color: var(--text); text-decoration: none; font-weight: 800; font-size: .9rem; }
.footer-logo img { width: 24px; height: 24px; }
.footer-logo:hover { text-decoration: none; color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0; }
.footer-links a { color: var(--text-muted); font-size: .83rem; padding: .28rem .6rem; border: 1px solid transparent; transition: color .15s, border-color .15s; text-decoration: none; }
.footer-links a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.footer-copy { font-size: .76rem; color: var(--text-faint); }
.footer-divider { border: none; border-top: 1px solid var(--border); }

/* ── Spacing utilities ───────────────────────────────────────── */
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.5rem; }
.mb-6 { margin-bottom: 2rem; }
.mb-7 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 2rem; }
.mr-2 { margin-right: .5rem; }

/* ── Text utilities ──────────────────────────────────────────── */
.text-2xl    { font-size: 1.5rem; }

/* ── Layout utilities (used in support.html) ─────────────────── */
.m-0             { margin: 0 !important; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 58px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 2px solid var(--border);
    flex-direction: column;
    padding: .75rem 1.5rem 1.25rem;
    gap: 0;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: .6rem .4rem; }
  .nav-links a.nav-cta { margin-left: 0; }
  .nav { position: relative; }
  .nav-toggle { display: flex; }

  .app-subnav { top: 48px; }
  .hero { padding: 4rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .contact-card { padding: 2rem 1.5rem; box-shadow: 5px 5px 0 var(--shadow); }
  .cta-banner { flex-direction: column; align-items: flex-start; box-shadow: 4px 4px 0 var(--shadow); }
  .app-tile { box-shadow: 4px 4px 0 var(--shadow); }
  .stats-row { gap: 0; }
  .stat-item { min-width: 50%; }
  .apps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero h1 { font-size: 2.2rem; }
  .btn { width: 100%; justify-content: center; }
  .btn-primary, .btn-primary:hover, .btn-outline:hover, .btn-ghost:hover { box-shadow: 3px 3px 0 var(--shadow); }
  .hero-actions { flex-direction: column; }
  .page-header-row { flex-direction: column; align-items: flex-start; }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .app-tile:hover, .btn:active { transform: none; }
}
