/* NitroSoft: nitrosoft.co.uk
   Light and dark themes, mobile-first. Colours and sizes are custom properties below; every
   colour that changes in dark mode is a property, so a theme is just a block of overrides.
   The only JavaScript is build/theme.js (inlined in <head>), which powers the theme toggle.
   Font: Manrope (SIL Open Font Licence), self-hosted, latin + latin-ext subsets. */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  /* surfaces */
  --bg: #fafaf7;
  --surface: #ffffff;
  --tint: #f2f1ec;
  --line: #e4e2db;
  --line-2: #cfccc2;

  /* text */
  --ink: #15171c;
  --ink-2: #3b404c;
  --muted: #5c6270;

  /* accents */
  --accent: #2446d6;
  --accent-2: #1a36b0;
  --accent-soft: #eaeefc;
  --on-accent: #ffffff;
  --spark: #ff6b3d;
  --dark: #13172a;
  --on-dark: #ffffff;
  --on-dark-2: #c9cee0;
  --header-bg: rgba(250, 250, 247, 0.9);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%232446d6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  /* type */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.25rem);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(21, 23, 28, 0.04), 0 12px 32px -16px rgba(21, 23, 28, 0.14);
}

/* Dark theme. The block appears twice: for a theme picked with the toggle (the script sets
   data-theme on <html>), and for the device setting when JavaScript is off. Keep the two
   identical; tools/check.php compares them and checks their contrast. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1218;
  --surface: #191e29;
  --tint: #141821;
  --line: #262c39;
  --line-2: #3a4252;
  --ink: #f2f3f7;
  --ink-2: #c5cad6;
  --muted: #9aa1b1;
  --accent: #7b93ff;
  --accent-2: #a3b4ff;
  --accent-soft: #1d2547;
  --on-accent: #0b1026;
  --dark: #1b2140;
  --header-bg: rgba(15, 18, 24, 0.85);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%237b93ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0f1218;
    --surface: #191e29;
    --tint: #141821;
    --line: #262c39;
    --line-2: #3a4252;
    --ink: #f2f3f7;
    --ink-2: #c5cad6;
    --muted: #9aa1b1;
    --accent: #7b93ff;
    --accent-2: #a3b4ff;
    --accent-soft: #1d2547;
    --on-accent: #0b1026;
    --dark: #1b2140;
    --header-bg: rgba(15, 18, 24, 0.85);
    --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%237b93ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.7);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font: 450 1.0625rem/1.7 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.15; font-weight: 750; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-2); }
ul, ol { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--spark); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--ink); }

.icon { flex: none; width: 1.25em; height: 1.25em; }
.visually-hidden {
  position: absolute !important; 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; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--bg); font-weight: 700;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--bg); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 50rem; }
.center { text-align: center; }
.center .section-lead { margin-inline: auto; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.center-actions--left { justify-content: flex-start; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.65rem 1.25rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 700 1rem/1.2 var(--font); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform 0.15s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-2); color: var(--on-accent); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
/* Light button on the call-to-action band, which is dark in both themes. */
.btn--light { background: var(--on-dark); color: var(--dark); }
.btn--light:hover { background: #e3e8fb; color: var(--dark); }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn--lg { min-height: 3.25rem; padding: 0.85rem 1.6rem; font-size: 1.0625rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
/* Phones: brand and button on one row, the links on a second row underneath. */
.header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding-block: 0.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 2rem; height: 2rem; }
.brand__name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.nav { order: 3; width: 100%; overflow-x: auto; }
.nav__list { list-style: none; display: flex; gap: 0.25rem; }
.nav__link {
  display: block; padding: 0.4rem 0.75rem; border-radius: 999px; white-space: nowrap;
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.9375rem;
}
.nav__list li:first-child .nav__link { margin-left: -0.75rem; }
.nav__link:hover { color: var(--ink); background: var(--tint); }
.nav__link[aria-current="page"] { color: var(--ink); background: var(--tint); }
.header__cta[aria-current="page"] { background: var(--accent-2); }
@media (min-width: 54rem) {
  .header__inner { flex-wrap: nowrap; gap: 1.5rem; padding-block: 0; min-height: 4.5rem; }
  .nav { order: 0; width: auto; overflow: visible; }
  .nav__list li:first-child .nav__link { margin-left: 0; }
}

/* ---------- theme toggle ---------- */
/* Hidden until the theme script has run (it sets data-theme on <html>), so it never shows as a dead button. */
.theme-toggle {
  display: none; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; padding: 0; margin-right: -0.5rem;
  border: 1.5px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
:root[data-theme] .theme-toggle { display: grid; }
.theme-toggle:hover { border-color: var(--ink); background: var(--tint); }
.theme-toggle .icon { width: 1.25rem; height: 1.25rem; }
.theme-toggle__sun, :root[data-theme="dark"] .theme-toggle__moon { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
@media (min-width: 54rem) { .theme-toggle { margin-right: -0.75rem; } }
/* Narrow phones: brand, toggle and button still share one row (measured against Manrope). */
@media (max-width: 24rem) {
  :root[data-theme] .header__inner { column-gap: 0.5rem; }
  .theme-toggle { margin-right: 0; }
  :root[data-theme] .header__cta { padding-inline: 0.8rem; font-size: 0.875rem; }
}
@media (max-width: 22rem) { :root[data-theme] .brand__name { display: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--tint { background: var(--tint); }
.section--flush { padding-top: 0; }
.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
  font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--spark); }
.section-title { font-size: clamp(1.85rem, 4.2vw, 2.6rem); margin-bottom: 1rem; }
.section-lead { font-size: 1.125rem; max-width: 40rem; }
.more-link { margin-top: 2.5rem; }
.more-link a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(3rem, 8vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(3rem, 6vw, 4rem); align-items: center; }
@media (min-width: 62rem) { .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.hero__title { font-size: clamp(2.5rem, 6.5vw, 4.25rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; margin-bottom: 1.5rem; }
.hero__mark { position: relative; white-space: nowrap; color: var(--accent); }
.hero__mark::after {
  content: ""; position: absolute; left: 0.04em; right: 0.04em; bottom: 0.02em; height: 0.12em;
  border-radius: 999px; background: var(--spark); opacity: 0.85;
}
.hero__lead { font-size: clamp(1.0938rem, 2vw, 1.25rem); max-width: 36rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Decorative browser + phone, drawn in CSS. Hidden from assistive technology. */
.mock { position: relative; padding: 0 1.5rem 2.5rem 0; max-width: 34rem; width: 100%; margin-inline: auto; }
.mock__window {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(36, 70, 214, 0.35), var(--shadow); overflow: hidden;
}
.mock__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); background: var(--bg); }
.mock__dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--line-2); }
.mock__url {
  margin-left: 0.6rem; flex: 1; padding: 0.15rem 0.75rem; border-radius: 999px; background: var(--tint);
  font-size: 0.75rem; font-weight: 600; color: var(--muted); line-height: 1.6;
}
.mock__page { padding: 1.25rem 1.25rem 1.5rem; }
.mock__nav { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.75rem; }
.mock__logo { width: 1.4rem; height: 1.4rem; border-radius: 6px; background: var(--accent); margin-right: auto; }
.mock__link { width: 2.2rem; height: 0.4rem; border-radius: 999px; background: var(--line); }
.mock__btn { width: 3.2rem; height: 1.1rem; border-radius: 999px; background: var(--accent-soft); }
.mock__head { display: grid; gap: 0.6rem; margin-bottom: 1.75rem; }
.mock__line { display: block; height: 0.75rem; border-radius: 999px; background: var(--ink); opacity: 0.88; }
.mock__line--xl { width: 85%; height: 1rem; }
.mock__line--lg { width: 65%; }
.mock__line--sm { width: 45%; height: 0.45rem; background: var(--line-2); opacity: 1; margin-top: 0.3rem; }
.mock__cta { display: block; width: 6.5rem; height: 1.8rem; border-radius: 999px; background: var(--accent); margin-top: 0.6rem; }
.mock__cta--full { width: 100%; }
.mock__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.mock__tile { display: block; height: 4.5rem; border-radius: 10px; background: var(--tint); border: 1px solid var(--line); }
.mock__tile:nth-child(2) { background: var(--accent-soft); }
.mock__tile--tall { height: 5.5rem; margin-top: 0.4rem; }
.mock__phone {
  position: absolute; right: 0; bottom: 0; width: 8.5rem; display: grid; gap: 0.45rem; align-content: start;
  padding: 1.5rem 0.75rem 0.9rem; border-radius: 22px; background: var(--surface);
  border: 1px solid var(--line-2); box-shadow: 0 24px 40px -20px rgba(21, 23, 28, 0.35);
}
.mock__phone .mock__line { height: 0.55rem; }
.mock__phone .mock__line--lg { width: 90%; }
.mock__notch { position: absolute; top: 0.55rem; left: 50%; width: 2.25rem; height: 0.35rem; margin-left: -1.125rem; border-radius: 999px; background: var(--line); }
@media (max-width: 30rem) { .mock__phone { width: 7rem; } }

/* ---------- pillars ---------- */
.pillars { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.pillar__icon {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1.1rem;
  border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent);
}
.pillar__title { font-size: 1.1875rem; margin-bottom: 0.5rem; }
.pillar p { font-size: 0.9875rem; line-height: 1.6; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem);
}
.card--link { color: var(--ink-2); text-decoration: none; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.card--link:hover { color: var(--ink-2); border-color: var(--line-2); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: no-preference) { .card--link:hover { transform: translateY(-2px); } }
.card__icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.25rem;
  border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent);
}
.card__title { font-size: 1.3125rem; margin-bottom: 0.6rem; }
.card > p { margin-bottom: 1.25rem; }
.card__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; font-weight: 700; color: var(--accent); }
.card__more .icon { width: 1.1em; height: 1.1em; transition: transform 0.15s ease; }
.card--link:hover .card__more .icon { transform: translateX(3px); }

/* ---------- steps (home) ---------- */
.steps { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step__num {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-bottom: 1rem;
  border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 800; font-size: 0.9375rem;
}
.step__title { font-size: 1.1875rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.9875rem; line-height: 1.6; }

/* ---------- inner page heading ---------- */
.page-head { padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem); }
.page-head--404 { min-height: 55vh; }
.page-title { font-size: clamp(2.25rem, 5.5vw, 3.5rem); letter-spacing: -0.03em; font-weight: 800; margin-bottom: 1.1rem; }
.page-lead { font-size: clamp(1.0938rem, 2vw, 1.2rem); max-width: 42rem; }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.jump a {
  display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; background: var(--surface);
}
.jump a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- services page ---------- */
.services { display: grid; gap: 1.25rem; }
.service {
  display: grid; gap: 1.5rem 3rem; scroll-margin-top: 6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
@media (min-width: 56rem) { .service { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.service__title { font-size: clamp(1.5rem, 3vw, 1.85rem); margin-bottom: 0.9rem; }
.service__detail { padding: 1.5rem; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); align-self: start; }
.service__sub { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }

/* ---------- tick lists ---------- */
.ticks { list-style: none; display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-left: 1.75rem; line-height: 1.55; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--accent-soft) var(--tick) center / 72% no-repeat;
}

/* ---------- process page ---------- */
.timeline { list-style: none; display: grid; }
.timeline__item { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; padding-bottom: 2.25rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: 1.5rem; top: 3.25rem; bottom: 0.5rem; width: 2px; margin-left: -1px; background: var(--line); }
.timeline__item:last-child::before { display: none; }
.timeline__num {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 1.125rem;
}
.timeline__body { padding-top: 0.5rem; }
.timeline__title { font-size: 1.375rem; margin-bottom: 0.5rem; }

.prep { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .prep { grid-template-columns: repeat(2, 1fr); } }
.prep__item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.prep__item .pillar__icon { margin-bottom: 0; }
.prep__title { font-size: 1.125rem; margin-bottom: 0.35rem; }
.prep__item p { font-size: 0.9875rem; line-height: 1.6; }

/* ---------- panels ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.25rem); }
.panel__title { font-size: 1.1875rem; margin-bottom: 1.1rem; }
.panel__title--lg { font-size: clamp(1.5rem, 3vw, 1.85rem); margin-bottom: 0.6rem; }

/* ---------- about page ---------- */
.about { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
@media (min-width: 56rem) { .about { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.about__copy { font-size: 1.125rem; max-width: 40rem; }
@media (min-width: 56rem) { .about__card { position: sticky; top: 6.5rem; } }
.facts { margin: 0; }
.facts__row { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.facts__row dt { font-weight: 700; color: var(--muted); font-size: 0.9375rem; }
.facts__row dd { margin: 0; color: var(--ink); font-weight: 600; word-break: break-word; }

/* ---------- contact page ---------- */
.contact { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 56rem) { .contact { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.contact__email { font-size: clamp(1.15rem, 3vw, 1.5rem); font-weight: 800; letter-spacing: -0.01em; word-break: break-word; margin-bottom: 0.5rem; }
.contact__email a { text-decoration: none; }
.contact__email a:hover { text-decoration: underline; }
.contact__note { margin-bottom: 1.5rem; }
.contact__where { display: flex; align-items: flex-start; gap: 0.6rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }
.contact__where .icon { margin-top: 0.2em; color: var(--accent); }
.contact__small { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--muted); }

/* ---------- call to action ---------- */
.cta { padding-block: 0 clamp(3.5rem, 8vw, 6rem); }
.section--tint + .cta { padding-top: clamp(3.5rem, 8vw, 6rem); }
.cta__box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: calc(var(--radius) + 6px);
  background: radial-gradient(40rem 18rem at 100% 0%, rgba(36, 70, 214, 0.55), transparent 70%), var(--dark);
  color: var(--on-dark-2);
}
.cta__title { color: var(--on-dark); font-size: clamp(1.6rem, 3.5vw, 2.25rem); margin-bottom: 0.6rem; }
.cta__text { max-width: 36rem; font-size: 1.0625rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-top: clamp(3rem, 6vw, 4rem); font-size: 0.9875rem; }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 48rem) { .footer__grid { grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; } }
.footer__about { margin-top: 1rem; max-width: 26rem; color: var(--muted); }
.footer__title { font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-bottom: 1rem; }
.footer__links, .footer__contact { list-style: none; display: grid; gap: 0.6rem; }
.footer__links a { color: var(--ink-2); text-decoration: none; }
.footer__links a:hover { color: var(--accent); }
.footer__contact li { display: flex; align-items: flex-start; gap: 0.6rem; }
.footer__contact .icon { color: var(--accent); margin-top: 0.25em; }
.footer__contact a { word-break: break-word; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted);
}
.footer__base p { margin: 0; }

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