/* ==========================================================================
   DEVARUN — navy + gold (from the logo), light page, serif display type
   ========================================================================== */

:root {
  --paper: #f5f7fb;
  --paper-2: #e9eef6;
  --card: #ffffff;
  --ink: #0a1b3d;            /* body text, footer */
  --navy: #032454;           /* logo navy: dark sections, visuals */
  --navy-2: #1a4a8a;         /* links, focus rings on light backgrounds */
  --accent: #fcab00;         /* logo gold: fills, underlines, accents on navy */
  --accent-mid: #b87400;     /* gold for large text on light backgrounds (3:1+) */
  --accent-dark: #8a5a00;    /* gold for small text on light backgrounds (5:1+) */
  --accent-light: #ffc94d;   /* gold hover state */
  --line: #d3dbe9;
  --muted: #4d5b73;
  --on-ink: #f5f7fb;
  --on-ink-muted: #b4c0d6;
  --danger: #b3261e;
  --ok: #1d6b45;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1160px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 3px; border-radius: 4px; }
.section-ink :focus-visible, .stats :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 12px; color: var(--paper); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(245, 247, 251, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.wordmark-mark { display: block; width: 30px; height: 30px; flex: none; }
.wordmark-lockup { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.wordmark-text { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.015em; }
.wordmark-tagline { margin-top: 3px; color: var(--muted); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.01em; }

.site-nav ul { display: flex; align-items: center; gap: 34px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 0.96rem; font-weight: 600; opacity: 0.8; }
.site-nav a:not(.btn):hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; background: transparent;
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 17px 30px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-light); color: var(--ink); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-small { padding: 11px 22px; font-size: 0.93rem; }
.btn-block { width: 100%; }
.btn[disabled] { cursor: progress; opacity: 0.85; transform: none; }
.btn.is-loading .btn-label::after {
  content: ''; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden; padding: 84px 0 108px;
  background:
    radial-gradient(46% 60% at 88% 40%, rgba(3, 36, 84, 0.11), transparent 72%),
    radial-gradient(34% 40% at 4% 100%, rgba(252, 171, 0, 0.14), transparent 70%),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 22px;
  padding-bottom: 8px; border-bottom: 2px solid var(--accent);
}
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 4.9vw, 4.05rem); line-height: 1.06; letter-spacing: -0.03em;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--accent-mid); }
.lede { margin-top: 26px; max-width: 33em; color: var(--muted); font-size: 1.18rem; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-primary { box-shadow: 0 12px 26px -12px rgba(252, 171, 0, 0.85); }

/* Hero visual: CSS-only browser + phone */
.hero-visual { position: relative; min-height: 430px; }
.browser {
  width: 90%; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(10, 27, 61, 0.28);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser-bar i:first-child { background: var(--accent); }
.browser-bar span { flex: 1; height: 16px; margin-left: 10px; background: var(--card); border-radius: 999px; }
.browser-body { padding: 18px; display: grid; gap: 18px; }
.sk { background: var(--paper-2); border-radius: 6px; }
.sk-nav { display: flex; gap: 8px; background: none; }
.sk-nav b { height: 10px; width: 46px; border-radius: 999px; background: var(--paper-2); }
.sk-nav b:first-child { width: 70px; background: var(--ink); }
.sk-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: center; }
.sk-text { display: grid; gap: 9px; background: none; }
.sk-h { height: 18px; }
.sk-h.short { width: 62%; }
.sk-p { height: 8px; }
.sk-btn { width: 84px; height: 24px; margin-top: 4px; background: var(--accent); border-radius: 999px; }
.sk-img { height: 118px; background: var(--navy); border-radius: 12px; }
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sk-cards .sk { height: 58px; border-radius: 10px; }

.phone {
  position: absolute; right: 0; bottom: 0; width: 172px; height: 336px;
  background: var(--ink); border-radius: 30px; padding: 8px;
  box-shadow: 0 30px 50px -18px rgba(10, 27, 61, 0.55);
  display: flex; flex-direction: column;
}
.phone-notch { position: absolute; top: 14px; left: 50%; width: 46px; height: 8px; margin-left: -23px; border-radius: 999px; background: var(--ink); z-index: 2; }
.phone-map {
  position: relative; flex: 1; border-radius: 22px 22px 0 0; overflow: hidden;
  background:
    linear-gradient(rgba(245, 247, 251, 0.1) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, rgba(245, 247, 251, 0.1) 1px, transparent 1px) 0 0 / 26px 26px,
    var(--navy);
}
.pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--paper); }
.pin-a { left: 46%; top: 44%; width: 18px; height: 18px; }
.pin-b { left: 70%; top: 22%; background: var(--paper); border-color: var(--accent); }
.pulse { position: absolute; left: calc(46% - 20px); top: calc(44% - 20px); width: 58px; height: 58px; border-radius: 50%; background: rgba(252, 171, 0, 0.35); animation: pulse 2.4s ease-out infinite; }
.phone-sheet { background: var(--paper); border-radius: 0 0 22px 22px; padding: 14px; display: grid; gap: 8px; }
.phone-sheet .sk { height: 10px; background: var(--paper-2); }
.phone-sheet .sk.short { width: 55%; }
.phone-sheet .sk-btn { width: 100%; height: 26px; margin-top: 6px; background: var(--accent); }

/* ---------- Credentials bar ---------- */

.stats { background: var(--navy); color: var(--on-ink); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  padding: 24px 22px 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14); border-top: 3px solid var(--accent);
  border-radius: 14px;
}
.stat-value { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.1vw, 1.65rem); line-height: 1.2; letter-spacing: -0.015em; color: #fff; }
.stat-value .nowrap { white-space: nowrap; }
.stat-label { margin-top: 8px; font-size: 0.92rem; line-height: 1.45; color: var(--on-ink-muted); }

/* ---------- Sections ---------- */

.section { padding: 112px 0; }
.section-ink { background: var(--navy); color: var(--on-ink); }
.section-sand { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 56px; }
.section-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 16px;
}
.section-ink .section-label { color: var(--accent); }
.section h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1; letter-spacing: -0.025em;
}
.section-intro { margin-top: 18px; color: var(--muted); font-size: 1.12rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 0.82rem; font-weight: 600; color: var(--navy); background: var(--paper); border: 1px solid var(--line); padding: 5px 13px; border-radius: 999px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700; color: var(--accent-dark);
  background: rgba(252, 171, 0, 0.16); border: 1px solid rgba(252, 171, 0, 0.55);
}
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pill-live { color: var(--ok); background: rgba(29, 107, 69, 0.1); border-color: rgba(29, 107, 69, 0.45); } /* "Live" status: green, so it reads differently from in-progress amber */
.pill-live::before { background: var(--ok); }

/* ---------- Services (cards) ---------- */

.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.service {
  grid-column: span 2; display: flex; flex-direction: column;
  background: var(--card); overflow: hidden;
  border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 18px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
/* Second row: two equal-width cards, centred, so every photo gets the same crop. */
.service:nth-child(4) { grid-column: 2 / span 2; }
.service:nth-child(5) { grid-column: 4 / span 2; }
.service:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(10, 27, 61, 0.4); }
.service-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-media::after { /* light navy tint ties the stock photos to the brand */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 36, 84, 0.06), rgba(3, 36, 84, 0.2));
}
.service:hover .service-media img { transform: scale(1.04); }
.service-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 26px 28px 30px; }
.service-note { margin-top: 22px; font-size: 0.82rem; color: var(--muted); }
.service-num { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1; color: var(--accent-dark); }
.service h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.015em; }
.service p { color: var(--muted); flex: 1; }

/* ---------- Case study ---------- */

.case { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.case-visual {
  aspect-ratio: 10 / 8; border-radius: 22px; overflow: hidden; background: var(--navy);
  box-shadow: 0 30px 60px -28px rgba(10, 27, 61, 0.5);
}
.route { width: 100%; height: 100%; }
.case-lede { font-size: 1.15rem; }
.case-steps { margin-top: 26px; border-top: 1px solid var(--line); }
.case-step { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.case-step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.4; color: var(--accent-dark); }
.case-step p { color: var(--muted); }
.case-meta { margin-top: 26px; display: grid; gap: 16px; justify-items: start; }

/* Link button used by the commented LINK blocks inside the case studies */
.link-arrow { display: inline-block; margin-top: 22px; font-weight: 700; text-decoration: none; }
.link-arrow::after { content: ' →'; }

/* ---------- Tech stack ---------- */

.stack-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.stack-tile {
  flex: 0 0 calc((100% - 48px) / 4); display: grid; gap: 6px; padding: 24px 22px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px;
  transition: border-color 0.2s, background 0.2s;
}
.stack-tile:hover { border-color: var(--accent); background: rgba(255, 255, 255, 0.08); }
.stack-kind { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.stack-name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.01em; color: #fff; }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; align-items: start; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--accent-dark); border-bottom: 2px solid var(--accent-dark);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-answer { padding: 0 48px 26px 0; color: var(--muted); display: grid; gap: 12px; }
.faq-steps { display: grid; gap: 10px; counter-reset: faq; }
.faq-steps li { counter-increment: faq; padding-left: 34px; position: relative; }
.faq-steps li::before {
  content: counter(faq); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--paper); font-size: 0.8rem; font-weight: 700;
}
.faq-steps strong { color: var(--ink); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
.next-steps { margin-top: 34px; display: grid; gap: 14px; }
.next-steps li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.next-steps span {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font-family: var(--font-display); font-style: italic; font-size: 0.95rem;
}
.contact-links { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.contact-links li { display: flex; flex-direction: column; gap: 2px; }
.contact-links-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-links a { display: inline-block; padding: 6px 0; font-size: 1.15rem; font-weight: 700; }

.form {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 38px; display: grid; gap: 22px;
  box-shadow: 0 30px 60px -36px rgba(10, 27, 61, 0.35);
}
.field { display: grid; gap: 8px; }
.field label { font-size: 0.92rem; font-weight: 700; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: #75819a; }
.field input:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(26, 74, 138, 0.16);
}
.field [aria-invalid='true'],
.field [aria-invalid='true']:focus { border-color: var(--danger); }
.field [aria-invalid='true']:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.14); }
.field-error { color: var(--danger); font-size: 0.86rem; font-weight: 600; }
.field-error:empty { display: none; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: 0.96rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-type='success'] { color: var(--ok); }
.form-status[data-type='error'] { color: var(--danger); }
.form-status[data-type='loading'] { color: var(--muted); }
.form-status a { color: inherit; }

/* ---------- Legal pages (privacy policy) ---------- */

.legal { padding: 72px 0 112px; }
.legal-inner { max-width: 46rem; }
.legal h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.3rem); line-height: 1.08; letter-spacing: -0.03em; }
.legal-meta { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.legal-intro { margin-top: 26px; font-size: 1.12rem; }
.legal h2 {
  margin: 40px 0 12px; padding-top: 28px; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.2; letter-spacing: -0.015em;
}
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 10px; margin-top: 12px; padding-left: 20px; list-style: disc; }
.legal li::marker { color: var(--accent-dark); }
.legal strong { color: var(--ink); }
.legal a { font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: 40px 0 96px; font-size: 0.92rem; } /* bottom space keeps the chat bubble clear of the footer links */
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; }
.footer-brand { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--on-ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer a { display: inline-block; padding: 8px 0; color: var(--on-ink-muted); }
.site-footer a:hover { color: var(--accent); }

/* ---------- Reveal on scroll (only when JS is running) ---------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Animations ---------- */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service, .service:nth-child(n + 4) { grid-column: span 1; }
  .service:last-child { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
  .case { grid-template-columns: 1fr; gap: 36px; }
  .case-visual { aspect-ratio: 16 / 9; }
  .stack-tile { flex-basis: calc((100% - 32px) / 3); }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 28px 26px; display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; padding-top: 20px; }
  .site-nav a:not(.btn) { display: block; padding: 15px 0; font-size: 1.05rem; opacity: 1; }
  .site-nav .btn { width: 100%; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { padding: 0 18px; }
  .site-nav { padding-inline: 18px; }
  .hero { padding: 28px 0 72px; }
  .eyebrow { margin-bottom: 16px; padding-bottom: 6px; letter-spacing: 0.08em; }
  .hero h1 { font-size: 2.15rem; }
  .lede { margin-top: 18px; }
  .hero-actions { margin-top: 26px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .hero-visual { min-height: 360px; }
  .phone { width: 140px; height: 280px; border-radius: 26px; }
  .stats { padding: 40px 0; }
  .stats-grid { gap: 12px; }
  .stat { padding: 18px 16px 20px; }
  .stat-value { font-size: 1.12rem; }
  .stat-label { font-size: 0.84rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service:last-child { grid-column: span 1; width: auto; justify-self: stretch; }
  .service-body { padding: 22px 22px 26px; }
  .case-visual { aspect-ratio: 4 / 3; }
  .case-step { grid-template-columns: 1fr; gap: 4px; }
  .stack-tile { flex-basis: calc((100% - 16px) / 2); padding: 20px 16px; }
  .stack-name { font-size: 1.2rem; }
  .faq-item summary { font-size: 1.1rem; padding-block: 18px; }
  .faq-answer { padding-right: 0; }
  .form { padding: 24px 20px; border-radius: 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
