/* ================================================================
   Nodeworks stylesheet
   Palette A: Ink + Cyan. Space Grotesk display, Inter body.

   Contrast ratios (all WCAG AA or better on their intended surface):
     #0B1220 on #FFFFFF : 18.7  AAA  (body text on light)
     #5D6B84 on #FFFFFF :  5.4  AA   (muted text on light)
     #0D7F7E on #FFFFFF :  4.8  AA   (links, small text on light)
     #0EA5A4 on #FFFFFF :  3.0  large text, icons, borders only
     #22D3EE on #FFFFFF :  1.8  FAILS - dark surfaces only
     #22D3EE on #0B1220 : 10.4  AAA  (cyan on ink hero/footer)
   ================================================================ */

/* 1. CUSTOM PROPERTIES
   ─────────────────── */
:root {
  --ink:           #0B1220;
  --ink-2:         #1E2A45;
  --muted:         #5D6B84;
  --accent:        #0D7F7E;
  --accent-mid:    #0EA5A4;
  --accent-bright: #22D3EE;
  --line:          #DFE4EC;
  --line-2:        #EEF1F6;
  --paper:         #FFFFFF;
  --wash:          #F7F9FB;
  --wash-2:        #EBF3F8;

  --bg:            var(--paper);
  --text:          var(--ink);
  --link-col:      var(--accent);

  --font-display:  'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;

  --fs-xs:   0.78rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   clamp(1rem,    0.3vw + 0.92rem, 1.1rem);
  --fs-lg:   clamp(1.15rem, 0.5vw + 1rem,    1.35rem);
  --fs-xl:   clamp(1.35rem, 0.9vw + 1.1rem,  1.75rem);
  --fs-2xl:  clamp(1.65rem, 1.6vw + 1.2rem,  2.4rem);
  --fs-3xl:  clamp(2rem,    2.8vw + 1.3rem,  3.2rem);
  --fs-4xl:  clamp(2.3rem,  4vw   + 1.3rem,  4rem);

  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;    --sp-5: 1.5rem;  --sp-6: 2rem;
  --sp-7: 3rem;    --sp-8: 4rem;    --sp-9: 6rem;

  --container:        1180px;
  --container-narrow: 760px;
  --radius:           12px;
  --radius-sm:        8px;
  --header-h:         68px;
}

/* 2. RESET
   ──────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
ul, ol { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font: inherit; }
fieldset { border: none; padding: 0; }
input, select, textarea { font: inherit; }

/* 3. BASE
   ─────── */
html {
  font-size: 1rem;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a {
  color: var(--link-col);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
a:hover { color: var(--accent-mid); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); font-weight: 600; }

p { max-width: 72ch; }
p + p { margin-top: 1em; }
strong { font-weight: 600; }

code, kbd {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--wash-2);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--line);
}

/* 4. SELECTION AND FOCUS
   ─────────────────────── */
::selection {
  background: #B2E8F5;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--accent-mid);
  outline-offset: 3px;
  border-radius: 3px;
}

/* 5. ACCESSIBILITY
   ────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-sm);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* 6. LAYOUT
   ─────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.container--narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section          { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tight   { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--alt     { background: var(--wash); }
.section--dark    { background: var(--ink-2); color: #fff; }
.section--ink     { background: var(--ink);   color: #fff; }

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--ink  h2,
.section--ink  h3  { color: #fff; }

.section--dark p,
.section--ink  p   { color: #c5d0de; max-width: 66ch; }

/* 7. SECTION HEADER
   ───────────────── */
.sec-head         { max-width: 640px; margin-bottom: var(--sp-7); }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head h2      { margin-top: var(--sp-2); }
.sec-head > p     { margin-top: var(--sp-3); color: var(--muted); }

/* 8. EYEBROW LABEL
   ──────────────── */
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--accent-mid);
  vertical-align: middle;
  margin-right: 0.5rem;
  margin-bottom: 1px;
}
.eyebrow--center             { text-align: center; }
.eyebrow--center::before     { display: none; }
.eyebrow--light              { color: var(--accent-bright); }
.eyebrow--light::before      { background: var(--accent-bright); }

.lede {
  font-size: var(--fs-lg);
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.5;
  margin-top: var(--sp-3);
}
.sec-head--center .lede { margin-inline: auto; }

.text-center { text-align: center; }

/* 9. GRID
   ─────── */
.grid          { display: grid; gap: 1.5rem; }
.grid--2       { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3       { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid > *      { min-width: 0; }

@media (max-width: 860px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

/* 10. CARDS
    ───────── */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.card--accent { border-top: 3px solid var(--accent-mid); }
.card--link   { transition: transform 0.18s, box-shadow 0.18s; }
.card--link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(11,18,32,0.1);
}
.card h3, .card h4 { margin: 0; }
.card > p { color: var(--muted); font-size: var(--fs-base); margin: 0; }

.card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--wash-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.card__icon svg { width: 22px; height: 22px; color: var(--accent); }
.card__foot     { margin-top: auto; padding-top: var(--sp-3); }

/* 11. BUTTONS
    ────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1.3;
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn:hover, .btn:not([class*="btn--"]):hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
  color: #fff;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-mid);
  border-color: var(--accent-mid);
  color: #fff;
}

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

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--lg  { padding: 0.8rem 2rem; font-size: var(--fs-base); }
.btn--sm  { padding: 0.4rem 1rem; font-size: var(--fs-xs); }
.btn--block { display: flex; width: 100%; justify-content: center; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--sp-5);
}

/* 12. ARROW LINK
    ───────────── */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.arrow-link::after { content: '\2192'; transition: transform 0.15s; }
.arrow-link:hover  { color: var(--accent-mid); }
.arrow-link:hover::after { transform: translateX(3px); }

/* 13. FEATURE CHIPS (hero)
    ──────────────────────── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--sp-4);
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-sm);
  color: #9fb3c8;
  padding: 0.25rem 0.85rem 0.25rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}
.chips li svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--accent-bright); }

/* 14. SITE HEADER
    ─────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow 0.2s;
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header.is-stuck { box-shadow: 0 2px 16px rgba(11,18,32,0.08); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  height: 100%;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__mark   { width: 40px; height: 40px; flex-shrink: 0; }
.logo__text   { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name   {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo__sub    {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.nav__link {
  display: block;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav__link:hover          { color: var(--accent); background: var(--wash); }
.nav__link[aria-current="page"] { color: var(--accent); font-weight: 600; }

.nav__cta { margin-left: var(--sp-3); }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  margin-left: auto;
  color: var(--ink);
  border-radius: var(--radius-sm);
}
.nav__toggle svg         { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11,18,32,0.5);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.28s;
}
.nav-backdrop.is-open { opacity: 1; }

@media (max-width: 1040px) {
  .nav__toggle { display: flex; align-items: center; }

  .nav__menu {
    display: none;
    position: fixed;
    top: 0; right: 0;
    width: min(300px, 90vw);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-left: 1px solid var(--line);
    padding: 5rem var(--sp-5) var(--sp-5);
    gap: 0.25rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    z-index: 100;
  }
  .nav__menu.is-visible { display: flex; }
  .nav__menu.is-open    { transform: translateX(0); }
  .nav__link            { padding: 0.75rem 1rem; font-size: var(--fs-base); }
  .nav__menu-cta        { margin-top: 0.75rem; }
  .nav__cta             { display: none; }
}

@media (min-width: 1041px) {
  .nav__menu-cta { display: none; }
  .no-js .nav__menu { display: flex; }
}

/* 15. HERO (home page)
    ─────────────────── */
.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7rem) clamp(3.5rem, 8vw, 6rem);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 78% 35%, #1a2f50 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 75%, #0d2238 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--sp-7);
  align-items: center;
  position: relative;
}

.hero__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent-bright);
  margin-bottom: var(--sp-4);
}

.hero h1 {
  font-size: var(--fs-4xl);
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-bright);
}

.hero__lede {
  margin-top: var(--sp-4);
  font-size: var(--fs-lg);
  color: #9fb3c8;
  line-height: 1.55;
  max-width: 52ch;
}

.hero__note {
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  color: #6b8299;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}
.hero__visual svg {
  width: 100%;
  max-width: 340px;
  filter: drop-shadow(0 0 48px rgba(34,211,238,0.18));
}

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual {
    order: -1;
    max-width: 160px;
    margin-inline: auto;
    padding: 0;
  }
}

/* 16. VALUE BAND
    ───────────── */
.valueband {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.valueband__item {
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}
.valueband__item:last-child { border-right: none; }
.valueband__k {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.valueband__v { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }

@media (max-width: 860px) {
  .valueband { grid-template-columns: repeat(2,1fr); }
  .valueband__item { border-bottom: 1px solid var(--line); }
  .valueband__item:nth-child(2n) { border-right: none; }
  .valueband__item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 480px) {
  .valueband { grid-template-columns: 1fr; }
  .valueband__item { border-right: none; border-bottom: 1px solid var(--line); }
  .valueband__item:last-child { border-bottom: none; }
}

/* 17. SPLIT LAYOUT
    ─────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: start;
}
.split--wide-left { grid-template-columns: 3fr 2fr; }
.split h2         { margin-top: var(--sp-2); }
.split > div > p  { margin-top: var(--sp-3); color: var(--muted); }

@media (max-width: 860px) {
  .split, .split--wide-left { grid-template-columns: 1fr; }
}

/* 18. NUMBERED STEPS
    ───────────────── */
.steps         { counter-reset: step; }
.steps__item {
  position: relative;
  counter-increment: step;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps__item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.25rem; top: 1.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--accent);
}
.steps__item h3   { margin: 0 0 0.5rem; font-size: var(--fs-lg); }
.steps__item > p  { color: var(--muted); font-size: var(--fs-base); margin: 0; }
.steps__meta {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--wash-2);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

/* 19. PANEL
    ──────── */
.panel {
  padding: 1.75rem;
  border-radius: var(--radius);
}
.panel--accent {
  background: var(--wash-2);
  border-left: 4px solid var(--accent-mid);
}
.panel__label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* 20. TICK LIST
    ─────────── */
.ticks { display: flex; flex-direction: column; gap: 0.5rem; }
.ticks li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
  font-size: var(--fs-base);
}
.ticks li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-mid);
  font-weight: 700;
}
.ticks--tight { gap: 0.35rem; }

/* 21. TECH TAG LIST
    ─────────────── */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--sp-3);
}
.tech-tags li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: var(--wash);
}

/* 22. FAQ ACCORDION
    ─────────────── */
.faq { display: flex; flex-direction: column; }

.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  gap: 1rem;
  cursor: pointer;
  transition: color 0.15s;
}
.faq__q:hover { color: var(--accent); }

.faq__sign {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center; justify-content: center;
  position: relative;
}
.faq__sign::before,
.faq__sign::after {
  content: '';
  position: absolute;
  background: var(--accent-mid);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.faq__sign::before { width: 10px; height: 1.5px; }
.faq__sign::after  { width: 1.5px; height: 10px; }

.faq__item.is-open .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__item.is-open .faq__q           { color: var(--accent); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div              { overflow: hidden; }

.faq__a-inner {
  padding-bottom: 1.25rem;
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: 1.65;
}
.faq__a-inner p + p { margin-top: 0.75em; }
.faq__a-inner a     { color: var(--accent); }

.no-js .faq__a            { display: block; }
.no-js .faq__q            { pointer-events: none; }
.no-js .faq__sign         { display: none; }

/* 23. FORMS
    ──────── */
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

label {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
}
.req { color: #c0392b; margin-left: 0.2rem; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,127,126,0.14);
}
textarea { resize: vertical; min-height: 120px; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D6B84' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-hint { font-size: var(--fs-xs); color: var(--muted); }
.form-note { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--sp-3); }

@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* 24. CTA BAND (shared partial)
    ───────────────────────────── */
.cta-band {
  background: var(--ink);
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p  { color: #9fb3c8; margin-bottom: var(--sp-5); font-size: var(--fs-lg); max-width: none; }

/* 25. FOOTER
    ──────── */
.site-footer {
  background: var(--ink);
  color: #c5d0de;
  font-size: var(--fs-sm);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-7);
  padding-block: var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,0.09);
}

.footer__brand p {
  margin-top: 1rem;
  color: #7a90a6;
  font-size: var(--fs-sm);
  max-width: 36ch;
}
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__sub  { color: #7a90a6; }

.footer__top h4 {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__list a {
  color: #7a90a6;
  text-decoration: none;
  transition: color 0.15s;
}
.footer__list a:hover { color: var(--accent-bright); }
.footer__list li:not(:has(a)) { color: #7a90a6; }

.footer__disclaimer {
  padding-block: var(--sp-5);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: var(--fs-xs);
  color: #5a6e82;
  line-height: 1.6;
}
.footer__disclaimer p + p { margin-top: 0.5em; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-4);
  gap: var(--sp-4);
  font-size: var(--fs-xs);
  color: #5a6e82;
}
.footer__legal {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer__legal a { color: #5a6e82; text-decoration: none; }
.footer__legal a:hover { color: var(--accent-bright); }

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* 26. PAGE HERO (inner pages)
    ─────────────────────────── */
.page-hero {
  background: var(--wash);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: var(--fs-3xl); color: var(--ink); margin-top: var(--sp-2); }
.page-hero > .container > p {
  margin-top: var(--sp-3);
  color: var(--muted);
  font-size: var(--fs-lg);
  max-width: 60ch;
}

/* 27. SERVICE DETAIL BLOCK
    ───────────────────────── */
.service-block {
  padding-block: var(--sp-7);
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: none; }

.service-block__head {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-4);
  align-items: start;
  margin-bottom: var(--sp-5);
}
.service-block__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--wash-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-block__icon svg { width: 28px; height: 28px; color: var(--accent); }
.service-block h2        { margin: 0 0 var(--sp-2); font-size: var(--fs-2xl); }
.service-block > p       { color: var(--muted); margin-bottom: var(--sp-5); }

/* 28. 404 PAGE
    ─────────── */
.notfound {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notfound__inner { text-align: center; padding-block: var(--sp-9); }
.notfound__code {
  font-family: var(--font-mono);
  font-size: 5rem;
  font-weight: 700;
  color: var(--line);
  line-height: 1;
  margin-bottom: 1rem;
}
.notfound h1 { font-size: var(--fs-2xl); color: var(--ink); margin-bottom: var(--sp-3); }
.notfound > .notfound__inner > p { color: var(--muted); margin-bottom: var(--sp-5); max-width: none; }

/* 29. PROSE (privacy, terms long-form content)
    ─────────────────────────────────────────── */
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-7); margin-bottom: var(--sp-3); }
.prose h3 { font-size: var(--fs-lg); margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose p  { color: var(--muted); margin-top: var(--sp-3); }
.prose ul, .prose ol {
  margin-top: var(--sp-3);
  padding-left: 1.5rem;
  color: var(--muted);
}
.prose li + li  { margin-top: 0.4rem; }
.prose ul       { list-style: disc; }
.prose ol       { list-style: decimal; }
.prose a        { color: var(--accent); }
.prose strong   { color: var(--ink); }

/* 30. THANK-YOU PAGE
    ───────────────── */
.thankyou {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.thankyou__inner {
  max-width: 36rem;
  margin-inline: auto;
  padding-block: var(--sp-9);
}
.thankyou__mark {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--sp-5);
}
.thankyou__mark svg { width: 100%; height: 100%; }
.thankyou h1   { margin-bottom: var(--sp-3); }
.thankyou__lede {
  color: var(--muted);
  margin-bottom: var(--sp-6);
}
.thankyou__steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  text-align: left;
  border-top: 1px solid var(--border);
  padding-top: var(--sp-5);
}
.thankyou__step {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
}
.thankyou__n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  flex-shrink: 0;
  min-width: 1.5rem;
}
.thankyou__step p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

/* 31. REDUCED MOTION
    ────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card--link:hover { transform: none; }
}
