/* ============================================================================
   AutoDMS — marketing site. Same visual language as the product ("Calm density"):
   Inter, navy #000742, brand blue #0065ff, cool-gray canvas, white cards with a
   hairline ring, 10/14/22px radii, tinted elevation shadows. No decorative fonts.
   ========================================================================== */

@font-face { font-family: "Inter"; src: url("fonts/Inter-var-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  --bg: oklch(0.985 0.004 255);
  --card: #fff;
  --sunken: oklch(0.968 0.005 255);
  --fg: #000742;
  --sec: oklch(0.46 0.03 260);
  --ter: oklch(0.555 0.025 260);
  --primary: #0065ff;
  --primary-hover: oklch(0.55 0.20 258);
  --accent: #eff4ff;
  --accent-fg: #0052cc;
  --border: #e8ecf4;
  --border-strong: oklch(0.86 0.01 255);
  --success: oklch(0.62 0.15 150);
  --success-subtle: oklch(0.965 0.04 152);
  --success-fg: oklch(0.40 0.11 150);
  --info-subtle: oklch(0.965 0.04 250);
  --info-fg: oklch(0.42 0.12 252);
  --info: oklch(0.62 0.16 250);
  --warning: oklch(0.75 0.15 78);
  --warning-subtle: oklch(0.965 0.06 82);
  --warning-fg: oklch(0.45 0.12 70);
  --violet: #A259FF;
  --ring: 0 0 0 1px oklch(0.15 0.05 264 / 0.10);
  --e1: 0 1px 2px oklch(0.30 0.04 264 / 0.06);
  --e2: 0 2px 6px oklch(0.30 0.04 264 / 0.08), 0 1px 2px oklch(0.30 0.04 264 / 0.05);
  --e3: 0 8px 24px oklch(0.30 0.04 264 / 0.10), 0 2px 6px oklch(0.30 0.04 264 / 0.06);
  --e4: 0 16px 40px oklch(0.20 0.04 264 / 0.16), 0 4px 12px oklch(0.20 0.04 264 / 0.08);
  --e5: 0 24px 64px oklch(0.18 0.05 264 / 0.22);
  --nav-h: 64px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid color-mix(in oklch, var(--primary) 45%, transparent); outline-offset: 2px; border-radius: 6px; }
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--fg); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec.tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec.white { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec.sunk { background: var(--sunken); }

/* ---------- type ---------- */
h1 { font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4.6rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 1.35rem + 1.9vw, 3rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.028em; }
h3 { font-size: 1.125rem; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); line-height: 1.55; color: var(--sec); max-width: 60ch; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); }
.kicker svg { width: 14px; height: 14px; }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.head.center { margin-inline: auto; text-align: center; }
.head.center .lede { margin-inline: auto; }
.kicker + h2, .kicker + h1 { margin-top: 14px; }
h2 + .lede, h1 + .lede { margin-top: 18px; }
.muted { color: var(--sec); }
.small { font-size: 0.9rem; }
.shine { background-image: linear-gradient(90deg, #0065ff, #00e1af, #ff6ce4, #0065ff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

/* ---------- icons ---------- */
svg.i { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 15px; white-space: nowrap; border: 1px solid transparent; transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(90deg, #0065ff, #0052d6); color: #fff; box-shadow: var(--e2); }
.btn.primary:hover { box-shadow: var(--e3); }
.btn.outline { background: var(--card); border-color: var(--border); color: var(--fg); box-shadow: var(--e1); }
.btn.outline:hover { background: var(--sunken); border-color: var(--border-strong); }
.btn.ghost { color: var(--fg); }
.btn.ghost:hover { background: var(--sunken); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }
.btn.primary svg { transition: transform .2s var(--ease); }
.btn.primary:hover svg { transform: translateX(2px); }

/* ---------- cards ---------- */
.card { background: var(--card); border-radius: 14px; box-shadow: var(--ring); padding: 24px; }
.card.lift { transition: transform .2s var(--ease), box-shadow .2s; }
.card.lift:hover { transform: translateY(-2px); box-shadow: var(--ring), var(--e2); }
.tile { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--primary); flex-shrink: 0; }
.tile svg { width: 20px; height: 20px; }
.tile.g { color: #fff; box-shadow: var(--e1), inset 0 0 0 1px rgba(0,0,0,.04); border-radius: 12px; }

/* pills (same as product) */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; border: 1px solid; font-size: 11.5px; font-weight: 500; white-space: nowrap; line-height: 1; vertical-align: middle; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--success-subtle); color: var(--success-fg); border-color: color-mix(in oklch, var(--success) 20%, transparent); } .pill.ok::before { background: var(--success); }
.pill.in { background: var(--info-subtle); color: var(--info-fg); border-color: color-mix(in oklch, var(--info) 20%, transparent); } .pill.in::before { background: var(--info); }
.pill.wa { background: var(--warning-subtle); color: var(--warning-fg); border-color: color-mix(in oklch, var(--warning) 20%, transparent); } .pill.wa::before { background: var(--warning); }
.pill.ne { background: var(--sunken); color: var(--sec); border-color: var(--border); } .pill.ne::before { background: var(--ter); }
.pill.pr { background: var(--accent); color: var(--fg); border-color: color-mix(in oklch, var(--primary) 20%, transparent); } .pill.pr::before { background: var(--primary); }
.soon { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--info-subtle); color: var(--info-fg); border: 1px solid color-mix(in oklch, var(--info) 20%, transparent); font-size: 11px; font-weight: 500; vertical-align: middle; white-space: nowrap; margin-left: 6px; line-height: 1; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); background: color-mix(in oklch, var(--card) 82%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.nav.scrolled { border-bottom-color: var(--border); background: color-mix(in oklch, var(--card) 92%, transparent); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand svg { width: 44px; height: 34px; }
.brand img { height: 26px; width: auto; }
.brand b { font-size: 21px; font-weight: 800; letter-spacing: -0.025em; line-height: 1; }
.brand b em { font-style: normal; color: var(--violet); }
.menu { display: none; align-items: center; gap: 4px; margin-left: 8px; }
.menu a { padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--sec); transition: color .15s, background .15s; }
.menu a:hover, .menu a.on { color: var(--fg); background: var(--sunken); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { font-size: 13px; font-weight: 600; color: var(--sec); padding: 8px 10px; border-radius: 8px; }
.lang:hover { background: var(--sunken); color: var(--fg); }
.login { display: none; }
.burger { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--fg); }
.burger:hover { background: var(--sunken); }
.mnav { position: fixed; inset: var(--nav-h) 0 auto; z-index: 99; background: var(--card); border-bottom: 1px solid var(--border); padding: 8px var(--gutter) 16px; display: none; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; box-shadow: var(--e3); }
.mnav.open { display: block; }
.mnav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 500; }
.mnav a:last-child { border: 0; }
@media (min-width: 960px) { .menu { display: flex; } .burger, .mnav { display: none !important; } .login { display: inline-flex; } }
@media (max-width: 480px) { .brand b { display: none; } .nav .wrap { gap: 10px; } .nav-right .btn.sm { height: 36px; padding: 0 12px; font-size: 13.5px; } }
.progress { position: fixed; left: 0; top: 0; z-index: 101; height: 2px; width: 100%; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--primary); }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(56px, 9vw, 112px)) 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 48px 48px; opacity: .45; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 70%); }
.hero-bg .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9; }
.hero-bg .o1 { width: 600px; height: 600px; left: 8%; top: -180px; background: color-mix(in oklch, var(--primary) 22%, transparent); animation: drift-a 20s ease-in-out infinite; }
.hero-bg .o2 { width: 520px; height: 520px; right: 6%; top: -120px; background: color-mix(in oklch, var(--success) 18%, transparent); animation: drift-b 24s ease-in-out infinite; }
.hero-bg .o3 { width: 380px; height: 380px; left: 45%; top: 120px; background: rgba(255,108,228,0.14); animation: drift-a 28s ease-in-out infinite reverse; }
@keyframes drift-a { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(40px, 30px); } }
@keyframes drift-b { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-40px, 24px); } }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 900px; margin-inline: auto; text-align: center; }
.hero-copy h1 { margin-top: 22px; }
.hero-copy .lede { margin: 22px auto 0; max-width: 56ch; }
.hero-cta { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.trust { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; color: color-mix(in oklch, var(--sec) 60%, transparent); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 14px; height: 14px; }
.trust i { width: 1px; height: 12px; background: var(--border-strong); }

/* ---------- app frame (scaled product replica) ---------- */
.frame { position: relative; margin-top: clamp(40px, 6vw, 72px); border-radius: 18px; background: var(--card); box-shadow: var(--ring), var(--e5); overflow: hidden; }
.frame .chrome { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--sunken); border-bottom: 1px solid var(--border); }
.frame .chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.frame .chrome .url { margin-left: 10px; height: 24px; padding: 0 10px; border-radius: 6px; background: var(--card); border: 1px solid var(--border); font-size: 11px; color: var(--sec); display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); }
.frame .chrome .url svg { width: 11px; height: 11px; color: var(--success); }
.screen { position: relative; width: 100%; aspect-ratio: 1280 / 800; overflow: hidden; background: var(--bg); }
.screen .app { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--s, 1)); }
.hero .frame { margin-bottom: 0; }
.hero .frame { opacity: 0; transform: translateY(24px) scale(.985); }
.js .hero .frame.in { animation: frame-in .9s var(--ease) forwards .15s; }
@keyframes frame-in { to { opacity: 1; transform: none; } }
.float-toast { position: absolute; right: 24px; top: 84px; z-index: 5; opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .4s var(--ease); }
.float-toast.show { opacity: 1; transform: none; }
.fab { position: absolute; right: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: var(--e3); }
.fab svg { width: 24px; height: 24px; }

/* ---------- product tour ---------- */
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--sunken); width: fit-content; max-width: 100%; overflow-x: auto; margin: 0 auto 28px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--sec); white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s; }
.tab svg { width: 16px; height: 16px; }
.tab[aria-pressed="true"] { background: var(--card); color: var(--fg); box-shadow: var(--e1); }
.tour { display: grid; gap: 24px; }
@media (min-width: 960px) { .tour { grid-template-columns: 300px 1fr; align-items: start; } }
.tour-copy { display: flex; flex-direction: column; gap: 14px; }
.tour-copy h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.tour-copy p { color: var(--sec); }
.tour-copy ul { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.tour-copy li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--fg); }
.tour-copy li svg { width: 16px; height: 16px; color: var(--success); margin-top: 3px; }
.panes { position: relative; }
.pane { display: none; }
.pane.on { display: block; animation: pane-in .45s var(--ease); }
@keyframes pane-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pane .frame { margin-top: 0; box-shadow: var(--ring), var(--e4); }
.tour-copy .pane-copy { display: none; }
.tour-copy .pane-copy.on { display: flex; flex-direction: column; gap: 14px; animation: pane-in .45s var(--ease); }

/* ---------- bento ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(3, 1fr); } .bento .wide { grid-column: span 2; } }
.bento .card { display: flex; flex-direction: column; gap: 18px; padding: 24px; overflow: hidden; }
.bento .demo { position: relative; border-radius: 12px; background: var(--sunken); padding: 16px; min-height: 210px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.bento .app.demo { width: auto; height: auto; display: flex; grid-template-columns: none; background: var(--sunken); }
.bento h3 { font-size: 1.15rem; }
.bento p { color: var(--sec); font-size: 15px; }
.bento .txt { display: flex; flex-direction: column; gap: 8px; }

/* ---------- modules ---------- */
.mods { display: grid; gap: 14px; }
@media (min-width: 700px) { .mods { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .mods { grid-template-columns: repeat(3, 1fr); } }
.mod { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.mod .t { display: flex; align-items: center; gap: 12px; }
.mod .t h3 { font-size: 1.05rem; }
.mod .n { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ter); }
.mod p { color: var(--sec); font-size: 14.5px; }
.mod ul { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.mod li { display: flex; gap: 8px; align-items: flex-start; }
.mod li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); margin-top: 9px; flex-shrink: 0; }
.mod details summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; }
.mod details summary::-webkit-details-marker { display: none; }
.mod details summary svg { width: 14px; height: 14px; transition: transform .2s; }
.mod details[open] summary svg { transform: rotate(90deg); }
.mod details ul { margin-top: 8px; }

/* ---------- agents ---------- */
.agents { display: grid; gap: 14px; }
@media (min-width: 700px) { .agents { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .agents { grid-template-columns: repeat(4, 1fr); } }
.agent { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.agent .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.agent h3 { font-size: 1.05rem; }
.agent p { color: var(--sec); font-size: 14.5px; flex: 1; }
.agent .ex { font-size: 13px; color: var(--sec); background: var(--sunken); border-radius: 10px; padding: 10px 12px; line-height: 1.5; border-left: 2px solid var(--primary); }

/* ---------- rows / lists ---------- */
.rows { display: grid; gap: 14px; }
@media (min-width: 760px) { .rows { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .rows.four { grid-template-columns: repeat(4, 1fr); } }
.row { display: flex; gap: 14px; align-items: flex-start; padding: 20px; }
.row h3 { font-size: 1rem; }
.row p { color: var(--sec); font-size: 14.5px; margin-top: 4px; }

/* ---------- roadmap ---------- */
.rmap { display: grid; gap: 14px; }
@media (min-width: 760px) { .rmap { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .rmap { grid-template-columns: repeat(4, 1fr); } }
.rmap .card { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.rmap .card > .pill { align-self: flex-start; }
.rmap h3 { font-size: 1.05rem; }
.rmap ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--sec); }
.rmap li { padding-left: 14px; position: relative; }
.rmap li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--border-strong); }

/* ---------- steps / faq ---------- */
.steps { display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.step .num { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; box-shadow: 0 1px 2px color-mix(in oklch, var(--primary) 20%, transparent); }
.step p { color: var(--sec); font-size: 14.5px; }
.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq details { background: var(--card); border-radius: 14px; box-shadow: var(--ring); padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; color: var(--ter); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--sec); font-size: 15px; }

/* ---------- glossary ---------- */
.gloss { display: grid; gap: 12px; }
@media (min-width: 700px) { .gloss { grid-template-columns: repeat(3, 1fr); } }
.gloss div { padding: 16px 18px; }
.gloss dt { font-weight: 600; font-size: 15px; }
.gloss dd { margin: 4px 0 0; color: var(--sec); font-size: 14px; }

/* ---------- demo / contact ---------- */
.contact { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; } }
.contact ul { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.contact li svg { width: 18px; height: 18px; color: var(--success); margin-top: 3px; }
.form { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.frow { display: grid; gap: 14px; }
@media (min-width: 560px) { .frow { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--sec); }
.field input, .field textarea { font: inherit; font-size: 15px; color: var(--fg); background: var(--card); border: 1px solid var(--border); border-radius: 10px; height: 44px; padding: 0 12px; box-shadow: var(--e1); transition: border-color .15s, box-shadow .15s; width: 100%; }
.field textarea { height: auto; padding: 10px 12px; resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: color-mix(in oklch, var(--primary) 50%, transparent); box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 15%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { width: 100%; margin-top: 4px; }
.form-status { font-size: 14px; font-weight: 500; min-height: 1.3em; }
.form-status.ok { color: var(--success-fg); } .form-status.err { color: oklch(0.47 0.18 27); }
.form-note { font-size: 12.5px; color: var(--ter); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--card); padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer h3 { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ter); margin-bottom: 12px; }
.footer a { display: block; font-size: 14.5px; color: var(--sec); padding: 4px 0; }
.footer a:hover { color: var(--fg); }
.footer-bot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--ter); }
.footer .powered { display: inline-flex; align-items: center; gap: 6px; }
.footer .powered svg { width: 12px; height: 12px; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- legal ---------- */
.legal { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 96px; max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin: 28px 0 8px; }
.legal p { color: var(--sec); }
.legal a { color: var(--primary); }
.legal .btn { color: #fff; }
.legal .btn.outline { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .hero .frame { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
html:not(.js) .rv { opacity: 1; transform: none; }
html:not(.js) .hero .frame { opacity: 1; transform: none; }
html:not(.js) .pane { display: block; margin-bottom: 24px; }
html:not(.js) .tour-copy .pane-copy { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }

/* ---------- small screens: replicas and chips ---------- */
.hero .aichip { max-width: 100%; }
.aichip .txt { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .aichip { padding: 8px 12px; gap: 8px; }
  .aichip .txt span { overflow: hidden; text-overflow: ellipsis; }
  .bento .demo .card { flex-wrap: wrap; }
  .bento .demo .stepper { padding-left: 8px; padding-right: 8px; }
  .frame .chrome .url { max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; line-height: 24px; }
}

/* ---------- privacy: every screen is deliberately blurred (the real product is shown on demo) ---------- */
.screen .app > .sb, .screen .app > .main { filter: blur(7px); }
.screen .app .float-toast { filter: none; }
.bento .app.demo > * { filter: blur(4px); }
.frame-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--ter); }
.frame-note svg { width: 14px; height: 14px; }
.hero .frame-note { position: relative; z-index: 1; margin-top: 0; padding: 14px 0 44px; }
/* ---------- calmer look ---------- */
.shine { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--primary); animation: none; }
.hero-bg .orb { animation: none; opacity: .55; }
.hero-bg .grid { opacity: .3; }
section[id], [data-sec] { scroll-margin-top: 84px; }
.trust { color: var(--ter); }
.tab:focus-visible { outline-offset: -3px; }

/* ============================================================================
   Composition pass — fewer identical card grids, more rhythm; the product's
   own motifs (hairlines, stepper dots, sunken wells) instead of decoration.
   ========================================================================== */
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* datasheet: modules & agents as rows in a single card */
.sheet { padding: 0; display: grid; gap: 0; overflow: hidden; }
@media (min-width: 900px) { .sheet { grid-template-columns: 1fr 1fr; } }
.sheet > * { border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; }
@media (min-width: 900px) {
  .sheet > *:nth-child(odd) { border-right: 1px solid var(--border); }
  .sheet > *:nth-last-child(-n+2):nth-child(odd) { border-bottom: 0; }
  .sheet > *:last-child { border-bottom: 0; }
}
@media (max-width: 899px) { .sheet > *:last-child { border-bottom: 0; } }
.mod { padding: 26px 28px; gap: 10px; transition: background .15s; }
.mod:hover { background: var(--sunken); }
.mod .t { gap: 12px; }
.mod .t h3 { font-size: 1.05rem; }
.mod .n { font-family: var(--mono); font-size: 11px; color: var(--ter); letter-spacing: .04em; }
.mod ul { columns: 1; }
.agent { padding: 26px 28px; gap: 10px; display: grid; grid-template-columns: 44px 1fr; grid-template-areas: "tile top" "tile h3" "tile p" "tile ex"; column-gap: 16px; row-gap: 6px; }
.agent .top { grid-area: top; justify-content: flex-start; }
.agent > .tile { grid-area: tile; }
.agent h3 { grid-area: h3; }
.agent p { grid-area: p; }
.agent .ex { grid-area: ex; margin-top: 4px; }

/* security: flat items on hairlines, no boxes */
.rows.four .row { padding: 18px 0 0; border-top: 1px solid var(--border-strong); background: transparent; box-shadow: none; border-radius: 0; flex-direction: column; gap: 12px; }
.rows.four .row .tile { background: transparent; color: var(--primary); width: auto; height: auto; }
.rows.four .row .tile svg { width: 22px; height: 22px; }
.rows.four .row h3 { font-size: 1rem; }

/* roadmap: timeline with the product's stepper dots */
.rmap { position: relative; padding-top: 22px; }
.rmap::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--primary) 0 25%, var(--border-strong) 25%); }
.rmap > div { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 0 20px 0 0; }
.rmap > div::before { content: ""; position: absolute; left: 0; top: -22px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 2px solid var(--border-strong); box-sizing: border-box; }
.rmap > div:first-child::before { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in oklch, var(--primary) 15%, transparent); }
.rmap > div:nth-child(2)::before { border-color: var(--info); }
.rmap > div:nth-child(3)::before { border-color: var(--warning); }
.rmap > div > .pill { align-self: flex-start; }
.rmap h3 { font-size: 1.05rem; }
@media (max-width: 759px) { .rmap::before { display: none; } .rmap > div { padding-left: 26px; } .rmap > div::before { top: 3px; } }

/* onboarding: three connected steps */
.steps { position: relative; }
.step { padding: 0; gap: 12px; position: relative; }
.step .num { position: relative; z-index: 1; }
@media (min-width: 760px) { .step:not(:last-child)::after { content: ""; position: absolute; left: 40px; right: -14px; top: 15px; height: 2px; background: var(--border-strong); } }

/* hero: the application "boots" — one orchestrated entrance */
@keyframes frame-in { from { opacity: 0; transform: perspective(1600px) rotateX(7deg) translateY(28px) scale(.985); } to { opacity: 1; transform: none; } }
.hero .frame { transform-origin: 50% 0; }
.js .hero .frame.in .sb-item { opacity: 0; transform: translateX(-8px); animation: sb-in .45s var(--ease) forwards; animation-delay: calc(.55s + var(--i, 0) * 40ms); }
.js .hero .frame.in .kpi, .js .hero .frame.in .pg > .card, .js .hero .frame.in .pg .grid3 > .card { opacity: 0; transform: translateY(10px); animation: sb-in .5s var(--ease) forwards; animation-delay: calc(.75s + var(--i, 0) * 70ms); }
@keyframes sb-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .hero .frame.in .sb-item, .js .hero .frame.in .kpi, .js .hero .frame.in .pg > .card, .js .hero .frame.in .pg .grid3 > .card { opacity: 1; transform: none; animation: none; } }
.tile.g-ai { background: linear-gradient(135deg, #0065ff, #00e1af); }
.tile.g-primary { background: linear-gradient(135deg, var(--primary), color-mix(in oklch, var(--primary) 55%, #ff6ce4)); }
.hero .frame { transform: translateY(var(--py, 0)); }
.js .hero .frame.in { animation: frame-in .9s var(--ease) forwards .15s; }
.js .hero .frame.in.settled { animation: none; opacity: 1; transform: translateY(var(--py, 0)); }
/* staggered reveal for datasheet rows and flat lists */
.sheet > .rv:nth-child(2n) { --d: 70ms; } .sheet > .rv:nth-child(3n) { --d: 120ms; }
.tab { transition: background .2s var(--ease), color .2s, box-shadow .2s, transform .2s var(--ease); }
.tab:hover { transform: translateY(-1px); }
.pane.on .frame { animation: pane-frame .6s var(--ease); }
@keyframes pane-frame { from { transform: perspective(1400px) rotateX(4deg) translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- integrations marquee (hero) ---------- */
.integrations { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.int-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ter); }
.marquee { width: min(100%, 980px); overflow: hidden; mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; gap: 10px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--card); box-shadow: var(--ring); font-size: 13px; font-weight: 500; color: var(--sec); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SEO block: what a dealership DMS is ---------- */
.why { display: grid; gap: 24px; }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; } .why > div:first-child { position: sticky; top: 96px; } }
.why h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.why-text { display: flex; flex-direction: column; gap: 14px; color: var(--sec); font-size: 16px; line-height: 1.65; max-width: 68ch; }
.why-text b { color: var(--fg); font-weight: 600; }
.guides { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.glink { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--accent); color: var(--primary); font-size: 13.5px; font-weight: 600; transition: transform .2s var(--ease), background .2s; }
.glink svg { width: 14px; height: 14px; }
.glink:hover { transform: translateX(2px); background: color-mix(in oklch, var(--accent) 70%, var(--primary) 12%); }

/* ---------- agents: how an agent works ---------- */
.process { display: grid; gap: 14px; margin-bottom: 20px; }
@media (min-width: 760px) { .process { grid-template-columns: repeat(4, 1fr); } }
.pstep { position: relative; padding: 18px 18px 18px 0; border-top: 2px solid var(--border-strong); display: flex; flex-direction: column; gap: 6px; }
.pstep::before { content: ""; position: absolute; top: -2px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.pstep.in::before { width: 100%; }
.pnum { font-family: var(--mono); font-size: 11px; color: var(--primary); letter-spacing: .06em; }
.pstep h3 { font-size: 1rem; }
.pstep p { font-size: 14px; color: var(--sec); line-height: 1.55; }

/* ---------- AI capabilities grid ---------- */
.ai-grid { display: grid; gap: 12px; }
@media (min-width: 620px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .ai-grid { grid-template-columns: repeat(4, 1fr); } }
.ai-tile { position: relative; padding: 18px 18px 18px 20px; border-radius: 12px; background: var(--card); box-shadow: var(--ring); display: flex; flex-direction: column; gap: 6px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.ai-tile::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #0065ff, #00e1af); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.ai-tile.in::before { transform: scaleY(1); }
.ai-tile:hover { transform: translateY(-2px); box-shadow: var(--ring), var(--e2); }
.ai-tile h3 { font-size: .98rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ai-tile p { font-size: 13.5px; color: var(--sec); line-height: 1.5; }

/* ---------- automation flows ---------- */
.flow { padding: 0; overflow: hidden; }
.flow-tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--border); background: var(--sunken); }
.flow-tabs::-webkit-scrollbar { display: none; }
.flow-tab { flex: 1 0 auto; padding: 14px 18px; font-size: 13.5px; font-weight: 500; color: var(--sec); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s, background .2s; }
.flow-tab:hover { color: var(--fg); background: color-mix(in oklch, var(--card) 60%, var(--sunken)); }
.flow-tab[aria-pressed="true"] { color: var(--primary); border-color: var(--primary); background: var(--card); }
.flow-row { display: grid; gap: 10px; padding: 26px 28px; align-items: stretch; }
@media (min-width: 960px) { .flow-row { grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr; gap: 12px; } }
.fnode { position: relative; padding: 16px 16px 16px 18px; border-radius: 12px; background: var(--sunken); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; opacity: 0; transform: translateY(8px); animation: fnode-in .5s var(--ease) forwards; }
.fnode::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--fc, var(--primary)); }
.fnode.t { --fc: var(--warning); } .fnode.ai { --fc: #00c9a0; } .fnode.c { --fc: var(--info); } .fnode.a { --fc: var(--primary); }
.fnode small { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fc, var(--primary)); }
.fnode b { font-size: 14.5px; font-weight: 600; color: var(--fg); line-height: 1.35; }
.fnode span { font-size: 12.5px; color: var(--ter); }
.fnode.ai { background: color-mix(in oklch, #00e1af 8%, var(--card)); border-color: color-mix(in oklch, #00c9a0 25%, transparent); }
.flow-row .fnode:nth-child(3) { animation-delay: .25s; } .flow-row .fnode:nth-child(5) { animation-delay: .5s; } .flow-row .fnode:nth-child(7) { animation-delay: .75s; }
@keyframes fnode-in { to { opacity: 1; transform: none; } }
.farrow { display: flex; align-items: center; justify-content: center; }
.farrow i { display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--border-strong); position: relative; overflow: hidden; }
.farrow i::after { content: ""; position: absolute; inset: 0; background: var(--primary); transform: translateX(-100%); animation: f-run 2.4s var(--ease) infinite; }
.flow-row .farrow:nth-child(4) i::after { animation-delay: .8s; } .flow-row .farrow:nth-child(6) i::after { animation-delay: 1.6s; }
@keyframes f-run { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }
@media (max-width: 959px) { .farrow { height: 22px; } .farrow i { width: 2px; height: 100%; } .farrow i::after { transform: translateY(-100%); animation-name: f-run-v; } @keyframes f-run-v { 0% { transform: translateY(-100%); } 45%, 100% { transform: translateY(100%); } } }
.recipes { display: grid; gap: 10px; padding: 0 28px 26px; }
@media (min-width: 900px) { .recipes { grid-template-columns: repeat(3, 1fr); } }
.recipe { padding: 14px 16px; border-radius: 10px; border: 1px dashed var(--border-strong); font-size: 13.5px; color: var(--sec); line-height: 1.5; }
.recipe b { color: var(--fg); font-weight: 600; }
@media (max-width: 640px) { .flow-row, .recipes { padding-left: 16px; padding-right: 16px; } .flow-tab { padding: 12px 14px; } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } .fnode { opacity: 1; transform: none; animation: none; } .farrow i::after { animation: none; transform: none; } .pstep::before, .ai-tile::before { transition: none; } }

/* ---------- guide pages (SEO satellites) ---------- */
.guide-page { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 96px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ter); margin-bottom: 28px; }
.crumbs a { color: var(--sec); } .crumbs a:hover { color: var(--fg); }
.crumbs svg { width: 14px; height: 14px; }
.guide-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .guide-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; } .guide-side { position: sticky; top: calc(var(--nav-h) + 24px); } }
.guide-side { display: flex; flex-direction: column; gap: 14px; }
.toc h2 { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ter); margin-bottom: 10px; }
.toc ol { list-style: none; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14px; color: var(--sec); line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--ter); margin-top: 3px; }
.toc a:hover { background: var(--sunken); color: var(--fg); }
.side-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.side-cta h3 { font-size: 1.05rem; } .side-cta p { font-size: 14px; color: var(--sec); }
.side-cta .btn { margin-top: 4px; }
@media (max-width: 999px) { .guide-side .side-cta { display: none; } }
.guide { max-width: 760px; }
.guide h1 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); letter-spacing: -.02em; line-height: 1.12; margin: 14px 0 18px; }
.guide .lede { margin-bottom: 8px; }
.guide h2 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); letter-spacing: -.01em; margin: 44px 0 12px; scroll-margin-top: 90px; }
.guide h2#faq { margin-bottom: 18px; }
.guide p { font-size: 16px; line-height: 1.7; color: var(--sec); margin-bottom: 14px; }
.guide p b, .guide li b { color: var(--fg); font-weight: 600; }
.guide a:not(.btn) { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklch, var(--primary) 35%, transparent); }
.guide ul, .guide ol.numbered { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--sec); }
.guide ul li { padding-left: 18px; position: relative; }
.guide ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.guide ol.numbered { list-style: none; counter-reset: n; }
.guide ol.numbered li { counter-increment: n; padding-left: 40px; position: relative; }
.guide ol.numbered li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--primary); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.tbl-wrap { overflow-x: auto; margin: 8px 0 18px; border-radius: 12px; box-shadow: var(--ring); }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; background: var(--card); }
.cmp th, .cmp td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.cmp th { background: var(--sunken); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ter); font-weight: 600; }
.cmp td:first-child { font-weight: 600; color: var(--fg); white-space: nowrap; }
.cmp td:last-child { color: var(--fg); }
.cmp tr:last-child td { border-bottom: 0; }
.guide .faq { margin: 0 0 40px; max-width: none; }
.guide-cta { margin-top: 40px; padding: 28px; border-radius: 16px; background: var(--fg); color: #fff; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.guide-cta h2 { color: #fff; margin: 0 0 6px; font-size: 1.3rem; }
.guide-cta p { color: rgba(255,255,255,.72); margin: 0; font-size: 15px; }
.guide-cta .cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.guide-cta .btn.ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.guide-cta .btn.ghost:hover { background: rgba(255,255,255,.08); }
/* five-column footer when a Guides column is present */
@media (min-width: 760px) { .footer-grid:has(> :nth-child(5)) { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } }
@media (max-width: 640px) { .frame .chrome .url { display: inline-flex; align-items: center; gap: 6px; max-width: 70%; } .frame .chrome .url svg { flex-shrink: 0; } }

/* ---------- UX pass (ui-ux-pro-max checklist) ---------- */
/* grids never widen past the viewport (min-content of tabs / tables) */
.tour, .guide-grid { grid-template-columns: minmax(0, 1fr); }
.tour > *, .guide-grid > *, .guide, .guide-side { min-width: 0; }
@media (min-width: 960px) { .tour { grid-template-columns: 300px minmax(0, 1fr); } }
@media (min-width: 1000px) { .guide-grid { grid-template-columns: 280px minmax(0, 1fr); } }
/* touch targets ≥ 44 px on touch devices, compact on pointer devices */
@media (pointer: coarse) {
  .btn.sm, .lang, .menu a, .tab, .flow-tab, .burger, .footer a, .toc a, .crumbs a, .glink, .mnav a { min-height: 44px; }
  .btn.sm, .lang, .glink { display: inline-flex; align-items: center; }
  .footer a, .toc a, .mnav a { display: flex; align-items: center; }
  .faq summary { min-height: 56px; }
}
/* readable body text on small screens */
@media (max-width: 640px) {
  .mod p, .agent p, .step p, .pstep p, .bento p, .pane-copy p, .tour-copy p, .why-text, .guide p, .guide li, .rmap ul, .rows p, .mod ul { font-size: 16px; }
  .ai-tile p, .recipe, .fnode b, .tour-copy li, .footer a { font-size: 15px; }
}
/* every interactive element shows a hand cursor */
a, button, summary, [role="button"], .tab, .flow-tab { cursor: pointer; }
/* stable hover: colour and shadow only, no layout shift on cards */
.card.lift:hover { transform: translateY(-2px); }
