/* Victory CRM — marketing site. Self-hosted Inter; no third-party anything. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --teal: hsl(193 100% 27%);
  --teal-600: hsl(193 100% 23%);
  --teal-800: hsl(193 100% 17%);
  --teal-50: hsl(193 60% 96%);
  --teal-100: hsl(193 55% 91%);
  --lime: hsl(88 50% 50%);
  --lime-300: hsl(88 65% 72%);
  --ink: hsl(205 40% 12%);
  --ink-2: hsl(205 18% 30%);
  --muted: hsl(205 12% 40%);
  --line: hsl(200 20% 88%);
  --bg: #fff;
  --bg-soft: hsl(195 30% 97.5%);
  --panel: linear-gradient(160deg, hsl(193 100% 19%) 0%, hsl(200 85% 10%) 100%);
  --radius: 14px;
  --shadow: 0 1px 2px hsl(205 40% 12% / 0.06), 0 8px 24px hsl(205 40% 12% / 0.08);
  --shadow-lg: 0 2px 4px hsl(205 40% 12% / 0.06), 0 24px 60px hsl(200 60% 10% / 0.18);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.65; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-800); }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; font-weight: 650; }
p, li, figcaption { text-wrap: pretty; }
p { margin: 0 0 1em; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-xs { width: 0.85em; height: 0.85em; display: inline-block; vertical-align: -0.1em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 650; letter-spacing: -0.005em; color: var(--teal); margin-bottom: 14px; }
.eyebrow .icon { width: 1.1em; height: 1.1em; }
.lede { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); color: var(--ink-2); line-height: 1.6; max-width: 46rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: 10px; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s; cursor: pointer; font-family: inherit; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-600); color: #fff; }
.btn-outline { background: #fff; color: var(--teal-800); border-color: hsl(193 40% 75%); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-800); }
.btn-lime { background: var(--lime-300); color: hsl(200 85% 10%); }
.btn-lime:hover { background: hsl(88 65% 80%); color: hsl(200 85% 10%); }
.btn-ghost-light { color: #fff; border-color: hsl(0 0% 100% / 0.45); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; background: hsl(0 0% 100% / 0.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: hsl(0 0% 100% / 0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--teal); color: #fff; }
.brand-mark .mark { width: 24px; height: 24px; }
.brand-light { color: #fff; }
.brand-light .brand-mark { background: hsl(0 0% 100% / 0.12); box-shadow: inset 0 0 0 1px hsl(0 0% 100% / 0.22); }
.nav { margin-left: 18px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 0.97rem; padding: 8px 12px; border-radius: 8px; min-height: 40px; }
.nav-link:hover, .nav-trigger:hover, .nav-link[aria-current="page"], .nav-trigger.is-current { background: var(--teal-50); color: var(--teal-800); }
.nav-trigger .chev { width: 16px; height: 16px; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] { background: var(--teal-50); color: var(--teal-800); }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-login { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-weight: 600; text-decoration: none; padding: 8px 12px; border-radius: 8px; min-height: 40px; }
.nav-login:hover { color: var(--teal-800); background: var(--teal-50); }
.icon-sm { width: 1.05em; height: 1.05em; }

/* Mega menu: opens on hover (fine pointers), on keyboard/click via site.js (aria-expanded), and on focus without JS. */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px -12px hsl(200 60% 10% / 0.22); visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; }
.has-mega-sm { position: relative; }
.mega-sm { left: 50%; right: auto; width: 360px; margin-left: -180px; border: 1px solid var(--line); border-radius: 14px; top: calc(100% + 10px); padding: 10px; }
.mega-sm ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.has-mega.open > .mega, html:not(.js) .has-mega:focus-within > .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .has-mega:not(.suppress):hover > .mega { visibility: visible; opacity: 1; transform: none; transition-delay: .06s; }
  .has-mega:not(.suppress):hover > .nav-trigger .chev { transform: rotate(180deg); }
}
.mega-groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 20px; padding: 26px 0 18px; }
.mega-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-group-title { font-size: 0.8rem; font-weight: 650; color: var(--teal); margin: 0 0 8px 8px; }
.mega-link { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.mega-link:hover, .mega-link[aria-current="page"] { background: var(--teal-50); color: var(--ink); }
.mega-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--teal-50); color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal-100); }
.mega-icon .icon { width: 16px; height: 16px; }
.mega-link:hover .mega-icon { background: var(--teal); color: #fff; box-shadow: none; }
.mega-text { display: grid; gap: 1px; line-height: 1.3; }
.mega-text b { font-weight: 620; font-size: 0.92rem; }
.mega-text small { font-size: 0.8rem; color: var(--muted); }
.mega-foot { display: flex; flex-wrap: wrap; gap: 8px 28px; border-top: 1px solid var(--line); padding: 14px 8px 18px; }
.mega-foot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; text-decoration: none; color: var(--teal-800); }
.mega-foot a:hover { text-decoration: underline; }

/* Mobile menu */
.menu { display: none; margin-left: auto; }
.menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 600; background: #fff; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, top .2s; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.menu-panel { position: fixed; left: 0; right: 0; top: 68px; bottom: 0; background: #fff; border-top: 1px solid var(--line); display: flex; flex-direction: column; z-index: 60; }
.menu-scroll { overflow-y: auto; padding: 8px 16px 16px; flex: 1; }
.menu-heading { font-size: 0.8rem; font-weight: 650; color: var(--teal); margin: 18px 4px 6px; }
.menu-group { border-bottom: 1px solid var(--line); }
.menu-group > summary { list-style: none; cursor: pointer; padding: 14px 4px; font-weight: 620; display: flex; justify-content: space-between; align-items: center; }
.menu-group > summary::-webkit-details-marker { display: none; }
.menu-group > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); margin-right: 6px; transition: transform .15s; }
.menu-group[open] > summary::after { transform: rotate(-135deg); }
.menu-links { display: grid; padding: 0 0 10px; }
.menu-links a { display: flex; gap: 10px; align-items: center; padding: 10px 8px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 550; }
.menu-links a .icon { color: var(--teal); }
.menu-links a:hover, .menu-links a[aria-current="page"] { background: var(--teal-50); color: var(--teal-800); }
.menu-top { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
html.menu-open { overflow: hidden; }
.menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-soft); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(110% 70% at 0% 0%, hsl(193 100% 30% / 0.9) 0%, transparent 60%),
  radial-gradient(80% 60% at 100% 100%, hsl(88 55% 45% / 0.28) 0%, transparent 65%),
  linear-gradient(160deg, hsl(193 100% 19%) 0%, hsl(200 85% 10%) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(hsl(0 0% 100% / 0.06) 1px, transparent 1px), linear-gradient(90deg, hsl(0 0% 100% / 0.06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(75% 70% at 30% 35%, #000 0%, transparent 100%); -webkit-mask-image: radial-gradient(75% 70% at 30% 35%, #000 0%, transparent 100%); }
.hero .wrap { position: relative; }
.hero-watermark { position: absolute; right: -120px; bottom: -160px; width: 560px; height: 560px; color: hsl(0 0% 100% / 0.045); pointer-events: none; }
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero .eyebrow { color: hsl(0 0% 100% / 0.72); }
.hero .lede { color: hsl(0 0% 100% / 0.86); }
.hero-home { padding: clamp(56px, 8vw, 104px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.hero-copy { max-width: 760px; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-points { margin: 28px 0 32px; }
.hero-shot { margin-top: clamp(40px, 6vw, 64px); margin-bottom: -2px; }
.hero-shot .frame { border-radius: 14px 14px 0 0; box-shadow: 0 -2px 0 hsl(0 0% 100% / 0.08), 0 30px 80px hsl(200 90% 4% / 0.5); }
.hero-page { padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 7vw, 80px); }
.hero-page .lede { margin-bottom: 28px; }
.crumb { font-size: 0.9rem; margin-bottom: 18px; }
.crumb a { color: hsl(0 0% 100% / 0.75); text-decoration: none; }
.crumb a:hover { color: #fff; text-decoration: underline; }

/* Feature pages: the hero's visual straddles into the first section (the clipped background lives in .hero-bg). */
.hero-feature { overflow: visible; padding: clamp(40px, 6vw, 72px) 0 0; --overlap: clamp(80px, 12vw, 170px); }
.hero-feature::before { content: none; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(hsl(0 0% 100% / 0.06) 1px, transparent 1px), linear-gradient(90deg, hsl(0 0% 100% / 0.06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(75% 70% at 30% 35%, #000 0%, transparent 100%); -webkit-mask-image: radial-gradient(75% 70% at 30% 35%, #000 0%, transparent 100%); }
.hero-feature .eyebrow { color: var(--lime-300); }
.hf-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.hf-copy h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); margin-bottom: 18px; }
.hf-copy .lede { margin-bottom: 28px; }
.glance { background: hsl(0 0% 100% / 0.07); border: 1px solid hsl(0 0% 100% / 0.16); border-radius: 18px; padding: 22px 22px 8px; color: hsl(0 0% 100% / 0.9); font-size: 0.98rem; }
.glance-title { font-weight: 650; color: var(--lime-300); margin-bottom: 12px; }
.glance-list li { line-height: 1.5; }
.hero-visual { position: relative; z-index: 2; margin-top: clamp(40px, 6vw, 64px); margin-bottom: calc(-1 * var(--overlap)); }
.hero-visual .shot figcaption { color: var(--muted); }
.section.after-visual { padding-top: calc(var(--overlap, 140px) + clamp(48px, 7vw, 88px)); --overlap: clamp(80px, 12vw, 170px); }
.split-visual { min-width: 0; }
.duo { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: end; }
.duo-b .mock, .duo-b .shot { max-width: 520px; }
@media (min-width: 900px) {
  .duo { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
  .duo-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .duo-b { padding-bottom: 32px; }
}
.split-wide { }
.section-details { background: #fff; }
.spec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 48px; margin: 0; }
.spec > div { border-top: 1px solid var(--line); padding: 18px 0 20px; display: grid; gap: 4px; }
.spec dt { font-weight: 650; color: var(--ink); }
.spec dd { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; font-weight: 620; color: var(--ink); display: grid; gap: 2px; }
.pager a small { font-weight: 550; color: var(--muted); font-size: 0.85rem; }
.pager a:hover { color: var(--teal-800); }
.pager a[rel="next"] { text-align: right; }
.pager .pager-all { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-800); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; background: #fff; }
.steps-row { counter-reset: step; }

/* Features hub */
.hub-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.hub-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hub-jump a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 8px 14px; border-radius: 99px; border: 1px solid hsl(0 0% 100% / 0.3); }
.hub-jump a:hover { background: hsl(0 0% 100% / 0.1); color: #fff; }
.hub-group { scroll-margin-top: 68px; }
.card-link.card-wide { flex-direction: row; gap: 20px; align-items: center; flex-wrap: wrap; }
.hub-row { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.hub-intro h2 { margin-bottom: 12px; }
.hub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.hub-list a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 16px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.hub-list a:hover { border-color: hsl(193 50% 70%); box-shadow: var(--shadow); color: var(--ink); }
.hub-list .card-icon { margin: 0; }
.hub-text { display: grid; gap: 2px; line-height: 1.35; }
.hub-text b { font-weight: 650; font-size: 1.05rem; }
.hub-text small { color: var(--ink-2); font-size: 0.93rem; }
.hub-arrow { color: var(--teal); width: 18px; height: 18px; }
.card-wide > div { flex: 1 1 320px; }
.card-wide .card-icon { margin: 0; }
.card-wide .more { margin: 0; padding: 0; }
.h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; }
.phones-3 { gap: 20px; }
.phones-3 .shot-phone:nth-child(2) { transform: translateY(-24px); }
.notifs-hero { max-width: 560px; margin-inline: auto; }
.hero-visual > .sf, .hero-visual > .record, .hero-visual > .rule, .hero-visual > .flow { max-width: 760px; margin-inline: auto; }
.shot.crop .frame { max-height: 620px; overflow: hidden; }
.shot.crop .frame img { object-fit: cover; object-position: top; }

/* Home */
.home-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.home-feed { color: var(--ink); }
.home-index { display: grid; gap: 28px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-col h3 { font-size: 1rem; margin-bottom: 10px; }
.home-col h3 a { color: var(--teal-800); text-decoration: none; }
.home-col h3 a:hover { text-decoration: underline; }
.home-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.home-col li a { display: flex; gap: 10px; align-items: center; padding: 7px 8px; margin-left: -8px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 550; font-size: 0.97rem; }
.home-col li a .icon { color: var(--teal); }
.home-col li a:hover { background: #fff; box-shadow: 0 1px 2px hsl(205 40% 12% / 0.06); }
.mores { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; color: var(--teal); }
.link-more:hover { text-decoration: underline; color: var(--teal-800); }
.pair-stack { grid-template-columns: minmax(0, 1fr) !important; }
.pair-stack .pair-arrow .icon { transform: rotate(90deg) !important; }
.phones-notif { align-items: center; }
.home-notifs { width: min(340px, 100%); }

/* Home hero montage: the dashboard, with the proposals figures and the deals board layered over its right edge. */
.hero-home .montage { margin-bottom: clamp(48px, 7vw, 88px); display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.montage .frame { border-radius: 14px; }
.hero-shot.montage .frame { box-shadow: 0 30px 70px hsl(200 90% 4% / 0.5); }
.montage-side { display: grid; gap: 18px; }
.montage-side .shot:last-child { display: none; }
.crop-dash .frame { max-height: 560px; }
.crop-dash .frame img { object-fit: cover; object-position: top; }
@media (min-width: 900px) {
  .hero-home .montage { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 0; align-items: center; }
  .montage-side { gap: 26px; margin-left: -64px; position: relative; z-index: 2; }
  .montage-side .shot:last-child { display: block; margin-left: 48px; margin-right: -12px; }
  .crop-dash .frame { max-height: 600px; }
}

/* Ticks */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.tick { width: 22px; height: 22px; padding: 4px; border-radius: 99px; color: var(--teal-800); background: hsl(88 55% 55% / 0.25); box-shadow: inset 0 0 0 1px hsl(88 50% 45% / 0.35); margin-top: 3px; }
.hero .tick { color: var(--lime-300); background: hsl(88 55% 55% / 0.2); box-shadow: inset 0 0 0 1px hsl(88 65% 72% / 0.35); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 112px); }
.split-copy h2, .split-copy h3 { margin-bottom: 14px; }
.split-copy h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); font-weight: 700; letter-spacing: -0.025em; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 650; font-size: 0.95rem; margin-bottom: 10px; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px hsl(205 40% 12% / 0.04); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal); margin-bottom: 16px; box-shadow: inset 0 0 0 1px var(--teal-100); }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-link:hover { border-color: hsl(193 50% 70%); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card-link .more { margin-top: auto; padding-top: 14px; color: var(--teal); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.card-link p { color: var(--ink-2); }

/* Screenshot frames */
.shot { margin: 0; }
.shot figcaption { font-size: 0.92rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.frame { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid hsl(200 25% 82%); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: hsl(200 25% 95%); border-bottom: 1px solid hsl(200 25% 86%); }
.frame-bar span { width: 11px; height: 11px; border-radius: 99px; background: hsl(200 15% 80%); }
.frame-bar b { margin: 0 auto; transform: translateX(-24px); font-size: 0.75rem; font-weight: 550; color: var(--muted); display: inline-flex; gap: 5px; align-items: center; background: #fff; padding: 3px 14px; border-radius: 6px; }
.hero .frame { border-color: hsl(0 0% 100% / 0.14); }
.shot-phone { display: flex; flex-direction: column; align-items: center; }
.phone { width: min(300px, 72vw); border-radius: 44px; padding: 11px; background: hsl(205 30% 12%); box-shadow: var(--shadow-lg), inset 0 0 0 2px hsl(205 15% 30%); position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 82px; height: 22px; border-radius: 99px; background: hsl(205 30% 8%); z-index: 2; }
.phone img { border-radius: 34px; }
.phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.crop { overflow: hidden; }

/* Illustrations (src/mocks.mjs) */
.mock { margin: 0; background: #fff; border: 1px solid hsl(200 25% 84%); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); font-size: 0.95rem; text-align: left; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: hsl(200 25% 97.5%); }
.mock-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 0.92rem; }
.mock-title .icon { color: var(--teal); }
.mock-sub { font-size: 0.8rem; color: var(--muted); }
.mock-caption { font-size: 0.92rem; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.hero .mock-caption { color: hsl(0 0% 100% / 0.7); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 650; padding: 3px 9px; border-radius: 99px; background: var(--teal-50); color: var(--teal-800); }
.pill-on { background: hsl(88 55% 55% / 0.22); color: hsl(95 55% 22%); }
.pill-on::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: hsl(95 60% 38%); }

/* Signal feed */
.sf-list { list-style: none; margin: 0; padding: 6px 0; }
.sf-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 10px 16px; position: relative; }
.sf-row + .sf-row::before { content: ""; position: absolute; left: 32px; top: -10px; height: 20px; width: 2px; background: var(--line); }
.sf-dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); position: relative; z-index: 1; }
.sf-dot .icon { width: 17px; height: 17px; }
.sf-text { display: grid; gap: 1px; line-height: 1.35; min-width: 0; }
.sf-text b { font-weight: 620; font-size: 0.93rem; }
.sf-text small { color: var(--muted); font-size: 0.82rem; }
.sf-when { font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: 2px; }
.tone-lead .sf-dot { background: var(--teal); color: #fff; }
.tone-task .sf-dot { background: hsl(210 20% 94%); color: hsl(210 25% 35%); }
.tone-view .sf-dot { background: hsl(38 95% 92%); color: hsl(30 85% 34%); }
.tone-click .sf-dot { background: hsl(200 85% 93%); color: hsl(205 80% 32%); }
.tone-mail .sf-dot { background: hsl(260 60% 95%); color: hsl(262 45% 42%); }
.tone-warn .sf-dot { background: hsl(12 90% 94%); color: hsl(10 70% 40%); }
.tone-sign .sf-dot { background: hsl(88 50% 50%); color: hsl(200 85% 10%); }
.sf-a { animation: sf-in .55s cubic-bezier(.2, .7, .2, 1) backwards; }
.sf-d1 { animation-delay: .25s; } .sf-d2 { animation-delay: .7s; } .sf-d3 { animation-delay: 1.15s; } .sf-d4 { animation-delay: 1.6s; }
.sf-d5 { animation-delay: 2.05s; } .sf-d6 { animation-delay: 2.5s; } .sf-d7 { animation-delay: 2.95s; } .sf-d8 { animation-delay: 3.4s; }
.sf-d9 { animation-delay: 3.85s; } .sf-d10 { animation-delay: 4.3s; }
.sf-a.tone-sign .sf-dot { animation: sf-pop .6s ease-out backwards; animation-delay: inherit; }
/* A clip-and-slide reveal, not a fade: text is never shown at reduced contrast part-way through. */
@keyframes sf-in { from { clip-path: inset(0 0 100% 0); transform: translateY(10px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes sf-pop { 0% { box-shadow: 0 0 0 0 hsl(88 50% 50% / .7); } 100% { box-shadow: 0 0 0 14px hsl(88 50% 50% / 0); } }

/* Notifications */
.notifs { background: linear-gradient(160deg, hsl(200 40% 22%), hsl(205 50% 12%)); border-color: hsl(200 30% 30%); padding: 22px 16px; }
.notif-wall { display: grid; gap: 10px; }
.notif { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 18px; background: hsl(0 0% 100% / 0.86); backdrop-filter: blur(6px); box-shadow: 0 8px 24px hsl(205 60% 5% / 0.35); font-size: 0.88rem; line-height: 1.35; }
.notif-app { width: 38px; height: 38px; border-radius: 10px; background: var(--teal); color: #fff; display: grid; place-items: center; }
.notif-app svg { width: 26px; height: 26px; }
.notif-text { display: grid; gap: 2px; min-width: 0; color: var(--ink-2); }
.notif-head { display: flex; justify-content: space-between; gap: 10px; }
.notif-head b { color: var(--ink); font-weight: 650; }
.notif-head small { color: var(--muted); white-space: nowrap; }

/* Rule */
.rule-body { padding: 16px; display: grid; gap: 14px; }
.rule-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: start; }
.rule-step > .rule-chip + .rule-chip { grid-column: 2; }
.rule-label { font-size: 0.8rem; font-weight: 650; color: var(--muted); padding-top: 6px; }
.rule-chip { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 10px; background: var(--teal); color: #fff; font-weight: 600; font-size: 0.9rem; }
.rule-chip-soft { background: var(--teal-50); color: var(--teal-800); box-shadow: inset 0 0 0 1px var(--teal-100); }
.rule-actions { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: act; }
.rule-actions li { counter-increment: act; display: flex; gap: 10px; align-items: baseline; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.rule-actions li::before { content: counter(act); font-size: 0.75rem; font-weight: 700; color: var(--teal); }

/* Flow */
.flow-list { list-style: none; margin: 0; padding: 16px; display: grid; gap: 0; }
.flow-node { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; position: relative; }
.flow-node + .flow-node { margin-top: 18px; }
.flow-node + .flow-node::before { content: ""; position: absolute; left: 29px; top: -19px; height: 18px; width: 2px; background: hsl(193 40% 75%); }
.flow-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); }
.flow-icon .icon { width: 18px; height: 18px; }
.flow-text { display: grid; line-height: 1.35; }
.flow-text b { font-weight: 620; font-size: 0.92rem; }
.flow-text small { color: var(--muted); font-size: 0.82rem; }
.kind-trigger { background: var(--teal); border-color: var(--teal); color: #fff; }
.kind-trigger .flow-icon { background: hsl(0 0% 100% / 0.16); color: #fff; }
.kind-trigger .flow-text small { color: hsl(0 0% 100% / 0.94); }
.kind-wait .flow-icon { background: hsl(38 95% 92%); color: hsl(30 85% 34%); }
.kind-branch .flow-icon { background: hsl(260 60% 95%); color: hsl(262 45% 42%); }
.kind-end .flow-icon, .kind-pause .flow-icon { background: hsl(88 55% 55% / 0.25); color: hsl(95 55% 25%); }
.flow-branches { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; padding-left: 48px; }
.flow-branch { font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }

/* Record */
.record-sub { padding: 14px 16px 0; margin: 0; color: var(--ink-2); font-size: 0.9rem; }
.record-rows { margin: 0; padding: 8px 16px 12px; display: grid; }
.record-rows > div { display: grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 0.9rem; }
.record-rows > div:last-child { border-bottom: 0; }
.record-rows dt { color: var(--muted); }
.record-rows dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
.record-rows code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.84em; }
.record-foot { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--bg-soft); font-size: 0.85rem; color: var(--ink-2); }
.mock-pair { margin: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.pair-arrow { display: grid; justify-items: center; gap: 4px; color: var(--teal); font-weight: 600; font-size: 0.82rem; }
.pair-arrow .icon { transform: rotate(90deg); width: 28px; height: 28px; }
.pair-arrow small { color: var(--muted); text-align: center; }
.hero .pair-arrow { color: var(--lime-300); }
.hero .pair-arrow small { color: #fff; font-weight: 600; } /* lime text on the hero is under 4.5:1 at this size */

/* Keys and chips */
.kbd-group { display: inline-flex; gap: 4px; }
kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 7px; background: #fff; border: 1px solid hsl(200 20% 78%); box-shadow: 0 2px 0 hsl(200 20% 78%); font-family: inherit; font-size: 0.8rem; font-weight: 650; color: var(--ink); }
.sc-rows { margin: 0; padding: 8px 16px 14px; display: grid; }
.sc-rows > div { display: grid; grid-template-columns: minmax(110px, 40%) minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.sc-rows > div:last-child { border: 0; }
.sc-rows dd { margin: 0; color: var(--ink-2); }
.chip-list { list-style: none; margin: 0; padding: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 0.88rem; font-weight: 560; }
.chip-list .icon { color: var(--teal); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.steps > li { position: relative; padding: 24px 24px 24px 76px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.steps > li::before { content: counter(step); position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--teal); }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); }

/* Stat-free "facts" strip */
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: minmax(0, 1fr); }
.facts > div { background: #fff; padding: 22px 24px; }
.facts h3 { font-size: 1.05rem; margin-bottom: 4px; display: flex; gap: 10px; align-items: center; }
.facts h3 .icon { color: var(--teal); }
.facts p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

/* Dark band */
.band { padding: clamp(56px, 8vw, 88px) 0; }
.band-dark { color: #fff; background:
  radial-gradient(80% 90% at 100% 0%, hsl(88 55% 45% / 0.22) 0%, transparent 60%),
  linear-gradient(160deg, hsl(193 100% 19%) 0%, hsl(200 85% 10%) 100%); }
.band-dark h2 { color: #fff; }
.band-dark p { color: hsl(0 0% 100% / 0.82); max-width: 40rem; }
.band-inner { display: grid; gap: 28px; align-items: center; }

/* Quote of the product's own line */
.callout { border-left: 4px solid var(--lime); background: var(--teal-50); padding: 18px 22px; border-radius: 0 12px 12px 0; color: var(--ink-2); }
.callout strong { color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-2); }
.faq .answer p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 48px; }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: 0.4em; }
.prose address { font-style: normal; }
.details-table { border-collapse: collapse; width: 100%; margin: 1em 0 2em; }
.details-table th, .details-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.details-table th { width: 36%; color: var(--muted); font-weight: 600; }

/* Form */
.form-wrap { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .field legend { font-weight: 600; font-size: 0.97rem; }
.field .hint { font-size: 0.88rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid hsl(200 18% 72%); border-radius: 10px;
  padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid hsl(193 100% 27% / 0.25); border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: hsl(0 70% 45%); }
.field .error { color: hsl(0 70% 38%); font-size: 0.9rem; font-weight: 550; }
.field-row { display: grid; gap: 0 18px; grid-template-columns: minmax(0, 1fr); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-2); margin-bottom: 20px; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 550; }
.form-status:empty { display: none; }
.form-status.ok { background: hsl(140 50% 94%); color: hsl(145 60% 22%); border: 1px solid hsl(140 40% 75%); }
.form-status.err { background: hsl(0 80% 97%); color: hsl(0 65% 35%); border: 1px solid hsl(0 60% 85%); }
.form .btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* Brochure promo */
.brochure-card { display: grid; gap: 28px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.brochure-cover { width: min(320px, 80%); margin-inline: auto; border-radius: 6px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }

/* Footer */
.site-footer { background: hsl(200 85% 8%); color: hsl(0 0% 100% / 0.78); padding: 56px 0 32px; font-size: 0.95rem; }
.site-footer a { color: hsl(0 0% 100% / 0.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; padding-bottom: 36px; border-bottom: 1px solid hsl(0 0% 100% / 0.12); margin-bottom: 36px; }
.footer-brand p { max-width: 30rem; margin: 14px 0 0; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-cta .btn-lime { color: hsl(200 85% 10%); }
.footer-cta .btn-lime:hover { color: hsl(200 85% 10%); text-decoration: none; }
.footer-cta .btn-ghost-light:hover { text-decoration: none; }
.footer-grid { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-grid h2 { font-size: 0.85rem; letter-spacing: 0; color: #fff; margin-bottom: 12px; font-weight: 650; }
.footer-grid nav { display: grid; gap: 9px; align-content: start; font-size: 0.9rem; }
.footer-legal { border-top: 1px solid hsl(0 0% 100% / 0.12); margin-top: 44px; padding-top: 22px; font-size: 0.86rem; color: hsl(0 0% 100% / 0.62); }
.footer-legal p { margin: 0 0 6px; }

/* Utilities (inline style attributes are blocked by the CSP) */
.u-m0 { margin: 0; } .u-mt8 { margin-top: 8px; } .u-mt14 { margin-top: 14px; } .u-mt20 { margin-top: 20px; }
.u-mt24 { margin-top: 24px; } .u-mt28 { margin-top: 28px; } .u-mt32 { margin-top: 32px; } .u-mw860 { max-width: 860px; }
.u-mt-lg { margin-top: clamp(40px, 6vw, 72px); } .u-mt-xl { margin-top: clamp(48px, 7vw, 88px); } .u-pt0 { padding-top: 0; }
.u-m-6-0-0 { margin: 6px 0 0; } .u-white { color: #fff; } .u-white:hover { color: #fff; } .u-w100 { width: 100%; }
.consent-error { display: block; margin: -10px 0 16px; }
.fieldset-plain { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .mock-pair { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); }
  .pair-arrow .icon { transform: none; }
}
@media (min-width: 720px) {
  .home-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .home-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .home-index { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hub-row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
  .hub-intro { position: sticky; top: 100px; }
  .hub-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .hf-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 56px; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-row { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split.flip > :first-child { order: 2; }
  .split.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split.phone-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .band-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .form-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .brochure-card { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .footer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .nav, .header-actions { display: none; }
  .menu { display: block; }
  /* A backdrop-filter makes the header the containing block of position:fixed children, which would trap the drawer. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}
@media (max-width: 1240px) and (min-width: 1081px) {
  .mega-groups { gap: 8px 12px; }
  .mega-text small { display: none; }
}
@media (max-width: 640px) {
  .pager { grid-template-columns: 1fr 1fr; }
  .pager .pager-all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
@media (max-width: 420px) {
  .actions .btn { width: 100%; }
  .menu-label { display: none; }
  .steps > li { padding: 70px 20px 20px; }
  .steps > li::before { left: 20px; top: 20px; }
}
/* Articles and guides (the content library) */
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; color: hsl(0 0% 100% / 0.72); font-size: 0.95rem; margin: 0; }
.hero-article h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); max-width: 900px; margin-bottom: 18px; }
.hero-article .lede { margin-bottom: 22px; }
.hero-article .eyebrow { color: var(--lime-300); }
.article-section { padding-top: clamp(40px, 6vw, 72px); }
.article-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.article-body { font-size: 1.08rem; line-height: 1.72; color: var(--ink); max-width: 720px; }
.article-body > p:first-child { font-size: 1.2rem; line-height: 1.65; color: var(--ink-2); }
.article-body h2 { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.65rem); margin: 1.9em 0 0.55em; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.article-body li { margin-bottom: 0.45em; }
.article-body figure { margin: 2em 0; }
.article-body .shot figcaption, .article-body .mock-caption { font-size: 0.92rem; color: var(--muted); line-height: 1.5; margin-top: 10px; }
.article-body .shot-phone { max-width: 300px; margin-inline: auto; }
.article-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--lime); color: var(--ink-2); font-size: 1.12rem; }
.article-body .in-victory { background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--radius); padding: 6px 24px 10px; margin-top: 2em; }
.article-body .in-victory h2 { margin-top: 0.9em; }
.article-aside { display: grid; gap: 18px; }
.aside-title { font-size: 0.85rem; font-weight: 650; color: var(--teal); margin: 0 0 10px; }
.aside-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aside-features a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--ink); line-height: 1.35; }
.aside-features a:hover { background: var(--teal-50); color: var(--ink); }
.aside-features b { display: block; font-weight: 620; font-size: 0.97rem; }
.aside-features small { color: var(--muted); font-size: 0.86rem; }
.article-aside > .aside-title { margin-bottom: 0; }
.guide-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 1px 2px hsl(205 40% 12% / 0.04); }
.guide-card-link { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: var(--ink); line-height: 1.35; margin-bottom: 14px; }
.guide-card-link b { display: block; font-weight: 650; }
.guide-card-link small { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
.guide-card-link:hover b { color: var(--teal-800); text-decoration: underline; }
.res-card h3, .res-card h2 { font-size: 1.15rem; margin-bottom: 8px; }
.res-kind { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; font-weight: 650; color: var(--teal); margin-bottom: 10px; }
.res-group { scroll-margin-top: 84px; }
.res-group + .res-group { margin-top: clamp(40px, 6vw, 64px); }
.res-group > h2 { font-size: 1.35rem; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.hub-jump-light { margin: 0 0 clamp(32px, 5vw, 48px); }
.hub-jump-light a { color: var(--teal-800); border-color: var(--teal-100); background: var(--teal-50); }
.hub-jump-light a:hover { background: #fff; color: var(--teal-800); border-color: var(--teal); }
.guide-tile { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px; }
.guide-tile-cover img { width: 112px; border-radius: 4px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.guide-tile h2, .guide-tile h3 { font-size: 1.08rem; margin-bottom: 6px; }
.guide-tile h2 a, .guide-tile h3 a { color: var(--ink); text-decoration: none; }
.guide-tile h2 a:hover, .guide-tile h3 a:hover { color: var(--teal-800); text-decoration: underline; }
.guide-tile p { color: var(--ink-2); font-size: 0.95rem; margin: 0 0 10px; }
.guide-tile-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; font-size: 0.93rem; }
.guide-tile-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; }
.guide-hero { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.hero-guide .eyebrow { color: var(--lime-300); }
.guide-sub { color: var(--lime-300); font-weight: 600; font-size: 1.1rem; margin: -6px 0 14px; }
.guide-facts { color: hsl(0 0% 100% / 0.7); font-size: 0.92rem; margin: 14px 0 0; }
.guide-hero-cover img { width: min(300px, 70%); margin-inline: auto; border-radius: 6px; box-shadow: 0 24px 60px hsl(200 90% 4% / 0.5); }
.guide-body { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.guide-toc { list-style: none; counter-reset: gt; margin: 0; padding: 0; display: grid; gap: 0; max-width: 720px; }
.guide-toc li { counter-increment: gt; position: relative; padding: 16px 0 16px 52px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.guide-toc li::before { content: counter(gt); position: absolute; left: 0; top: 16px; width: 34px; height: 34px; border-radius: 10px; background: var(--teal-50); color: var(--teal-800); font-weight: 700; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--teal-100); }
.guide-toc b { font-weight: 650; font-size: 1.05rem; }
.guide-toc span { color: var(--ink-2); }
.guide-aside { display: grid; gap: 18px; }
.guide-aside .card { padding: 22px; }
.home-library .grid + .grid { margin-top: 20px; }
/* Show only the top of a screenshot, at any width (the objections page: its heading and explanation, not a row). */
.shot.crop-top .frame img { aspect-ratio: 1544 / 640; object-fit: cover; object-position: top; }
@media (min-width: 720px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .article-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
  .article-aside { position: sticky; top: 96px; }
  .guide-hero { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
  .guide-hero-cover img { width: 100%; }
  .guide-body { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; }
  .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .guide-tile { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .guide-tile-cover img { width: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .band-dark { display: none; }
}
