/* ==========================================================================
   Kahvor company site — design system
   Warm, calm, premium. Evolves the established Kahvor identity:
   paper surfaces, ink typography, blue/violet/orange/green accents.
   ========================================================================== */

:root {
  /* Color tokens */
  --ink: #14171d;
  --ink-soft: #2a2f38;
  --muted: #5d6470;
  --muted-strong: #4a515c;
  --line: #dfe3e8;
  --line-soft: #e7eaef;
  --paper: #f6f7f9;
  --white: #fff;
  --surface: rgba(255, 255, 255, .6);
  --blue: #165cde;
  --blue-ink: #12439f;
  --blue-soft: #e9f0ff;
  --violet: #6d58db;
  --orange: #ee7441;
  --green: #167858;
  --green-soft: #e4f2ec;
  --amber: #915a12;
  --amber-soft: #fdf1de;
  --neutral-badge: #eceef2;
  --dark: #14181f;
  --dark-line: #343a43;
  --dark-muted: #b6bfcb;

  /* Type scale */
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lede: 19px;
  --h1: clamp(44px, 6.4vw, 74px);
  --h1-page: clamp(40px, 5.6vw, 62px);
  --h2: clamp(32px, 4.2vw, 50px);
  --h3: 21px;

  /* Space, radius, shadow, motion */
  --space-section: clamp(76px, 10vw, 112px);
  --content: 1240px;
  --gutter: 40px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 24px 70px rgba(19, 27, 44, .13);
  --shadow-soft: 0 13px 40px rgba(25, 32, 45, .06);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; }

.wrap { width: min(var(--content), calc(100% - var(--gutter))); margin: 0 auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 60;
  padding: 10px 16px; background: var(--ink); color: #fff;
  border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 700;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */
.site-header { position: relative; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner {
  width: min(var(--content), calc(100% - var(--gutter)));
  height: 78px; margin: 0 auto;
  display: flex; align-items: center; gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.045em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav > .nav-item,
.site-nav .nav-item > button {
  border: 0; background: transparent;
  font-size: var(--text-sm); font-weight: 650; color: var(--muted-strong);
  padding: 9px 12px; border-radius: var(--radius-sm);
}
.site-nav > a.nav-item:hover, .site-nav .nav-item > button:hover { color: var(--ink); background: rgba(20, 23, 29, .05); }
.site-nav > a.nav-item[aria-current="page"] { color: var(--ink); }
.nav-item.has-menu { position: relative; display: inline-flex; }
.nav-item.has-menu .caret {
  display: inline-block; width: 7px; height: 7px; margin-left: 7px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 320px;
  padding: 8px; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  display: none;
}
.nav-item.open .nav-menu { display: block; }
.nav-menu a { display: block; padding: 11px 12px; border-radius: 9px; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--paper); }
.menu-item-main { display: flex; align-items: center; gap: 8px; font-size: var(--text-sm); }
.menu-status {
  font-style: normal; font-size: 10px; font-weight: 750; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); background: var(--neutral-badge);
  padding: 2px 7px; border-radius: 99px;
}
.menu-item-note { display: block; margin-top: 3px; color: var(--muted); font-size: var(--text-xs); }

.header-actions { display: flex; gap: 9px; }
.menu-button {
  display: none; align-items: center; gap: 8px;
  min-height: 41px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--white);
  font-size: var(--text-sm); font-weight: 700;
}
.menu-icon { display: inline-block; width: 15px; height: 2px; background: var(--ink); position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 15px; height: 2px; background: var(--ink); }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }

.mobile-nav {
  border-top: 1px solid var(--line); background: var(--white);
  padding: 18px max(20px, calc((100vw - var(--content)) / 2)) 26px;
}
.mobile-nav[hidden] { display: none; }
.mobile-group { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-group p { margin: 4px 0 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.mobile-group a { display: block; padding: 10px 0; font-size: 16px; font-weight: 650; }
.mobile-group a em { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 6px; }
.mobile-actions { display: grid; gap: 9px; padding-top: 18px; }

/* --------------------------------------------------------------------------
   Buttons, badges, eyebrows
   -------------------------------------------------------------------------- */
.button {
  min-height: 43px; padding: 0 17px;
  border: 1px solid var(--line); border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: var(--text-sm); font-weight: 750;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20, 25, 35, .11); }
.button.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.button.secondary, .button.ghost { background: rgba(255, 255, 255, .72); }
.button.light-button { background: #fff; border-color: #fff; color: var(--ink); }
.text-link { color: var(--blue); font-weight: 700; font-size: var(--text-sm); }
.text-link:hover { text-decoration: underline; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 760; letter-spacing: .02em;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: currentColor; }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-blue { background: var(--blue-soft); color: var(--blue-ink); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-neutral { background: var(--neutral-badge); color: var(--muted-strong); }

.eyebrow {
  margin: 0 0 19px; display: flex; align-items: center; gap: 9px;
  color: var(--muted-strong); font-size: var(--text-xs); font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 2px; background: var(--orange); flex: none; }
.eyebrow.light { color: #b9c2cf; }

/* --------------------------------------------------------------------------
   Sections and shared layout
   -------------------------------------------------------------------------- */
main { overflow: clip; }
.section { width: min(var(--content), calc(100% - var(--gutter))); margin: 0 auto; padding: var(--space-section) 0; }
.section.tight { padding-top: 0; }
.section-intro { max-width: 880px; margin-bottom: 46px; }
.section-intro h2 { margin: 0; font-size: var(--h2); line-height: 1.02; letter-spacing: -.055em; }
.section-intro .lede { margin: 20px 0 0; }
.lede { color: var(--muted); font-size: var(--text-lede); line-height: 1.62; max-width: 640px; }
.center { display: flex; justify-content: center; gap: 11px; flex-wrap: wrap; margin-top: 30px; }

/* Reveal-on-scroll: the hidden state is applied by JS (progressive enhancement),
   so content is always visible without JavaScript and in printed/archived copies. */
.reveal-init { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal-init.revealed { opacity: 1; transform: none; }

/* Page hero (interior pages) */
.page-hero { width: min(var(--content), calc(100% - var(--gutter))); margin: 0 auto; padding: clamp(56px, 8vw, 92px) 0 clamp(30px, 5vw, 54px); }
.page-hero .badge { margin-bottom: 18px; }
.page-hero h1 { margin: 0; font-size: var(--h1-page); line-height: .98; letter-spacing: -.065em; max-width: 860px; }
.page-hero .lede { margin: 24px 0 0; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 30px; }
.trust-line { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted-strong); font-size: var(--text-xs); font-weight: 650; }
.trust-line span::before { content: "✓"; margin-right: 7px; color: var(--green); }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 13px; max-width: 560px; line-height: 1.55; }
.hero-note a { color: var(--blue); font-weight: 650; }

/* Home hero */
.hero {
  width: min(var(--content), calc(100% - var(--gutter))); margin: 0 auto;
  padding: clamp(56px, 8vw, 84px) 0 clamp(48px, 7vw, 72px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  gap: clamp(36px, 5vw, 64px); align-items: center;
}
.hero h1 { margin: 0; font-size: var(--h1); line-height: .95; letter-spacing: -.07em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lede { margin: 26px 0 0; }

/* Product showcase pair */
.product-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.product-card {
  padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 14px;
}
.product-card .badge { align-self: flex-start; }
.product-card h3 { margin: 4px 0 0; font-size: clamp(24px, 2.6vw, 31px); letter-spacing: -.04em; }
.product-card .product-tagline { margin: 0; font-weight: 650; color: var(--ink-soft); font-size: var(--text-md); }
.product-card p { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.62; }
.product-card .card-actions { margin-top: auto; padding-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.product-card .mock { margin-top: 6px; }

/* Feature grid (bordered) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid article { min-height: 230px; padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.feature-grid .feature-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.feature-number { color: var(--blue); font-size: 11px; font-weight: 800; }
.feature-grid h3 { margin: 34px 0 11px; font-size: var(--h3); letter-spacing: -.025em; }
.feature-grid h4 { margin: 30px 0 9px; font-size: 16px; letter-spacing: -.02em; }
.feature-grid p { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.6; }

/* Checklist / fact list */
.fact-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; }
.fact-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.55; }
.fact-list li::before { content: "✓"; color: var(--green); font-weight: 800; }
.fact-list li .fact-muted { color: var(--muted); }

/* Split layout: copy beside a visual */
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(34px, 5vw, 64px); align-items: center; }
.split.flip > .split-visual { order: -1; }
.split h2 { margin: 0; font-size: var(--h2); line-height: 1.03; letter-spacing: -.05em; }
.split h3 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.04em; }
.split .lede { margin: 18px 0 0; font-size: var(--text-md); }
.split ul.plain { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.split ul.plain li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.58; }
.split ul.plain li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* --------------------------------------------------------------------------
   Product mock windows (implementation-driven, synthetic data)
   -------------------------------------------------------------------------- */
.mock {
  border: 1px solid #d7dce4; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; font-size: 12px;
}
.mock-bar { height: 44px; padding: 0 15px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line-soft); color: #747c88; font-size: 11px; }
.mock-bar > i { width: 9px; height: 9px; border-radius: 99px; background: #ed6a5e; }
.mock-bar > i:nth-child(2) { background: #f2be4f; }
.mock-bar > i:nth-child(3) { background: #61c453; }
.mock-bar > span { margin-left: 8px; font-weight: 700; }
.mock-bar > b { margin-left: auto; color: var(--green); font-weight: 700; }
.mock-body { display: grid; grid-template-columns: 152px 1fr; }
.mock-main { padding: 22px 20px; background: linear-gradient(180deg, #fff, #fbfcfd); }
.mock-heading p { margin: 0; color: #7a818c; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.mock-heading h3 { margin: 7px 0 4px; font-size: 21px; letter-spacing: -.04em; }
.mock-heading span { color: var(--muted); font-size: 11px; }

.mock-item {
  margin-top: 12px; padding: 13px 14px; border: 1px solid #e2e6eb; border-radius: 12px;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; background: #fff;
}
.mock-item.featured { border-color: #b9ccf7; background: #f4f7ff; }
.mock-item small { grid-column: 1; color: var(--blue); font-size: 9px; font-weight: 780; text-transform: uppercase; letter-spacing: .06em; }
.mock-item small.warn { color: var(--amber); }
.mock-item small.good { color: var(--green); }
.mock-item strong { grid-column: 1; font-size: 12.5px; }
.mock-item p { grid-column: 1; margin: 2px 0 0; color: #727985; font-size: 10.5px; line-height: 1.45; }
.mock-item .mock-action { grid-column: 2; grid-row: 1 / span 3; color: var(--blue); font-size: 10px; font-weight: 760; white-space: nowrap; }

.mock-chiprow { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.mock-chiprow span { padding: 4px 9px; border: 1px solid var(--line-soft); border-radius: 99px; font-size: 9.5px; font-weight: 700; color: #5c6471; background: #fff; }
.mock-chiprow span.on { background: var(--blue-soft); border-color: #b9ccf7; color: var(--blue); }

/* Halo previews mirror the current Signal / Stream / Spaces information
   architecture. Every preview is visibly labeled as sample data. */
.halo-product-preview { color: #111820; background: #eef2f7; }
.halo-preview-bar { height: 46px; background: rgba(250, 252, 255, .97); color: #566170; gap: 8px; }
.halo-preview-bar .window-controls { display: inline-flex; gap: 5px; margin: 0 3px 0 0; }
.halo-preview-bar .window-controls i { width: 8px; height: 8px; border-radius: 99px; background: #ff6159; }
.halo-preview-bar .window-controls i:nth-child(2) { background: #ffbd2e; }
.halo-preview-bar .window-controls i:nth-child(3) { background: #28c941; }
.halo-preview-bar > strong { color: #17202c; font-size: 12px; letter-spacing: -.02em; }
.halo-preview-bar > small { color: #8b94a1; font-size: 9px; }
.halo-preview-bar > b {
  margin-left: auto; padding: 3px 7px; border: 1px solid #cfd7e3; border-radius: 99px;
  color: #52657b; background: #f1f5fa; font-size: 8px; text-transform: uppercase; letter-spacing: .06em;
}
.halo-preview-search {
  width: min(44%, 220px); min-width: 100px; margin: 0 0 0 12px !important; padding: 6px 10px;
  border: 1px solid #e0e5ec; border-radius: 8px; background: #fff; color: #9aa2ae; font-weight: 550 !important;
}
.halo-preview-mark {
  flex: 0 0 auto; width: 23px; height: 23px; margin: 0 !important; border-radius: 50%;
  display: grid; place-items: center; background: linear-gradient(145deg, #7b9cff 8%, #36cbd7 88%);
  box-shadow: inset 0 0 0 1px rgba(53, 92, 152, .12);
}
.halo-preview-mark > i { width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; background: #f7f9fd; }
.halo-preview-mark > i::after { content: "⌃"; color: #ea65c8; font-size: 12px; font-style: normal; font-weight: 900; line-height: 10px; transform: translateY(2px); }

.halo-preview-shell { min-height: 430px; display: grid; grid-template-columns: 124px minmax(0, 1fr) 156px; }
.halo-product-preview.compact .halo-preview-shell { grid-template-columns: 124px minmax(0, 1fr); }
.halo-product-preview.compact .halo-preview-intelligence { display: none; }
.halo-preview-sidebar {
  padding: 12px 8px; border-right: 1px solid #dfe5ed; background: rgba(246, 249, 253, .9);
  display: flex; flex-direction: column; gap: 2px;
}
.halo-preview-compose {
  min-height: 31px; margin-bottom: 7px; display: grid; place-items: center; border-radius: 8px;
  background: linear-gradient(100deg, #7596ff, #35cbd5); color: #fff; font-size: 10px; font-weight: 760;
}
.halo-preview-sidebar em {
  margin: 11px 7px 4px; color: #929baa; font-size: 7.5px; font-style: normal; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
}
.halo-preview-nav {
  min-height: 27px; padding: 0 7px; display: flex; align-items: center; gap: 7px;
  border-radius: 7px; color: #616c7c; font-size: 9.5px; font-weight: 650;
}
.halo-preview-nav i { width: 13px; color: #647083; font-size: 10px; font-style: normal; text-align: center; }
.halo-preview-nav small { margin-left: auto; color: #8994a4; font-size: 8px; }
.halo-preview-nav.active { color: #4c6683; background: #dfe7f2; box-shadow: inset 0 0 0 1px #9aaabe; }

.halo-preview-main { min-width: 0; padding: 20px; background: linear-gradient(135deg, #eef2f8, #f6f3f6); overflow: hidden; }
.halo-preview-kicker { color: #5b718c; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.halo-preview-main > h3 { margin: 7px 0 5px; font-size: 22px; letter-spacing: -.045em; }
.halo-preview-main > h3 span { color: #647b97; }
.halo-preview-lede { margin: 0; color: #697587; font-size: 9px; line-height: 1.45; }
.halo-sweep-card {
  margin-top: 13px; padding: 11px; display: flex; align-items: center; gap: 13px;
  border: 1px solid #e1e5ec; border-radius: 12px; background: rgba(255, 255, 255, .9);
}
.halo-sweep-card > div { min-width: 0; }
.halo-sweep-card strong { display: block; font-size: 11px; }
.halo-sweep-card p { margin: 3px 0 8px; color: #718093; font-size: 8.5px; }
.halo-zero-ring {
  flex: 0 0 auto; width: 58px; height: 58px; border: 6px solid #d8dce2; border-radius: 50%;
  display: grid; place-content: center; text-align: center; box-shadow: inset 0 6px 0 -4px #6e849f;
}
.halo-zero-ring b { font-size: 17px; line-height: 1; }
.halo-zero-ring small { margin-top: 2px; color: #788393; font-size: 7px; font-weight: 800; }
.halo-preview-action {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 99px;
  background: #5f7793; color: #fff; font-size: 8.5px; font-weight: 760;
}
.halo-preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 9px; }
.halo-preview-stats > span { padding: 8px; border: 1px solid #e4e7ec; border-radius: 10px; background: rgba(255, 255, 255, .82); }
.halo-preview-stats i { display: block; height: 2px; margin-bottom: 6px; border-radius: 99px; background: #b47a19; }
.halo-preview-stats span:nth-child(2) i { background: #657b97; }
.halo-preview-stats span:nth-child(3) i { background: #d84d60; }
.halo-preview-stats b, .halo-preview-stats small { display: block; }
.halo-preview-stats b { font-size: 15px; line-height: 1; }
.halo-preview-stats small { margin-top: 4px; color: #687486; font-size: 7.5px; white-space: nowrap; }
.halo-preview-section-title { margin: 13px 0 6px; display: flex; justify-content: space-between; font-size: 10px; }
.halo-preview-section-title span { color: #647b97; }
.halo-mail-row {
  min-width: 0; margin-top: 6px; padding: 8px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center;
  border: 1px solid #e1e5ec; border-radius: 9px; background: rgba(255, 255, 255, .9);
}
.halo-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #101824; font-size: 8px; font-weight: 800; }
.halo-avatar.blue { background: #7795ff; }
.halo-avatar.coral { background: #ff9375; }
.halo-avatar.violet { background: #b484f2; }
.halo-mail-row div { min-width: 0; }
.halo-mail-row strong, .halo-mail-row p { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.halo-mail-row strong { font-size: 9.5px; }
.halo-mail-row p { margin: 2px 0 0; color: #6b7788; font-size: 8px; }
.halo-mail-row > small { padding: 3px 6px; border: 1px solid #e1c982; border-radius: 99px; color: #8d641b; font-size: 6.5px; font-weight: 800; }
.halo-quiet-row { margin-top: 8px; padding: 8px 10px; display: flex; align-items: center; gap: 8px; border: 1px solid #e1e5ec; border-radius: 9px; background: rgba(255, 255, 255, .78); }
.halo-quiet-row > b { color: #32b97a; font-size: 13px; }
.halo-quiet-row > span { min-width: 0; flex: 1; }
.halo-quiet-row strong, .halo-quiet-row small { display: block; }
.halo-quiet-row strong { font-size: 9px; }
.halo-quiet-row small { margin-top: 2px; overflow: hidden; color: #758091; font-size: 7.5px; text-overflow: ellipsis; white-space: nowrap; }
.halo-quiet-row > i { color: #8791a0; font-size: 15px; font-style: normal; }

.halo-preview-intelligence { min-width: 0; padding: 13px 11px; border-left: 1px solid #dfe5ed; background: rgba(244, 247, 252, .92); }
.halo-preview-intelligence header { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.halo-preview-intelligence header .halo-preview-mark { width: 24px; height: 24px; }
.halo-preview-intelligence header > span { min-width: 0; flex: 1; }
.halo-preview-intelligence header strong, .halo-preview-intelligence header small { display: block; }
.halo-preview-intelligence header strong { overflow: hidden; font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }
.halo-preview-intelligence header small { margin-top: 1px; color: #8490a0; font-size: 6.5px; }
.halo-preview-intelligence header b { padding: 2px 5px; border-radius: 99px; background: #dff4ea; color: #23835e; font-size: 6.5px; }
.halo-preview-intelligence > em { display: block; margin: 12px 0 6px; color: #919baa; font-size: 6.5px; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.halo-preview-intelligence > h4 { margin: 0; font-size: 11px; letter-spacing: -.02em; }
.halo-preview-intelligence > p, .halo-preview-intelligence section p { margin: 5px 0; color: #6d7889; font-size: 7.5px; line-height: 1.45; }
.halo-preview-signal { display: block; margin: 9px 0; color: #6a76dc; font-size: 7px; font-weight: 750; }
.halo-preview-intelligence section { margin-top: 10px; padding: 9px; border: 1px solid #dde2ea; border-radius: 9px; background: #fff; }
.halo-preview-intelligence section small, .halo-preview-intelligence section strong { display: block; }
.halo-preview-intelligence section small { color: #8e98a7; font-size: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.halo-preview-intelligence section strong { margin-top: 5px; font-size: 8.5px; }
.halo-preview-prompt { display: block; margin-top: 6px; padding: 7px; border: 1px solid #e2e6ec; border-radius: 7px; background: #fff; font-size: 7px; font-weight: 680; }

.halo-reader-preview { padding-top: 12px; }
.halo-reader-tools { margin: 0 auto 13px; color: #657286; font-size: 8px; font-weight: 700; text-align: center; }
.halo-reader-preview > h3 { margin: 0 0 8px; font-size: 18px; }
.halo-reader-sender { display: flex; align-items: center; gap: 7px; }
.halo-reader-sender > span:nth-child(2) { min-width: 0; flex: 1; }
.halo-reader-sender strong, .halo-reader-sender small { display: block; }
.halo-reader-sender strong { font-size: 9px; }
.halo-reader-sender small { margin-top: 2px; overflow: hidden; color: #7e8998; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.halo-reader-sender time { color: #8791a0; font-size: 7px; }
.halo-security-badge { display: inline-flex; margin-top: 9px; padding: 4px 7px; border-radius: 7px; background: #e6e8ea; color: #68727f; font-size: 7px; font-weight: 700; }
.halo-thread-card { margin-top: 11px; padding: 18px; border: 1px solid #e0e4eb; border-radius: 12px; background: #fff; }
.halo-thread-brand { display: flex; align-items: center; justify-content: space-between; color: #3569a4; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.halo-thread-brand small { color: #8390a1; font-size: 6px; }
.halo-thread-card h4 { margin: 16px 0 10px; font-size: 17px; line-height: 1.1; letter-spacing: -.035em; }
.halo-thread-card p { margin: 6px 0; color: #546173; font-size: 8px; line-height: 1.5; }
.halo-thread-callout { margin-top: 13px; padding: 9px; border-left: 3px solid #6383a8; border-radius: 5px; background: #f0f4f8; }
.halo-thread-callout strong, .halo-thread-callout span { display: block; }
.halo-thread-callout strong { font-size: 8px; }
.halo-thread-callout span { margin-top: 3px; color: #637085; font-size: 7px; }

.halo-sender-preview { min-height: 430px; padding: 20px clamp(20px, 8%, 54px); background: linear-gradient(135deg, #eef2f8, #f6f3f6); }
.halo-sender-preview > header { display: flex; align-items: center; gap: 10px; }
.halo-sender-preview > header > span:nth-child(2) { flex: 1; }
.halo-sender-preview > header em { display: block; color: #61758f; font-size: 7px; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.halo-sender-preview > header h3 { margin: 3px 0 0; font-size: 19px; }
.halo-sender-preview > header > b { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #dfe3ea; border-radius: 9px; background: #fff; color: #758091; }
.halo-sender-identity, .halo-sender-panel { margin-top: 12px; padding: 13px; border: 1px solid #e0e4eb; border-radius: 11px; background: rgba(255, 255, 255, .9); }
.halo-sender-identity { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.halo-sender-identity small, .halo-sender-identity strong, .halo-sender-identity span { display: block; }
.halo-sender-identity > div:first-child small, .halo-sender-panel > small { color: #667c96; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.halo-sender-identity > div:first-child strong { margin-top: 6px; font-size: 11px; }
.halo-sender-identity > div:first-child span { margin-top: 2px; color: #778394; font-size: 8px; }
.halo-sender-counts { display: flex; gap: 13px; text-align: center; }
.halo-sender-counts b { font-size: 13px; }
.halo-sender-counts small { margin-top: 2px; color: #818b99; font-size: 6.5px; }
.halo-sender-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 9px; }
.halo-sender-actions span { padding: 8px; border: 1px solid #dde3ea; border-radius: 8px; background: #fff; color: #3d745f; font-size: 7.5px; font-weight: 700; text-align: center; }
.halo-sender-actions span.danger { color: #a84551; }
.halo-sender-panel > strong { display: block; margin-top: 6px; font-size: 9px; }
.halo-sender-panel > p { margin: 5px 0 9px; color: #707c8e; font-size: 7.5px; line-height: 1.45; }
.halo-sender-panel.cleanup .halo-preview-action { background: #6b5e8d; }

.halo-spaces-preview > h3 { font-size: 22px; }
.halo-space-card { margin-top: 15px; padding: 13px; border: 1px solid #e1e5ec; border-left: 3px solid #667d98; border-radius: 11px; background: rgba(255, 255, 255, .9); }
.halo-space-card > div:first-child { display: flex; justify-content: space-between; }
.halo-space-card .halo-security-badge { margin: 0; }
.halo-track-badge { padding: 4px 7px; border-radius: 99px; background: #e1f1e8; color: #22815a; font-size: 7px; font-weight: 750; }
.halo-space-card h4 { margin: 12px 0 2px; font-size: 13px; }
.halo-space-card > p { margin: 0; color: #768192; font-size: 8.5px; }
.halo-space-meta { margin: 11px 0; display: flex; gap: 10px; color: #687588; font-size: 8px; }
.halo-space-meta b { margin-left: auto; color: #5f7691; }
.halo-space-outcome { display: block; padding: 8px; border-radius: 7px; background: #e9edf2; color: #4f5e72; font-size: 8px; }

/* Mock figures and captions */
.mock-figure { margin: 0; }
.mock-caption {
  margin: 12px 4px 0; color: var(--muted); font-size: 12.5px; line-height: 1.5;
  padding-left: 14px; border-left: 2px solid var(--line);
}

/* Delivery lifecycle */
.lifecycle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lifecycle-step { padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.lifecycle-step .lifecycle-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lifecycle-step h3 { margin: 14px 0 8px; font-size: 19px; letter-spacing: -.025em; }
.lifecycle-step p { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.58; }

/* Tertiary text links inside action rows */
.hero-actions .text-link, .center .text-link { align-self: center; padding: 10px 4px; }

/* Delivery radar mock */
.mock-radar { padding: 18px 20px 20px; background: linear-gradient(180deg, #fff, #fbfcfd); }
.radar-track { display: grid; gap: 10px; margin-top: 14px; }
.radar-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 13px; border: 1px solid #e2e6eb; border-radius: 12px; background: #fff; }
.radar-row.risk { border-color: #f2cf9a; background: #fffaf1; }
.radar-dot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-size: 13px; font-weight: 800; }
.radar-row.risk .radar-dot { background: var(--amber-soft); color: var(--amber); }
.radar-row.done .radar-dot { background: var(--green-soft); color: var(--green); }
.radar-row strong { display: block; font-size: 12.5px; }
.radar-row p { margin: 2px 0 0; color: #727985; font-size: 10.5px; }
.radar-row .radar-state { font-size: 10px; font-weight: 760; color: var(--blue); white-space: nowrap; }
.radar-row.risk .radar-state { color: var(--amber); }
.radar-row.done .radar-state { color: var(--green); }
.radar-progress { grid-column: 1 / -1; height: 4px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.radar-progress i { display: block; height: 100%; border-radius: 99px; background: var(--blue); }
.radar-row.risk .radar-progress i { background: var(--orange); }
.radar-row.done .radar-progress i { background: var(--green); }

/* Flow diagram (cross-product intelligence) */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.flow-node { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.flow-node small { display: block; color: var(--blue); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.flow-node strong { display: block; margin-top: 8px; font-size: 15px; letter-spacing: -.02em; }
.flow-node p { margin: 7px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.flow-arrow { align-self: center; color: var(--muted); font-size: 18px; }

/* --------------------------------------------------------------------------
   Dark section
   -------------------------------------------------------------------------- */
.dark-section {
  padding: var(--space-section) max(20px, calc((100vw - var(--content)) / 2));
  background: var(--dark); color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px);
}
.dark-section h2 { margin: 0; max-width: 620px; font-size: var(--h2); line-height: 1.02; letter-spacing: -.055em; }
.dark-section .dark-lede { margin: 20px 0 0; color: var(--dark-muted); font-size: var(--text-md); line-height: 1.65; max-width: 560px; }
.numbered-list article { padding: 24px 0; display: grid; grid-template-columns: 40px 1fr; gap: 16px; border-top: 1px solid var(--dark-line); }
.numbered-list b { color: #779fea; font-size: 11px; }
.numbered-list h3 { margin: 0 0 8px; font-size: 18px; }
.numbered-list p { margin: 0; color: var(--dark-muted); font-size: var(--text-sm); line-height: 1.55; }
.dark-section .light-button { justify-self: start; margin-top: 22px; }

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 16px 22px; text-align: left; font-size: var(--text-sm); border-bottom: 1px solid var(--line-soft); }
.compare thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: #fafbfc; }
.compare thead th.compare-kahvor { color: var(--blue-ink); }
.compare td { color: var(--muted-strong); line-height: 1.5; }
.compare td.compare-kahvor { color: var(--ink); font-weight: 650; background: #f8faff; }
.compare tbody tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.cadence-toggle {
  display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--white); margin: 6px 0 34px;
}
.cadence-toggle button {
  min-height: 38px; padding: 0 18px; border: 0; border-radius: 9px;
  background: transparent; font-size: var(--text-sm); font-weight: 750; color: var(--muted-strong);
}
.cadence-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cadence-hint { margin-left: 12px; color: var(--green); font-size: 12.5px; font-weight: 700; }

.plan-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: stretch; }
.plan-grid.preview-grid { grid-template-columns: repeat(4, 1fr); }
.plan-card {
  display: flex; flex-direction: column; padding: 24px 22px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--white);
}
.plan-card.recommended { border-color: #99b5ed; box-shadow: 0 18px 48px rgba(27, 77, 169, .12); position: relative; }
.plan-flag { position: absolute; top: -11px; left: 20px; padding: 3px 10px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.plan-card > small { color: var(--blue); font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.plan-price { margin: 12px 0 2px; font-size: 30px; font-weight: 800; letter-spacing: -.045em; }
.plan-cadence { display: block; min-height: 18px; color: var(--muted); font-size: 12px; }
.plan-savings { display: block; min-height: 18px; margin-top: 4px; color: var(--green); font-size: 12px; font-weight: 750; }
.plan-savings.savings-hidden { visibility: hidden; }
.plan-audience { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.plan-card ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.plan-card li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.5; }
.plan-card li::before { content: "✓"; color: var(--green); font-weight: 800; font-size: 11px; }
.plan-card .button { margin-top: auto; }
.plan-card ul + .button { margin-top: 20px; }
.pricing-note { margin: 26px auto 0; max-width: 760px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--muted-strong); font-size: var(--text-sm); line-height: 1.6; }
.pricing-note strong { color: var(--ink); }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--white); padding: 0 22px; }
.faq summary { padding: 18px 0; font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 19px; font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: var(--text-sm); line-height: 1.62; }

/* --------------------------------------------------------------------------
   Download / platform cards
   -------------------------------------------------------------------------- */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.platform-card {
  display: flex; flex-direction: column; gap: 10px; min-height: 250px; padding: 28px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-soft);
}
.platform-card .platform-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.platform-card h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.platform-card p { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.58; }
.platform-card .platform-note { font-size: var(--text-xs); color: var(--muted); }
.platform-card .button, .platform-card .text-link { margin-top: auto; align-self: flex-start; }
.platform-card ol { margin: 4px 0 0; padding-left: 18px; color: var(--muted-strong); font-size: var(--text-xs); line-height: 1.8; }

/* Steps / scenario */
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps article { counter-increment: step; display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps article::before { content: "0" counter(step); color: var(--blue); font-size: 13px; font-weight: 800; padding-top: 3px; }
.steps h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.62; max-width: 720px; }

/* Callout band */
.callout {
  width: min(var(--content), calc(100% - var(--gutter))); margin: 0 auto var(--space-section);
  padding: clamp(34px, 5vw, 56px); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #edf3ff, #f6f1ff 65%, #fff0e9);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.callout h2 { margin: 0; font-size: clamp(30px, 4vw, 43px); letter-spacing: -.055em; }
.callout p { max-width: 640px; color: var(--muted); line-height: 1.6; }
.callout .callout-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Prose blocks (intelligence, security, company) */
.prose-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.prose-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.prose-card h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.025em; display: flex; align-items: center; gap: 10px; }
.prose-card p { margin: 0 0 10px; color: var(--muted); font-size: var(--text-sm); line-height: 1.65; }
.prose-card p:last-child { margin-bottom: 0; }
.prose-card ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted-strong); font-size: var(--text-sm); line-height: 1.7; }
.prose-card .text-link { display: inline-block; margin-top: 8px; }

/* Provider list */
.provider-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.provider-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.provider-card h3 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.provider-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.provider-card li { font-size: var(--text-sm); font-weight: 650; color: var(--ink-soft); }
.provider-card li small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; margin-top: 1px; }

/* Use-case cards */
.usecase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.usecase { padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.usecase h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.025em; }
.usecase > p { margin: 0 0 12px; color: var(--muted); font-size: var(--text-sm); line-height: 1.6; }
.usecase ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.usecase li { display: grid; grid-template-columns: 16px 1fr; gap: 9px; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.usecase li::before { content: "→"; color: var(--blue); font-weight: 700; font-size: 12px; }

/* Future products */
.future-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.future-card { padding: 28px; border: 1px dashed #c8cdd6; border-radius: 16px; background: var(--surface); }
.future-card h3 { margin: 12px 0 8px; font-size: 20px; letter-spacing: -.03em; }
.future-card p { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.6; }

/* Support */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.support-card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); display: flex; flex-direction: column; gap: 8px; }
.support-card h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.support-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.support-card .text-link { margin-top: auto; padding-top: 8px; }

/* Appearance chips */
.appearance-row { display: flex; flex-wrap: wrap; gap: 8px; }
.appearance-row span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); font-size: 13px; font-weight: 650; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { width: min(var(--content), calc(100% - var(--gutter))); margin: 0 auto; padding: 58px 0 30px; }
.footer-brand p { max-width: 380px; color: var(--muted); line-height: 1.6; font-size: var(--text-sm); margin: 14px 0 0; }
.footer-brand .footer-sub { margin-top: 6px; font-size: var(--text-xs); }
.footer-groups { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; margin-top: 44px; }
.footer-group h3 { margin: 0 0 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.footer-group a { display: block; margin: 10px 0; color: #656d78; font-size: 13px; }
.footer-group a:hover { color: var(--ink); }
.copyright { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: #7b828c; font-size: var(--text-xs); }

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .skip-link { transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .plan-grid, .plan-grid.preview-grid { grid-template-columns: repeat(3, 1fr); }
  .provider-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-groups { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .site-nav, .header-actions { display: none; }
  .menu-button { display: inline-flex; margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .product-pair, .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip > .split-visual { order: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .dark-section { grid-template-columns: 1fr; }
  .platform-grid, .support-grid { grid-template-columns: 1fr 1fr; }
  .lifecycle { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .callout { flex-direction: column; align-items: flex-start; }
  .prose-columns, .usecase-grid, .future-grid, .faq { grid-template-columns: 1fr; }
  .fact-list { grid-template-columns: 1fr; }
  .halo-preview-shell { grid-template-columns: 116px minmax(0, 1fr); }
  .halo-preview-intelligence { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 28px; }
  .header-inner { height: 70px; gap: 12px; }
  .button { padding-inline: 13px; }
  .feature-grid, .plan-grid, .plan-grid.preview-grid, .platform-grid, .support-grid, .lifecycle { grid-template-columns: 1fr; }
  .hero-actions .button.primary { width: 100%; }
  .feature-grid article { min-height: 0; }
  .mock-body { grid-template-columns: 1fr; }
  .halo-preview-shell, .halo-product-preview.compact .halo-preview-shell { grid-template-columns: 1fr; min-height: 0; }
  .halo-preview-sidebar { display: none; }
  .halo-preview-main, .halo-sender-preview { min-height: 390px; padding: 16px; }
  .halo-preview-search { margin-left: 3px !important; }
  .halo-preview-bar > small { display: none; }
  .steps article { grid-template-columns: 38px 1fr; gap: 12px; }
  .footer-groups { grid-template-columns: 1fr 1fr; }
  .cadence-hint { display: block; margin: 8px 0 0; }
  .compare th, .compare td { padding: 13px 15px; }
}
