/* ==========================================================================
   Guidepost — marketing site
   Palette, type and motifs carried over from the application's own stylesheet
   (core/static/core/style.css) so the site and the product read as one thing.
   ========================================================================== */

:root {
  /* Brand — taken directly from the application */
  --navy: #0b2545;
  --navy-dark: #081b34;
  --navy-deep: #061528;
  --teal: #14746f;
  --teal-light: #1c948d;
  --gold: #c9a227;
  --gold-dark: #a3821e;
  --gold-soft: #e2c86b;

  --bg: #f6f1e4;
  --surface: #fffdf8;
  --border: #e3dcc8;
  --text: #1b232c;
  --muted: #5a6672;

  /* On-navy variants */
  --on-navy: #eef3f6;
  --on-navy-muted: #b6c4d2;
  --navy-line: rgba(255, 255, 255, 0.14);

  --radius: 8px;
  --shadow: 0 1px 3px rgba(11, 37, 69, 0.08), 0 1px 2px rgba(11, 37, 69, 0.06);
  --shadow-hover: 0 6px 16px rgba(11, 37, 69, 0.14);

  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1140px;
  --measure: 68ch;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--gold-dark); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.22;
  margin: 0 0 0.6em;
  font-weight: 700;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.measure { max-width: var(--measure); }

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 1rem;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* ---------- Site header ---------- */

.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0.9rem 0;
}
.brand:hover { color: #fff; text-decoration: none; }
.brand span { color: var(--gold); }

/* Nav wraps to a second row rather than overflowing — the same choice the
   application's own navbar makes once a role carries enough entries. */
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem clamp(0.7rem, 1.7vw, 1.4rem);
}

.site-nav a {
  color: #dfe7ea;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--gold); text-decoration: none; border-bottom-color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.nav-cta a {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
  border-bottom: 0;
}
.nav-cta a:hover { background: #dcb536; color: var(--navy); border-bottom: 0; }
/* The generic current-page rule paints the link gold, which on the gold CTA pill
   would be gold on gold. Keep the navy label and mark the current page with a
   ring instead. */
.nav-cta a[aria-current="page"] {
  color: var(--navy);
  border-bottom: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
}

/* CSS-only mobile disclosure — no JavaScript anywhere on this site. */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

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

.section { padding: 4.5rem 0; }
.section--tight { padding: 3rem 0; }
.section--cream { background: var(--bg); }
.section--surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy a { color: var(--gold-soft); }
.section--navy a:hover { color: #fff; }

/* Eyebrow. On light grounds it is teal (4.97:1 on cream); on navy it is gold
   (6.4:1). Gold on cream is only ~2.1:1, so it never carries text there. */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin: 0 0 0.7rem;
}
.section--navy .eyebrow, .eyebrow--gold { color: var(--gold-soft); }

.section-head { margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 0.5rem; }
.section-head p { color: var(--muted); max-width: var(--measure); }
.section--navy .section-head p { color: var(--on-navy-muted); }

.lede { font-size: 1.12rem; color: var(--muted); max-width: var(--measure); }
.section--navy .lede { color: var(--on-navy-muted); }

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

.hero {
  background:
    radial-gradient(ellipse at 20% -10%, rgba(28, 148, 141, 0.28), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 55%, var(--navy-deep) 100%);
  color: var(--on-navy);
  padding: 5.5rem 0 5rem;
  border-bottom: 1px solid var(--navy-line);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  max-width: 20ch;
  margin-bottom: 0.7rem;
}
.hero .lede { color: var(--on-navy-muted); font-size: 1.18rem; max-width: 60ch; }

.hero-note {
  color: var(--gold-soft);
  font-size: 0.95rem;
  max-width: 58ch;
  margin-top: 1.1rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--gold);
}

/* Compact hero for interior pages */
.hero--page { padding: 3.6rem 0 3.2rem; }
.hero--page h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); max-width: 24ch; }
.hero--page .lede { font-size: 1.08rem; }

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

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.9rem; }

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--primary:hover { background: #dcb536; border-color: #dcb536; color: var(--navy); }

.btn--ghost { background: transparent; color: var(--gold-soft); border-color: rgba(226, 200, 107, 0.55); }
.btn--ghost:hover { background: rgba(226, 200, 107, 0.12); color: #fff; border-color: var(--gold-soft); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* ---------- Grids ---------- */

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); }

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.14rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--muted); }
.card .eyebrow { font-size: 0.66rem; }

.card--teal { border-top-color: var(--teal); }
.card--plain { border-top: 1px solid var(--border); }

.card--link { display: block; color: inherit; }
.card--link:hover { text-decoration: none; box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card--link { transition: box-shadow 0.15s, transform 0.15s; }
.card--link h3 { color: var(--navy); }
.card--link .more { display: inline-block; margin-top: 0.9rem; font-size: 0.88rem; font-weight: 700; color: var(--teal); }
.card--link:hover .more { color: var(--gold-dark); }

/* On navy */
.section--navy .card {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--navy-line);
  border-top-color: var(--gold);
  box-shadow: none;
}
.section--navy .card p { color: var(--on-navy-muted); }

.card ul { margin: 0.8rem 0 0; padding-left: 1.1rem; }
.card li { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.35rem; }
.section--navy .card li { color: var(--on-navy-muted); }

/* ---------- Audience panels ---------- */

.audience {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.audience-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 1.9rem;
}
.audience-panel h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.audience-panel ul { margin: 0; padding-left: 1.15rem; }
.audience-panel li { color: var(--on-navy-muted); font-size: 0.95rem; margin-bottom: 0.65rem; }
.audience-panel li strong { color: #fff; font-weight: 600; }

/* Nested note box inside an audience panel */
.subnote {
  margin-top: 1.4rem;
  background: rgba(11, 37, 69, 0.55);
  border: 1px solid var(--navy-line);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1rem 1.1rem;
}
.subnote h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
  margin-bottom: 0.45rem;
}
.subnote p { font-size: 0.9rem; color: var(--on-navy-muted); }

/* Light-ground audience panel */
.audience--light .audience-panel {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.audience--light .audience-panel li { color: var(--muted); }
.audience--light .audience-panel li strong { color: var(--navy); }
.audience--light .subnote { background: rgba(20, 116, 111, 0.06); border-color: var(--border); border-left-color: var(--teal); }
.audience--light .subnote h4 { color: var(--teal); }
.audience--light .subnote p { color: var(--muted); }

/* ---------- Spec strip ---------- */

.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--navy-line);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec { background: var(--navy); padding: 1.5rem 1.2rem; text-align: center; }
.spec .spec-value {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 0.35rem;
}
.spec p { font-size: 0.86rem; color: var(--on-navy-muted); }

/* ---------- Feature rows (icon-free, rule-led) ---------- */

.featlist { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.feat { border-left: 3px solid var(--border); padding-left: 1.2rem; }
.feat h3 { font-size: 1.06rem; margin-bottom: 0.35rem; }
.feat p { font-size: 0.94rem; color: var(--muted); margin: 0; }
.feat--gold { border-left-color: var(--gold); }
.feat--teal { border-left-color: var(--teal); }

/* ---------- Checklist ---------- */

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.85rem;
  font-size: 0.96rem;
  color: var(--muted);
}
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: -0.05em;
  color: var(--teal);
  font-weight: 700;
}
.checklist li strong { color: var(--navy); font-weight: 700; }
.section--navy .checklist li { color: var(--on-navy-muted); }
.section--navy .checklist li::before { color: var(--gold); }
.section--navy .checklist li strong { color: #fff; }

/* ---------- Hierarchy diagram ---------- */

.hierarchy { display: grid; gap: 0.75rem; }
.hier-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}
.hier-step:nth-child(2) { margin-left: 1.5rem; border-left-color: #1c3d63; }
.hier-step:nth-child(3) { margin-left: 3rem; border-left-color: var(--teal); }
.hier-step:nth-child(4) { margin-left: 4.5rem; border-left-color: var(--gold); }
.hier-step h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.hier-step p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.94rem; }
th, td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--navy); color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
tbody tr:last-child td { border-bottom: 0; }
td strong { color: var(--navy); }

/* ---------- Scenario / use-case cards ---------- */

.scenario {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
}
.scenario h3 { font-size: 1.08rem; margin-bottom: 0.7rem; }
.scenario p { font-size: 0.94rem; color: var(--muted); }
.scenario .outcome {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--navy);
}
.scenario .outcome strong { color: var(--teal); }

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

.faq-group { margin-bottom: 3rem; }
.faq-group > h2 {
  font-size: 1.35rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 1.6rem;
}

details.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
}
details.faq > summary {
  cursor: pointer;
  padding: 1.05rem 1.3rem;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--teal);
  flex-shrink: 0;
}
details.faq[open] > summary::after { content: "\2013"; }
details.faq > summary:hover { color: var(--teal); }
details.faq[open] > summary { border-bottom: 1px solid var(--border); }
.faq-body { padding: 1.1rem 1.3rem 1.3rem; }
.faq-body p { font-size: 0.96rem; color: var(--muted); max-width: var(--measure); }

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

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}
.field .req { color: var(--gold-dark); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.97rem;
  color: var(--text);
  background: #fff;
  border: 1px solid #c8bfa6;
  border-radius: var(--radius);
  padding: 0.65rem 0.8rem;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}
.field-hint { font-size: 0.82rem; color: var(--muted); margin: 0.35rem 0 0; }

.field-row { display: grid; gap: 0 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.hp { position: absolute; left: -9999px; }

.contact-aside { display: grid; gap: 1.2rem; align-content: start; }

.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.contact-block h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.contact-block p { font-size: 0.92rem; color: var(--muted); }
.contact-email {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  word-break: break-word;
}

/* Numbered process list */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 1.3rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.steps p { font-size: 0.94rem; color: var(--muted); margin: 0; }

/* ---------- Callout ---------- */

.callout {
  background: rgba(20, 116, 111, 0.06);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  font-size: 0.93rem;
  color: var(--muted);
}
.callout strong { color: var(--navy); }
.section--navy .callout {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--navy-line);
  border-left-color: var(--gold);
  color: var(--on-navy-muted);
}
.section--navy .callout strong { color: #fff; }

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(ellipse at 80% 120%, rgba(28, 148, 141, 0.26), transparent 60%),
    linear-gradient(120deg, var(--navy-dark), var(--navy));
  color: var(--on-navy);
  padding: 4rem 0;
  text-align: center;
  border-top: 3px solid var(--gold);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: var(--on-navy-muted); max-width: 58ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }

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

.site-footer {
  background: var(--navy-deep);
  color: var(--on-navy-muted);
  padding: 3.2rem 0 2rem;
  font-size: 0.9rem;
}
/* `repeat(auto-fit, ...)` still lays down one track even when it cannot fit, so
   pairing it with a 240px first track gave the footer a 422px minimum and 56px
   of horizontal overflow on a phone. The narrow cases are stated explicitly
   below instead. */
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  margin-bottom: 2.4rem;
}
.site-footer a { overflow-wrap: break-word; }
.site-footer .brand { font-size: 1.25rem; padding: 0; }
.footer-about p { margin-top: 0.8rem; font-size: 0.88rem; color: var(--on-navy-muted); max-width: 38ch; }
.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: var(--on-navy-muted); }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--navy-line);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: 0.84rem;
}

/* ---------- Product screenshots ---------- */

/* One treatment for every screenshot on the site, so they read as a set
   rather than as images dropped in one at a time. The frame borrows the
   card's border, radius and shadow; the caption borrows .card p.

   Every shot is 1400x844 (a 700:422 ratio). `aspect-ratio` reserves that box
   before the file loads, so nothing below an image moves as it arrives --
   the layout shift a screenshot-heavy page otherwise gets. */

.shot {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 700 / 422;
  border-bottom: 1px solid var(--border);
}

.shot figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* On navy, a cream frame glares. Darken it and lift the caption. */
.section--navy .shot,
.hero .shot {
  border-color: var(--navy-line);
  background: var(--navy-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.section--navy .shot img,
.hero .shot img { border-bottom-color: var(--navy-line); }

.section--navy .shot figcaption,
.hero .shot figcaption { color: var(--on-navy-muted); }

/* The hero's shot sits below the copy and runs the full container width. */
.hero-shot { margin-top: 3rem; }

/* ---------- Utility ---------- */

.stack > * + * { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.split { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.split--wide-left { grid-template-columns: 1.25fr 1fr; }

@media (max-width: 860px) {
  .split--wide-left { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 3.2rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
  .site-header .container { min-height: 0; padding-top: 0.5rem; padding-bottom: 0.6rem; }
  .brand { padding: 0.4rem 0; }
  .site-nav ul { justify-content: flex-start; }
  .hier-step:nth-child(2),
  .hier-step:nth-child(3),
  .hier-step:nth-child(4) { margin-left: 0; }
  .form-card { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card--link:hover { transform: none; }
}
