/* ---
title: Doomproof stylesheet
version: 0.3
updated: 2026-10-11
status: draft
purpose: The Draft 3.1 visual system for the Doomproof AI website (tokens, type, buttons, the seven homepage sections, header and footer), from the starting tokens in Visual_Design_System_Creative_Direction and Sage's Homepage_Implementation_Handoff. The homepage uses only this file; the other pages switch to it in roadmap phase 6
--- */

/* Rhythm (the handoff): BIG (dark hero) → quiet (warm off-white) → moderate (light secondary)
   → structured (charcoal) → contained (off-white, graphite cards) → BIG (deep charcoal) → quiet
   (off-white). Type: Archivo for headlines, Instrument Sans for reading, IBM Plex Mono for small
   numbers and labels only. Yellow is for buttons, rules and highlights, and as text only on dark. */

:root {
  --deep: #111417;
  --charcoal: #1D2227;
  --graphite: #292F35;
  --offwhite: #F4F2EC;
  --light-2: #E7E5DF;
  --card-light: #FBFAF7;
  --ink: #191D21;
  --ink-soft: #454C53;
  --metal: #87919A;
  --metal-light: #A9B1B8;
  --light-text: #F4F5F3;
  --signal: #FFC629;
  --signal-hover: #FFD45A;
  --signal-press: #EDB412;
  --line-light: rgba(25, 29, 33, 0.12);
  --line-dark: rgba(244, 245, 243, 0.12);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 9vw, 128px);
  --radius: 12px;
  --radius-lg: 18px;
  --header-h: 76px;
}

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

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

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--signal); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.draft-bar {
  background: var(--signal); color: var(--ink);
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  text-align: center; padding: 6px 16px; letter-spacing: 0.02em;
}

/* ---------- Small shared pieces ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin: 0 0 18px;
  color: var(--ink-soft);
}
.eyebrow-signal { color: var(--signal); }
.eyebrow-rule { display: flex; align-items: center; gap: 14px; }
.eyebrow-rule::before { content: ""; width: 36px; height: 2px; background: var(--signal); flex: none; }

.num {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; color: var(--ink-soft);
}

.text-link {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--signal); padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.text-link:hover { border-color: var(--ink); }
.text-link-light { color: var(--light-text); }
.text-link-light:hover { border-color: var(--light-text); }

a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px;
}
.site-header a:focus-visible, .hero a:focus-visible, .framework a:focus-visible,
.service-card a:focus-visible, .philosophy a:focus-visible, .site-footer a:focus-visible {
  outline-color: var(--light-text);
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.005em;
  color: var(--ink); text-decoration: none;
  background: var(--signal);
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 1px 2px rgba(17, 20, 23, 0.25), 0 6px 18px -8px rgba(255, 198, 41, 0.55);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  background: var(--signal-hover);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(17, 20, 23, 0.25), 0 12px 26px -10px rgba(255, 198, 41, 0.7);
}
.btn:active {
  background: var(--signal-press);
  transform: translateY(0);
  box-shadow: inset 0 2px 3px rgba(17, 20, 23, 0.18);
}
.btn-large { font-size: 18px; padding: 17px 28px; }
.btn-small { font-size: 15px; padding: 11px 18px; border-radius: 10px; }
.btn-arrow { transition: transform 0.15s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header ----------
   Dark, over the hero art (Draft 3.1): the light-on-dark web copy of the logo, light menu.
   The negative margin pulls the hero up underneath the header. */

.site-header {
  position: relative; z-index: 10;
  height: var(--header-h); margin-bottom: calc(-1 * var(--header-h));
  display: flex; align-items: center;
  background: transparent;
}
.header-inner { display: flex; align-items: center; gap: 40px; width: 100%; }
.logo { display: block; flex: none; border-radius: 6px; }
.logo img { height: 40px; width: auto; }
.site-nav { display: flex; gap: 34px; margin-left: auto; }
.site-nav a {
  color: var(--light-text); text-decoration: none; font-size: 16px; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color 0.15s ease;
  text-shadow: 0 1px 8px rgba(10, 12, 14, 0.6);
}
.site-nav a:hover { border-color: var(--signal); }

/* ---------- 1. Hero: full cinematic ---------- */

.hero {
  position: relative; overflow: hidden;
  background: var(--deep); color: var(--light-text);
  min-height: clamp(640px, 82vh, 860px);
  display: flex; align-items: center;
}
.hero-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 50%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 12, 14, 0.55) 0%, rgba(10, 12, 14, 0) 20%),
    linear-gradient(90deg, rgba(10, 12, 14, 0.9) 0%, rgba(10, 12, 14, 0.72) 30%, rgba(10, 12, 14, 0.25) 52%, rgba(10, 12, 14, 0) 64%),
    linear-gradient(0deg, rgba(10, 12, 14, 0.55) 0%, rgba(10, 12, 14, 0) 24%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 56px); padding-bottom: 72px; }
.hero-copy { max-width: 720px; }
.hero-title { font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 26px; text-wrap: wrap; }
.hero-title-turn { display: block; color: var(--signal); }
.hero-support { font-size: 20px; line-height: 1.5; max-width: 540px; color: #E6E8E4; margin-bottom: 34px; }
.hero-intake { margin-top: 16px; font-size: 15px; color: #C9CED1; max-width: 420px; }

/* ---------- 2. Founder: quiet ---------- */

.founder { background: var(--offwhite); padding: var(--section) 0; }
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-areas:
    "head portrait"
    "story portrait"
    "proof proof"
    "foot foot";
  column-gap: clamp(48px, 7vw, 112px);
}
.founder-head { grid-area: head; }
.founder-head h2 { max-width: 760px; margin-bottom: 36px; }
.founder-head h2 .line { display: block; }
.mark { background: linear-gradient(transparent 68%, rgba(255, 198, 41, 0.75) 68%, rgba(255, 198, 41, 0.75) 92%, transparent 92%); padding: 0 2px; }
.founder-quote { margin: 0 0 28px; padding-left: 24px; border-left: 3px solid var(--signal); max-width: 640px; }
.founder-quote blockquote { margin: 0; }
.founder-quote p { font-family: var(--font-display); font-size: 23px; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; }
.founder-quote figcaption { margin-top: 12px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.founder-story { grid-area: story; max-width: 620px; color: var(--ink-soft); font-size: 18px; }
.founder-story p + p { margin-top: 12px; }
.portrait-placeholder {
  grid-area: portrait; align-self: start;
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #E2DFD7, #D3D0C7);
  border: 1px dashed rgba(25, 29, 33, 0.28);
  display: flex; align-items: flex-end; padding: 22px;
}
.placeholder-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.6; }
.placeholder-label span { text-transform: none; letter-spacing: 0.02em; }
.proof-row {
  grid-area: proof; margin: 56px 0 0; padding-top: 36px;
  border-top: 1px solid var(--line-light);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
}
.proof-row div { display: flex; flex-direction: column-reverse; gap: 4px; }
.proof-row dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.03em; }
.proof-row dt { font-size: 16px; color: var(--ink-soft); }
.founder-foot { grid-area: foot; margin-top: 32px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px; }
.credentials { font-size: 15px; color: var(--ink-soft); }

/* ---------- 3. What can go wrong? Moderate ---------- */

.risks { background: var(--light-2); padding: var(--section) 0; }
.section-head { max-width: 860px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 22px; }
.section-head p { font-size: 19px; color: var(--ink-soft); max-width: 680px; }
.section-head p + p { margin-top: 6px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center p { margin-left: auto; margin-right: auto; }

.risk-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.risk-card {
  background: var(--card-light); border-radius: var(--radius-lg);
  border: 1px solid var(--line-light);
  box-shadow: 0 1px 2px rgba(17, 20, 23, 0.04), 0 10px 30px -18px rgba(17, 20, 23, 0.25);
  overflow: hidden; display: flex; flex-direction: column;
}
.risk-card img { width: 100%; aspect-ratio: 480 / 214; object-fit: cover; background: #15181B; }
.risk-body { padding: 24px 26px 28px; }
.risk-body .num { display: block; margin-bottom: 10px; }
.risk-body h3 { margin-bottom: 10px; }
.risk-body p { font-size: 16px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- 4. The four questions: structured ---------- */

.framework {
  background:
    radial-gradient(ellipse 60% 50% at 50% 58%, rgba(255, 198, 41, 0.07), transparent 70%),
    var(--charcoal);
  color: var(--light-text); padding: var(--section) 0;
}
.framework .section-head { margin-bottom: 64px; }
.matrix { position: relative; }
.matrix-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 220px; row-gap: 40px;
}
.q {
  position: relative;
  background: linear-gradient(180deg, #2D343B, var(--graphite));
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: 34px 34px 36px;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.q-num {
  display: block; font-family: var(--font-mono); font-weight: 500; font-size: 15px;
  letter-spacing: 0.1em; color: var(--signal); margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-dark);
}
.q h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 12px; letter-spacing: -0.02em; }
.q p { color: var(--metal-light); font-size: 17px; }

/* Pathways: each panel connects to the central core across the middle gap. */
.q::after {
  content: ""; position: absolute; top: 50%; height: 2px; width: 110px;
  background: linear-gradient(90deg, rgba(255, 198, 41, 0.15), rgba(255, 198, 41, 0.85));
}
.q1::after, .q3::after { left: 100%; }
.q2::after, .q4::after { right: 100%; transform: scaleX(-1); }
.q::before {
  content: ""; position: absolute; top: calc(50% - 4px); width: 10px; height: 10px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 4px rgba(255, 198, 41, 0.18);
}
.q1::before, .q3::before { right: -5px; }
.q2::before, .q4::before { left: -5px; }

.matrix-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 132px; height: 132px; border-radius: 26px;
  background: linear-gradient(160deg, #343C44, #1A1F24);
  border: 1.5px solid rgba(255, 198, 41, 0.75);
  box-shadow: 0 0 0 10px rgba(255, 198, 41, 0.06), 0 0 60px -10px rgba(255, 198, 41, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
}
.matrix-core::before {
  content: ""; position: absolute; left: 50%; top: -220px; bottom: -220px; width: 2px; transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(255, 198, 41, 0.35) 30%, rgba(255, 198, 41, 0.35) 70%, transparent);
  z-index: -1;
}
.matrix-core span { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--signal); letter-spacing: -0.02em; }
.matrix-next { margin-top: 56px; text-align: center; }

/* ---------- 5. Two services: contained ---------- */

.services { background: var(--offwhite); padding: var(--section) 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.service-card {
  background: var(--charcoal); color: var(--light-text);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(17, 20, 23, 0.6);
  box-shadow: 0 30px 60px -36px rgba(17, 20, 23, 0.55);
  display: flex; flex-direction: column;
}
.service-art {
  height: 300px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse 70% 80% at 50% 55%, #1E2226, #121518 75%);
  border-bottom: 1px solid var(--line-dark);
}
.service-art img {
  height: 100%; width: auto;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
}
.service-body { padding: 32px 36px 36px; display: flex; flex-direction: column; flex: 1; }
.service-body .eyebrow { margin-bottom: 12px; }
.service-body h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; margin-bottom: 10px; }
.service-sub { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--signal); margin-bottom: 16px; }
.service-body > p:not(.eyebrow):not(.service-sub) { color: var(--metal-light); margin-bottom: 26px; }
.service-body .text-link { margin-top: auto; align-self: flex-start; }
.services-cta { margin-top: 56px; text-align: center; }
.services-cta p { margin-top: 16px; color: var(--ink-soft); font-size: 16px; }

/* ---------- 6. Prepared beats panicked: full cinematic ---------- */

.philosophy {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 78% 45%, rgba(255, 168, 60, 0.12), transparent 70%),
    var(--deep);
  color: var(--light-text); padding: calc(var(--section) + 8px) 0;
}
.philosophy-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.philosophy h2 { font-size: clamp(44px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.035em; margin-bottom: 26px; }
.signal { color: var(--signal); }
.philosophy-sub { font-size: 22px; font-weight: 700; margin-bottom: 18px; color: var(--light-text); }
.philosophy-copy p { color: var(--metal-light); font-size: 18px; max-width: 470px; }
.philosophy-copy p + p { margin-top: 14px; }
.philosophy-copy strong { color: var(--light-text); font-weight: 600; }
.philosophy-copy p.eyebrow { color: var(--signal); font-size: 13px; max-width: none; margin-bottom: 18px; }
.scene { margin: 0; }
.scene img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.mascot-label { margin-top: 22px; display: grid; gap: 4px; padding-left: 18px; border-left: 2px solid var(--signal); }
.mascot-label .eyebrow { margin: 0 0 4px; font-size: 12px; }
.mascot-label strong { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.015em; }
.mascot-label span:last-child { color: var(--metal-light); font-size: 16px; line-height: 1.5; }

/* ---------- 7. Final conversion: quiet ---------- */

.final { background: var(--offwhite); padding: calc(var(--section) + 16px) 0; }
.final-inner { text-align: center; }
.final h2 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.035em; }
.final-lead { margin-top: 16px; font-size: 20px; color: var(--ink-soft); }
.steps {
  list-style: none; margin: 56px auto; padding: 0; max-width: 1100px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
}
.steps li {
  padding: 30px 24px; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.steps li + li { border-left: 1px solid var(--line-light); }

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

.site-footer { background: var(--deep); color: var(--metal-light); padding: 64px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px 48px; align-items: start; }
.footer-logo { display: inline-block; }
.footer-logo img { height: 34px; width: auto; }
.footer-id .eyebrow { margin: 16px 0 0; color: var(--metal); font-size: 12px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--light-text); text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.footer-fine { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line-dark); color: var(--metal); font-size: 14px; }

/* ---------- Tablet ---------- */

@media (max-width: 1080px) {
  .matrix-list { column-gap: 120px; }
  .q::after { width: 52px; }
  .matrix-core { width: 104px; height: 104px; border-radius: 22px; }
  .matrix-core span { font-size: 32px; }
  .risk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-nav { gap: 22px; }
  .header-cta { display: none; }
  .founder-grid {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-copy p { max-width: 640px; }
  .service-grid { grid-template-columns: 1fr; }
}

/* ---------- Phones ---------- */

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { --header-h: 64px; }
  .header-inner { gap: 16px; }
  .logo img { height: 28px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 14px; }

  /* Message first (Draft 3.1): eyebrow, headline, line, button, intake line, then the art. */
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero::before { display: none; }
  .hero-inner { order: 1; padding-top: calc(64px + 28px); padding-bottom: 36px; }
  .hero-title { font-size: clamp(38px, 11vw, 48px); margin-bottom: 20px; }
  .hero-support { font-size: 17px; margin-bottom: 26px; }
  .hero .btn { width: 100%; }
  .hero-intake { font-size: 14px; }
  /* The approved desktop background, cropped with CSS toward the mobile concept:
     the dome and city first, the storm outside, the Prepper lower right. */
  .hero-art {
    order: 2;
    position: relative; inset: auto; height: auto;
    aspect-ratio: 1250 / 941; object-position: 100% 50%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  }
  .hero-copy { max-width: none; }

  .founder-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "portrait" "story" "proof" "foot";
  }
  .portrait-placeholder { width: min(220px, 60%); margin-bottom: 28px; }
  .founder-quote p { font-size: 20px; }
  .proof-row { margin-top: 40px; padding-top: 28px; grid-template-columns: 1fr; gap: 14px; }
  .proof-row div { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 14px; }
  .proof-row dd { font-size: 34px; min-width: 172px; }
  .proof-row dt { font-size: 15px; }
  .founder-foot { flex-direction: column; align-items: flex-start; }

  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 17px; }
  .risk-grid { grid-template-columns: 1fr; gap: 18px; }
  /* Shallower diagrams on phones (Draft 3.1): all six stay, about 130px high. */
  .risk-card img { aspect-ratio: auto; height: 130px; object-fit: cover; object-position: 50% 50%; }

  /* The matrix becomes a vertical four-step sequence. */
  .matrix-core { display: none; }
  .matrix-list { grid-template-columns: 1fr; row-gap: 18px; padding-left: 22px; border-left: 2px solid rgba(255, 198, 41, 0.45); }
  .q { padding: 26px 24px 28px; }
  .q::after { display: none; }
  .q::before { left: -29px; right: auto; top: 30px; }
  .framework .section-head { margin-bottom: 40px; text-align: left; }

  .service-art { height: 240px; }
  .service-body { padding: 26px 24px 30px; }
  .services-cta .btn { width: 100%; }

  .philosophy-grid { gap: 40px; }

  .steps { grid-template-columns: 1fr; margin: 40px auto; }
  .steps li { flex-direction: row; justify-content: flex-start; padding: 22px 4px; font-size: 18px; gap: 16px; text-align: left; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line-light); }
  .final .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .site-nav { gap: 12px; }
  .logo img { height: 24px; }
}

/* ---------- Reduced motion ---------- */

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