/* ==========================================================================
   Isolation Media — GEO / AEO agency
   Layout system mirrors the reference build: framed 1280px column with
   hairline rails, full-bleed section dividers, two-tone display headings.
   ========================================================================== */

@font-face {
  font-family: "Montreal";
  src: url("../fonts/Montreal-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #0b1e1a;
  --ink-2: #22312d;
  --muted: #6b7a74;
  --soft: #8a9792;
  --line: #e5eae8;
  --line-2: #eef2f0;
  --panel: #f4f6f5;
  --accent: #0e9f78;
  --accent-ink: #0b7f60;
  --accent-tint: #e5f5ee;
  --accent-bright: #2be4ac;
  --red: #e5484d;
  --amber: #e5a53b;

  --font: "Inter", "Inter Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --brand: "Montreal", "Inter", sans-serif;

  --maxw: 1280px;
  --gutter: 64px;
  --radius: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 1px 2px rgba(11, 30, 26, 0.04), 0 8px 24px -8px rgba(11, 30, 26, 0.12);
  --shadow-float: 0 2px 4px rgba(11, 30, 26, 0.04), 0 24px 48px -12px rgba(11, 30, 26, 0.22);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Frame ---------- */
.section { border-top: 1px solid var(--line); }
.frame {
  max-width: var(--maxw);
  margin: 0 auto;
  border-inline: 1px solid var(--line);
  position: relative;
}
.pad { padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-block;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 20px;
}
.display {
  font-size: clamp(36px, 5.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.display .dim, .h3 .dim { color: var(--muted); }
.h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.22;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.lead { color: var(--muted); font-size: 18px; line-height: 1.55; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.btn--dark:hover { background: #17342d; }
.btn--light { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11,30,26,.04); }
.btn--light:hover { border-color: #cdd6d2; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(2px); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500;
}
.text-link svg { transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: var(--maxw); margin: 0 auto; height: 64px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav { display: flex; gap: 32px; }
.nav a { font-size: 14px; font-weight: 450; color: var(--ink-2); transition: color .15s; }
.nav a:hover { color: var(--accent-ink); }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.header__actions .link { font-size: 14px; font-weight: 450; }
.header__actions .link:hover { color: var(--accent-ink); }

.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__mark { display: grid; gap: 2px; width: 10px; }
.brand__mark i { display: block; width: 10px; background: var(--ink); border-radius: 1.5px; }
.brand__mark i:first-child { height: 8px; background: var(--accent); }
.brand__mark i:last-child { height: 13px; }
.brand__word { font-family: var(--brand); font-weight: 500; font-size: 22px; letter-spacing: -0.03em; line-height: 1; }
.brand__word b { color: var(--accent); font-weight: 500; }

.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform .25s var(--ease), background .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 16px 20px;
  background: #fff;
}
.mobile-nav a:not(.btn) { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line-2); }
.mobile-nav .btn { margin-top: 16px; width: 100%; height: 46px; }
.menu-open .mobile-nav { display: block; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding-top: 96px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--ink-2);
  transition: border-color .2s;
}
.pill:hover { border-color: #cdd6d2; }
.pill__tag { background: var(--accent); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 13px; font-weight: 500; }
.pill svg { color: var(--soft); }
.hero h1 {
  margin: 24px auto 0;
  font-size: clamp(44px, 7.4vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 600;
  max-width: 900px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { max-width: 580px; margin: 26px auto 0; }
.hero__cta { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.hero__note { margin-top: 22px; font-size: 13px; color: var(--muted); }
.hero__note span { margin: 0 6px; }

.hero-visual {
  position: relative;
  margin-top: 64px;
  margin-inline: calc(-1 * var(--gutter));
  border-radius: var(--radius);
  overflow: hidden;
  background: #b8c5dc url("../img/hero-sky.webp") center / cover;
  height: 700px;
}
.hero-visual__scale { position: absolute; left: 50%; top: 118px; transform-origin: top center; transform: translateX(-50%) scale(var(--s, 1)); }

/* App window */
.app {
  width: 1012px; height: 640px;
  background: #fff;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 30px 60px -20px rgba(30, 40, 80, 0.35);
  overflow: hidden;
  text-align: left;
  font-size: 12.5px;
  display: flex; flex-direction: column;
}
.app__bar {
  height: 36px; background: #f3f4f5; border-bottom: 1px solid #e8eaec;
  display: flex; align-items: center; padding: 0 14px; position: relative;
}
.app__dots { display: flex; gap: 7px; }
.app__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcdfe3; }
.app__url { position: absolute; left: 50%; transform: translateX(-50%); color: #6a7178; font-size: 12px; }
.app__body { display: flex; flex: 1; min-height: 0; }
.app__side { width: 210px; border-right: 1px solid #eceef0; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.ws { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; font-weight: 500; font-size: 13px; }
.ws .brand__mark { transform: scale(.75); transform-origin: left center; width: 8px; }
.ws svg { margin-left: auto; color: #9aa1a8; }
.search { display: flex; align-items: center; gap: 6px; height: 28px; border: 1px solid #e8eaec; border-radius: 7px; padding: 0 8px; color: #8b9298; margin-bottom: 10px; }
.search kbd { margin-left: auto; font-family: inherit; font-size: 11px; }
.side-link { display: flex; align-items: center; gap: 9px; height: 29px; padding: 0 8px; border-radius: 7px; color: #5d656c; }
.side-link svg { width: 14px; height: 14px; color: #9aa1a8; }
.side-link.is-active { background: #f1f3f4; color: var(--ink); font-weight: 500; }
.side-link .count { margin-left: auto; font-size: 11px; color: #8b9298; }
.side-head { color: #8b9298; font-size: 12px; padding: 16px 8px 6px; }
.side-proj { display: flex; align-items: center; gap: 10px; height: 29px; padding: 0 8px; color: var(--ink-2); }
.side-proj i { width: 7px; height: 7px; border-radius: 2px; background: var(--c, var(--accent)); }

.app__main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.app__head { display: flex; align-items: center; gap: 10px; padding: 18px 22px 0; }
.app__head h4 { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.chip { font-size: 11.5px; border: 1px solid #e6e8ea; color: #6a7178; border-radius: 5px; padding: 1px 6px; background: #fafbfb; white-space: nowrap; }
.avatars { margin-left: auto; display: flex; }
.avatars i {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-left: -5px;
  display: grid; place-items: center; font-style: normal; font-size: 9px; font-weight: 600; color: #fff; background: var(--c, #444);
}
.btn-mini { height: 26px; padding: 0 10px; border: 1px solid #e6e8ea; border-radius: 7px; font-size: 12px; display: inline-flex; align-items: center; background: #fff; white-space: nowrap; }
.btn-mini--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs { display: flex; gap: 20px; padding: 14px 22px 0; border-bottom: 1px solid #eceef0; color: #6a7178; }
.tabs span { padding-bottom: 9px; }
.tabs span.is-active { color: var(--ink); font-weight: 500; box-shadow: inset 0 -2px 0 var(--accent); }

.gantt { position: relative; flex: 1; }
.gantt__months { display: grid; grid-template-columns: 186px repeat(3, 1fr); border-bottom: 1px solid #eceef0; height: 34px; color: #6a7178; }
.gantt__months span { border-left: 1px solid #eceef0; padding: 9px 12px; }
.gantt__months span:first-child { border: 0; }
.gantt__row { display: grid; grid-template-columns: 186px 1fr; height: 50.5px; border-bottom: 1px solid #eceef0; align-items: center; }
.gantt__row > span { padding-left: 22px; font-weight: 500; color: var(--ink-2); }
.gantt__track { position: relative; height: 100%; }
.bar {
  position: absolute; top: 12px; height: 26px; border-radius: 6px;
  display: flex; align-items: center; padding: 0 10px; font-size: 11.5px; white-space: nowrap;
  border: 1px solid #e3e6e8; background: #f4f5f6; color: #6a7178;
}
.bar--live { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 500; }
.bar--live.grow { transform-origin: left; animation: grow 1.4s var(--ease) both .3s; }
.bar--ghost { background: #fff; }
@keyframes grow { from { transform: scaleX(0.1); opacity: 0; } to { transform: none; opacity: 1; } }
.today { position: absolute; top: 0; bottom: 0; left: 64.4%; width: 1.5px; background: var(--accent); }
.today b { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-weight: 500; font-size: 11.5px; padding: 2px 7px; border-radius: 5px; }

.float-card {
  position: absolute; right: 40px; bottom: 40px; width: 320px;
  background: #fff; border-radius: 14px; padding: 16px; text-align: left;
  box-shadow: var(--shadow-float);
  font-size: 12.5px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card__head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.float-card__head svg { color: var(--accent); }
.float-card__head time { margin-left: auto; color: #8b9298; font-weight: 400; font-size: 12px; }
.float-card p { color: #5d656c; margin: 10px 0 12px; line-height: 1.5; }
.float-card p b { color: var(--ink); font-weight: 500; }
.float-card__actions { display: flex; gap: 8px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Marquee ---------- */
.trust { padding: 72px 0 88px; text-align: center; }
.trust p { color: var(--muted); font-size: 14px; }
.marquee {
  margin-top: 28px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 36px;
  font-size: 21px; font-weight: 500; letter-spacing: -0.03em; color: #3a4642; white-space: nowrap;
}
.marquee__item svg { width: 20px; height: 20px; color: #3a4642; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- How it works ---------- */
.how-intro { padding-block: 128px 96px; }
.how-intro .display { max-width: 1010px; }
.how { display: grid; grid-template-columns: 300px 1fr; border-top: 1px solid var(--line); }
.how__nav { border-right: 1px solid var(--line); }
.how__nav ul { position: sticky; top: 128px; padding: 64px 0 64px 40px; }
.how__nav a {
  display: block; padding: 7px 0 7px 16px; border-left: 2px solid var(--line);
  color: #97a39e; font-size: 17px; letter-spacing: -0.02em; transition: color .2s, border-color .2s;
}
.how__nav a:hover { color: var(--ink-2); }
.how__nav a.is-active { color: var(--ink); border-color: var(--accent); }
.how__content { padding: 64px var(--gutter) 80px; display: grid; gap: 120px; }
.feature .h3 { max-width: 690px; }
.feature__visual {
  margin-top: 80px; border-radius: 20px; padding: 48px;
  background: var(--panel);
  overflow: hidden;
}
.feature__visual--sand { background: #d8d4cd url("../img/texture-sand.webp") center / cover; }
.feature__visual--clouds { background: #a9c4dc url("../img/texture-clouds.webp") center / cover; }
.feature__icon { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-ink); font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.feature__icon span { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-tint); display: grid; place-items: center; }

/* mock: shared */
.report.mock { overflow: visible; }
.mock { background: #fff; border-radius: 14px; box-shadow: var(--shadow-card); font-size: 12.5px; overflow: hidden; }
.mock__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #eceef0; font-weight: 500; font-size: 13px; }
.mock__head svg { color: #6a7178; }
.seg { margin-left: auto; display: flex; gap: 6px; }
.seg span { border: 1px solid #e6e8ea; border-radius: 999px; padding: 2px 10px; font-size: 11.5px; color: #6a7178; font-weight: 400; }
.seg span.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.qrow { display: grid; grid-template-columns: 40px 1fr auto 110px; gap: 16px; align-items: center; padding: 12px 18px; border-bottom: 1px solid #eceef0; }
.qrow:last-child { border-bottom: 0; }
.vote { width: 40px; height: 40px; border: 1px solid #e6e8ea; border-radius: 8px; display: grid; place-items: center; font-size: 11px; line-height: 1; text-align: center; color: var(--ink-2); font-weight: 500; }
.vote small { display: block; font-size: 9px; color: #8b9298; font-weight: 400; margin-top: 2px; }
.qrow b { display: block; font-weight: 500; color: var(--ink); }
.qrow em { font-style: normal; color: #7b848b; font-size: 11.5px; }
.tag { font-size: 11.5px; background: #f1f3f4; color: #6a7178; border-radius: 5px; padding: 2px 7px; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, #c9ced2); }
.status--owned { --c: var(--accent); }
.status--contested { --c: var(--amber); }
.status--gap { --c: var(--red); }
.status--new { --c: var(--ink); }

/* mock: board */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: rgba(255,255,255,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 10px; border-radius: 14px; }
.col { background: #f3f4f5; border-radius: 10px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.col__head { padding: 4px 4px 6px; font-weight: 500; }
.col__head span { color: #8b9298; font-weight: 400; margin-left: 6px; }
.card { background: #fff; border-radius: 8px; padding: 11px 12px; border: 1px solid #eceef0; }
.card b { display: block; font-weight: 500; margin-bottom: 10px; color: var(--ink); }
.card__meta { display: flex; align-items: center; gap: 7px; color: #6a7178; font-size: 11.5px; }
.card__meta i { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 9px; font-style: normal; display: grid; place-items: center; font-weight: 600; }
.card__meta time { margin-left: auto; }
.progress { height: 3px; background: #eceef0; border-radius: 3px; margin-top: 10px; overflow: hidden; }
.progress i { display: block; height: 100%; width: var(--w, 0%); background: var(--accent); border-radius: 3px; }

/* mock: list + cards */
.lrow { display: grid; grid-template-columns: 18px 1fr auto 96px 34px; gap: 14px; align-items: center; padding: 13px 18px; border-bottom: 1px solid #eceef0; }
.lrow:last-child { border-bottom: 0; }
.lrow .ring { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #c9ced2; }
.lrow .ring.done { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 35%, transparent 40%); }
.lrow span:nth-child(2) { color: var(--ink); font-weight: 450; }
.lrow.is-done span:nth-child(2) { color: #8b9298; }
.lrow time { color: #8b9298; text-align: right; font-size: 11.5px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.duo .mock { padding: 16px; }
.duo h5 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.duo p { color: #6a7178; margin: 8px 0 12px; line-height: 1.5; }
.big-num { font-size: 52px; line-height: 1; letter-spacing: -0.05em; font-weight: 500; margin: 12px 0 14px; }
.duo .progress { height: 5px; margin: 0 0 10px; }

/* mock: report */
.report { max-width: 520px; margin: 0 auto; position: relative; padding: 22px 24px; }
.report__badge {
  position: absolute; top: -14px; right: -60px;
  display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 500; border-radius: 10px; padding: 9px 14px; box-shadow: var(--shadow-float);
}
.report__meta { display: flex; gap: 10px; align-items: center; color: #6a7178; font-size: 12px; }
.report h5 { margin: 14px 0 16px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.report dl { margin: 0; display: grid; gap: 4px; }
.report dt { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 500; margin-top: 10px; }
.report dt::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c, var(--ink)); }
.report dd { margin: 4px 0 0; color: #6a7178; font-size: 13.5px; }
.report dd::before { content: "–  "; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 48px 40px 52px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { font-size: clamp(40px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.05em; font-weight: 500; font-variant-numeric: tabular-nums; }
.stat p { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 240px; }

/* ---------- Split (shift) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__copy { padding: 88px var(--gutter); }
.split__copy .h3 { margin-bottom: 40px; }
.points { display: grid; gap: 22px; }
.point { display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
.point__icon { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); }
.point b { display: block; font-size: 14px; font-weight: 500; }
.point p { color: var(--muted); font-size: 15px; line-height: 1.55; margin-top: 3px; }
.split__visual {
  background: #e9f3f0 url("../img/gradient-spectrum.webp") center / cover;
  display: flex; align-items: center; justify-content: center; padding: 48px 40px;
  margin: 16px 0 16px 0;
}
.answer { width: 100%; max-width: 440px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-float); padding: 18px; font-size: 13px; }
.answer__engines { display: flex; gap: 6px; margin-bottom: 14px; }
.answer__engines button { height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: #5d656c; transition: all .2s; }
.answer__engines button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.answer__head { display: flex; align-items: center; gap: 8px; color: #6a7178; font-size: 12px; margin-bottom: 12px; }
.answer__head .live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(14,159,120,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(14,159,120,0); } 100% { box-shadow: 0 0 0 0 rgba(14,159,120,0); } }
.answer__q { background: var(--panel); border-radius: 10px; padding: 10px 12px; font-weight: 500; color: var(--ink); }
.answer__a { margin: 12px 0 14px; color: #4e5a56; line-height: 1.6; min-height: 84px; }
.answer__a mark { background: linear-gradient(transparent 62%, rgba(43,228,172,.45) 62%); color: var(--ink); font-weight: 600; padding: 0 1px; }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--accent); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.answer__src { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.answer__src span { font-size: 11.5px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: #5d656c; }
.answer__src span.on { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-tint); }
.answer__foot { display: flex; gap: 6px; margin-top: 12px; }
.answer__foot span { font-size: 11.5px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; color: #5d656c; }

/* ---------- Results ---------- */
.block { padding-block: 128px; }
.block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 64px; }
.block__head .display { max-width: 760px; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { border: 1px solid var(--line); border-radius: 18px; padding: 11px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.case:hover { border-color: #d3dcd8; box-shadow: var(--shadow-card); transform: translateY(-2px); }
.case__img {
  height: 220px; border-radius: 10px; background-position: center; background-size: cover; background-color: var(--panel); position: relative;
  display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden;
}
.case__q {
  background: rgba(255,255,255,.92); border-radius: 12px; padding: 12px 14px; font-size: 13px; box-shadow: var(--shadow-card);
  max-width: 260px; transition: transform .4s var(--ease);
}
.case:hover .case__q { transform: translateY(-4px) scale(1.02); }
.case__q small { display: flex; align-items: center; gap: 6px; color: #6a7178; font-size: 11px; margin-bottom: 6px; }
.case__q small i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.case__q b { font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.case__body { padding: 16px 8px 8px; display: flex; flex-direction: column; flex: 1; }
.case__meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.case__meta span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 450; }
.case__meta span:last-child { color: var(--muted); }
.case h3 { margin-top: 14px; font-size: 19px; line-height: 1.3; letter-spacing: -0.025em; font-weight: 450; }
.case__stat { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; }
.case h3 { margin-bottom: 18px; }
.case__stat b { white-space: nowrap; color: var(--accent-ink); font-size: 20px; font-weight: 500; letter-spacing: -0.03em; }
.case__stat span { color: var(--muted); font-size: 13px; }

/* ---------- Quote ---------- */
.quote { padding: 120px var(--gutter); text-align: center; }
.quote__mark { color: var(--accent); width: 30px; margin: 0 auto 32px; }
.quote blockquote { margin: 0 auto; max-width: 820px; font-size: clamp(28px, 3.9vw, 50px); line-height: 1.1; letter-spacing: -0.045em; font-weight: 500; min-height: 3.3em; }
.quote__who { margin-top: 36px; font-size: 14px; display: flex; justify-content: center; gap: 8px; color: var(--muted); }
.quote__who b { color: var(--ink); font-weight: 500; }
.quote__switch { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.quote__switch button {
  height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted);
  transition: all .2s;
}
.quote__switch button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.fade-swap { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.fade-swap.out { opacity: 0; transform: translateY(6px); }

/* ---------- Process (plans layout) ---------- */
.center-head { text-align: center; margin-bottom: 56px; }
.center-head .display { max-width: 760px; margin: 0 auto; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .3s var(--ease); }
.plan:hover { border-color: #d3dcd8; box-shadow: var(--shadow-card); }
.plan.is-featured { border-color: #cfe9df; box-shadow: 0 0 0 4px var(--accent-tint); }
.plan__top { display: flex; justify-content: space-between; align-items: center; }
.plan__top h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.badge { background: var(--accent); color: #fff; font-size: 12px; font-weight: 500; border-radius: 999px; padding: 3px 9px; }
.plan > p { margin-top: 18px; color: var(--muted); font-size: 15px; min-height: 70px; }
.plan__big { margin: 22px 0 22px; display: flex; flex-direction: column; gap: 6px; }
.plan__big b { font-size: 44px; line-height: 1; letter-spacing: -0.05em; font-weight: 500; }
.plan__big span { color: var(--muted); font-size: 12.5px; }
.plan ul { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.plan li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.plan li svg { color: var(--accent); margin-top: 2px; }

/* ---------- Promises (stat-row style) ---------- */
.promise__num { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.05; letter-spacing: -0.045em; font-weight: 500; }
.promise h3 { margin-top: 18px; font-size: 15px; font-weight: 500; }
.promise p { margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 340px 1fr; gap: 64px; }
.faq__intro .display { font-size: clamp(36px, 4.4vw, 52px); }
.faq__intro p { margin: 26px 0 28px; color: var(--muted); font-size: 15px; max-width: 320px; }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; text-align: left; font-size: 19px; letter-spacing: -0.025em; font-weight: 450;
}
.acc__icon {
  flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: transform .35s var(--ease), background .2s, border-color .2s;
}
.acc__btn:hover .acc__icon { border-color: #cdd6d2; }
.acc__item.is-open .acc__icon { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { color: var(--muted); font-size: 16px; line-height: 1.6; padding: 0 60px 26px 0; }

/* ---------- Insights (changelog) ---------- */
.posts { border-top: 1px solid var(--line); }
.post { display: grid; grid-template-columns: 228px 1fr 240px; gap: 0 40px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start; }
.post__date { font-size: 14px; color: var(--ink-2); }
.post__date span { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.post__cat { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--accent-ink); font-weight: 500; }
.post__cat::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.post h3 { margin-top: 8px; font-size: 21px; letter-spacing: -0.025em; font-weight: 500; transition: color .2s; }
.post p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 540px; }
.post__thumb { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__thumb img { transform: scale(1.05); }
.post:hover h3 { color: var(--accent-ink); }

/* ---------- CTA ---------- */
.cta-wrap { padding: 72px 48px 0; }
.cta {
  border-radius: 26px; overflow: hidden; text-align: center; padding: 120px 32px 112px;
  background: #7fa0c0 url("../img/cta-gradient.webp") center / cover;
  position: relative; margin-bottom: -1px;
}
.cta h2 { font-size: clamp(44px, 6.6vw, 80px); line-height: 1; letter-spacing: -0.055em; font-weight: 600; }
.cta p { max-width: 500px; margin: 26px auto 34px; font-size: 18px; font-weight: 450; color: #1d2b33; }
.cta .hero__cta { margin-top: 0; }

/* ---------- Footer ---------- */
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-block: 80px 64px; }
.footer__about p { margin: 22px 0 22px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 300px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.footer h4 { font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.footer__col a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 14px; transition: color .15s; }
.footer__col a:hover { color: var(--ink); }
.wordmark {
  font-family: var(--brand); font-weight: 500;
  font-size: clamp(64px, 18.5vw, 262px); line-height: .82; letter-spacing: -0.06em; text-align: center;
  background: linear-gradient(180deg, #fbfcfc 0%, #eaefed 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 28px; user-select: none; white-space: nowrap;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Modal ---------- */
.modal { border: 0; padding: 0; border-radius: 22px; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-shadow: var(--shadow-float); color: var(--ink); }
.modal::backdrop { background: rgba(11, 30, 26, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__inner { padding: 32px; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.modal h2 { font-size: 30px; letter-spacing: -0.04em; font-weight: 500; line-height: 1.1; padding-right: 32px; }
.modal__lede { color: var(--muted); font-size: 15px; margin: 12px 0 24px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; }
.field input, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form__foot small { color: var(--muted); font-size: 12.5px; }
.form__done { display: none; text-align: center; padding: 24px 0 8px; }
.form__done .tick { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin: 0 auto 16px; }
.modal.is-sent .form, .modal.is-sent .modal__lede { display: none; }
.modal.is-sent .form__done { display: block; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  :root { --gutter: 40px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .report__badge { right: -12px; }
  .post { grid-template-columns: 160px 1fr 200px; }
}

@media (max-width: 960px) {
  .nav, .header__actions .link, .header__actions .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .header__inner { grid-template-columns: 1fr auto; padding-inline: 20px; }

  .how { grid-template-columns: 1fr; }
  .how__nav { display: none; }
  .how-intro { padding-block: 96px 64px; }
  .how__content { gap: 88px; padding-top: 56px; }
  .feature__visual { margin-top: 40px; padding: 28px; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .split { grid-template-columns: 1fr; }
  .split__visual { margin: 0; }

  .cases { grid-template-columns: 1fr; max-width: 520px; }
  .block__head { flex-direction: column; align-items: flex-start; }

  .faq { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .post { grid-template-columns: 1fr 180px; }
  .post__date { grid-column: 1 / -1; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
  .post__date span { margin-top: 0; }
}

@media (max-width: 640px) {
  .hide-sm { display: none; }
  .hero-visual { margin-inline: 0; }
  :root { --gutter: 16px; --radius: 18px; }
  .frame { border-inline: 0; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: 44px; }
  .hero .lead { font-size: 16.5px; }
  .hero__cta { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
  .hero__cta .btn { height: 46px; }
  .hero-visual { margin-top: 44px; height: var(--hv-h, 420px); border-radius: 18px; }
  .hero-visual__scale { top: 28px; }
  .float-card { right: 12px; left: 12px; bottom: 14px; width: auto; }

  .trust { padding: 52px 0 60px; }
  .marquee__item { font-size: 18px; padding: 0 22px; }

  .block { padding-block: 88px; }
  .how-intro { padding-block: 80px 48px; }
  .feature__visual { padding: 14px; border-radius: 16px; }
  .qrow { grid-template-columns: 40px 1fr; gap: 12px; padding: 12px; }
  .qrow .tag { display: none; }
  .qrow .status { grid-column: 2; }
  .seg span:not(.is-active) { display: none; }
  .board { grid-template-columns: 1fr; }
  .col:nth-child(n+2) .card:nth-child(n+3) { display: none; }
  .lrow { grid-template-columns: 16px 1fr auto; padding: 12px; }
  .lrow .tag, .lrow time { display: none; }
  .duo { grid-template-columns: 1fr; }
  .report { padding: 18px; }
  .report__badge { position: static; margin-bottom: 14px; }

  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; padding: 32px var(--gutter) 36px; }
  .stat:nth-child(n+2) { border-top: 1px solid var(--line); }
  .split__copy { padding: 72px var(--gutter); }
  .split__visual { padding: 28px 16px; }

  .plans { grid-template-columns: 1fr; }
  .plan > p { min-height: 0; }
  .quote { padding: 88px var(--gutter); }
  .quote__switch { flex-wrap: wrap; }

  .acc__btn { font-size: 17px; padding: 20px 0; }
  .acc__panel p { padding-right: 0; font-size: 15px; }

  .post { grid-template-columns: 1fr; }
  .post__thumb { margin-top: 18px; }

  .cta-wrap { padding: 48px 0 0; }
  .cta { border-radius: 0; padding: 88px 20px 84px; }
  .cta .hero__cta .btn { height: 46px; }
  .footer__top { grid-template-columns: 1fr 1fr; padding-block: 56px 40px; }
  .footer__bottom { flex-direction: column; }

  .form { grid-template-columns: 1fr; }
  .modal__inner { padding: 24px 20px; }
  .form__foot { flex-direction: column-reverse; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Sub-pages: Insights, articles, Results
   Same frame, rails, type scale and palette as the homepage.
   ========================================================================== */

.nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 1.5px; background: var(--accent); margin-top: 3px; border-radius: 2px; }
.mobile-nav a[aria-current="page"] { color: var(--accent-ink); }

/* Page hero (left aligned, mirrors section intros) */
.page-hero { padding-block: 112px 88px; }
.page-hero h1 {
  font-size: clamp(44px, 6.6vw, 76px); line-height: 1; letter-spacing: -0.055em; font-weight: 600; max-width: 980px;
}
.page-hero h1 .dim { color: var(--muted); font-weight: 500; }
.page-hero .lead { max-width: 620px; margin-top: 28px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: var(--ink-2); }
.page-hero__meta span i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.page-hero .hero__cta { justify-content: flex-start; }

.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-2); transition: color .15s; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs svg { color: var(--soft); }

/* Featured article */
.featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; }
.featured__img { margin: 16px 0 16px 16px; border-radius: 18px; overflow: hidden; min-height: 380px; background: var(--panel) center / cover; position: relative; }
.featured__img .float-card { animation: none; left: 32px; right: auto; bottom: 32px; width: 300px; }
.featured__copy { padding: 72px var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.featured__copy .post__cat { margin-bottom: 14px; }
.featured__copy h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; letter-spacing: -0.04em; font-weight: 500; }
.featured__copy p { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.featured__meta { display: flex; gap: 14px; margin: 24px 0 28px; font-size: 13px; color: var(--muted); }
.featured__copy .btn { align-self: flex-start; }
.featured:hover h2 { color: var(--accent-ink); }
.featured h2 { transition: color .2s; }

/* Filter bar */
.filters { position: sticky; top: 64px; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.filters__inner { display: flex; align-items: center; gap: 8px; padding-block: 14px; overflow-x: auto; scrollbar-width: none; }
.filters__inner::-webkit-scrollbar { display: none; }
.filters button {
  flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 7px; transition: all .2s var(--ease);
}
.filters button span { color: var(--soft); font-size: 12px; }
.filters button:hover { border-color: #cdd6d2; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters button[aria-pressed="true"] span { color: rgba(255,255,255,.6); }
.filters__count { margin-left: auto; flex: none; font-size: 13px; color: var(--muted); padding-left: 16px; }
.list-block { padding-block: 24px 112px; }
.post[hidden] { display: none; }
.empty { padding: 48px 0; color: var(--muted); }

/* Article page */
.article-hero { padding-block: 96px 56px; }
.article-hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.03; letter-spacing: -0.05em; font-weight: 600; max-width: 960px; }
.article-hero .lead { max-width: 680px; margin-top: 24px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-size: 14px; flex-wrap: wrap; }
.byline__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.byline__avatar .brand__mark { transform: scale(.8); }
.byline__avatar .brand__mark i:last-child { background: #fff; }
.byline b { font-weight: 500; display: block; }
.byline small { color: var(--muted); font-size: 13px; }
.byline .sep { width: 1px; height: 28px; background: var(--line); }
.byline .meta { color: var(--muted); }
.article-cover { height: clamp(220px, 34vw, 460px); border-radius: var(--radius); background: var(--panel) center / cover; margin-inline: calc(-1 * var(--gutter)); position: relative; overflow: hidden; }
.article-cover .float-card { animation: none; }

.how__nav .rail-label { padding: 0 0 14px 18px; font-size: 13px; color: var(--muted); }
.how__nav ul.rail { padding-top: 0; }
.how__nav .rail-wrap { position: sticky; top: 128px; padding: 64px 32px 64px 40px; }
.how__nav .rail-wrap ul { position: static; padding: 0; }
.how__nav .rail-wrap a { font-size: 15px; line-height: 1.35; padding-block: 8px; }
.rail-cta { margin-top: 32px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.rail-cta b { display: block; font-size: 14px; font-weight: 500; }
.rail-cta p { color: var(--muted); font-size: 13px; margin: 6px 0 14px; line-height: 1.5; }

.prose { max-width: 700px; font-size: 18px; line-height: 1.72; color: #2c3a36; letter-spacing: -0.008em; }
.prose > * + * { margin-top: 22px; }
.prose > p:first-child { font-size: 21px; line-height: 1.6; color: var(--ink); letter-spacing: -0.015em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.035em; font-weight: 500; color: var(--ink); margin-top: 64px; scroll-margin-top: 96px; }
.prose h2 + p { margin-top: 16px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { display: grid; gap: 14px; }
.prose li { position: relative; padding-left: 28px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.prose blockquote {
  margin: 44px 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--accent);
  font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; letter-spacing: -0.035em; color: var(--ink); font-weight: 500;
}

.chat-cta {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: center;
  margin-top: 64px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; max-width: 700px;
  transition: border-color .2s, box-shadow .3s var(--ease);
}
.chat-cta:hover { border-color: #cfe9df; box-shadow: 0 0 0 4px var(--accent-tint); }
.chat-cta__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-tint); display: grid; place-items: center; position: relative; }
.chat-cta__avatar::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }
.chat-cta b { display: block; font-weight: 500; font-size: 16px; letter-spacing: -0.02em; }


.article-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 700px; flex-wrap: wrap; }
.article-foot__share { display: flex; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: #cdd6d2; color: var(--accent-ink); }
.copied { font-size: 13px; color: var(--accent-ink); align-self: center; opacity: 0; transition: opacity .2s; }
.copied.show { opacity: 1; }

.pager { display: grid; grid-template-columns: 1fr 1fr; }
.pager a { padding: 40px var(--gutter); display: block; transition: background .2s; }
.pager a + a { border-left: 1px solid var(--line); text-align: right; }
.pager a:hover { background: #fbfcfc; }
.pager small { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.pager a + a small { justify-content: flex-end; }
.pager b { display: block; margin-top: 10px; font-size: 19px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.3; transition: color .2s; }
.pager a:hover b { color: var(--accent-ink); }

/* Article cards (related) */
.acards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.acard { border: 1px solid var(--line); border-radius: 18px; padding: 11px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.acard:hover { border-color: #d3dcd8; box-shadow: var(--shadow-card); transform: translateY(-2px); }
.acard__img { aspect-ratio: 16 / 9; border-radius: 10px; background: var(--panel) center / cover; }
.acard__body { padding: 16px 8px 8px; display: flex; flex-direction: column; flex: 1; }
.acard h3 { margin-top: 10px; font-size: 19px; line-height: 1.3; letter-spacing: -0.025em; font-weight: 450; }
.acard__meta { margin-top: auto; padding-top: 18px; display: flex; gap: 12px; font-size: 13px; color: var(--muted); }

/* Results: case detail */
.case-detail .feature__visual { display: grid; place-items: center; }
.brief { max-width: 560px; width: 100%; padding: 22px 24px; }
.brief__q { background: var(--panel); border-radius: 12px; padding: 14px 16px; }
.brief__q small { display: flex; align-items: center; gap: 6px; color: #6a7178; font-size: 11.5px; margin-bottom: 6px; }
.brief__q small i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.brief__q b { font-size: 18px; font-weight: 500; letter-spacing: -0.025em; }
.brief dl { margin: 18px 0 0; display: grid; grid-template-columns: 120px 1fr; gap: 12px 16px; font-size: 13px; }
.brief dt { color: #8b9298; }
.brief dd { margin: 0; color: var(--ink-2); }
.brief__built { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eceef0; display: grid; gap: 9px; }
.brief__built li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; font-size: 13px; color: var(--ink-2); }
.brief__built svg { color: var(--accent); margin-top: 2px; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }
.story h4 { font-size: 14px; font-weight: 500; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.story h4::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--accent)); }
.story p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; margin-top: 40px; overflow: hidden; }
.facts div { padding: 24px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts b { display: block; font-size: 32px; line-height: 1; letter-spacing: -0.045em; font-weight: 500; }
.facts span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
.roi { display: flex; gap: 16px; align-items: flex-start; margin-top: 16px; padding: 18px 20px; background: var(--panel); border-radius: 14px; font-size: 14px; color: var(--muted); }
.roi b { color: var(--ink); font-weight: 500; display: block; margin-bottom: 2px; }
.roi svg { flex: none; color: var(--accent-ink); margin-top: 2px; }
.case-quote { margin-top: 40px; padding-left: 28px; border-left: 2px solid var(--accent); }
.case-quote p { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; letter-spacing: -0.035em; font-weight: 500; }
.case-quote footer { margin-top: 16px; font-size: 14px; color: var(--muted); }
.case-quote footer b { color: var(--ink); font-weight: 500; }
.rail-sub { display: block; font-size: 12.5px; color: var(--soft); margin-top: 2px; letter-spacing: 0; }

a.case { color: inherit; }
.case__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 500; color: var(--accent-ink); }

@media (max-width: 960px) {
  .featured { grid-template-columns: 1fr; }
  .featured__img { margin: 16px 16px 0; min-height: 300px; }
  .featured__copy { padding: 40px var(--gutter) 56px; }
  .acards { grid-template-columns: 1fr; max-width: 520px; }
  .story { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { padding-block: 88px 64px; }
}
@media (max-width: 640px) {
  .page-hero { padding-block: 64px 48px; }
  .page-hero h1 { font-size: 42px; }
  .article-hero { padding-block: 56px 36px; }
  .article-hero h1 { font-size: 36px; }
  .article-cover { margin-inline: 0; border-radius: 16px; }
  .featured__img { min-height: 240px; }
  .featured__img .float-card { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .filters { top: 64px; }
  .filters__count { display: none; }
  .prose { font-size: 17px; }
  .prose > p:first-child { font-size: 19px; }
  .prose h2 { margin-top: 48px; }
  .chat-cta { grid-template-columns: 40px 1fr; }
  .chat-cta__avatar { width: 40px; height: 40px; }
  .chat-cta .btn { grid-column: 1 / -1; }
  .pager { grid-template-columns: 1fr; }
  .pager a + a { border-left: 0; border-top: 1px solid var(--line); text-align: left; }
  .pager a + a small { justify-content: flex-start; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .brief dl { grid-template-columns: 1fr; gap: 2px; }
  .brief dd { margin-bottom: 10px; }
  .list-block { padding-bottom: 72px; }
}
.chat-cta__text b { color: var(--ink); }
.chat-cta__text small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.float-card__list { margin: 10px 0 2px; display: grid; gap: 7px; }
.float-card__list li { display: grid; grid-template-columns: 14px 1fr; gap: 6px; color: #5d656c; line-height: 1.4; }
.float-card__list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-top: 6px; }

/* Audit form: spam honeypot (off-screen, not display:none), error and sending states */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__error {
  grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 10px;
  background: #fdeeee; color: #8a1f22; font-size: 14px; line-height: 1.5;
}
.form__error a { color: inherit; font-weight: 600; text-decoration: underline; }
.form__error[hidden] { display: none; }
.btn:disabled { opacity: .65; cursor: progress; }
