@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("fonts/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

/* Colours from the AssetFloat brand kit (tokens.json v3). */
:root {
  color-scheme: light dark;
  --page: #ffffff;
  --soft: #f4f7fa;
  --ink: #0b2545;
  --ink-2: #2c4160;
  --muted: #546579;
  --line: #d6dfe8;
  --control: #7b8a9b;
  --link: #17407a;
  --button: #0b2545;
  --button-hover: #17407a;
  --on-button: #ffffff;
  --navy: #0b2545;
  --coral: #ff5a5f;
  --focus: #3b7be0;
  --error: #9b1c1c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0b1626;
    --soft: #122238;
    --ink: #f1f5f9;
    --ink-2: #d3dde8;
    --muted: #9fb0c2;
    --line: #2a3f5a;
    --control: #7f93a9;
    --link: #a9c4e4;
    --button: #d9e6f5;
    --button-hover: #a9c4e4;
    --on-button: #0b1626;
    --focus: #8db8f0;
    --error: #ffb4ab;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.6 "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
p { margin: 0 0 1em; }
h1, h2 {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 0.6em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 0.7em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.wrap { width: min(100% - 32px, 1080px); margin: 0 auto; }
.wrap.narrow > * { max-width: 680px; }
@media (min-width: 768px) { .wrap { width: min(100% - 64px, 1080px); } }

/* header */
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.top .logo img { width: 140px; }
.top .logo .dark { display: none; }
.top-link { font-weight: 600; font-size: 15px; text-decoration: none; }
.top-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { .top .logo .light { display: none; } .top .logo .dark { display: block; } }

section { padding: 56px 0; }
@media (min-width: 900px) { section { padding: 80px 0; } }

/* intro + form */
.intro { padding-top: 32px; }
.intro-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .intro { padding-top: 56px; } .intro-grid { grid-template-columns: 1fr 380px; gap: 72px; } }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); max-width: 36em; }

.contact {
  background: var(--soft);
  border-radius: 12px;
  padding: 28px 24px;
}
.contact h2 { font-size: 1.3rem; margin-bottom: 0.4em; }
.contact > p { color: var(--ink-2); font-size: 15px; margin-bottom: 20px; }
.contact label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.contact input {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  padding: 11px 12px;
  border: 1px solid var(--control);
  border-radius: 8px;
  background: var(--page);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.contact input[aria-invalid="true"] { border-color: var(--error); }
.contact button {
  width: 100%;
  margin-top: 4px;
  padding: 13px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--button);
  color: var(--on-button);
  font: 600 16px/1.3 "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
  transition: background-color 120ms ease-out, transform 80ms ease-out;
}
.contact button:hover { background: var(--button-hover); }
.contact button:active { transform: scale(0.98); }
.contact button[disabled] { opacity: 0.6; cursor: default; }
.form-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.form-note.error { color: var(--error); }
.contact.sent label, .contact.sent input, .contact.sent button, .contact.sent > p:not(.form-note) { display: none; }
.contact.sent .form-note { margin: 0; font-size: 16px; color: var(--ink); }

/* problem */
.problem { border-top: 1px solid var(--line); }
.problem p { color: var(--ink-2); }

/* schematic: the one dark block on the page */
.how { background: var(--navy); padding: 48px 0 40px; }
.how h2 { color: #d9e6f5; font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }
.how img { width: 100%; max-width: 1080px; margin: 0 auto; }
@media (max-width: 700px) { .how img { max-width: 420px; } }

/* examples, who, next */
.examples p, .who p, .next p { color: var(--ink-2); }
.split { display: grid; gap: 8px; }
@media (min-width: 900px) { .split { grid-template-columns: 320px 1fr; gap: 72px; } .split > div { max-width: 640px; } }
.who { background: var(--soft); }

.next h2 { margin-bottom: 0.5em; }
.button-accent {
  display: inline-block;
  margin-top: 8px;
  padding: 13px 22px;
  border-radius: 8px;
  background: var(--coral);
  color: #0b2545;
  font-weight: 600;
  text-decoration: none;
  transition: filter 120ms ease-out;
}
.button-accent:hover { filter: brightness(1.06); }

footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 24px 0 32px; font-size: 14px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .contact button, .button-accent { transition: none; }
  .contact button:active { transform: none; }
}
