/* ==========================================================================
   Techotsu — global stylesheet
   ========================================================================== */

/* IBM Plex Sans — self-hosted, OFL-1.1 licensed (see assets/fonts/IBMPlexSans-License.txt).
   Primary body/UI typeface. */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/IBMPlexSans-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/IBMPlexSans-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/IBMPlexSans-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/IBMPlexSans-Bold.woff2') format('woff2');
}

/* JetBrains Mono — self-hosted, OFL-1.1 licensed (see assets/fonts/OFL.txt).
   Used ONLY as a technical accent: terminal UI, code snippets, small
   technical labels/stats. Everything else stays on --font. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-Bold.woff2') format('woff2');
}

:root {
  --bg: #ffffff;
  --bg-alt: #f4f5f7;
  --bg-surface: #fbfbfc;
  --bg-dark: #0d1220;
  --bg-dark-alt: #141a2c;
  --text: #0c1116;
  --text-muted: #4b5563;
  --text-on-dark: #f2f4f7;
  --text-on-dark-muted: #a7afbd;
  --accent: #2454e3;
  --accent-hover: #173aa8;
  --accent-soft: #eaf0fe;
  --live: #0f7a5c;
  --live-soft: #e7f7ef;
  --gold: #e8b656;
  --gold-soft: rgba(232, 182, 86, 0.12);
  --border: #e6e8eb;
  --border-dark: #232a3d;
  --icon-bg: #eaf0fe;
  --icon-color: #2454e3;
  --dev: #5b6472;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(12, 17, 22, 0.04), 0 8px 24px rgba(12, 17, 22, 0.06);
  --max-width: 1180px;
  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 36px);
  margin-top: 10px;
}

.section-head p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 17px;
}

section { padding: 88px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--text);
  color: #fff;
}
.btn-primary:hover { background: #24303b; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-on-dark {
  background: var(--accent);
  color: #fff;
}
.btn-on-dark:hover { background: var(--accent-hover); }

.btn-sm { padding: 9px 18px; font-size: 15px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo { height: 44px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
}
.nav-links a { color: var(--text-muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--text); border-bottom-color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: none;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 60px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-badge { margin-bottom: 24px; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 52px);
}
.hero .sub {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 54ch;
}
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { display: flex; flex-direction: column; }
.hero-art img { border-radius: 20px; overflow: hidden; }

/* ---------- Hero terminal (live typing animation) ---------- */
.hero-terminal {
  background: #0b0f14;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(12, 17, 22, 0.35);
}
.term-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #141a21;
  border-bottom: 1px solid #1f2630;
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; background: #3a4250; }
.term-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #7b8494;
}
.term-body {
  padding: 22px 20px 26px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.9;
  min-height: 170px;
}
.term-line { color: #d6deeb; white-space: pre-wrap; word-break: break-all; }
.term-prompt { color: #6ea8fe; }
.term-cursor {
  color: #3ecf8e;
  animation: term-blink 1s step-end infinite;
}
.term-cursor.hide { visibility: hidden; }
.term-result {
  margin-top: 14px;
  color: #c9d1d9;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .4s ease, transform .4s ease;
}
.term-result.show { opacity: 1; transform: translateY(0); }
.term-ok { color: #3ecf8e; font-weight: 700; }
.term-highlight { color: #ffcb6b; }
.term-caption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

@keyframes term-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .term-cursor { animation: none; }
}

/* ---------- Stat bar ---------- */
.stat-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 0;
}
.stat-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat {
  padding: 44px 24px;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: none; }
.stat .num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.stat .label {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--text-muted);
}

/* ---------- Capability strip ---------- */
.capability-strip {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.capability-strip .container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.cap-strip-item { text-align: left; }
.cap-strip-item .icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--icon-bg);
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.cap-strip-item .icon svg { width: 19px; height: 19px; }
.cap-strip-item h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.cap-strip-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ---------- Real code screenshots (the "how it works" proof) ---------- */
.code-showcase { margin-top: 8px; }
.cli-demo-terminal { max-width: 620px; }
.cli-table {
  margin: 0;
  white-space: pre;
  overflow-x: auto;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.code-showcase-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.code-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.code-shot {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0b0f14;
  transition: transform .2s ease, box-shadow .2s ease;
}
.code-shot:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -16px rgba(12,17,22,0.25); }
.code-shot img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.code-shot figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.code-shot-wide { grid-column: 1 / -1; }
.code-shot-wide img { height: 340px; }

.tech-proof { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 48px; }
.tech-proof-photo { flex: 1 1 320px; min-width: 280px; }
.tech-proof-photo img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 12px;
}
.tech-proof-text { flex: 1.3 1 380px; min-width: 280px; }
.tech-proof-text h3 { font-size: 19px; margin-bottom: 10px; }
.tech-proof-text p { font-size: 15px; line-height: 1.65; color: var(--text-muted); }
.tech-proof-text p + p { margin-top: 12px; }

/* ---------- Industries grid ---------- */
.bg-alt { background: var(--bg-alt); }

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ind-card {
  position: relative;
  padding: 26px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ind-card.flagship {
  border-color: #d9e6dd;
  background: #ffffff;
  grid-column: span 3;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ind-card.flagship .ind-body {
  flex: 1 1 380px;
  min-width: 280px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ind-photo { flex: 1 1 320px; min-width: 280px; align-self: stretch; }
.ind-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.ind-sublabel { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.ind-steps { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ind-steps li { font-size: 14.5px; color: #33394a; display: flex; gap: 10px; }
.ind-steps li span { color: var(--live); font-family: var(--font-mono); flex-shrink: 0; }
.ind-link { font-size: 14.5px; font-weight: 600; color: var(--accent); }
.ind-link:hover { color: var(--accent-hover); text-decoration: underline; }

.ind-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color);
  flex-shrink: 0;
}
.ind-icon svg { width: 22px; height: 22px; }

/* Roadmap cards: concept-visualization image on top, badge overlay */
.ind-card.roadmap { padding: 0; gap: 0; overflow: hidden; }
.ind-card-image { position: relative; aspect-ratio: 16 / 9; }
.ind-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ind-card-image .vision-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(13, 18, 32, 0.72);
  color: #fff;
  backdrop-filter: blur(3px);
}
.ind-card-body { padding: 20px 22px 24px; }
.ind-card-body h3 { font-size: 16.5px; margin-bottom: 6px; }
.ind-card-body p { color: var(--text-muted); font-size: 14px; line-height: 1.55; }

.ind-card h3 { font-size: 17px; }
.ind-card.flagship h3 { font-size: 24px; margin-bottom: 6px; }
.ind-card p { color: var(--text-muted); font-size: 14.5px; margin-top: 4px; line-height: 1.55; }
.ind-card.flagship p { font-size: 15.5px; line-height: 1.65; margin-top: 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
  width: fit-content;
}
.badge-live { background: var(--live-soft); color: var(--live); }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.badge-dev { background: var(--bg-alt); color: var(--dev); }
.ind-body { flex: 1; }

/* ---------- Research section ---------- */
.research { background: var(--bg-dark); color: var(--text-on-dark); padding: 96px 0; }
.research .eyebrow { color: var(--gold); }
.research-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.research h2 { font-size: clamp(28px, 3.4vw, 36px); margin-top: 10px; color: #fff; }
.research .lede { margin-top: 16px; font-size: 18px; color: var(--text-on-dark-muted); }
.research-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  font-size: 14.5px;
  color: var(--text-on-dark);
  border-radius: 0 8px 8px 0;
}
.research-panel {
  background: var(--bg-dark-alt);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 28px;
}
.research-panel h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-on-dark-muted);
  margin-bottom: 16px;
}
.data-sources { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.data-sources li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  padding: 10px 12px;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
}
.data-sources li svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.research-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cap-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.cap-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--icon-bg);
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.cap-card .icon svg { width: 22px; height: 22px; }
.cap-card h3 { font-size: 17px; }
.cap-card p { margin-top: 8px; color: var(--text-muted); font-size: 14.5px; }
.services-grid .cap-card { background: var(--bg-alt); }

/* ---------- Partners / CTA (dark — matches the proven original build) ---------- */
.cta {
  background: linear-gradient(135deg, #103a7a 0%, #0a0e1f 100%);
  color: #fff;
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  margin: 0 24px;
}
.cta-wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.cta h2 { font-size: clamp(26px, 3.2vw, 34px); color: #fff; }
.cta p { margin-top: 14px; color: #c7d0ea; max-width: 56ch; margin-left: auto; margin-right: auto; font-size: 16.5px; }
.cta .btn-group { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn-ghost { background: transparent; border-color: rgba(255,255,255,0.3); color: #fff; }
.cta .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- Footer (dark — matches the proven original build) ---------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
  margin-top: 96px;
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand { display: flex; align-items: center; }
.footer-logo { height: 26px; }
.footer-tag { margin-top: 14px; font-size: 14.5px; max-width: 34ch; }
.footer-col h5 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6d7591;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer-col a { color: var(--text-on-dark-muted); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--text-on-dark-muted); }
.footer-legal a:hover { color: #fff; }

/* ---------- Simple pages (stubs) ---------- */
.simple-page { padding: 88px 0 120px; }
.simple-page .container { max-width: 720px; }
.simple-page .eyebrow { margin-bottom: 14px; }
.simple-page h1 { font-size: clamp(30px, 4vw, 42px); }
.simple-page .lede { margin-top: 18px; font-size: 18px; color: var(--text-muted); }
.status-box {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.status-box h3 { font-size: 16px; }
.status-box p { margin-top: 8px; color: var(--text-muted); font-size: 15px; }
.simple-page .back-link { margin-top: 40px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); }

/* login form (stub) */
.login-form { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.login-form input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  background: #f3f4f7;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .research-inner { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-card.flagship { grid-column: span 2; flex-direction: column; align-items: stretch; }
  .ind-card.flagship .ind-body { flex: none; width: 100%; min-width: 0; }
  .ind-photo { flex: none; width: 100%; height: 220px; }
  .code-showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .code-shot-wide { grid-column: 1 / -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .capability-strip .container { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .brand-logo { height: 36px; }
  .nav-right { gap: 8px; }
  .nav-right .btn-sm { padding: 8px 12px; font-size: 13.5px; }
  .stat-bar .container { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--border); }
  .stat:first-child { border-top: none; }
  .ind-grid { grid-template-columns: 1fr; }
  .ind-card.flagship { grid-column: span 1; }
  .ind-photo { height: 180px; }
  .code-showcase-grid { grid-template-columns: 1fr; }
  .code-shot-wide img { height: 260px; }
  .services-grid { grid-template-columns: 1fr; }
  .tech-proof { gap: 24px; }
  .term-body { font-size: 12.5px; padding: 18px 16px 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .cta { padding: 48px 24px; margin: 0 16px; }
  section { padding: 64px 0; }
}

@media (max-width: 720px) {
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open a { width: 100%; padding: 10px 0; }
}
