/* Axral marketing site
   Layout and motion follow a clean fintech-style landing page: white surfaces,
   one soft navy glow, near-black actions, and product UI rendered as live HTML.
   Product components (.app-*) use the operator app's own tokens. */

@font-face {
  font-family: "Google Sans Flex";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/google-sans-flex-latin.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;
}

:root {
  --ink: #041319;
  --text: #45474d;
  --muted: #676b74;
  --faint: #a1a6a8;
  --line: #ebebf1;
  --line-2: #f0f0f3;
  --gray: #f7f7f7;
  --gray-2: #fafafa;
  --white: #fff;
  /* Navy/cobalt accent tints */
  --glow-tint: oklch(92% 0.04 262);
  --focus-ring: oklch(56% 0.18 260 / .22);
  --deep: #062b3a;
  --blue: #0177cc;
  --radius: 16px;
  --radius-sm: 12px;
  --btn-radius: 12px;
  --max: 1312px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Google Sans Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Operator app tokens, from src/styles.css */
  --a-canvas: oklch(97.7% .004 82);
  --a-surface: oklch(99.4% .002 82);
  --a-soft: oklch(95.5% .004 82);
  --a-strong: oklch(91.8% .005 82);
  --a-ink: oklch(17% .005 70);
  --a-ink2: oklch(29% .006 70);
  --a-muted: oklch(46% .007 70);
  --a-line: oklch(87% .006 75);
  --a-line2: oklch(92.5% .004 75);
  --a-accent: oklch(19% .005 70);
  --a-success: oklch(45% .105 158);
  --a-success-bg: oklch(94% .035 158);
  --a-warning: oklch(52% .105 72);
  --a-warning-bg: oklch(95% .038 82);
  --a-danger: oklch(50% .16 27);
  --a-danger-bg: oklch(95% .033 25);
  --a-occupied: oklch(47% .13 257);
  --a-occupied-bg: oklch(94.5% .025 257);
  --a-reserved: oklch(68% .07 240);
  --a-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --a-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--white);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
.i { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { color: var(--white); background: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; z-index: 200; top: 12px; left: 12px;
  padding: 10px 14px; border-radius: var(--btn-radius);
  color: var(--white); background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Type */
.display { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.067; letter-spacing: 0; }
.h2 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.2; letter-spacing: 0; }
.h3 { font-size: clamp(22px, 2.6vw, 36px); line-height: 1.2; letter-spacing: 0; }
.lead { font-size: 18px; line-height: 1.433; color: var(--text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 14px; line-height: 20px; letter-spacing: 0; text-transform: uppercase;
}
.eyebrow svg { width: 18px; height: 18px; color: var(--blue); }
.section-head { max-width: 760px; margin: 0 auto; display: grid; justify-items: center; gap: 18px; text-align: center; }
.section-head .lead { max-width: 460px; }
.section-head.left { margin: 0; justify-items: start; text-align: left; }

/* Buttons */
.btn {
  min-height: 44px; padding: 0 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--btn-radius);
  color: var(--white); background: var(--ink);
  font-size: 16px; font-weight: 400; white-space: nowrap;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.btn:hover { background: #45474d; }
.btn:active { transform: scale(.97); }
.btn--ghost { color: var(--ink); background: var(--white); border-color: var(--line); box-shadow: 0 1px 2px rgb(4 19 25 / .04); }
.btn--ghost:hover { background: var(--gray-2); box-shadow: 0 1px 2px rgb(4 19 25 / .06); }
.btn--lg { min-height: 50px; padding: 0 22px; font-size: 18px; border-radius: 11px; }
.btn--block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 16px; }
.text-link .chev {
  width: 18px; height: 18px; display: grid; place-items: center;
  border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgb(4 19 25 / .12);
  transition: transform .25s var(--ease);
}
.text-link .chev svg { width: 10px; height: 10px; }
.text-link:hover .chev { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { height: 68px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.brand-logo { display: block; width: 132px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--text); font-size: 16px; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; place-items: center;
  border: 1px solid var(--line); border-radius: var(--btn-radius); background: var(--white);
}
.menu-toggle span { display: block; width: 16px; height: 1.5px; margin: 2px auto; background: var(--ink); transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 68px 0 auto; z-index: 49;
  padding: 12px var(--gutter) 24px;
  display: grid; gap: 6px;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 40px -24px rgb(4 19 25 / .25);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.mobile-menu a:not(.btn) { padding: 12px 0; color: var(--ink); font-size: 20px; border-bottom: 1px solid var(--line-2); }
.mobile-menu .btn { margin-top: 12px; }

/* Hero */
.hero { position: relative; padding: clamp(56px, 7.2vw, 104px) 0 0; text-align: center; isolation: isolate; background: #fff; }
.hero-glow {
  position: absolute; z-index: -1; left: 50%; top: 90px;
  width: min(1100px, 120vw); height: 620px; transform: translateX(-50%);
  background:
    radial-gradient(30% 26% at 50% 82%, oklch(56% 0.18 260 / .32), transparent 72%),
    radial-gradient(48% 44% at 50% 76%, oklch(36% 0.15 264 / .42), transparent 70%),
    radial-gradient(30% 34% at 28% 82%, oklch(44% 0.15 250 / .22), transparent 70%),
    radial-gradient(30% 34% at 72% 82%, oklch(40% 0.16 272 / .22), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: glow-drift 14s ease-in-out infinite alternate;
}
@keyframes glow-drift { to { transform: translateX(-50%) translateY(-18px) scale(1.04); } }
.hero h1 { max-width: 736px; margin: 0 auto; }
.hero h1 .word { display: inline-block; }
.hero .lead { max-width: 600px; margin: 22px auto 0; }
.signup {
  width: min(100%, 446px); margin: 44px auto 0; padding: 7px 7px 7px 20px;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--white);
  box-shadow: 0 1px 2px rgb(4 19 25 / .04);
  transition: border-color .2s, box-shadow .2s;
}
.signup:focus-within { border-color: #cfd6da; box-shadow: 0 0 0 4px var(--focus-ring); }
.signup input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.signup input::placeholder { color: var(--muted); }
.signup .btn { min-height: 50px; padding: 0 22px; font-size: 18px; border-radius: 10px; }
.signup-note { margin-top: 18px; color: var(--ink); font-size: 16px; }

.hero-product { position: relative; margin-top: clamp(48px, 6vw, 56px); }
.hero-product::after {
  content: ""; position: absolute; inset: auto -4px -2px; height: 46%;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), #fff 82%);
  pointer-events: none;
}

/* Product preview frame */
.window {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px 12px 0 0;
  background: var(--white);
  text-align: left;
}

/* Scaled app canvas: renders the app at a fixed width, then scales to fit */
.scaled { position: relative; overflow: hidden; }
.scaled > .scaled-inner { position: absolute; top: 0; left: 0; transform-origin: 0 0; }

/* Sections */
.section { padding: clamp(88px, 11vw, 140px) 0; }
.section--gray { background: var(--gray-2); }
.section--tight { padding-top: clamp(64px, 8vw, 100px); }

/* Bento */
.bento { margin-top: 60px; display: grid; grid-template-columns: 725fr 563fr; gap: 24px; }
.bento .card:nth-child(3) { grid-column: 1; }
.bento-row-2 { grid-template-columns: 563fr 725fr; margin-top: 24px; }
.card {
  position: relative; overflow: hidden;
  min-height: 610px; padding: 24px 24px 0;
  display: flex; flex-direction: column;
  border-radius: var(--radius); background: var(--gray);
}
.card-title { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 20px; }
.icon-tile {
  width: 32px; height: 32px; flex: none; display: grid; place-items: center;
  border-radius: 8px; background: var(--white); box-shadow: 0 1px 2px rgb(4 19 25 / .06);
}
.icon-tile svg { width: 16px; height: 16px; }
.card > p { max-width: 560px; margin-top: 18px; color: var(--text); font-size: 16px; line-height: 1.65; }
.card .text-link { margin-top: 26px; }
.card-stage { position: relative; flex: 1; margin-top: 28px; display: grid; place-items: end center; }

/* Floating notification chips */
.chip {
  position: absolute; z-index: 3;
  padding: 10px 14px 10px 10px;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  box-shadow: 0 10px 30px -12px rgb(4 19 25 / .22);
  text-align: left; white-space: nowrap;
}
.chip b { display: block; color: var(--ink); font-size: 12px; font-weight: 500; }
.chip small { display: block; color: var(--text); font-size: 9.5px; }
.chip .dot-icon { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; color: var(--white); background: #1fb35a; }
.chip .dot-icon svg { width: 15px; height: 15px; }
.chip--pill { padding: 7px 12px 7px 8px; border-radius: 999px; font-size: 13px; color: var(--ink); }
.chip--pill .dot-icon { width: 20px; height: 20px; border-radius: 50%; }
.chip--pill .dot-icon svg { width: 11px; height: 11px; }
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty.alt { animation-duration: 7.5s; animation-delay: -2s; }
@keyframes floaty { 50% { transform: translateY(-7px); } }
body :is(.floaty, .hero-glow, .pulse-ring), body .cta::before, body .orbit .spin, body .orbit .node > * { animation-play-state: var(--motion-play-state, running); }

/* Sticky stacked feature panels */
.stack { margin-top: 0; display: grid; gap: 32px; }
.stack-card {
  position: sticky; top: 120px;
  min-height: 539px;
  padding: 32px;
  display: grid; grid-template-columns: 580fr 608fr; gap: 60px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transform-origin: 50% 0;
  will-change: transform;
}
.stack-copy { display: flex; flex-direction: column; padding: 8px 0 0; }
.stack-copy h2 { margin-top: 18px; max-width: 470px; }
.stack-copy .lead { max-width: 430px; margin-top: 22px; }
.checks { margin-top: auto; padding-top: 32px; display: grid; gap: 18px; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 16px; }
.checks li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--gray) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23041319' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat;
}
.stack-stage { position: relative; min-height: 475px; overflow: hidden; display: grid; place-items: center; border-radius: 16px; background: var(--gray); }


/* Integrations */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.split .btn { margin-top: 44px; justify-self: start; }
.tile-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  mask-image: radial-gradient(75% 70% at 55% 50%, #000 45%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 70% at 55% 50%, #000 45%, transparent 100%);
}
.tile {
  aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 14px; background: var(--gray-2);
  transition: transform .4s var(--ease), background-color .3s;
}
.tile:hover { transform: translateY(-3px); background: var(--gray); }
.tile .logo { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: -.02em; }
.tile.is-brand { background: var(--ink); }
.tile.is-brand svg { width: 46%; height: 46%; color: var(--white); }

/* Security */
.sec { align-items: stretch; }
.sec .module-stage { min-height: 560px; }
.sec-points { margin-top: 36px; display: grid; gap: 22px; }
.sec-points li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; color: var(--text); font-size: 15px; line-height: 1.55; }
.sec-points .icon-tile { color: var(--ink); background: var(--gray); box-shadow: none; }
.sec-points b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 16px; font-weight: 500; }
.sec-log { width: calc(100% - 48px); max-width: 520px; padding: 18px; font-family: var(--a-sans); }
.sec-log-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--a-line2); }
.sec-log-head b { display: block; color: var(--a-ink); font-size: 14px; font-weight: 650; }
.sec-log-head small { color: var(--a-muted); font-size: 11.5px; }
.sec-log-list { margin: 0; padding: 0; display: grid; list-style: none; }
.sec-log-list li { display: grid; grid-template-columns: 30px 1fr auto; align-items: start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--a-line2); }
.sec-log-list li:last-child { padding-bottom: 2px; border-bottom: 0; }
.sec-av { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--c); font-size: 10.5px; font-weight: 650; }
.sec-what { display: grid; gap: 3px; min-width: 0; }
.sec-what b { color: var(--a-ink); font-size: 12.5px; font-weight: 650; }
.sec-what small { color: var(--a-muted); font-size: 11px; }
.sec-diff { margin-top: 4px; color: var(--a-ink); font-size: 11.5px; }
.sec-diff s { color: var(--a-muted); }
.sec-reason { justify-self: start; margin-top: 4px; padding: 5px 9px; border-radius: 7px; color: var(--a-ink2); background: var(--a-soft); font-size: 11.5px; }
.sec-chip { right: 28px; bottom: 24px; }
.feature-cards { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 24px 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--gray-2); }
.feature-card .card-title { font-size: 18px; }
.feature-card p { margin-top: 40px; color: var(--text); font-size: 16px; line-height: 1.65; }
.center-link { margin-top: 52px; display: flex; justify-content: center; }

/* Steps */
.steps { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.step { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--gray); }
.step-visual { position: relative; height: 320px; overflow: hidden; }
.step-num { position: absolute; top: 24px; left: 24px; z-index: 2; padding: 6px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); font-size: 16px; }
.step-body { padding: 0 24px 26px; }
.step-body h3 { font-size: 18px; }
.step-body p { margin-top: 22px; font-size: 16px; line-height: 1.65; }

/* Dark showcase carousel */
.showcase-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.showcase {
  position: relative; margin-top: 56px; overflow: hidden;
  height: 736px;
}
.slides { height: 100%; display: flex; gap: 24px; transition: transform 1.15s ease; }
.slide {
  position: relative; flex: 0 0 100%; overflow: hidden;
  padding: 48px clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
  border-radius: var(--radius); color: var(--white);
  background:
    radial-gradient(60% 80% at 85% 40%, oklch(58% 0.18 260 / .32), transparent 70%),
    radial-gradient(40% 60% at 70% 90%, oklch(48% 0.17 274 / .22), transparent 70%),
    linear-gradient(120deg, #040a19 10%, #0a1c45 65%, #102a63);
}
.slide-copy { align-self: end; padding-bottom: 32px; }
.slide-copy .kicker { color: rgb(255 255 255 / .85); font-size: 24px; }
.slide-copy .statement { margin: 44px 0 0; color: var(--white); font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; line-height: 1.2; }
.slide-copy .text-link { margin-top: 44px; color: var(--white); }
.slide-copy .text-link .chev { background: rgb(255 255 255 / .2); color: var(--white); box-shadow: none; }
.slide-visual { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; }
.dots { position: absolute; right: 72px; bottom: 44px; z-index: 2; padding: 9px 10px; display: flex; gap: 8px; border-radius: 10px; background: rgb(255 255 255 / .14); backdrop-filter: blur(8px); }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .4); transition: background-color .3s, width .3s var(--ease); }
.dots button[aria-pressed="true"] { width: 20px; border-radius: 4px; background: var(--white); }

/* CTA */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 7vw, 76px) 24px;
  border-radius: var(--radius); text-align: center;
  background:
    radial-gradient(45% 70% at 12% 100%, oklch(54% 0.18 261 / .36), transparent 70%),
    radial-gradient(40% 70% at 90% 10%, oklch(42% 0.16 266 / .30), transparent 70%),
    linear-gradient(125deg, #eef3fd, #d6e1fa 35%, #f0f4fd 55%, #c6d4f6 85%, #dfe7fb);
}
.cta::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: conic-gradient(from 210deg at 50% 50%, oklch(56% 0.18 260 / 0), oklch(56% 0.18 260 / .30), rgb(255 255 255 / .55), oklch(40% 0.16 266 / .26), oklch(56% 0.18 260 / 0));
  filter: blur(60px);
  animation: cta-spin 22s linear infinite;
}
@keyframes cta-spin { to { transform: rotate(1turn); } }
.cta h2 { max-width: 860px; margin: 0 auto; }
.cta .lead { max-width: 650px; margin: 22px auto 0; }
.cta .signup { margin-top: 44px; border-color: transparent; }

/* Footer */
.site-footer { padding: 104px 0 56px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.footer-brand .brand-logo { width: 156px; }
.footer-brand p { max-width: 380px; margin-top: 44px; color: var(--ink); font-size: 18px; line-height: 1.35; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 32px; }
.footer-cols h3 { font-size: 16px; font-weight: 500; }
.footer-cols ul { margin-top: 24px; display: grid; gap: 14px; }
.footer-cols a { color: var(--text); font-size: 16px; transition: color .2s; }
.footer-cols a:hover { color: var(--ink); }
.footer-word {
  display: block; width: 100%; height: auto; aspect-ratio: 822 / 118;
  margin: 64px 0 0; color: #f5f5f6; user-select: none;
}
.footer-bottom { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--text); font-size: 14px; }
.footer-bottom .badges { display: flex; gap: 12px; }
.footer-bottom .badges span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 14px; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: clamp(72px, 10vw, 120px) 0 clamp(40px, 6vw, 64px); text-align: center; isolation: isolate; }
.page-hero .hero-glow { top: 40px; height: 420px; opacity: .7; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { max-width: 860px; margin: 18px auto 0; }
.page-hero .lead { max-width: 620px; margin: 22px auto 0; }
.page-hero .hero-actions { margin-top: 40px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Module directory (platform page) */
.module-nav {
  position: sticky; top: 68px; z-index: 30;
  background: rgb(255 255 255 / .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
}
.module-nav ul { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.module-nav ul::-webkit-scrollbar { display: none; }
.module-nav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--text); font-size: 15px; white-space: nowrap; transition: color .2s, background-color .2s; }
.module-nav a:hover { color: var(--ink); background: var(--gray); }
.module-nav a.is-active { color: var(--white); background: var(--ink); }
.module { padding: clamp(72px, 9vw, 112px) 0 0; scroll-margin-top: 130px; }
.module-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.module:nth-child(even) .module-grid { grid-template-columns: 1.1fr .9fr; }
.module:nth-child(even) .module-copy { order: 2; }
.module-copy h2 { margin-top: 18px; }
.module-copy .lead { margin-top: 20px; }
.module-copy .checks { margin-top: 0; padding-top: 36px; }
.module-stage { position: relative; min-height: 460px; overflow: hidden; display: grid; place-items: center; border-radius: var(--radius); background: var(--gray); }
.module-more { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* FAQ */
.faq { max-width: 860px; margin: 56px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: var(--ink); font-size: 20px; list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 28px; height: 28px; flex: none; border-radius: 50%;
  background: var(--gray) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23041319' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 26px 0; color: var(--text); font-size: 16px; line-height: 1.7; }
.faq details[open] p { animation: faq-in .4s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* Waitlist / contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-points { margin-top: 44px; display: grid; gap: 14px; }
.contact-point { padding: 20px 22px; display: flex; gap: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--gray-2); }
.contact-point b { display: block; color: var(--ink); font-weight: 400; font-size: 17px; }
.contact-point span { display: block; margin-top: 4px; font-size: 15px; }
.form-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 30px 60px -40px rgb(4 19 25 / .3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; min-width: 0; margin: 0; padding: 0; border: 0; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-card .btn:disabled { cursor: default; opacity: .65; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 14px; }
.field label small { color: var(--muted); font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--btn-radius); background: var(--gray-2);
  color: var(--ink); font-size: 16px; outline: 0;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23041319' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field textarea { min-height: 110px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #cfd6da; background-color: var(--white); box-shadow: 0 0 0 4px var(--focus-ring); }
@media (forced-colors: active) {
  .field select { appearance: auto; background-image: none; }
}
.form-card .btn { margin-top: 24px; }
.form-foot { margin-top: 14px; color: var(--muted); font-size: 13px; text-align: center; }
.form-status { margin-top: 14px; padding: 12px 14px; display: none; border-radius: 10px; background: #e9fbf1; color: #12663b; font-size: 14px; }
.form-status.is-visible { display: block; }
.form-status[data-state="error"] { background: var(--a-danger-bg); color: var(--a-danger); }

/* Reveal motion */
/* Overdamped spring (stiffness 250, damping 40, mass 1) approximated as an ease-out */
.reveal { opacity: .001; transform: translateY(var(--y, 22px)); transition: opacity .75s var(--ease) var(--d, 0s), transform .75s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.up { --y: 50px; }
.reveal-scale { opacity: .001; transform: translateY(50px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.reveal-scale.is-in { opacity: 1; transform: none; }
.pop { opacity: 0; transform: translateY(14px) scale(.92); transition: opacity .6s var(--ease-out) var(--d, 0s), transform .6s var(--ease-out) var(--d, 0s); }
.is-in .pop, .pop.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .reveal-scale, .no-js .pop { opacity: 1; transform: none; filter: none; }
/* Scaled canvases need JavaScript for their dimensions; keep their descriptions visible without it. */
.no-js :is(.hero-product, .units-preview, .message-preview) .scaled-inner { display: none; }
.no-js :is(.hero-product [data-scale], .units-preview, .message-preview)::before {
  content: attr(aria-label); min-height: 240px; padding: 28px;
  display: grid; place-content: center; border-radius: 12px; background: var(--gray-2);
  color: var(--text); font: 400 15px/1.6 var(--font); text-align: left;
}
.no-js .hero-product::after, .no-js .hero-product > .chip { display: none; }
.no-js .cal-demo > .sr-only { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; padding: 28px; border-radius: 12px; background: var(--gray-2); }
.no-js .cal-demo > .cal-frame { display: none; }

/* ============ Live product components (operator app look) ============ */
.app { color: var(--a-ink2); font: 13px/1.45 var(--a-sans); -webkit-font-smoothing: antialiased; letter-spacing: 0; }
.app strong, .app b { color: var(--a-ink); font-weight: 650; }
.app .mono { font-family: var(--a-mono); font-variant-numeric: tabular-nums; }
.app-panel { border: 1px solid var(--a-line); border-radius: 14px; background: var(--a-surface); box-shadow: 0 1px 2px #1815120d, 0 8px 28px #1815120a; }
.app .av, .av { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 650; background: color-mix(in oklch, var(--c, #9a7b6a) 80%, black); }
.av.soft { color: var(--a-ink2); background: color-mix(in oklch, var(--c) 16%, white); }
.pill { width: max-content; padding: 3px 9px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.occupied { color: var(--a-occupied); background: var(--a-occupied-bg); }
.pill.available { color: var(--a-success); background: var(--a-success-bg); }
.pill.warn { color: var(--a-warning); background: var(--a-warning-bg); }
.pill.danger { color: var(--a-danger); background: var(--a-danger-bg); }
.pill.muted { color: var(--a-muted); background: var(--a-soft); }
.pill.plain::before { display: none; }
.tag { padding: 3px 7px; border-radius: 6px; font: 650 9.5px var(--a-mono); letter-spacing: .08em; color: var(--a-warning); background: var(--a-warning-bg); border: 1px solid color-mix(in oklch, var(--a-warning) 25%, transparent); }

/* Hero dashboard */
.dash { width: 1280px; height: 700px; display: grid; grid-template-columns: 236px 1fr; grid-template-rows: 58px 1fr; background: var(--a-canvas); }
.dash-top { grid-column: 1 / -1; padding: 0 24px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--a-line2); background: var(--a-surface); }
.dash-top .org { flex: none; white-space: nowrap; display: flex; align-items: center; gap: 10px; color: var(--a-ink); font-weight: 650; font-size: 14px; }
.dash-top .org svg { width: 20px; height: 20px; }
.dash-search { margin-left: auto; flex: 0 1 300px; min-width: 200px; height: 32px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--a-soft); color: var(--a-muted); font-size: 12px; }
.dash-search svg { width: 14px; height: 14px; }
.dash-search kbd { margin-left: auto; font: 10px var(--a-sans); color: var(--a-muted); }
.dash-tabs { flex: none; margin-left: auto; display: flex; gap: 18px; font-size: 12.5px; color: var(--a-muted); }
.dash-tabs span { position: relative; padding: 18px 0; }
.dash-tabs .on { color: var(--a-ink); font-weight: 600; }
.dash-tabs .on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--a-ink); }
.dash-tabs i { margin-left: 5px; padding: 1px 6px; border-radius: 99px; color: #fff; background: var(--a-occupied); font-style: normal; font-size: 10px; }
.dash-tools { flex: none; padding-left: 12px; display: flex; align-items: center; gap: 6px; border-left: 1px solid var(--a-line); }
.dash-tool { position: relative; width: 32px; height: 32px; display: grid; place-items: center; color: var(--a-ink2); }
.dash-tool .i { width: 17px; height: 17px; }
.dash-notifications i { position: absolute; top: 0; right: 0; min-width: 14px; height: 14px; padding: 0 3px; display: grid; place-items: center; border-radius: 999px; background: var(--a-ink); color: #fff; font-size: 9px; font-weight: 650; font-style: normal; line-height: 1; }
.app .dash-profile { --c: var(--a-success); margin-left: 4px; }
.dash-side { padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--a-line2); background: var(--a-canvas); }
.facility { margin-bottom: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; border-radius: 12px; background: var(--a-soft); }
.facility .ic { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--a-surface); }
.facility .ic svg { width: 16px; height: 16px; }
.facility small { display: block; color: var(--a-muted); font-size: 10px; }
.facility b { display: block; font-size: 12px; }
.side-item { padding: 8px 10px; display: flex; align-items: center; gap: 10px; border-radius: 9px; color: var(--a-ink2); font-size: 12.5px; font-weight: 550; }
.side-item svg { width: 16px; height: 16px; flex: none; color: var(--a-ink2); }
.side-item.on { background: var(--a-surface); box-shadow: 0 0 0 1px var(--a-line2), 0 1px 2px #0000000a; color: var(--a-ink); }
.side-item i { margin-left: auto; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--a-occupied); font-style: normal; font-size: 10px; }
.side-label { margin: 14px 10px 4px; color: var(--a-muted); font: 650 9.5px var(--a-mono); letter-spacing: .13em; }
.dash-main { padding: 22px 26px; overflow: hidden; }
.dash-head { display: flex; align-items: center; gap: 16px; }
.dash-head h3 { color: var(--a-ink); font: 700 24px/1 var(--a-sans); letter-spacing: -.03em; }
.dash-head .sub { padding-left: 16px; border-left: 1px solid var(--a-line); }
.dash-head .sub b { display: block; font-size: 12.5px; }
.dash-head .sub span { color: var(--a-muted); font-size: 11.5px; }
.dash-head .actions { margin-left: auto; display: flex; gap: 8px; }
.a-btn { height: 34px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--a-line); border-radius: 9px; background: var(--a-surface); color: var(--a-ink); font-size: 12px; font-weight: 650; }
.a-btn.dark { border-color: var(--a-accent); color: #fff; background: var(--a-accent); }
.a-btn svg { width: 13px; height: 13px; }
.kpis { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--a-line); border-radius: 14px; background: var(--a-surface); box-shadow: 0 1px 2px #1815120d; }
.kpi { min-height: 184px; padding: 18px; display: flex; flex-direction: column; border-right: 1px solid var(--a-line2); }
.kpi:last-child { border: 0; background: color-mix(in oklch, var(--a-danger-bg) 70%, white); }
.kpi-h { display: flex; gap: 10px; }
.kpi-h .ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; }
.kpi-h .ic svg { width: 15px; height: 15px; }
.kpi-h b { display: block; font-size: 13px; }
.kpi-h span { display: block; color: var(--a-muted); font-size: 11px; }
.kpi-v { margin-top: 14px; color: var(--a-ink); font: 700 38px/1 var(--a-sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.kpi-v small { font-size: 18px; font-weight: 600; }
.kpi-foot { margin-top: auto; }
.kpi-foot p { margin-bottom: 8px; font-size: 11.5px; }
.seg { display: flex; gap: 3px; }
.seg i { flex: 1; height: 12px; border-radius: 3px; background: var(--a-occupied); transform-origin: left; }
.seg i.off { background: var(--a-strong); }
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini { padding: 8px 10px; display: flex; align-items: center; gap: 8px; border-radius: 9px; background: var(--a-success-bg); }
.mini.neg { background: var(--a-danger-bg); }
.mini svg { width: 14px; height: 14px; color: var(--a-success); }
.mini.neg svg { color: var(--a-danger); }
.mini b { display: block; font-size: 15px; line-height: 1; }
.mini span { font-size: 10.5px; color: var(--a-muted); }
.dash-row { margin-top: 18px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.attn { padding: 16px 18px; }
.attn h4, .units-box h4 { display: flex; align-items: center; gap: 8px; color: var(--a-ink); font: 650 14px var(--a-sans); }
.attn h4 i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--a-warning); background: var(--a-warning-bg); font-style: normal; font-size: 10px; }
.attn-row { padding: 11px 0; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--a-line2); }
.attn-row:last-child { border: 0; }
.attn-row .ic { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; color: var(--a-warning); background: var(--a-warning-bg); }
.attn-row .ic svg { width: 13px; height: 13px; }
.attn-row b { display: block; font-size: 12.5px; }
.attn-row span { display: block; color: var(--a-muted); font-size: 11px; }
.units-box { padding: 16px 18px; }
.units-box h4 span { margin-left: auto; color: var(--a-muted); font-weight: 500; font-size: 12px; }
.ustats { margin-top: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ustats div { padding: 8px 10px; border-radius: 9px; background: var(--a-occupied-bg); }
.ustats div:nth-child(2) { background: var(--a-success-bg); }
.ustats div:nth-child(3) { background: color-mix(in oklch, var(--a-reserved) 14%, white); }
.ustats div:nth-child(4) { background: var(--a-warning-bg); }
.ustats b { display: block; font-size: 17px; }
.ustats span { font-size: 10.5px; color: var(--a-muted); }
.sizes { margin-top: 14px; display: grid; gap: 9px; }
.size-row { display: grid; grid-template-columns: 52px 1fr 70px; align-items: center; gap: 10px; font-size: 12px; }
.size-row b { font-size: 12px; }
.size-row em { color: var(--a-success); font-style: normal; text-align: right; font-size: 11.5px; }
.squares { display: flex; gap: 2px; }
.squares i { width: 9px; height: 9px; border-radius: 2px; background: var(--a-occupied); }
.squares i.off { background: var(--a-strong); }
.squares i.free { background: var(--a-success); }

/* Unit inventory preview, following src/features/units/UnitTable.tsx. */
.units-preview { width: 100%; max-width: 620px; }
.module-stage .units-preview { width: calc(100% - 40px); }
.up-app { width: 860px; height: 480px; padding: 14px 0 0; }
.up-status-tabs { margin-bottom: 16px; display: flex; gap: 8px; }
.up-status-tabs > span { white-space: nowrap; min-height: 34px; padding: 7px 12px; display: inline-flex; align-items: center; gap: 8px; color: var(--a-muted); font-size: 13px; }
.up-status-tabs .selected { border: 1px solid var(--a-line); border-radius: 8px; color: var(--a-ink); background: var(--a-surface); box-shadow: 0 1px 2px #1815120d; }
.up-status-tabs b { padding: 0 5px; border-radius: 4px; background: var(--a-soft); font-size: 12px; }
.up-status-tabs i { width: 6px; height: 6px; border-radius: 50%; background: var(--a-success); }
.up-status-tabs i.occupied { background: var(--a-occupied); }
.up-status-tabs i.maintenance { background: var(--a-warning); }
.up-panel { overflow: hidden; border: 1px solid var(--a-line); border-radius: 14px; background: var(--a-surface); box-shadow: 0 1px 2px #1815120d; }
.up-toolbar { min-height: 76px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.up-toolbar > span:first-child { display: grid; gap: 3px; }
.up-toolbar > span:first-child b { font-size: 16px; }
.up-toolbar small { color: var(--a-muted); font-size: 12px; }
.up-search { height: 36px; margin-left: auto; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--a-line); border-radius: 8px; color: var(--a-muted); font-size: 12px; }
.up-search .i, .up-toolbar .a-btn .i { width: 15px; height: 15px; }
.up-toolbar .a-btn { font-size: 12px; }
.up-table { width: 100%; border-collapse: collapse; text-align: left; }
.up-table th { height: 37px; padding: 8px 12px; border-block: 1px solid var(--a-line2); color: var(--a-muted); background: var(--a-soft); font-size: 11px; font-weight: 600; white-space: nowrap; }
.up-table td { height: 50px; padding: 6px 12px; border-bottom: 1px solid var(--a-line2); font-size: 13px; vertical-align: middle; }
.up-table tr:last-child td { border-bottom: 0; }
.up-table :is(th, td):first-child { width: 34px; padding-right: 0; }
.up-checkbox { width: 14px; height: 14px; display: inline-block; border: 1px solid var(--a-line); border-radius: 3px; background: var(--a-surface); }
.up-table td > b { display: block; font-size: 14px; }
.up-table td > small { display: block; color: var(--a-muted); font-size: 11px; white-space: nowrap; }
.up-tenant { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.up-tenant b { font-size: 12px; font-weight: 600; }
.up-avatar { width: 30px; height: 30px; display: grid; flex: none; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(180deg, oklch(72% .11 var(--avatar-hue)), oklch(58% .12 var(--avatar-hue))); font-size: 11px; font-weight: 650; }
.up-vacant { color: var(--a-muted); }
.up-vacant.available { color: var(--a-success); font-weight: 600; }
.up-feature { padding: 3px 7px; border: 1px solid var(--a-line2); border-radius: 6px; color: var(--a-ink2); font-size: 11px; white-space: nowrap; }
.up-table .up-rate { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.up-table td.up-rate { color: var(--a-ink); font-weight: 650; }
.up-table .up-rate small { display: inline; margin-left: 2px; font-size: 10px; font-weight: 400; }
.up-status { padding: 5px 9px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; color: var(--a-success); background: var(--a-success-bg); font-size: 11px; font-weight: 600; }
.up-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.up-status.occupied { color: var(--a-occupied); background: var(--a-occupied-bg); }
.up-status.maintenance { color: var(--a-warning); background: var(--a-warning-bg); }
.up-status .i { width: 12px; height: 12px; transform: rotate(90deg); }

/* Keep the inventory canvas steady as the demo filters its rows. */
.units-preview .up-panel { height: 414px; }
.units-preview [hidden] { display: none !important; }
.up-status-tabs > span { border: 1px solid transparent; border-radius: 8px; transition: background-color 180ms ease-out, border-color 180ms ease-out; }
@media (prefers-reduced-motion: reduce) {
  .up-status-tabs > span { transition: none; }
}
.up-mobile { display: none; }
@media (max-width: 810px) {
  .units-preview .up-app { width: 480px; height: 680px; }
  .units-preview .up-panel { height: 620px; }
  .units-preview .up-status-tabs > span { padding-inline: 8px; gap: 6px; }
  .units-preview .up-table, .units-preview .up-search { display: none; }
  .units-preview .up-toolbar .a-btn { margin-left: auto; }
  .up-mobile { padding: 0 12px 12px; display: grid; gap: 10px; }
  .up-mobile-card { padding: 12px; border: 1px solid var(--a-line); border-radius: 10px; }
  .up-mobile-card > div { display: flex; align-items: center; gap: 10px; }
  .up-mobile-card > div > b { font-size: 15px; }
  .up-mobile-card .up-status { margin-left: auto; }
  .up-mobile-card section { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .up-mobile-card section span { display: grid; gap: 3px; }
  .up-mobile-card section small { color: var(--a-muted); font-size: 11px; }
  .up-mobile-card section b { font-size: 13px; font-weight: 600; }
}

/* Payment list component */
.paylist { width: min(100%, 398px); padding: 18px 22px 6px; border-radius: 14px 14px 0 0; border-bottom: 0; }
.paylist-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.paylist-head b { font-size: 13.5px; }
.paylist-head a { color: var(--a-occupied); font-size: 11.5px; }
.payrow { min-height: 64px; display: grid; grid-template-columns: 34px 1fr auto 10px; align-items: center; gap: 12px; border-bottom: 1px solid var(--a-line2); }
.payrow:last-child { border: 0; }
.payrow .av { width: 32px; height: 32px; }
.payrow b { display: block; font-size: 13px; }
.payrow span { display: block; color: var(--a-muted); font-size: 11px; }
.payrow .amt { color: var(--a-ink); font: 650 12.5px var(--a-mono); text-align: right; }
.payrow .amt small { display: block; color: var(--a-success); font: 600 10px var(--a-sans); }
.payrow .amt small.proc { color: var(--a-warning); }
.payrow svg { width: 10px; height: 10px; color: var(--a-muted); }
.payrow.enter { animation: row-in .7s var(--ease) both; }
@keyframes row-in { from { opacity: 0; transform: translateY(-14px); background: var(--a-success-bg); } 60% { background: color-mix(in oklch, var(--a-success-bg) 60%, transparent); } }

/* Messaging preview: the software's inbox layout, at a fixed product canvas size.
   Keep colors, message grouping and composer aligned with src/pages/messages-page.css. */
.message-preview { width: min(100%, 540px); }
.module-stage .message-preview { width: calc(100% - 48px); }
.mp-app { --mp-blue: #0a7cff; width: 760px; height: 600px; display: grid; grid-template-columns: 238px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--a-line); border-radius: 14px; background: var(--a-surface); }
.mp-sidebar { min-width: 0; border-right: 1px solid var(--a-line); background: var(--a-canvas); }
.mp-sidebar-head { padding: 18px 16px 10px 20px; display: flex; align-items: center; gap: 10px; }
.mp-sidebar-head > b { font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
.mp-sidebar-head > span { color: var(--mp-blue); font-size: 12px; font-weight: 600; }
.mp-sidebar-head > .i { margin-left: auto; width: 17px; height: 17px; }
.mp-search { height: 36px; margin: 0 14px 10px; padding: 0 11px; display: flex; align-items: center; gap: 8px; border-radius: 10px; background: var(--a-soft); color: var(--a-muted); font-size: 14px; }
.mp-search .i { width: 15px; height: 15px; }
.mp-filters { margin: 0 14px 8px; display: flex; gap: 6px; }
.mp-filters > span { min-height: 30px; padding: 4px 12px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--a-line); border-radius: 999px; font-size: 13px; font-weight: 550; }
.mp-filters .selected { border-color: var(--a-ink); color: var(--a-surface); background: var(--a-ink); }
.mp-filters i { min-width: 18px; padding: 0 5px; border-radius: 999px; color: #fff; background: var(--mp-blue); font: 700 11px/18px var(--a-sans); text-align: center; }
.mp-list { padding: 2px 8px 12px; }
.mp-row { position: relative; min-height: 82px; padding: 10px 10px 10px 18px; display: flex; align-items: center; gap: 12px; border-radius: 12px; }
.mp-row + .mp-row::before { content: ''; position: absolute; top: 0; right: 10px; left: 70px; height: 1px; background: var(--a-line2); }
.mp-row.selected { background: var(--a-strong); }
.mp-row.selected::before, .mp-row.selected + .mp-row::before { opacity: 0; }
.mp-unread-dot { position: absolute; left: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--mp-blue); opacity: 0; }
.mp-row.unread .mp-unread-dot { opacity: 1; }
.mp-avatar { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(180deg, oklch(72% .11 var(--avatar-hue)), oklch(58% .12 var(--avatar-hue))); font-size: 15px; font-weight: 650; letter-spacing: .01em; }
.mp-avatar.small { width: 36px; height: 36px; font-size: 13px; }
.mp-row-copy { min-width: 0; flex: 1; display: grid; gap: 3px; }
.mp-row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.mp-row-top b { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mp-row-top time { flex: none; color: var(--a-muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.mp-row-preview { display: -webkit-box; overflow: hidden; color: var(--a-muted); font-size: 13px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mp-row.unread b { font-weight: 700; }
.mp-thread { min-width: 0; display: flex; flex-direction: column; }
.mp-head { min-height: 64px; padding: 10px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--a-line2); }
.mp-title { min-width: 0; flex: 1; display: grid; gap: 2px; }
.mp-title > b { font-size: 15px; font-weight: 650; }
.mp-title > span { display: flex; align-items: center; gap: 8px; color: var(--a-muted); font-size: 12px; }
.mp-title em { padding: 1px 7px; border-radius: 999px; color: var(--a-success); background: var(--a-success-bg); font-size: 11px; font-style: normal; font-weight: 600; }
.mp-head .a-btn { font-size: 12px; }
.mp-head .a-btn .i { width: 14px; height: 14px; }
.mp-stream { min-height: 0; flex: 1; padding: 18px 20px 10px; display: flex; flex-direction: column; gap: 10px; }
.mp-day { margin: 10px 0 2px; color: var(--a-muted); font-size: 11px; font-weight: 600; text-align: center; }
.mp-group { max-width: 72%; display: flex; flex-direction: column; gap: 2px; opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.mp-group.inbound { align-self: flex-start; align-items: flex-start; }
.mp-group.outbound { align-self: flex-end; align-items: flex-end; }
.mp-group.show { opacity: 1; transform: none; }
.mp-bubble { max-width: 100%; padding: 9px 13px; border-radius: 14px; color: var(--a-ink); background: var(--a-soft); font-size: 15px; line-height: 1.38; overflow-wrap: anywhere; }
.inbound .mp-bubble { border-bottom-left-radius: 4px; }
.outbound .mp-bubble { border-bottom-right-radius: 4px; color: #fff; background: var(--a-ink); }
.mp-meta { margin-top: 3px; padding: 0 4px; color: var(--a-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.mp-composer { padding: 10px 16px 12px; display: grid; gap: 6px; border-top: 1px solid var(--a-line2); }
.mp-input { min-height: 40px; padding-left: 16px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--a-line); border-radius: 12px; color: var(--a-muted); font-size: 15px; }
.mp-send { width: 32px; height: 32px; margin: 3px; display: grid; place-items: center; border-radius: 8px; color: var(--a-muted); background: var(--a-soft); }
.mp-send .i { width: 16px; height: 16px; stroke-width: 2.2; }
.mp-composer-foot { min-height: 16px; padding: 0 8px; color: var(--a-muted); font-size: 11px; }
@media (max-width: 810px) {
  .message-preview .mp-app { width: 480px; grid-template-columns: minmax(0, 1fr); }
  .message-preview .mp-sidebar { display: none; }
}
.no-js .mp-group { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mp-group { opacity: 1; transform: none; transition: none; } }

/* Orbit visual */
.orbit { position: relative; width: 420px; height: 320px; margin: auto; }
.orbit .ring { position: absolute; left: 50%; top: 50%; border: 1px solid #e0e3e6; border-radius: 50%; transform: translate(-50%, -50%); }
.orbit .ring.r1 { width: 160px; height: 160px; }
.orbit .ring.r2 { width: 300px; height: 300px; }
.orbit .spin { position: absolute; inset: 0; animation: orbit 30s linear infinite; }
.orbit .node { position: absolute; width: 60px; height: 60px; margin: -30px; display: grid; place-items: center; border-radius: 50%; background: var(--white); box-shadow: 0 4px 16px -6px rgb(4 19 25 / .25); }
.orbit .node > * { animation: orbit 30s linear infinite reverse; }
.orbit .node svg { width: 26px; height: 26px; color: var(--ink); }
.orbit .core { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px; display: grid; place-items: center; border-radius: 50%; background: var(--white); box-shadow: 0 4px 16px -6px rgb(4 19 25 / .25); }
.orbit .core svg { width: 28px; height: 28px; color: var(--ink); }
@keyframes orbit { to { transform: rotate(1turn); } }
/* Automations: fixed constellation that drifts slightly on hover. */
.automation-stage { place-items: center; padding-bottom: 24px; }
.auto-orbit { --drift: .7s cubic-bezier(.2, .7, .2, 1); position: relative; width: 420px; height: 320px; }
.auto-orbit .ring { position: absolute; left: 50%; top: 50%; border: 1px solid #e0e3e6; border-radius: 50%; transform: translate(-50%, -50%); }
.auto-orbit .ring.r1 { width: 160px; height: 160px; }
.auto-orbit .ring.r2 { width: 300px; height: 300px; }
.auto-orbit :is(.node, .core) { position: absolute; display: grid; place-items: center; border-radius: 50%; background: var(--white); box-shadow: 0 4px 16px -6px rgb(4 19 25 / .25); transition: transform var(--drift); }
.auto-orbit .node { width: 56px; height: 56px; margin: -28px; }
.auto-orbit .node svg { width: 24px; height: 24px; color: var(--ink); }
.auto-orbit .core { left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px; }
.auto-orbit .core svg { width: 28px; height: 28px; color: var(--ink); }
/* Points on the outer ring (radius 150 around 210, 160). */
.auto-orbit .n-file { left: 60px; top: 160px; }
.auto-orbit .n-mail { left: 340px; top: 85px; }
.auto-orbit .n-phone { left: 147px; top: 296px; }
.auto-orbit .chip { --shift: 0px 0px; translate: var(--shift); transition: opacity .6s var(--ease-out) var(--d, 0s), transform .6s var(--ease-out) var(--d, 0s), translate var(--drift); }
.auto-orbit .c-reminders { left: -12px; top: 64px; }
.auto-orbit .c-fees { right: -36px; top: 228px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:has(> .automation-stage):hover .auto-orbit .n-file { transform: translate(1px, -16px); }
  .card:has(> .automation-stage):hover .auto-orbit .n-mail { transform: translate(7px, 14px); }
  .card:has(> .automation-stage):hover .auto-orbit .n-phone { transform: translate(-14px, -7px); }
  .card:has(> .automation-stage):hover .auto-orbit .core { transform: scale(1.04); }
  .card:has(> .automation-stage):hover .auto-orbit .c-reminders { --shift: 10px -12px; }
  .card:has(> .automation-stage):hover .auto-orbit .c-fees { --shift: -10px 12px; }
}
@media (max-width: 810px) {
  .auto-orbit { scale: .74; margin: -42px -55px; }
  .auto-orbit .c-reminders { left: 0; }
  .auto-orbit .c-fees { right: 0; }
}

/* Automation timeline */
.flow { width: min(100%, 440px); padding: 18px; }
.flow-head { display: flex; align-items: center; justify-content: space-between; }
.flow-head b { font-size: 13.5px; }
.flow-steps { margin-top: 14px; display: grid; gap: 0; }
.flow-step { position: relative; padding: 10px 0 10px 54px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.flow-step::before { content: ""; position: absolute; left: 21px; top: 0; bottom: 0; width: 2px; background: var(--a-line2); }
.flow-step:first-child::before { top: 50%; }
.flow-step:last-child::before { bottom: 50%; }
.flow-step .when { position: absolute; left: 0; top: 50%; width: 44px; height: 26px; display: grid; place-items: center; border: 1px solid var(--a-line); border-radius: 8px; background: var(--a-surface); color: var(--a-ink); font: 650 10.5px var(--a-mono); transform: translateY(-50%); transition: background-color .35s, color .35s, border-color .35s; }
.flow-step b { display: block; font-size: 12.5px; }
.flow-step span { display: block; color: var(--a-muted); font-size: 11px; }
.flow-step .pill { font-size: 10px; }
.flow-step.active .when { color: #fff; background: var(--a-accent); border-color: var(--a-accent); }
.flow-step.done .when { color: var(--a-success); background: var(--a-success-bg); border-color: transparent; }

/* Automatic checkout photo strip */
.checkout-photos { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.checkout-photos span { aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: 8px; background: var(--a-soft); color: var(--a-muted); }
.checkout-photos svg { width: 18px; height: 18px; }
@media (max-width: 809.98px) { .checkout-chip { display: none; } }

/* Pipeline board */
.board { min-width: 0; width: 100%; padding: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lane { min-width: 0; min-height: 330px; padding: 10px; border-radius: 12px; background: var(--a-soft); }
.lane-h { margin-bottom: 8px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; color: var(--a-ink); }
.lane-h::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--a-warning)); }
.lane-h span { margin-left: auto; padding: 0 7px; border-radius: 99px; background: color-mix(in oklch, var(--dot, var(--a-warning)) 16%, white); color: var(--dot); font-size: 10.5px; }
.lane-cards { display: grid; gap: 8px; }
.pcard { padding: 10px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-surface); transition: transform .6s var(--ease), opacity .4s; }
.pcard-h { display: flex; align-items: center; gap: 8px; }
.pcard-h .av { width: 26px; height: 26px; font-size: 9.5px; }
.pcard-h > span:last-child { min-width: 0; }
.pcard-h b, .pcard-h span span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard-h b { font-size: 11.5px; }
.pcard-h span span { color: var(--a-muted); font-size: 10px; }
.pcard .meta { margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px; color: var(--a-muted); font-size: 10px; }
.pcard .meta strong { font: 650 11px var(--a-mono); }
.pcard.moving { box-shadow: 0 14px 30px -12px rgb(4 19 25 / .35); z-index: 4; position: relative; }
.pcard.landed { animation: land .7s var(--ease); }
@keyframes land { from { transform: translateY(-8px); box-shadow: 0 14px 30px -12px rgb(4 19 25 / .35); } }

/* Collection card */
.collect { width: min(100%, 420px); }
.ccard { padding: 16px 18px; border: 1px solid var(--a-line); border-left: 3px solid var(--a-danger); border-radius: 12px; background: var(--a-surface); box-shadow: 0 1px 2px #1815120d, 0 8px 28px #1815120a; transition: border-color .4s; }
.ccard.ok { border-left-color: var(--a-success); }
.ccard-main { display: flex; justify-content: space-between; gap: 14px; }
.ccard-main b { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ccard-main span, .ccard-main small { display: block; margin-top: 4px; color: var(--a-muted); font-size: 11px; }
.ccard-bal { text-align: right; }
.ccard-bal strong { display: block; font: 650 20px var(--a-mono); }
.ccard-foot { margin-top: 14px; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--a-line2); color: var(--a-muted); font-size: 11px; }
.ccard-foot .a-btn { flex: none; height: 30px; font-size: 11px; white-space: nowrap; }
.collect .budget { margin-bottom: 12px; padding: 16px 18px; }
.meter { margin-top: 10px; height: 8px; overflow: hidden; border-radius: 99px; background: var(--a-strong); }
.meter i { display: block; height: 100%; width: var(--w, 60%); border-radius: inherit; background: var(--meter, var(--a-success)); transition: width 1.2s var(--ease); }
.toast { position: absolute; left: 50%; bottom: 36px; z-index: 5; padding: 11px 16px; display: flex; align-items: center; gap: 8px; border-radius: 10px; color: #fff; background: var(--ink); font-size: 15px; white-space: nowrap; transform: translate(-50%, 16px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.toast svg { width: 16px; height: 16px; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Feed component (overview panel) */
.feed { width: min(100%, 420px); padding: 16px 18px; }
.feed-item { padding: 11px 0; display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; border-bottom: 1px solid var(--a-line2); }
.feed-item:last-child { border: 0; }
.feed-item .ic { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; }
.feed-item .ic svg { width: 14px; height: 14px; }
.feed-item b { display: block; font-size: 12px; }
.feed-item span { display: block; color: var(--a-muted); font-size: 10.5px; }
.feed-item time { color: var(--a-muted); font: 600 10px var(--a-mono); }
.ic.g { color: var(--a-success); background: var(--a-success-bg); }
.ic.b { color: var(--a-occupied); background: var(--a-occupied-bg); }
.ic.w { color: var(--a-warning); background: var(--a-warning-bg); }
.ic.r { color: var(--a-danger); background: var(--a-danger-bg); }
.ic.n { color: var(--a-ink2); background: var(--a-soft); }

/* Phone (tenant portal) */
.phone { position: relative; width: 280px; max-width: 100%; height: auto; aspect-ratio: 7 / 16; flex: none; padding: 7px; border-radius: 44px; background: #171a1c; box-shadow: 0 24px 48px -20px rgb(0 0 0 / .4), 0 0 0 1px #5a6063, inset 0 0 0 2px #303538; }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #555b5e; }
.phone::before { left: -2px; top: 108px; height: 36px; box-shadow: 0 47px #555b5e; }
.phone::after { right: -2px; top: 145px; height: 58px; }
.phone-screen { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 37px; background: #f9f8f5; }
.device-status { position: relative; height: 32px; padding: 8px 18px 0; flex: none; display: flex; align-items: flex-start; justify-content: space-between; color: #151515; font: 650 10px/16px var(--a-sans); }
.device-status svg { width: 42px; height: 11px; margin-top: 2px; }
.device-camera { position: absolute; top: 7px; left: 50%; width: 70px; height: 19px; border-radius: 20px; background: #111315; transform: translateX(-50%); }
.device-camera::after { content: ""; position: absolute; top: 6px; right: 9px; width: 6px; height: 6px; border-radius: 50%; background: #1d2430; box-shadow: inset 0 0 0 1px #262e3b; }
.device-home { position: relative; height: 18px; flex: none; }
.device-home::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 88px; height: 4px; border-radius: 4px; background: #151515; transform: translateX(-50%); }
/* Import (step visual) */
.import { position: absolute; left: 24px; right: 24px; top: 84px; padding: 12px; }
.import-row { display: grid; grid-template-columns: 1fr 1fr 60px; gap: 8px; padding: 7px 4px; border-bottom: 1px solid var(--a-line2); font-size: 10.5px; }
.import-row:last-child { border: 0; }
.import-row.h { color: var(--a-muted); font: 650 8.5px var(--a-mono); letter-spacing: .08em; }
.import-row .ok { color: var(--a-success); text-align: right; font-weight: 650; }
.recon { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; }

.avatars-ring { position: absolute; inset: 0; }
.avatars-ring .ring { position: absolute; left: 50%; top: 66%; border: 1px solid #e3e6e8; border-radius: 50%; transform: translate(-50%, -50%); }
.avatars-ring .av { position: absolute; width: 26px; height: 26px; font-size: 9px; box-shadow: 0 0 0 3px var(--white); }
.avatars-ring .hub { position: absolute; left: 50%; top: 66%; width: 52px; height: 52px; margin: -26px; display: grid; place-items: center; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 8px var(--focus-ring), 0 6px 18px -6px rgb(4 19 25 / .25); }
.avatars-ring .hub svg { width: 26px; height: 26px; }
.pulse-ring { animation: pulse-ring 2.6s var(--ease) infinite; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 oklch(56% 0.18 260 / .4), 0 6px 18px -6px rgb(4 19 25 / .25); } 70%, 100% { box-shadow: 0 0 0 18px oklch(56% 0.18 260 / 0), 0 6px 18px -6px rgb(4 19 25 / .25); } }

/* Responsive */
@media (max-width: 1199.98px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
  .nav-actions .btn--ghost { display: none; }
  .bento, .bento-row-2 { grid-template-columns: 1fr; }
  .stack-card { grid-template-columns: 1fr; position: relative; top: 0; min-height: 0; gap: 32px; }
  .stack-card .stack-copy { order: -1; }
  /* Stacked previews follow the same left edge as their copy. */
  .stack-stage, .module-stage, .stack-stage > .ticker { justify-items: start; }
  .sec-chip { left: 0; right: auto; }
  .checks { margin-top: 0; padding-top: 28px; }
  .split, .module-grid, .module:nth-child(even) .module-grid, .contact { grid-template-columns: 1fr; }
  .contact .form-card { width: 100%; max-width: 760px; }
  .module:nth-child(even) .module-copy { order: 0; }
  .feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .module-more { grid-template-columns: 1fr; }
  .sec .module-stage { min-height: 0; padding: 40px 0 92px; }
  .slide { grid-template-columns: 1fr; align-content: start; }
  .slide-copy { align-self: start; padding: 0; }
  .slide-visual { order: -1; }
  .showcase { height: auto; }
  .slides { align-items: stretch; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 809.98px) {
  .feature-cards { grid-template-columns: minmax(0, 1fr); }
  .nav-actions > .btn:not(.menu-toggle) { display: none; }
  .signup { flex-direction: column; align-items: stretch; padding: 8px; }
  .signup input { flex: none; padding: 0 10px; }
  .card { min-height: 540px; padding: 20px 20px 0; }
  .stack-card { padding: 28px 20px 20px; }
  .tile-grid { grid-template-columns: repeat(4, 1fr); }
  .tile-grid .tile:nth-child(6n), .tile-grid .tile:nth-child(6n - 1) { display: none; }
  .sec-log { width: calc(100% - 24px); padding: 14px; }
  .sec .module-stage { padding: 24px 0 80px; }
  .sec-chip { bottom: 16px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  /* Comfortable touch targets: the padding replaces most of the list gap. */
  .footer-cols ul { gap: 2px; }
  .footer-cols a, .footer-legal a { display: inline-block; padding: 6px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .showcase-head { flex-direction: column; align-items: flex-start; }
  .dots { right: 50%; transform: translateX(50%); bottom: 24px; }
  .orbit { transform: scale(.82); }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board .lane:nth-child(3) { display: none; }
}

@media (max-width: 479.98px) {
  .board { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .board .lane { min-height: 330px; }
  .stack-stage:has(.board) { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-scale, .pop { opacity: 1; transform: none; filter: none; }
}

/* Entrance states for live components */
.kpis:not(.is-in) .seg i { transform: scaleX(0); }
.kpis:not(.is-in) .meter i, .reveal:not(.is-in) .meter i, .reveal-scale:not(.is-in) .meter i { width: 0; }

/* Product frame inset (8px) around the hero product */
.window-wrap { padding: 8px; border: 1px solid rgb(33 34 38 / .06); border-radius: 20px 20px 0 0; border-bottom: 0; background: rgb(255 255 255 / .55); box-shadow: 0 4px 30px rgb(0 0 0 / .06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Vertical notification ticker: 20px per second */
.ticker { height: 100%; position: absolute; inset: 0; overflow: hidden; display: grid; justify-items: center;
  mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
.ticker-track { width: min(100% - 48px, 420px); display: grid; gap: 12px; padding-top: 12px; animation: ticker var(--dur, 24.8s) linear infinite; }
@keyframes ticker { to { transform: translateY(calc(-50% - 6px)); } }
.ticker .note { padding: 12px 14px; display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--a-line2); border-radius: 12px; background: var(--a-surface); box-shadow: 0 2px 4px rgb(0 0 0 / .06); }
.ticker .note .ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; }
.ticker .note .ic svg { width: 15px; height: 15px; }
.ticker .note b { display: block; font-size: 12.5px; }
.ticker .note span { display: block; color: var(--a-muted); font-size: 11px; }
.ticker .note time { color: var(--a-muted); font: 600 10px var(--a-mono); }


/* Integration wall: 7 staggered columns over a cobalt wash */
.tile-wall { position: relative; height: 560px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; overflow: hidden;
  mask-image: radial-gradient(70% 65% at 50% 50%, #000 50%, transparent 100%); -webkit-mask-image: radial-gradient(70% 65% at 50% 50%, #000 50%, transparent 100%); }
.tile-wall::before { content: ""; position: absolute; inset: 15% 10%; z-index: -1; background: radial-gradient(closest-side, oklch(56% 0.18 260 / .42), oklch(40% 0.15 264 / .18) 60%, transparent); filter: blur(24px); }
.tile-col { display: grid; align-content: start; gap: 14px; }
.tile-col:nth-child(even) { transform: translateY(-46px); }
.tile-col .tile { width: 100%; }

@media (max-width: 809.98px) {
  .display { font-size: 36px; line-height: 1.07; }
  .h2 { font-size: 28px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 64px; }
  .tile-wall { height: 380px; grid-template-columns: repeat(5, 1fr); }
  .tile-col:nth-child(n + 6) { display: none; }
  .stack-stage { min-height: 400px; }
}

/* Real product screenshots (Halden Storage Co. demo) */
.shot { position: absolute; left: 40px; top: 40px; width: 860px; max-width: none; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 10px 20px rgb(0 0 0 / .1); }
.shot img { display: block; width: 100%; height: auto; border-radius: 11px; }
.module-stage.peek { min-height: 500px; place-items: start; }
.module:nth-child(even) .shot { left: auto; right: 40px; }
.shot-full { overflow: hidden; border-radius: 12px 12px 0 0; }
.shot-full img { display: block; width: 100%; height: auto; }
.stat-chip { margin-top: 32px; width: max-content; padding: 10px 16px; display: inline-flex; align-items: baseline; gap: 14px; border-radius: 12px; background: #effcfe; color: var(--text); font-size: 18px; }
.stat-chip b { color: var(--ink); font-weight: 400; }

/* Cross-links (platform page) */
.mini-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--gray-2); transition: background-color .25s, transform .4s var(--ease); }
.mini-card:hover { background: var(--gray); transform: translateY(-3px); }
.mini-card .card-title { font-size: 18px; }
.mini-card p { margin-top: 18px; font-size: 16px; line-height: 1.6; }

/* Tenant page phones */
.card-stage:has(> .phone) { grid-template-columns: minmax(0, 1fr); }
.phone-row { margin-top: 56px; display: flex; justify-content: center; align-items: flex-end; gap: 28px; }
.phone-row .phone:nth-child(odd) { transform: translateY(28px) scale(.92); }
.phone.shot-phone .phone-screen img { display: block; width: 100%; height: 0; min-height: 0; flex: 1; object-fit: contain; object-position: center; }
@media (max-width: 1199.98px) { .shot { width: 720px; } }
@media (max-width: 809.98px) {
  .phone-row .phone:nth-child(odd) { display: none; }
  .shot { left: 20px; top: 20px; width: 620px; }
  .module:nth-child(even) .shot { right: auto; left: 20px; }
  .module-stage.peek { min-height: 360px; }
  .stat-chip { font-size: 16px; }
}

/* ============ Live calendar (follows src/pages/calendar-page.css) ============ */
.cal-demo { margin: 60px 0 0; }
.cal-frame { border-radius: 20px; border-bottom: 1px solid rgb(33 34 38 / .06); }
.cal-frame .window { border-radius: 12px; }
.cal {
  --a-info: oklch(50% .12 250); --a-info-bg: oklch(95% .03 250); --cal-mine: var(--a-accent);
  position: relative; overflow: hidden; padding: 22px 24px 24px; background: var(--a-canvas);
  user-select: none;
}
.cal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cal-head h3 { color: var(--a-ink); font: 700 24px/1.1 var(--a-sans); letter-spacing: -.03em; }
.cal-head p { margin-top: 4px; color: var(--a-muted); font-size: 12.5px; }
.cal-panel-shell { margin-top: 16px; overflow: hidden; border: 1px solid var(--a-line); border-radius: 14px; background: var(--a-surface); box-shadow: 0 1px 2px #1815120d, 0 8px 28px #1815120a; }
.cal-toolbar { padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--a-line2); }
.cal-nav { display: flex; align-items: center; gap: 6px; }
.cal-nav h4 { margin: 0 0 0 8px; color: var(--a-ink); font: 650 16px var(--a-sans); letter-spacing: -.01em; white-space: nowrap; }
.cal-icon-btn { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--a-ink2); }
.cal-icon-btn svg { width: 16px; height: 16px; }
.cal-icon-btn:first-child svg { transform: scaleX(-1); }
.cal-today-btn { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid var(--a-line); border-radius: 8px; color: var(--a-ink); background: var(--a-surface); font-size: 12px; font-weight: 650; }
.cal-views { padding: 3px; display: flex; gap: 2px; border: 1px solid var(--a-line2); border-radius: 10px; background: var(--a-soft); }
.cal-views span { height: 28px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border-radius: 7px; color: var(--a-muted); font-size: 12px; font-weight: 650; }
.cal-views span.on { color: var(--a-ink); background: var(--a-surface); box-shadow: 0 1px 3px #0000000d; }
.cal-views svg { width: 13px; height: 13px; }
.cal-filters { padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--a-line2); }
.cal-filter { min-height: 28px; padding: 0 11px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--a-line); border-radius: 999px; color: var(--a-ink2); background: #fff; font-size: 11.5px; font-weight: 600; }
.cal-filter i { width: 9px; height: 9px; border-radius: 3px; background: var(--a-ink2); }
.cal-filter.mine i { background: var(--cal-mine); }
.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.cal-weekdays, .cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-weekdays { border-bottom: 1px solid var(--a-line2); }
.cal-weekdays span { padding: 7px 10px; color: var(--a-muted); font-size: 11.5px; font-weight: 600; }
.cal-week + .cal-week { border-top: 1px solid var(--a-line2); }
.cal-day { position: relative; min-width: 0; min-height: 104px; padding: 6px 6px 8px; display: flex; flex-direction: column; gap: 3px; transition: background-color .25s; }
.cal-day + .cal-day { border-left: 1px solid var(--a-line2); }
.cal-day.outside { background: color-mix(in oklch, var(--a-soft) 55%, transparent); }
.cal-day.outside .cal-num { color: var(--a-muted); }
.cal-day.hover { background: color-mix(in oklch, var(--a-ink) 3%, transparent); }
.cal-day.selected, .cal-day.adding { box-shadow: inset 0 0 0 2px color-mix(in oklch, var(--a-ink) 55%, transparent); }
.cal-num { width: max-content; min-width: 24px; height: 24px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--a-ink); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cal-day.today .cal-num { color: #fff; background: var(--a-accent); }
.cal-add { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; color: #fff; background: color-mix(in oklch, var(--a-ink) 55%, transparent); opacity: 0; transition: opacity .15s, background-color .15s; }
.cal-add svg { width: 13px; height: 13px; stroke-width: 2.4; }
.cal-day.hover .cal-add, .cal-day.adding .cal-add { opacity: 1; }
.cal-day.adding .cal-add { background: var(--a-accent); }
.cal-chips { min-width: 0; display: grid; gap: 2px; }
.cal-chip { min-width: 0; min-height: 21px; padding: 1px 6px; display: flex; align-items: center; gap: 5px; border-radius: 6px; color: var(--a-ink); background: var(--a-strong); font-size: 11px; line-height: 1.35; }
.cal-chip svg { width: 11px; height: 11px; flex: none; color: var(--chip-ink, var(--a-ink2)); }
.cal-chip time { flex: none; color: var(--a-ink2); font-variant-numeric: tabular-nums; }
.cal-chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-chip.mine { color: #fff; background: var(--cal-mine); --chip-ink: #fff; }
.cal-chip.mine time { color: inherit; opacity: .85; }
.tone-success { --chip-ink: var(--a-success); --chip-wash: var(--a-success-bg); }
.tone-warning { --chip-ink: var(--a-warning); --chip-wash: var(--a-warning-bg); }
.tone-danger { --chip-ink: var(--a-danger); --chip-wash: var(--a-danger-bg); }
.tone-info { --chip-ink: var(--a-info); --chip-wash: var(--a-info-bg); }
.cal-chip:is(.tone-success, .tone-warning, .tone-danger, .tone-info) { background: var(--chip-wash); }
.cal-more { padding: 0 6px; color: var(--a-muted); font-size: 11px; font-weight: 600; }
.cal-dots { display: none; }
.cal-chip.is-new, .cal-dots i.is-new { animation: cal-pop .55s var(--ease-out) both; }
.cal-chip.is-leaving, .cal-agenda-item.is-leaving { animation: cal-out .35s ease both; }
@keyframes cal-pop { 0% { opacity: 0; transform: translateY(-6px) scale(.85); } 60% { opacity: 1; transform: translateY(0) scale(1.04); } 100% { transform: none; } }
@keyframes cal-out { to { opacity: 0; transform: scale(.92); } }

.cal-side { min-width: 0; padding: 16px; display: grid; align-content: start; gap: 10px; border-left: 1px solid var(--a-line2); background: var(--a-surface); }
.cal-agenda-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cal-agenda-head div { display: flex; align-items: center; gap: 8px; }
.cal-agenda-head h5 { margin: 0; color: var(--a-ink); font: 650 13.5px var(--a-sans); }
.cal-agenda-head .pill { font-size: 10.5px; padding: 2px 8px; }
.cal-ghost { display: inline-flex; align-items: center; gap: 5px; color: var(--a-ink2); font-size: 11.5px; font-weight: 600; }
.cal-ghost svg { width: 12px; height: 12px; }
.cal-agenda { display: grid; gap: 6px; }
.cal-agenda-item { min-width: 0; padding: 9px 8px 9px 10px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 10px; border: 1px solid var(--a-line2); border-radius: 10px; background: #fff; }
.cal-agenda-item.mine { box-shadow: inset 3px 0 0 var(--cal-mine); }
.cal-agenda-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; color: var(--chip-ink, var(--a-ink2)); background: var(--chip-wash, var(--a-soft)); }
.cal-agenda-item.mine .cal-agenda-icon { color: var(--cal-mine); background: color-mix(in oklch, var(--cal-mine) 10%, transparent); }
.cal-agenda-icon svg { width: 13px; height: 13px; }
.cal-agenda-item strong { display: block; padding-top: 2px; color: var(--a-ink); font-size: 12.5px; font-weight: 600; }
.cal-agenda-item small { display: block; color: var(--a-muted); font-size: 11px; }
.cal-agenda-item.is-new { animation: cal-slide .6s var(--ease-out) both; }
@keyframes cal-slide { from { opacity: 0; transform: translateY(-10px); background: var(--a-success-bg); } 60% { opacity: 1; } }
.cal-empty { color: var(--a-muted); font-size: 12px; }

/* Quick-add card (follows calendar-widgets.css) */
.cal-quick {
  position: absolute; z-index: 5; width: 360px; padding: 10px 10px 10px 8px; display: grid; gap: 10px;
  border: 1px solid var(--a-line); border-radius: 10px; background: #fff;
  box-shadow: 0 1px 2px #1815120d, 0 16px 40px rgb(0 0 0 / .18);
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.98); transform-origin: top left;
  transition: opacity .18s ease, transform .22s var(--ease-out), visibility 0s .22s;
}
.cal-quick.open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .22s var(--ease-out); }
.cal-quick-title { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px; }
.cal-quick-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; color: var(--a-muted); }
.cal-quick-icon svg { width: 14px; height: 14px; }
.cal-quick-input { position: relative; min-width: 0; min-height: 30px; padding: 0 2px; display: flex; align-items: center; color: var(--a-ink); font-size: 14px; white-space: nowrap; overflow: hidden; }
.cal-quick-input em { position: absolute; left: 2px; color: var(--a-muted); font-style: normal; }
.cal-quick-input.has-text em { display: none; }
.cal-caret { width: 1.5px; height: 17px; margin-left: 1px; background: var(--a-ink); animation: cal-blink 1s steps(1) infinite; }
@keyframes cal-blink { 50% { opacity: 0; } }
.cal-quick-bar { min-width: 0; display: flex; align-items: center; gap: 4px; padding-left: 2px; }
.cal-quick-tool { min-width: 32px; flex: none; height: 32px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 7px; color: var(--a-ink2); font-size: 13px; font-weight: 500; white-space: nowrap; }
.cal-quick-tool svg { flex: none; width: 16px; height: 16px; color: var(--a-muted); }
.cal-quick-tool b { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--a-ink); font-weight: 500; }
.cal-quick-date { min-width: 0; flex: 0 1 auto; }
.cal-quick-tool [data-cal-duration]:empty { display: none; }
.cal-quick-save { flex: none; min-height: 30px; margin-left: auto; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 7px; color: #fff; background: var(--a-accent); font-size: 13px; font-weight: 650; opacity: .4; transition: opacity .15s, transform .12s; }
.cal-quick-save.ready { opacity: 1; }
.cal-quick-save.press, .cal-add.press { transform: scale(.92); }

/* Date/time and duration panels copied from the operator quick-add picker. */
.cal-picker {
  position: absolute; z-index: 7; border: 1px solid var(--a-line); border-radius: 10px;
  color: var(--a-ink); background: var(--a-surface); box-shadow: 0 1px 2px #1815120d, 0 16px 40px rgb(0 0 0 / .18);
  opacity: 0; visibility: hidden; pointer-events: none;
}
.cal-picker.open { opacity: 1; visibility: visible; }
.cal-picker button { font-family: var(--a-sans); line-height: normal; }
.cal-picker .i { width: 15px; height: 15px; }
.cal-picker-prev { transform: rotate(-90deg); }
.cal-picker-next { transform: rotate(90deg); }
.cal-quick-tool.active, .cal-picker button.hover, .cal-picker button.press { background: var(--a-soft); }
.cal-picker { max-height: calc(100vh - 16px); display: grid; grid-template-columns: 160px minmax(0, 1fr) 120px; overflow: hidden; }
.cal-picker-shortcuts, .cal-picker-times { margin: 0; padding: 6px; display: grid; align-content: start; gap: 1px; list-style: none; }
.cal-picker-shortcuts { border-right: 1px solid var(--a-line2); }
.cal-picker-shortcuts button, .cal-picker-times button { width: 100%; min-height: 32px; padding: 0 9px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 0; border-radius: 6px; color: var(--a-ink); background: transparent; font-size: 13px; text-align: left; }
.cal-picker-shortcuts small { color: var(--a-muted); font-size: 12px; }
:is(.cal-picker-shortcuts, .cal-picker-times) button:hover { background: var(--a-soft); }
:is(.cal-picker-shortcuts, .cal-picker-times) button[aria-pressed='true'] { font-weight: 650; background: var(--a-strong); }
.cal-picker-times { max-height: 300px; overflow-y: auto; border-left: 1px solid var(--a-line2); overscroll-behavior: contain; }
.cal-picker-month { padding: 10px 12px 12px; display: grid; align-content: start; gap: 8px; }
.cal-picker-month-head { display: flex; align-items: center; gap: 2px; }
.cal-picker-month-head strong { margin-right: auto; color: var(--a-ink); font-size: 14px; font-weight: 650; }
.cal-picker-link { min-height: 26px; padding: 0 7px; border: 0; border-radius: 6px; color: var(--a-ink2); background: transparent; font-size: 12px; font-weight: 600; }
.cal-picker-link:hover { color: var(--a-ink); background: var(--a-soft); }
.cal-picker-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.cal-picker-days abbr { padding: 2px 0 4px; color: var(--a-muted); font-size: 11px; font-weight: 600; text-decoration: none; }
.cal-picker-days button { aspect-ratio: 1; min-height: 28px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 7px; color: var(--a-ink); background: transparent; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cal-picker-days button:hover { background: var(--a-soft); }
.cal-picker-days button.outside { color: var(--a-muted); }
.cal-picker-days button.today { color: #fff; background: var(--a-accent); font-weight: 650; }
.cal-picker-days button[aria-pressed='true'] { box-shadow: inset 0 0 0 1.5px var(--a-ink); font-weight: 650; }
.cal-picker-duration { display: grid; grid-template-columns: minmax(0, 1fr); }
.cal-picker-duration-head { padding: 8px; display: grid; gap: 8px; border-bottom: 1px solid var(--a-line2); }
.cal-picker-none { min-height: 40px; padding: 4px 9px; display: grid; justify-items: start; border: 0; border-radius: 7px; color: var(--a-ink); background: transparent; font-size: 13px; text-align: left; }
.cal-picker-none small { color: var(--a-muted); font-size: 12px; font-weight: 400; }
.cal-picker-none:hover { background: var(--a-soft); }
.cal-picker-none[aria-pressed='true'] { font-weight: 650; background: var(--a-strong); }
.cal-picker-presets { display: flex; flex-wrap: wrap; gap: 4px; padding-inline: 2px; }
.cal-picker-presets button { min-height: 28px; padding: 0 10px; border: 1px solid var(--a-line); border-radius: 999px; color: var(--a-ink2); background: transparent; font-size: 12px; font-weight: 600; }
.cal-picker-presets button:hover:not(:disabled) { color: var(--a-ink); background: var(--a-soft); }
.cal-picker-presets button[aria-pressed='true'] { color: #fff; border-color: var(--a-accent); background: var(--a-accent); }
.cal-picker-presets button:disabled { opacity: .4; cursor: default; }
.cal-picker-window { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cal-picker-window > div { min-width: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.cal-picker-window > div + div { border-left: 1px solid var(--a-line2); }
.cal-picker-window strong { padding: 8px 15px 2px; color: var(--a-muted); font-size: 12px; font-weight: 600; }
.cal-picker-window .cal-picker-times { max-height: 240px; border-left: 0; }
.cal-picker-times small { color: var(--a-muted); font-size: 12px; font-weight: 400; }
.cal-picker-hint { margin: 0; padding: 8px 15px; color: var(--a-muted); font-size: 13px; }
@media (max-width: 600px) {
  .cal-picker { grid-template-columns: minmax(0, 1fr) 110px; }
  .cal-picker-shortcuts { display: none; }
  .cal-picker-duration { grid-template-columns: minmax(0, 1fr); }
  .cal-picker-month-head { flex-wrap: wrap; }
  .cal-picker-month-head strong { flex-basis: 100%; }
  .cal-picker-days button { aspect-ratio: auto; min-width: 0; }
  .cal-picker-window .cal-picker-times button { gap: 4px; padding-inline: 7px; white-space: nowrap; }
  .cal-picker-window .cal-picker-times button:has(small) { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 1px; padding-block: 5px; }
  .cal-picker-window .cal-picker-times small { font-size: 11px; }
}

.cal-toast {
  position: absolute; left: 24px; bottom: 24px; z-index: 6; padding: 10px 14px 10px 10px; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--a-line2); border-radius: 12px; background: #fff; box-shadow: 0 10px 30px -10px rgb(4 19 25 / .3);
  opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .45s var(--ease-out);
}
.cal-toast.show { opacity: 1; transform: none; }
.cal-toast .ic { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; }
.cal-toast .ic svg { width: 14px; height: 14px; }
.cal-toast b { display: block; font-size: 12.5px; }
.cal-toast small { display: block; color: var(--a-muted); font-size: 11px; }

.cal-cursor { position: absolute; left: 0; top: 0; z-index: 8; pointer-events: none; opacity: 0; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .25)); transition: transform .9s cubic-bezier(.45, 0, .2, 1), opacity .3s; }
.cal-cursor.show { opacity: 1; }
.cal-cursor.press path { transform: scale(.86); transform-origin: 4px 3px; }

.cal-points { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cal-points li { display: flex; gap: 14px; color: var(--text); font-size: 15.5px; line-height: 1.55; }
.cal-points b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 17px; font-weight: 400; }
.cal-points .icon-tile { background: var(--gray); box-shadow: none; }

@media (max-width: 1199.98px) {
  .cal-layout { grid-template-columns: minmax(0, 1fr); }
  .cal-side { border-left: 0; border-top: 1px solid var(--a-line2); }
  .cal-points { grid-template-columns: 1fr; }
}
@media (max-width: 809.98px) {
  .cal { padding: 16px 12px; }
  .cal-head .a-btn { display: none; }
  .cal-views, .cal-filters { display: none; }
  .cal-day { min-height: 56px; padding: 4px; align-items: center; }
  .cal-weekdays span { padding: 6px 2px; text-align: center; }
  .cal-chips, .cal-more, .cal-add { display: none; }
  .cal-dots { display: flex; gap: 3px; }
  .cal-dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--chip-ink, var(--a-ink2)); }
  .cal-dots i.mine { background: var(--cal-mine); }
  .cal-quick { width: calc(100% - 24px); }
  .cal-toast { left: 12px; right: 12px; top: 12px; bottom: auto; transform: translateY(-12px); }
}

/* Integrations wall: generic capability icons only, no provider marks */
.tile:not(.is-brand) svg { width: 24px; height: 24px; color: var(--ink2); stroke-width: 1.6; }
.tile:not(.is-brand) { background: var(--gray-2); }

/* Hero chip over the 10 x 10 row on desktop; phones keep it inside the page */
.hero-product > .chip:not(.rented-chip) { left: max(-30px, calc(-1 * var(--gutter) + 12px)) !important; }
.rented-chip { right: 12px; top: 70%; }
@media (max-width: 809.98px) { .rented-chip { top: 80%; } }

/* ============ Revenue and portfolio (follows src/features/pricing and src/pages/PortfolioPage) ============ */
.incr { width: min(100% - 40px, 500px); padding: 18px 0 0; overflow: hidden; }
.incr-head { padding: 0 18px 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--a-line2); }
.incr-head b, .pf-head b { display: block; font-size: 13.5px; color: var(--a-ink); }
.incr-head small, .pf-head small { display: block; margin-top: 2px; color: var(--a-muted); font-size: 11px; }
.incr-head .a-btn { flex: none; height: 30px; font-size: 11px; transition: transform .16s var(--ease); }
.incr-row { padding: 10px 18px; display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--a-line2); transition: background-color .3s; }
.incr-row.on { background: color-mix(in oklch, var(--a-success-bg) 45%, var(--a-surface)); }
.incr-check { width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid var(--a-line); border-radius: 4px; background: var(--a-surface); color: #fff; transition: background-color .2s, border-color .2s; }
.incr-check svg { width: 11px; height: 11px; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.incr-row.on .incr-check { border-color: var(--a-accent); background: var(--a-accent); }
.incr-row.on .incr-check svg { opacity: 1; transform: none; }
.incr-who { min-width: 0; }
.incr-who b { display: block; font-size: 12.5px; color: var(--a-ink); }
.incr-who small, .incr-rate small { display: block; color: var(--a-muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.incr-rate { text-align: right; font-size: 11.5px; }
.incr-rate b { color: var(--a-ink); }
.incr-foot { padding: 12px 18px; display: flex; justify-content: space-between; gap: 12px; color: var(--a-muted); font-size: 11px; }
.incr-foot b { color: var(--a-success); font-size: 11.5px; }

.pf { width: min(100% - 40px, 520px); padding: 18px; }
.pf-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pf-head .a-btn { flex: none; height: 30px; font-size: 11px; white-space: nowrap; }
.pf-tabs { margin: 14px 0 10px; gap: 4px; flex-wrap: wrap; }
.pf-tabs > span { min-height: 28px; padding: 4px 9px; font-size: 11.5px; border: 1px solid transparent; transition: color .2s, background-color .2s, border-color .2s; }
.pf-tabs b { font-size: 10.5px; }
.pf-table { min-height: 284px; border: 1px solid var(--a-line2); border-radius: 10px; overflow: hidden; }
.pf-row { padding: 10px 12px; display: grid; grid-template-columns: 1.5fr 1fr .8fr .7fr; align-items: center; gap: 10px; border-top: 1px solid var(--a-line2); font-size: 12px; text-align: right; }
.pf-row > :first-child, .pf-th > :nth-child(2) { text-align: left; }
.pf-th { border-top: 0; background: var(--a-soft); color: var(--a-muted); font-size: 10.5px; font-weight: 600; }
.pf-body .pf-row:first-child { border-top: 0; }
.pf-row[hidden] { display: none; }
.pf-name b { display: block; font-size: 12px; color: var(--a-ink); }
.pf-name small { margin-top: 3px; display: flex; align-items: center; gap: 6px; color: var(--a-muted); font-size: 10.5px; white-space: nowrap; }
.pf-name .pill { padding: 1px 7px; font-size: 9.5px; }
.pf-occ { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 8px; text-align: left; }
.pf-occ small { color: var(--a-muted); font-size: 10px; text-align: right; }
.pf-occ .pf-drop { color: var(--a-danger); }
.pf-occ .meter { grid-column: 1 / -1; margin-top: 4px; height: 5px; }
.pf-due { color: var(--a-danger); }
.pf-chip { right: 4%; bottom: 7%; }

/* Detail cards: small live product moments */
.feature-card { display: flex; flex-direction: column; }
.feature-card .detail-demo { margin-top: 24px; min-height: 148px; padding: 14px; display: grid; align-content: center; gap: 8px; }
.feature-card .detail-demo + p { margin-top: 20px; }
[data-seq-item] { transition: opacity .4s var(--ease), transform .45s var(--ease), background-color .3s, color .3s, border-color .3s; }
.seq-ready [data-seq-item]:not(.show) { opacity: 0; transform: translateY(6px); }
.mini-step { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; font-size: 12px; color: var(--a-ink); }
.mini-step i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--a-success); background: var(--a-success-bg); }
.mini-step svg { width: 12px; height: 12px; }
.mini-step small { color: var(--a-muted); font-size: 10.5px; }
.mini-step .mini-code { padding: 2px 7px; border-radius: 6px; color: var(--a-ink); background: var(--a-soft); font-size: 11.5px; font-weight: 650; letter-spacing: .08em; }
.seq-ready .mini-step:not(.show) { opacity: 1; transform: none; color: var(--a-muted); }
.seq-ready .mini-step:not(.show) i { color: transparent; background: var(--a-soft); }
.seq-ready .mini-step:not(.show) .mini-code { visibility: hidden; }
.mini-letter { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--a-ink); }
.mini-track { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); }
.mini-track span { position: relative; padding-top: 22px; color: var(--a-ink); font-size: 10.5px; text-align: center; }
.mini-track span::before, .mini-track span::after { content: ""; position: absolute; top: 6px; left: -50%; right: 50%; height: 2px; border-radius: 2px; }
.mini-track span::before { background: var(--a-line2); }
.mini-track span::after { background: var(--a-success); transform-origin: left center; transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.mini-track span:first-child::before, .mini-track span:first-child::after { display: none; }
.mini-track i { position: absolute; z-index: 1; top: 1px; left: 50%; width: 12px; height: 12px; border: 2px solid var(--a-surface); border-radius: 50%; background: var(--a-success); box-shadow: 0 0 0 1px var(--a-success); transform: translateX(-50%); transition: background-color .4s ease .6s, box-shadow .4s ease .6s, transform .5s var(--ease-out) .6s; }
.mini-track span:first-child i { transition-delay: 0s; }
.seq-ready .mini-track span:not(.show) { opacity: 1; transform: none; color: var(--a-muted); transition: color .5s ease; }
.seq-ready .mini-track span:not(.show)::after { transform: scaleX(0); transition: transform .5s ease; }
.seq-ready .mini-track span:not(.show) i { background: var(--a-soft); box-shadow: 0 0 0 1px var(--a-line); transform: translateX(-50%) scale(.85); transition: background-color .5s ease, box-shadow .5s ease, transform .5s ease; }
.seq-ready .mini-track span.show { transition: color .4s ease .6s; }
.seq-ready .mini-track span.show:first-child { transition-delay: 0s; }
.mini-ai { grid-template-columns: 76px 1fr; align-items: center; gap: 14px; }
.mini-photo { position: relative; height: 96px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; color: var(--a-muted); background: linear-gradient(160deg, var(--a-strong), var(--a-soft)); }
.mini-photo svg { width: 20px; height: 20px; }
.mini-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--a-occupied); box-shadow: 0 0 10px 2px color-mix(in oklch, var(--a-occupied) 50%, transparent); opacity: 0; }
.seq-ready.scanning .mini-scan { opacity: 1; animation: mini-scan 1.4s var(--ease) infinite alternate; }
@keyframes mini-scan { to { transform: translateY(94px); } }
.mini-findings { display: grid; gap: 5px; }
.mini-findings li { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--a-ink); }
.mini-findings small { color: var(--a-success); font-size: 10.5px; }
.mini-findings .warn small { color: var(--a-warning); font-weight: 600; }
.mini-move { display: flex; align-items: center; justify-content: center; gap: 12px; }
.mini-unit { min-width: 76px; padding: 8px 10px; border: 1px solid var(--a-line); border-radius: 9px; color: var(--a-ink); font: 650 13px var(--a-mono); text-align: center; }
.mini-unit small { display: block; color: var(--a-muted); font: 400 10px var(--a-sans); }
.mini-unit.to { border-color: var(--a-occupied); background: var(--a-occupied-bg); }
.mini-arrow { color: var(--a-muted); }
.mini-arrow svg { width: 16px; height: 16px; }
.mini-carry { margin-top: 6px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.mini-carry span { padding: 3px 9px; border-radius: 999px; color: var(--a-success); background: var(--a-success-bg); font-size: 10.5px; font-weight: 600; }
.mini-carry span::before { content: "✓ "; }
.mini-receipt, .mini-log { gap: 6px; }
.mini-receipt > div { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; color: var(--a-ink); }
.mini-receipt .mini-total { margin-top: 4px; padding-top: 8px; align-items: center; border-top: 1px dashed var(--a-line); }
.mini-total > span { display: flex; align-items: center; gap: 8px; }
.mini-log > div { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--a-line2); border-radius: 8px; font-size: 11.5px; color: var(--a-ink); }
.mini-log small { color: var(--a-muted); font-size: 10.5px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-log .pill { font: 650 10px var(--a-mono); }
.mini-api .mono { font-size: 11px; }
.mini-api .mono b { margin-right: 4px; color: var(--a-muted); font-weight: 650; }
@media (max-width: 809.98px) {
  .pf { width: calc(100% - 24px); padding: 14px; }
  .pf-head small { display: none; }
  .pf-row { padding: 9px 10px; grid-template-columns: 1.5fr .9fr .75fr; gap: 8px; }
  .pf-row > :nth-child(3), .pf-occ small:not(.pf-drop) { display: none; }
  .pf-occ .pf-drop { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .pf-occ .meter { grid-row: 3; }
  .pf-chip { display: none; }
  .incr { width: calc(100% - 24px); }
  .incr-head { align-items: center; }
  .incr-head small { display: none; }
  .incr-who small { max-width: 150px; }
}

/* Stacked product examples use the available space instead of leaving a small
   desktop card inside a full-width canvas. Keep phone layouts compact. */
@media (max-width: 1199.98px) {
  .stack-stage, .module-stage { width: 100%; max-width: 760px; }
  .stack-stage:has(> .flow), .stack-stage[data-collect],
  .module-stage, .sec .module-stage { min-height: 0; }
}
@media (min-width: 640px) and (max-width: 1199.98px) {
  .stack-stage:has(> .flow), .stack-stage[data-collect],
  .module-stage, .sec .module-stage { padding: 28px; }
  .stack-stage > .flow, .stack-stage > .collect,
  .module-stage > .incr, .module-stage > .pf, .module-stage > .sec-log { width: 100%; max-width: none; }
  .stack-stage .ticker-track { width: calc(100% - 48px); }
  .ticker .note { padding: 15px; }
  .ticker .note b { font-size: 15px; }
  .ticker .note span { font-size: 13px; }
  .ticker .note time { font-size: 12px; }

  .flow { padding: 24px; }
  .flow-head b, .paylist-head b, .incr-head b, .pf-head b, .sec-log-head b { font-size: 17px; }
  .flow-step { padding: 14px 0 14px 70px; gap: 14px; }
  .flow-step::before { left: 26px; }
  .flow-step .when { width: 54px; height: 32px; font-size: 12px; }
  .flow-step b { font-size: 16px; }
  .flow-step span { font-size: 14px; }
  .flow-step .pill { font-size: 12px; }

  .ccard { padding: 22px; }
  .ccard-main b { font-size: 16px; }
  .ccard-main span, .ccard-main small, .ccard-foot, .ccard .a-btn { font-size: 13px; }
  .incr-head small, .pf-head small { font-size: 13px; }
  .incr-row { padding-block: 14px; }
  .incr-who b { font-size: 15px; }
  .incr-who small, .incr-rate small { font-size: 12px; }
  .incr-rate, .incr-foot, .incr-foot b { font-size: 13px; }
  .incr-head .a-btn, .pf-head .a-btn { height: 36px; font-size: 13px; }
  .pf { padding: 24px; }
  .pf-row { padding-block: 14px; font-size: 14px; }
  .pf-th, .pf-tabs > span { font-size: 12px; }
  .pf-name b { font-size: 14px; }
  .pf-name small, .pf-occ small { font-size: 12px; }
  .sec-log { padding: 24px; }
  .sec-what b { font-size: 15px; }
  .sec-log-head small, .sec-what small, .sec-diff, .sec-reason { font-size: 13px; }
  .sec-chip, .pf-chip { position: relative; left: auto; right: auto; bottom: auto; margin-top: 20px; justify-self: start; }
}
@media (max-width: 639.98px) {
  .stack-stage > .flow, .stack-stage > .collect,
  .module-stage > .incr, .module-stage > .pf, .module-stage > .sec-log { width: 100%; max-width: none; }
}

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { margin-top: 48px; font-size: 24px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.legal p, .legal li { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--text); }
.legal ul { margin-top: 8px; padding-left: 22px; list-style: disc; }
.legal li { margin-top: 8px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
