/* =========================================================
   ZMF Design System — shared stylesheet
   ========================================================= */

:root {
  --bg:      #f4f5f2;
  --bg-2:    #eef0ec;
  --ink:     #0f3a45;
  --muted:   #43585c;
  --line:    rgba(15,58,69,0.1);
  --green:   #178f7e;
  --teal:    #2bbfb0;
  --amber:   #e1920a;
  --dark:    #08222a;
  --white:   #ffffff;
  --shadow:  0 30px 60px -32px rgba(15,58,69,0.35);
  --shadow-sm: 0 8px 24px -12px rgba(15,58,69,0.18);
  --radius:  22px;
  --radius-sm: 14px;
}

/* reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Figtree', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: 0.5em; }

/* layout */
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.container-narrow {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(244,245,242,0.88);
  border-bottom: 1px solid rgba(15,58,69,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-size: 17px;
  flex-shrink: 0;
}
.brand-mark {
  position: relative;
  width: 22px; height: 22px;
  display: inline-block;
  flex: none;
}
.brand-mark .ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px dotted currentColor;
}
.brand-mark .pip {
  position: absolute; top: 1px; right: 1px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.2vw, 24px);
  flex-wrap: wrap;
}
.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active {
  color: var(--green);
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: var(--ink);
  color: white !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(15,58,69,0.2);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  line-height: 1.07;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h1 { font-size: clamp(36px, 7vw, 68px); }
h2 { font-size: clamp(28px, 5vw, 46px); }
h3 { font-size: clamp(19px, 2.8vw, 24px); }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  display: block;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 14px;
}
.tag .pip { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
.lead {
  font-size: clamp(17px, 2.3vw, 20px);
  color: var(--muted);
  line-height: 1.6;
  text-wrap: pretty;
}
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.highlight { color: var(--green); }
.highlight-amber { color: var(--amber); }
p { line-height: 1.7; }

/* ---- BUTTONS ---- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 24px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  font-family: inherit;
  line-height: 1;
}
.button:hover { transform: translateY(-1px); opacity: 0.9; }
.btn-primary   { background: var(--ink); color: white; }
.btn-green     { background: var(--green); color: white; }
.btn-amber     { background: var(--amber); color: var(--ink); }
.btn-outline   { background: transparent; border-color: rgba(15,58,69,0.28); color: var(--ink); }
.btn-ghost     { background: transparent; border-color: rgba(255,255,255,0.3); color: white; }
.btn-sm        { padding: 9px 18px; font-size: 13px; }

/* ---- SECTIONS ---- */
.section { padding: clamp(72px, 13vh, 148px) 0; }
.section-sm { padding: clamp(48px, 8vh, 88px) 0; }
.section.bg-alt  { background: var(--bg-2); }
.section.bg-dark { background: var(--dark);  color: #eaf4f2; }
.section.bg-ink  { background: var(--ink);   color: #eaf4f2; }
.mt-sm  { margin-top: 12px; }
.mt-md  { margin-top: 24px; }
.mt-lg  { margin-top: 40px; }
.mb-sm  { margin-bottom: 12px; }
.mb-md  { margin-bottom: 24px; }
.mb-lg  { margin-bottom: 40px; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: clamp(64px, 11vh, 112px) 0 clamp(52px, 9vh, 88px);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lead { max-width: 660px; }

/* ---- HOME HERO ---- */
.hero {
  position: relative;
  min-height: calc(100vh - 62px);
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0 56px;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
}
.hero::before {
  inset: 10% auto auto 12%;
  width: 12px; height: 12px;
  background: rgba(15,58,69,0.18);
  box-shadow: 60vw 8vh 0 rgba(15,58,69,0.14), 72vw 52vh 0 rgba(15,58,69,0.12), 10vw 62vh 0 rgba(225,146,10,0.35);
}
.hero::after {
  inset: auto 18% 16% auto;
  width: 10px; height: 10px;
  background: rgba(15,58,69,0.12);
  box-shadow: -58vw -34vh 0 rgba(15,58,69,0.11), -70vw -18vh 0 rgba(15,58,69,0.16);
}
.hero-grid {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, transparent 0, transparent calc(50% - 1px), rgba(15,58,69,.08) calc(50% - 1px), rgba(15,58,69,.08) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to bottom, transparent 0, transparent calc(52% - 1px), rgba(15,58,69,.08) calc(52% - 1px), rgba(15,58,69,.08) calc(52% + 1px), transparent calc(52% + 1px));
  mask-image: radial-gradient(circle at center, black 0, black 42%, transparent 78%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; padding: 0 8px; }
.hero h1 { margin-bottom: 20px; }
.hero-cue {
  margin-top: 28px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: #7c8c8f;
}

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border: 1px solid rgba(15,58,69,0.09);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.card-dark {
  background: linear-gradient(180deg, #0e2d36, #0b2730);
  color: #eaf4f2;
  border: 1px solid rgba(43,191,176,0.18);
  border-radius: var(--radius);
  padding: clamp(20px, 3.5vw, 32px);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.04);
}
.soft-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
  padding: 22px;
}
.soft-card.light {
  background: white;
  border-color: rgba(15,58,69,0.09);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

/* ---- GRIDS ---- */
.two-col   { display: grid; grid-template-columns: 1fr 1fr;          gap: clamp(20px,3vw,40px); align-items: start; }
.two-col-w { display: grid; grid-template-columns: 1.3fr 1fr;        gap: clamp(20px,3vw,40px); align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3,1fr);   gap: clamp(16px,2.5vw,28px); }
.four-col  { display: grid; grid-template-columns: repeat(4,1fr);   gap: clamp(14px,2vw,24px); }
.auto-col  { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.center-align { align-items: center; }
.section-head { max-width: 640px; margin-bottom: clamp(36px,6vh,60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- STATS ---- */
.stat { border-top: 2px solid var(--green); padding-top: 18px; }
.stat.amber  { border-color: var(--amber); }
.stat .num { font-size: clamp(36px,6vw,54px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.stat .num .accent { color: var(--green); }
.stat.amber .num .accent { color: var(--amber); }
.stat p { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); }

/* ---- COMPARE GRID ---- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 24px;
}
.compare-cell { background: white; padding: 24px 28px; }
.compare-cell.dark-cell { background: var(--ink); color: #eaf4f2; }
.compare-cell .cell-head {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0.7;
  text-transform: uppercase;
}
.compare-cell ul { margin: 0; padding: 0 0 0 18px; }
.compare-cell li { margin-bottom: 10px; font-size: 15px; line-height: 1.5; }
.compare-cell li:last-child { margin-bottom: 0; }

/* ---- BLIND SPOT / NUMBERED SECTIONS ---- */
.numbered-list { margin-top: 32px; }
.numbered-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px 24px;
  padding: clamp(28px,4vw,44px) 0;
  border-top: 1px solid var(--line);
}
.numbered-item:first-child { border-top: none; }
.num-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--green);
  font-weight: 600;
  padding-top: 5px;
  white-space: nowrap;
}
.numbered-item h3 { margin-bottom: 10px; }
.numbered-item .sub-label {
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.numbered-item p { color: var(--muted); font-size: 16px; }

/* ---- CAPABILITIES ---- */
.cap-card {
  background: white;
  border: 1px solid rgba(15,58,69,0.09);
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.cap-card h3 { font-size: 17px; margin-bottom: 10px; }
.cap-card p { color: var(--muted); font-size: 15px; margin: 0; }
.cap-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: rgba(23,143,126,0.12);
  flex-shrink: 0;
}
.cap-icon.amber { background: rgba(225,146,10,0.14); }

/* ---- FEATURE CARDS (dark) ---- */
.feat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 22px;
}
.feat-card h3 { font-size: 16px; margin-bottom: 6px; color: #eaf4f2; }
.feat-card p  { font-size: 13.5px; color: #9fc0bd; line-height: 1.5; margin: 0; }
.feat-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feat-icon.green { background: rgba(43,191,176,0.14); }
.feat-icon.amber { background: rgba(225,146,10,0.16); }

/* ---- INSIGHTS ---- */
.article-card {
  background: white;
  border: 1px solid rgba(15,58,69,0.09);
  border-radius: var(--radius);
  padding: clamp(28px,4vw,48px);
  box-shadow: var(--shadow);
}
.article-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}
.article-card h2 { font-size: clamp(22px,4vw,30px); margin-bottom: 18px; }
.article-body { color: var(--muted); font-size: 16.5px; line-height: 1.8; }
.article-body p { margin-bottom: 1.3em; }
.article-body p:last-child { margin-bottom: 0; }
.article-body blockquote {
  margin: 28px 0;
  padding: 20px 28px;
  background: var(--bg-2);
  border-left: 3px solid var(--green);
  border-radius: 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}
.article-upcoming {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.article-upcoming h3 { font-size: 16px; font-weight: 600; color: var(--muted); }
.upcoming-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber);
  background: rgba(225,146,10,0.12);
  border: 1px solid rgba(225,146,10,0.2);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  flex: none;
}

/* ---- CONTACT FORM ---- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: #eaf4f2; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  color: #eaf4f2;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: #7f9c99; }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: rgba(43,191,176,0.7);
  box-shadow: 0 0 0 4px rgba(43,191,176,0.12);
}
.form-select option { background: var(--dark); color: #eaf4f2; }
.form-textarea { min-height: 140px; resize: vertical; }
.notice {
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 15px;
}
.notice.success { background: rgba(43,191,176,0.14); color: #d9fffa; border: 1px solid rgba(43,191,176,0.24); }
.notice.error   { background: rgba(225,146,10,0.14);  color: #fff0d0; border: 1px solid rgba(225,146,10,0.24); }

/* ---- CTA SECTION ---- */
.cta-section { position: relative; overflow: hidden; }
.cta-glow {
  position: absolute;
  bottom: -20%; left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 720px);
  height: min(70vw, 520px);
  background: radial-gradient(circle, rgba(225,146,10,.16), transparent 70%);
  pointer-events: none;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---- TIMELINE (homepage) ---- */
.timeline-wrap { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; justify-items: center; }
.timeline-shell {
  width: 100%;
  background: rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: clamp(20px,4vw,32px);
  border: 1px solid rgba(15,58,69,0.08);
  box-shadow: var(--shadow);
}
.progress-bar { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; max-width: 720px; margin: 0 auto; }
.progress-bar > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--amber)); }

/* ---- MINI CARDS ---- */
.mini-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: #8fb2af;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.metric-val { font-size: 23px; font-weight: 800; margin-top: 4px; }
.metric-note { font-size: 12px; color: #9fc0bd; }

/* ---- ACCORDION / EXPANDABLE ---- */
.accordion-item { border-top: 1px solid var(--line); }
.accordion-item:last-child { border-bottom: 1px solid var(--line); }
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  text-align: left;
}
.accordion-btn h3 { font-size: 18px; font-weight: 700; }
.accordion-btn .acc-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  transition: transform 0.3s;
}
.accordion-btn[aria-expanded="true"] .acc-icon { transform: rotate(45deg); background: var(--green); border-color: var(--green); }
.accordion-btn[aria-expanded="true"] .acc-icon svg { stroke: white; }
.accordion-body { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.accordion-body-inner { padding: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.accordion-body-inner p { margin-bottom: 1em; }
.accordion-body-inner p:last-child { margin-bottom: 0; }

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- FOOTER ---- */
.footer { background: var(--dark); color: #7f9c99; padding: clamp(40px,7vh,64px) 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; font-size: 13.5px; flex-wrap: wrap; }
.footer a { color: #7f9c99; text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: #eaf4f2; }
.footer-meta { margin-top: 22px; font-size: 12px; color: #52716e; }

/* ---- ADMIN ---- */
.admin-body { background: #f0f2f5; min-height: 100vh; font-family: 'Figtree', system-ui, sans-serif; }
.admin-topbar {
  background: var(--ink);
  color: white;
  padding: 14px 0;
  position: sticky; top: 0; z-index: 50;
}
.admin-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-topbar .brand { color: white; font-size: 15px; }
.admin-topbar a.topbar-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s;
}
.admin-topbar a.topbar-link:hover, .admin-topbar a.topbar-link.active-t { color: white; }
.admin-wrap { padding: 36px 0; }
.admin-card {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 24px -8px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 24px;
}
.admin-card-hd {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.admin-card-hd h2 { font-size: 17px; font-weight: 700; color: var(--ink); }
.admin-card-body { padding: 24px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; margin-bottom: 28px; }
.admin-stat-card {
  background: white;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 20px 24px;
  box-shadow: 0 2px 8px -4px rgba(0,0,0,0.1);
}
.admin-stat-card .asc-num { font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1; }
.admin-stat-card .asc-label { font-size: 13px; color: #6c757d; margin-top: 6px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  background: #f8f9fa;
  padding: 11px 16px;
  text-align: left;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c757d;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-weight: 700;
}
.admin-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: #374151;
  vertical-align: top;
  line-height: 1.5;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafbfc; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}
.badge-new  { background: rgba(23,143,126,0.12); color: #0f6e60; }
.badge-read { background: rgba(0,0,0,0.06); color: #6c757d; }
.admin-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #374151; }
.admin-input, .admin-textarea, .admin-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  color: #374151;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
  -webkit-appearance: none;
}
.admin-input:focus, .admin-textarea:focus, .admin-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23,143,126,0.12);
}
.admin-textarea { min-height: 90px; resize: vertical; }
.admin-field { margin-bottom: 20px; }
.admin-hint { font-size: 12.5px; color: #8c9aaa; margin-top: 5px; }
.admin-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.admin-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}
.admin-btn:hover { opacity: 0.85; }
.admin-btn-primary  { background: var(--ink); color: white; }
.admin-btn-green    { background: var(--green); color: white; }
.admin-btn-danger   { background: #dc3545; color: white; }
.admin-btn-ghost    { background: rgba(0,0,0,0.06); color: #374151; }
.submission-msg { max-width: 420px; white-space: pre-wrap; font-size: 14px; line-height: 1.5; }
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--bg-2), var(--bg));
  padding: 24px;
}
.login-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid rgba(15,58,69,0.1);
  box-shadow: var(--shadow);
  padding: clamp(32px,5vw,52px);
  width: min(440px, 100%);
}
.login-label { display: block; font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 8px; }
.login-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.login-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(23,143,126,0.12);
}
.login-notice { background: rgba(220,53,69,0.1); color: #842029; border: 1px solid rgba(220,53,69,0.2); border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 1px);
    left: -20px; right: -20px;
    background: rgba(244,245,242,0.98);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px;
    gap: 14px;
    backdrop-filter: blur(12px);
    z-index: 200;
  }
  .nav { position: relative; }
  .nav-toggle { display: flex; align-items: center; }
  .two-col, .two-col-w, .three-col, .four-col, .compare-grid, .form-row { grid-template-columns: 1fr; }
  .numbered-item { grid-template-columns: 1fr; gap: 4px; }
  .article-upcoming { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .cta-actions { flex-direction: column; align-items: center; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .admin-btn { transition: none; }
}
