/* The new site (2026-10-26): "Command your business". Greyscale like the product, Outfit for the type, free-flowing crops of the running app in depth,
   one clock for every scene with a round Play and Pause, nothing scrubbed by scroll. The nav and the footer are the shell's (shell-style.inc). */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/outfit-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/outfit-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+2260, U+2264-2265, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/jetbrains-mono-500.woff2) format('woff2'); }

:root {
  --ink: #16171A; --ink-2: #2A2C31; --body: #3B3E44; --t2: #5D6067; --t3: #8D9097; --t4: #B4B6BB;
  --ground: #F2F3F5; --surface: #FFFFFF; --soft: #E9EAED; --hover: #E3E4E8; --line: rgba(22, 24, 28, .09); --line-2: rgba(22, 24, 28, .05);
  --accent: #16171A; --on-accent: #FFFFFF; --accent-hover: #2C2E34;
  --ui: 'Outfit', system-ui, sans-serif; --read: 'Inter', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(20px, 4.5vw, 72px); --measure: 1320px;
  --radius-control: 12px; --radius-panel: 28px; --radius-crop: 20px; --radius-field: 14px; --radius-tile: 22px; --radius-pill: 999px; --radius-circle: 50%;
  --sh-1: 0 1px 1px rgba(20, 22, 26, .05), 0 10px 24px -10px rgba(20, 22, 26, .18);
  --sh-2: 0 1px 1px rgba(20, 22, 26, .05), 0 22px 44px -14px rgba(20, 22, 26, .26), 0 70px 130px -40px rgba(20, 22, 26, .3);
  --sh-ink: 0 1px 1px rgba(0, 0, 0, .3), 0 10px 24px -8px rgba(0, 0, 0, .5);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bar-top: 0px; --bar-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--body); font: 450 17px/1.6 var(--read); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
main { display: block; }

/* ── type ── */
.display { margin: 0; font: 500 clamp(3.2rem, 8vw, 7.75rem)/.94 var(--ui); letter-spacing: -.05em; color: var(--ink); text-wrap: balance; }
.display .tone { color: var(--t3); }
.h2 { margin: 0; font: 500 clamp(2.4rem, 5.6vw, 5rem)/1 var(--ui); letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.h2 .tone { color: var(--t3); }
.h3 { margin: 0; font: 500 clamp(1.35rem, 2.1vw, 1.75rem)/1.15 var(--ui); letter-spacing: -.02em; color: var(--ink); }
.lead { margin: 0; max-width: 40ch; font: 450 clamp(1.1rem, 1.5vw, 1.35rem)/1.5 var(--read); color: var(--t2); text-wrap: pretty; }
.eyebrow { margin: 0 0 14px; font: 500 14px/1.3 var(--ui); letter-spacing: 0; color: var(--t3); }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: -.02em; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border: 0; border-radius: var(--radius-pill); font: 500 17px/1 var(--ui); letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background-color .15s, box-shadow .15s; }
.btn:active { transform: scale(.97); }
.btn.pri { background: var(--accent); color: var(--on-accent); box-shadow: var(--sh-ink); }
.btn.pri:hover { background: var(--accent-hover); }
.btn.sec { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.btn.sec:hover { background: #fff; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ── the reveal (a class once, on arrival; never tied to the scroll position) ── */
[data-rise] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-rise].in { opacity: 1; transform: none; }
.no-js [data-rise], .still [data-rise] { opacity: 1; transform: none; transition: none; }

/* ── the crops: a region of a take of the running app, drawn as it is (frame fractions: fx fy fw fh of a 1512 × 945 take) ── */
.crop { --iw: 1512; --ih: 945; position: relative; aspect-ratio: calc(var(--fw) * var(--iw) / (var(--fh) * var(--ih))); background-image: var(--img); background-repeat: no-repeat; background-size: calc(100% / var(--fw)) auto; background-position: calc(var(--fx) / (1 - var(--fw)) * 100%) calc(var(--fy) / (1 - var(--fh)) * 100%); border-radius: var(--radius-crop); background-color: #fff; box-shadow: var(--sh-2); }
.crop[data-phone] { --iw: 375; --ih: 812; border-radius: var(--radius-panel); }
.crop.flat { box-shadow: none; }

/* ── the hero ── */
.hero { position: relative; padding: clamp(32px, 5vw, 76px) 0 0; text-align: center; overflow: clip; }
.hero::before { content: ""; position: absolute; left: 50%; top: -10%; width: min(1400px, 120vw); aspect-ratio: 1; translate: -50% 0; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)); pointer-events: none; }
.hero .wrap { position: relative; }
.hero .lead { margin: clamp(20px, 2.4vw, 32px) auto clamp(24px, 3vw, 36px); max-width: 44ch; }
.hero .btns { justify-content: center; }
.stage { position: relative; height: clamp(360px, 54vw, 820px); margin-top: clamp(8px, 2.4vw, 36px); perspective: 2200px; perspective-origin: 50% 20%; }
.rig { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 12deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.pane { position: absolute; left: var(--l); top: var(--t); width: var(--w); transform: translate3d(0, 0, var(--z, 0px)) rotateY(var(--pry, 0deg)) rotateZ(var(--prz, 0deg)); transform-style: preserve-3d; }
.pane > .crop { animation: bob var(--bob, 9s) ease-in-out infinite alternate; animation-delay: var(--bd, 0s); }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -14px; } }
.scene[data-playing="false"] * { animation-play-state: paused !important; }
.scene[data-playing="false"] .rig { transition: none; }
.pane.lit > .crop { box-shadow: 0 0 0 2px var(--ink), var(--sh-2); }
.stage-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(to bottom, rgba(242, 243, 245, 0), var(--ground)); pointer-events: none; z-index: 5; }

/* the sentence told to Mai: the one piece of the scene that is the site's own */
.told { position: absolute; left: 50%; bottom: 8%; z-index: 6; translate: -50% 0; width: min(640px, 88vw); display: grid; gap: 10px; text-align: left; }
.told-bar { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, var(--sh-2); }
.orb { position: relative; flex: none; width: 38px; height: 38px; border-radius: var(--radius-circle); background: radial-gradient(circle at 34% 28%, #fff 0, #D8DADF 38%, #5B5E66 78%, #2A2C31 100%); box-shadow: 0 0 0 1px rgba(22, 24, 28, .12), 0 6px 18px -4px rgba(22, 24, 28, .45), inset 0 -6px 10px rgba(0, 0, 0, .25); }
.orb::after { content: ""; position: absolute; inset: -9px; border-radius: inherit; background: radial-gradient(closest-side, rgba(22, 24, 28, .16), transparent); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.18); opacity: .5; } }
.told-text { flex: 1; min-width: 0; font: 450 clamp(15px, 1.6vw, 18px)/1.35 var(--ui); color: var(--ink); white-space: nowrap; overflow: hidden; }
.still .told-text span { animation: none; max-width: 100%; border-right: 0; }
.told-text span { display: inline-block; overflow: hidden; vertical-align: bottom; max-width: 0; border-right: 2px solid var(--ink); animation: type 2.4s steps(54, end) forwards; }
.told[data-step="0"] .told-text span { animation: type 2.4s steps(54, end) forwards; }
@keyframes type { to { max-width: 100%; border-right-color: transparent; } }
.told-moments { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.told-moments li { list-style: none; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .6); font: 500 13px/1 var(--ui); color: var(--t3); transition: background-color .3s, color .3s; }
.told-moments li[aria-current="step"] { background: var(--ink); color: #fff; }
.told-moments { margin: 0; padding: 0; }
.ctl { flex: none; width: 36px; height: 36px; border: 0; border-radius: var(--radius-circle); background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ctl svg { width: 14px; height: 14px; fill: currentColor; }
.ctl .i-play { display: none; }
.scene[data-playing="false"] .ctl .i-play { display: block; }
.scene[data-playing="false"] .ctl .i-pause { display: none; }

/* ── chapters ── */
.ch { position: relative; padding: clamp(72px, 11vw, 180px) 0; }
.ch-head { display: grid; gap: 20px; max-width: 900px; margin-bottom: clamp(40px, 6vw, 88px); }
.ch-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.ch-head .lead { max-width: 52ch; }

/* tell it: the five kinds, each with the thing it is */
.kinds { display: grid; gap: clamp(56px, 9vw, 140px); }
.kind { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.kind:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.kind:nth-child(even) .kind-text { order: 2; }
.kind-text { display: grid; gap: 14px; align-content: center; }
.kind-text p { margin: 0; max-width: 40ch; color: var(--t2); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.chip { display: inline-flex; align-items: center; justify-self: start; height: 30px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--surface); box-shadow: var(--sh-1); font: 500 13px/1 var(--ui); color: var(--ink); }
.chip.dark { background: var(--ink); color: #fff; box-shadow: var(--sh-ink); }
.kind-art { position: relative; }
.kind-art .crop { width: 100%; }
.kind-art .crop + .crop { position: absolute; width: 46%; right: -3%; bottom: -12%; }
.kind:nth-child(even) .kind-art .crop + .crop { right: auto; left: -3%; }

/* one system: the lines, with the product running under them */
.sys { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.sys-lines { display: grid; gap: 0; position: sticky; top: calc(var(--bar-h) + 40px); }
.sys-lines li { list-style: none; padding: 20px 0; border-top: 1px solid var(--line); font: 500 clamp(1.5rem, 2.6vw, 2.4rem)/1.1 var(--ui); letter-spacing: -.03em; color: var(--t4); transition: color .3s; }
.sys-lines li b { font-weight: 500; color: var(--ink); }
.sys-lines { margin: 0; padding: 0; }
.sys-art { display: grid; gap: clamp(16px, 2.4vw, 40px); }
.sys-art .crop:nth-child(2) { width: 82%; justify-self: end; }
.sys-art .crop:nth-child(3) { width: 92%; }

/* see it run: the operations, as a drifting field of crops */
.field { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); align-items: start; }
.field .crop { width: 100%; }
.field .crop:nth-child(1) { grid-column: 1 / span 7; }
.field .crop:nth-child(2) { grid-column: 8 / span 5; margin-top: 12%; }
.field .crop:nth-child(3) { grid-column: 2 / span 5; margin-top: -4%; }
.field .crop:nth-child(4) { grid-column: 7 / span 6; margin-top: 6%; }
.caps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(24px, 4vw, 48px); }
.caps li { list-style: none; padding: 9px 16px; border-radius: var(--radius-pill); background: var(--surface); box-shadow: var(--sh-1); font: 500 15px/1 var(--ui); color: var(--ink); }
.caps { margin-left: 0; padding: 0; }

/* the numbers */
.price { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.price-card { display: grid; gap: 10px; align-content: start; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-panel); background: var(--surface); box-shadow: var(--sh-1); }
.price-card .fig { font: 500 clamp(3rem, 5vw, 4.5rem)/1 var(--ui); letter-spacing: -.045em; color: var(--ink); }
.price-card .fig small { display: block; margin: 8px 0 0; font: 450 15px/1.4 var(--read); letter-spacing: 0; color: var(--t3); }
.price-card p { margin: 0; color: var(--t2); font-size: 15px; }
.price-card.dark { background: var(--ink); }
.price-card.dark .fig, .price-card.dark .h3 { color: #fff; }
.price-card.dark p, .price-card.dark .fig small { color: #A9ABB1; }

/* the close */
.close { text-align: center; padding: clamp(80px, 12vw, 200px) 0 clamp(100px, 14vw, 220px); }
.close .h2 { max-width: 14ch; margin-inline: auto; }
.close .btns { justify-content: center; margin-top: 36px; }

/* the Mai page: the five classes as a table, the areas as lines */
.classes { display: grid; gap: 0; border-radius: var(--radius-panel); overflow: hidden; background: var(--surface); box-shadow: var(--sh-1); }
.class-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: baseline; padding: 24px clamp(20px, 3vw, 40px); border-top: 1px solid var(--line-2); }
.class-row:first-child { border-top: 0; }
.class-row .name { font: 500 22px/1.1 var(--ui); color: var(--ink); letter-spacing: -.02em; }
.class-row p { margin: 0; font-size: 15.5px; color: var(--t2); }
.class-row .ex { font-size: 14.5px; color: var(--t3); }
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.area { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 20px 24px; border-radius: var(--radius-tile); background: var(--surface); box-shadow: var(--sh-1); }
.area b { font: 500 18px/1.2 var(--ui); color: var(--ink); letter-spacing: -.01em; }
.area p { grid-column: 1; margin: 0; font-size: 14.5px; color: var(--t2); }
.tag { align-self: start; grid-row: 1; grid-column: 2; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--soft); font: 500 12.5px/1 var(--ui); color: var(--t2); }
.tag.now { background: var(--ink); color: #fff; }
.note-band { margin-top: 28px; padding: 18px 24px; border-radius: var(--radius-crop); background: rgba(255, 255, 255, .6); color: var(--t2); font-size: 15.5px; }

/* the door */
.door { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 120px); align-items: start; padding: clamp(48px, 8vw, 120px) 0 clamp(80px, 10vw, 160px); }
.door-card { display: grid; gap: 18px; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-panel); background: var(--surface); box-shadow: var(--sh-2); }
.door-card label { display: grid; gap: 8px; font: 500 14px/1.2 var(--ui); color: var(--ink); }
.door-card input, .door-card select { height: 52px; padding: 0 16px; border: 0; border-radius: var(--radius-field); background: var(--ground); font: 450 16px/1 var(--read); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.door-card input:focus-visible, .door-card select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.door-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.door-note { margin: 0; font-size: 14.5px; color: var(--t3); }
.facts { display: grid; gap: 14px; margin: 0; padding: 0; }
.facts li { list-style: none; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); color: var(--t2); }
.facts b { font: 500 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--ui); letter-spacing: -.03em; color: var(--ink); }

@media (max-width: 62rem) {
  .kind, .kind:nth-child(even), .sys, .door { grid-template-columns: 1fr; }
  .kind:nth-child(even) .kind-text { order: 0; }
  .sys-lines { position: static; }
  .price { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .class-row { grid-template-columns: 1fr; gap: 6px; }
  .field .crop:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
}
@media (max-width: 47.99rem) {
  body { font-size: 16px; }
  .stage { height: 158vw; perspective: 1400px; }
  .told { bottom: 2%; }
  .told-moments { display: none; }
  .btn { height: 52px; padding: 0 24px; }
  .kind-art .crop + .crop, .kind:nth-child(even) .kind-art .crop + .crop { position: relative; width: 66%; right: auto; left: auto; bottom: auto; margin: -14% 0 0 auto; }
  .kind:nth-child(even) .kind-art .crop + .crop { margin: -14% auto 0 0; }
  .pane { left: var(--lm, var(--l)); top: var(--tm, var(--t)); width: var(--wm, var(--w)); }
  .told-text { white-space: normal; }
  .told-text span { animation: none; max-width: 100%; border-right: 0; }
  .told-bar { border-radius: var(--radius-panel); }
  .ch { padding-block: 64px; }
  body { padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .pane > .crop, .orb::after { animation: none; }
  .told-text span { animation: none; max-width: 100%; border: 0; }
  [data-rise] { opacity: 1; transform: none; transition: none; }
  .rig { transition: none; }
}
