/*
 * AQUROV homepage — the site's reference implementation.
 *
 * This sheet is the visual reference the other templates are measured against:
 * it reads the shared tokens in assets/css/tokens.css and never a colour of its
 * own, and every block below is named so a later page can lift the pattern
 * (section shell, section head, card, media frame, spec table, dark panel)
 * without copying a value. Nothing here leaves the page: every rule is scoped
 * to .home-page, so the header, the footer and the interior pages are
 * untouched.
 *
 * Motion is not defined here either. The page opts into the site's motion layer
 * (assets/css/motion.css, assets/js/aq-motion.js) with data attributes, and the
 * only animation this sheet owns is the hover response of a component.
 *
 * Photos: every slot that still needs a real photograph renders a
 * placehold.co panel whose text states the subject and the exact pixel size of
 * the file that belongs there (aqurov_photo_slot() in functions.php), and the
 * <img> carries that same width and height. A real product image, when the
 * catalogue has one, always wins over the placeholder.
 */

.home-page {
  background: var(--aq-white, #fff);
  color: var(--aq-ink, #17212B);
  font-family: var(--aq-font, Inter, ui-sans-serif, system-ui, sans-serif);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.home-page,
.home-page *,
.home-page *::before,
.home-page *::after { box-sizing: border-box; }

.home-wrap {
  max-width: var(--aq-wrap, 1220px);
  margin: 0 auto;
  padding: 0 var(--aq-gutter, 24px);
}

/* A photograph fills the frame it was designed for, and the frame decides the
   box, so a replacement file cannot move the layout. */

/* Buttons ---------------------------------------------------------------- */

.home-btn {
  min-height: var(--aq-control, 44px);
  padding: 0 20px;
  border-radius: var(--aq-radius-sm, 6px);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background var(--aq-dur-fast, 180ms) var(--aq-ease, ease),
              border-color var(--aq-dur-fast, 180ms) var(--aq-ease, ease),
              color var(--aq-dur-fast, 180ms) var(--aq-ease, ease),
              box-shadow var(--aq-dur-fast, 180ms) var(--aq-ease, ease);
}

.home-btn-primary { background: var(--aq-blue, #0F5FB8); color: #fff; }
.home-btn-primary:hover,
.home-btn-primary:focus-visible { background: var(--aq-blue-dark, #0A4D95); }

.home-btn-outline {
  background: #fff;
  color: var(--aq-blue, #0F5FB8);
  border-color: var(--aq-border-strong, #B9C8D6);
}
.home-btn-outline:hover,
.home-btn-outline:focus-visible { border-color: var(--aq-blue, #0F5FB8); background: #F7FBFF; }

.home-btn-darkghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}
.home-btn-darkghost:hover,
.home-btn-darkghost:focus-visible { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.home-btn-light { background: #fff; color: var(--aq-navy, #0D1B2A); }
.home-btn-light:hover,
.home-btn-light:focus-visible { background: #EAF1F8; }

.home-btn-block { width: 100%; }

/* A button whose label is followed by an arrow that steps forward on hover. */
.home-btn-go::after {
  content: "\2192";
  font-size: 15px;
  transition: transform var(--aq-dur, 280ms) var(--aq-ease, ease);
}
.home-btn-go:hover::after { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .home-btn-go::after { transition: none; }
}

/* Media slots --------------------------------------------------------------
 * Each slot is a fixed-ratio frame, so dropping in the real photograph later
 * cannot move the layout: the frame decides the box, the file fills it.
 */

.home-media {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--aq-radius, 8px);
  background: var(--aq-media, #E4EBF1);
}

.home-media-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--aq-dur-slow, 640ms) var(--aq-ease, ease),
              opacity var(--aq-dur, 280ms) var(--aq-ease, ease);
}

.home-media--cat { aspect-ratio: 8 / 5; }
.home-media--product { aspect-ratio: 4 / 3; }
.home-media--app { aspect-ratio: 3 / 2; }
.home-media--trust { aspect-ratio: 4 / 3; }

@media (prefers-reduced-motion: reduce) {
  .home-media-img { transition: none; }
}

/* Section shells ----------------------------------------------------------- */

.home-section { padding: var(--aq-section, 80px) 0; }
.home-section--white { background: var(--aq-white, #fff); }
.home-section--alt { background: var(--aq-alt, #F5F7FA); }
.home-section--surface { background: var(--aq-surface, #EEF3F7); }

.home-section--dark {
  background:
    radial-gradient(circle at 84% 8%, rgba(22, 151, 184, 0.18), transparent 34%),
    linear-gradient(180deg, var(--aq-navy-2, #102438) 0%, var(--aq-navy, #0D1B2A) 100%);
  color: #fff;
}

.home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 20px 40px;
  align-items: end;
  margin-bottom: 40px;
}

.home-section-head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.home-eyebrow {
  position: relative;
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--aq-blue, #0F5FB8);
  margin: 0 0 12px;
  padding-bottom: 8px;
}

/* The rule under an eyebrow, drawn in by the motion layer on reveal. */
.home-eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 2px;
  background: var(--aq-cyan, #1697B8);
}

.home-section--dark .home-eyebrow { color: var(--aq-cyan-soft, #6FC3DC); }
.home-section--dark .home-eyebrow::after { background: rgba(111, 195, 220, 0.55); }

.home-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--aq-cyan-soft, #6FC3DC);
  margin: 0 0 16px;
}

.home-lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--aq-muted, #687684);
  max-width: 62ch;
}

.home-section--dark .home-lead { color: var(--aq-on-dark-muted, #A9BCCB); }

/* A section-level link that sits under the grid it closes. */
.home-more { margin: 36px 0 0; text-align: center; }

/* 1. Hero ------------------------------------------------------------------ */

.home-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 76px 0 84px;
  background:
    radial-gradient(circle at 82% 14%, rgba(22, 151, 184, 0.22), transparent 30%),
    radial-gradient(circle at 62% 86%, rgba(15, 95, 184, 0.2), transparent 34%),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(255, 255, 255, 0.028) 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(255, 255, 255, 0.028) 48px),
    linear-gradient(180deg, #10263B 0%, #0B1927 100%);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 52px;
  align-items: center;
}

/* Both columns may hold a long word or a wide photograph; neither may push the
   grid past the frame. */
.home-hero-content,
.home-hero-visual { min-width: 0; }

.home-hero h1 {
  margin: 0 0 20px;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.032em;
  font-weight: 800;
  max-width: 17ch;
}

.home-hero-lede {
  margin: 0 0 30px;
  font-size: 17px;
  line-height: 1.68;
  color: var(--aq-on-dark, #C3D2DF);
  max-width: 54ch;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* The trust strip: three facts, each true of this page as rendered. */
.home-hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--aq-border-dark, rgba(255, 255, 255, 0.16));
}

.home-fact {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--aq-on-dark, #C3D2DF);
}

.home-fact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(124, 207, 224, 0.14);
  box-shadow: inset 0 0 0 1px rgba(124, 207, 224, 0.3);
}

.home-fact::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 5px;
  height: 3px;
  border-left: 1.5px solid var(--aq-cyan-soft, #6FC3DC);
  border-bottom: 1.5px solid var(--aq-cyan-soft, #6FC3DC);
  transform: rotate(-45deg);
}

/* The hero board: one photograph in a technical frame, with the numbers a
   buyer checks first printed over it. */
.home-board {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--aq-radius-lg, 12px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--aq-shadow-dark, 0 30px 70px rgba(0, 0, 0, 0.28));
  background: linear-gradient(145deg, #15344B, #0E2333);
}

.home-board-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-board::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 19, 31, 0.06) 0%, rgba(8, 19, 31, 0.16) 58%, rgba(8, 19, 31, 0.30) 100%);
}

/* Instrument rings, turning slowly in the corner of the frame. */
.home-board-rings {
  position: absolute;
  top: -46px;
  right: -46px;
  width: 320px;
  height: 320px;
  pointer-events: none;
}

.home-board-ring {
  position: absolute;
  border: 1px solid rgba(116, 205, 224, 0.34);
  border-radius: 50%;
}

.home-board-ring--1 { inset: 0; --aq-spin-dur: 52s; }
.home-board-ring--2 { inset: 44px; border-style: dashed; --aq-spin-dur: 74s; }
.home-board-ring--3 {
  inset: 96px;
  background: rgba(22, 151, 184, 0.12);
  border-color: rgba(116, 205, 224, 0.5);
  --aq-pulse-dur: 7s;
}

/* A single soft scan line, the way a sonar display sweeps. */
.home-board-sweep {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 26%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(111, 195, 220, 0.16), transparent);
}




/* 2. Product ecosystem ----------------------------------------------------- */

.home-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.home-cat {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--aq-border, #DBE3EA);
  border-radius: var(--aq-radius, 8px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--aq-shadow-xs, 0 1px 2px rgba(13, 27, 42, 0.05));
}

.home-cat:hover { border-color: var(--aq-border-strong, #B9C8D6); box-shadow: var(--aq-shadow-lift, 0 16px 34px rgba(13, 27, 42, 0.12)); }
.home-cat:hover .home-media-img { transform: scale(1.045); }

.home-cat-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.home-cat-body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}

.home-cat-count {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aq-blue, #0F5FB8);
  font-variant-numeric: tabular-nums;
}

.home-cat-desc {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--aq-muted, #687684);
}

/* 3. Featured products ----------------------------------------------------- */

.home-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.home-product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--aq-border, #DBE3EA);
  border-radius: var(--aq-radius, 8px);
  overflow: hidden;
  box-shadow: var(--aq-shadow-xs, 0 1px 2px rgba(13, 27, 42, 0.05));
}

.home-product:hover { border-color: var(--aq-border-strong, #B9C8D6); box-shadow: var(--aq-shadow-lift, 0 16px 34px rgba(13, 27, 42, 0.12)); }
.home-product:hover .home-media-img { transform: scale(1.045); }

.home-product-media { display: block; background: #F2F6F9; }

.home-product-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.home-product-name {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  overflow-wrap: break-word;
}

.home-product-name a { color: inherit; text-decoration: none; }
.home-product-name a:hover { color: var(--aq-blue, #0F5FB8); }

/* The parameter rows are the shared .aq-card-specs list (components.css), so a
   homepage card reads exactly like a card in the catalogue. Only the spacing
   above the price row is decided here. */

.home-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.home-price { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.home-price del { font-size: 13px; font-weight: 600; color: var(--aq-muted, #687684); margin-right: 5px; }
.home-price ins { text-decoration: none; }

/* Stock state uses the shared availability badge (aqurov_badge()), so the
   homepage and the catalogue never disagree about how "In Stock" looks. */

/* 4. Engineering support path ---------------------------------------------- */

.home-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--aq-border, #DBE3EA);
  border-radius: var(--aq-radius, 8px);
  overflow: hidden;
}

.home-path-step {
  position: relative;
  padding: 26px 24px 28px;
  border-right: 1px solid var(--aq-border, #DBE3EA);
  transition: background var(--aq-dur) var(--aq-ease, ease);
}

.home-path-step:last-child { border-right: 0; }
.home-path-step:hover { background: #F7FBFF; }

/* The arrow between two steps, as in the visual reference: a small disc that
   straddles the divider. */
.home-path-step:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -13px;
  top: 34px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--aq-border, #DBE3EA);
  background: #fff;
  color: var(--aq-blue, #0F5FB8);
  font-size: 13px;
  line-height: 24px;
  text-align: center;
  transition: transform var(--aq-dur) var(--aq-ease, ease), border-color var(--aq-dur) var(--aq-ease, ease);
}

.home-path-step:hover::after { transform: translateX(3px); border-color: var(--aq-blue, #0F5FB8); }

.home-path-num {
  display: block;
  margin-bottom: 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--aq-blue, #0F5FB8);
}

.home-path-step h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.3; font-weight: 700; }
.home-path-step p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--aq-muted, #687684); }

.home-path-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* 5. Technical resources (dark) -------------------------------------------- */

/*
 * The library index: seven numbered entries in two columns, each one a single
 * question the site answers, separated by hairlines. It is a list of what the
 * library contains, so it reads as an index and not as a brochure.
 */
.home-library {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
}

.home-lib-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--aq-border-dark, rgba(255, 255, 255, 0.16));
}

.home-lib-num {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--aq-cyan-soft, #6FC3DC);
  font-variant-numeric: tabular-nums;
}

.home-lib-body h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.3; font-weight: 700; color: #fff; }
.home-lib-body p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--aq-on-dark-muted, #A9BCCB); }

/* A closing line under a section, on either surface. */
.home-note {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--aq-muted, #687684);
  max-width: 74ch;
}

.home-section--dark .home-note { color: var(--aq-on-dark-muted, #A9BCCB); }

/* The action under that line, left-aligned rather than centred. */
.home-more--start { margin: 22px 0 0; text-align: left; }

/*
 * The published documents. Nothing here paints until the library holds a
 * document, so the section above is unchanged until the first one is released;
 * when it appears it sits under the index as the records that index describes.
 */
.home-docs {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--aq-border-dark, rgba(255, 255, 255, 0.16));
}

.home-docs-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
}

.home-docs-count {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--aq-cyan-soft, #6FC3DC);
  color: var(--aq-navy, #0D1B2A);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.home-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-doc-item { display: flex; }

.home-doc-link {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--aq-radius-sm, 6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  transition: border-color var(--aq-dur) var(--aq-ease, ease), background var(--aq-dur) var(--aq-ease, ease);
}

.home-doc-link:hover { border-color: rgba(124, 207, 224, 0.42); background: rgba(255, 255, 255, 0.07); }
.home-doc-title { font-size: 14px; font-weight: 600; line-height: 1.4; }
.home-doc-meta { font-size: 11.5px; line-height: 1.5; color: #8FA5B7; }
.home-doc-badge { margin-top: 2px; }

.home-docs-more { margin: 16px 0 0; font-size: 13.5px; }
.home-docs-more a { color: #CFE6EF; font-weight: 600; }
.home-docs-more a:hover { color: #fff; }

/* 6. Learn (knowledge articles) -------------------------------------------- */

.home-learn-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 22px;
  align-items: start;
}

.home-articles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--aq-border, #DBE3EA);
  border-radius: var(--aq-radius, 8px);
  box-shadow: var(--aq-shadow-xs, 0 1px 2px rgba(13, 27, 42, 0.05));
}

.home-article:hover { border-color: var(--aq-border-strong, #B9C8D6); box-shadow: var(--aq-shadow-lift, 0 16px 34px rgba(13, 27, 42, 0.12)); }

.home-article-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aq-blue, #0F5FB8);
  padding: 4px 8px;
  border: 1px solid #D5E3EF;
  border-radius: 4px;
  background: #F1F7FC;
}

.home-article-title { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 700; }
.home-article-title a { color: inherit; text-decoration: none; }
.home-article-title a:hover { color: var(--aq-blue, #0F5FB8); }
.home-article-text { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--aq-muted, #687684); }
.home-article-go { margin: auto 0 0; font-size: 13px; font-weight: 700; color: var(--aq-blue, #0F5FB8); }

.home-panel-light {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--aq-border, #DBE3EA);
  border-radius: var(--aq-radius, 8px);
  box-shadow: var(--aq-shadow-xs, 0 1px 2px rgba(13, 27, 42, 0.05));
}

.home-panel-light h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.home-panel-light p { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: var(--aq-muted, #687684); }

.home-types { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }

.home-type {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--aq-border-soft, #E8EEF3);
  font-size: 13.5px;
  text-decoration: none;
  color: var(--aq-body, #40505E);
  transition: color var(--aq-dur-fast, 180ms) var(--aq-ease, ease);
}

.home-types li:last-child .home-type { border-bottom: 0; }
.home-type:hover { color: var(--aq-blue, #0F5FB8); }
.home-type b { font-weight: 600; }

.home-type-count {
  font-size: 11px;
  font-weight: 800;
  color: var(--aq-muted, #687684);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.home-panel-light .home-btn { margin-top: 16px; }

/* 7. Applications ---------------------------------------------------------- */

.home-apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-app {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--aq-border, #DBE3EA);
  border-radius: var(--aq-radius, 8px);
  overflow: hidden;
  box-shadow: var(--aq-shadow-xs, 0 1px 2px rgba(13, 27, 42, 0.05));
}

.home-app:hover { border-color: var(--aq-border-strong, #B9C8D6); box-shadow: var(--aq-shadow-lift, 0 16px 34px rgba(13, 27, 42, 0.12)); }
.home-app:hover .home-media-img { transform: scale(1.045); }

.home-app-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 22px;
  flex: 1;
}

.home-app-title { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 700; }
.home-app-title a { color: inherit; text-decoration: none; }
.home-app-title a:hover { color: var(--aq-blue, #0F5FB8); }
.home-app-desc { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--aq-muted, #687684); }

.home-app-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

.home-app-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--aq-surface, #EEF3F7);
  border: 1px solid var(--aq-border, #DBE3EA);
  color: var(--aq-body, #40505E);
  text-decoration: none;
}

.home-app-chip:hover { border-color: var(--aq-blue, #0F5FB8); color: var(--aq-blue, #0F5FB8); }

.home-app-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--aq-border-soft, #E8EEF3);
  font-size: 12px;
  color: var(--aq-muted, #687684);
}

.home-app-go { font-weight: 700; color: var(--aq-blue, #0F5FB8); text-decoration: none; }
.home-app-go:hover { text-decoration: underline; }

/* 8. Common problems ------------------------------------------------------- */

.home-pains {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-pain {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--aq-border, #DBE3EA);
  border-top: 3px solid var(--aq-cyan, #1697B8);
  border-radius: var(--aq-radius, 8px);
  box-shadow: var(--aq-shadow-xs, 0 1px 2px rgba(13, 27, 42, 0.05));
}

.home-pain:hover { box-shadow: var(--aq-shadow-sm, 0 8px 22px rgba(13, 27, 42, 0.06)); }
.home-pain-title { margin: 0 0 8px; font-size: 16px; line-height: 1.35; font-weight: 700; }
.home-pain-desc { margin: 0 0 16px; font-size: 13.5px; line-height: 1.6; color: var(--aq-muted, #687684); }

.home-pain-link {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--aq-blue, #0F5FB8);
  text-decoration: none;
}

.home-pain-link::after {
  content: " \2192";
  display: inline-block;
  transition: transform var(--aq-dur) var(--aq-ease, ease);
}

.home-pain-link:hover { text-decoration: underline; }
.home-pain-link:hover::after { transform: translateX(3px); }

/* 9. Evidence (dark) ------------------------------------------------------- */

.home-trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}

.home-trust .home-media { border: 1px solid rgba(255, 255, 255, 0.14); }

.home-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
  counter-reset: home-trust;
}

.home-trust-item { padding-top: 14px; border-top: 1px solid var(--aq-border-dark, rgba(255, 255, 255, 0.16)); }

.home-trust-num {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--aq-cyan-soft, #6FC3DC);
}

.home-trust-title { margin: 0 0 6px; font-size: 15px; line-height: 1.3; font-weight: 700; color: #fff; }
.home-trust-desc { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--aq-on-dark-muted, #A9BCCB); }

.home-trust-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* 10. Engineering depth (brand architecture) ------------------------------- */

.home-depth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.home-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--aq-radius, 8px);
  border: 1px solid var(--aq-border, #DBE3EA);
  border-left: 3px solid var(--aq-blue, #0F5FB8);
  background: #fff;
  box-shadow: var(--aq-shadow-xs, 0 1px 2px rgba(13, 27, 42, 0.05));
}

.home-box--backing { border-left-color: var(--aq-cyan, #1697B8); background: #FBFDFE; }
.home-box h2 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 800; }
.home-box h3 { margin: 0; font-size: 19px; line-height: 1.25; font-weight: 700; }
.home-box p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--aq-body, #40505E); }

.home-box-note { font-size: 11.5px !important; line-height: 1.6 !important; color: var(--aq-muted, #687684) !important; }

.home-box-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.home-box-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--aq-body, #40505E);
}

.home-box-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--aq-cyan, #1697B8);
}

.home-bridge {
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 500;
  color: var(--aq-blue, #0F5FB8);
}

.home-box .home-btn { align-self: flex-start; margin-top: 4px; }

/* 11. Where do you fit (closing band) -------------------------------------- */

.home-paths { display: grid; gap: 20px; }

.home-path-lead {
  display: grid;
  gap: 6px;
  padding: 28px;
  border-radius: var(--aq-radius, 8px);
  background: linear-gradient(135deg, var(--aq-blue, #0F5FB8) 0%, #0C4C93 100%);
  color: #fff;
  text-decoration: none;
  transition: box-shadow var(--aq-dur) var(--aq-ease, ease);
}

.home-path-lead:hover { box-shadow: 0 18px 40px rgba(15, 95, 184, 0.32); }
.home-path-lead-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #CFE2F6; }
.home-path-lead-title { font-size: 25px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.home-path-lead-desc { font-size: 14px; line-height: 1.65; color: #E4EEF9; max-width: 66ch; }

.home-path-lead-go { margin-top: 10px; font-size: 14px; font-weight: 700; text-decoration: underline; }

.home-paths-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.home-path-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--aq-border, #DBE3EA);
  border-radius: var(--aq-radius, 8px);
  color: var(--aq-ink, #17212B);
  text-decoration: none;
  box-shadow: var(--aq-shadow-xs, 0 1px 2px rgba(13, 27, 42, 0.05));
}

.home-path-card:hover { border-color: var(--aq-border-strong, #B9C8D6); box-shadow: var(--aq-shadow-lift, 0 16px 34px rgba(13, 27, 42, 0.12)); }
.home-path-card-title { font-size: 16px; line-height: 1.3; font-weight: 700; }
.home-path-card-desc { font-size: 13.5px; line-height: 1.6; color: var(--aq-muted, #687684); }

.home-path-card-go {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--aq-blue, #0F5FB8);
}

/*
 * The same closing band, on a dark surface: the cards become ghost panels and
 * the blue "most orders start here" card keeps its colour, which is how it
 * reads in the visual reference. Only the surface changes — the markup, the
 * motion and the order of the cards are identical, so the band can be moved
 * between a light and a dark section without touching the template.
 */
.home-section--dark .home-path-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--aq-border-dark, rgba(255, 255, 255, 0.16));
  color: #fff;
  box-shadow: none;
}

.home-section--dark .home-path-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--aq-cyan-soft, #6FC3DC);
  box-shadow: none;
}

.home-section--dark .home-path-card-desc { color: var(--aq-on-dark-muted, #A9BCCB); }
.home-section--dark .home-path-card-go { color: var(--aq-cyan-soft, #6FC3DC); }

.home-section--dark .home-paths-note {
  border-top-color: var(--aq-border-dark, rgba(255, 255, 255, 0.16));
  color: var(--aq-on-dark-muted, #A9BCCB);
}

.home-section--dark .home-paths-note-label { color: var(--aq-cyan-soft, #6FC3DC); }

.home-section--dark .home-paths-note a {
  color: #fff;
  font-weight: 600;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.home-section--dark .home-paths-note a:hover {
  color: var(--aq-cyan-soft, #6FC3DC);
  text-decoration-color: currentColor;
}

.home-paths-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--aq-border, #DBE3EA);
  font-size: 13px;
  color: var(--aq-muted, #687684);
}

.home-paths-note-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aq-blue, #0F5FB8);
}

.home-paths-note a { color: var(--aq-ink, #17212B); font-weight: 600; text-decoration: underline; text-decoration-color: var(--aq-border-strong, #B9C8D6); }
.home-paths-note a:hover { color: var(--aq-blue, #0F5FB8); text-decoration-color: currentColor; }

/* Responsive --------------------------------------------------------------- */

@media (max-width: 1100px) {
  .home-hero { padding: 60px 0 68px; }
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .home-hero h1 { font-size: 42px; max-width: 22ch; }
  .home-board { max-width: 620px; }

  .home-section { padding: var(--aq-section-sm, 56px) 0; }
  .home-section-head { grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
  .home-section-head h2 { font-size: 28px; }

  .home-cats,
  .home-products,
  .home-paths-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .home-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-path-step:nth-child(2) { border-right: 0; }
  .home-path-step:nth-child(-n + 2) { border-bottom: 1px solid var(--aq-border, #DBE3EA); }
  .home-path-step::after { display: none; }

  .home-library { grid-template-columns: minmax(0, 1fr); }
  .home-learn-grid { grid-template-columns: minmax(0, 1fr); }
  .home-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-trust { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-depth { grid-template-columns: minmax(0, 1fr); }
  .home-bridge { padding: 4px 0; }
  .home-bridge span { transform: rotate(90deg); display: block; }
}

@media (max-width: 760px) {
  .home-hero h1 { font-size: 34px; letter-spacing: -0.025em; }
  .home-hero-lede { font-size: 16px; }
  .home-hero-actions .home-btn { flex: 1 1 100%; }
  .home-hero-facts { flex-direction: column; gap: 10px; }
  .home-board { aspect-ratio: 5 / 4; }

  .home-pains { grid-template-columns: minmax(0, 1fr); }
  .home-articles { grid-template-columns: minmax(0, 1fr); }
  .home-path-lead { padding: 22px 20px; }
  .home-path-lead-title { font-size: 21px; }
}

@media (max-width: 620px) {
  .home-wrap { padding: 0 16px; }
  .home-cats,
  .home-products,
  .home-path,
  .home-apps,
  .home-paths-grid { grid-template-columns: minmax(0, 1fr); }

  .home-path-step { border-right: 0; border-bottom: 1px solid var(--aq-border, #DBE3EA); padding: 20px 18px 22px; }
  .home-path-step:last-child { border-bottom: 0; }

  .home-trust-list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .home-library { column-gap: 0; }
  .home-lib-item { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px 0; }
  .home-doc-list { grid-template-columns: minmax(0, 1fr); }
  .home-lib-body h3 { font-size: 16px; }
  .home-box { padding: 20px 18px; }
  .home-box h2 { font-size: 22px; }
}
