/*
Theme Name: SEOSpine
Theme URI: https://proximatesolutions.com/
Author: Proximate Solutions
Author URI: https://proximatesolutions.com/
Description: Wordpress theme designed for SEOSpine with Blog Integration.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seospine
Tags: one-column, two-columns, custom-menu, featured-images, left-sidebar, right-sidebar
*/
/* ==========================================================================
   SEOSpine – custom styles (loaded after Bootstrap 5.3)
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);

  --color-accent: #1a6fe0;
  --color-accent-100: #eef4ff;
  --color-accent-200: #dbe7fe;
  --color-accent-300: #b9d1fb;
  --color-accent-400: #7fa9f2;
  --color-accent-500: #3d86f0;
  --color-accent-600: #155fc8;
  --color-accent-700: #0d4c9f;
  --color-accent-800: #0b3772;
  --color-accent-900: #0c2446;
  --color-accent-2: #14a89c;

  --color-neutral-200: #eae7e7;
  --color-neutral-700: #605d5d;

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;

  --shadow-md: 0 3px 10px color-mix(in srgb, #2d2b2b 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);

  --muted-80: color-mix(in srgb, var(--color-text) 80%, transparent);
  --muted-75: color-mix(in srgb, var(--color-text) 75%, transparent);
  --muted-70: color-mix(in srgb, var(--color-text) 70%, transparent);

  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(64px, 9vw, 120px);

  /* Bootstrap overrides */
  --bs-body-bg: var(--color-bg);
  --bs-body-color: var(--color-text);
  --bs-body-font-family: var(--font-body);
  --bs-body-font-size: 15px;
  --bs-body-line-height: 1.55;
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-link-color: var(--color-accent-700);
  --bs-link-color-rgb: 13, 76, 159;
  --bs-link-hover-color: var(--color-accent-800);
  --bs-link-hover-color-rgb: 11, 55, 114;
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; }
body { text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
a { text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
details summary::-webkit-details-marker { display: none; }

/* ---------- 3. Layout helpers ---------- */
.site-container {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section-pad { padding-block: var(--section-y); }

.gx-hero     { --bs-gutter-x: clamp(40px, 6vw, 80px);  --bs-gutter-y: clamp(40px, 6vw, 80px); }
.gx-split    { --bs-gutter-x: clamp(40px, 6vw, 96px);  --bs-gutter-y: clamp(40px, 6vw, 96px); }
.gx-download { --bs-gutter-x: clamp(40px, 6vw, 88px);  --bs-gutter-y: clamp(48px, 6vw, 88px); }
.gx-modules  { --bs-gutter-x: clamp(24px, 4vw, 56px);  --bs-gutter-y: clamp(24px, 4vw, 56px); }
.gx-faq      { --bs-gutter-x: clamp(32px, 5vw, 80px);  --bs-gutter-y: clamp(32px, 5vw, 80px); }
.gx-why      { --bs-gutter-x: clamp(32px, 4vw, 64px);  --bs-gutter-y: 56px; }
.gx-steps    { --bs-gutter-x: clamp(24px, 4vw, 56px);  --bs-gutter-y: 48px; }
.gx-stats    { --bs-gutter-x: 40px; --bs-gutter-y: 32px; }
.gx-footer   { --bs-gutter-x: 40px; --bs-gutter-y: 40px; }

.mt-32 { margin-top: 32px; }
.mt-36 { margin-top: 36px; }
.mw-16ch { max-width: 16ch; }
.mw-18ch { max-width: 18ch; }
.mw-44ch { max-width: 44ch; }
.mw-46ch { max-width: 46ch; }
.flex-none { flex: none; }
.opacity-85 { opacity: 0.85; }
.justify-self-start { justify-self: start; }

.pull-left { float:left;}
.pull-right { float:right;}
.alignleft { float:left; margin:0 15px 10px 0;}
.alignright { float:right; margin:0 0 10px 15px;}
.aligncenter { text-align:center; margin:0 auto 10px; display:block;}
.alignnone { float:none;}
.wp-caption { border:1px solid #ddd; text-align:center; background-color:#f3f3f3; margin-bottom:1rem; padding:4px; max-width:100%; border-radius:4px; -webkit-border-radius:4px;}
.wp-caption img { margin:0; padding:0; border:0;}
.wp-caption p.wp-caption-text { font-size:12px; padding:0 5px; margin:0;}
.sticky {}
.gallery-caption {}
.bypostauthor {}
.br-0 { border-radius:0; -webkit-border-radius:0;}
.clear { clear:both;}
.mrb-10 { margin:0 10px 10px 0;}
.form-group { margin-bottom:1rem;}

.text-accent { color: var(--color-accent); }
.text-teal { color: var(--color-accent-2); }
.bg-accent { background: var(--color-accent); }
.bg-teal { background: var(--color-accent-2); }
.ico-check { stroke: var(--color-accent-2); flex: none; }
.ico-accent { stroke: var(--color-accent); }
.square-dot { width: 8px; height: 8px; flex: none; background: var(--color-accent-2); }

.section-dark { background: var(--color-text); color: var(--color-bg); }
.section-soft { background: var(--color-accent-100); }
.section-surface { background: var(--color-surface); }

/* ---------- 4. Typography blocks ---------- */
.eyebrow {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-700);
}
.eyebrow-light { color: var(--color-accent-300); }

.section-title {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.section-lead {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted-80);
}
.section-dark .section-lead { color: inherit; }

/* ---------- 5. Buttons ---------- */
.btn {
  --bs-btn-font-family: var(--font-heading);
  --bs-btn-font-weight: 800;
  --bs-btn-font-size: 14px;
  --bs-btn-line-height: 1.2;
  --bs-btn-padding-y: 8px;
  --bs-btn-padding-x: 14.4px;
  --bs-btn-border-radius: 0;
  --bs-btn-border-width: 1px;
  --bs-btn-color: var(--color-text);
  --bs-btn-hover-color: var(--color-text);
  --bs-btn-active-color: var(--color-text);
  --bs-btn-focus-box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn svg { display: block; }
.btn-primary {
  --bs-btn-color: var(--color-bg);
  --bs-btn-bg: var(--color-accent);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: var(--color-bg);
  --bs-btn-hover-bg: var(--color-accent-600);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: var(--color-bg);
  --bs-btn-active-bg: var(--color-accent-700);
  --bs-btn-active-border-color: transparent;
}
.btn-ghost {
  --bs-btn-color: var(--color-accent);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: var(--color-accent);
  --bs-btn-hover-bg: color-mix(in srgb, var(--color-accent) 10%, transparent);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: var(--color-accent);
  --bs-btn-active-bg: color-mix(in srgb, var(--color-accent) 18%, transparent);
  --bs-btn-active-border-color: transparent;
  --bs-btn-padding-x: 4px;
}
.btn-white {
  --bs-btn-color: var(--color-accent-800);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--color-accent-800);
  --bs-btn-hover-bg: var(--color-accent-100);
  --bs-btn-hover-border-color: var(--color-accent-100);
  --bs-btn-active-color: var(--color-accent-800);
  --bs-btn-active-bg: var(--color-accent-200);
  --bs-btn-active-border-color: var(--color-accent-200);
}
.btn-outline-white {
  --bs-btn-color: #fff;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: color-mix(in srgb, #fff 12%, transparent);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: color-mix(in srgb, #fff 20%, transparent);
  --bs-btn-active-border-color: #fff;
}
.btn-lg-site { --bs-btn-padding-y: 16px; --bs-btn-padding-x: 26px; --bs-btn-font-size: 16px; gap: 10px; }
.btn-block { width: 100%; margin-top: 8px; justify-content: flex-start; text-align: left; }
.btn-split { --bs-btn-padding-y: 16px; --bs-btn-padding-x: 22px; --bs-btn-font-size: 16px; justify-content: space-between; }

/* ---------- 6. Header ---------- */
.site-header {
  z-index: 1030;
  background: var(--color-bg);
  border-bottom: 2px solid var(--color-divider);
}
.header-bar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-logo img { height: 34px; width: auto; }

.site-nav { align-items: center; gap: 24px; }
.site-nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav-list > li { position: relative; }
.site-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 24px 0;
  margin-bottom: -2px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
}
.site-nav-link:hover,
.site-nav-link.show,
.site-nav-link[aria-current="page"],
.site-nav-link.is-active,
.dropdown:hover > .site-nav-link { color: var(--color-accent-700); }
.site-nav-link[aria-current="page"],
.site-nav-link.is-active { border-bottom-color: var(--color-accent); }

.site-dropdown {
  left: -20px;
  top: 100%;
  min-width: 280px;
  margin: 0;
  padding: 10px 0;
  background: #fff;
  border: 0;
  border-top: 4px solid var(--color-accent);
  border-radius: 0;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 1200px) {
  .site-nav .dropdown:hover > .site-dropdown { display: block; }
}
.site-dropdown-item {
  display: grid;
  gap: 2px;
  padding: 12px 20px;
  color: var(--color-text);
  text-decoration: none;
}
.site-dropdown-item:hover { background: var(--color-accent-100); color: var(--color-text); }
.site-dropdown-item span { font-size: 15px; font-weight: 700; }
.site-dropdown-item small { font-size: 13px; color: color-mix(in srgb, var(--color-text) 72%, transparent); }

.menu-toggle { gap: 8px; }

.mobile-nav {
  display: grid;
  max-height: calc(100vh - 74px);
  overflow: auto;
  border-top: 2px solid var(--color-divider);
  background: var(--color-bg);
}
.mobile-nav a { text-decoration: none; border-bottom: 1px solid var(--color-divider); }
.mobile-link { padding: 16px var(--gutter); font-size: 17px; font-weight: 600; color: var(--color-text); }
.mobile-group { padding: 16px var(--gutter) 8px; font-size: 12px; font-weight: 700; color: var(--color-accent-700); }
.mobile-sublink { padding: 12px var(--gutter) 12px calc(var(--gutter) + 16px); font-size: 16px; font-weight: 600; color: var(--color-text); }
.mobile-link:hover, .mobile-sublink:hover,
.mobile-link[aria-current="page"], .mobile-sublink[aria-current="page"] { color: var(--color-accent-700); }
.mobile-nav .mobile-cta { padding: 16px var(--gutter); }
.mobile-nav .mobile-cta a { border-bottom: 0; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-top { padding-top: clamp(48px, 8vw, 104px); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--color-accent-100);
  color: var(--color-accent-800);
}
.hero-title {
  margin: 28px 0 0;
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero-title span { display: block; }
.hero-lead {
  max-width: 50ch;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
}
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--muted-75);
}
.hero-checks li { display: flex; align-items: center; gap: 8px; }

/* Hero visual */
.hero-visual { position: relative; min-height: 500px; }
.hv-block-main { position: absolute; right: 0; top: 6%; width: 78%; height: 82%; background: var(--color-accent); }
.hv-block-teal { position: absolute; right: 10%; top: 0; width: 44%; height: 30%; background: var(--color-accent-2); opacity: 0.9; }
.hv-card {
  position: absolute;
  left: 6%;
  top: 14%;
  width: 72%;
  padding: 28px 28px 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.hv-card-title { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hv-live { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--color-accent-2); }

.score-ring { position: relative; width: min(100%, 220px); aspect-ratio: 1; margin: 18px auto 0; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring-track { stroke: var(--color-neutral-200); }
.score-ring-value { stroke: var(--color-accent); }
.score-ring-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score-value { font-size: clamp(42px, 4.2vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.score-label { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--color-accent-700); }

.hv-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 22px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 2px solid var(--color-neutral-200);
  font-size: 13px;
}

.hv-chip { position: absolute; padding: 16px 20px; background: #fff; box-shadow: var(--shadow-md); }
.hv-fixed { right: 0; top: 4%; min-width: 150px; background: var(--color-text); color: var(--color-bg); }
.hv-keywords { right: 2%; top: 50%; min-width: 170px; }
.hv-cwv { left: 0; bottom: 0; min-width: 210px; }
.hv-chip-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-70); }
.hv-fixed .hv-chip-label { color: inherit; opacity: 0.8; }
.hv-chip-value { margin-top: 4px; font-size: 28px; font-weight: 800; line-height: 1.1; }
.hv-up { font-size: 13px; font-weight: 700; color: var(--color-accent-2); }

.cwv-bars { display: flex; gap: 4px; height: 8px; margin-top: 10px; }
.cwv-bars > span { flex: 1; background: var(--color-neutral-200); }
.cwv-bars > span > span { display: block; height: 8px; background: var(--color-accent-2); }
.cwv-legend { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; font-weight: 700; }

/* Stats */
.hero-stats { padding-block: clamp(56px, 7vw, 88px); }
.stat { display: flex; flex-direction: column-reverse; }
.stat dt { font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--muted-75); }
.stat dd {
  margin: 0 0 6px;
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-accent);
}

/* ---------- 8. Why ---------- */
.why-grid { margin-top: clamp(48px, 6vw, 80px); }
.why-item { display: grid; gap: 18px; align-content: start; }
.why-item h3 { margin: 0; font-size: clamp(22px, 2vw, 26px); line-height: 1.15; }
.why-item p { margin: 0; font-size: 16px; line-height: 1.65; opacity: 0.82; }
.why-icon { width: 64px; height: 64px; display: grid; place-items: center; }
@media (min-width: 992px) {
  .why-offset-1 { padding-top: clamp(0px, 4vw, 56px); }
  .why-offset-2 { padding-top: clamp(0px, 8vw, 112px); }
}

/* ---------- 9. Tool stack ---------- */
.stack-wrap { padding-block: clamp(8px, 2vw, 24px); }
.stack-list { display: grid; gap: 14px; margin: 0; }
.stack-list li {
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--color-accent);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.stack-list .indent-2 { padding-left: clamp(0px, 2vw, 24px); }
.stack-list .indent-3 { padding-left: clamp(0px, 3vw, 40px); }
.stack-list .indent-4 { padding-left: clamp(0px, 4vw, 56px); }
.stack-list .indent-5 { padding-left: clamp(0px, 5vw, 72px); }
.stack-result { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.stack-logo { height: clamp(40px, 4.5vw, 60px); width: auto; }

/* ---------- 10. Modules ---------- */
.modules-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.modules-note { margin: 0; max-width: 36ch; font-size: 16px; line-height: 1.6; color: var(--muted-80); }

.module-tabs { display: grid; }
.module-tab {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 2px solid color-mix(in srgb, var(--color-accent-800) 18%, transparent);
  color: var(--color-text);
}
.module-tab:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.module-tab[aria-selected="true"] { color: var(--color-accent-700); }
.module-num { font-size: 14px; font-weight: 800; }
.module-text { display: grid; gap: 2px; }
.module-name { font-size: clamp(17px, 1.5vw, 20px); font-weight: 800; }
.module-benefit { font-size: 14px; opacity: 0.8; }
.module-arrow { font-size: 22px; font-weight: 800; visibility: hidden; }
.module-tab[aria-selected="true"] .module-arrow { visibility: visible; }

.module-panel {
  display: grid;
  align-content: space-between;
  gap: 32px;
  min-height: 420px;
  padding: clamp(28px, 4vw, 56px);
  background: var(--color-accent);
  color: #fff;
}
@media (min-width: 992px) {
  .module-panel { position: sticky; top: 96px; }
}
.module-panel-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.module-panel-title { margin: 16px 0 0; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -0.02em; }
.module-panel-desc { margin: 18px 0 0; max-width: 44ch; font-size: 17px; line-height: 1.6; opacity: 0.92; }
.module-panel-tools { display: grid; gap: 12px; margin: 28px 0 0; }
.module-panel-tools li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; }
.module-panel-tools li::before { content: ""; flex: none; width: 10px; height: 10px; background: #fff; }

/* ---------- 11. How it works ---------- */
.steps { margin: clamp(48px, 6vw, 72px) 0 0; }
.step { display: grid; gap: 14px; align-content: start; }
.step h3 { margin: 0; font-size: 21px; }
.step p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted-80); }
.step-num { font-size: clamp(60px, 6.4vw, 90px); font-weight: 800; line-height: 0.85; letter-spacing: -0.05em; }
.step-num-1 { color: var(--color-accent-200); }
.step-num-2 { color: var(--color-accent-300); }
.step-num-3 { color: var(--color-accent); }

/* ---------- 12. AI demo ---------- */
.ai-demo { position: relative; }
.ai-demo-bg { position: absolute; right: -8%; top: -10%; width: 70%; height: 120%; background: var(--color-accent); }
.ai-chat { position: relative; display: grid; gap: 14px; max-width: 460px; }
.ai-question {
  justify-self: end;
  max-width: 85%;
  padding: 14px 18px;
  font-size: 15px;
  background: var(--color-neutral-700);
  color: #fff;
}
.ai-answer {
  padding: 22px 24px;
  font-size: 15px;
  line-height: 1.6;
  background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
}
.ai-answer-label {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
}
.ai-source { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--color-accent-700); }
.ai-source span { padding: 4px 8px; background: var(--color-accent-100); }

/* ---------- 13. Who it's for ---------- */
.who-grid { margin-top: clamp(40px, 5vw, 64px); }
.who-item { display: grid; gap: 14px; align-content: start; }
.who-item::before { content: ""; display: block; height: 4px; margin-bottom: 10px; }
.who-item.border-accent::before { background: var(--color-accent); }
.who-item.border-teal::before { background: var(--color-accent-2); }
.who-item.border-ink::before { background: var(--color-text); }
.who-item h3 { margin: 0; font-size: 22px; }
.who-item p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted-80); }

/* ---------- 14. Download ---------- */
.download-points { display: grid; gap: 12px; margin: 28px 0 0; font-size: 16px; }
.download-points li { display: flex; align-items: center; gap: 12px; }

.download-wrap { position: relative; }
.download-deco-back { position: absolute; inset: 24px -24px -24px 24px; background: var(--color-accent-200); }
.download-deco-corner { position: absolute; right: -24px; top: -24px; width: 38%; height: 28%; background: var(--color-accent-2); }
.dl-form { display: grid; gap: 18px; }
.dl-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent-700); }
.dl-title { margin: 10px 0 0; font-size: clamp(22px, 2vw, 26px); line-height: 1.15; }
.dl-sub { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: color-mix(in srgb, var(--color-text) 78%, transparent); }

.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--color-divider); }
.seg-opt { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: 13px; cursor: pointer; }
.seg-opt:not(:first-of-type) { border-left: 1px solid var(--color-divider); }
.btn-check:checked + .seg-opt { background: var(--color-accent); color: var(--color-bg); }
.btn-check:not(:checked) + .seg-opt:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-check:focus-visible + .seg-opt { outline: 2px solid var(--color-accent); outline-offset: -2px; }

.consent { display: flex; gap: 10px; align-items: flex-start; padding-left: 0; margin: 0; font-size: 13.5px; line-height: 1.5; }
.consent .form-check-input { float: none; flex: none; margin: 3px 0 0; border-radius: 0; border-color: var(--color-divider); }
.consent .form-check-input:checked { background-color: var(--color-accent); border-color: var(--color-accent); }
.consent .form-check-input:focus { box-shadow: none; }
.consent .form-check-label { cursor: pointer; }

.dl-error { margin: 0; padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--color-accent-800); background: var(--color-accent-100); }
.dl-terms { margin: 0; font-size: 12.5px; color: var(--muted-70); }

.dl-success { display: grid; gap: 18px; }
.dl-success.d-none { display: none !important; }
.dl-success-icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--color-accent-2); }
.dl-steps { display: grid; gap: 12px; margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; }
.dl-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
.dl-steps li > strong { color: var(--color-accent); }
.dl-guide { font-size: 14px; font-weight: 700; }

/* ---------- 15. FAQ ---------- */
.faq-title { font-size: clamp(30px, 3.6vw, 46px); }
.faq-intro { margin: 20px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted-80); }
.faq-item { padding: 22px 0; border-bottom: 2px solid var(--color-divider); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}
.faq-item summary span {
  flex: none;
  display: inline-block;
  color: var(--color-accent);
  font-size: 1.2em;
  line-height: 1;
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}
.faq-item summary:hover { color: var(--color-accent-700); }
.faq-item[open]:not(.is-closing) summary span { transform: rotate(45deg); }
.faq-item p { max-width: 62ch; margin: 14px 0 0; font-size: 16px; line-height: 1.65; transition: opacity .32s ease; }
.faq-item.is-closing p { opacity: 0; }
@keyframes faqFadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq-item[open]:not(.is-closing) p { animation: faqFadeIn .32s ease both; }
@media (prefers-reduced-motion: reduce) {
  .faq-item summary span, .faq-item p { transition: none; animation: none !important; }
}

/* ---------- 16. CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--color-accent); color: #fff; }
.cta-bg-number {
  position: absolute;
  right: -4%;
  bottom: -18%;
  font-size: clamp(140px, 20vw, 290px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--color-accent-600);
  pointer-events: none;
  user-select: none;
}
.cta-inner { position: relative; padding-block: clamp(72px, 10vw, 136px); }
.cta-title { max-width: 16ch; margin: 0; font-size: clamp(34px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.cta-lead { max-width: 46ch; margin: 24px 0 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; opacity: 0.92; }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--color-bg); border-top: 2px solid var(--color-divider); }
.footer-top { padding-top: 56px; padding-bottom: 32px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-logo { height: 30px; width: auto; }
.footer-brand p { max-width: 32ch; margin: 0; font-size: 14px; line-height: 22px; color: var(--muted-75); }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-heading { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-700); }
.footer-col a { font-size: 15px; color: var(--color-text); text-decoration: none; }
.footer-col a:hover { color: var(--color-accent-700); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 28px;
  border-top: 2px solid var(--color-divider);
  font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
}

/* ==========================================================================
   INNER PAGES
   ========================================================================== */

/* ---------- 18. Shared page blocks ---------- */
.mw-14ch { max-width: 14ch; }
.mw-15ch { max-width: 15ch; }
.mw-48ch { max-width: 48ch; }
.mw-50ch { max-width: 50ch; }
.mw-60ch { max-width: 60ch; }
.fs-14 { font-size: 14px; }
.mt-56 { margin-top: 56px; }
.gx-intro { --bs-gutter-x: clamp(24px, 4vw, 72px); --bs-gutter-y: 24px; }
.gx-posts { --bs-gutter-x: clamp(24px, 3vw, 48px); --bs-gutter-y: 56px; }
.grid-mt { margin-top: clamp(48px, 6vw, 72px); }
.section-pad-sm { padding-block: clamp(56px, 7vw, 96px); }
.pb-section { padding-bottom: clamp(56px, 7vw, 96px); }
.pt-filter { padding-top: clamp(40px, 5vw, 64px); }
.page-hero-inner.pb-40 { padding-bottom: clamp(40px, 5vw, 64px); }
.legal-wrap { padding-top: 48px; padding-bottom: clamp(56px, 7vw, 96px); }
.filter-empty { margin: 0; font-size: 16px; color: var(--muted-75); }
.bg-ink { background: var(--color-text); }
.bg-accent-soft { background: var(--color-accent-200); }
.text-soft { color: var(--muted-80); }

.page-hero { position: relative; overflow: hidden; }
.page-hero-inner { position: relative; padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(48px, 6vw, 80px); }
.breadcrumb-site { margin-bottom: 22px; font-size: 13px; }
.breadcrumb-site a { text-decoration: none; }
.page-title { margin: 0; font-size: clamp(36px, 5vw, 70px); line-height: 0.98; letter-spacing: -0.035em; }
.page-lead {
  max-width: 52ch;
  margin: 26px 0 0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
}
.bg-number {
  position: absolute;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--color-accent-100);
  pointer-events: none;
  user-select: none;
}
/* Hero with background photo (fades in from the right) */
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--color-bg) 0%,
    var(--color-bg) 34%,
    color-mix(in srgb, var(--color-bg) 82%, transparent) 55%,
    color-mix(in srgb, var(--color-bg) 30%, transparent) 100%);
}
.page-hero.has-bg { border-bottom: 6px solid var(--color-accent); }
@media (max-width: 991.98px) {
  .page-hero-bg::after { background: color-mix(in srgb, var(--color-bg) 86%, transparent); }
}
.bg-number-top { right: -2%; top: 10%; font-size: clamp(140px, 22vw, 330px); }
.bg-number-bottom { right: -2%; bottom: -14%; font-size: clamp(140px, 20vw, 300px); }

.section-title-md { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.02em; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
}
.kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent-700); }

/* Stats band */
.stats-band { background: var(--color-accent); color: #fff; }
.stats-band dl { padding-block: clamp(48px, 6vw, 80px); }
.stats-band .stat dt { font-size: 15px; color: inherit; opacity: 0.9; }
.stats-band .stat dd { color: #fff; font-size: clamp(44px, 4.8vw, 66px); letter-spacing: -0.04em; }
.stats-band-sm dl { padding-block: clamp(40px, 5vw, 64px); }
.stats-band-sm .stat dd { font-size: clamp(38px, 4vw, 54px); letter-spacing: -0.03em; }

/* CTA band */
.cta-band { background: var(--color-accent); color: #fff; overflow: hidden; }
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-block: clamp(72px, 9vw, 120px);
}
.cta-band-title { max-width: 15ch; margin: 0; font-size: clamp(32px, 4vw, 54px); line-height: 1; letter-spacing: -0.03em; }

/* Filter chips */
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  all: unset;
  cursor: pointer;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow-sm, 0 1px 2px color-mix(in srgb, #2d2b2b 14%, transparent));
}
.filter-btn:hover { background: var(--color-accent-100); }
.filter-btn[aria-pressed="true"] { background: var(--color-accent); color: #fff; }
.filter-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.btn-secondary {
  --bs-btn-color: var(--color-text);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--color-divider);
  --bs-btn-hover-color: var(--color-text);
  --bs-btn-hover-bg: color-mix(in srgb, var(--color-text) 7%, transparent);
  --bs-btn-hover-border-color: var(--color-divider);
  --bs-btn-active-color: var(--color-text);
  --bs-btn-active-bg: color-mix(in srgb, var(--color-text) 14%, transparent);
  --bs-btn-active-border-color: var(--color-divider);
}
.btn-dark-site {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--color-text);
  --bs-btn-border-color: var(--color-text);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--color-neutral-700);
  --bs-btn-hover-border-color: var(--color-neutral-700);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--color-neutral-700);
  --bs-btn-active-border-color: var(--color-neutral-700);
}

/* Rule cards (coloured top rule) */
.rule-card { display: grid; gap: 14px; align-content: start; }
.rule-card::before { content: ""; display: block; height: 4px; margin-bottom: 8px; background: var(--color-accent); }
.rule-card.rule-teal::before { background: var(--color-accent-2); }
.rule-card.rule-ink::before { background: var(--color-text); }

/* Side rules (coloured left rule) */
.side-rule { display: grid; gap: 6px; padding-left: 20px; border-left: 4px solid var(--color-accent); }
.side-rule.rule-teal { border-left-color: var(--color-accent-2); }
.side-rule.rule-ink { border-left-color: var(--color-text); }
.side-rule.rule-white { border-left-color: #fff; }

/* Decorative offset frame */
.deco-wrap { position: relative; }
.deco-back { position: absolute; inset: 24px -24px -24px 24px; }
.deco-corner { position: absolute; right: -24px; top: -24px; width: 38%; height: 28%; }
.deco-content { position: relative; }

/* Shared form card */
.form-card {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
}
.form-card .form-label { display: block; margin-bottom: 5px; font-size: 12px; color: var(--muted-70); }
.form-card .form-control,
.form-card .form-select {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 14px;
  color: var(--color-text);
  caret-color: var(--color-accent);
  background-color: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: 0;
  box-shadow: none;
}
.form-card .form-select { padding-right: 32px; }
.form-card textarea.form-control { min-height: 110px; resize: vertical; }
.form-card .form-control:hover,
.form-card .form-select:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.form-card .form-control:focus,
.form-card .form-select:focus { border-color: var(--color-accent); box-shadow: none; outline: 2px solid var(--color-accent); outline-offset: 0; }
.form-card .form-control[aria-invalid="true"] { border-color: var(--color-accent-800); }
.form-title { margin: 0; font-size: clamp(22px, 2vw, 26px); }
.form-note { margin: 0; font-size: 13px; color: color-mix(in srgb, var(--color-text) 72%, transparent); }
.form-success { display: grid; gap: 16px; }

/* Numbered promise / step items */
.num-item { display: grid; gap: 14px; align-content: start; }
.num-item h3 { margin: 0; font-size: 21px; }
.num-item p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted-80); }
.num-big { font-size: 60px; font-weight: 800; line-height: 0.85; letter-spacing: -0.05em; }
.section-dark .num-item p { color: inherit; opacity: 0.82; }
.c-200 { color: var(--color-accent-200); }
.c-300 { color: var(--color-accent-300); }
.c-400 { color: var(--color-accent-400); }
.c-accent { color: var(--color-accent); }
@media (min-width: 992px) {
  .stagger-1 { padding-top: clamp(0px, 3vw, 40px); }
  .stagger-2 { padding-top: clamp(0px, 6vw, 80px); }
  .stagger-3 { padding-top: clamp(0px, 9vw, 120px); }
}

/* ---------- 19. About ---------- */
.about-intro { margin-top: clamp(40px, 5vw, 64px); }
.lead-strong { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; font-weight: 600; }
.body-copy { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted-80); }
.who-list { display: grid; gap: 36px; align-content: center; }
.who-list h3 { margin: 0; font-size: 20px; }
.who-list p { margin: 0; font-size: 16px; line-height: 1.6; opacity: 0.84; }

/* ---------- 20. Features ---------- */
.jump-list { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; list-style: none; }
.jump-list a {
  display: inline-flex;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  background: #fff;
  box-shadow: 0 1px 2px color-mix(in srgb, #2d2b2b 14%, transparent);
}
.jump-list a span { color: var(--color-accent); }
.jump-list a:hover { background: var(--color-accent); color: #fff; }
.jump-list a:hover span { color: #fff; }

.feature-section { padding-block: clamp(64px, 8vw, 112px); }
.theme-soft { background: var(--color-accent-100); }
.theme-dark { background: var(--color-text); color: var(--color-bg); }
.theme-dark .eyebrow { color: var(--color-accent-300); }
.feature-desc { max-width: 46ch; margin: 22px 0 0; font-size: 18px; line-height: 1.6; opacity: 0.86; }
.feature-outcome { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; font-size: 15px; font-weight: 700; }
.feature-outcome::before { content: ""; width: 24px; height: 4px; flex: none; background: var(--color-accent-2); }
.feature-list-wrap .deco-back { inset: 18px -18px -18px 18px; }
.feature-list {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: clamp(24px, 3vw, 40px);
  list-style: none;
  background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow-md);
}
.feature-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; line-height: 1.5; }
.feature-list svg { margin-top: 1px; }

.audit-areas { margin: 32px 0 0; max-width: 30ch; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; font-weight: 800; letter-spacing: -0.015em; }
.audit-areas span { color: var(--color-accent); }
.border-top-divider { border-top: 2px solid var(--color-divider); }
.code-block {
  margin: 0;
  padding: clamp(24px, 3vw, 36px);
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 22px;
  background: var(--color-accent);
  color: #fff;
}

/* ---------- 21. Contact ---------- */
.contact-lines { display: grid; gap: 22px; margin-top: 40px; }
.contact-lines span { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-lines a { font-size: 18px; font-weight: 700; text-decoration: none; }
.faq-compact .faq-item { padding: 20px 0; }
.faq-compact .faq-item summary { font-size: 18px; }
.faq-compact .faq-item p { margin-top: 12px; }

/* ---------- 22. Blog ---------- */
.featured-post { display: block; text-decoration: none; background: var(--color-text); color: var(--color-bg); transition: box-shadow .2s; }
.featured-post:hover { color: var(--color-bg); box-shadow: var(--shadow-lg); }
.featured-visual {
  position: relative;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  background: var(--color-accent);
  color: #fff;
}
.featured-visual::after { content: ""; position: absolute; right: 0; top: 0; width: 32%; height: 46%; background: var(--color-accent-2); }
.featured-visual .kicker { position: relative; z-index: 1; color: #fff; font-size: 13px; }
.featured-number { position: relative; font-size: clamp(80px, 10vw, 140px); font-weight: 800; line-height: 0.8; letter-spacing: -0.05em; }
.featured-body { display: grid; gap: 18px; align-content: center; height: 100%; padding: clamp(28px, 4vw, 56px); }
.featured-body .kicker { color: var(--color-accent-300); font-size: 13px; }
.featured-body h2 { margin: 0; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -0.02em; }
.featured-body p { margin: 0; font-size: 17px; line-height: 1.6; opacity: 0.84; }
.featured-body .read-more { font-size: 15px; font-weight: 700; color: #fff; }

.post-card h3 { margin: 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.2; }
.post-card h3 a { color: var(--color-text); text-decoration: none; }
.post-card h3 a:hover { color: var(--color-accent-700); }
.post-card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.post-card time { font-size: 13px; color: var(--muted-70); }

.newsletter-form { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter-form .form-control {
  flex: 1 1 240px;
  width: auto;
  min-height: 44px;
  font-size: 15px;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 0;
}
.newsletter-form .form-control:focus { box-shadow: none; outline: 2px solid var(--color-text); outline-offset: 0; }

/* ---------- 23. Blog post ---------- */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 28px; font-size: 14px; }
.post-meta img { width: 32px; height: 32px; background: #fff; }
.post-title { margin: 0; font-size: clamp(32px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.toc { display: grid; gap: 12px; font-size: 14.5px; }
.toc a { color: var(--color-text); text-decoration: none; }
.toc a:hover { color: var(--color-accent-700); }
.toc-ruled { gap: 10px; padding: 4px 0 0 18px; border-left: 4px solid var(--color-accent); }
@media (min-width: 992px) {
  .toc-sticky { position: sticky; top: 96px; }
}
.post-body { max-width: 720px; font-size: 18px; line-height: 1.72; }
.post-body h2 { margin: 56px 0 0; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.015em; }
.post-body p { margin: 16px 0 0; }
.post-body ol { display: grid; gap: 10px; margin: 16px 0 0; padding-left: 24px; }
.post-body .post-intro { margin: 0; font-size: 20px; line-height: 1.6; font-weight: 600; }
.post-body blockquote { margin: 48px 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; color: var(--color-accent-700); }
.post-body .faq-item { padding: 18px 0; }
.post-body .faq-item summary { font-size: 18px; }
.post-body .faq-item p { margin-top: 10px; font-size: 16.5px; }
.takeaways { margin-bottom: 40px; padding: clamp(22px, 3vw, 32px); background: var(--color-accent); color: #fff; }
.takeaways strong { display: block; margin-bottom: 12px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.takeaways ul { display: grid; gap: 6px; margin: 0; padding-left: 20px; font-size: 16.5px; line-height: 1.55; }
.severity-list { display: grid; gap: 18px; margin-top: 22px; }
.severity-list .side-rule { display: block; }
.post-cta .deco-back { inset: 14px -14px -14px 14px; }
.post-cta-box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--color-text);
  color: #fff;
}
.post-cta-box strong { max-width: 20ch; font-size: clamp(20px, 2vw, 24px); line-height: 1.2; }
.more-card h3 { margin: 0; font-size: 20px; line-height: 1.2; }
.more-card h3 a { color: var(--color-text); text-decoration: none; }
.more-card h3 a:hover { color: var(--color-accent-700); }

/* ---------- 24. Case studies ---------- */
.case-item { padding-block: clamp(56px, 7vw, 96px); }
.case-stat-wrap { position: relative; padding: 0 24px 24px 0; }
.case-stat-wrap .deco-back { inset: 24px 0 0 24px; }
.case-stat { position: relative; display: grid; gap: 10px; padding: clamp(28px, 4vw, 48px); background: var(--color-text); color: #fff; }
.case-stat .kicker { color: var(--color-accent-300); }
.case-stat-value { font-size: clamp(54px, 6.4vw, 90px); font-weight: 800; line-height: 0.95; letter-spacing: -0.045em; }
.case-stat-label { font-size: 17px; font-weight: 700; }
.case-more { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; padding-top: 18px; border-top: 2px solid rgba(255, 255, 255, 0.2); }
.case-more strong { display: block; font-size: 22px; font-weight: 800; }
.case-more span { font-size: 13px; opacity: 0.8; }
.case-title { margin: 0; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.05; letter-spacing: -0.02em; }
.case-points { display: grid; gap: 18px; margin: 26px 0 0; }
.case-points dt { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.case-points dd { margin: 6px 0 0; font-size: 16px; line-height: 1.6; }
.case-quote { margin: 28px 0 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.4; font-weight: 700; letter-spacing: -0.01em; }
.tag-soft { padding: 6px 10px; font-size: 13px; font-weight: 700; background: var(--color-accent-100); color: var(--color-accent-800); }
.link-strong { display: inline-block; margin-top: 22px; font-size: 15px; font-weight: 700; }
@media (min-width: 992px) {
  .case-item.is-reverse .row { flex-direction: row-reverse; }
}

/* ---------- 25. Reviews ---------- */
.rating-wrap { position: relative; padding: 0 24px 24px 0; }
.rating-wrap .deco-back { inset: 24px 0 0 24px; }
.rating-box { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 40px; padding: clamp(28px, 4vw, 44px); background: var(--color-accent); color: #fff; }
.rating-value { font-size: clamp(54px, 6.4vw, 84px); font-weight: 800; line-height: 0.9; letter-spacing: -0.045em; }
.rating-stars { display: flex; gap: 4px; margin-top: 10px; }
.rating-note { max-width: 22ch; font-size: 16px; line-height: 1.5; opacity: 0.95; }
.featured-quote { margin: 0; max-width: 26ch; font-family: var(--font-heading); font-size: clamp(26px, 3vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.featured-quote-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 28px; font-size: 16px; }
.featured-quote-caption a { color: var(--color-accent-300); font-weight: 700; }
.review-grid { columns: 3 300px; column-gap: clamp(24px, 3vw, 40px); }
.review-card {
  break-inside: avoid;
  margin: 0 0 clamp(24px, 3vw, 40px);
  padding: clamp(22px, 2.6vw, 32px);
  background: #fff;
  border-top: 4px solid var(--color-accent);
  box-shadow: 0 1px 2px color-mix(in srgb, #2d2b2b 14%, transparent);
}
.review-card.rule-teal { border-top-color: var(--color-accent-2); }
.review-card.rule-ink { border-top-color: var(--color-text); }
.review-stars { font-size: 18px; letter-spacing: 3px; color: var(--color-accent); }
.review-card h3 { margin: 12px 0 0; font-size: 19px; line-height: 1.25; }
.review-card blockquote { margin: 10px 0 0; font-size: 15.5px; line-height: 1.65; color: color-mix(in srgb, var(--color-text) 84%, transparent); }
.review-card figcaption { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 18px; font-size: inherit; }
.avatar { width: 40px; height: 40px; display: grid; place-items: center; font-size: 15px; font-weight: 800; background: var(--color-accent-100); color: var(--color-accent-800); }
.review-card figcaption strong { display: block; font-size: 15px; }
.review-card figcaption small { font-size: 13px; color: color-mix(in srgb, var(--color-text) 72%, transparent); }
.leave-band-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-block: clamp(56px, 7vw, 96px); }

/* ---------- 26. Legal ---------- */
.legal-hero { position: relative; overflow: hidden; background: var(--color-text); color: var(--color-bg); }
.legal-hero::after { content: ""; position: absolute; right: 0; top: 0; width: min(22vw, 300px); height: 100%; background: var(--color-accent); }
.legal-hero .site-container { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 104px); }
.legal-hero .eyebrow { letter-spacing: 0.08em; }
.legal-hero .page-title { letter-spacing: -0.02em; }
.legal-updated { margin: 22px 0 0; font-size: 15px; opacity: 0.8; }
.legal-body { max-width: 720px; font-size: 16.5px; line-height: 28px; }
.legal-body h2 { margin: 40px 0 0; padding-top: 24px; font-size: 22px; border-top: 2px solid var(--color-divider); }
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body p { margin: 12px 0 0; }

/* ---------- 27. Pricing ---------- */
.pricing-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.seg-lg { background: #fff; border-color: color-mix(in srgb, var(--color-text) 25%, transparent); }
.seg-lg .seg-opt { padding: 12px 18px; font-size: 15px; font-weight: 700; }
.save-badge { margin-left: 6px; padding: 2px 6px; font-size: 11px; font-weight: 700; background: var(--color-accent-2); color: #fff; }
.plan-audience { max-width: 70ch; margin: 24px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted-80); }
.plan-audience strong { color: var(--color-text); }
.plans-row { margin-top: 28px; }

.plan-card { position: relative; display: flex; flex-direction: column; gap: 22px; height: 100%; padding: clamp(28px, 3.5vw, 44px); background: #fff; box-shadow: var(--shadow-md); }
.plan-name { margin: 0; font-size: 22px; }
.plan-desc { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted-75); }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price strong { font-size: clamp(44px, 4.4vw, 58px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.plan-price span { font-size: 15px; font-weight: 600; opacity: 0.8; }
.plan-note { margin: 8px 0 0; font-size: 13px; opacity: 0.8; }
.plan-features { display: grid; gap: 12px; margin: 0; padding: 22px 0 0; list-style: none; border-top: 2px solid var(--color-neutral-200); font-size: 15px; line-height: 1.45; }
.plan-features li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.plan-features svg { margin-top: 1px; }

.plan-featured-wrap { position: relative; height: 100%; }
.plan-featured-wrap .deco-back { inset: 18px -18px -18px 18px; background: var(--color-accent-200); }
.plan-featured { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-lg); }
.plan-featured .plan-desc { color: inherit; opacity: 0.88; }
.plan-featured .plan-features { border-top-color: rgba(255, 255, 255, 0.25); }
.plan-featured .ico-check { stroke: #fff; }
.plan-badge { position: absolute; top: 0; right: clamp(20px, 3vw, 36px); transform: translateY(-50%); padding: 6px 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: var(--color-accent-2); color: #fff; }
.plan-limits { display: flex; flex-wrap: wrap; gap: 1px; background: rgba(255, 255, 255, 0.25); border: 1px solid rgba(255, 255, 255, 0.25); }
.plan-limits div { flex: 1 1 96px; padding: 14px 12px; background: var(--color-accent); }
.plan-limits strong { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; }
.plan-limits span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.3; opacity: 0.85; }
.plan-guarantee { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 40px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted-75); }
.plan-guarantee li { display: flex; align-items: center; gap: 8px; }

.data-item { display: grid; gap: 14px; align-content: start; }
.data-item h3 { margin: 0; font-size: 20px; }
.data-item p { margin: 0; font-size: 15.5px; line-height: 1.6; opacity: 0.82; }
.data-icon { width: 52px; height: 52px; display: grid; place-items: center; }

.compare-wrap { margin-top: clamp(36px, 5vw, 56px); background: #fff; box-shadow: var(--shadow-md); }
.compare-table { width: 100%; min-width: 760px; margin: 0; border-collapse: collapse; font-size: 14.5px; }
.compare-table th,
.compare-table td { padding: 13px 16px; border-bottom: 1px solid var(--color-neutral-200); text-align: center; vertical-align: middle; }
.compare-table th:first-child,
.compare-table td:first-child { text-align: left; }
.compare-table thead th { position: sticky; top: 0; padding-block: 18px; background: var(--color-text); color: var(--color-bg); font-size: 15px; font-weight: 800; border-bottom: 0; }
.compare-table thead th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--color-accent-300); }
.compare-table .group-row th { padding-top: 22px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: var(--color-accent-100); color: var(--color-accent-800); }
.compare-table tbody tr:not(.group-row):hover { background: color-mix(in srgb, var(--color-text) 3%, transparent); }
.compare-table .is-highlight { background: color-mix(in srgb, var(--color-accent) 6%, transparent); }
.compare-table thead .is-highlight { background: var(--color-accent); color: #fff; }
.compare-table thead .is-highlight small { color: #fff; }
.compare-table tbody th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; }
.compare-table thead th:first-child { left: 0; z-index: 2; }
.compare-table .group-row th { position: sticky; left: 0; }
.compare-hint { display: none; margin: 16px 0 0; font-size: 13px; color: var(--muted-70); }
@media (max-width: 991.98px) {
  .compare-hint { display: block; }
  .compare-table tbody th:first-child { min-width: 180px; box-shadow: 1px 0 0 var(--color-neutral-200); }
}
.cell-yes { display: inline-block; vertical-align: middle; stroke: var(--color-accent-2); }
.cell-no { color: var(--color-neutral-500, #9b9797); }
.cell-val { font-weight: 700; }

.activate-steps { counter-reset: none; }
.request-steps { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 16px; }
.request-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; }
.request-steps b { width: 36px; height: 36px; display: grid; place-items: center; font-weight: 800; background: var(--color-accent); color: #fff; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 28. Photography ---------- */
.photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-frame { position: relative; overflow: hidden; background: var(--color-surface); }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-21x9 { aspect-ratio: 21 / 9; }
.ratio-3x4 { aspect-ratio: 3 / 4; }

/* Home – audience photos */
.who-photo { aspect-ratio: 4 / 3; margin-bottom: 6px; }

/* Home – results banner */
.results-banner { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.results-banner .deco-block { position: absolute; left: -24px; bottom: -24px; width: 34%; height: 46%; background: var(--color-accent); }
.results-banner .photo-frame { position: relative; aspect-ratio: 21 / 9; }
.results-chip {
  position: absolute;
  right: clamp(16px, 4vw, 48px);
  bottom: clamp(16px, 4vw, 48px);
  min-width: 220px;
  padding: 18px 22px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.results-chip .hv-chip-label { color: var(--muted-70); }
.results-chip-row { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.results-chip-row strong { font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--color-accent); }

/* About – photo mosaic */
.about-mosaic { margin-top: clamp(48px, 6vw, 80px); }
.about-mosaic .photo-frame { height: 100%; }
.about-mosaic-side { position: relative; height: 100%; }
.about-mosaic-side .deco-block { position: absolute; right: -24px; top: -24px; width: 60%; height: 40%; background: var(--color-accent-2); }

/* Features – photo with overlapping list card */
.feature-media { position: relative; }
.feature-media .deco-back { inset: -18px -18px auto auto; width: 45%; height: 45%; }
.feature-photo { position: relative; width: 88%; margin-left: auto; aspect-ratio: 4 / 3; }
.feature-media .feature-list { width: min(100%, 76%); margin-top: -110px; font-size: 15px; gap: 14px; }
.flex-lg-row-reverse .feature-photo { margin-left: 0; margin-right: auto; }
.flex-lg-row-reverse .feature-media .feature-list { margin-left: auto; }
.flex-lg-row-reverse .feature-media .deco-back { inset: -18px auto auto -18px; }

/* Case studies – photo with overlapping stat card */
.case-media { position: relative; }
.case-media .deco-back { inset: -20px -20px auto auto; width: 45%; height: 45%; }
.case-photo { position: relative; aspect-ratio: 4 / 3; }
.case-media .case-stat { width: min(100%, 78%); margin-top: -90px; padding: clamp(24px, 3vw, 36px); }
.case-item.is-reverse .case-media .case-stat { margin-left: auto; }

/* Reviews – hero photo */
.rating-media { position: relative; }
.rating-media .photo-frame { aspect-ratio: 16 / 11; }
.rating-media .rating-box { width: min(100%, 86%); margin-top: -110px; }

/* Blog */
.featured-visual .featured-img { position: absolute; inset: 0; }
.featured-visual .featured-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 36, 70, 0.55) 0%, rgba(12, 36, 70, 0) 45%); }
.featured-visual.has-photo { min-height: 360px; }
.featured-visual.has-photo::after { z-index: 1; width: 22%; height: 30%; }
.post-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-thumb img { transition: transform .4s ease; }
.post-thumb:hover img, .post-card:hover .post-thumb img { transform: scale(1.04); }
.post-hero-photo { margin-bottom: clamp(40px, 5vw, 64px); }
.post-hero-photo .photo-frame { aspect-ratio: 21 / 9; }
.post-hero-photo figcaption { margin-top: 10px; font-size: 13px; color: var(--muted-70); }

/* Contact / Pricing / Download side photos */
.side-photo { position: relative; margin-top: 36px; }
.side-photo .deco-block { position: absolute; right: -18px; bottom: -18px; width: 40%; height: 40%; background: var(--color-accent-2); }
.side-photo .photo-frame { position: relative; }
.install-photo { position: relative; }
.install-photo .deco-block { position: absolute; left: -20px; top: -20px; width: 40%; height: 45%; background: var(--color-accent); }
.install-photo .photo-frame { position: relative; aspect-ratio: 16 / 10; }

/* ---------- 29. Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .about-mosaic .col-lg-4 .photo-frame { aspect-ratio: 16 / 10; }
}
@media (max-width: 575.98px) {
  .results-banner .photo-frame { aspect-ratio: 4 / 3; }
  .results-banner .deco-block { left: -12px; bottom: -12px; }
  .results-chip { min-width: 0; left: 16px; right: 16px; padding: 14px 16px; }
  .feature-photo { width: 100%; }
  .feature-media .feature-list { width: 92%; margin-top: -56px; }
  .feature-media .deco-back { inset: -12px -12px auto auto; }
  .flex-lg-row-reverse .feature-media .deco-back { inset: -12px auto auto -12px; }
  .case-media .case-stat { width: 92%; margin-top: -72px; }
  .case-media .deco-back { inset: -12px -12px auto auto; }
  .rating-media .rating-box { width: 94%; margin-top: -64px; }
  .about-mosaic-side .deco-block { right: -12px; top: -12px; }
  .side-photo .deco-block { right: -12px; bottom: -12px; }
  .install-photo .deco-block { left: -12px; top: -12px; }
}

/* ---------- 30. Responsive tweaks (base) ---------- */
@media (max-width: 991.98px) {
  .plan-featured-wrap { margin-top: 16px; }
}
@media (max-width: 575.98px) {
  .deco-back { inset: 16px -12px -16px 16px; }
  .deco-corner { right: -12px; top: -16px; }
  .pricing-controls .seg { width: 100%; }
  .pricing-controls .seg-opt { flex: 1 1 auto; justify-content: center; }
  .plan-featured-wrap .deco-back { inset: 12px -10px -12px 12px; }
}
@media (max-width: 575.98px) {
  .hero-visual { min-height: 500px; }
  .hv-card { left: 0; top: 20%; width: 82%; padding: 20px 18px 18px; }
  .score-ring { width: min(100%, 180px); }
  .hv-chip { padding: 12px 14px; }
  .hv-fixed { min-width: 0; }
  .hv-keywords { min-width: 0; right: 0; top: 56%; }
  .hv-cwv { min-width: 190px; }
  .hv-chip-value { font-size: 26px; }
  .ai-demo-bg { right: -12%; }
  .download-deco-back { inset: 16px -12px -16px 16px; }
  .download-deco-corner { right: -12px; top: -16px; }
  .btn-lg-site { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
