/* Engineering English — marketing site design system */

/* Self-hosted Inter (latin + latin-ext) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/inter-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/inter-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --ink: #0b1220;
  --ink-soft: #35405a;
  --muted: #5b6472;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --border: #e6eaf2;
  --accent: #2563eb;
  --accent-deep: #1d4ed8;
  --accent-ink: #0f2a6b;
  --accent-soft: #eaf0fe;
  --good: #0f9d58;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.05), 0 8px 24px rgba(11, 18, 32, 0.06);
  --shadow-lift: 0 2px 4px rgba(11, 18, 32, 0.06), 0 16px 40px rgba(11, 18, 32, 0.1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink-soft); font-size: 14.5px; font-weight: 500; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--accent-deep); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(37, 99, 235, 0.1), transparent 60%),
    radial-gradient(800px 400px at 10% 0%, rgba(15, 157, 88, 0.05), transparent 55%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12; letter-spacing: -0.025em; font-weight: 800;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--accent-deep); }
.hero .lede {
  font-size: 18px; color: var(--muted); max-width: 54ch; margin-bottom: 28px;
}
.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15.5px;
  padding: 14px 26px; border-radius: 999px;
  box-shadow: var(--shadow);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow-lift); text-decoration: none; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.btn-secondary:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.cta-note { font-size: 13px; color: var(--muted); width: 100%; }

/* Hero visual: term card mock */
.hero-visual { display: flex; justify-content: center; }
.term-card {
  width: 100%; max-width: 380px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lift);
}
.term-card .tc-cat {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 10px;
}
.term-card .tc-word { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.term-card .tc-ipa { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.term-card .tc-def { font-size: 14.5px; color: var(--ink-soft); border-top: 1px solid var(--border); padding-top: 14px; }
.term-card .tc-langs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px;
}
.term-card .tc-langs span {
  font-size: 12.5px; background: var(--bg); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 999px; color: var(--ink-soft);
}

/* ---------- Stats band ---------- */
.stats-band { padding: 8px 0 56px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; text-align: center;
}
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.2; margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 16.5px; }

/* Answer block — direct, citable summary */
.answer-block {
  background: var(--accent-soft); border: 1px solid #d5e2fb;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm); padding: 18px 22px; margin: 0 0 40px;
  font-size: 16px; color: var(--accent-ink); max-width: 820px;
}

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.section.alt .feature { background: var(--bg); box-shadow: none; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.feature .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-deep);
  font-size: 20px; margin-bottom: 16px;
}
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 20px; color: var(--ink);
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.cat-card b { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.cat-card span { font-size: 13px; color: var(--muted); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px;
  margin-bottom: 14px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 20px; justify-content: center; }
.plan {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); position: relative;
}
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow-lift); }
.plan .badge {
  position: absolute; top: -12px; left: 26px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; letter-spacing: 0.02em;
}
.plan h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.plan .plan-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.plan li { font-size: 14.5px; color: var(--ink-soft); padding-left: 26px; position: relative; }
.plan li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--good); font-weight: 700;
}

/* FAQ */
.faq-list { max-width: 780px; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0; margin-bottom: 12px; overflow: hidden;
}
.faq-list summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-weight: 600; font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 20px; color: var(--muted); flex-shrink: 0; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 22px 18px; color: var(--muted); font-size: 15px; max-width: 68ch; }

/* Final CTA */
.final-cta {
  text-align: center; padding: 88px 0;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(37, 99, 235, 0.12), transparent 65%);
}
.final-cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.final-cta p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }

/* ---------- Legal / info pages ---------- */
.prose { max-width: 760px; padding-bottom: 56px; }
.prose h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin: 36px 0 12px; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; }
.prose .note {
  background: var(--accent-soft); border: 1px solid #d5e2fb; border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: 14.5px; color: var(--accent-ink);
}

/* 404 */
.error-page { text-align: center; padding: 120px 0 140px; }
.error-page .code { font-size: 88px; font-weight: 800; letter-spacing: -0.04em; color: var(--accent-deep); line-height: 1; }
.error-page h1 { font-size: 28px; font-weight: 800; margin: 12px 0 10px; }
.error-page p { color: var(--muted); margin-bottom: 26px; }

/* ---------- Term pages ---------- */
.breadcrumbs { font-size: 13.5px; color: var(--muted); padding: 20px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--border); }
.page-hero { padding: 32px 0 40px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.15; }
.page-hero .lede { color: var(--muted); font-size: 16.5px; max-width: 70ch; }
.term-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.term-meta span {
  font-size: 13px; font-weight: 600; background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; color: var(--ink-soft);
}

.updated-line { font-size: 13px; color: var(--muted); margin-top: 14px; }

.sub-h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin: 8px 0 16px; }

.term-list { display: grid; gap: 12px; padding-bottom: 24px; }
.term-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 22px;
}
.term-item h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.term-item .rank {
  font-size: 12px; font-weight: 700; color: var(--muted);
  background: var(--bg); border: 1px solid var(--border); border-radius: 6px;
  padding: 2px 7px; align-self: center; letter-spacing: 0.02em;
}
.term-item .ipa { font-size: 13.5px; color: var(--muted); font-weight: 400; }
.term-item .tr { font-size: 13.5px; color: var(--accent-deep); font-weight: 600; }
.term-item p { font-size: 14.5px; color: var(--ink-soft); margin-top: 6px; max-width: 90ch; }

.more-terms {
  background: var(--accent-soft); border: 1px solid #d5e2fb; border-radius: var(--radius);
  padding: 28px; text-align: center; margin: 16px 0 8px;
}
.more-terms b { display: block; font-size: 19px; margin-bottom: 6px; }
.more-terms p { color: var(--accent-ink); font-size: 14.5px; margin-bottom: 18px; }

.related-cats { display: flex; gap: 10px; flex-wrap: wrap; padding: 8px 0 24px; }
.related-cats a {
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 12px 18px; transition: border-color 0.2s ease, color 0.2s ease;
}
.related-cats a:hover { border-color: var(--accent); color: var(--accent-deep); text-decoration: none; }

/* ---------- Dictionary word pages ---------- */
.word-sense { margin-bottom: 26px; max-width: 820px; }
.word-sense > p { font-size: 15.5px; color: var(--ink-soft); }
.sense-ex {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 14px 18px; font-size: 15px; color: var(--ink-soft);
  margin-top: 8px; font-style: italic;
}
.sense-ex-tr { font-size: 14px; color: var(--muted); margin-top: 8px; padding-left: 18px; }
.practice-reveal {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0; margin-top: 12px; max-width: 640px;
}
.practice-reveal summary {
  cursor: pointer; padding: 13px 18px; font-weight: 600; font-size: 14.5px; list-style: none;
}
.practice-reveal summary::-webkit-details-marker { display: none; }
.practice-reveal summary::before { content: "💡 "; }
.practice-reveal p { padding: 0 18px 14px; color: var(--ink-soft); font-size: 15px; }
.table-scroll { overflow-x: auto; max-width: 640px; }
.trans-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.trans-table th, .trans-table td { text-align: left; padding: 9px 16px; font-size: 14px; border-bottom: 1px solid var(--border); }
.trans-table tr:last-child th, .trans-table tr:last-child td { border-bottom: none; }
.trans-table th { color: var(--muted); font-weight: 600; width: 40%; }
.trans-table td { color: var(--ink); }

/* Dictionary search */
.dict-search { max-width: 640px; margin-bottom: 20px; }
.dict-search input {
  width: 100%; padding: 14px 20px; font-size: 15.5px; font-family: var(--font);
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  color: var(--ink); outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dict-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.dict-search-empty { font-size: 14px; color: var(--muted); margin-top: 10px; padding-left: 8px; }

.abbr-table th { width: 18%; font-weight: 800; color: var(--ink); }
.abbr-cat { font-size: 12.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border); background: var(--surface);
  padding: 48px 0 32px; margin-top: 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 12px; }
.footer-grid a { color: var(--ink-soft); font-size: 14px; display: inline-block; padding: 2px 0; }
.footer-about p { color: var(--muted); font-size: 14px; max-width: 40ch; margin-top: 10px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .term-card { max-width: 340px; }
  .feature-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 56px 0; }
  .feature-grid, .steps, .cat-grid, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
