/* ==========================================================================
   Manoj Co — Global Stylesheet
   A premium design system for the Manoj Co developer website.
   ========================================================================== */

:root {
  /* Brand palette */
  --brand-900: #0a1440;
  --brand-800: #10205c;
  --brand-700: #182c82;
  --brand-600: #2440b8;
  --brand-500: #3457e6;
  --brand-400: #5b7bff;
  --brand-300: #91a8ff;
  --accent-500: #12c8b0;
  --accent-400: #29e0c7;

  /* Neutrals */
  --ink-900: #0b1020;
  --ink-800: #161c30;
  --ink-700: #2a3350;
  --ink-500: #5a6485;
  --ink-400: #838db0;
  --ink-300: #b8c0d9;
  --paper: #ffffff;
  --paper-2: #f6f8fd;
  --paper-3: #eef2fb;
  --line: #e2e8f4;

  /* Effects */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --shadow-sm: 0 2px 8px rgba(16, 32, 92, 0.06);
  --shadow: 0 12px 34px rgba(16, 32, 92, 0.10);
  --shadow-lg: 0 30px 70px rgba(10, 20, 64, 0.18);
  --ring: 0 0 0 4px rgba(52, 87, 230, 0.16);

  --container: 1160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

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

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-800);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--brand-500); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }

::selection { background: var(--brand-400); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.muted { color: var(--ink-500); }
.lead { font-size: 1.2rem; color: var(--ink-500); max-width: 620px; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: 14px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 10px 26px rgba(52, 87, 230, 0.35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(52, 87, 230, 0.45); }
.btn-ghost {
  background: var(--paper);
  color: var(--brand-600);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--brand-400); color: var(--brand-600); }
.btn-light { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-light:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  display: grid; place-items: center;
  color: #fff; font-size: 1.1rem; font-weight: 800;
  box-shadow: 0 6px 16px rgba(52, 87, 230, 0.4);
}
.brand__name { font-size: 1.18rem; color: var(--ink-900); letter-spacing: -0.02em; }
.brand__name span { color: var(--brand-500); }

.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 9px 15px;
  border-radius: 10px;
}
.nav__links a:hover { background: var(--paper-3); color: var(--brand-600); }
.nav__links a.active { color: var(--brand-600); background: var(--paper-3); }
.nav__cta { margin-left: 10px; }

.nav__toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink-800); margin: 5px auto; transition: 0.25s var(--ease); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(41, 224, 199, 0.16), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(91, 123, 255, 0.18), transparent 55%),
    linear-gradient(180deg, #0a1440 0%, #10205c 55%, #182c82 100%);
  color: #fff;
  padding: 96px 0 108px;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero .lead { color: rgba(255,255,255,0.85); font-size: 1.25rem; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-weight: 600; font-size: 0.85rem;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-400); box-shadow: 0 0 0 4px rgba(41,224,199,0.25); }

/* Phone mockup */
.mockup {
  position: relative; justify-self: center;
  width: 280px; height: 570px;
  border-radius: 44px;
  background: linear-gradient(160deg, #1b2450, #0c1330);
  border: 10px solid #05091c;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,0.05);
  padding: 16px;
  animation: float 6s ease-in-out infinite;
}
.mockup::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #05091c; border-radius: 0 0 16px 16px;
}
.mockup__screen {
  height: 100%; border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, #f6f8fd, #e7edfb);
  display: flex; flex-direction: column;
}
.mockup__bar { padding: 40px 18px 14px; background: linear-gradient(135deg, var(--brand-500), var(--brand-600)); color: #fff; }
.mockup__bar h4 { color: #fff; margin: 0; font-size: 1.05rem; }
.mockup__bar p { margin: 2px 0 0; font-size: 0.75rem; opacity: 0.85; }
.mockup__body { padding: 16px; display: grid; gap: 12px; }
.mockup__card { background: #fff; border-radius: 14px; padding: 12px; box-shadow: var(--shadow-sm); display: flex; gap: 10px; align-items: center; }
.mockup__ico { width: 38px; height: 38px; border-radius: 10px; flex: none; background: linear-gradient(135deg, var(--brand-400), var(--accent-500)); }
.mockup__line { height: 8px; border-radius: 6px; background: var(--paper-3); }
.mockup__line.sm { width: 55%; }
.mockup__line.xs { width: 35%; margin-top: 6px; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Stats bar ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.stat { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 22px; }
.stat b { display: block; font-family: var(--font-display); font-size: 2rem; color: #fff; letter-spacing: -0.02em; }
.stat span { color: rgba(255,255,255,0.72); font-size: 0.9rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.card__ico {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(52,87,230,0.12), rgba(18,200,176,0.14));
  color: var(--brand-600);
}
.card__ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-500); margin: 0; font-size: 0.98rem; }

/* App list */
.app { display: flex; gap: 18px; align-items: flex-start; }
.app__icon {
  width: 76px; height: 76px; border-radius: 20px; flex: none;
  display: grid; place-items: center; color: #fff; font-size: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.app__meta { flex: 1; }
.app__meta h3 { margin-bottom: 4px; }
.app__meta .muted { font-size: 0.95rem; margin-bottom: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700; color: var(--brand-600);
  background: var(--paper-3); padding: 4px 11px; border-radius: 999px; margin-right: 6px;
}
.stars { color: #f5a623; font-size: 0.9rem; letter-spacing: 2px; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-700); }
.check-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-500), var(--brand-500));
  display: grid; place-items: center; color: #fff; font-size: 0.7rem; margin-top: 3px;
}
.media-frame {
  border-radius: var(--radius-lg); padding: 30px; color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  min-height: 320px; display: flex; flex-direction: column; justify-content: center;
}
.media-frame::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.6;
}
.media-frame h3 { color: #fff; position: relative; }
.media-frame p { color: rgba(255,255,255,0.85); position: relative; margin: 0; }
.media-frame .big { font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; position: relative; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 26px; }
.step { display: flex; gap: 20px; }
.step__num {
  counter-increment: step; flex: none;
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.step__num::before { content: counter(step); }

/* ---------- Testimonials ---------- */
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.05rem; color: var(--ink-800); }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-400), var(--accent-500)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote__by b { display: block; font-size: 0.95rem; }
.quote__by span { color: var(--ink-500); font-size: 0.85rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: radial-gradient(700px 400px at 80% 0%, rgba(41,224,199,0.2), transparent 60%),
    linear-gradient(135deg, var(--brand-700), var(--brand-500));
  border-radius: var(--radius-xl);
  padding: 60px; color: #fff; text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 560px; margin: 0 auto 26px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-600); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }
.cta-band .btn-primary:hover { color: var(--brand-700); }

/* ---------- Page header ---------- */
.page-hero {
  background: radial-gradient(900px 500px at 90% -20%, rgba(41,224,199,0.14), transparent 60%),
    linear-gradient(180deg, var(--brand-900), var(--brand-700));
  color: #fff; padding: 74px 0 66px; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 640px; margin: 0 auto; font-size: 1.15rem; }
.breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { margin-top: 44px; font-size: 1.6rem; }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: var(--ink-700); }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 1rem; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration: underline; }
.legal-meta {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 34px; font-size: 0.95rem; color: var(--ink-500);
}
.toc {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 34px;
}
.toc h4 { margin: 0 0 12px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-500); }
.toc ol { margin: 0; padding-left: 18px; columns: 2; gap: 30px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--ink-700); text-decoration: none; }
.toc a:hover { color: var(--brand-600); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; }
.info-card { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.info-card__ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: linear-gradient(135deg, rgba(52,87,230,0.12), rgba(18,200,176,0.14)); color: var(--brand-600); display: grid; place-items: center; }
.info-card b { display: block; font-size: 0.85rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.06em; }
.info-card a, .info-card span { color: var(--ink-900); font-weight: 600; }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--ink-800); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 12px; font: inherit; font-size: 0.98rem; color: var(--ink-900);
  background: var(--paper-2); transition: border 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-400); box-shadow: var(--ring); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.form__note { font-size: 0.85rem; color: var(--ink-500); margin-top: 4px; }
.form-status { margin-top: 14px; font-weight: 600; font-size: 0.95rem; }
.form-status.ok { color: #0f9d6c; }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-sm); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: none; }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; font: inherit; font-weight: 700; color: var(--ink-900); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q::after { content: "+"; font-size: 1.4rem; color: var(--brand-500); transition: transform 0.25s var(--ease); flex: none; }
.faq__item.open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq__a p { padding: 0 24px 20px; margin: 0; color: var(--ink-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--ink-300); padding: 68px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand__name { color: #fff; }
.site-footer p { color: var(--ink-400); font-size: 0.95rem; max-width: 320px; }
.footer__col h5 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 16px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { color: var(--ink-400); font-size: 0.95rem; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.88rem; color: var(--ink-400); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); display: grid; place-items: center; color: var(--ink-300); }
.footer__social a:hover { background: var(--brand-500); color: #fff; }

/* ---------- Apps catalogue controls ---------- */
.catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.search-box { position: relative; flex: 1; min-width: 240px; max-width: 380px; }
.search-box input {
  width: 100%; padding: 13px 16px 13px 44px; border: 1px solid var(--line);
  border-radius: 999px; font: inherit; font-size: 0.96rem; background: var(--paper-2); color: var(--ink-900);
  transition: border 0.2s, box-shadow 0.2s;
}
.search-box input:focus { outline: none; border-color: var(--brand-400); box-shadow: var(--ring); background: #fff; }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-400); }
.catalog-count { color: var(--ink-500); font-size: 0.92rem; font-weight: 600; white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-chip {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-700);
  font: inherit; font-weight: 600; font-size: 0.9rem; padding: 9px 18px;
  border-radius: 999px; cursor: pointer; transition: all 0.2s var(--ease);
}
.filter-chip:hover { border-color: var(--brand-400); color: var(--brand-600); }
.filter-chip.active { background: linear-gradient(135deg, var(--brand-500), var(--brand-600)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(52,87,230,0.3); }
.app-empty { display: none; text-align: center; padding: 60px 20px; color: var(--ink-500); }
#appGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { #appGrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { #appGrid { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.value-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.timeline { position: relative; margin-top: 10px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding-bottom: 30px; }
.timeline__item::before { content: ""; position: absolute; left: -29px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 4px solid var(--brand-500); }
.timeline__item b { display: block; color: var(--brand-600); font-family: var(--font-display); font-size: 1.05rem; }
.timeline__item:last-child { padding-bottom: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split__media { max-width: 460px; }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; gap: 4px;
    box-shadow: var(--shadow); display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 14px; }
  .nav__cta { margin: 8px 0 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .section { padding: 62px 0; }
  .cta-band { padding: 40px 24px; }
  .hero { padding: 64px 0 76px; }
}
