/* Fletcher Software Systems
   One stylesheet, no build step, nothing loaded from another website.

   Colour, type, spacing, radii and motion come from Fletcher Software Systems Brand System 2.0.0
   (see README.md, "The brand"). The canvas is near-black midnight; the blue-violet
   spectrum is used selectively, for the mark, signal paths and active states, never
   as decoration behind text. Spacing sits on a 4 px grid. */

@font-face {
  font-family: "Inter";
  src: url("../Assets/Fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../Assets/Fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Foundation */
  --midnight: #050311;
  --surface-1: #0b091a;
  --surface-2: #111027;
  --surface-3: #171532;
  --border: #2a2746;

  /* Text */
  --text: #f5f7ff;
  --text-2: #b9bed2;
  --text-3: #858aa0;
  --field-edge: #5f6375;            /* the system's disabled-text grey, used here as the resting edge of form fields */

  /* Spectrum */
  --indigo: #2a1ba4;
  --royal: #352cd6;
  --electric: #5044f5;
  --periwinkle: #6f8ef9;
  --violet: #8353f2;
  --lilac: #b582f9;
  --ice: #cbcffc;
  --spectrum: linear-gradient(90deg, #2a1ba4, #5044f5, #6f8ef9, #b582f9);
  --spectrum-v: linear-gradient(180deg, #b582f9, #6f8ef9, #5044f5, #2a1ba4);

  /* Functional */
  --warning: #f2c45e;
  --error: #ff6b7a;

  /* Borders that lift on hover and focus */
  --border-lift: rgba(111, 142, 249, 0.5);

  --sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 8rem);
  --r-control: 6px;
  --r-button: 8px;
  --r-panel: 12px;
  --r-region: 16px;
  --header: 4.5rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-micro: 120ms;
  --t-state: 180ms;
}

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

html {
  color-scheme: dark;
  background: var(--midnight);
  scroll-padding-top: calc(var(--header) + 1rem);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--midnight);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  font-synthesis: none;              /* only the two real weights are ever drawn */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 500; color: var(--text); }

h1, h2, h3 {
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.8vw, 4.25rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); letter-spacing: -0.028em; }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.3; }

a {
  color: var(--periwinkle);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--t-micro) var(--ease-out);
}
a:hover { color: var(--ice); }
/* Long addresses (the email address, external links) may break rather than push the page sideways on narrow phones. */
p a, li a, td a { overflow-wrap: anywhere; }

/* One focus style everywhere: a light ring with a gap, visible on every surface,
   and a shape change, so colour is never the only signal. */
:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  border-radius: var(--r-control);
}

::selection { background: rgba(80, 68, 245, 0.55); color: var(--text); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--electric);
  color: var(--text);
  border-radius: var(--r-button);
  font-weight: 500;
}
.skip-link:focus { top: 1rem; color: var(--text); }

/* Small category label above each heading. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--periwinkle);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 1.5rem;
  height: 1px;
  background: var(--spectrum);
}

/* ------------------------------------------------------------------ buttons */

/* Three levels only: primary (.button), secondary (.nav-cta), quiet (.text-link). */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.875rem 1.5rem;
  border: 1px solid rgba(203, 207, 252, 0.18);
  border-radius: var(--r-button);
  background: var(--electric);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(0, 0, 0, 0.4);
  color: var(--text);
  font: inherit;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter var(--t-micro) var(--ease-out), background-color var(--t-micro) var(--ease-out);
}
.button:hover { color: var(--text); filter: brightness(1.12); }
.button:active { background: var(--royal); filter: none; }
.button:disabled {
  background: var(--surface-3);
  border-color: var(--border);
  box-shadow: none;
  color: var(--text-3);
  cursor: not-allowed;
  filter: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.75rem;            /* a comfortable tap target on phones */
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.text-link::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid var(--periwinkle);
  border-bottom: 1.5px solid var(--periwinkle);
  transform: rotate(-45deg);
  transition: transform var(--t-state) var(--ease-out);
}
.text-link:hover { color: var(--ice); }
.text-link:hover::after { transform: translateX(3px) rotate(-45deg); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 3, 17, 0.82);
  border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(5, 3, 17, 0.72); backdrop-filter: blur(16px) saturate(140%); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header);
}

/* Brand lockup: the bird symbol, then the one-line wordmark "Fletcher Software Systems".
   Live text as allowed by the Brand System 2.0.0, section 7: capital height about 0.32 x the symbol's
   height; "Fletcher" in Medium, "Software Systems" in Regular in the quieter colour; tight tracking. */
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand .brand-mark { width: auto; height: 2.5rem; }

.wordmark { font-size: 0.9375rem; line-height: 1.2; white-space: nowrap; }
.wordmark-name { font-weight: 500; letter-spacing: -0.01em; color: var(--text); }
.wordmark-sub { font-weight: 400; letter-spacing: -0.005em; color: var(--text-2); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.site-nav a {
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-micro) var(--ease-out), border-color var(--t-micro) var(--ease-out);
}
.site-nav a:hover { color: var(--text); border-bottom-color: var(--periwinkle); }

.site-nav .nav-cta {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-button);
  background: var(--surface-1);
  color: var(--text);
  font-weight: 500;
  transition: border-color var(--t-micro) var(--ease-out), background-color var(--t-micro) var(--ease-out);
}
.site-nav .nav-cta:hover { border-color: var(--border-lift); background: var(--surface-2); }

.nav-toggle { display: none; }

/* Narrow screens. Without JavaScript the links simply wrap under the logo. */
@media (max-width: 62rem) {
  .header-inner { flex-wrap: wrap; padding-block: 0.75rem; }
  .site-nav { width: 100%; }
  .site-nav ul { flex-wrap: wrap; gap: 0.25rem 1.25rem; padding-bottom: 0.5rem; }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--r-button);
    background: var(--surface-1);
    color: var(--text);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color var(--t-micro) var(--ease-out);
  }
  .js .nav-toggle:hover { border-color: var(--border-lift); }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 1.125rem;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
  }
  .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; }

  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-block: 0.5rem 1.5rem; }
  .js .site-nav li + li { border-top: 1px solid var(--border); }
  .js .site-nav a { display: block; padding: 0.875rem 0; font-size: 1.0625rem; color: var(--text); border-bottom: 0; }
  .js .site-nav .nav-cta { margin-top: 1rem; padding: 0.875rem 1rem; text-align: center; }
  .js .site-nav li:last-child { border-top: 0; }
}

/* Phones: too narrow for one line beside the Menu button, so the wordmark breaks after "Fletcher"
   (allowed for live text, Brand System 2.0.0, section 7). Never below 13 px. */
@media (max-width: 30rem) {
  .header-inner { gap: 0.75rem; }
  .brand .brand-mark { height: 2.125rem; }
  .brand .wordmark { display: flex; flex-direction: column; font-size: 0.8125rem; line-height: 1.15; }
  .js .nav-toggle { gap: 0.5rem; padding-inline: 0.75rem; }
}
@media (max-width: 22rem) {
  .header-inner { gap: 0.5rem; }
  .brand { gap: 0.375rem; }
  .brand .brand-mark { height: 2rem; }
  .js .nav-toggle { gap: 0.4375rem; padding-inline: 0.625rem; }
}
/* Narrowest phones: the word "Menu" is hidden visually (still read out); the button stays 44 px square. */
@media (max-width: 21rem) {
  .js .nav-toggle { min-width: 2.75rem; justify-content: center; padding-inline: 0; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* --------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 9vw, 7.5rem);
  border-bottom: 1px solid var(--border);
}
/* A local pool of light behind the mark: confined to the hero, never full-screen. */
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -12%;
  width: min(62rem, 90vw);
  aspect-ratio: 1.6;
  transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(80, 68, 245, 0.16), rgba(131, 83, 242, 0.06) 55%, transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero .lede {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  line-height: 1.55;
  color: var(--text-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
}

.hero-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  max-width: 34rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-3);
}

.hero-figure { margin-right: calc(var(--gutter) * -0.5); }
.hero-figure img { width: 100%; }

@media (prefers-reduced-motion: no-preference) {
  .hero-figure { animation: mark-in 450ms var(--ease-out) both 80ms; }
  @keyframes mark-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
}

@media (max-width: 54rem) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { max-width: 30rem; margin: 0 auto; order: -1; }
  .hero::before { top: 22%; right: -30%; width: 120vw; }
}

/* ----------------------------------------------------------------- sections */

.section { padding-block: var(--section); }

/* The raised band: one step up in luminance, with fine borders. */
.section-tint { background: var(--surface-1); border-block: 1px solid var(--border); }

.section-head { max-width: 46rem; }
.section-head > p:not(.eyebrow) {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--text-2);
}

/* What we do: five stages joined by one signal path. */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}
.process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--spectrum);
  opacity: 0.85;
}

.process li { position: relative; padding-top: 2rem; }
.process li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--midnight);
  border: 1.5px solid var(--periwinkle);
}

.step-number {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--periwinkle);
}

.process h3 { margin-top: 0.5rem; font-size: 1.25rem; }
.process p { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.6; color: var(--text-2); }

@media (max-width: 62rem) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
  .process::before { display: none; }
  .process li { border-top: 1px solid var(--border); }
}
@media (max-width: 34rem) {
  .process { grid-template-columns: 1fr; }
}

.aside {
  position: relative;
  margin-top: 4rem;
  padding: 1.5rem 1.75rem 1.5rem 2rem;
  max-width: 52rem;
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  background: var(--surface-1);
  color: var(--text);
  overflow: hidden;
}
.aside::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--spectrum-v);
}

/* Examples: one quiet panel ruled into cells. */
.examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--r-region);
  background: var(--midnight);
  overflow: hidden;
}

.examples li {
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: 1px 0 0 var(--border), 0 1px 0 var(--border);   /* inner rules without doubled edges */
  transition: background-color var(--t-state) var(--ease-out);
}
.examples li:hover { background: var(--surface-2); }

.examples h3::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-bottom: 1rem;
  border-radius: 2px;
  background: var(--spectrum);
  transition: width var(--t-state) var(--ease-out);
}
.examples li:hover h3::before { width: 2.5rem; }

.examples p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.6; color: var(--text-2); }

@media (max-width: 58rem) { .examples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .examples { grid-template-columns: 1fr; } }

/* Human-first: the principle carries weight, so it sits in its own lit region. */
.section-dark {
  position: relative;
  background:
    radial-gradient(60rem 28rem at 85% 0%, rgba(80, 68, 245, 0.12), transparent 70%),
    var(--surface-1);
  border-block: 1px solid var(--border);
}
.section-dark::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5044f5 20%, #6f8ef9 50%, #b582f9 80%, transparent);
}

.human {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.human-copy p:not(.eyebrow) { margin-top: 1.5rem; font-size: 1.125rem; max-width: 36rem; color: var(--text-2); }

.pull-quote {
  position: relative;
  padding-left: 1.5rem;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  text-wrap: balance;
}
.pull-quote::before {
  content: "";
  position: absolute;
  inset: 0.25rem auto 0.25rem 0;
  width: 2px;
  border-radius: 2px;
  background: var(--spectrum-v);
}

.aims {
  margin-top: 2.5rem;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  background: rgba(5, 3, 17, 0.6);
}
.aims li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2rem;
  color: var(--text);
}
.aims li + li { border-top: 1px solid var(--border); }
.aims li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 1.125rem;
  width: 0.75rem;
  height: 0.375rem;
  border-left: 1.5px solid var(--periwinkle);
  border-bottom: 1.5px solid var(--periwinkle);
  transform: rotate(-45deg);
}

@media (max-width: 54rem) { .human { grid-template-columns: 1fr; } }

/* How it starts */
.frictions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
  margin-top: 2.5rem;
  max-width: 60rem;
}

.frictions li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.frictions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.75rem;
  width: 1.125rem;
  height: 1px;
  background: var(--spectrum);
}

@media (max-width: 44rem) { .frictions { grid-template-columns: 1fr; } }

.starts-close {
  margin-top: 2.5rem;
  max-width: 46rem;
  font-size: 1.125rem;
  color: var(--text-2);
}

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about-copy p { font-size: 1.125rem; color: var(--text-2); }
.about-copy p + p { margin-top: 1.25rem; }
.about-copy p:first-child { font-size: 1.3125rem; font-weight: 500; line-height: 1.45; color: var(--text); letter-spacing: -0.01em; }

@media (max-width: 54rem) { .about { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ contact */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-direct { font-size: 1rem !important; }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--r-region);
  background: var(--surface-1);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}

.field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.field:nth-of-type(3), .field-wide, .form-notice { grid-column: 1 / -1; }

label { font-weight: 500; font-size: 0.9375rem; color: var(--text); }

input, textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--field-edge);   /* 3:1 against the form panel, so the field outline is visible */
  border-radius: var(--r-button);
  background: var(--midnight);
  color: var(--text);
  font: inherit;
  line-height: 1.4;
  transition: border-color var(--t-micro) var(--ease-out), background-color var(--t-micro) var(--ease-out);
}
textarea { resize: vertical; min-height: 9rem; }
input:hover, textarea:hover { border-color: var(--border-lift); }
input:focus-visible, textarea:focus-visible { outline-offset: 2px; border-color: var(--periwinkle); background: var(--surface-1); }
[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }

.field-hint { font-size: 0.875rem; color: var(--text-3); }
.field-error { font-size: 0.875rem; font-weight: 500; color: var(--error); }

.form-notice {
  padding: 0.875rem 1rem;
  border-radius: var(--r-button);
  font-size: 0.9375rem;
}
.form-notice-warning { background: rgba(242, 196, 94, 0.1); border: 1px solid var(--warning); color: var(--text); }

.form-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }

.form-status:empty { display: none; }
.form-status { padding: 0.875rem 1rem; border-radius: var(--r-button); font-size: 0.9375rem; color: var(--text); }
.form-status.is-error { background: rgba(255, 107, 122, 0.1); border: 1px solid var(--error); }
.form-status.is-info,
.form-status.is-success { background: rgba(111, 142, 249, 0.1); border: 1px solid var(--periwinkle); }

.form-privacy { font-size: 0.875rem; color: var(--text-3); }

@media (max-width: 54rem) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 34rem) {
  .contact-form { grid-template-columns: 1fr; }
  .form-actions .button { width: 100%; }
}

/* ------------------------------------------------------------------- footer */

.site-footer {
  padding-block: 3.5rem 2.5rem;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  color: var(--text-3);
}
.footer-lockup { display: flex; align-items: center; gap: 0.75rem; }
.footer-lockup .brand-mark { width: auto; height: 3rem; }
.footer-brand.wordmark { font-size: 1.125rem; }
@media (max-width: 30rem) {
  .footer-brand.wordmark { display: flex; flex-direction: column; font-size: 1rem; line-height: 1.2; }
}
.footer-line { margin-top: 1.5rem; color: var(--text-2); }
.footer-identity { margin-top: 1rem; max-width: 46rem; font-size: 0.875rem; }
.footer-legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

.site-footer a { display: inline-block; padding-block: 0.75rem; color: var(--text-2); }
.site-footer a:hover { color: var(--text); }
/* The footer's pair of links wraps as one unit, so the separator never starts a line on phones. */
.footer-links { white-space: nowrap; }

/* Unfilled launch placeholders: deliberately loud so they cannot be missed. */
.todo { background: var(--warning); color: var(--midnight); padding: 0 0.25em; border-radius: 3px; font-weight: 500; }

/* ----------------------------------------------- privacy notice, plain pages */

.legal { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal h2 { margin-top: 3rem; font-size: 1.375rem; }
.legal p, .legal ul, .legal table { margin-top: 1rem; }
.legal p, .legal li, .legal td { color: var(--text-2); }
.legal ul { padding-left: 1.25rem; list-style: disc; }
.legal ul li::marker { color: var(--periwinkle); }
.legal li + li { margin-top: 0.375rem; }
.legal .updated { margin-top: 0.75rem; color: var(--text-3); font-size: 0.9375rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 0.75rem 0.75rem 0.75rem 0; border-bottom: 1px solid var(--border); }
.legal th { font-weight: 500; color: var(--text); }
@media (max-width: 34rem) {
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { position: absolute; left: -9999px; }
  .legal td { border-bottom: 0; padding: 0.25rem 0; }
  .legal tr { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
  .legal td:first-child { font-weight: 500; color: var(--text); }
}

/* --------------------------------------------------------------------- misc */

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

@media print {
  html, body { background: #fff; color: #000; }
  .site-header, .nav-toggle, .hero-figure, .contact-form, .hero::before { display: none; }
  .section-tint, .section-dark, .site-footer { background: none; border: 0; }
  h1, h2, h3, p, li, td, th, .pull-quote, .wordmark-name, .wordmark-sub { color: #000 !important; }
}

/* ------------------------------------------------- r5: demonstration + notes */
/* Small reassurance line beside a primary call to action. */
.cta-note { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--text-2); }
.form-actions .cta-note { margin-top: 0; }

/* Demonstration walkthrough: three stages on the same signal path as .process. */
.demo-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}
.demo-steps::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--spectrum);
  opacity: 0.85;
}
.demo-steps li { position: relative; padding-top: 2rem; }
.demo-steps li::before {
  content: "";
  position: absolute;
  top: -5px; left: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--midnight);
  border: 1.5px solid var(--periwinkle);
}
.demo-steps h3 { margin-top: 0.5rem; font-size: 1.25rem; }
.demo-steps p { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.6; color: var(--text-2); }

.demo-figure { margin: 3.5rem 0 0; }
.demo-shot {
  display: block;
  padding: clamp(0.5rem, 1.5vw, 0.875rem);
  border: 1px solid var(--border);
  border-radius: var(--r-region);
  background: var(--surface-2);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
  transition: border-color var(--t-state) var(--ease-out);
}
.demo-shot:hover { border-color: var(--border-lift); }
.demo-shot img { display: block; width: 100%; height: auto; border-radius: var(--r-control); }
.demo-figure figcaption { margin-top: 1rem; max-width: 46rem; font-size: 0.9375rem; color: var(--text-3); }

@media (max-width: 54rem) {
  .demo-steps { grid-template-columns: 1fr; gap: 0; }
  .demo-steps::before { display: none; }
  .demo-steps li { padding-block: 1.5rem; border-top: 1px solid var(--border); }
  .demo-steps li::before { display: none; }
}
