/* ═══════════════════════════════════════════════════════════════════
   PkOUG — Modern Tech (ACE / AIOUG-inspired)
   - Clean, readable typography
   - Oracle-red accented UI + subtle tech background
   - Light default + optional dark mode
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* ACE-style core palette (approx): Oracle Red + Bark + Gold + Neutral Grey */
  --oracle-red:  #C74634;
  --oracle-bark: #312D2A;
  --oracle-gold: #FACD62;
  /* PkOUG logo colors */
  --pk-green:   #0f4d21;
  --pk-red:     #e51f21;
  --neutral-100: #ffffff;
  --neutral-50:  #f6f7f9;
  --neutral-200: #e5e7eb;
  --neutral-400: #9aa4af;
  --neutral-700: #374151;
  --neutral-900: #111827;

  /* Theme (light) */
  --bg:      var(--neutral-100);
  --bg2:     var(--neutral-50);
  --surface: rgba(255,255,255,0.92);
  --text:    #1f2328;
  --muted:   #5b6770;
  --border:  rgba(17,24,39,0.10);
  --shadow:  0 10px 30px rgba(17,24,39,0.08);

  --primary: var(--oracle-red);
  --primary-2: #B33A2A;
  --accent:  var(--oracle-gold);

  --radius:    12px;
  --radius-lg: 18px;
  --focus:     0 0 0 3px rgba(199,70,52,0.20);
}

/* Dark mode */
body.theme-dark {
  --bg:      #0b0f14;
  --bg2:     #101826;
  --surface: rgba(15,22,34,0.88);
  --text:    #e6edf3;
  --muted:   rgba(230,237,243,0.70);
  --border:  rgba(230,237,243,0.14);
  --shadow:  0 12px 34px rgba(0,0,0,0.55);

  --primary: #ff6a5a;
  --primary-2: #ff4f3d;
  --accent:  #ffd98a;
  --focus:   0 0 0 3px rgba(255,106,90,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; }

/* Subtle tech background */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(199,70,52,0.10) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(250,205,98,0.10) 0%, transparent 42%),
    radial-gradient(circle at 60% 90%, rgba(199,70,52,0.06) 0%, transparent 40%),
    linear-gradient(0deg, transparent 24px, rgba(17,24,39,0.04) 25px),
    linear-gradient(90deg, transparent 24px, rgba(17,24,39,0.04) 25px);
  background-size: auto, auto, auto, 25px 25px, 25px 25px;
  background-position: center;
  pointer-events: none;
}
body.theme-dark::before {
  background:
    radial-gradient(circle at 20% 10%, rgba(255,106,90,0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,217,138,0.12) 0%, transparent 42%),
    radial-gradient(circle at 60% 90%, rgba(255,106,90,0.10) 0%, transparent 40%),
    linear-gradient(0deg, transparent 22px, rgba(255,255,255,0.05) 23px),
    linear-gradient(90deg, transparent 22px, rgba(255,255,255,0.05) 23px);
  background-size: auto, auto, auto, 23px 23px, 23px 23px;
}

/* Accessibility */
.skip { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip:focus {
  left: 16px; top: 16px; width: auto; height: auto;
  padding: 10px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 9999;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 200;
  backdrop-filter: blur(14px) saturate(130%);
  background: rgba(255,255,255,0.75);
  border-bottom: 1px solid var(--border);
}
body.theme-dark nav { background: rgba(11,15,20,0.72); }

nav::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
}

.nav-inner { height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 98px; height: 74px; border-radius: 100px; object-fit: contain; box-shadow: 0 6px 18px rgba(17,24,39,0.12); }
.brand b { font-size: 16px; font-weight: 800; letter-spacing: 0.2px; }

/* Wordmark (PkOUG color-matched to logo) */
.pkoug { font-weight: 900; letter-spacing: 0.2px; white-space: nowrap; }
.pkoug .pk { color: var(--pk-green); }
.pkoug .oug { color: var(--pk-red); }
body.theme-dark .pkoug .pk { color: #22c55e; } /* readable green in dark */
body.theme-dark .pkoug .oug { color: var(--pk-red); }

/* Nav dropdown */
.dropdown { position: relative; }
.navdrop {
  background: transparent;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  color: rgba(31,35,40,0.72);
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
}
body.theme-dark .navdrop { color: rgba(230,235,241,0.78); }
.navdrop:hover { background: rgba(199,70,52,0.08); border-color: rgba(199,70,52,0.18); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}
.dropdown.open .dropdown-menu { display: grid; gap: 4px; }
.dropdown-menu a {
  padding: 10px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(31,35,40,0.76);
  border: 1px solid transparent;
  text-decoration: none;
}
body.theme-dark .dropdown-menu a { color: rgba(230,235,241,0.84); }
.dropdown-menu a:hover { background: rgba(17,24,39,0.04); border-color: var(--border); }
.dropdown-menu .muted { font-weight: 600; opacity: 0.72; }

@media (max-width: 980px) {
  .dropdown-menu {
    position: static;
    min-width: unset;
    margin-left: 6px;
    margin-right: 6px;
  }
}

.brand b em { font-style: normal; color: var(--primary); }

.navlinks { display: flex; gap: 2px; align-items: center; }
.navlinks a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: rgba(31,35,40,0.72);
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}
body.theme-dark .navlinks a { color: rgba(230,237,243,0.75); }
.navlinks a:hover { color: var(--text); background: rgba(199,70,52,0.08); border-color: rgba(199,70,52,0.18); }
body.theme-dark .navlinks a:hover { background: rgba(255,106,90,0.12); border-color: rgba(255,106,90,0.20); }
.navlinks a.active { color: var(--primary); border-color: rgba(199,70,52,0.22); background: rgba(199,70,52,0.08); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.social { display: flex; gap: 6px; align-items: center; }

.iconbtn {
  width: 28px; height: 28px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.iconbtn svg { width: 18px; height: 18px; opacity: 0.75; }
.iconbtn:hover { transform: translateY(-1px); border-color: rgba(199,70,52,0.28); box-shadow: var(--shadow); }
.iconbtn:hover svg { opacity: 1; }
.iconbtn:focus-visible { outline: none; box-shadow: var(--shadow), var(--focus); }

.pill {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(199,70,52,0.25);
  background: rgba(199,70,52,0.08);
  color: var(--primary);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; opacity: 0.85; }

/* TICKER */
.ticker {
  border-bottom: 1px solid var(--border);
  background: rgba(246,247,249,0.80);
}
body.theme-dark .ticker { background: rgba(16,24,38,0.70); }
.ticker-inner { display: flex; white-space: nowrap; overflow: hidden; }
.ticker-item {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding: 10px 28px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(31,35,40,0.68);
  animation: tickerScroll 26s linear infinite;
}
body.theme-dark .ticker-item { color: rgba(230,237,243,0.72); }
.ticker-item .sep { color: var(--primary); opacity: 0.55; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* HERO */
.hero { padding: 78px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.22fr 0.78fr; gap: 34px; align-items: start; }

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(31,35,40,0.62);
}
body.theme-dark .section-title { color: rgba(230,237,243,0.68); }
.section-title::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(199,70,52,0.14);
}

.h1 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.08; font-weight: 850; letter-spacing: -0.02em; margin-top: 16px; }
.h1 em { font-style: normal; color: var(--primary); }

.sub { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 62ch; }

.ctas { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); border-color: rgba(199,70,52,0.22); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: white; }
.btn.primary:hover { background: var(--primary-2); border-color: var(--primary-2); }
.btn.cyan { background: rgba(250,205,98,0.26); border-color: rgba(250,205,98,0.40); }
body.theme-dark .btn.cyan { background: rgba(255,217,138,0.18); border-color: rgba(255,217,138,0.28); }
.btn:focus-visible { outline: none; box-shadow: var(--shadow), var(--focus); }

.hr { height: 1px; background: var(--border); margin: 22px 0 14px; }
.smallnote { font-size: 13px; color: rgba(91,103,112,0.85); }
body.theme-dark .smallnote { color: rgba(230,237,243,0.70); }

/* HERO CARD */
.hero-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(91,103,112,0.9);
}
body.theme-dark .kicker { color: rgba(230,237,243,0.75); }
.kicker .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(250,205,98,0.24); }
.hero-card h3 { margin-top: 10px; font-size: 18px; font-weight: 800; }
.hero-card p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.metric { border: 1px solid var(--border); border-radius: 14px; padding: 10px 10px; background: rgba(246,247,249,0.75); }
body.theme-dark .metric { background: rgba(16,24,38,0.65); }
.metric b { display: block; font-size: 12px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--primary); }
.metric span { display: block; font-size: 12px; color: rgba(91,103,112,0.9); margin-top: 4px; }
body.theme-dark .metric span { color: rgba(230,237,243,0.72); }

/* SECTION DIVIDER */
.sec-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 44px 0;
}

/* STAT BAR */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.stat-item { border-radius: 16px; padding: 12px 14px; background: rgba(246,247,249,0.80); border: 1px solid rgba(17,24,39,0.06); }
body.theme-dark .stat-item { background: rgba(16,24,38,0.65); border-color: rgba(230,237,243,0.10); }
.stat-num { display: block; font-weight: 850; font-size: 22px; color: var(--primary); }
.stat-label { display: block; font-weight: 700; font-size: 13px; margin-top: 6px; }
.stat-sub { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* SECTION */
section { padding: 0 0 8px; }
.h2 { font-size: clamp(22px, 2.6vw, 38px); line-height: 1.15; font-weight: 850; letter-spacing: -0.015em; margin-top: 14px; }
.h2 em { font-style: normal; color: var(--primary); }
.lead { margin-top: 14px; color: var(--muted); max-width: 80ch; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card h4 { font-size: 16px; font-weight: 800; }
.card p { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* JOIN SPLIT */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 18px; margin-top: 22px; }

.tiers { display: grid; gap: 10px; }
.tier {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 12px;
  align-items: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 14px 14px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.tier:hover { transform: translateY(-1px); border-color: rgba(199,70,52,0.25); }
.tier.selected { border-color: rgba(199,70,52,0.45); box-shadow: var(--shadow), 0 0 0 3px rgba(199,70,52,0.10); }

.tdot { width: 12px; height: 12px; border-radius: 4px; background: var(--primary); }
.tdot.free { background: rgba(91,103,112,0.55); }
.tdot.pro { background: var(--primary); }
.tdot.corp { background: var(--accent); }

.tier b { font-size: 14px; font-weight: 850; display: block; }
.tier small { font-size: 13px; color: var(--muted); display: block; margin-top: 2px; }
.price { font-weight: 850; font-size: 13px; color: var(--oracle-bark); }
body.theme-dark .price { color: var(--text); }

.form {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}
.form h3 { font-size: 18px; font-weight: 850; }
.form p { margin-top: 8px; color: var(--muted); font-size: 14px; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 13px; }
.field input, .field select, .field textarea {
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(246,247,249,0.70);
  color: var(--text);
  outline: none;
  font-size: 14px;
}
body.theme-dark .field input, body.theme-dark .field select, body.theme-dark .field textarea { background: rgba(16,24,38,0.65); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: var(--focus); border-color: rgba(199,70,52,0.35); }
.field textarea { min-height: 110px; resize: vertical; }

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skills label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(199,70,52,0.18);
  background: rgba(199,70,52,0.06);
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}
body.theme-dark .skills label {
  border-color: rgba(255,106,90,0.20);
  background: rgba(255,106,90,0.10);
}
.skills input { accent-color: var(--primary); }

.form .actions { margin-top: 14px; display: flex; gap: 10px; align-items: center; }

/* Form submit buttons (existing markup uses .submit) */
.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.submit:hover { transform: translateY(-1px); background: var(--primary-2); box-shadow: var(--shadow); }
.submit:focus-visible { outline: none; box-shadow: var(--shadow), var(--focus); }
.submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* Sponsor price tags */
.tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  border: 1px solid rgba(199,70,52,0.22);
  background: rgba(199,70,52,0.08);
}
body.theme-dark .tag { border-color: rgba(255,106,90,0.24); background: rgba(255,106,90,0.12); }

/* SPONSOR PLANS */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px; }
.card.plan { cursor: pointer; transition: transform 0.15s ease, border-color 0.15s ease; }
.card.plan:hover { transform: translateY(-1px); border-color: rgba(199,70,52,0.25); }
.card.plan.selected { border-color: rgba(199,70,52,0.45); box-shadow: var(--shadow), 0 0 0 3px rgba(199,70,52,0.10); }

/* DIRECTORY */
.toolbar,
.dir-tools {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.toolbar .count,
.dir-tools .count { margin-left: auto; font-size: 13px; color: var(--muted); }

.directory { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.profile {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 16px;
}
.profile .top { display: flex; gap: 12px; align-items: center; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 850;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile h4 { font-size: 16px; font-weight: 850; }
.profile .meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.bio { margin-top: 12px; color: var(--muted); font-size: 14px; }
.pills { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.pills span {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(199,70,52,0.20);
  background: rgba(199,70,52,0.08);
  color: var(--primary);
}
body.theme-dark .pills span { border-color: rgba(255,106,90,0.22); background: rgba(255,106,90,0.12); color: var(--primary); }

/* FOOTER */
footer { margin-top: 56px; padding: 26px 0 40px; border-top: 1px solid var(--border); background: rgba(246,247,249,0.70); }
body.theme-dark footer { background: rgba(16,24,38,0.70); }
.footer-inner { display: grid; gap: 14px; }
.foot-left { display: flex; align-items: center; gap: 12px; }
.foot-left img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; }
.foot-left b { font-weight: 850; }
.foot-left em { font-style: normal; color: var(--muted); font-weight: 700; }
.foot-social { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.foot-social .label { font-weight: 800; font-size: 13px; color: var(--muted); margin-right: 2px; }
.copy { font-size: 12px; color: var(--muted); }

/* TOAST */
.toast {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 999;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  min-width: 260px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast b { display: block; font-weight: 850; }
.toast span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.toast.show { opacity: 1; transform: translateY(0); }

/* Animations */
@keyframes fadeUp { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Custom cursor (subtle) */
@media (pointer: fine) {
  #cursor-dot, #cursor-ring {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0.0;
    transition: opacity 0.2s ease;
  }
  body.cursor-ready #cursor-dot,
  body.cursor-ready #cursor-ring { opacity: 1; }
  #cursor-dot { width: 6px; height: 6px; background: var(--primary); }
  #cursor-ring { width: 30px; height: 30px; border: 1.5px solid rgba(199,70,52,0.38); }
  body.theme-dark #cursor-ring { border-color: rgba(255,106,90,0.38); }
  body.cursor-hover #cursor-ring { width: 44px; height: 44px; border-color: rgba(250,205,98,0.55); }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .directory { grid-template-columns: 1fr; }
  .navlinks { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .navlinks.open {
    display: grid;
    position: absolute;
    top: 72px;
    right: 22px;
    left: 22px;
    padding: 12px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
    gap: 6px;
  }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .row { grid-template-columns: 1fr; }
  .pill { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  #cursor-dot, #cursor-ring { display: none !important; }
}
