/*
  website.css — the marketing layer for apalos.no.

  Deliberately thin, and deliberately built on the shared RCL's tokens (--apalos-navy-*,
  --apalos-green-*, --apalos-warm-*, --apalos-font-sans) with website-only editorial surfaces defined by design-manual doc 04.
  site.css supplies the tokens, the fonts, the skip link and an app-chrome component vocabulary
  (.apalos-btn, .apalos-card, .apalos-field, .apalos-input); this file adds only what a marketing
  page needs and an admin surface does not — a header, an editorial type scale, page bands.

  ⚠ THE DESIGN MANUAL IS THE SPEC. Four of its documents govern this file directly:

    doc 05 — typography     the type scale below IS its table. Do not invent a size.
    doc 06 — layout+spacing the container ladder and --web-space-* below ARE its two scales.
    doc 07 — components     the 56px topbar and 44x44 nav target. The website-only Frame logo
                            trial is recorded in docs/webdesignimplementation/frame-logo.md.
    doc 10 — cookie-cutter  the card move (1px warm-200 at rest -> 2px navy-900 on hover, INWARD).
                            It also BANS shadows: "No skeumorphic shadows on anything."

  The chrome is a port of prototypes/prototype-02-landing.html (lines 50-83) — read that before
  redesigning the header; you are probably re-deriving it. Hand-written CSS vs the Tailwind
  standalone CLI is an open founder decision — see docs/designtooling.md.
*/

:root {
  /* Phase 83 founder-approved website preview: white reading surfaces, selective ivory.
     These do not change the shared product-token ramp; see doc 04. */
  --web-surface: #fff;
  --web-ivory: #f4efe5;

  /* The design-token ramp's green-800 (04-color-system.md), absent from the RCL's site.css token
     subset. App-local extension rather than an RCL edit; raise into the shared ramp via 48b. */
  --web-green-800: #0a5c47;

  /* navy-300 is not in the RCL ramp. ⚠ An unresolvable var() without a fallback makes the
     declaration invalid and the property inherit — which can render text unreadable. Rule: every
     var() here must either name a token that exists (RCL or this file) or carry a fallback;
     EveryCustomPropertyReferenceResolves asserts it. */
  --web-navy-300: #8e9dbc;

  /* --- container ladder (doc 06 "Container widths") --------------------------
     Every band uses exactly one of these. "Full" is not a token — it is the absence of a max-width,
     with side padding only; doc 06 assigns it to navigation bars and hero bands. */
  --web-w-prose: 44rem;    /* 704px  — ~65ch at 17px. Long-form reading ONLY.        */
  --web-w-content: 64rem;  /* 1024px — doc 06's DEFAULT page container.              */
  --web-w-wide: 80rem;     /* 1280px — tier ladders, the layer diagram, wide tables. */

  /* --- spacing scale (doc 06 "Spacing scale") --------------------------------
     The nine sanctioned steps, and ONLY those nine — an off-scale value should be unspellable.
     Doc 06: "If layout needs more than space-24, the content is the problem, not the spacing."
     Gate: SpacingValuesAreOnTheDesignManualScale. */
  --web-space-1: 0.25rem;   /*  4px */
  --web-space-2: 0.5rem;    /*  8px */
  --web-space-3: 0.75rem;   /* 12px */
  --web-space-4: 1rem;      /* 16px */
  --web-space-6: 1.5rem;    /* 24px */
  --web-space-8: 2rem;      /* 32px */
  --web-space-12: 3rem;     /* 48px — "Major section gap" / "48px between semantic blocks" */
  --web-space-16: 4rem;     /* 64px — "Hero vertical padding" */
  --web-space-24: 6rem;     /* 96px — the ceiling. Nothing may exceed this. */

  /* --- type scale (doc 05 "Type scale") --------------------------------------
     Doc 05's roles, on its 1/16rem grid — the same grid the RCL uses.

     ⚠ WEIGHTS: 400/500/600/700/800 are all self-hosted (500 + 800 vendored 2026-08-28, founder
     decision closing iter-48b.2 §3.4-D). A weight OUTSIDE that set does not synthesize — CSS
     matching silently picks the nearest real face — so use only hosted weights; the
     EveryFontWeightTheStylesheetAsksForIsSelfHosted gate enforces it. The Frame logo's lettering
     is outlined in its SVG and does not depend on a runtime font weight. */
  --web-text-display-l: 3.5rem;   /* 56px */
  --web-text-display-m: 2.75rem;  /* 44px */
  --web-text-h1: 2.25rem;         /* 36px */
  --web-text-h2: 1.75rem;         /* 28px */
  --web-text-h3: 1.375rem;        /* 22px */
  --web-text-h4: 1.125rem;        /* 18px */
  --web-text-body-l: 1.0625rem;   /* 17px — doc 05's recommended body size */
  --web-text-body: 1rem;          /* 16px */
  --web-text-body-s: 0.9375rem;   /* 15px */
  --web-text-meta: 0.875rem;      /* 14px — also doc 05's floor for interactive labels */
  --web-text-micro: 0.75rem;      /* 12px — the floor. Sparse use only, never sentences. */

  /* Chrome dimensions. doc 07: "Height: 56px (topbar token)". The token for this already existed in
     src/frontend/design-tokens/apalos-tokens.css as --apalos-topbar-height, in a file no surface
     imports; this is the reachable copy. */
  --web-topbar-height: 3.5rem;  /* 56px */
  --web-target-min: 2.75rem;    /* 44px — doc 06's touch-target design target */

  /* The one sanctioned amount of motion (prototype-02-landing.html:80). The RCL's global
     prefers-reduced-motion block already neutralises it, so no per-rule guard is needed. */
  --web-transition: 120ms ease-out;
}

/* Accessibility override, scoped to this site: the RCL's .apalos-btn--primary is white text on
   green-600 (3.2:1 — fails WCAG AA 4.5:1). The design manual's ship default for white button text
   is green-700 (5.3:1). Fixing the RCL itself changes Compliance/Ideas/Portal admin surfaces too,
   so that is flagged for a founder-approved RCL fix; the public site must not wait for it. */
.apalos-web .apalos-btn--primary {
  background: var(--apalos-green-700);
  border-color: var(--apalos-green-700);
}

.apalos-web .apalos-btn--primary:hover {
  background: var(--web-green-800);
  border-color: var(--web-green-800);
}

/* Short pages (the /kontakt mailto fallback, /feil) otherwise leave the dark footer floating in
   page-background space; a flex column pins it to the viewport bottom instead. */
body.apalos-web {
  background: var(--web-surface);
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  /* doc 05: "Apalos recommended body size is 17px, not 16px."
     ⚠ Scoped to .apalos-web, NOT the RCL — site.css is shared with four admin surfaces. Same
     pattern as the button override above. */
  font-size: var(--web-text-body-l);
  line-height: 1.55;
}

body.apalos-web main {
  flex: 1;
}

/*
  ⚠ padding-INLINE, never the `padding` shorthand. .web-frame is composed with classes of equal
  specificity (e.g. .web-header-row); a later `padding` shorthand silently zeroes their vertical
  padding. A logical-property longhand cannot reach the block axis.
*/
.web-frame {
  max-width: var(--web-w-content);
  margin: 0 auto;
  padding-inline: var(--web-space-4);
}

/* Prose measure. Doc 06 keeps long-form reading at ~65ch even inside a wider frame — 1024px of
   unbroken text is ~95 characters a line and reads worse than the 736px it replaced. Applied to the
   text INSIDE a frame, never to the frame. */
.web-measure {
  max-width: var(--web-w-prose);
}

.web-frame--wide {
  max-width: var(--web-w-wide);
}

/* Doc 06's "Full" needs no class: a BAND is full-bleed by not being framed at all (the header,
   hero and footer bands), while the row INSIDE a band sits on --wide per prototype-02. A
   .web-frame--full class existed briefly and had zero users — removed rather than kept as
   vocabulary, per this file's own no-dead-classes standard. */

/* Doc 06's side-padding ladder: 16 / 24 / 32 / 48px. Two of the four steps existed before, at the
   wrong breakpoints. */
@media (min-width: 40rem) {
  .web-frame {
    padding-inline: var(--web-space-6);
  }
}

@media (min-width: 48rem) {
  .web-frame {
    padding-inline: var(--web-space-8);
  }
}

@media (min-width: 80rem) {
  .web-frame {
    padding-inline: var(--web-space-12);
  }
}

/* --- header ---------------------------------------------------------------- */
/*
  Ported from prototypes/prototype-02-landing.html:54-83, which specified this header before the
  site was built and was never used. Three things it gets right that the shipped header did not:
  the nav bar sits on the WIDE container (doc 06 "Full ... Navigation bars"), it has a real height,
  and the current section is marked visibly rather than only in aria-current.
*/

.web-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--apalos-warm-200);
  background: var(--web-surface);
}

.web-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--web-space-6);
  min-height: var(--web-topbar-height);
}

.web-wordmark {
  color: var(--apalos-navy-900);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: var(--web-target-min);
}

/* The 180px logo canvas includes clear space and fits the 56px header. Keep the complete
   outlined lockup proportional; the slogan belongs in the larger sharing artwork. */
.web-wordmark .apalos-logo__horizontal {
  display: block;
  width: 11.25rem;
  height: auto;
}

.web-wordmark:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: var(--web-space-1);
}

.web-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--web-space-4);
  font-size: var(--web-text-body-s);
  /* 500 per the prototype and doc 05's nav/meta role — a REAL 500 since 2026-08-28. */
  font-weight: 500;
}

/* Doc 06 touch-target table: "Nav item ... 44x44". min-height supplies the hit area; the text
   stays its size. */
.web-nav a {
  color: var(--apalos-navy-800);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--web-target-min);
  border-bottom: 2px solid transparent;
  transition: border-color var(--web-transition), color var(--web-transition);
}

/* Current section, marked by WEIGHT AND A RULE, never colour alone (doc 03). */
.web-nav a[aria-current="page"] {
  font-weight: 700;
  border-bottom-color: var(--apalos-navy-900);
}

.web-nav a:hover {
  color: var(--apalos-green-700);
  border-bottom-color: var(--apalos-green-700);
}

.web-nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.web-nav-disclosure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--web-target-min);
  min-height: var(--web-target-min);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--apalos-navy-800);
  cursor: pointer;
}

.web-nav-disclosure[hidden] {
  display: none;
}

.web-nav-disclosure svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--web-transition);
}

.web-nav-disclosure:hover {
  color: var(--apalos-green-700);
}

.web-nav-disclosure[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.web-nav-dropdown {
  position: absolute;
  top: calc(100% + var(--web-space-1));
  left: 0;
  z-index: 30;
  width: max-content;
  min-width: 12rem;
  max-width: 18rem;
  margin: 0;
  padding: var(--web-space-2);
  border: 1px solid var(--apalos-warm-200);
  border-radius: var(--apalos-radius-sm);
  background: var(--web-surface);
  list-style: none;
}

/* Anchor the rightmost dropdown inward so longer article labels fit at tablet widths. */
.web-nav-group:last-of-type .web-nav-dropdown {
  left: auto;
  right: 0;
}

.web-nav-dropdown[hidden] {
  display: none;
}

.web-nav-dropdown a {
  display: flex;
  padding-inline: var(--web-space-3);
  border-bottom: 0;
  border-left: 2px solid transparent;
}

.web-nav-dropdown a:hover {
  border-bottom-color: transparent;
  border-left-color: var(--apalos-green-700);
}

.web-nav-dropdown a[aria-current="page"] {
  border-bottom-color: transparent;
  border-left-color: var(--apalos-navy-900);
}

/* FILLED, not outlined — doc 07: "A primary that's outlined is a secondary." Navy rather than
   green: doc 01 principle 4 reserves green for decision points, and this sits in chrome on every
   page. */
.web-nav-cta {
  background: var(--apalos-navy-900);
  border: 1px solid var(--apalos-navy-900);
  border-radius: var(--apalos-radius-sm);
  padding-inline: var(--web-space-3);
  color: #fff !important;
  font-weight: 600;
  min-height: var(--web-target-min);
  transition: background-color var(--web-transition), border-color var(--web-transition);
}

.web-nav-cta:hover {
  background: var(--apalos-navy-800);
  border-color: var(--apalos-navy-800);
  color: #fff !important;
}

/*
  MOBILE DISCLOSURE — native <details>/<summary>, zero JavaScript, so the two-script budget is
  untouched. Doc 07 bans the hamburger on DESKTOP only, and itself specifies the mobile trigger's
  a11y contract (aria-expanded — <summary> supplies it natively).
*/
.web-nav-toggle {
  display: none;
}

/* Keep the compact menu until the full navigation, language utility and Portal CTA fit
   on one row. Wrapping the language choice under the page links defeats its quiet placement. */
@media (max-width: 74.999rem) {
  .web-header-row {
    flex-wrap: wrap;
    padding-block: var(--web-space-2);
  }

  .web-nav-toggle {
    display: block;
    margin-left: auto;
  }

  .web-nav-toggle > summary {
    display: inline-flex;
    align-items: center;
    gap: var(--web-space-2);
    min-height: var(--web-target-min);
    padding-inline: var(--web-space-2);
    font-size: var(--web-text-body-s);
    font-weight: 600;
    color: var(--apalos-navy-900);
    cursor: pointer;
    list-style: none;
  }

  /* Safari renders a disclosure triangle through a -webkit pseudo-element that `list-style: none`
     alone does not remove. */
  .web-nav-toggle > summary::-webkit-details-marker {
    display: none;
  }

  .web-nav-toggle[open] > summary {
    color: var(--apalos-green-700);
  }

  /* The panel takes the full row below the wordmark, so opening it never reflows the bar itself. */
  .web-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    order: 3;
    display: none;
    padding-bottom: var(--web-space-2);
  }

  .web-nav-toggle[open] ~ .web-nav {
    display: flex;
  }

  .web-nav a {
    border-bottom: 1px solid var(--apalos-warm-200);
    border-radius: 0;
  }

  .web-nav-group {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .web-nav-parent {
    grid-column: 1;
  }

  .web-nav-disclosure {
    grid-column: 2;
    border-bottom: 1px solid var(--apalos-warm-200);
  }

  .web-nav-dropdown {
    position: static;
    grid-column: 1 / -1;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0 0 var(--web-space-2) var(--web-space-4);
    border: 0;
    border-bottom: 1px solid var(--apalos-warm-200);
    border-radius: 0;
    background: transparent;
  }

  .web-nav-dropdown a,
  .web-nav-dropdown a[aria-current="page"] {
    border-bottom: 0;
  }

  .web-nav a[aria-current="page"] {
    border-bottom-color: var(--apalos-navy-900);
  }

  .web-nav-cta {
    justify-content: center;
    margin-top: var(--web-space-2);
  }
}

/* --- editorial type + bands ------------------------------------------------ */

.web-section {
  padding: var(--web-space-12) 0;
}

.web-section + .web-section {
  border-top: 1px solid var(--apalos-warm-200);
}

/* Ivory marks selected groups of content, not every second section. */
.web-band-warm {
  background: var(--web-ivory);
}

/* The shared green-600 focus outline falls below 3:1 on ivory. Preserve its geometry
   and use the darker brand green only on the website's ivory surfaces. */
:is(.web-band-warm, .web-home-example, .web-home-process, .web-products-catalogue, .web-capture-pricing) :focus-visible {
  outline-color: var(--apalos-green-700);
}

.web-eyebrow {
  font-size: var(--web-text-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--apalos-green-700);
  margin: 0 0 var(--web-space-3);
}

.web-section h1 {
  /* doc 05: H1 36px / Display M 44px, both weight 700, tracking -0.01em. The old clamp topped out
     at 2.9rem = 46.4px, which is not a step on the scale and belongs to neither role. */
  font-size: clamp(var(--web-text-h1), 5vw, var(--web-text-display-m));
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--apalos-navy-900);
  /* doc 06 vertical rhythm: "24px below H1". */
  margin: 0 0 var(--web-space-6);
  text-wrap: balance;
  /* Norwegian compounds must reflow on narrow screens instead of widening the page. */
  overflow-wrap: anywhere;
}

.web-section h2 {
  /* doc 05: H2 28px / 700 / 1.25 / -0.005em. */
  font-size: var(--web-text-h2);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--apalos-navy-900);
  /* doc 06 vertical rhythm: "20px below H2" — space-6 (24px) is the nearest sanctioned step, and
     doc 06's own scale has no 20px. Documented rather than invented. */
  margin: 0 0 var(--web-space-6);
  text-wrap: balance;
}

.web-section h3 {
  /* doc 05: H3 22px / 600 / 1.3. */
  font-size: var(--web-text-h3);
  font-weight: 600;
  line-height: 1.3;
  color: var(--apalos-navy-900);
  text-wrap: balance;
  /* doc 06 vertical rhythm: "16px below H3". */
  margin: 0 0 var(--web-space-4);
}

/* doc 06 vertical rhythm: "Paragraph spacing: 16px below a paragraph." doc 05: body line-height
   1.55-1.6, and "cramped leading is a generic SaaS tell". */
.web-section p {
  line-height: 1.6;
  color: var(--apalos-warm-800);
  margin: 0 0 var(--web-space-4);
  max-width: var(--web-w-prose);
}

/* Lists were styled by NOTHING — neither this file nor the RCL had a ul/ol/li rule — so a <ul>
   directly under a <p> rendered in navy-900 at line-height 1.5 with Chrome's 40px default indent,
   against the paragraph's warm-800 at 1.6. A colour shift, a rhythm shift and an off-scale indent,
   between two adjacent blocks on a product page. */
.web-section ul,
.web-section ol {
  line-height: 1.6;
  color: var(--apalos-warm-800);
  margin: 0 0 var(--web-space-4);
  padding-left: var(--web-space-6);
  max-width: var(--web-w-prose);
}

.web-section li + li {
  margin-top: var(--web-space-2);
}

.web-lead {
  font-size: var(--web-text-body-l);
  color: var(--apalos-navy-800) !important;
  max-width: var(--web-w-prose);
}

.web-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--web-space-3);
  margin-top: var(--web-space-6);
}

.web-beliefs {
  display: grid;
  gap: var(--web-space-6);
  margin-top: var(--web-space-8);
}

.web-belief {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: var(--web-space-4);
}

.web-num {
  font-family: var(--apalos-font-mono);
  font-size: var(--web-text-meta);
  color: var(--apalos-green-700);
  padding-top: var(--web-space-1);
}

/* --- dark CTA band + facts list (Band 2 content pages) ---------------------- */
/*
  The dark closing band is the July interim page's .cta, re-expressed on RCL tokens. Flat navy-900
  surface per the design manual (no gradient). Contrast: body text uses warm-100 on navy-900 (the
  manual's canonical dark-surface pair, 15.0:1); the button is navy-900 on green-500 per doc 04's
  table (6.2:1), with the green-600 hover checked separately at 5.2:1.
*/

.web-cta {
  background: var(--apalos-navy-900);
}

.web-cta h2 {
  color: #fff;
}

.web-cta p {
  color: var(--apalos-warm-100);
}

.web-cta .web-eyebrow {
  color: var(--apalos-green-500);
}

.web-btn-onnavy {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: var(--web-text-body-s);
  text-decoration: none;
  min-height: var(--web-target-min);
  padding: var(--web-space-2) var(--web-space-4);
  border-radius: var(--apalos-radius-sm);
  background: var(--apalos-green-500);
  color: var(--apalos-navy-900);
}

.web-btn-onnavy:hover {
  background: var(--apalos-green-600);
}

/* A text link beside a 44px button needs its own 44px hit area (WCAG 2.5.8 — too close to its
   neighbour for the spacing exception). */
.web-cta-alt {
  display: inline-flex;
  align-items: center;
  min-height: var(--web-target-min);
  padding-inline: var(--web-space-2);
  color: #fff;
  border-bottom: 2px solid transparent;
  transition: border-color var(--web-transition);
}

.web-cta-alt:hover {
  border-bottom-color: #fff;
}

/* Company facts on /om: a plain definition list, not a data table. */
.web-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--web-space-2) var(--web-space-6);
  margin: var(--web-space-6) 0 0;
}

.web-facts dt {
  color: var(--apalos-warm-700);
}

.web-facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--apalos-navy-900);
}

@media (max-width: 34rem) {
  .web-facts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .web-facts dt {
    margin-top: var(--web-space-2);
  }
}

/* --- order form ------------------------------------------------------------ */

.web-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--web-space-2);
  margin: var(--web-space-2) 0 var(--web-space-1);
}

.web-price-amount {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: var(--web-text-display-m);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--apalos-navy-900);
}

.web-form {
  display: grid;
  gap: var(--web-space-4);
  max-width: 34rem;
  margin-top: var(--web-space-6);
}

.web-form-row {
  display: grid;
  gap: var(--web-space-1);
}

.web-form :is(.apalos-input, .apalos-select, .apalos-btn) {
  min-height: var(--web-target-min);
}

/* WCAG 1.4.11: field boundaries must remain identifiable on white and ivory. */
.web-form :is(.apalos-input, .apalos-select) {
  border-color: var(--apalos-warm-700);
}

.web-form :is(.apalos-input, .apalos-select)[aria-invalid="true"] {
  border: 2px solid var(--apalos-red-700);
}

.web-form label {
  font-size: var(--web-text-meta);
  font-weight: 600;
  color: var(--apalos-navy-800);
}

.web-optional {
  font-weight: 400;
  color: var(--apalos-warm-700);
}

.web-field-error {
  display: flex;
  align-items: flex-start;
  gap: var(--web-space-1);
  margin: 0;
  color: var(--apalos-red-700);
  font-size: 0.875rem;
  line-height: 1.5;
}

.web-field-error-icon {
  flex: 0 0 auto;
  margin-top: var(--web-space-1);
}

.web-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--web-space-2);
  align-items: start;
}

.web-check label {
  font-weight: 400;
  line-height: 1.5;
}

.web-check-error {
  grid-column: 2;
}

.web-form-status {
  max-width: 34rem;
  color: var(--apalos-red-700);
  font-weight: 600;
}

.web-note {
  border-left: 3px solid var(--apalos-green-600);
  background: var(--apalos-green-50);
  padding: var(--web-space-4) var(--web-space-4);
  border-radius: var(--apalos-radius-sm);
}

.web-note p:last-child,
.web-form-status p:last-child {
  margin-bottom: 0;
}

/* Order page composition (iter-83-8): what is ordered beside who orders it. Two white panels on
   the ivory band, flat per doc 10. Single column below 64rem with the summary first, matching the
   reading order; the summary is not sticky because its disclosures can outgrow a short viewport. */
.web-section .web-order-links {
  list-style: none;
  padding: 0;
  margin: var(--web-space-6) 0 0;
  font-size: var(--web-text-body-s);
}

.web-order-layout {
  display: grid;
  gap: var(--web-space-8);
}

:is(.web-order-summary, .web-order-main) {
  min-width: 0;
  background: var(--web-surface);
  border: 1px solid var(--apalos-warm-200);
  border-radius: var(--apalos-radius);
  padding: var(--web-space-6) var(--web-space-4);
}

/* The summary follows the tier selector without JavaScript: each fact block is numbered by its
   option's position, and the block whose option is checked is shown. Positions are generic, never
   tier keys; OrderSummaryCoversEveryLadderPosition asserts that these rules cover the longest
   self-serve ladder plus the placeholder. A browser without :has() shows the server's initial
   block, which matches the selector until it is changed. */
.web-order-option {
  display: none;
}

@supports selector(:has(*)) {
  .web-order:has([data-order-tier-select] option:nth-child(1):checked) [data-order-option="1"],
  .web-order:has([data-order-tier-select] option:nth-child(2):checked) [data-order-option="2"],
  .web-order:has([data-order-tier-select] option:nth-child(3):checked) [data-order-option="3"],
  .web-order:has([data-order-tier-select] option:nth-child(4):checked) [data-order-option="4"],
  .web-order:has([data-order-tier-select] option:nth-child(5):checked) [data-order-option="5"],
  .web-order:has([data-order-tier-select] option:nth-child(6):checked) [data-order-option="6"],
  .web-order:has([data-order-tier-select] option:nth-child(7):checked) [data-order-option="7"],
  .web-order:has([data-order-tier-select] option:nth-child(8):checked) [data-order-option="8"],
  .web-order:has([data-order-tier-select] option[data-free="true"]:checked) [data-order-terms="free"],
  .web-order:has([data-order-tier-select] option[data-free="false"]:checked) [data-order-terms="paid"] {
    display: block;
  }
}

@supports not selector(:has(*)) {
  .web-order-option--initial {
    display: block;
  }
}

.web-section .web-order-summary h2 {
  font-size: var(--web-text-h4);
  margin-bottom: var(--web-space-2);
}

.web-order-facts {
  margin: 0;
}

.web-order-facts > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--web-space-1) var(--web-space-4);
  padding: var(--web-space-3) 0;
  border-bottom: 1px solid var(--apalos-warm-200);
}

.web-order-facts dt {
  font-size: var(--web-text-body-s);
  color: var(--apalos-warm-800);
}

.web-order-facts dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  color: var(--apalos-navy-900);
}

.web-order-amount {
  font-size: var(--web-text-h4);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.web-order-unit {
  display: block;
  font-size: var(--web-text-meta);
  font-weight: 400;
  color: var(--apalos-warm-800);
}

.web-order .web-order-fine {
  font-size: var(--web-text-body-s);
  line-height: 1.55;
  margin: 0 0 var(--web-space-3);
}

.web-order-summary :is([data-order-terms], [data-order-option="1"]) {
  margin-top: var(--web-space-4);
}

.web-section .web-order-steps-heading {
  font-size: var(--web-text-h4);
  font-weight: 700;
  margin: var(--web-space-6) 0 var(--web-space-3);
}

.web-section .web-order-steps {
  padding-left: var(--web-space-6);
  margin: 0;
  font-size: var(--web-text-body-s);
}

.web-order-steps li::marker {
  font-weight: 700;
  color: var(--apalos-green-700);
}

.web-order-step--done {
  font-weight: 600;
  color: var(--apalos-navy-900);
}

.web-order-received .web-order-steps {
  font-size: var(--web-text-body);
  margin-bottom: var(--web-space-6);
}

.web-order-main h2 {
  margin-bottom: var(--web-space-3);
}

.web-order-main .web-form {
  max-width: 36rem;
}

.web-order-product-row {
  display: flex;
  gap: var(--web-space-2);
}

.web-order-product-row .apalos-select {
  flex: 1;
  min-width: 0;
}

.web-order-group {
  display: grid;
  gap: var(--web-space-4);
  min-width: 0;
  margin: 0;
  padding: var(--web-space-6) 0 0;
  border: 0;
  border-top: 1px solid var(--apalos-warm-200);
}

/* A legend does not take part in the fieldset's grid; float lets the gap apply below it. */
.web-order-group legend {
  float: left;
  width: 100%;
  padding: 0;
  font-size: var(--web-text-h4);
  font-weight: 700;
  color: var(--apalos-navy-900);
}

.web-form .web-form-hint {
  margin: 0;
  font-size: var(--web-text-meta);
  line-height: 1.5;
  color: var(--apalos-warm-800);
}

.web-form .web-order-short {
  max-width: 16rem;
}

/* The invoice-route choice: a nested group with two native radios on 44px rows. */
.web-order-choice {
  display: grid;
  gap: var(--web-space-2);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.web-order-choice legend,
.web-order-address legend {
  float: left;
  width: 100%;
  padding: 0;
  font-size: var(--web-text-meta);
  font-weight: 600;
  color: var(--apalos-navy-800);
}

/* The invoice address (iter-85-14): a nested group of ordinary rows under the same small legend. */
.web-order-address {
  display: grid;
  gap: var(--web-space-4);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.web-radio {
  display: flex;
  align-items: center;
  gap: var(--web-space-3);
  min-height: var(--web-target-min);
  padding: 0 var(--web-space-3);
  border: 1px solid var(--apalos-warm-700);
  border-radius: var(--apalos-radius-sm);
}

.web-radio:has(input:checked) {
  border: 2px solid var(--apalos-green-700);
  background: var(--apalos-green-50);
}

.web-radio input {
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  accent-color: var(--apalos-green-700);
}

.web-form .web-radio label {
  flex: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
  font-size: var(--web-text-body);
  font-weight: 400;
  color: var(--apalos-navy-900);
  cursor: pointer;
}

/* Review step: the entered values read back in the main panel. */
.web-section .web-order-review-group {
  font-size: var(--web-text-h4);
  font-weight: 700;
  margin: var(--web-space-6) 0 0;
}

.web-order-review {
  margin-bottom: var(--web-space-2);
}

.web-order-review dd {
  overflow-wrap: anywhere;
}

.web-form-status.web-order-conflict {
  color: var(--apalos-navy-900);
  font-weight: 400;
  border-left: 3px solid var(--apalos-red-700);
  background: var(--web-surface);
  padding: var(--web-space-4);
  margin-bottom: var(--web-space-6);
}

.web-order-enquiry {
  margin-bottom: var(--web-space-4);
  max-width: var(--web-w-prose);
}

.web-order-received .web-order-next {
  padding-inline: 0;
  margin-top: var(--web-space-8);
}

.web-order-confirm {
  display: grid;
  gap: var(--web-space-4);
  padding-top: var(--web-space-6);
  border-top: 1px solid var(--apalos-warm-200);
}

.web-order-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--web-space-3) var(--web-space-4);
}

.web-order .web-order-submit .web-order-fine {
  margin: 0;
}

/* The next-steps list sits on the band itself, its text aligned with the panels' content. */
.web-order-next {
  padding-inline: var(--web-space-4);
}

.web-section .web-order-next .web-order-steps-heading {
  margin-top: 0;
}

@media (min-width: 40rem) {
  :is(.web-order-summary, .web-order-main) {
    padding: var(--web-space-8);
  }

  .web-order-next {
    padding-inline: var(--web-space-8);
  }
}

/* Reading order is summary, form, next steps at every width. Wide screens place the form in the
   first column across both rows, with the summary and the steps stacked beside it. */
@media (min-width: 64rem) {
  .web-order-layout {
    grid-template-columns: minmax(0, 1fr) 22rem;
    grid-template-rows: auto 1fr;
    align-items: start;
  }

  .web-order-summary {
    grid-column: 2;
    grid-row: 1;
  }

  .web-order-main {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .web-order-next {
    grid-column: 2;
    grid-row: 2;
  }
}

/* The embedded Apalos Capture form. min-height is sized to the form's own rendered height
   (measured 2026-08-30: scrollHeight 1308px once its stylesheet applies) so the visitor gets one
   scrollbar — the page's — instead of a nested one hiding ~40% of the form. An iframe is
   display: inline by default, which would leave a baseline descender gap under the border. */
.web-embed {
  display: block;
  width: 100%;
  min-height: 84rem;
  border: 1px solid var(--apalos-warm-300);
  border-radius: var(--apalos-radius);
  background: #fff;
}

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

/* No margin-top and no light border-top: seven pages end in the dark .web-cta band, and a warm gap
   + hairline between two navy-900 bands reads as a seam, not a separator. Pages ending on a light
   band get their separation from the band's own padding. */
.web-footer {
  background: var(--apalos-navy-900);
  color: var(--apalos-warm-100);
  padding: var(--web-space-12) 0;
  font-size: var(--web-text-meta);
}

/* One row (founder, 2026-11-13): who sells on the left, where to go on the right. */
.web-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
  gap: var(--web-space-12);
  align-items: start;
}

/* The company in three short lines under the logo. */
.web-footer-id .apalos-logo {
  display: inline-flex;
  margin-bottom: var(--web-space-4);
}

.web-footer-id p {
  margin: 0;
  line-height: 1.7;
  color: var(--apalos-navy-100);
}

.web-footer-id strong {
  color: #fff;
}

/* Three sections and, last, the pages that stand alone. */
.web-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--web-space-6);
}

.web-footer-singles {
  list-style: none;
  margin: 0;
  padding: 0;
}

.web-footer-singles li {
  margin: 0;
}

/* One quiet link under a rule. */
.web-footer-note {
  margin: var(--web-space-8) 0 0;
  padding-top: var(--web-space-4);
  border-top: 1px solid var(--apalos-navy-700);
}

.web-footer-note .web-footer-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--web-target-min);
  border-bottom: 0;
  color: var(--apalos-navy-100);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.web-footer-group {
  min-width: 0;
}

.web-footer-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.web-footer-parent {
  font-weight: 700;
}

.web-footer-group li .web-footer-link {
  color: var(--apalos-navy-100);
}

.web-footer-nav .web-footer-link {
  overflow-wrap: anywhere;
  display: flex;
  align-items: center;
  min-height: var(--web-target-min);
  border-bottom: 0;
  text-underline-offset: 0.25em;
}

.web-footer-nav .web-footer-link:hover {
  text-decoration: underline;
}

@media (max-width: 60rem) {
  .web-footer-main {
    grid-template-columns: 1fr;
    gap: var(--web-space-8);
  }
}

@media (max-width: 40rem) {
  .web-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.web-footer p {
  margin: 0 0 var(--web-space-2);
  line-height: 1.6;
}

.web-footer strong {
  color: #fff;
}

.web-wordmark--footer {
  color: #fff;
  margin-bottom: var(--web-space-4);
}

.web-wordmark--footer .apalos-logo__horizontal {
  width: 11.25rem;
}

.web-muted {
  color: var(--apalos-warm-300);
}

.web-footer-link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--web-navy-300, #8e9dbc);
  transition: border-color var(--web-transition);
}

.web-footer-link:hover {
  border-bottom-color: #fff;
}

/* ⚠ The `padding: 0 2rem` shorthand that used to live here is GONE — it was the rule that zeroed
   the header's vertical padding (see the note on .web-frame). The side-padding ladder now lives with
   .web-frame at the top of this file, in padding-inline form, across doc 06's four steps. Do not
   re-add a padding shorthand to .web-frame at any breakpoint. */

/* --- interactive surfaces: doc 10's card move ------------------------------ */
/*
  Doc 10 §Cards: "Rest: 1px warm-200 border, no shadow. Hover (if interactive): border becomes 2px
  navy-900 (grows inward; no layout shift). No scale, no translate, no shadow growth." Shadows are
  banned outright — do not copy one from the React apps.

  ⚠ GROWS INWARD = inset box-shadow on top of the 1px border, never a border-width change (which
  reflows the contents by 1px). Focus pairs with hover via :focus-within; the focus RING itself is
  the RCL's global one — do not add a second.
*/
.web-tier,
.web-block,
.web-stack-layer {
  transition: box-shadow var(--web-transition), border-color var(--web-transition);
}

.web-tier:hover,
.web-block:hover,
.web-tier:focus-within,
.web-block:focus-within {
  border-color: var(--apalos-navy-900);
  box-shadow: inset 0 0 0 1px var(--apalos-navy-900);
}

/* The default rung already carries a green 2px border to mark it; thickening it to navy on hover
   would erase that meaning, so it keeps its own colour and only gains the inset ring. */
.web-tier--default:hover,
.web-tier--default:focus-within {
  border-color: var(--apalos-green-700);
  box-shadow: inset 0 0 0 1px var(--apalos-green-700);
}

/* --- price ladder ---------------------------------------------------------- */
/*
  The tier ladder. Prose sits at --web-w-prose; five rungs side by side need --web-w-wide, which is
  what .web-frame--wide is for. Both are doc 06 containers now, rather than the two ad-hoc widths
  this section used to describe.

  Kept to the minimum the page needs, per this file's own standing warning: Band 1 is a HARNESS and
  the real visual layer is 48b's decision. Tokens only, no new palette.
*/

.web-tiers {
  display: grid;
  gap: var(--web-space-4);
  margin-top: var(--web-space-8);
  /* auto-fit rather than a fixed 5 columns: the ladder reflows to 3/2/1 on narrower screens without
     a breakpoint per rung, and adding a sixth product tier later needs no CSS change. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
}

.web-tier {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--apalos-warm-200);
  border-radius: var(--apalos-radius);
  background: #fff;
  padding: var(--web-space-6) var(--web-space-4);
}

/* The rung the order form defaults to. A border, not a "MOST POPULAR" banner — we have no
   popularity data and inventing social proof is the kind of thing this company does not do. */
.web-tier--default {
  border-color: var(--apalos-green-600);
  border-width: 2px;
}

.web-tier-name {
  font-size: var(--web-text-h4);
  font-weight: 700;
  color: var(--apalos-navy-900);
  margin: 0;
}

.web-tier-badge {
  display: inline-block;
  margin-left: var(--web-space-2);
  font-size: var(--web-text-micro);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--apalos-green-700);
  background: var(--apalos-green-50);
  border-radius: 999px;
  padding: var(--web-space-1) var(--web-space-2);
  vertical-align: 0.15em;
}

.web-tier-fees {
  margin: var(--web-space-3) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--apalos-warm-100);
  padding-top: var(--web-space-3);
}

.web-tier-fees li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--web-space-2);
  margin: var(--web-space-1) 0;
  font-size: var(--web-text-meta);
  color: var(--apalos-warm-800);
}

.web-tier-fee-amount {
  font-weight: 700;
  color: var(--apalos-navy-900);
  font-variant-numeric: tabular-nums;
}

.web-tier-intent {
  margin: var(--web-space-3) 0 0;
  font-size: var(--web-text-meta);
  color: var(--apalos-warm-800);
}

/* Pushes the button to the bottom so every card's action sits on one line regardless of how long
   the intent sentence runs. */
.web-tier-action {
  margin-top: auto;
  padding-top: var(--web-space-4);
}

.web-tier-action .apalos-btn {
  width: 100%;
  text-align: center;
}

/* --- hero video (iter-48b) ------------------------------------------------- */
/*
  Direction B from the 48b design canvas. The accessibility behaviour is NOT styling and lives in
  hero.js + the markup: no `autoplay` attribute, poster carries first paint, playback starts only
  when reduced-motion is off / viewport is wide / Save-Data is unset. Read doc 03 before changing
  anything here.

  Contrast: the scrim is a left-heavy navy gradient, checked against the darkest AND lightest frames
  the loop reaches — white on the lightest frame under the 0.90 stop clears AA comfortably.
*/

.web-hero {
  position: relative;
  overflow: hidden;
  background: var(--apalos-navy-900);
}

.web-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Below the scrim and out of the a11y tree; it is decorative. */
  z-index: 0;
}

.web-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(15, 29, 61, 0.95) 0%,
    rgba(15, 29, 61, 0.90) 44%,
    rgba(15, 29, 61, 0.58) 100%
  );
}

.web-hero-body {
  position: relative;
  z-index: 2;
  padding-block: var(--web-space-16);
  /* Use the same wide frame as the header and homepage sections, then constrain the copy
     independently. The heading must not move to a different left edge. */
}

.web-hero-body h1 {
  /* Existing H1 -> Display L roles; the smaller floor keeps mobile openings proportionate. */
  max-width: 58rem;
  font-size: clamp(var(--web-text-h1), 5vw, var(--web-text-display-l));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 var(--web-space-6);
  text-wrap: pretty;
}

@media (max-width: 48rem) {
  .web-hero-body {
    padding-block: var(--web-space-12);
  }
}

.web-eyebrow--onnavy {
  color: var(--apalos-green-400, #34d399);
}

.web-lead--onnavy {
  color: var(--apalos-navy-100) !important;
}

.web-hero-ask {
  font-size: var(--web-text-body-l);
  font-weight: 600;
  color: #fff !important;
  margin: 0 0 var(--web-space-6);
}

.web-btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 var(--web-space-6);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--apalos-radius-sm);
  color: #fff;
  font-size: var(--web-text-body);
  font-weight: 600;
  text-decoration: none;
}

.web-btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* WCAG 2.2.2 control. Deliberately visible rather than hover-revealed — a control you have to
   discover is not a control. */
.web-hero-toggle {
  position: absolute;
  /* Aligned with the WIDE container's inner right edge — the same line the header's Bestill button
     sits on — instead of hugging the viewport corner on a wide monitor (founder, 2026-08-28).
     max() keeps the plain offset on viewports narrower than the wide frame, where the calc goes
     negative. */
  /* space-12, not space-8: the calc branch only wins above the 80rem breakpoint, where the frame's
     side padding IS space-12 — anything else leaves the toggle a visible 16px off the CTA's line. */
  right: max(var(--web-space-6), calc((100% - var(--web-w-wide)) / 2 + var(--web-space-12)));
  bottom: var(--web-space-6);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: var(--web-space-2);
  height: 36px;
  padding: 0 var(--web-space-3);
  border-radius: var(--apalos-radius-sm);
  background: rgba(8, 16, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-family: inherit;
  font-size: var(--web-text-meta);
  font-weight: 600;
  cursor: pointer;
}

/* ⚠ RESTORE THE MEANING OF [hidden]. The rule above sets `display: inline-flex`, and an AUTHOR
   display rule beats the user-agent's `[hidden] { display: none }` — so without this line the
   attribute is decorative and the button is visible whatever JavaScript sets.

   That is not cosmetic. site.js unhides the control only inside start(), which returns early when
   reduced-motion is on, the viewport is narrow, or Save-Data is set. On a WIDE viewport with
   prefers-reduced-motion, the visitor was therefore shown a "Stopp video" button over a still
   poster — and clicking it called play(), starting the video they had asked not to see. The narrow
   case was covered only by accident, because the max-width media query below sets display: none.

   Design-manual doc 03 is the manual's trump chapter and its condition is that reduced motion
   "shows the poster and never plays"; a control that starts playback undermines exactly that.
   Verified in a browser on the DEV pod before and after: hidden=true previously computed to
   display:flex. Pinned by HeroPauseControlHonoursTheHiddenAttribute. (iter-48f.3; the defect dates
   from iter-48b.) */
.web-hero-toggle[hidden] {
  display: none;
}

.web-hero-toggle:hover {
  background: rgba(8, 16, 40, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Swap the pause glyph for a play triangle when stopped. */
.web-hero-toggle.is-paused .web-hero-toggle-icon {
  display: none;
}

.web-hero-toggle.is-paused::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}

@media (max-width: 48rem) {
  /* Poster only below the video breakpoint — hero.js never starts playback here, and the element
     is hidden so no bytes are fetched for a frame nobody sees. */
  .web-hero-video {
    display: none;
  }

  .web-hero {
    background-image: url("../video/hero-poster.jpg");
    background-size: cover;
    background-position: center;
  }

  .web-hero-toggle {
    display: none;
  }
}

/* --- capability blocks + pillars (iter-48b) -------------------------------- */

.web-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--web-space-4);
}

/* ⚠ min(100%, …), never a bare minmax floor: grid honours the floor, so a 22rem track inside a
   narrow phone viewport overflows the page horizontally. doc 06: "Nothing breaks at 320px." All
   auto-fit grids in this file use min() for this reason. */
.web-blocks--two {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: var(--web-space-6);
  margin-top: var(--web-space-8);
}

/* Six capability groups: three per row on desktop, two on tablet, one on phones. */
.web-blocks--three {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--web-space-6);
  margin-top: var(--web-space-8);
}

@media (min-width: 48rem) {
  .web-blocks--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .web-blocks--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.web-blocks--three .web-block-label {
  font-size: var(--web-text-body-s);
  color: var(--apalos-green-700);
  margin-bottom: var(--web-space-3);
}

.web-block {
  border: 1px solid var(--apalos-warm-200);
  border-radius: var(--apalos-radius);
  background: #fff;
  padding: var(--web-space-6);
}

.web-block h3 {
  font-size: var(--web-text-body);
  margin: 0 0 var(--web-space-2);
  color: var(--apalos-navy-900);
}

.web-block p {
  font-size: var(--web-text-body-s);
  line-height: 1.55;
  margin: 0;
  color: var(--apalos-warm-800);
}

.web-block-label {
  font-size: var(--web-text-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apalos-warm-700);
  margin: 0 0 var(--web-space-2);
}

.web-block-label--green {
  color: var(--apalos-green-700);
  margin-bottom: var(--web-space-3);
}

.web-blocklist {
  margin: 0;
}

.web-blocklist dt {
  font-size: var(--web-text-body);
  font-weight: 600;
  color: var(--apalos-navy-900);
  margin-top: var(--web-space-3);
}

.web-blocklist dt:first-child {
  margin-top: 0;
}

/* A block that opens with a paragraph before its list (the example cards on /losninger/eksempler)
   keeps the same breath between prose and the first term as between terms. */
.web-block p + .web-blocklist dt:first-child {
  margin-top: var(--web-space-3);
}

.web-blocklist dd {
  margin: var(--web-space-1) 0 0;
  font-size: var(--web-text-body-s);
  line-height: 1.55;
  color: var(--apalos-warm-800);
}

.web-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: var(--web-space-8);
  margin-top: var(--web-space-8);
}

.web-pillar h3 {
  font-size: var(--web-text-h3);
  line-height: 1.3;
  margin: 0 0 var(--web-space-2);
}

.web-measure {
  max-width: 65ch;
}

/* --- the layer diagram on /byggeklosser (iter-48b) ------------------------- */

.web-stack {
  border: 1px solid var(--apalos-warm-200);
  border-radius: var(--apalos-radius);
  overflow: hidden;
  background: #fff;
}

.web-stack-layer {
  padding: var(--web-space-4) var(--web-space-6);
  border-bottom: 1px solid var(--apalos-warm-200);
}

.web-stack-layer:last-child {
  border-bottom: 0;
}

.web-stack-layer h3 {
  font-size: var(--web-text-body);
  margin: 0 0 var(--web-space-1);
}

.web-stack-layer p {
  margin: 0;
  font-size: var(--web-text-body-s);
  line-height: 1.5;
  color: var(--apalos-warm-800);
}

.web-stack-layer--blocks {
  background: var(--apalos-warm-50);
}

.web-stack-layer--core {
  background: var(--apalos-navy-900);
}

.web-stack-layer--core h3 {
  color: #fff;
}

.web-stack-layer--core p {
  color: var(--apalos-navy-100);
}

.web-stack-layer--bets {
  background: #081028;
  display: flex;
  flex-wrap: wrap;
  gap: var(--web-space-2) var(--web-space-6);
  padding-top: var(--web-space-3);
  padding-bottom: var(--web-space-3);
}

/* --web-navy-300 with a mandatory fallback — see the token's note in :root. */
.web-stack-layer--bets span {
  font-size: var(--web-text-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--web-navy-300, #8e9dbc);
}

.web-stack-caption {
  font-size: var(--web-text-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apalos-warm-700);
  margin-top: var(--web-space-3);
}

/* --- the tier ladder table (iter-48b) -------------------------------------- */

/* doc 06: tables "scroll horizontally with a visible scroll indicator. Never silently clip."
   .web-ladder's own overflow:hidden exists to clip the border radius, so the SCROLLING is the
   wrapper's job — without it the table forces horizontal page scroll on a phone. */
.web-ladder-scroll {
  overflow-x: auto;
}

/* Give section and process-step deep links room above their headings (iter-83-2). */
.web-section[id],
.web-belief[id] {
  scroll-margin-top: var(--web-space-16);
}

.web-ladder {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--web-space-8);
  border: 1px solid var(--apalos-warm-200);
  border-radius: var(--apalos-radius);
  overflow: hidden;
  background: #fff;
}

.web-ladder th,
.web-ladder td {
  text-align: left;
  padding: var(--web-space-3) var(--web-space-6);
  font-size: var(--web-text-body-s);
  line-height: 1.5;
  vertical-align: top;
  border-bottom: 1px solid var(--apalos-warm-200);
}

.web-ladder thead th {
  background: var(--apalos-navy-900);
  color: var(--apalos-navy-100);
  font-size: var(--web-text-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 0;
}

.web-ladder tbody th {
  font-weight: 600;
  color: var(--apalos-navy-900);
  width: 22%;
}

.web-ladder tbody td {
  color: var(--apalos-warm-800);
}

.web-ladder tbody tr:last-child th,
.web-ladder tbody tr:last-child td {
  border-bottom: 0;
}

.web-note-plain {
  border-left: 4px solid var(--apalos-warm-300);
  padding-left: var(--web-space-6);
  max-width: 50rem;
}

.web-note-plain p:last-child {
  margin-bottom: 0;
}

/* Two-level orientation (iter-48j): one quiet breadcrumb inside the child page's opening frame.
   It replaces the sibling strip rather than adding another row below the header. */
/* The link is a 44 px target (it was 22 px until #1714), so the space under the trail is smaller:
   the heading keeps its place to within a few pixels. */
.web-breadcrumb {
  margin: 0 0 var(--web-space-2);
  font-size: var(--web-text-meta);
  color: var(--apalos-warm-700);
}

.web-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--web-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Keep a wrapped current label aligned after its separator, including long article titles. */
.web-breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--web-space-2);
  min-width: 0;
  overflow-wrap: anywhere;
}

/* The editorial list rhythm must not push later crumbs below the first. */
.web-breadcrumb li + li {
  margin-top: 0;
}

.web-breadcrumb li + li::before {
  content: "›";
  flex-shrink: 0;
  color: var(--apalos-warm-500, #9a9a88);
}

.web-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: var(--web-target-min);
  color: var(--apalos-warm-700);
  text-decoration: none;
  text-underline-offset: 0.2em;
}

.web-breadcrumb a:hover {
  color: var(--apalos-navy-900);
  text-decoration: underline;
}

.web-breadcrumb li[aria-current="page"] {
  font-weight: 500;
  color: var(--apalos-navy-900);
}


/* --- editorial devices (iter-48h) ------------------------------------------ */
/*
  The drawn-but-never-built layer: every device below is specified in proto-02/proto-03/
  C_Stillbilde or docs 06/07/08/10 and existed nowhere on the site. Photos: doc 08 —
  caption mandatory (micro-label), licence recorded in wwwroot/img/README.md, self-hosted.
*/

/* Captioned figure — doc 08's mandatory caption, C_Stillbilde's frame. */
.web-figure {
  margin: 0;
}

.web-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--apalos-radius);
  object-fit: cover;
}

/* An inline SVG figure (the logo-as-diagram on /losninger/apalosprosessen) sizes like the img
   above. No radius: the mark's corners are square on purpose, as in the wordmark. */
.web-figure svg {
  display: block;
  width: 100%;
  height: auto;
}

.web-figcaption {
  margin-top: var(--web-space-3);
  font-size: var(--web-text-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apalos-warm-700);
}

/* Split band — C_Stillbilde: copy left, captioned photo right. Proto gap 56px is off the
   spacing scale -> space-12 (48px). */
.web-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--web-space-12);
  align-items: center;
}

@media (max-width: 47.999rem) {
  .web-split {
    grid-template-columns: 1fr;
    gap: var(--web-space-6);
  }
}

/* Stat row — proto-02; doc 08 "data-as-decoration". Numbers at h3 size (proto's 24px is not a
   doc 05 step). Static numbers only — doc 10 bans counters. */
.web-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--web-space-4) var(--web-space-8);
  margin-top: var(--web-space-6);
  padding-top: var(--web-space-6);
  border-top: 1px solid var(--apalos-warm-200);
  font-variant-numeric: tabular-nums;
}

.web-stat-num {
  display: block;
  font-size: var(--web-text-h3);
  font-weight: 700;
  color: var(--apalos-navy-900);
}

.web-stat-label {
  font-size: var(--web-text-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apalos-warm-700);
}

/* Pullquote — proto-02. The founder's own line, lifted out of its paragraph (moved, not
   duplicated). cite renders as a micro label, no italics (doc 05: no italics in nb prose). */
.web-pullquote {
  margin: var(--web-space-12) 0;
  max-width: 28ch;
  font-size: var(--web-text-h2);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--apalos-navy-900);
}

.web-pullquote cite {
  display: block;
  margin-top: var(--web-space-4);
  font-style: normal;
  font-size: var(--web-text-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apalos-warm-700);
}

/* A picture element only chooses between formats (AVIF, with the JPEG for a browser without it).
   It takes no box of its own, so every rule written for the img inside still lays it out as
   before: `.x img { width: 100%; height: 100% }` keeps measuring against `.x`. */
picture {
  display: contents;
}

/* Once the picture element has no box, its source children would count as children of the
   parent. In a grid that made an empty source a grid item of its own and pushed the picture into
   the next cell (seen on the landing pages, 2026-11-13). A source draws nothing; it takes no box. */
picture > source {
  display: none;
}

/* Read-more — proto-02's link treatment: green rule that flips navy on hover.
   The link is a 44 px target (2026-11-13). The rule is drawn as an underline, so it stays under
   the words when the box grows and follows the text when the link wraps on a phone. The negative
   margin gives back the height the target added, so the page keeps its rhythm. */
.web-readmore {
  display: inline-flex;
  align-items: center;
  min-height: var(--web-target-min);
  margin-block: calc(-1 * var(--web-space-2));
  font-size: var(--web-text-body-s);
  font-weight: 600;
  color: var(--apalos-navy-900);
  text-decoration: underline;
  text-decoration-color: var(--apalos-green-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  transition: text-decoration-color var(--web-transition);
}

.web-readmore:hover {
  text-decoration-color: var(--apalos-navy-900);
}

/* --- useful hub children (iter-48j) --------------------------------------- */
.web-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--web-space-6);
  margin-top: var(--web-space-8);
}

.web-hub-card {
  position: relative;
  display: block;
  border: 1px solid var(--apalos-warm-200);
  border-radius: var(--apalos-radius);
  background: #fff;
  padding: var(--web-space-6);
  color: var(--apalos-warm-800);
  text-decoration: none;
  transition: border-color var(--web-transition);
}

.web-hub-card::after {
  position: absolute;
  inset: -1px;
  border: 2px solid transparent;
  border-radius: var(--apalos-radius);
  content: "";
  pointer-events: none;
  transition: border-color var(--web-transition);
}

.web-hub-card:hover::after,
.web-hub-card:focus-visible::after {
  border-color: var(--apalos-navy-900);
}

.web-hub-card h2 {
  margin-bottom: var(--web-space-3);
  font-size: var(--web-text-h3);
}

.web-hub-card p {
  margin-bottom: var(--web-space-4);
}

.web-hub-card-label {
  display: block;
  margin-bottom: var(--web-space-3);
  font-size: var(--web-text-body-s);
  font-weight: 600;
  color: var(--apalos-navy-900);
  text-decoration: underline;
  text-decoration-color: var(--apalos-green-700);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

@media (max-width: 47.999rem) {
  .web-hub-grid {
    grid-template-columns: 1fr;
  }
}

/* Capture product page — founder-requested SaaS exploration, September 2026.
   Page-scoped composition; shared chrome, tokens and other products stay independent. */
.web-capture { background: #fff; }
.web-capture .web-section { padding-block: var(--web-space-16); }
.web-capture .web-eyebrow { color: var(--apalos-green-700); font-weight: 700; }
.web-capture .web-section h2 { font-size: clamp(var(--web-text-h2), 3vw, var(--web-text-h1)); letter-spacing: -0.035em; }
.web-capture .web-section h3 { font-size: var(--web-text-h4); font-weight: 700; }
.web-capture .apalos-btn { min-height: var(--web-target-min); padding-inline: var(--web-space-6); border-radius: var(--apalos-radius); }
.web-capture .web-capture-hero { padding-top: var(--web-space-6); background: var(--web-surface); }
.web-capture-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--web-space-12); align-items: center; }
.web-capture-intro { padding-block: var(--web-space-8); }
.web-capture .web-capture-intro h1 { font-size: clamp(var(--web-text-h1), 4.1vw, var(--web-text-display-l)); letter-spacing: -0.04em; line-height: 1.12; }
.web-capture-intro h1 span { color: var(--apalos-green-700); }
.web-capture-intro .web-lead { max-width: 46ch; }
.web-capture .web-capture-hero-note { margin-top: var(--web-space-4); font-size: var(--web-text-meta); color: var(--apalos-warm-700); }
.web-capture-use-cases { display: flex; flex-wrap: wrap; gap: var(--web-space-4); padding-top: var(--web-space-6); font-size: var(--web-text-micro); font-weight: 600; color: var(--apalos-navy-700); }
.web-capture-use-cases span { border-left: 2px solid var(--apalos-warm-300); padding-left: var(--web-space-2); }
.web-capture-demo { line-height: 1.4; margin: 0; padding: var(--web-space-3); background: var(--apalos-navy-900); border-radius: var(--apalos-radius); min-width: 0; }
.web-capture-demo-top { display: flex; align-items: center; gap: var(--web-space-2); color: #fff; padding: var(--web-space-2) var(--web-space-3) var(--web-space-4); font-size: var(--web-text-meta); }
.web-capture-demo-top > span:last-child { margin-left: auto; font-size: var(--web-text-micro); color: var(--apalos-navy-200); }
.web-capture-demo-body { padding: var(--web-space-4); background: var(--web-ivory); border-radius: var(--apalos-radius-sm); }
.web-capture-form-preview { width: 82%; background: #fff; padding: var(--web-space-4); border: 1px solid var(--apalos-navy-100); border-radius: var(--apalos-radius); }
.web-capture-demo-label { font-size: var(--web-text-micro); color: var(--apalos-navy-700); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--web-space-3); }
.web-capture-form-preview > strong { display: block; font-size: var(--web-text-h4); }
.web-capture .web-capture-form-preview p { font-size: var(--web-text-meta); margin-block: var(--web-space-2); }
.web-capture-field-label { display: block; font-size: var(--web-text-micro); font-weight: 600; margin-bottom: var(--web-space-1); }
.web-capture-field { display: block; padding: var(--web-space-2) var(--web-space-3); margin-bottom: var(--web-space-3); border: 1px solid var(--apalos-navy-200); border-radius: var(--apalos-radius-sm); font-size: var(--web-text-meta); color: var(--apalos-warm-700); }
.web-capture-field--message { min-height: 2.75rem; }
.web-capture-consent { display: flex; gap: var(--web-space-2); align-items: start; font-size: var(--web-text-micro); }
.web-capture-consent > span { color: var(--apalos-green-700); font-weight: 700; }
.web-capture-send { display: block; background: var(--apalos-navy-900); color: #fff; text-align: center; padding: var(--web-space-2); margin-top: var(--web-space-4); border-radius: var(--apalos-radius-sm); font-size: var(--web-text-meta); font-weight: 600; }
.web-capture-inbox-preview { position: relative; margin-top: calc(-1 * var(--web-space-4)); margin-left: var(--web-space-12); padding: var(--web-space-4); background: #fff; border: 1px solid var(--apalos-navy-200); border-radius: var(--apalos-radius); }
.web-capture-inbox-title { display: flex; justify-content: space-between; align-items: center; gap: var(--web-space-2); font-size: var(--web-text-meta); }
.web-capture-status { background: var(--apalos-green-50); color: var(--apalos-green-700); border-radius: 999px; padding: var(--web-space-1) var(--web-space-2); font-size: var(--web-text-micro); font-weight: 600; }
.web-capture-inbox-item { display: flex; align-items: center; gap: var(--web-space-3); padding-block: var(--web-space-2); margin-top: var(--web-space-2); border-top: 1px solid var(--apalos-warm-200); }
.web-capture-avatar { display: grid; place-items: center; width: 2rem; height: 2rem; background: var(--apalos-navy-50); border-radius: 50%; font-size: var(--web-text-meta); }
.web-capture-inbox-item div { flex: 1; }
.web-capture-inbox-item strong, .web-capture-receipt strong { display: block; font-size: var(--web-text-meta); }
.web-capture-inbox-item div > span, .web-capture-receipt div > span { display: block; font-size: var(--web-text-micro); }
.web-capture-receipt { display: flex; gap: var(--web-space-2); align-items: center; padding: var(--web-space-2); background: var(--apalos-green-50); color: var(--web-green-800); border-radius: var(--apalos-radius-sm); }
.web-capture-workflow { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--web-space-2); padding-top: var(--web-space-3); font-size: var(--web-text-micro); color: var(--apalos-navy-700); }
.web-capture-demo figcaption { color: var(--apalos-navy-200); font-size: var(--web-text-micro); padding: var(--web-space-3) var(--web-space-2) var(--web-space-1); text-align: center; }
.web-capture-jump { border-block: 1px solid var(--apalos-warm-200); background: #fff; }
.web-capture-jump > div { display: flex; align-items: center; flex-wrap: wrap; column-gap: var(--web-space-8); padding-block: var(--web-space-2); }
.web-capture-jump strong { margin-right: auto; }
.web-capture-jump a { display: inline-flex; align-items: center; min-height: var(--web-target-min); font-size: var(--web-text-meta); text-decoration: none; color: var(--apalos-navy-700); }
.web-capture-jump a:hover { text-decoration: underline; }
.web-capture-section-heading { display: flex; justify-content: space-between; align-items: end; gap: var(--web-space-8); margin-bottom: var(--web-space-8); }
.web-capture-section-heading > p { max-width: 44ch; }
.web-capture .web-capture-section-heading h2 { margin-bottom: var(--web-space-4); }
.web-capture-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--web-space-6); }
.web-capture-feature { border: 1px solid var(--apalos-warm-200); border-radius: var(--apalos-radius); padding: var(--web-space-8); min-width: 0; }
.web-capture-feature--form { background: var(--apalos-warm-50); }
.web-capture-feature--inbox { background: var(--apalos-navy-50); }
.web-capture-feature-copy p { font-size: var(--web-text-body-s); }
.web-capture-version { display: flex; align-items: center; flex-wrap: wrap; gap: var(--web-space-3); padding: var(--web-space-6); margin-top: var(--web-space-6); background: #fff; border: 1px solid var(--apalos-warm-200); border-radius: var(--apalos-radius-sm); font-size: var(--web-text-meta); }
.web-capture-version strong { padding: var(--web-space-2) var(--web-space-3); background: var(--apalos-green-50); color: var(--apalos-green-700); border-radius: var(--apalos-radius-sm); }
.web-capture-version small { flex-basis: 100%; font-size: var(--web-text-meta); color: var(--apalos-warm-700); }
.web-capture-record { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--web-space-2); padding: var(--web-space-4); margin-top: var(--web-space-3); background: #fff; border: 1px solid var(--apalos-navy-100); border-radius: var(--apalos-radius-sm); font-size: var(--web-text-meta); }
.web-capture-record strong { font-size: var(--web-text-micro); color: var(--apalos-navy-700); }
.web-capture .web-capture-example-note { font-size: var(--web-text-micro); margin-top: var(--web-space-2); margin-bottom: 0; }
.web-capture-sharing { display: flex; align-items: center; justify-content: space-between; gap: var(--web-space-8); padding-top: var(--web-space-8); }
.web-capture-sharing > div { max-width: 68ch; }
.web-capture-sharing > a { flex-shrink: 0; font-size: var(--web-text-meta); }
.web-capture .web-capture-privacy { background: var(--apalos-navy-900); }
.web-capture-assurance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--web-space-16); }
.web-capture .web-capture-privacy h2, .web-capture .web-capture-privacy h3 { color: #fff; }
.web-capture .web-capture-privacy h3 { font-size: var(--web-text-h3); padding-bottom: var(--web-space-4); border-bottom: 1px solid var(--apalos-navy-700); }
.web-capture .web-capture-privacy h4 { color: #fff; font-size: var(--web-text-h4); margin: 0 0 var(--web-space-2); }
.web-capture-security-footer { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: var(--web-space-4); border-top: 1px solid var(--apalos-navy-700); margin-top: var(--web-space-8); padding-top: var(--web-space-6); }
.web-capture-security-footer p { font-size: var(--web-text-meta); }
.web-capture .web-capture-privacy p { color: var(--apalos-navy-100); }
.web-capture .web-capture-privacy .web-eyebrow { color: var(--apalos-green-50); }
.web-capture-privacy a { color: var(--apalos-green-50); font-size: var(--web-text-meta); }
.web-capture-privacy-features article + article { border-top: 1px solid var(--apalos-navy-700); padding-top: var(--web-space-6); margin-top: var(--web-space-6); }
.web-capture-privacy-features p { font-size: var(--web-text-body-s); }
.web-capture-details { border-top: 1px solid var(--apalos-warm-200); }
.web-capture-details details { border-bottom: 1px solid var(--apalos-warm-200); }
.web-capture-details summary { display: flex; justify-content: space-between; align-items: center; gap: var(--web-space-4); padding-block: var(--web-space-6); font-weight: 600; cursor: pointer; list-style: none; }
.web-capture-details summary::-webkit-details-marker { display: none; }
.web-capture-details summary::after { content: '+'; font-size: var(--web-text-h3); font-weight: 400; }
.web-capture-details details[open] summary::after { content: '−'; }
.web-capture-details summary:hover { color: var(--apalos-green-700); }
.web-capture-details details p { padding-bottom: var(--web-space-4); }
.web-capture .web-capture-pricing { background: var(--web-ivory); }
.web-capture-pricing .web-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--web-space-6); }
.web-capture-pricing .web-tier { padding: var(--web-space-8); border-radius: var(--apalos-radius); }
.web-capture-pricing .web-tier--default { border-color: var(--apalos-green-700); background: var(--apalos-green-50); }
.web-capture .web-capture-pricing .web-tier-name { display: flex; align-items: center; flex-wrap: wrap; gap: var(--web-space-2); font-size: var(--web-text-h3); margin-bottom: var(--web-space-4); }
.web-capture-pricing .web-tier-badge { margin-left: auto; padding: var(--web-space-1) var(--web-space-2); background: var(--apalos-green-700); color: #fff; font-size: var(--web-text-micro); letter-spacing: 0; text-transform: none; }
.web-capture-pricing .web-tier-intent { min-height: 4.5em; }
.web-capture-price { display: flex; flex-direction: column; gap: var(--web-space-2); padding-block: var(--web-space-6); border-block: 1px solid var(--apalos-warm-200); }
.web-capture-price > strong { font-size: var(--web-text-h1); font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.web-capture-price small { display: inline-block; margin-left: var(--web-space-1); font-size: var(--web-text-meta); font-weight: 400; letter-spacing: normal; white-space: nowrap; }
.web-capture-price > span { font-size: var(--web-text-meta); color: var(--apalos-warm-800); }
.web-capture-limits { font-size: var(--web-text-meta); margin-block: var(--web-space-6); }
.web-capture-limits > div { display: flex; justify-content: space-between; gap: var(--web-space-3); padding-block: var(--web-space-2); }
.web-capture-limits dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.web-capture .web-capture-comparison { padding-bottom: var(--web-space-8); }
.web-capture-comparison .web-ladder { min-width: 36rem; }
.web-capture-comparison .web-ladder thead th { background: var(--apalos-navy-50); color: var(--apalos-navy-900); font-size: var(--web-text-meta); text-transform: none; letter-spacing: 0; padding-block: var(--web-space-4); }
.web-capture-comparison .web-ladder th:first-child { width: 34%; }
.web-capture .web-capture-table-note { font-size: var(--web-text-meta); margin-top: var(--web-space-4); }
.web-capture .web-capture-outliers { padding-block: var(--web-space-8) var(--web-space-16); border-top: 0; }
.web-capture .web-capture-outliers h2 { font-size: var(--web-text-h3); }
.web-capture-outliers p { max-width: none; font-size: var(--web-text-body-s); }
.web-capture .web-capture-closing { background: var(--web-surface); }
.web-capture-closing-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--web-space-24); align-items: center; }
.web-capture-order-notes { border-left: 1px solid var(--apalos-warm-300); padding-left: var(--web-space-8); }
.web-capture-order-notes p { font-size: var(--web-text-meta); }
@media (max-width: 64rem) {
  .web-capture-hero-grid { gap: var(--web-space-6); }
  .web-capture-demo-body { padding: var(--web-space-3); }
  .web-capture-form-preview { width: 92%; padding: var(--web-space-4); }
  .web-capture-inbox-preview { margin-left: var(--web-space-6); }
  .web-capture-assurance-grid, .web-capture-closing-grid { gap: var(--web-space-12); }
  .web-capture-pricing .web-tier { padding: var(--web-space-6); }
  .web-capture .web-capture-pricing .web-tier-name { display: block; }
  .web-capture-pricing .web-tier-badge { display: table; margin-top: var(--web-space-2); }
  .web-capture-section-heading > p { max-width: 35ch; }
}
@media (max-width: 48rem) {
  .web-capture .web-section { padding-block: var(--web-space-12); }
  .web-capture-hero-grid, .web-capture-feature-grid, .web-capture-assurance-grid, .web-capture-closing-grid { grid-template-columns: 1fr; }
  .web-capture-intro { padding-block: var(--web-space-4); }
  .web-capture .web-capture-intro h1 { font-size: clamp(var(--web-text-h1), 7.5vw, var(--web-text-display-l)); }
  .web-capture-demo { max-width: 36rem; width: 100%; margin-inline: auto; }
  .web-capture-demo-body { padding: var(--web-space-6); }
  .web-capture-form-preview { width: 82%; }
  .web-capture-inbox-preview { margin-left: var(--web-space-12); }
  .web-capture-jump strong { display: none; }
  .web-capture-jump > div { justify-content: space-between; column-gap: var(--web-space-4); }
  .web-capture-jump a { font-size: var(--web-text-meta); }
  .web-capture-section-heading, .web-capture-sharing { flex-direction: column; align-items: start; gap: var(--web-space-4); }
  .web-capture-section-heading > p { max-width: 60ch; }
  .web-capture-pricing .web-tiers { grid-template-columns: 1fr; }
  .web-capture .web-capture-pricing .web-tier-name { display: flex; }
  .web-capture-pricing .web-tier-badge { display: inline-block; margin-top: 0; }
  .web-capture-pricing .web-tier-intent { min-height: 0; }
  .web-capture-feature { padding: var(--web-space-6); }
  .web-capture-order-notes { padding-left: 0; border-left: 0; padding-top: var(--web-space-6); border-top: 1px solid var(--apalos-warm-300); }
}
@media (max-width: 25rem) {
  .web-capture-demo-body { padding: var(--web-space-3); }
  .web-capture-form-preview { width: 100%; }
  .web-capture-inbox-preview { margin-left: 0; margin-top: var(--web-space-3); }
  .web-capture-demo-top > span:last-child { display: none; }
  .web-capture-intro .web-actions { flex-direction: column; }
  .web-capture-version { padding: var(--web-space-4); }
}

/* Products overview — continuation of the Capture SaaS direction.
   Page-local composition; existing brand tokens, native links, no scripts or motion.
   See docs/webdesignimplementation/products-page.md. */
.web-products .web-section { padding-block: var(--web-space-16); }
.web-products .web-section h2 { font-size: clamp(var(--web-text-h2), 3vw, var(--web-text-h1)); letter-spacing: -0.035em; }
.web-products .web-eyebrow { color: var(--apalos-green-700); font-weight: 700; }
.web-products .apalos-btn { display: inline-flex; align-items: center; min-height: var(--web-target-min); }
.web-products-hero { background: #fff; }
.web-products-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: var(--web-space-12); }
.web-products .web-products-intro h1 { font-size: clamp(var(--web-text-h1), 4.1vw, var(--web-text-display-l)); letter-spacing: -0.045em; line-height: 1.12; }
.web-products-intro h1 span { color: var(--apalos-green-700); }
.web-products-intro > p { max-width: 54ch; }
.web-products-intro > p:not(.web-eyebrow):not(.web-lead) { font-size: var(--web-text-body-s); }
.web-products-family { min-width: 0; margin: 0; padding: var(--web-space-6); background: var(--apalos-navy-900); border-radius: var(--apalos-radius); }
.web-products-family-heading { display: flex; justify-content: space-between; align-items: center; gap: var(--web-space-4); color: #fff; margin-bottom: var(--web-space-6); }
.web-products-family-heading > span:last-child { color: var(--apalos-navy-200); font-size: var(--web-text-meta); }
.web-products-family-apps, .web-products-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--web-space-4); }
.web-products-family-app { display: flex; flex-direction: column; align-items: start; gap: var(--web-space-2); padding: var(--web-space-4); border-radius: var(--apalos-radius-sm); background: #fff; }
.web-products-family-app--next { background: #fff; }
.web-products-family-app > strong { font-size: var(--web-text-h4); margin-top: var(--web-space-2); }
.web-products-family-app > span { font-size: var(--web-text-meta); color: var(--apalos-warm-800); }
.web-products-family-app > small { margin-top: auto; padding-top: var(--web-space-2); font-size: var(--web-text-micro); font-weight: 600; color: var(--apalos-green-700); }
.web-products-family-app--next > small { color: var(--apalos-navy-700); }
.web-products-connectors { display: grid; grid-template-columns: 1fr 1fr; height: 1.5rem; }
.web-products-connectors > span { width: 1px; height: 100%; margin-inline: auto; background: var(--apalos-green-500); }
.web-products-family-base { padding: var(--web-space-4); background: var(--apalos-green-50); border: 1px solid var(--apalos-green-500); border-radius: var(--apalos-radius-sm); text-align: center; color: var(--web-green-800); }
.web-products-family-base > div { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--web-space-4); padding-top: var(--web-space-2); font-size: var(--web-text-meta); }
.web-products-family figcaption { padding-top: var(--web-space-4); color: var(--apalos-navy-200); font-size: var(--web-text-meta); text-align: center; }
.web-products-jump { border-block: 1px solid var(--apalos-warm-200); background: #fff; }
.web-products-jump > div { display: flex; align-items: center; flex-wrap: wrap; column-gap: var(--web-space-8); padding-block: var(--web-space-2); }
.web-products-jump strong { margin-right: auto; }
.web-products-jump a { display: inline-flex; align-items: center; min-height: var(--web-target-min); font-size: var(--web-text-meta); text-decoration: none; color: var(--apalos-navy-700); }
.web-products-jump a:hover { text-decoration: underline; }
.web-products-catalogue { background: var(--web-ivory); }
.web-products-heading { display: flex; justify-content: space-between; align-items: end; gap: var(--web-space-8); margin-bottom: var(--web-space-8); }
.web-products-heading > p { max-width: 40ch; font-size: var(--web-text-body-s); }
.web-products .web-products-heading h2 { margin-bottom: var(--web-space-4); }
.web-products-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--web-space-6); }
.web-products-card { display: flex; flex-direction: column; min-width: 0; padding: var(--web-space-8); border: 1px solid var(--apalos-warm-200); border-top: 3px solid var(--apalos-green-700); border-radius: var(--apalos-radius); background: #fff; }
.web-products-card--next { border-top-color: var(--apalos-navy-200); }
.web-products-status { padding: var(--web-space-1) var(--web-space-3); border-radius: 999px; background: var(--apalos-green-50); color: var(--apalos-green-700); font-size: var(--web-text-meta); font-weight: 600; }
.web-products-status--next { background: var(--apalos-navy-50); color: var(--apalos-navy-700); }
.web-products .web-products-card h3 { font-size: var(--web-text-h2); font-weight: 700; letter-spacing: -0.035em; margin-bottom: var(--web-space-2); }
.web-products-card-body > p { font-size: var(--web-text-body-s); }
.web-products .web-products-promise { color: var(--apalos-navy-900); font-size: var(--web-text-h4); font-weight: 600; }
.web-products-workflow { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--web-space-2); padding: var(--web-space-4); margin-block: var(--web-space-4) var(--web-space-6); background: var(--apalos-green-50); border-radius: var(--apalos-radius-sm); color: var(--web-green-800); font-size: var(--web-text-meta); font-weight: 600; }
.web-products-card--next .web-products-workflow { background: var(--apalos-navy-50); color: var(--apalos-navy-700); }
.web-products .web-products-features { font-size: var(--web-text-body-s); padding-left: var(--web-space-4); margin-bottom: var(--web-space-6); }
.web-products-development { border-left: 2px solid var(--apalos-navy-200); padding-left: var(--web-space-4); margin-bottom: var(--web-space-6); font-size: var(--web-text-body-s); }
.web-products-development p { margin-top: var(--web-space-2); }
.web-products-card-footer { display: flex; align-items: center; flex-wrap: wrap; gap: var(--web-space-4); border-top: 1px solid var(--apalos-warm-200); padding-top: var(--web-space-6); margin-top: auto; font-size: var(--web-text-meta); }
.web-products-foundation-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--web-space-16); }
.web-products-foundation-grid > div > a { font-size: var(--web-text-meta); }
.web-products-paths > div { border: 1px solid var(--apalos-warm-300); border-radius: var(--apalos-radius-sm); padding: var(--web-space-4); background: #fff; }
.web-products-paths strong { display: block; font-size: var(--web-text-body-s); }
.web-products .web-products-paths p { font-size: var(--web-text-meta); margin-top: var(--web-space-2); margin-bottom: 0; }
.web-products-blocks { background: var(--apalos-navy-900); border-radius: var(--apalos-radius); padding: var(--web-space-6); color: #fff; }
.web-products-blocks > strong { display: block; margin-bottom: var(--web-space-4); }
.web-products-blocks > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--web-space-2); }
.web-products-blocks span { border: 1px solid var(--apalos-navy-700); border-radius: var(--apalos-radius-sm); padding: var(--web-space-3); font-size: var(--web-text-meta); color: var(--apalos-navy-100); }
.web-products .web-products-foundation-note { margin-top: var(--web-space-4); margin-bottom: 0; font-size: var(--web-text-meta); text-align: center; }
.web-products-assurance { background: var(--apalos-navy-900); }
.web-products .web-products-assurance h2, .web-products .web-products-assurance h3 { color: #fff; }
.web-products .web-products-assurance .web-eyebrow { color: var(--apalos-green-50); }
.web-products-assurance .web-products-heading > p, .web-products-controls p { color: var(--apalos-navy-100); }
.web-products-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--web-space-16); row-gap: var(--web-space-8); }
.web-products-controls article { border-top: 1px solid var(--apalos-navy-700); padding-top: var(--web-space-6); }
.web-products-controls h3 { font-size: var(--web-text-h4); }
.web-products-controls p { font-size: var(--web-text-body-s); }
.web-products-assurance-footer { display: flex; align-items: center; justify-content: space-between; gap: var(--web-space-8); border-top: 1px solid var(--apalos-navy-700); margin-top: var(--web-space-8); padding-top: var(--web-space-6); }
.web-products .web-products-assurance-footer p { color: var(--apalos-navy-200); font-size: var(--web-text-meta); max-width: 68ch; margin-bottom: 0; }
.web-products-assurance-footer a { color: var(--apalos-green-50); font-size: var(--web-text-meta); flex-shrink: 0; }
.web-products-choice { background: var(--web-surface); }
.web-products-choice-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: var(--web-space-24); }
.web-products-contact { border-left: 1px solid var(--apalos-warm-300); padding-left: var(--web-space-8); }
@media (max-width: 64rem) {
  .web-products-hero-grid, .web-products-foundation-grid { gap: var(--web-space-8); }
  .web-products-family { padding: var(--web-space-4); }
  .web-products-family-apps { gap: var(--web-space-2); }
  .web-products-card { padding: var(--web-space-6); }
  .web-products-assurance-footer { align-items: start; flex-direction: column; gap: var(--web-space-4); }
  .web-products-choice-grid { gap: var(--web-space-12); }
}
@media (max-width: 48rem) {
  .web-products .web-section { padding-block: var(--web-space-12); }
  .web-products-hero-grid, .web-products-cards, .web-products-foundation-grid, .web-products-choice-grid { grid-template-columns: 1fr; }
  .web-products .web-products-intro h1 { font-size: clamp(var(--web-text-h1), 7.5vw, var(--web-text-display-l)); }
  .web-products-family { width: 100%; max-width: 36rem; margin-inline: auto; padding: var(--web-space-6); }
  .web-products-jump strong { display: none; }
  .web-products-jump > div { column-gap: var(--web-space-4); }
  .web-products-heading { flex-direction: column; align-items: start; gap: var(--web-space-2); }
  .web-products-heading > p { max-width: 60ch; }
  .web-products-controls { column-gap: var(--web-space-6); }
  .web-products-contact { border-left: 0; border-top: 1px solid var(--apalos-warm-300); padding-left: 0; padding-top: var(--web-space-8); }
}
@media (max-width: 25rem) {
  .web-products-family { padding: var(--web-space-3); }
  .web-products-family-app { padding: var(--web-space-3); }
  .web-products-family-app > strong { font-size: var(--web-text-body); }
  .web-products-intro .web-actions { flex-direction: column; }
  .web-products-card { padding: var(--web-space-4); }
  .web-products-workflow { padding: var(--web-space-3); font-size: var(--web-text-micro); }
  .web-products-paths { gap: var(--web-space-2); }
  .web-products-paths > div, .web-products-blocks { padding: var(--web-space-3); }
  .web-products-controls { grid-template-columns: 1fr; }
}

/* Homepage commercial composition, below the existing hero.
   Scoped to .web-home; video, hero styles and shared chrome stay independent.
   See docs/webdesignimplementation/homepage.md. */
.web-home .web-section { padding-block: var(--web-space-16); }
.web-home .web-section h2 { font-size: clamp(var(--web-text-h2), 3vw, var(--web-text-h1)); letter-spacing: -0.025em; }
.web-home .web-eyebrow { color: var(--apalos-green-700); font-weight: 700; }
.web-home .apalos-btn { display: inline-flex; align-items: center; min-height: var(--web-target-min); }
.web-home-heading { display: flex; justify-content: space-between; align-items: end; gap: var(--web-space-12); margin-bottom: var(--web-space-8); }
.web-home-heading > p { max-width: 42ch; font-size: var(--web-text-body-s); }
.web-home .web-home-heading h2 { margin-bottom: var(--web-space-4); }
.web-home-offers { background: #fff; }
/* Custom solutions lead; the products are a note beside them (85/15, founder 2026-11-13). */
.web-home-offer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); margin-top: var(--web-space-8); padding-top: var(--web-space-8); border-top: 1px solid var(--apalos-warm-300); }
.web-home-offer { display: flex; flex-direction: column; min-width: 0; }
/* Equal inset on either side of the divider gives both offers the same reading width. */
.web-home-offer:first-child { padding-right: var(--web-space-12); }
.web-home-offer + .web-home-offer { padding-left: var(--web-space-12); border-left: 1px solid var(--apalos-warm-300); }
.web-home .web-home-offer h3 { font-size: var(--web-text-h3); font-weight: 700; letter-spacing: -0.025em; }
.web-home-offer > p { max-width: 54ch; font-size: var(--web-text-body-s); }
.web-home-offer-footer { padding-top: var(--web-space-2); margin-top: auto; }
/* The band's closing sentence is one statement on two lines; break it evenly. */
.web-home-reuse-point { text-wrap: balance; }
/* The note: a smaller heading, a text link, no button. */
.web-home .web-home-offer--also h3 { font-size: var(--web-text-body); letter-spacing: 0; }
.web-home-offer--also > .web-readmore { align-self: flex-start; }
/* The example band above takes the warm surface (iter 91-9), so this section and the next swap theirs. */
.web-home-reuse { background: #fff; }
.web-home-reuse-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--web-space-16); }
.web-home-reuse-grid > div > a, .web-home-process-grid > div > a { display: inline-flex; align-items: center; min-height: var(--web-target-min); font-size: var(--web-text-meta); }
.web-home .web-home-reuse-point { font-weight: 600; color: var(--apalos-navy-900); }
.web-home-foundation { min-width: 0; margin: 0; }
.web-home-your-work { padding: var(--web-space-6); margin-left: var(--web-space-8); border: 1px solid var(--apalos-green-700); border-bottom: 0; border-radius: var(--apalos-radius) var(--apalos-radius) 0 0; background: var(--apalos-green-50); }
.web-home-your-work > span { display: block; font-size: var(--web-text-micro); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--apalos-green-700); margin-bottom: var(--web-space-2); }
.web-home-your-work > strong { display: block; font-size: var(--web-text-h3); color: var(--web-green-800); }
.web-home .web-home-your-work p { font-size: var(--web-text-body-s); color: var(--web-green-800); margin-top: var(--web-space-2); margin-bottom: 0; }
.web-home-base { padding: var(--web-space-6); background: var(--apalos-navy-900); border-radius: var(--apalos-radius) 0 var(--apalos-radius) var(--apalos-radius); color: #fff; }
.web-home-base > strong { display: block; margin-bottom: var(--web-space-4); }
.web-home-base > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--web-space-2); }
.web-home-base span { padding: var(--web-space-3); border: 1px solid var(--apalos-navy-700); border-radius: var(--apalos-radius-sm); font-size: var(--web-text-meta); color: var(--apalos-navy-100); }
.web-home-foundation figcaption { font-size: var(--web-text-meta); color: var(--apalos-warm-800); margin-top: var(--web-space-4); text-align: center; }
.web-home-process { background: var(--web-ivory); }
.web-home-process-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--web-space-16); }
.web-home .web-home-steps { margin: 0; padding-left: var(--web-space-6); }
.web-home-steps > li { padding-left: var(--web-space-3); }
.web-home-steps > li::marker { color: var(--apalos-green-700); font-weight: 700; }
.web-home .web-home-steps > li + li { margin-top: var(--web-space-6); border-top: 1px solid var(--apalos-warm-200); padding-top: var(--web-space-6); }
.web-home .web-home-steps h3 { font-size: var(--web-text-h4); margin-bottom: var(--web-space-2); }
.web-home-steps p { font-size: var(--web-text-body-s); }
.web-home-trust { background: var(--apalos-navy-900); }
.web-home .web-home-trust h2, .web-home .web-home-trust h3 { color: #fff; }
.web-home .web-home-trust .web-eyebrow { color: var(--apalos-green-50); }
.web-home-trust a { color: var(--apalos-green-50); font-size: var(--web-text-meta); min-height: var(--web-target-min); display: inline-flex; align-items: center; }
.web-home-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--web-space-8); }
.web-home-pillars article { padding-top: var(--web-space-6); border-top: 1px solid var(--apalos-navy-700); }
.web-home .web-home-pillars h3 { font-size: var(--web-text-h4); }
.web-home .web-home-pillars p { color: var(--apalos-navy-100); font-size: var(--web-text-body-s); margin-bottom: 0; }
.web-home-closing { background: var(--web-surface); }
.web-home-closing-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: var(--web-space-24); }
.web-home-next-step { border-left: 1px solid var(--apalos-warm-300); padding-left: var(--web-space-8); }
.web-home .web-home-next-step h3 { font-size: var(--web-text-h4); }
/* A 44 px target (it was 22 px high on a phone until iter 91-9). */
.web-home-secondary { display: flex; align-items: center; width: fit-content; min-height: var(--web-target-min); margin-top: var(--web-space-2); font-size: var(--web-text-meta); }
@media (max-width: 64rem) {
  .web-home-heading, .web-home-reuse-grid, .web-home-process-grid, .web-home-closing-grid { gap: var(--web-space-8); }
  .web-home-offer:first-child { padding-right: var(--web-space-8); }
  .web-home-offer + .web-home-offer { padding-left: var(--web-space-8); }
}
@media (max-width: 48rem) {
  .web-home .web-section { padding-block: var(--web-space-12); }
  .web-home-heading { flex-direction: column; align-items: start; gap: var(--web-space-2); }
  .web-home-heading > p { max-width: 60ch; }
  .web-home-offer-grid, .web-home-reuse-grid, .web-home-process-grid, .web-home-closing-grid, .web-home-pillars { grid-template-columns: 1fr; }
  .web-home-offer:first-child { padding-right: 0; }
  .web-home-offer + .web-home-offer { padding-left: 0; border-left: 0; border-top: 1px solid var(--apalos-warm-300); padding-top: var(--web-space-8); margin-top: var(--web-space-8); }
  .web-home-foundation { max-width: 36rem; margin-inline: auto; }
  .web-home-next-step { border-left: 0; border-top: 1px solid var(--apalos-warm-300); padding-left: 0; padding-top: var(--web-space-8); }
}
@media (max-width: 25rem) {
  .web-home-your-work, .web-home-base { padding: var(--web-space-4); }
  .web-home-your-work { margin-left: var(--web-space-4); }
}

/* Founder and future-colleague profiles: website-owned, on the shared design tokens. */
.web-team {
  padding-top: var(--web-space-8);
}

.web-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--web-space-12);
  margin-top: var(--web-space-12);
}

.web-team-profile {
  min-width: 0;
}

.web-team-photo {
  width: 100%;
  max-width: 18rem;
  margin: 0 0 var(--web-space-6);
}

.web-team-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--apalos-radius-sm);
}

.web-team-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--web-space-4);
  aspect-ratio: 1;
  border: 1px dashed var(--apalos-warm-300);
  border-radius: var(--apalos-radius-sm);
  background: var(--apalos-warm-100);
  color: var(--apalos-navy-700);
}

.web-team-placeholder svg {
  width: 6rem;
  height: 6rem;
}

.web-team-placeholder span {
  font-size: var(--web-text-h4);
  font-weight: 700;
}

.web-contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--web-space-8);
  margin-top: var(--web-space-8);
}

.web-contact-details address {
  font-style: normal;
}

/* 44 px targets (#1714): the contact page's address and its link to the founder, and every link
   in the page body that is styled as a button (the contact page's e-mail button, the staff page's). */
/* On the two product pages a plain link that stands on its own line, outside a paragraph, is a
   target too (they were 18 to 22 px high). */
:is(.web-capture, .web-products) div > a:not([class]),
.web-contact-details a,
.web-facts dd > a,
.apalos-web main a.apalos-btn {
  display: inline-flex;
  align-items: center;
  min-height: var(--web-target-min);
}

/* Aktuelt: a dated editorial feature, with room for future article and film entries. */
.web-news-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: var(--web-space-12);
  padding-bottom: var(--web-space-8);
  border-bottom: 1px solid var(--apalos-navy-900);
}

.web-news-header h1 {
  margin-bottom: 0;
  font-size: clamp(var(--web-text-display-m), 6vw, var(--web-text-display-l));
}

.web-news-header p:last-child {
  margin-bottom: 0;
}

.web-news-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  align-items: center;
  gap: var(--web-space-16);
  padding-block: var(--web-space-12);
}

/* An article without a photo is a complete editorial entry, not an empty image slot. */
.web-news-feature--text { grid-template-columns: minmax(0, 1fr); }
.web-news-feature--text > div { max-width: var(--web-w-prose); }
.web-news-feature + .web-news-feature { border-top: 1px solid var(--apalos-warm-200); }

.web-news-feature h2 {
  font-size: var(--web-text-h1);
}

.web-news-feature h2 a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.web-news-meta {
  color: var(--apalos-warm-700);
  font-size: var(--web-text-body-s);
}

.web-news-portrait {
  margin: 0;
  width: 13rem;
  max-width: 100%;
  justify-self: end;
}

.web-news-portrait img,
.web-news-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--apalos-radius-sm);
}

.web-news-photo {
  margin: 0;
  min-width: 0;
}

.web-news-article > .web-frame > .web-news-photo {
  margin-block: var(--web-space-8) var(--web-space-12);
}

.web-news-article .web-frame {
  max-width: var(--web-w-prose);
}

.web-news-body h2 {
  margin-top: var(--web-space-12);
}

@media (max-width: 48rem) {
  .web-team-grid,
  .web-contact-details,
  .web-news-header,
  .web-news-feature {
    grid-template-columns: 1fr;
  }

  .web-news-header,
  .web-news-feature {
    gap: var(--web-space-8);
  }

  .web-news-portrait {
    width: 10rem;
    justify-self: start;
  }
}


/* Phase 83: the selected 3D foundation figure on /losninger/byggeklosser.
   Keep labels outside the film: they remain readable, responsive and translatable. */
.web-foundation { padding-top: 0; }
.web-foundation-heading { max-width: var(--web-w-prose); margin-bottom: var(--web-space-8); }
.web-foundation-heading h2 { font-size: clamp(var(--web-text-h2), 3vw, var(--web-text-h1)); letter-spacing: -0.025em; }
.web-foundation-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--web-space-16); align-items: start; }
.web-foundation-visual { min-width: 0; }
.web-foundation figure { margin: 0; }
.web-foundation-media { position: relative; aspect-ratio: 16 / 9; background: var(--apalos-warm-100); }
.web-foundation-media img, .web-foundation-media video { display: block; width: 100%; height: 100%; object-fit: contain; }
.web-foundation-media video { position: absolute; inset: 0; }
.web-foundation [hidden] { display: none !important; }
.web-foundation figcaption { margin-top: var(--web-space-4); font-size: var(--web-text-meta); color: var(--apalos-warm-700); }
.web-foundation-play { display: inline-flex; align-items: center; min-height: var(--web-target-min); margin-top: var(--web-space-4); white-space: normal; text-align: left; }
.web-foundation-status:empty { margin: 0; }
.web-foundation-status { margin-top: var(--web-space-4); font-size: var(--web-text-meta); }
.web-foundation-yours { margin-top: var(--web-space-8); padding-left: var(--web-space-6); border-left: 3px solid var(--apalos-green-500); }
.web-foundation-yours .web-eyebrow { margin-bottom: var(--web-space-2); }
.web-foundation h3 { font-size: var(--web-text-h3); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 var(--web-space-2); }
.web-foundation-yours p:last-child { margin-bottom: 0; }
.web-foundation-capabilities > section { padding-block: var(--web-space-6); border-top: 1px solid var(--apalos-warm-300); }
.web-foundation-capabilities > section:first-child { padding-top: 0; border-top: 0; }
.web-foundation-capabilities > section:last-child { padding-bottom: 0; }
.web-foundation-capabilities p { margin: 0 0 var(--web-space-3); font-size: var(--web-text-body-s); }
.web-foundation-capabilities ul { margin: 0; padding-left: var(--web-space-6); font-size: var(--web-text-body-s); }
.web-foundation-capabilities li + li { margin-top: var(--web-space-1); }
.web-foundation-capabilities li::marker { color: var(--apalos-navy-700); }
@media (max-width: 64rem) {
  .web-foundation-grid { gap: var(--web-space-8); }
}
@media (max-width: 48rem) {
  .web-foundation-grid { grid-template-columns: 1fr; }
  .web-foundation-capabilities > section:first-child { padding-top: var(--web-space-6); border-top: 1px solid var(--apalos-warm-300); }
}

/* All cues reserve the tallest localized text; chapter changes never move the controls. */
.web-foundation-cues { display: grid; margin-bottom: var(--web-space-2); color: var(--apalos-navy-900); font-weight: 700; }
.web-foundation-cues > span { grid-area: 1 / 1; }
.web-foundation-cues > span[hidden] { display: block !important; visibility: hidden; }
.web-foundation-capabilities > section { position: relative; }
.web-foundation-capabilities > section.is-current::before { content: ""; position: absolute; left: calc(-1 * var(--web-space-4)); top: var(--web-space-6); width: 2px; height: var(--web-space-6); background: var(--apalos-navy-700); }
.web-foundation-capabilities > section.is-current:first-child::before { top: 0; }
@media (max-width: 48rem) {
  .web-foundation-capabilities > section.is-current:first-child::before { top: var(--web-space-6); }
}

/* Phase 83: lead the solutions hub with its foundation explanation. */
.web-solutions-principles .web-num { color: var(--apalos-green-700); }
.web-solutions-opening-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--web-space-12); align-items: center; }
.web-solutions-intro { min-width: 0; }
.web-solutions-intro h1 { max-width: 19ch; }
.web-solutions-intro .web-actions { align-items: center; }
.web-solutions-intro .web-actions > a { display: inline-flex; align-items: center; min-height: var(--web-target-min); white-space: normal; }
.web-solutions-foundation { min-width: 0; margin: 0; }
.web-solutions-foundation img { display: block; width: 100%; height: auto; }
.web-solutions-foundation figcaption { margin-top: var(--web-space-4); font-size: var(--web-text-meta); color: var(--apalos-navy-900); }
@media (max-width: 64rem) {
  .web-solutions-opening-grid { grid-template-columns: 1fr; gap: var(--web-space-8); }
  .web-solutions-intro { max-width: var(--web-w-prose); }
  .web-solutions-foundation { max-width: 40rem; }
}

/* Separate the recovery choices from the quieter contact option. */
.web-not-found .web-actions {
  margin-bottom: var(--web-space-6);
}

/* Phase 83 product presentation: one unchanged Apalos identity, product names,
   editorial covers and labelled working examples. No product-symbol variants. */
.web-product-identity { display: flex; align-items: center; flex-wrap: wrap; gap: var(--web-space-6); margin-bottom: var(--web-space-8); }
.web-product-identity img { display: block; width: 11.25rem; height: auto; }
.web-product-identity > span { border-left: 1px solid var(--apalos-warm-300); padding-left: var(--web-space-6); font-size: var(--web-text-h3); font-weight: 500; letter-spacing: -0.035em; }
.web-capture-demo-top > img { display: block; width: 2rem; height: 2rem; }
.web-capture-demo-top > strong { border-left: 1px solid var(--apalos-navy-700); padding-left: var(--web-space-3); }
.web-capture-workspace { min-width: 0; }
.web-capture-subscription { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--web-space-3); padding-top: var(--web-space-4); font-size: var(--web-text-meta); }
.web-capture-subscription > span { font-weight: 600; }
.web-products-family-heading { flex-wrap: wrap; }
.web-products-family-heading > img { display: block; width: 11.25rem; height: auto; }
.web-products-family-app > strong { font-size: clamp(var(--web-text-h4), 2vw, var(--web-text-h3)); letter-spacing: -0.035em; margin-top: 0; }
.web-products .web-products-card { padding: 0; border-top: 1px solid var(--apalos-warm-200); overflow: hidden; }
.web-products-card-body { padding: var(--web-space-8); display: flex; flex-direction: column; flex: 1; }
.web-product-cover { display: flex; flex-direction: column; padding: var(--web-space-8); background: var(--web-ivory); color: var(--apalos-navy-900); }
.web-product-cover--capture { background: var(--apalos-navy-900); color: #fff; }
.web-product-cover-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--web-space-4); margin-bottom: var(--web-space-6); }
.web-product-cover-top > img { display: block; width: 11.25rem; height: auto; }
.web-product-cover .web-products-status { font-size: var(--web-text-micro); }
.web-products .web-product-cover h3 { margin-bottom: var(--web-space-4); font-size: clamp(var(--web-text-h2), 3.5vw, var(--web-text-display-m)); font-weight: 800; color: inherit; letter-spacing: -0.045em; }
.web-products .web-product-cover .web-products-promise { color: inherit; font-size: var(--web-text-h4); font-weight: 500; margin-bottom: var(--web-space-6); min-height: 3em; }
.web-product-cover-example { margin: 0; width: 86%; align-self: end; }
.web-product-paper { position: relative; background: #fff; color: var(--apalos-navy-900); border: 1px solid var(--apalos-warm-200); padding: var(--web-space-6); }
.web-product-paper > span { display: block; font-size: var(--web-text-micro); color: var(--apalos-warm-700); }
.web-product-paper > strong { display: block; font-size: var(--web-text-body); font-weight: 600; margin-top: var(--web-space-3); }
.web-product-paper-lines { display: flex; flex-direction: column; gap: var(--web-space-2); margin-block: var(--web-space-4); min-height: 3rem; }
.web-product-paper-lines > span { display: block; height: 0.5rem; background: var(--apalos-warm-200); width: 90%; }
.web-product-paper-lines > span:last-child { width: 60%; }
.web-product-paper-records { display: flex; flex-wrap: wrap; gap: var(--web-space-2); margin-block: var(--web-space-4); min-height: 3rem; font-size: var(--web-text-micro); }
.web-product-paper-records > span { padding-right: var(--web-space-2); }
.web-product-paper > small { display: block; border-top: 1px solid var(--apalos-warm-200); padding-top: var(--web-space-3); font-size: var(--web-text-micro); }
.web-product-cover-example > figcaption { margin-top: var(--web-space-2); font-size: var(--web-text-micro); color: var(--apalos-warm-700); }
.web-product-cover--capture .web-product-cover-example > figcaption { color: var(--apalos-navy-200); }
@media (max-width: 600px) {
  .web-products-heading-break { display: none; }
  .web-product-identity { gap: var(--web-space-4); }
  .web-product-identity > span { padding-left: 0; border-left: 0; }
  .web-products-card-body, .web-product-cover { padding: var(--web-space-4); }
  .web-product-cover-example { width: 100%; }
  .web-product-paper { padding: var(--web-space-4); }
}

/* Tillit: supporting disclosures stay readable and keyboard-operable without JavaScript. */
.web-trust-details { border-top: 1px solid var(--apalos-warm-200); }
.web-trust-details details { border-bottom: 1px solid var(--apalos-warm-200); }
.web-trust-details summary {
  padding-block: var(--web-space-6);
  font-weight: 600;
  cursor: pointer;
}
.web-trust-details summary:hover { color: var(--apalos-green-700); }
.web-trust-details details > div { padding-bottom: var(--web-space-4); }

/* Phase 83: quiet editorial hierarchy, with the accepted white/ivory/navy palette.
   Supporting content uses smaller headings; the offer and foundation keep their emphasis. */
.web-home .web-home-process h2 { font-size: var(--web-text-h2); }
.web-frame > h1 { max-width: 24ch; }
.web-editorial-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: var(--web-space-12); align-items: start; }
.web-editorial-row > h2 { max-width: 22ch; margin-bottom: 0; }
.web-editorial-copy { min-width: 0; }
.web-editorial-copy > :last-child { margin-bottom: 0; }
.web-solutions-next h2 { max-width: 26ch; }
.web-route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--web-space-8); margin-top: var(--web-space-8); }
.web-route-grid article { display: flex; flex-direction: column; padding-top: var(--web-space-6); border-top: 1px solid var(--apalos-warm-300); min-width: 0; }
.web-route-grid h3 { font-size: var(--web-text-h4); }
.web-route-grid p { font-size: var(--web-text-body-s); }
.web-route-grid a { margin-top: auto; align-self: start; }
@media (max-width: 47.99rem) {
  .web-editorial-row { grid-template-columns: 1fr; gap: var(--web-space-6); }
  .web-route-grid { grid-template-columns: 1fr; gap: var(--web-space-6); }
}

/* Language is a quiet navigation utility, not a separate content band. */
.web-nav .apalos-lang-switch {
  position: relative;
  margin-inline-start: var(--web-space-2);
  padding-inline-start: var(--web-space-3);
  border-inline-start: 1px solid var(--apalos-warm-300);
  font-size: var(--web-text-meta);
  font-weight: 400;
}

.apalos-lang-switch > summary {
  display: inline-flex;
  align-items: center;
  gap: var(--web-space-2);
  min-height: var(--web-target-min);
  padding-inline: var(--web-space-2);
  color: var(--apalos-navy-700);
  cursor: pointer;
  list-style: none;
}

.apalos-lang-switch > summary::-webkit-details-marker { display: none; }
.apalos-lang-switch > summary:hover { color: var(--apalos-navy-900); }
.apalos-lang-switch > summary:focus-visible {
  outline: 2px solid var(--apalos-green-700);
  outline-offset: 2px;
}
.apalos-lang-switch summary svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.web-language-globe { flex: 0 0 auto; }
.apalos-lang-switch[open] .web-language-chevron { transform: rotate(180deg); }

.web-language-options {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 30;
  min-width: 9rem;
  margin: 0;
  padding: var(--web-space-2);
  list-style: none;
  border: 1px solid var(--apalos-warm-200);
  border-radius: var(--apalos-radius-sm);
  background: var(--web-surface);
}
.web-language-options li { margin: 0; }
.web-nav .web-language-options a,
.web-language-options span {
  display: flex;
  align-items: center;
  min-height: var(--web-target-min);
  padding-inline: var(--web-space-3);
  border: 0;
}
.web-language-options [aria-current] { font-weight: 600; }
.web-nav .web-language-options a:hover { background: var(--apalos-warm-100); }

@media (max-width: 74.999rem) {
  .web-nav .apalos-lang-switch {
    margin: var(--web-space-1) 0 0;
    padding-inline-start: 0;
    border-inline-start: 0;
  }
  .apalos-lang-switch > summary { padding-inline: 0; }
  .web-language-options {
    position: static;
    padding: 0 0 var(--web-space-2) var(--web-space-3);
    border: 0;
    background: transparent;
  }
}

/* /agenter (2026-10-29): the two fact blocks hold more reading than the compact cards elsewhere,
   so paragraphs get air and the list matches the block's paragraph type. Scoped to this page so
   Eksempler's label/description pairs keep their tight rhythm. */
.web-agents-facts .web-block p + p { margin-top: var(--web-space-3); }
.web-agents-facts .web-block ul {
  margin: 0;
  padding-left: var(--web-space-6);
  font-size: var(--web-text-body-s);
  line-height: 1.55;
  color: var(--apalos-warm-800);
}
.web-agents-facts .web-block li + li { margin-top: var(--web-space-2); }
.web-agents-note { margin-top: var(--web-space-12); }

/* ============================================================================================
   EXAMPLE PICTURES, AND THE PAGES OUTSIDE THE MENU (Phase 91 iter 91-9, 2026-11-13)

   Design Manual amendments of 2026-11-13, website only:
     · 08: the example picture, a third kind of image beside the photograph and the product
       screenshot. One frame of an imagined solution, labelled Eksempel in its own pixels.
     · 07: a page reached from one piece of our material may leave out the menu.
     · 10: such a page's masthead may carry one exhibit, set in type, beside the promise.
     · 08: the founder's portrait may stand where a page says who answers.

   Everything here uses the tokens this file already defines. Nothing is shared with the
   applications; their frame is theirs.
   ============================================================================================ */

/* --- an example picture ---------------------------------------------------- */

/* Flat, framed by a rule, never by a device or a browser. The image is 780 x 976 px for a frame
   shown at up to 390 px, so it stays sharp on a phone. */
.web-example-figure {
  margin: 0;
}

.web-example-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--apalos-warm-300);
  border-radius: var(--apalos-radius);
  background: #fff;
}

.web-example-figure figcaption {
  margin-top: var(--web-space-2);
  font-size: var(--web-text-micro);
  line-height: 1.5;
  color: var(--apalos-warm-700);
}

/* --- an example told in frames --------------------------------------------- */

.web-story-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--web-space-8) var(--web-space-12);
  align-items: end;
}

.web-section .web-story-head p:last-child {
  margin-bottom: 0;
}

.web-story-links {
  display: grid;
  gap: var(--web-space-1);
  justify-items: start;
}

.web-section .web-story-links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--web-target-min);
  font-weight: 600;
}

.web-section .web-story {
  list-style: none;
  counter-reset: web-story;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--web-space-8);
  max-width: none;
  margin: var(--web-space-8) 0 0;
  padding: 0;
}

.web-section .web-story li {
  counter-increment: web-story;
  margin: 0;
}

/* The sentence under a frame is the story; the number says where in it we are. */
.web-story .web-example-figure figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--web-space-3);
  align-items: baseline;
  margin-top: var(--web-space-3);
  font-size: var(--web-text-body);
  font-weight: 600;
  line-height: 1.4;
  color: var(--apalos-navy-900);
}

.web-story .web-example-figure figcaption::before {
  content: counter(web-story);
  font-family: var(--apalos-font-mono);
  font-size: var(--web-text-meta);
  font-weight: 400;
  color: var(--apalos-green-700);
}

.web-section .web-story-note {
  max-width: none;
  margin: var(--web-space-6) 0 0;
  font-size: var(--web-text-meta);
  color: var(--apalos-warm-700);
}

@media (max-width: 48rem) {
  .web-story-head {
    grid-template-columns: 1fr;
    gap: var(--web-space-4);
  }

  .web-section .web-story {
    grid-template-columns: 1fr;
    gap: var(--web-space-6);
  }

  /* Three whole frames would be three phone screens of scrolling: show the top of each. */
  .web-story .web-example-figure img {
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: top;
  }
}

/* --- the examples page: a picture on every card ---------------------------- */

.web-examples {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

.web-examples .web-block {
  display: flex;
  flex-direction: column;
}

.web-examples .web-example-figure {
  margin-bottom: var(--web-space-6);
}

/* The title is the largest text in a card. */
.web-examples .web-block h3 {
  font-size: var(--web-text-h4);
  line-height: 1.3;
}

/* On a phone six whole frames are six screens of scrolling: show the top of each. */
@media (max-width: 48rem) {
  .web-examples .web-example-figure img {
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: top;
  }
}

.web-example-more {
  margin-top: auto;
  padding-top: var(--web-space-4);
}

.web-block .web-example-more a {
  display: inline-flex;
  align-items: center;
  min-height: var(--web-target-min);
  font-size: var(--web-text-body-s);
  font-weight: 600;
}

/* --- the home page: an example band, and the founder's face ----------------- */

.web-home-example {
  background: var(--web-ivory);
}

/* On a phone the band shows one frame and the two links (founder, 2026-11-13). */
@media (max-width: 48rem) {
  .web-home-example .web-story li:not(:first-child) {
    display: none;
  }

  .web-home-example .web-story .web-example-figure figcaption {
    grid-template-columns: 1fr;
  }

  .web-home-example .web-story .web-example-figure figcaption::before {
    content: none;
  }
}

.web-home-pillar-person {
  display: flex;
  align-items: center;
  gap: var(--web-space-4);
  margin-bottom: var(--web-space-4);
}

.web-home-pillar-person img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
}

.web-home .web-home-pillar-person p {
  margin: 0;
  font-size: var(--web-text-body-s);
  line-height: 1.4;
  color: #fff;
}

.web-home-pillar-person strong {
  display: block;
  font-size: var(--web-text-body);
}

/* --- a page without the menu: the header and the footer --------------------- */

.web-landing-what {
  margin: 0 auto 0 0;
  padding-left: var(--web-space-4);
  border-left: 1px solid var(--apalos-warm-300);
  font-size: var(--web-text-meta);
  font-weight: 600;
  color: var(--apalos-navy-900);
}

.web-landing-tools {
  display: flex;
  align-items: center;
  gap: var(--web-space-4);
  margin-left: auto;
}

.web-landing-action {
  display: inline-flex;
  align-items: center;
  min-height: var(--web-target-min);
}

@media (max-width: 40rem) {
  .web-landing-what {
    display: none;
  }
}

/* The language choice keeps its place in a header without the menu. The menu's own rules for it
   are scoped to .web-nav, so the same quiet control is restated here; its list is a small panel
   under the control at every width, because there is no menu panel to fold it into. */
.web-landing-tools .apalos-lang-switch {
  position: relative;
  font-size: var(--web-text-meta);
  font-weight: 400;
}

.web-landing-tools .apalos-lang-switch > summary {
  padding-inline: var(--web-space-2);
}

.web-landing-tools .web-language-options {
  position: absolute;
  top: 100%;
  right: 0;
  padding: var(--web-space-2);
  border: 1px solid var(--apalos-warm-200);
  background: var(--web-surface);
}

.web-landing-tools .web-language-options a {
  display: flex;
  align-items: center;
  min-height: var(--web-target-min);
  padding-inline: var(--web-space-3);
  color: var(--apalos-navy-900);
  text-decoration: none;
}

.web-landing-tools .web-language-options a:hover {
  background: var(--apalos-warm-100);
}

.web-footer .web-landing-seller {
  margin: 0;
  font-size: var(--web-text-meta);
  color: var(--apalos-navy-200);
}

.web-landing-seller strong {
  color: #fff;
}

/* The way home is a link a thumb can hit. */
.web-footer .web-landing-seller a {
  display: inline-flex;
  align-items: center;
  min-height: var(--web-target-min);
  /* The footer link's rule sits under its box; on a 44 px box that is far from the word. */
  border-bottom: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* --- a page without the menu: the promise and the exhibit ------------------- */

/* overflow-x: clip, so a growing exhibit can run to the window's edge without a sideways scroll. */
.web-landing-hero {
  background: var(--apalos-navy-900);
  color: #fff;
  overflow-x: clip;
}

.web-landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: var(--web-space-12);
  align-items: center;
  padding-block: var(--web-space-16);
}

.web-landing-hero h1 {
  margin: 0 0 var(--web-space-6);
  font-size: clamp(var(--web-text-h1), 4.2vw, var(--web-text-display-m));
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: balance;
}

.web-landing-hero .web-lead {
  margin: 0 0 var(--web-space-6);
  line-height: 1.55;
}

.web-landing-hero .web-btn-onnavy,
.web-landing-hero .web-btn-ghost,
.web-landing-close .web-btn-onnavy {
  min-height: var(--web-target-min);
}

.web-landing-hero .web-btn-onnavy,
.web-landing-close .web-btn-onnavy {
  padding-inline: var(--web-space-6);
  font-size: var(--web-text-body);
}

.web-landing-exhibit {
  padding: var(--web-space-6) 0 var(--web-space-6) var(--web-space-8);
  border-left: 3px solid var(--apalos-green-500);
}

.web-landing-exhibit-cap {
  display: flex;
  justify-content: space-between;
  gap: var(--web-space-4);
  margin: 0 0 var(--web-space-4);
  font-size: var(--web-text-meta);
  color: var(--apalos-navy-200);
}

.web-landing-exhibit-say {
  margin: var(--web-space-4) 0 0;
  font-size: var(--web-text-h4);
  font-weight: 700;
  color: #fff;
}

.web-landing-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: clamp(1.375rem, 2.9vw, var(--web-text-display-m));
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.web-landing-lines li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: baseline;
  margin: 0;
}

.web-landing-mark,
.web-landing-note {
  font-weight: 400;
  letter-spacing: 0;
  color: var(--apalos-navy-200);
}

.web-landing-mark {
  font-size: var(--web-text-micro);
}

.web-landing-note {
  grid-column: 2;
  margin-bottom: var(--web-space-3);
  font-size: var(--web-text-meta);
}

.web-landing-lines p {
  margin: 0;
  color: #fff;
}

.web-landing-pre {
  font-weight: 400;
  color: var(--apalos-navy-200);
}

/* A growing exhibit: each line is longer than the last. On a phone a line that does not fit
   ends in an ellipsis, as a mail program shows it. On a wide screen the lines run past the frame
   to the window's edge, and the hero clips them there. */
.web-landing-exhibit--grow .web-landing-lines p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 60.0625rem) {
  .web-landing-exhibit--grow {
    margin-right: -50vw;
  }

  .web-landing-exhibit--grow .web-landing-exhibit-cap,
  .web-landing-exhibit--grow .web-landing-exhibit-say {
    margin-right: 50vw;
  }

  .web-landing-exhibit--grow .web-landing-lines p {
    text-overflow: clip;
  }
}

@media (max-width: 60rem) {
  .web-landing-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--web-space-8);
    padding-block: var(--web-space-12);
  }

  .web-landing-exhibit {
    padding-left: var(--web-space-4);
  }
}

/* --- a page without the menu: how it starts, who answers, questions, the close --- */

.web-section .web-landing-steps {
  list-style: none;
  counter-reset: web-landing-step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--web-space-8);
  max-width: none;
  margin: var(--web-space-8) 0 0;
  padding: 0;
}

.web-section .web-landing-steps li {
  counter-increment: web-landing-step;
  margin: 0;
  padding-top: var(--web-space-4);
  border-top: 2px solid var(--apalos-navy-900);
}

.web-landing-steps li::before {
  content: counter(web-landing-step);
  display: block;
  margin-bottom: var(--web-space-2);
  font-family: var(--apalos-font-mono);
  font-size: var(--web-text-meta);
  color: var(--apalos-green-700);
}

.web-section .web-landing-steps h3 {
  margin: 0 0 var(--web-space-2);
  font-size: var(--web-text-h4);
}

.web-section .web-landing-steps p {
  margin: 0;
  font-size: var(--web-text-body-s);
}

.web-section .web-landing-terms {
  margin: var(--web-space-8) 0 0;
  font-weight: 600;
  color: var(--apalos-navy-900);
}

.web-landing-person {
  background: var(--apalos-navy-900);
}

.web-landing-person-grid {
  display: grid;
  grid-template-columns: 11rem minmax(0, 44rem);
  gap: var(--web-space-12);
  align-items: start;
}

.web-landing-person img {
  display: block;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
}

.web-section.web-landing-person h2,
.web-section.web-landing-person .web-landing-person-name {
  color: #fff;
}

.web-section.web-landing-person p {
  color: var(--apalos-warm-100);
}

.web-section.web-landing-person .web-eyebrow {
  color: var(--apalos-green-500);
}

.web-landing-questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--web-space-6) var(--web-space-12);
  margin-top: var(--web-space-8);
}

.web-section .web-landing-questions h3 {
  margin: 0 0 var(--web-space-2);
  font-size: var(--web-text-h4);
}

.web-section .web-landing-questions p {
  margin: 0;
  font-size: var(--web-text-body-s);
}

.web-landing-close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--web-space-12);
  align-items: center;
}

.web-section.web-landing-close h2 {
  margin-bottom: var(--web-space-4);
  font-size: clamp(var(--web-text-h2), 3.4vw, var(--web-text-h1));
}

.web-landing-close-act {
  display: grid;
  gap: var(--web-space-3);
  justify-items: start;
}

.web-section.web-landing-close .web-landing-address {
  margin: 0;
  font-size: var(--web-text-h4);
  font-weight: 700;
  color: #fff;
}

@media (max-width: 60rem) {
  .web-landing-person-grid {
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: var(--web-space-6);
  }

  .web-landing-person img {
    width: 7rem;
    height: 7rem;
  }

  .web-landing-close-grid {
    grid-template-columns: 1fr;
    gap: var(--web-space-6);
  }
}

@media (max-width: 48rem) {
  .web-section .web-landing-steps {
    grid-template-columns: 1fr;
    gap: var(--web-space-6);
  }

  .web-landing-questions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .web-landing-person-grid {
    grid-template-columns: 1fr;
  }
}
