/* BerryTech styles (2026 refresh). Source Sans 3 & Source Serif 4, SIL OFL. */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-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: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-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: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/source-sans-3-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: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/source-sans-3-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: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-3-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: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-3-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: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-serif-4-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: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-serif-4-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;
}

:root {
  --ink: #121317;
  --ink-2: #2E3038;
  --muted: #575A63;
  --line: #E6E3E2;
  --line-strong: #D6D1D0;
  --field-border: #8E8A92; /* 3.4:1 on white, WCAG 1.4.11 */
  --paper: #FFFFFF;
  --paper-alt: #F7F5F4;
  --berry: #6B1D3F;
  --berry-dark: #521630;
  --berry-tint: #F6EAEF;
  --pink: #E85D8F;
  --pink-soft: #E7A3BF;
  --leaf: #8CC7A6;
  --night: #121317;
  --night-2: #1B1D23;
  --night-line: #2A2C33;
  --night-text: #C4C6CE;
  --night-muted: #A3A6AF;
  --success: #1C5C40;
  --success-bg: #E8F4EE;
  --error: #9B1C3A;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 4.5rem;
  --wrap: 1180px;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

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

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

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 0.5rem; }

p { margin: 0 0 1rem; color: var(--ink-2); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--berry);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--ease);
}
a:hover { color: var(--berry-dark); }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--berry); color: #fff;
  padding: 0.6rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.wrap { width: min(calc(100% - 3rem), var(--wrap)); margin-inline: auto; }

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--berry);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 19, 23, 0.94);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--night-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}

.wordmark {
  display: inline-flex; align-items: center; gap: 0.75rem;
  color: #fff; text-decoration: none;
}
.wordmark:hover { color: #fff; opacity: 0.9; }
.wordmark .mark, .wordmark .wordmark-text { flex-shrink: 0; }
.site-header .wordmark .mark rect { fill: #2A2C33; }

.site-nav ul {
  display: flex; align-items: center; gap: 0.25rem 2rem;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  color: var(--night-text); text-decoration: none;
  font-weight: 500; font-size: 0.98rem; padding: 0.25rem 0;
}
.site-nav a:hover { color: #fff; }

.nav-cta {
  display: inline-flex; align-items: center;
  background: #fff; color: var(--ink) !important;
  padding: 0.55rem 1.1rem !important; border-radius: 8px;
  font-weight: 600 !important;
  transition: background var(--ease);
}
.nav-cta:hover { background: var(--berry-tint); }

.nav-toggle {
  display: none; align-items: center; gap: 0.5rem;
  border: 1px solid var(--night-line); background: var(--night-2); color: #fff;
  border-radius: 8px; padding: 0.5rem 0.8rem;
  font: inherit; font-size: 0.9rem; font-weight: 500; cursor: pointer;
  min-height: 44px;
}
.nav-toggle-bars {
  width: 1.05rem; height: 0.7rem;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 48px; padding: 0.8rem 1.5rem;
  border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--berry); color: #fff; }
.btn-primary:hover { background: var(--berry-dark); color: #fff; }
.btn-outline-light { color: #fff; border-color: #50535C; }
.btn-outline-light:hover { color: #fff; border-color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--berry-tint); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--berry); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--berry-tint); color: var(--berry-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(232, 93, 143, 0.14), transparent 60%),
    var(--night);
  color: #fff;
  padding: 6rem 0 6.5rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: 4rem; align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--pink-soft); }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0 0 1.75rem; padding: 0.35rem 0.9rem;
  border: 1px solid #34363E; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; color: var(--night-text);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }

.lede {
  font-size: 1.25rem; line-height: 1.55; max-width: 38rem;
  color: var(--night-text); margin-bottom: 2.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Terminal card: echoes the prompt logo */
.terminal {
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.8rem 1rem; border-bottom: 1px solid var(--night-line);
}
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3A3D46; }
.terminal-bar p { margin: 0 0 0 0.6rem; font-size: 0.78rem; color: var(--night-muted); }
.terminal-body { padding: 1.3rem 1.25rem 1.5rem; display: grid; gap: 0.55rem; }
.terminal-body p { margin: 0; color: #E8E9EE; }
.terminal-body .prompt { color: var(--pink); margin-right: 0.35rem; }
.terminal-body .row { display: flex; gap: 0.6rem; align-items: baseline; }
.terminal-body .ok { color: var(--leaf); }
.terminal-body .state { margin-left: auto; color: var(--night-muted); }
.terminal-body .cursor {
  display: inline-block; width: 0.6em; height: 1.05em; vertical-align: -0.15em;
  background: var(--pink); border-radius: 2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; }

.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 1rem 4rem; margin-bottom: 3.25rem;
}
.section-head > div { flex: 1 1 30rem; }
.section-head h2 { margin-bottom: 0; max-width: 34rem; }
.section-head > p { flex: 0 1 26rem; color: var(--muted); margin: 0; }

/* Services */
.service-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.service { padding: 2.25rem 2rem 2.5rem 0; }
.service + .service { padding-left: 2rem; border-left: 1px solid var(--line); }
.service:last-child { padding-right: 0; }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.25rem; }
.num { font-weight: 600; color: var(--berry); letter-spacing: 0.04em; }
.icon-tile {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border-radius: 10px; background: var(--berry-tint); color: var(--berry);
}
.service h3 { font-size: 1.55rem; }
.service > p { color: var(--muted); }
.ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.98rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: baseline; color: var(--ink-2); }
.ticks li::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--pink); transform: translateY(-2px);
}

/* Approach */
.approach { background: var(--paper-alt); }
.approach-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem 5rem;
}
.approach-intro p:last-child { color: var(--muted); max-width: 26rem; }
.principles { list-style: none; margin: 0; padding: 0; }
.principles li {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1rem;
  padding: 1.75rem 0; border-top: 1px solid var(--line-strong);
}
.principles li:last-child { border-bottom: 1px solid var(--line-strong); }
.principle-num { font-weight: 600; font-size: 1.15rem; color: var(--berry); padding-top: 0.05rem; }
.principles h3 { font-size: 1.3rem; }
.principles p { color: var(--muted); }

/* Engagements */
.engagement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.engagement {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.85rem; background: var(--paper);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.engagement:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(18, 19, 23, 0.06); }
.engagement h3 { font-size: 1.4rem; }
.engagement p { color: var(--muted); }

.assurances {
  list-style: none; margin: 2.5rem 0 0; padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2rem;
}
.assurances li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--muted); font-size: 0.98rem; }
.assurances svg { flex: none; color: var(--berry); margin-top: 0.2rem; }
.assurances strong { color: var(--ink); font-weight: 600; }

/* CTA band */
.cta-band { background: var(--berry); color: #fff; padding: 4.5rem 0; }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: #F3DCE6; font-size: 1.15rem; max-width: 36rem; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem 5rem; align-items: start;
}
.contact-intro > p:not(.eyebrow):not(.direct-email) { color: var(--muted); }

.next-steps {
  margin-top: 2rem; padding: 1.5rem 1.5rem 1.6rem;
  background: var(--paper-alt); border-radius: var(--radius);
}
.next-title { font-weight: 600; color: var(--ink); margin-bottom: 0.75rem; }
.next-steps ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.45rem; color: var(--ink-2); font-size: 0.98rem; }
.next-steps li::marker { color: var(--berry); font-weight: 600; }

.direct-email { margin-top: 1.5rem; font-size: 1rem; color: var(--muted); }
.direct-email a { font-weight: 600; }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 2.25rem 2rem;
  box-shadow: 0 1px 2px rgba(18, 19, 23, 0.04), 0 24px 60px rgba(18, 19, 23, 0.07);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.field { margin-bottom: 1.15rem; }
.field label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem;
  font-weight: 600; font-size: 0.93rem; margin-bottom: 0.4rem; color: var(--ink);
}
.req, .opt { font-weight: 500; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }
.req { color: var(--berry); }
.opt { color: var(--muted); }

.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--field-border); border-radius: 8px;
  padding: 0.75rem 0.9rem; min-height: 48px;
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
}
.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 17px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  padding-right: 2.25rem;
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #6B6772; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(107, 29, 63, 0.18);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea {
  border-color: var(--error); box-shadow: 0 0 0 3px rgba(155, 28, 58, 0.12);
}
.field-error { margin: 0.35rem 0 0; color: var(--error); font-size: 0.875rem; }

.btn-submit { width: 100%; margin-top: 0.25rem; }
.btn-submit[disabled] { opacity: 0.7; cursor: wait; transform: none; }

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

.form-status { margin-bottom: 1rem; padding: 0.75rem 0.9rem; border-radius: var(--radius-sm); font-size: 0.95rem; }
.form-status.is-error { background: #FCECEE; color: var(--error); }

.form-success {
  background: var(--success-bg); border: 1px solid #C5E0D0; color: var(--success);
  border-radius: var(--radius-sm); padding: 1.25rem 1.3rem;
}
.form-success .success-title { font-weight: 600; font-size: 1.3rem; color: var(--success); margin-bottom: 0.4rem; }
.form-success p { color: var(--ink-2); }
.form-success .btn { margin-top: 1rem; }

.turnstile-wrap { margin: 0.25rem 0 1rem; min-height: 65px; }

.form-note { margin: 0.9rem 0 0; font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.form-note a { color: var(--berry); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-text); padding: 3.5rem 0 1.75rem; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start;
  padding-bottom: 2rem; border-bottom: 1px solid var(--night-line);
}
.wordmark-footer { color: #fff; }
.site-footer .wordmark .mark rect { fill: #2A2C33; }
.footer-brand p { color: var(--night-muted); margin: 1rem 0 0; max-width: 22rem; font-size: 0.98rem; }
.footer-nav { display: flex; gap: 0.5rem 1.6rem; flex-wrap: wrap; padding-top: 0.35rem; }
.footer-nav a { color: var(--night-text); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-top: 1.25rem; color: var(--night-muted); font-size: 0.9rem;
}
.footer-bottom p { color: inherit; margin: 0; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.footer-bottom a { color: var(--night-text); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Simple pages (privacy, 404) ---------- */
.page-simple { padding: 4rem 0 5.5rem; }
.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(2.2rem, 4.4vw, 3rem); margin-bottom: 0.5rem; }
.prose h2 { font-size: 1.45rem; margin: 2.5rem 0 0.6rem; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose .meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 2rem; }

.notfound { padding: 5.5rem 0 6.5rem; }
.notfound .code {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(3.5rem, 12vw, 6rem); line-height: 1;
  color: var(--berry); margin: 0 0 0.75rem;
}
.notfound .code::after { content: "_"; color: var(--pink); }
.notfound .btn { margin-top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .approach-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 4.5rem; }
  .terminal { max-width: 30rem; }
  .service-grid, .engagement-grid, .assurances { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 2rem 0; border-left: 0; }
  .service + .service { border-top: 1px solid var(--line); }
  .section { padding: 4.5rem 0; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 720px) {
  .wrap { width: min(calc(100% - 2rem), var(--wrap)); }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--night); border-bottom: 1px solid var(--night-line);
    padding: 0.5rem 1rem 1.1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .site-nav a { display: block; padding: 0.75rem 0.4rem; }
  .nav-cta { justify-content: center; margin-top: 0.5rem; }

  .wordmark .wordmark-text { height: 18px; width: auto; }

  .hero { padding: 3rem 0 3.5rem; }
  .terminal { display: none; }
  .lede { font-size: 1.1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem 1.15rem; }
  .cta-band { padding: 3.5rem 0; }
  .cta-band .btn { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 0.35rem; }
}

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

/* Privacy summary */
.prose .summary {
  font-size: 1.2rem; line-height: 1.55; color: var(--ink);
  padding: 1.25rem 1.4rem; background: var(--paper-alt);
  border-left: 3px solid var(--pink); border-radius: 0 10px 10px 0;
  margin-bottom: 0.5rem;
}
.prose .back { margin-top: 2.5rem; }
.prose .back a { font-weight: 600; text-decoration: none; }
