/* ==========================================================================
   Winhoven · Intune Scope Tag Manager landing page
   No build step. Tokens first, then base, components, sections, utilities.
   ========================================================================== */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --font-sans: "Instrument Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, ui-monospace, monospace;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Dark (default) */
  --bg: #070B14;
  --bg-alt: #0A101C;
  --surface: #0F1626;
  --surface-2: #151E32;
  --ink: #EDF2FB;
  --ink-2: #C3CDDE;
  --muted: #94A2BA;
  --line: #1D283D;
  --line-strong: #2B3A56;
  --accent: #6C98FF;
  --accent-hover: #8AAEFF;
  --accent-ink: #061026;
  --accent-soft: rgba(108, 152, 255, .12);
  --accent-line: rgba(108, 152, 255, .35);
  --icon-bg: linear-gradient(145deg, rgba(108, 152, 255, .34), rgba(108, 152, 255, .16));
  --icon-ink: #B4CBFF;
  --icon-line: rgba(132, 170, 255, .6);
  --icon-glow: 0 0 0 1px rgba(108, 152, 255, .08), 0 8px 22px -8px rgba(92, 138, 255, .65);
  --ok: #3DD68C;
  --ok-soft: rgba(61, 214, 140, .12);
  --warn: #F5B544;
  --danger: #FF7B7B;
  --danger-soft: rgba(255, 123, 123, .1);
  --code-bg: #0A0F1B;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 18px 40px -18px rgba(0,0,0,.7);
  --shadow-lg: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 0 1px var(--line);
  --glow-1: rgba(72, 118, 255, .28);
  --glow-2: rgba(40, 190, 170, .12);
  --ink-band-bg: #0B1322;
  --header-bg: rgba(7, 11, 20, .9);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #F5F7FA;
  --bg-alt: #ECEFF4;
  --surface: #FFFFFF;
  --surface-2: #F3F5F9;
  --ink: #0B1324;
  --ink-2: #2A3550;
  --muted: #566279;
  --line: #DDE2EA;
  --line-strong: #C4CCD9;
  --accent: #1F4FD8;
  --accent-hover: #1840B5;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(31, 79, 216, .08);
  --accent-line: rgba(31, 79, 216, .3);
  --icon-bg: linear-gradient(145deg, rgba(31, 79, 216, .2), rgba(31, 79, 216, .1));
  --icon-ink: #1A45C2;
  --icon-line: rgba(31, 79, 216, .45);
  --icon-glow: 0 6px 16px -8px rgba(31, 79, 216, .5);
  --ok: #0B7A4B;
  --ok-soft: rgba(11, 122, 75, .09);
  --warn: #A45A06;
  --danger: #C02626;
  --danger-soft: rgba(192, 38, 38, .07);
  --code-bg: #0E1626;
  --shadow: 0 1px 2px rgba(13, 24, 48, .05), 0 14px 30px -18px rgba(13, 24, 48, .22);
  --shadow-lg: 0 40px 70px -34px rgba(13, 24, 48, .38), 0 0 0 1px var(--line);
  --glow-1: rgba(31, 79, 216, .16);
  --glow-2: rgba(20, 160, 140, .1);
  --ink-band-bg: #0B1324;
  --header-bg: rgba(245, 247, 250, .95);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -0.022em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.6rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
code, pre { font-family: var(--font-mono); }
::selection { background: var(--accent); color: var(--accent-ink); }

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

[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon .fill, symbol .fill { fill: currentColor; stroke: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--accent-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: 0 1.15em;
  border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -12px var(--accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }
.btn-ghost .icon:last-child, .link-arrow .icon { transition: transform .2s var(--ease); }
.btn-ghost:hover .icon:last-child, .link-arrow:hover .icon { transform: translateX(3px); }
.btn-lg { min-height: 52px; padding: 0 1.4em; font-size: 1.04rem; border-radius: 12px; }
.btn-sm { min-height: 38px; padding: 0 .95em; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  background: transparent; border: 1px solid transparent; border-radius: 10px; color: var(--ink-2); cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--line); color: var(--ink); }
.icon-btn .icon { width: 20px; height: 20px; }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.bm-bg { fill: var(--accent); }
.bm-w { fill: none; stroke: var(--accent-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-weight: 700; font-size: 1.16rem; letter-spacing: -0.02em; }

.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a {
  padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 500;
  transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.active { color: var(--ink); background: var(--surface-2); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; color: var(--ink-2); text-decoration: none; font-size: .94rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.header-phone:hover { color: var(--accent); }
.header-phone .icon { color: var(--accent); }

[data-theme="dark"] #theme-toggle .i-moon, [data-theme="light"] #theme-toggle .i-sun { display: none; }
.nav-toggle { display: none; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); padding: 10px 0 20px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-menu nav > a { display: block; padding: 13px 4px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.06rem; border-bottom: 1px solid var(--line); }
.mobile-menu-cta { display: grid; gap: 10px; margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 900px; pointer-events: none;
  background:
    radial-gradient(48% 46% at 74% 30%, var(--glow-1), transparent 70%),
    radial-gradient(36% 40% at 18% 12%, var(--glow-2), transparent 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 20%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 60% at 60% 20%, #000 0%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.2fr); gap: 28px clamp(32px, 5vw, 64px); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: 22px; padding: 6px 12px 6px 10px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font-family: var(--font-mono); font-size: .76rem; font-weight: 500; color: var(--ink-2); letter-spacing: .01em;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.sep { color: var(--muted); opacity: .7; }
.lede { margin-top: 22px; font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.6; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-note { margin-top: 16px; font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cta-note a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-weight: 500; }
.cta-note a:hover { color: var(--accent); }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 8px 28px; font-size: .93rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--ok); }

/* Window frame */
.window { border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); }
.window-bar { display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.wb-dots { display: flex; gap: 6px; }
.wb-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.wb-url { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-family: var(--font-mono); font-size: .7rem; color: var(--muted); }
.wb-url .icon { width: 11px; height: 11px; color: var(--ok); }
.shot-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2); cursor: zoom-in; aspect-ratio: 1920 / 842; }
.shot-btn img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: opacity .25s var(--ease); }
.js .shot-btn img:not([src]) { visibility: hidden; }
.shot-btn img.swapping { opacity: 0; }
.shot-btn:focus-visible { outline-offset: -3px; }
.shot-zoom {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(7, 11, 20, .78); color: #fff; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s;
}
.shot-btn:hover .shot-zoom, .shot-btn:focus-visible .shot-zoom { opacity: 1; transform: none; }

.hero-visual { position: relative; }
.hero-visual .window { transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); transform-origin: 30% 50%; transition: transform .6s var(--ease); }
.hero-visual:hover .window { transform: perspective(1600px) rotateY(-1.5deg) rotateX(.5deg); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow);
  font-size: .86rem; line-height: 1.3; color: var(--ink);
  animation: float 7s ease-in-out infinite;
}
.float-card b { display: block; font-weight: 600; }
.float-card small { display: block; font-size: .74rem; color: var(--muted); font-family: var(--font-mono); margin-top: 2px; }
.fc-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }
.fc-icon.ok { background: var(--ok-soft); color: var(--ok); }
.fc-rollback { right: -10px; top: -22px; animation-delay: -3.5s; }
@media (min-width: 1200px) {
  .hero-visual { margin-right: clamp(-150px, calc((1180px - 100vw) / 2 - 20px), -40px); }
  .fc-rollback { right: auto; left: 46%; }
}
@media (min-width: 1121px) {
  .hero-grid { align-items: start; grid-template-rows: auto 1fr; }
  .hero-copy { grid-row: 1 / span 2; }
  .hero-visual { margin-top: 80px; }
  .hero-facts { grid-column: 2; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(44px, 5.5vw, 72px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 880px; margin-bottom: clamp(24px, 3vw, 36px); }
.kicker { margin-bottom: 14px; font-family: var(--font-mono); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.section-lede { margin-top: 16px; font-size: 1.1rem; max-width: 40em; color: var(--ink-2); }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.compare-col h3 { margin-bottom: 16px; font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.compare-col li { position: relative; display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.compare-col li:first-child { border-top: 0; }
.compare-col.old { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.compare-col.old h3 { color: var(--muted); }
.compare-col.old li { color: var(--muted); padding-left: 30px; }
.compare-col.old li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 12px; height: 1.5px; background: var(--muted); opacity: .7; }
.compare-col.new { border-color: var(--accent-line); box-shadow: var(--shadow); background: linear-gradient(180deg, var(--accent-soft), transparent 55%), var(--surface); }
.compare-col.new h3 { color: var(--accent); }
.compare-col.new li { color: var(--ink); }
.compare-col.new .icon { color: var(--ok); margin-top: .25em; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.feature {
  padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.feature:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.feature:first-child { grid-column: span 2; }
.f-icon, .s-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 11px; background: var(--icon-bg); color: var(--icon-ink); border: 1px solid var(--icon-line); box-shadow: var(--icon-glow); }
.f-icon .icon, .s-icon .icon { width: 21px; height: 21px; stroke-width: 2; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: .96rem; color: var(--muted); }
.query {
  display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 11px 14px; min-height: 46px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); color: var(--muted); overflow: hidden;
}
.query code { font-size: .86rem; color: var(--ink); white-space: nowrap; }
.caret { width: 2px; height: 1.1em; margin-left: -8px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Tour */
.tour-tabs { display: flex; gap: 6px; margin-bottom: 18px; padding: 5px; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); width: fit-content; max-width: 100%; }
.tour-tabs::-webkit-scrollbar { display: none; }
.tour-tabs button {
  flex: none; min-height: 40px; padding: 0 15px; border: 0; border-radius: 10px; background: transparent; color: var(--muted);
  font-size: .92rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: color .15s, background-color .15s;
}
.tour-tabs button:hover { color: var(--ink); }
.tour-tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.tour-panel:focus-visible { outline-offset: 6px; border-radius: var(--radius); }
.tour-caption { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 32px; margin-top: 24px; align-items: baseline; }
.tour-caption h3 { font-size: 1.25rem; }
.tour-caption p { color: var(--ink-2); max-width: 46em; }

/* Flow */
.flow { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: flow; }
.flow::before { content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 2px; background: var(--line); }
.flow::after {
  content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--ok));
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s;
}
.flow.in::after { transform: scaleX(1); }
.flow li { position: relative; z-index: 1; }
.flow-n {
  display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 18px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line-strong); color: var(--ink);
  font-family: var(--font-mono); font-size: .88rem; font-weight: 600;
  transition: border-color .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.flow.in .flow-n { border-color: var(--accent); }
.flow.in li:nth-child(1) .flow-n { transition-delay: .2s; } .flow.in li:nth-child(2) .flow-n { transition-delay: .45s; }
.flow.in li:nth-child(3) .flow-n { transition-delay: .7s; } .flow.in li:nth-child(4) .flow-n { transition-delay: .95s; }
.flow.in li:nth-child(5) .flow-n { transition-delay: 1.2s; } .flow.in li:nth-child(6) .flow-n { transition-delay: 1.45s; border-color: var(--ok); }
.flow h3 { margin-bottom: 6px; }
.flow p { font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* Quick start */
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.steps { margin-top: 30px; counter-reset: step; display: grid; gap: 4px; }
.steps li { position: relative; padding: 0 0 22px 52px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--icon-bg); border: 1px solid var(--icon-line); color: var(--icon-ink); font-family: var(--font-mono); font-size: .86rem; font-weight: 600;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 16.5px; top: 38px; bottom: 6px; width: 1px; background: var(--line-strong); }
.steps h3 { margin-bottom: 4px; }
.steps p { font-size: .97rem; color: var(--muted); }
.steps b { color: var(--ink); font-weight: 600; }
.start-copy .cta-row { margin-top: 12px; }
.start-code { display: grid; gap: 14px; }
.code-card { border-radius: var(--radius); overflow: hidden; border: 1px solid #1D283D; background: var(--code-bg); box-shadow: var(--shadow); }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px 6px 16px; border-bottom: 1px solid #1D283D; font-family: var(--font-mono); font-size: .74rem; color: #94A2BA; }
.code-card pre { margin: 0; padding: 16px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #2B3A56 transparent; font-size: .8rem; line-height: 1.7; color: #DCE5F5; tab-size: 2; }
.code-card pre:focus-visible { outline-offset: -3px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid transparent;
  background: transparent; color: inherit; font-family: var(--font-sans); font-size: .8rem; font-weight: 600; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.code-head .copy-btn { color: #C3CDDE; }
.code-head .copy-btn:hover { background: #151E32; color: #fff; }
.copy-btn.copied { color: #3DD68C !important; }
.copy-btn.failed { color: var(--danger) !important; }
.code-note { font-size: .9rem; color: var(--muted); }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--line); gap: 1px; }
.trust { padding: 28px; background: var(--surface); }
.trust > .icon { width: 24px; height: 24px; color: var(--accent); margin-bottom: 16px; }
.trust h3 { margin-bottom: 6px; }
.trust p { font-size: .95rem; color: var(--muted); }

/* Services (always-dark band) */
.section-ink {
  --surface: #121B2E; --surface-2: #18233A; --ink: #EDF2FB; --ink-2: #C3CDDE; --muted: #94A2BA; --line: #22304A; --line-strong: #31425F;
  --accent: #7BA3FF; --accent-hover: #9AB9FF; --accent-ink: #061026; --accent-soft: rgba(123, 163, 255, .13); --accent-line: rgba(123, 163, 255, .35); --ok: #3DD68C;
  --icon-bg: linear-gradient(145deg, rgba(123, 163, 255, .36), rgba(123, 163, 255, .17)); --icon-ink: #BDD1FF; --icon-line: rgba(140, 176, 255, .6); --icon-glow: 0 0 0 1px rgba(123, 163, 255, .08), 0 8px 22px -8px rgba(92, 138, 255, .65);
  position: relative; background: var(--ink-band-bg); color: var(--ink-2); overflow: hidden;
}
.section-ink::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 85% 0%, rgba(72, 118, 255, .22), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(40, 190, 170, .1), transparent 70%); }
.section-ink .wrap { position: relative; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.service:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.service h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service > p { color: var(--muted); font-size: .98rem; }
.service ul { margin: 20px 0 24px; display: grid; gap: 10px; font-size: .95rem; }
.service li { position: relative; padding-left: 20px; }
.service li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.service .link-arrow { margin-top: auto; }
.engage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 28px; align-items: center; margin-top: 18px; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.engage h3 { font-size: 1.02rem; margin-bottom: 4px; }
.engage p { font-size: .9rem; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-card { padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.avatar { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 20px; border-radius: 20px; background: linear-gradient(140deg, var(--accent), #24B8A6); color: #fff; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.about-name { font-size: 1.35rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.about-role { color: var(--muted); font-size: .95rem; margin-top: 2px; }
.about-facts { display: grid; gap: 10px; margin: 22px 0; padding: 22px 0; border-block: 1px solid var(--line); font-size: .95rem; }
.about-facts li { display: flex; gap: 10px; }
.about-facts .icon { color: var(--ok); margin-top: .25em; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px 14px; font-size: .9rem; font-weight: 600; }
.about-links a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.about-copy p:not(.kicker) { margin-top: 18px; max-width: 40em; }
.about-copy h2 + p { margin-top: 22px; }

/* More tools */
.announce-inner { display: flex; align-items: center; gap: 24px; }
.announce-copy { flex: 1; min-width: 0; }
.announce .kicker { margin-bottom: 4px; }
.announce-title { color: var(--ink); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.012em; line-height: 1.35; }
.announce .btn { flex: none; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 28px); }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 4px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .icon { color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq-a { padding: 0 44px 22px 4px; }
.faq-a code { font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); }
.faq details[open] .faq-a { animation: fade-down .3s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-methods { display: grid; gap: 10px; margin-top: 30px; }
.contact-method { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s var(--ease); }
a.contact-method:hover, .contact-method:has(.cm-main:hover) { border-color: var(--accent); color: var(--ink); }
.cm-main { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.cm-main:hover { color: inherit; }
.contact-method .copy-btn { color: var(--muted); border-color: var(--line); }
.contact-method .copy-btn:hover { color: var(--ink); border-color: var(--line-strong); background: var(--surface-2); }
.cm-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--icon-bg); color: var(--icon-ink); border: 1px solid var(--icon-line); }
.cm-icon .icon { width: 20px; height: 20px; }
.contact-method small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.3; }
.contact-method b { display: block; font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.contact-points { display: grid; gap: 8px; margin-top: 26px; font-size: .95rem; }
.contact-points li { display: flex; gap: 10px; align-items: center; }
.contact-points .icon { color: var(--ok); }

.contact-form-wrap { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); padding: clamp(22px, 3.4vw, 36px); }
.contact-form h3, .form-success h3 { font-size: 1.4rem; letter-spacing: -0.02em; }
.form-intro { margin: 6px 0 24px; color: var(--muted); font-size: .96rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; min-width: 0; }
.field label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); font-size: .8rem; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 46px; padding: 10px 13px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 124px; line-height: 1.5; }
.field ::placeholder { color: var(--muted); opacity: .9; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; text-overflow: ellipsis; }
.select-wrap .icon { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.field-error { margin-top: 6px; font-size: .86rem; color: var(--danger); font-weight: 500; }
.field-hint { margin-top: 6px; font-size: .78rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-privacy { font-size: .84rem; color: var(--muted); flex: 1; min-width: 180px; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: .93rem; background: var(--danger-soft); border: 1px solid var(--danger); color: var(--ink); }
.form-success { text-align: left; }
.form-success:focus { outline: none; }
.success-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.success-icon .icon { width: 26px; height: 26px; stroke-width: 2.2; }
.form-success p { margin-top: 10px; }
.success-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.success-alt { font-size: .93rem; color: var(--muted); margin-top: 20px !important; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 28px 0 26px; font-size: .93rem; }
.footer-legal { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #05080F; color: #EDF2FB;
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lb-in .2s var(--ease); }
.lightbox::backdrop { background: rgba(4, 7, 14, .6); }
@keyframes lb-in { from { opacity: 0; } }
.lb-top { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 24px; }
.lb-title { font-weight: 600; font-size: 1.05rem; color: #fff; }
.lb-count { margin-left: auto; font-family: var(--font-mono); font-size: .8rem; color: #94A2BA; }
.lightbox .icon-btn { color: #EDF2FB; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.05); }
.lightbox .icon-btn:hover { background: rgba(255,255,255,.14); }
.lb-stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0 16px; min-height: 0; }
.lb-scroll { height: 100%; display: grid; place-items: center; overflow: auto; min-width: 0; }
.lb-scroll img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 80px -20px #000; }
.lb-desc { padding: 14px 24px 22px; text-align: center; color: #C3CDDE; font-size: .95rem; max-width: 60em; margin-inline: auto; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 150; right: 20px; bottom: 20px; width: min(440px, calc(100vw - 32px));
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 14px 10px 14px 14px;
  border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow-lg); color: var(--ink);
  animation: toast-in .35s var(--ease);
}
.toast[hidden] { display: none; }
.toast-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); }
.toast-body b { display: block; font-size: .95rem; }
.toast-body p { font-size: .84rem; color: var(--muted); line-height: 1.4; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .header-phone span { display: none; }
  .header-phone { margin-right: 0; width: 40px; height: 40px; justify-content: center; border-radius: 10px; }
  .header-phone .icon { width: 20px; height: 20px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .flow::before, .flow::after { display: none; }
  .engage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .engage .btn { grid-column: 1 / -1; justify-self: start; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 720px; }
  .hero-visual { margin: 12px 8px 0; }
  .hero-visual .window, .hero-visual:hover .window { transform: none; }
}
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-grid; }
  .hero-grid, .start-grid, .contact-grid, .about-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .section-head { position: static; }
  .hero-visual { margin: 12px 8px 0; }
  .hero-visual .window, .hero-visual:hover .window { transform: none; }
  .fc-rollback { right: -8px; }
  .services, .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .about-card { max-width: 440px; }
  .tour-caption { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  :root { --header-h: 60px; }
  body { font-size: 1rem; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .compare, .features, .field-row { grid-template-columns: minmax(0, 1fr); }
  .field-row { gap: 0; }
  .feature:first-child { grid-column: auto; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .engage { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn-lg { flex: 1 1 100%; }
  .float-card { display: none; }
  .hero-visual { margin-inline: 0; }
  .lb-nav { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 2; }
  #lb-prev { left: 16px; } #lb-next { right: 16px; }
  .lb-stage { grid-template-columns: minmax(0, 1fr); padding: 0 8px; position: static; }
  .lb-desc { padding-bottom: 84px; }
  .faq-a { padding-right: 4px; }
  .toast { left: 16px; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); width: auto; grid-template-columns: auto minmax(0, 1fr) auto; }
  .toast .btn { grid-column: 2; justify-self: start; grid-row: 2; }
  .toast #toast-close { grid-row: 1; grid-column: 3; }

  .action-bar {
    position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .action-bar.show { transform: none; }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; }
  .action-bar a.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
}
@media (max-width: 420px) {
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .flow li { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 16px; }
  .flow-n { grid-row: span 2; margin: 0; }
  .eyebrow { font-size: .7rem; }
}

/* ---------- Motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .flow::after { transform: scaleX(1); }
  .caret { display: none; }
}
@media print {
  :root, :root[data-theme="light"], :root[data-theme="dark"] { --bg: #fff; --bg-alt: #fff; --surface: #fff; --surface-2: #f4f4f4; --ink: #000; --ink-2: #222; --muted: #555; --line: #ccc; --line-strong: #999; --accent: #1F4FD8; --accent-ink: #fff; --ink-band-bg: #fff; }
  .site-header, .action-bar, .toast, .lightbox, .hero-glow, .float-card, .tour-tabs, .contact-form-wrap, .shot-zoom, .copy-btn, .skip-link { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .section, .hero { padding: 24px 0; }
  .section-ink { --surface: #fff; --ink: #000; --ink-2: #222; --muted: #555; --line: #ccc; --accent: #1F4FD8; }
  .section-ink::before, .hero::before { display: none; }
  .hero-visual .window { transform: none; box-shadow: 0 0 0 1px #ccc; }
  .feature, .service, .trust, .compare-col, .flow li, .faq details { break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; word-break: break-all; }
  .btn::after, .social a::after { content: none !important; }
}

/* ---------- Small-screen refinements ---------- */
@media (max-width: 720px) {
  /* Show the left part of each screenshot at a readable size instead of shrinking the full width. */
  .shot-btn { aspect-ratio: 16 / 11; }
  .announce-inner { flex-wrap: wrap; gap: 16px; }
  .announce .btn { flex: 1 1 100%; }
  .cta-note .sep { display: none; }
  .cta-note { gap: 4px 12px; }

  /* Compact, scannable feature and trust rows. */
  .feature { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 16px; padding: 18px; }
  .feature .f-icon { grid-row: span 3; margin: 0; }
  .feature h3 { margin-bottom: 4px; }
  .feature .query { grid-column: 1 / -1; }
  .trust { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .trust > .icon { grid-row: span 2; margin: 2px 0 0; }
  .compare-col, .service, .about-card { padding: 22px; }

  .tour-tabs { width: auto; -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); padding-right: 28px; }
  .contact-method b { font-size: 1rem; }
  .contact-method .copy-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .contact-method .copy-btn.copied span, .contact-method .copy-btn.failed span { position: static; width: auto; height: auto; clip-path: none; }
  .contact-method .copy-btn { min-width: 40px; min-height: 40px; justify-content: center; }

  /* Viewer: keep text legible and let the screenshot pan sideways. */
  .lb-scroll { place-items: center start; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lb-scroll img { max-width: none; width: auto; height: min(58dvh, 520px); }
  .lb-top { padding-left: 16px; }
}

/* ---------- Without JavaScript: show the plain <noscript> screenshots ---------- */
html:not(.js) .shot-btn, html:not(.js) .tour-tabs, html:not(.js) .contact-form-wrap { display: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 100dvh; display: grid; place-items: center; padding: 40px var(--gutter); text-align: center; }
.notfound .brand { justify-content: center; margin-bottom: 40px; }
.notfound .code { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; color: var(--accent); margin-bottom: 14px; }
.notfound p { margin: 16px auto 0; max-width: 30em; }
.notfound .cta-row { justify-content: center; }

/* Two-column feature grid: keep the last card from sitting alone. */
@media (min-width: 721px) and (max-width: 1120px) {
  .feature:last-child { grid-column: span 2; }
}

/* ---------- Social links ---------- */
.social { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.social-label { margin-right: 6px; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.social a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 40px; height: 40px; padding: 0 11px;
  border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2);
  font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease), transform .18s var(--ease);
}
.social a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.social .icon { width: 17px; height: 17px; }
.hero-social { margin-top: 18px; }
.social-named a { padding: 0 14px; }
@media (max-width: 720px) {
  .social-named { gap: 8px; }
  .social-named a { flex: 1 1 calc(50% - 8px); }
}
@media (max-width: 380px) {
  .social-named a { padding: 0 8px; gap: 6px; font-size: .8rem; }
}

/* Narrow two-column hero: keep the headline to three lines and the two buttons on one row. */
@media (min-width: 1121px) and (max-width: 1319px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  h1 { font-size: clamp(3rem, 4.5vw, 3.6rem); }
}
