/* ==========================================================================
   Flettons v2 design system — "Evidence"
   Porcelain paper, near-black, one brand-pink accent. Loaded only on rebuilt pages
   (layouts/frontend.blade.php, $v2). Restyles the shared header, mega menus,
   mobile menu, footer and video cards on their existing script hooks.
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --ink: #0c0d0f;
  --ink-2: #131517;
  --ink-3: #1b1e21;
  --line-dark: rgba(246, 245, 243, 0.14);
  --bone: #f6f5f3;
  --bone-2: #ecebe8;
  --bone-3: #dcdad6;
  --line: rgba(12, 13, 15, 0.14);
  --text: #16171a;
  --muted: #5a5854;
  --on-dark: #f6f5f3;
  --on-dark-muted: rgba(246, 245, 243, 0.68);
  /* Accent: brand pink. --accent fills (white text 4.7:1), --accent-ink pink text on light (5.5:1 on --bone),
     --accent-bright the exact brand pink for anything on black (5.6:1). */
  --accent: #e0106b;
  --accent-hover: #c20a5b;
  --accent-ink: #c20a5b;
  --accent-bright: #ff3088;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1360px;
  --gutter: clamp(20px, 5vw, 72px);
  --r: 6px;
  --header-h: 84px;
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sec--ink :focus-visible, .fs-header :focus-visible, .fs-footer :focus-visible, .cta :focus-visible { outline-color: var(--accent-bright); }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* 3. Type --------------------------------------------------------------- */
.eyebrow {
  margin: 0 0 22px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow--dark { color: var(--accent-bright); }
h2, .h2 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 1.5rem + 2.7vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 40, "opsz" 96;
  text-wrap: balance;
}
h2 em { font-style: italic; font-weight: 300; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.link { color: var(--accent-ink); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.sec--ink .link { color: var(--accent-bright); }
.stars { color: var(--accent-ink); letter-spacing: 0.12em; font-size: 0.95rem; }
.sec--ink .stars, .hero .stars, .review--score .stars { color: var(--accent-bright); }

/* 4. Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: var(--r);
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.005em; white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn__arrow { transition: transform .18s ease; }
.btn--primary:hover .btn__arrow { transform: translateX(3px); }
.btn--ghost { border-color: rgba(246, 245, 243, 0.42); color: var(--on-dark); background: rgba(12, 13, 15, 0.18); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--on-dark); background: rgba(246, 245, 243, 0.08); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bone); }

/* 5. Sections ----------------------------------------------------------- */
.sec { padding: clamp(80px, 9vw, 136px) 0; }
.sec--bone { background: var(--bone); }
.sec--bone2 { background: var(--bone-2); }
.sec--ink { background: var(--ink); color: var(--on-dark); }
.sec__head { margin-bottom: clamp(44px, 5vw, 72px); }
.sec__head--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px 80px; align-items: end; }
.sec__intro { color: var(--muted); font-size: 1.1rem; max-width: 34rem; }
.sec--ink .sec__intro { color: var(--on-dark-muted); }

/* 6. Header (keeps chrome.js hooks: .fs-nav__trigger, [data-fs-mega], .fs-mega…) */
.fs-header {
  position: sticky; top: 0; z-index: 260;
  background: var(--ink); color: var(--on-dark);
}
.fs-header__inner {
  width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  min-height: var(--header-h);
}
.fs-brand { display: inline-flex; align-items: center; }
.fs-brand img { height: 32px; width: auto; }
.fs-brand__tag { display: none; }
.fs-nav { display: flex; justify-content: center; gap: 2px; }
.fs-nav__item { position: static; }
.fs-nav__link, .fs-nav__trigger {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 14px; border-radius: var(--r);
  color: rgba(246, 245, 243, 0.88); font-weight: 500; font-size: 0.95rem; line-height: 1.2;
  transition: color .15s ease, background-color .15s ease;
}
.fs-nav__link:hover, .fs-nav__trigger:hover, .fs-nav__item.is-open > .fs-nav__trigger { color: var(--on-dark); background: rgba(246, 245, 243, 0.07); }
.fs-nav__link.is-active, .fs-nav__trigger.is-active { color: var(--on-dark); box-shadow: inset 0 -2px 0 var(--accent-bright); border-radius: var(--r) var(--r) 0 0; }
.fs-caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; transition: transform .2s ease; }
.fs-nav__item.is-open > .fs-nav__trigger .fs-caret { transform: rotate(-135deg) translateY(-2px); }

.fs-header__actions { display: flex; align-items: center; gap: 20px; }
.fs-header__actions .fs-button--phone { display: grid; line-height: 1.15; color: var(--on-dark); text-align: right; }
.fs-header__actions .fs-button--phone::before { content: "Lines open 24/7"; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: .68; }
.fs-header__actions .fs-button--phone .fs-button__icon { display: none; }
.fs-header__actions .fs-button--phone span { font-weight: 600; font-size: 1rem; }
.fs-member-link { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid rgba(246, 245, 243, 0.24); border-radius: 50%; color: var(--on-dark); transition: border-color .15s ease; }
.fs-member-link:hover { border-color: var(--on-dark); }
.fs-member-link svg { width: 20px; height: 20px; }
.fs-header .fs-button--quote { min-height: 48px; padding: 0 22px; border-radius: var(--r); background: var(--accent); color: #fff; font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; transition: background-color .18s ease; }
.fs-header .fs-button--quote:hover { background: var(--accent-hover); }
.fs-menu-toggle { display: none; }

/* Mega menu (content is rendered by chrome.js) */
.fs-mega-overlay { position: fixed; inset: 0; z-index: 250; background: rgba(12, 13, 15, 0.45); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.fs-mega-overlay.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.fs-mega {
  position: absolute; left: 50%; top: 100%; z-index: 261;
  width: min(1180px, 100vw - 40px); max-height: calc(100vh - var(--header-h) - 24px); overflow: auto;
  transform: translate(-50%, 8px);
  background: var(--bone); color: var(--text);
  border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.fs-nav__item.is-open > .fs-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.fs-mega__inner { display: grid; grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2fr) minmax(260px, 0.9fr); gap: 40px; padding: 40px; }
.fs-mega__inner:has(.fs-mega__aside[hidden]) { grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2.4fr); }
.fs-mega__intro, .fs-mega__aside { display: flex; flex-direction: column; min-width: 0; }
.fs-eyebrow { display: block; margin-bottom: 16px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.fs-mega__intro h3, .fs-mega__aside h4 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.12; letter-spacing: -0.01em; font-variation-settings: "SOFT" 40, "opsz" 48; }
.fs-mega__intro p, .fs-mega__aside p { margin-top: 14px; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.fs-mega__intro-foot { margin-top: auto; padding-top: 28px; }
.fs-mega__rics-mark { width: 120px; height: auto; filter: invert(1) brightness(0.1); opacity: .85; }
.fs-mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
#fs-mega-surveys .fs-mega__grid, #fs-mega-about .fs-mega__grid, #fs-mega-proof .fs-mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fs-mega__card { display: grid; align-content: start; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .15s ease, background-color .15s ease; }
.fs-mega__card:hover { border-color: var(--ink); }
.fs-mega__card--featured { border-color: var(--accent); }
.fs-mega__card-kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.fs-mega__card-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.fs-mega__badge { padding: 3px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.fs-mega__card-title { font-weight: 600; font-size: 1rem; color: var(--text); line-height: 1.3; }
.fs-mega__card-copy { color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.fs-mega__aside { padding: 26px; border-radius: var(--r); background: var(--ink); color: var(--on-dark); }
.fs-mega__aside .fs-eyebrow { color: var(--accent-bright); }
.fs-mega__aside p { color: var(--on-dark-muted); }
.fs-mega__quicklinks { display: grid; gap: 8px; margin: 18px 0 4px; }
.fs-mega__quicklink { padding: 10px 12px; border: 1px solid var(--line-dark); border-radius: var(--r); font-size: 0.9rem; font-weight: 500; }
.fs-mega__quicklink:hover { border-color: var(--on-dark); }
.fs-panel-button { display: inline-flex; align-items: center; justify-content: center; margin-top: 22px; min-height: 48px; padding: 0 20px; border-radius: var(--r); background: var(--accent); color: #fff; font-weight: 600; font-size: 0.95rem; transition: background-color .18s ease; width: 100%; padding: 0 14px; white-space: nowrap; }
.fs-panel-button:hover { background: var(--accent-hover); }

/* Mobile menu */
.fs-mobile { display: none; }
.fs-mobile__panel { width: min(var(--wrap), 100% - var(--gutter) * 2); margin: 0 auto 20px; padding: 6px 0 18px; border-top: 1px solid var(--line-dark); }
.fs-mobile__list { display: grid; }
.fs-mobile__item { border-bottom: 1px solid var(--line-dark); }
.fs-mobile__trigger, .fs-mobile__link {
  appearance: none; border: 0; background: transparent; width: 100%; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 0; color: var(--on-dark); font-family: var(--serif); font-size: 1.45rem; font-weight: 400; text-align: left;
  font-variation-settings: "SOFT" 40, "opsz" 36;
}
.fs-mobile__link { border-bottom: 1px solid var(--line-dark); }
.fs-mobile__link:last-of-type { border-bottom: 0; }
.fs-mobile__trigger .fs-caret { width: 9px; height: 9px; margin-right: 4px; }
.fs-mobile__item.is-open > .fs-mobile__trigger .fs-caret { transform: rotate(-135deg) translateY(-2px); }
.fs-mobile__submenu { display: none; padding: 0 0 18px; }
.fs-mobile__item.is-open > .fs-mobile__submenu { display: grid; gap: 4px; }
.fs-mobile__submenu a { padding: 9px 0 9px 14px; border-left: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: 1rem; }
.fs-mobile__submenu a:hover { color: var(--on-dark); border-left-color: var(--accent-bright); }
.fs-mobile__footer { display: grid; gap: 10px; margin-top: 22px; }
.fs-mobile__rics-foot { margin-bottom: 8px; }
.fs-mobile__rics-mark { width: 120px; height: auto; opacity: .9; }
.fs-mobile__footer .fs-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: var(--r); font-weight: 600; }
.fs-mobile__footer .fs-button--quote { background: var(--accent); color: #fff; }
.fs-mobile__footer .fs-button--phone { border: 1.5px solid rgba(246, 245, 243, 0.42); color: var(--on-dark); }
.fs-mobile__footer .fs-button--phone .fs-button__icon { width: 16px; height: 16px; filter: brightness(0) invert(1); }

/* 7. Footer (keeps .fs-footer__col > h3 "Support" + .fs-footer__links for chrome.js) */
.fs-footer { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.fs-footer__inner { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.fs-footer__top { display: grid; grid-template-columns: 1.3fr 2fr 1fr; gap: clamp(32px, 4vw, 64px); padding: 72px 0 56px; }
.fs-footer__brand { display: grid; gap: 20px; align-content: start; }
.fs-footer__wordmark img { height: 30px; width: auto; }
.fs-footer__brand p { color: var(--on-dark-muted); font-size: 0.95rem; max-width: 28rem; }
.fs-footer__rics-lockup { display: grid; gap: 10px; }
.fs-footer__rics { width: 120px; height: auto; opacity: .9; }
.fs-footer__rics-lockup span { color: var(--on-dark-muted); font-size: 0.85rem; }
.fs-footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fs-footer__col h3, .fs-footer__contact h3 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 18px; font-weight: 600; }
.fs-footer__links { display: grid; gap: 12px; }
.fs-footer__links a { color: var(--on-dark); opacity: .82; font-size: 0.95rem; }
.fs-footer__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.fs-footer__contact { display: grid; gap: 0; align-content: start; }
.fs-footer__contact-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.fs-footer__contact-icon { width: 22px; height: 22px; margin-top: 4px; }
.fs-footer__contact-icon img, .fs-footer__contact-icon svg { width: 22px; height: 22px; }
.fs-footer__contact-icon img { filter: brightness(0) invert(1); opacity: .8; }
.fs-footer__contact-icon svg path[fill="#ff3088"], .fs-footer__contact-icon svg path[fill="#0f766e"] { fill: var(--accent-bright); stroke: var(--accent-bright); }
.fs-footer__contact-row strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.05; font-variation-settings: "SOFT" 20, "opsz" 48; }
.fs-footer__contact-row[href^="tel:"] strong { font-size: 1.9rem; }
.fs-footer__contact-row span span { display: block; margin-top: 6px; color: var(--on-dark-muted); font-size: 0.9rem; }
.fs-footer__contact-row div span > strong { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.fs-footer__contact-divider { height: 1px; margin: 24px 0; background: var(--line-dark); }
.fs-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: 0.82rem; }
.fs-footer__bottom p { margin: 0; }
.fs-footer__bottom-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.fs-footer__socials { display: flex; gap: 8px; }
.fs-footer__socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--on-dark); transition: border-color .15s ease; }
.fs-footer__socials a:hover { border-color: var(--on-dark); }
.fs-footer__socials svg { width: 16px; height: 16px; }
.registered-mark { font-size: 0.6em; vertical-align: super; }

/* 8. Mobile quick-action bar + voice assistant ------------------------ */
.ms-mobile-cta { display: none; }
body #voice-assistant-root { font-family: var(--sans); }

/* 8b. Voice assistant launcher: smaller, quieter, on-brand (script-injected styles are overridden, behaviour untouched) */
body.v2 #voice-assistant-root .flettons-va-launcher { width: 56px; height: 56px; background: var(--ink); color: var(--accent-bright); border: 1px solid rgba(246, 245, 243, 0.28); box-shadow: 0 12px 28px -10px rgba(12, 13, 15, 0.55); }
body.v2 #voice-assistant-root .flettons-va-launcher:hover, body.v2 #voice-assistant-root .flettons-va-launcher:focus-visible { background: var(--ink-3); border-color: var(--accent-bright); transform: none; }
body.v2 #voice-assistant-root .flettons-va-launcher svg { width: 22px; height: 22px; }

/* 9. Video cards + modal (markup rendered by site-video-cards.js) ------- */
.inspection-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.inspection-card--offset { margin: 0; }
.inspection-card__media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink-3); border-radius: var(--r); overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; }
.inspection-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: transform .5s ease, opacity .3s ease; }
.inspection-card__media:hover img { transform: scale(1.04); opacity: 1; }
.inspection-card__media img[src*="Flettons Flettons Logo"], .inspection-card__media img[src*="Flettons%20Flettons%20Logo"] { object-fit: contain; padding: 22%; opacity: .25; }
.inspection-card__tag { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: rgba(12, 13, 15, 0.7); color: var(--on-dark); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.inspection-card__tag:empty { display: none; }
.inspection-card__play { position: absolute; left: 50%; top: 0; z-index: 3; width: 56px; height: 56px; padding: 0 0 0 4px; border: 0; border-radius: 50%; background: rgba(246, 245, 243, 0.92); color: var(--ink); font-size: 1.05rem; cursor: pointer; transform: translate(-50%, -50%); transition: background-color .15s ease; }
.inspection-card__play:hover { background: #fff; }
.inspection-card__body { padding-top: 14px; display: grid; gap: 6px; }
.inspection-card__body h3 { font-weight: 500; font-size: 1rem; line-height: 1.35; color: inherit; }
.inspection-card__body p { color: var(--on-dark-muted); font-size: 0.9rem; line-height: 1.45; }
.inspection-card__body a { margin-top: 4px; color: var(--accent-bright); font-weight: 600; font-size: 0.9rem; display: inline-flex; gap: 6px; }
.inspection-card__body a:hover { text-decoration: underline; text-underline-offset: 4px; }

.inspection-video-modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.inspection-video-modal[hidden] { display: none; }
.inspection-video-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.inspection-video-modal__backdrop { position: absolute; inset: 0; background: rgba(12, 13, 15, 0.78); backdrop-filter: blur(10px); }
.inspection-video-modal__dialog { position: relative; z-index: 1; width: min(980px, 100%); background: var(--ink); color: var(--on-dark); border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5); }
.inspection-video-modal__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 24px 26px 18px; }
.inspection-video-modal__eyebrow { display: block; margin-bottom: 8px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-bright); }
.inspection-video-modal__header h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.inspection-video-modal__header p { margin-top: 8px; color: var(--on-dark-muted); font-size: 0.95rem; max-width: 40rem; }
.inspection-video-modal__close { flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; color: var(--on-dark); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.inspection-video-modal__close:hover { border-color: var(--on-dark); }
.inspection-video-modal__frame { margin: 0 18px 18px; border-radius: var(--r); overflow: hidden; background: #000; }
.inspection-video-modal__frame video, .inspection-video-modal__frame iframe.inspection-video-modal__embed { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
body.inspection-video-is-open { overflow: hidden; }

/* 10. Shared blocks ---------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.step { padding: 32px 28px 8px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.step:last-child { border-right: 0; margin-right: 0; }
.step__n { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--accent-ink); font-variation-settings: "SOFT" 20, "opsz" 72; margin-bottom: 26px; }
.step h3 { font-size: 1.25rem; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 0.98rem; }
.step__note { display: inline-block; margin-top: 18px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }

.quote { margin: 0 auto; max-width: 62rem; text-align: center; }
.quote p { font-family: var(--serif); font-size: clamp(1.7rem, 1.2rem + 2vw, 3.1rem); line-height: 1.22; letter-spacing: -0.01em; font-variation-settings: "SOFT" 40, "opsz" 72; text-wrap: balance; }
.quote footer { margin-top: 26px; color: var(--muted); font-size: 0.95rem; }
.quote footer strong { color: var(--text); margin-right: 10px; }
.reviews { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 20px; margin-top: clamp(48px, 5vw, 72px); }
.review { padding: 30px; background: var(--bone); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 14px; align-content: start; }
.review p { font-size: 1rem; color: var(--text); }
.review footer { color: var(--muted); font-size: 0.9rem; }
.review footer strong { color: var(--text); margin-right: 8px; }
.review--score { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.review--score p { color: var(--on-dark-muted); }
.review .review__big { font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--on-dark); font-variation-settings: "SOFT" 20, "opsz" 96; }
.review--score .link { color: var(--accent-bright); }

.cta { position: relative; isolation: isolate; padding: clamp(96px, 12vw, 180px) 0; color: var(--on-dark); background: var(--ink); overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 13, 15, 0.94) 0%, rgba(12, 13, 15, 0.7) 55%, rgba(12, 13, 15, 0.35) 100%); }
.cta__in { max-width: 44rem; }
.cta h2 { margin-bottom: 20px; }
.cta p { font-size: 1.15rem; color: var(--on-dark-muted); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* 10b. Icons (bespoke sprite via <x-site.icon>) ------------------------- */
.icon { display: inline-block; flex: none; vertical-align: middle; width: 24px; height: 24px; --icon-accent: var(--accent); }
.sec--ink .icon, .page-hero .icon, .cta .icon, .fs-header .icon, .fs-footer .icon, .plan--featured .icon, .review--score .icon, .aside-card .icon { --icon-accent: var(--accent-bright); }
.icon-tile { display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); }
.icon-tile .icon { width: 26px; height: 26px; }
.sec--ink .icon-tile, .page-hero .icon-tile { background: rgba(246, 245, 243, 0.06); border-color: var(--line-dark); color: var(--on-dark); }

/* 10c. Inner-page blocks ------------------------------------------------ */
.page-hero { position: relative; isolation: isolate; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 13, 15, 0.96) 0%, rgba(12, 13, 15, 0.86) 40%, rgba(12, 13, 15, 0.5) 72%, rgba(12, 13, 15, 0.3) 100%), linear-gradient(0deg, rgba(12, 13, 15, 1) 0%, rgba(12, 13, 15, 0) 40%); }
.page-hero__in { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; padding: clamp(56px, 7vw, 112px) 0 clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); gap: 48px 80px; align-items: end; }
.page-hero__in--single { grid-template-columns: 1fr; }
.page-hero__copy { max-width: 46rem; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5.2rem); line-height: 1.02; letter-spacing: -0.02em; font-variation-settings: "SOFT" 40, "opsz" 144; text-wrap: balance; }
.page-hero h1 em { font-style: italic; font-weight: 300; }
.page-hero__lead { margin-top: 26px; max-width: 36rem; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--on-dark-muted); }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; font-size: 0.92rem; color: var(--on-dark-muted); }
.page-hero__meta li { display: inline-flex; align-items: center; gap: 10px; }
.page-hero__meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); }
.page-hero__aside { display: grid; gap: 14px; padding: 26px 28px; border: 1px solid var(--line-dark); border-radius: var(--r); background: rgba(12, 13, 15, 0.55); backdrop-filter: blur(14px); }
.page-hero__aside .eyebrow { margin-bottom: 4px; }
.page-hero__aside dl { margin: 0; display: grid; gap: 12px; }
.page-hero__aside dt { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }
.page-hero__aside dd { margin: 2px 0 0; font-weight: 600; }
.page-hero__aside .price { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; line-height: 1; font-variation-settings: "SOFT" 20, "opsz" 72; }
.page-hero__aside .price-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; margin-right: 8px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 0.85rem; color: var(--on-dark-muted); }
.crumbs a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

.trust { background: var(--bone-2); border-bottom: 1px solid var(--line); }
.trust__in { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; gap: 14px; align-items: center; padding: 22px 24px 22px 0; }
.trust__item + .trust__item { padding-left: 24px; border-left: 1px solid var(--line); }
.trust__item strong { display: block; font-size: 0.98rem; font-weight: 600; }
.trust__item span { display: block; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.trust__item img { height: 46px; width: auto; }

.prose { max-width: 42rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); margin-top: 1.6em; }
.prose h3 { font-family: var(--sans); font-size: 1.2rem; font-weight: 600; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-2px); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 40px; counter-increment: n; }
.prose ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 0.1em; font-family: var(--serif); font-size: 1.2rem; color: var(--accent-ink); }
.prose a { color: var(--accent-ink); font-weight: 600; }
.prose a:hover { text-decoration: underline; text-underline-offset: 4px; }
.prose strong { font-weight: 600; }
.sec--ink .prose p, .sec--ink .prose li { color: var(--on-dark-muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.split__img { width: 100%; border-radius: var(--r); object-fit: cover; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features--4 { grid-template-columns: repeat(4, 1fr); }
.features--2 { grid-template-columns: repeat(2, 1fr); }
.feature { display: grid; gap: 14px; align-content: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, 0.45); }
.feature h3 { font-size: 1.12rem; }
.feature p { color: var(--muted); font-size: 0.96rem; }
.sec--ink .feature { background: rgba(246, 245, 243, 0.04); border-color: var(--line-dark); }
.sec--ink .feature p { color: var(--on-dark-muted); }

.spec { display: grid; border-top: 1px solid var(--ink); }
.spec__row { display: grid; grid-template-columns: minmax(180px, 0.6fr) 1fr; gap: 12px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec__row dt { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.spec__row dd { margin: 0; color: var(--muted); }
.spec--2col { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
.sec--ink .spec { border-top-color: var(--line-dark); }
.sec--ink .spec__row { border-bottom-color: var(--line-dark); }
.sec--ink .spec__row dd { color: var(--on-dark-muted); }

.checks { display: grid; gap: 12px; }
.checks--2 { grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-2px); }
.sec--ink .checks li::before, .page-hero .checks li::before, .aside-card .checks li::before { border-color: var(--accent-bright); }

.aside-card { display: grid; gap: 14px; align-content: start; padding: 30px; border-radius: var(--r); background: var(--ink); color: var(--on-dark); }
.aside-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.15; font-variation-settings: "SOFT" 40, "opsz" 48; }
.aside-card p { color: var(--on-dark-muted); font-size: 0.98rem; }
.aside-card .btn { margin-top: 8px; }

.faq { display: grid; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > :not(summary) { padding: 0 0 24px; color: var(--muted); max-width: 44rem; }
.faq details > p + p { margin-top: 10px; }

.compare { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { position: sticky; top: var(--header-h); z-index: 2; background: var(--bone); border-bottom: 1px solid var(--ink); font-family: var(--serif); font-weight: 400; font-size: 1.35rem; font-variation-settings: "SOFT" 40, "opsz" 36; }
.compare thead th:first-child { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; vertical-align: bottom; }
.compare tbody th { font-weight: 500; color: var(--text); }
.compare td { text-align: center; color: var(--muted); }
.compare .is-featured { background: rgba(224, 16, 107, 0.06); }
.compare thead .is-featured { background: var(--ink); color: var(--on-dark); }
.compare .yes, .compare .no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.compare .yes { background: var(--accent); color: #fff; }
.compare .no { background: var(--bone-3); color: var(--muted); }
.compare .yes::before { content: ""; width: 11px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-1px); }
.compare .no::before { content: "–"; font-weight: 600; line-height: 1; }
.compare-wrap { overflow-x: auto; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.stat-row > div { padding: 26px 28px 30px 0; }
.stat-row > div + div { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.stat-row dt { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.stat-row dd { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 1.8vw, 3.1rem); line-height: 1; font-variation-settings: "SOFT" 20, "opsz" 72; }
.sec--bone .stat-row, .sec--bone2 .stat-row { border-top-color: var(--ink); }
.sec--bone .stat-row > div + div, .sec--bone2 .stat-row > div + div { border-left-color: var(--line); }
.sec--bone .stat-row dt, .sec--bone2 .stat-row dt { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: border-color .15s ease; }
.card:hover { border-color: var(--ink); }
.card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { display: grid; gap: 10px; align-content: start; padding: 24px; }
.card__body h3 { font-size: 1.15rem; }
.card__body p { color: var(--muted); font-size: 0.95rem; }
.card__figure { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--accent-ink); font-variation-settings: "SOFT" 20, "opsz" 72; }
.sec--ink .card { background: var(--ink-2); border-color: var(--line-dark); }
.sec--ink .card:hover { border-color: var(--on-dark-muted); }
.sec--ink .card__body p { color: var(--on-dark-muted); }
.sec--ink .card__figure { color: var(--accent-bright); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.92rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--bone-3); border-radius: var(--r); background: #fff; color: var(--text); font: inherit; font-size: 1rem; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224, 16, 107, 0.18); }
.field__error { font-size: 0.88rem; color: #b42318; }
.form__note { font-size: 0.88rem; color: var(--muted); }
.notice { padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--accent); background: rgba(224, 16, 107, 0.08); color: var(--accent-ink); font-weight: 500; }

/* 11. Responsive ------------------------------------------------------- */
@media (max-width: 1279px) {
  .fs-nav, .fs-header__actions { display: none; }
  .fs-header__inner { grid-template-columns: auto 1fr; }
  .fs-menu-toggle { display: inline-grid; place-items: center; justify-self: end; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(246, 245, 243, 0.36); border-radius: var(--r); background: transparent; color: var(--on-dark); cursor: pointer; }
  .fs-menu-toggle > span:not(.fs-menu-toggle__bars) { display: none; }
  .fs-menu-toggle__bars { position: relative; display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; transition: background-color .15s ease; }
  .fs-menu-toggle__bars span { display: none; }
  .fs-menu-toggle[aria-expanded="true"] .fs-menu-toggle__bars { background: transparent; box-shadow: none; }
  .fs-menu-toggle[aria-expanded="true"] .fs-menu-toggle__bars::before, .fs-menu-toggle[aria-expanded="true"] .fs-menu-toggle__bars::after { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 2px; background: var(--on-dark); }
  .fs-menu-toggle[aria-expanded="true"] .fs-menu-toggle__bars::before { transform: rotate(45deg); }
  .fs-menu-toggle[aria-expanded="true"] .fs-menu-toggle__bars::after { transform: rotate(-45deg); }
  .fs-mobile { display: block; }
  .fs-footer__top { grid-template-columns: 1fr 1fr; }
  .fs-footer__nav { grid-column: 1 / -1; }
  .sec__head--split { grid-template-columns: 1fr; align-items: start; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; margin-right: 0; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .page-hero__in { grid-template-columns: 1fr; align-items: start; }
  .trust__in { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .features, .features--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--sticky > :first-child { position: static; }
  .spec--2col { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-row > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat-row > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line-dark); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --header-h: 70px; }
  .trust__in { grid-template-columns: 1fr; }
  .trust__item, .trust__item + .trust__item { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .trust__item:last-child { border-bottom: 0; }
  .features, .features--4, .features--2, .checks--2, .cards { grid-template-columns: 1fr; }
  .spec__row { grid-template-columns: 1fr; gap: 6px; }
  .form__row { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 12px 10px; font-size: 0.9rem; }
  .compare thead th { font-size: 1.05rem; top: 0; }
  .page-hero__cta .btn { width: 100%; }
  body { font-size: 1rem; padding-bottom: 76px; }
  .fs-brand img { height: 27px; }
  .fs-footer__top { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; }
  .fs-footer__nav { grid-template-columns: 1fr; gap: 26px; }
  .fs-footer__bottom { flex-direction: column; align-items: flex-start; }
  .sec { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0; }
  .step:last-child { border-bottom: 0; }
  .reviews { grid-template-columns: 1fr; }
  .cta { padding: 88px 0; }
  .cta__actions .btn { width: 100%; }
  .ms-mobile-cta { position: fixed; inset: auto 0 0; z-index: 240; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(12, 13, 15, 0.96); border-top: 1px solid var(--line-dark); backdrop-filter: blur(12px); }
  .ms-mobile-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 18px; border-radius: var(--r); font-weight: 600; font-size: 0.96rem; }
  .ms-mobile-cta__call { border: 1.5px solid rgba(246, 245, 243, 0.42); color: var(--on-dark); }
  .ms-mobile-cta__call svg { width: 18px; height: 18px; }
  .ms-mobile-cta__quote { background: var(--accent); color: #fff; }
  body:has(.fs-menu-toggle[aria-expanded="true"]) .ms-mobile-cta { display: none; }
  body:has(.fs-menu-toggle[aria-expanded="true"]) #voice-assistant-root { display: none; }
  body:has(.ms-mobile-cta) #voice-assistant-root { bottom: 86px !important; }
  .inspection-video-modal { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn__arrow, .inspection-card__media img, .fs-mega, .fs-caret { transition: none; }
}
