/* The NextFound Academics website (templates/site/, templates/marketing.html; its pages and their words are in
   control_plane/site_content.py).

   A directory, not a brochure: white ground, square corners, hairline rules, compact type, and a great many small,
   plain links, so that a visitor can find the page they came for. One colour moment (the brand red) is kept for the
   main action and for the numbers that order a list. There are no pictures of the product and no decoration.
   IBM Plex Sans throughout, self-hosted (static/fonts/): the Content-Security-Policy allows nothing from outside.
   The privacy statement and the terms use it too (.legal), inside this frame or the plain one (site/_plain.html). */

@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2");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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2");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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2");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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  --ink: #0A1424;          /* headings, rules that carry weight, the dark bands */
  --ink-2: #13213A;
  --ink-line: #24334D;     /* rules on ink */
  --white: #FFFFFF;
  --mist: #F4F6F9;         /* the quiet alternate band */
  --rule: #D8DDE6;         /* hairlines on white */
  --signal: #D42A20;       /* the brand red: the main action, and the numbers of a list */
  --signal-deep: #B3221A;
  --text: #3A4556;         /* reading text */
  --muted: #586273;        /* secondary text (4.5:1 on white and on mist) */
  --on-ink: #C3CBD8;       /* reading text on ink */
  --ok: #17784A;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --frame: 1280px;
  --gutter: clamp(20px, 4vw, 32px);
  --mast: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--mast) + 24px); }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--ink); }
a:hover { color: var(--signal); }
.frame { width: min(var(--frame), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--ink); }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.ic { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- actions */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 0; background: none; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn .ic { width: 18px; height: 18px; }
.btn--signal { background: var(--signal); color: var(--white); }
.btn--signal:hover { background: var(--signal-deep); color: var(--white); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: #8E9AAE; color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.acts { display: flex; flex-wrap: wrap; gap: 12px; }
.reach-alt { display: contents; }
/* "Read more": a plain link with an arrow that steps forward when pointed at */
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.more .ic { transition: transform .15s ease; }
.more:hover .ic, a:hover > .more .ic, .tile--link:hover .more .ic, .rows a:hover .ic { transform: translateX(3px); }
.eyebrow { margin: 0; color: var(--signal); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.fine { margin: 24px 0 0; color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- the utility bar and the masthead */
.util { background: var(--ink); color: var(--on-ink); font-size: 13px; }
.util__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; }
.util__bar > span { padding: 10px 0; }
.util b { color: var(--white); font-weight: 600; }
.util nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.util a { padding: 10px 0; color: var(--on-ink); text-decoration: none; }
.util a:hover, .util a.util__main { color: var(--white); }

.mast { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--rule); }
.mast__bar { display: flex; align-items: center; gap: 32px; min-height: var(--mast); }
.mast__logo { display: flex; align-items: center; flex: none; min-height: 44px; text-decoration: none; }
.mast__logo img { display: block; height: 30px; width: auto; }
/* the lockup: the product's name beside NextFound's mark, at the wordmark's own weight, so the two read as one name.
   Two links that look like one: the mark opens the company's website, the product's name this website's home. */
.lockup__mark { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.lockup__product { margin-left: 10px; padding-left: 12px; border-left: 2px solid var(--signal); color: var(--ink); font-size: 24px; font-weight: 600; letter-spacing: -.03em; line-height: 28px; text-decoration: none; }
a.lockup__product:hover { color: var(--ink); text-decoration: none; }
.mast__toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; background: none; cursor: pointer; }
.mast__burger, .mast__burger::before, .mast__burger::after { display: block; width: 22px; height: 2px; margin: 0 auto; background: var(--ink); content: ""; transition: transform .2s ease, background-color .2s ease; }
.mast__burger { position: relative; }
.mast__burger::before { position: absolute; top: -7px; }
.mast__burger::after { position: absolute; top: 7px; }
.is-open .mast__burger { background: transparent; }
.is-open .mast__burger::before { transform: translateY(7px) rotate(45deg); }
.is-open .mast__burger::after { transform: translateY(-7px) rotate(-45deg); }

.nav { display: flex; flex: 1; align-items: center; gap: 24px; }
.nav__list { display: flex; flex: 1; }
.nav__item { display: flex; align-items: center; }
.nav__link { display: flex; align-items: center; height: var(--mast); padding: 0 12px; border-block: 2px solid transparent; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav__item--more .nav__link { padding-right: 2px; }
.nav__link:hover { color: var(--signal); }
.nav__link[aria-current] { border-bottom-color: var(--signal); }
.nav__more { display: grid; place-items: center; width: 22px; height: var(--mast); margin-right: 6px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.nav__more .ic { width: 12px; height: 12px; transition: transform .15s ease; }
.nav__item.is-open .nav__more .ic { transform: rotate(180deg); }
.nav__cta { min-height: 44px; padding: 0 20px; }

/* a menu entry's panel: every page under it, in columns */
.panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--ink); box-shadow: 0 24px 32px -24px rgba(10, 20, 36, .28); }
.nav__item.is-open > .panel { display: block; }
.panel__grid { display: grid; grid-template-columns: 260px repeat(3, minmax(0, 1fr)); gap: 0 40px; padding-block: 28px 32px; }
.panel__lead { padding-right: 32px; border-right: 1px solid var(--rule); }
.panel__lead b { display: block; color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.panel__lead p { margin: 8px 0 8px; color: var(--muted); font-size: 14px; }
.panel__head { margin: 0 0 8px; min-height: 20px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.panel__col a { display: block; padding: 8px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.panel__col a b { display: block; color: var(--ink); font-size: 15px; font-weight: 500; }
.panel__col a:hover b { color: var(--signal); }
.panel__col a span { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
@media (min-width: 1101px) and (hover: hover) {
  .nav__item--more:hover > .panel { display: block; }
}

/* ---------------------------------------------------------------- where the page sits */
.crumbs { border-bottom: 1px solid var(--rule); font-size: 13px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 8px; padding: 10px 0; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.crumbs li + li::before { content: "/"; color: var(--rule); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--signal); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------------------------------------------------------------- the head of a page */
.head { border-bottom: 1px solid var(--rule); }
.head .frame { display: flex; flex-direction: column; gap: 20px; padding-block: clamp(40px, 6vw, 72px); }
.head h1 { max-width: 20ch; }
.head__lead { margin: 0; max-width: 62ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.55; }
.head .acts { margin-top: 8px; }

/* the home page: the promise, and beside it the pages people come looking for */
.hero { border-bottom: 1px solid var(--rule); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 64px; align-items: start; padding-block: clamp(40px, 6vw, 72px); }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__copy h1 { max-width: 14ch; }
.hero__lead { margin: 0; max-width: 56ch; font-size: 1.125rem; line-height: 1.55; }
.hero__note { margin: 0; color: var(--muted); font-size: 14px; }

/* a list of links, one to a row */
.rows { border: 1px solid var(--rule); border-top: 3px solid var(--ink); background: var(--white); }
.rows__head { margin: 0; padding: 14px 20px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rows a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 8px 20px; border-top: 1px solid var(--rule); color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.rows a:hover { background: var(--mist); color: var(--signal); }
.rows a span { display: block; }
.rows a small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.rows .ic { transition: transform .15s ease; }
.rows--plain { border: 0; border-bottom: 1px solid var(--rule); }
.rows--plain a { padding-inline: 0; }
.rows--plain a:hover { background: none; }

/* ---------------------------------------------------------------- sections */
.sec { padding-block: clamp(48px, 6vw, 72px); }
.sec--mist { background: var(--mist); border-block: 1px solid var(--rule); }
.sec--tight { padding-block: clamp(32px, 4vw, 48px); }
.sec + .sec:not(.sec--mist) { border-top: 1px solid var(--rule); }
.sec--mist + .sec:not(.sec--mist) { border-top: 0; }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; margin-bottom: 32px; }
.sec__head p { margin: 8px 0 0; max-width: 62ch; }
.sec__sub { margin: 0 0 16px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* a ruled grid of tiles: each a title, a line, and where it leads */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 1px 1px 0; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { display: flex; flex-direction: column; gap: 8px; margin: 0 -1px -1px 0; padding: 24px; border: 1px solid var(--rule); background: var(--white); color: var(--text); text-decoration: none; }
.tile__num { color: var(--signal); font-size: 13px; font-weight: 600; }
.tile h3 a { text-decoration: none; }
.tile p { margin: 0; font-size: 14px; }
.tile .more { margin-top: auto; padding-top: 8px; min-height: 0; font-size: 14px; }
.tile--link:hover { position: relative; border-color: var(--ink); color: var(--text); }
.tile--link:hover h3 { color: var(--signal); }
.tile__links { display: flex; flex-direction: column; margin-top: 8px; border-top: 1px solid var(--rule); }
.tile__links a { padding: 6px 0; color: var(--text); font-size: 14px; text-decoration: none; }
.tile__links a:hover { color: var(--signal); }

/* a list with a small square before each line */
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 20px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--signal); }
.ticks b { display: block; color: var(--ink); font-weight: 600; }
.ticks--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 40px; }

/* numbered steps */
.steps { counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px minmax(0, 2fr) minmax(0, 3fr); gap: 4px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--signal); font-size: 14px; font-weight: 600; }
.steps b { color: var(--ink); font-size: 1.0625rem; font-weight: 600; }

/* the commitments, as the clauses of a standard */
.clauses { border-top: 2px solid var(--ink); }
.clause { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.clause__num { color: var(--signal); font-size: 14px; font-weight: 600; }
.clause h3 { margin-bottom: 4px; }
.clause p { margin: 0; font-size: 15px; }
.clause .more { min-height: 0; font-size: 14px; }
.article { padding-block: 40px; border-bottom: 1px solid var(--rule); }
.article:last-child { border-bottom: 0; padding-bottom: 0; }
.article__tag { display: flex; gap: 12px; margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.article__tag b { color: var(--signal); }
.article h2 { margin-bottom: 12px; }
.article > p { max-width: 68ch; }
.article .sec__sub { margin-top: 24px; }

/* a page with an index down its side */
.railed { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.rail { position: sticky; top: calc(var(--mast) + 24px); }
.rail p { margin: 0 0 12px; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rail a { display: flex; gap: 12px; padding: 8px 0 8px 12px; border-left: 2px solid var(--rule); color: var(--text); font-size: 14px; text-decoration: none; }
.rail a:hover { color: var(--signal); }
.rail a.is-here { border-left-color: var(--signal); color: var(--ink); font-weight: 600; }
.rail a span:first-child:not(:last-child) { color: var(--muted); font-variant-numeric: tabular-nums; }

/* a long index (the sections of a legal document): tighter, and it scrolls by itself if it is taller than the window */
.rail--long { max-height: calc(100vh - var(--mast) - 48px); overflow-y: auto; }
.rail--long a { padding-block: 5px; font-size: 13px; line-height: 1.4; }

/* a legal document (privacy.html, terms.html): plain reading text under ruled, numbered headings */
.legal { max-width: 76ch; }
.legal > p:first-child { margin-bottom: 32px; color: var(--muted); font-size: 15px; }
.legal h2 { margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 1.375rem; scroll-margin-top: calc(var(--mast) + 24px); }
.legal h3 { margin: 24px 0 8px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; }
.legal ul, .legal ol { margin: 0 0 1em; padding-left: 20px; list-style: square; }
.legal ol { list-style: decimal; }
.legal li { margin: 6px 0; }
.legal li::marker { color: var(--signal); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { text-decoration-color: var(--signal); text-underline-offset: 3px; }
.legal-box { margin: 0 0 8px; padding: 20px 24px; border: 1px solid var(--rule); border-top: 3px solid var(--ink); background: var(--mist); }
.legal-box p { margin: 4px 0; font-size: 15px; }
.legal-box .ph { color: var(--signal-deep); font-weight: 600; }
.legal-table { width: 100%; margin: 12px 0 24px; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 14.5px; }
.legal-table th, .legal-table td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.legal-table th { color: var(--ink); font-weight: 600; }

/* the plain frame (site/_plain.html): the lockup alone, and nothing that scrolls with the page */
.plain { --mast: 0px; }
.mast--plain { position: static; }
.mast--plain .mast__bar { min-height: 64px; }

/* a topic: its statement on the left, what a school can expect on the right */
.topic { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 48px; padding-block: 32px; border-bottom: 1px solid var(--rule); }
.topic:first-child { padding-top: 0; }
.topic:last-child { border-bottom: 0; padding-bottom: 0; }
.topic h2 { margin-bottom: 8px; font-size: 1.5rem; }
.topic p { margin: 0; }

/* two columns of a section */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; align-items: start; }
.pair--lead { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.pair h2 + p { margin-top: 8px; }

/* a short run of links, side by side */
.linkset { display: flex; flex-wrap: wrap; gap: 0 32px; }

.note { margin: 0; padding: 16px 20px; border-left: 3px solid var(--ink); background: var(--mist); font-size: 15px; }
.note a { font-weight: 600; }

/* the page before and the page after */
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 24px 0; color: var(--ink); text-decoration: none; }
.pager a + a { align-items: flex-end; padding-left: 24px; border-left: 1px solid var(--rule); text-align: right; }
.pager a:only-child { grid-column: 1 / -1; }
.pager small { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pager b { font-size: 1.0625rem; font-weight: 600; }
.pager a:hover b { color: var(--signal); }

/* ---------------------------------------------------------------- questions */
.qa { border-top: 2px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { position: relative; padding: 18px 48px 18px 0; color: var(--ink); font-size: 1.0625rem; font-weight: 600; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 2px; background: var(--ink); }
.qa summary::before { content: ""; position: absolute; right: 12px; top: calc(50% - 6px); width: 2px; height: 14px; background: var(--ink); transition: transform .2s ease; }
.qa details[open] summary::before { transform: scaleY(0); }
.qa summary:hover { color: var(--signal); }
.qa details p { margin: 0 0 20px; max-width: 72ch; }
.qa-group + .qa-group { margin-top: 48px; }
.qa-group h2 { margin-bottom: 16px; font-size: 1.5rem; }

/* ---------------------------------------------------------------- contact */
.contact-card { padding: 32px; background: var(--ink); color: var(--on-ink); }
.contact-card h2 { margin-bottom: 12px; color: var(--white); font-size: 1.5rem; }
.contact-ways { margin: 20px 0 24px; border-top: 1px solid var(--ink-line); }
.contact-ways li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ink-line); }
.contact-ways .ic { width: 22px; height: 22px; color: var(--white); }
.contact-ways b { display: block; color: var(--on-ink); font-size: 13px; font-weight: 500; }
.contact-ways a { color: var(--white); font-size: 1.0625rem; font-weight: 600; text-decoration: none; word-break: break-all; }
.contact-ways a:hover { text-decoration: underline; }
.contact-card p:last-child { margin: 24px 0 0; font-size: 14px; }

/* ---------------------------------------------------------------- the closing band and the footer */
.closing { background: var(--ink); color: var(--on-ink); }
.closing__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: start; padding-block: clamp(48px, 6vw, 72px); }
.closing h2 { color: var(--white); }
.closing p { max-width: 60ch; }
.closing__num { margin: 20px 0 0; font-size: 14px; }

.foot { background: var(--ink); color: var(--on-ink); border-top: 1px solid var(--ink-line); }
.foot__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 24px; padding-block: 48px 40px; }
.foot h2 { margin-bottom: 10px; color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.foot__grid a { display: block; padding: 5px 0; color: var(--on-ink); font-size: 14px; text-decoration: none; }
.foot a:hover { color: var(--white); }
.foot__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 20px 28px; border-top: 1px solid var(--ink-line); font-size: 13px; }
.foot__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.foot__lockup { display: flex; align-items: center; }
.foot__brand img { display: block; height: 24px; width: auto; }
.foot .lockup__product, .foot a.lockup__product:hover { color: var(--white); font-size: 20px; line-height: 24px; }
.foot .lockup__mark { min-height: 0; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__legal a { color: var(--on-ink); text-decoration: none; }

/* ---------------------------------------------------------------- "Book a walkthrough" (site/_interest.html, site.js) */
.interest { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); margin: auto; padding: 0; border: 0; border-top: 3px solid var(--ink);
  background: var(--white); color: var(--text); overflow: auto; box-shadow: 0 32px 64px -24px rgba(10, 20, 36, .5); }
.interest::backdrop { background: rgba(10, 20, 36, .62); }
.interest[open] { animation: interest-in .2s ease-out both; }
.interest__panel { position: relative; padding: 32px 32px 26px; }
.interest__x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.interest__x:hover { background: var(--mist); color: var(--ink); }
.interest__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.interest__kicker { margin: 0 0 8px; color: var(--signal); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.interest h2 { margin: 0 40px 6px 0; font-size: 1.5rem; }
.interest__lead { margin: 0 0 22px; font-size: 15px; }
.interest__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.interest__grid label { display: grid; gap: 6px; color: var(--ink); font-size: 13px; font-weight: 600; }
.interest__grid input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #8E9AAE; border-radius: 0; background: var(--white); color: var(--ink); font: 400 16px/1.2 var(--font); }
.interest__grid input:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.interest__grid input::placeholder { color: #7C8798; }
.interest__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.interest__error { margin: 14px 0 0; padding: 10px 12px; border-left: 3px solid var(--signal); background: #FDF2F1; color: var(--ink); font-size: 14px; }
.interest__send { width: 100%; margin-top: 20px; }
.interest__send.is-busy { opacity: .75; cursor: progress; }
.interest__fine { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.interest__fine a { color: inherit; }
.interest__done { text-align: center; padding-top: 40px; padding-bottom: 32px; }
.interest__done h2 { margin: 16px 0 6px; outline: none; }
.interest__done p { margin: 0 0 24px; }
.interest__tick { display: inline-grid; place-items: center; width: 52px; height: 52px; background: #E8F4EE; color: var(--ok); }
.interest__tick svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes interest-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- narrower screens */
@media (max-width: 1100px) {
  .mast__toggle { display: grid; place-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px; max-height: calc(100vh - var(--mast)); max-height: calc(100dvh - var(--mast));
    padding: 0 var(--gutter) 24px; overflow-y: auto; background: var(--white); border-bottom: 1px solid var(--ink); }
  .is-open .nav { display: flex; }
  .nav__list { flex-direction: column; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
  .nav__link { flex: 1; height: 52px; padding: 0; border: 0; font-size: 16px; }
  .nav__link[aria-current] { color: var(--signal); }
  .nav__more { width: 52px; height: 52px; margin: 0; }
  .nav__more .ic { width: 14px; height: 14px; }
  .panel { position: static; flex-basis: 100%; border: 0; box-shadow: none; }
  .panel .frame { width: 100%; }
  .panel__grid { grid-template-columns: 1fr; padding-block: 0 16px; }
  .panel__lead, .panel__col a span { display: none; }
  .panel__head { margin-top: 12px; min-height: 0; }
  .panel__head:empty { display: none; }
  .panel__col a { padding: 10px 0; }
  /* without JavaScript nothing can open the menu, so it is simply shown: the sections' own pages list everything */
  .no-js .mast__bar { flex-wrap: wrap; }
  .no-js .mast__toggle, .no-js .nav__more { display: none; }
  .no-js .nav { display: flex; position: static; flex-basis: 100%; max-height: none; padding-inline: 0; border: 0; }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero__grid, .closing__grid, .pair, .pair--lead, .topic, .railed { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticks--cols { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; }
  .rail--long { max-height: none; }
  .rail nav, .rail > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); }
  .steps li span { grid-column: 2; }
  .util nav { display: none; }
}
@media (max-width: 640px) {
  .tiles, .tiles--4, .tiles--2 { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clause { grid-template-columns: 32px minmax(0, 1fr); }
  .clause .more { grid-column: 2; }
  .acts .btn { flex: 1 1 auto; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager a + a { align-items: flex-start; padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); text-align: left; }
  .mast__logo img { height: 26px; }
  .lockup__product { font-size: 21px; }
  .interest__panel { padding: 26px 20px 22px; }
  .interest__grid { grid-template-columns: 1fr; }
  .interest h2 { font-size: 1.3rem; }
  .contact-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .util, .mast, .closing, .foot, .interest, .crumbs { display: none; }
}
