/* Ourus — overview site. Deck identity: blue #2350E8, navy #0F1D3A, Plus Jakarta Sans + Inter. */

:root {
  --blue: #2350E8;
  --blue-hi: #3A66FF;
  --blue-deep: #1A3AB0;
  --navy: #0F1D3A;
  --navy-2: #172A52;
  --navy-3: #22396A;
  --tint: #A9BEFF;
  --tint-2: #DCE5FF;
  --white: #FFFFFF;
  --ink: #0F1D3A;
  --ink-2: #3D4963;
  --ink-3: #5F6A82;
  --surface: #F3F5FA;
  --surface-2: #E9EDF6;
  --line: #DFE4EE;
  --line-dark: rgba(255, 255, 255, .14);
  --on-dark: #FFFFFF;
  --on-dark-2: rgba(255, 255, 255, .76);
  --on-dark-3: rgba(255, 255, 255, .58);
  --ok: #1E9C66;
  --warn: #C7771A;
  --risk: #D2453B;

  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;

  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1280px;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;

  --z-canvas: 0;
  --z-content: 1;
  --z-sticky: 20;
  --z-header: 40;
  --z-menu: 50;
  --z-toast: 60;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
@layer base { a { color: inherit; } }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--white); }

.skip { position: absolute; left: 12px; top: -60px; z-index: var(--z-toast); background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 999px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.d1 { font-size: clamp(44px, 6.6vw, 92px); line-height: .98; }
.d2 { font-size: clamp(36px, 4.9vw, 68px); }
.d3 { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.06; }
.d4 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; line-height: 1.15; }
.soft { color: var(--ink-3); }
.dark .soft, .on-dark .soft { color: var(--on-dark-3); }
.tint { color: var(--tint); }
.blue { color: var(--blue); }
p { text-wrap: pretty; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.dark .lede, .on-dark .lede { color: var(--on-dark-2); }
.body-2 { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.dark .body-2 { color: var(--on-dark-2); }
.label { font: 500 12px/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.dark .label { color: var(--on-dark-3); }
.num { font-variant-numeric: tabular-nums; }
.fine { font-size: 13px; color: var(--ink-3); }
.dark .fine { color: var(--on-dark-3); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 7.5vw, 112px) 0; position: relative; }
.section.tight { padding: clamp(64px, 8vw, 112px) 0; }
.dark { background: var(--navy); color: var(--on-dark); }
.surface { background: var(--surface); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.split > p { padding-bottom: .4em; }
.head-block { margin-bottom: clamp(48px, 6vw, 80px); }
.stack-s > * + * { margin-top: 14px; }
.stack-m > * + * { margin-top: 24px; }
.rule { height: 1px; background: var(--line); border: 0; }
.dark .rule { background: var(--line-dark); }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font: 500 15px/1 var(--body); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hi); box-shadow: 0 6px 8px -4px rgba(35, 80, 232, .5); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { box-shadow: 0 6px 8px -4px rgba(255, 255, 255, .35); }
.btn-line { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.on-dark .btn-line, .dark .btn-line { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); color: var(--white); }
.on-dark .btn-line:hover, .dark .btn-line:hover { box-shadow: inset 0 0 0 1px var(--white); }
.btn-sm { --h: 38px; padding: 0 18px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: inherit; }
.link-arrow .ar { transition: transform .3s var(--ease); }
.link-arrow:hover .ar { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  padding: 14px var(--gutter);
  pointer-events: none;
}
.nav-shell {
  pointer-events: auto;
  margin: 0 auto; max-width: var(--max);
  height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 8px 0 18px; border-radius: 999px;
  color: var(--ink);
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), max-width .6s var(--ease);
}
.on-dark .nav-shell, .site-header[data-tone="dark"] .nav-shell { color: var(--white); }
.site-header.scrolled .nav-shell {
  max-width: 880px;
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(15, 29, 58, .07), 0 6px 8px -6px rgba(15, 29, 58, .18);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
}
.site-header.scrolled[data-tone="dark"] .nav-shell {
  background: rgba(15, 29, 58, .78); color: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1);
}
.logo { display: block; width: 92px; height: 27px; background: currentColor; -webkit-mask: url(/assets/wordmark.svg) left center / contain no-repeat; mask: url(/assets/wordmark.svg) left center / contain no-repeat; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; opacity: .82; transition: opacity .2s, background-color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; background: color-mix(in srgb, currentColor 9%, transparent); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.site-header .btn-primary { --h: 38px; padding: 0 18px; font-size: 14px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 23px; }
.menu-open .menu-btn span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--navy); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 600 30px/1.1 var(--display); letter-spacing: -.03em; text-decoration: none; }
.mobile-menu .mm-foot { display: grid; gap: 14px; }
.menu-open .site-header .nav-shell { color: var(--white) !important; background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header { z-index: calc(var(--z-menu) + 1); }
.menu-open .site-header .btn-primary { visibility: hidden; }
.menu-open { overflow: hidden; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; color: var(--white);
  background:
    radial-gradient(90% 60% at 74% 40%, rgba(58, 102, 255, .45) 0%, rgba(35, 80, 232, 0) 60%),
    linear-gradient(180deg, #2A58F0 0%, #2350E8 22%, #1E45CC 42%, #1A3AB0 56%, #152C7E 70%, #12245A 82%, var(--navy) 96%);
  display: flex; flex-direction: column;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: var(--z-canvas); }
.hero-inner { position: relative; z-index: var(--z-content); flex: 1; display: flex; align-items: center; padding-top: calc(var(--header-h) + 24px); padding-bottom: 24px; }
.hero-copy { max-width: 700px; }
.hero h1 { margin: 0 0 28px; }
h1 .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
h1 .line > span { display: inline-block; }
.hero .lede { color: var(--on-dark-2); max-width: 31em; }
.hero .actions { margin-top: 38px; }
.hero-noise { position: absolute; inset: -50%; z-index: var(--z-canvas); pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(72px, 11vw, 150px)) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.page-hero.dark { background: radial-gradient(90% 90% at 85% 0%, rgba(35, 80, 232, .45), rgba(35, 80, 232, 0) 60%), var(--navy); }
.page-hero h1 { max-width: 15em; }
.page-hero .lede { margin-top: 26px; }
.page-hero .mark-bg { position: absolute; right: -12vw; top: 50%; width: min(70vw, 760px); aspect-ratio: 1; transform: translateY(-46%); background: currentColor; opacity: .06; -webkit-mask: url(/assets/mark.svg) center / contain no-repeat; mask: url(/assets/mark.svg) center / contain no-repeat; pointer-events: none; }

/* ---------- morning (3,037 → 9) ---------- */
.morning { background: var(--white); }
.morning-stage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 100svh; }
.morning-left { background: var(--navy); color: var(--white); display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 112px) var(--gutter); position: relative; overflow: hidden; }
.morning-left .clock { font: 500 14px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--tint); margin-bottom: 22px; }
.morning-left .clock .t { display: inline-block; min-width: 4.4ch; }
.morning-count { position: relative; font: 700 clamp(56px, 7.4vw, 108px)/.94 var(--display); letter-spacing: -.04em; }
.morning-count .swap { display: block; position: relative; }
.morning-count .b { position: absolute; left: 0; top: 0; opacity: 0; color: var(--tint); }
.morning-left .sub { margin-top: 28px; max-width: 26em; color: var(--on-dark-2); min-height: 4.8em; position: relative; }
.morning-left .sub span { display: block; transition: opacity .5s; }
.morning-left .sub .b { position: absolute; inset: 0; opacity: 0; }
.morning-right { background: var(--surface); display: flex; align-items: center; justify-content: center; padding: clamp(40px, 6vw, 96px) clamp(20px, 4vw, 72px); position: relative; overflow: hidden; }
.win {
  width: 100%; max-width: 520px; background: var(--white); border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(15, 29, 58, .06), 0 2px 3px rgba(15, 29, 58, .04), 0 24px 48px -24px rgba(15, 29, 58, .28);
  overflow: hidden; position: relative;
}
.win-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-3); background: #FAFBFD; }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D7DCE6; display: block; }
.win-bar b { font-weight: 500; margin-left: 10px; color: var(--ink-2); }
.win-head { display: flex; justify-content: space-between; align-items: flex-end; padding: 22px 24px 14px; gap: 16px; }
.win-head h3 { font-size: 18px; letter-spacing: -.02em; }
.win-head .fine { margin-top: 4px; }
.win-head .big { font: 700 34px/1 var(--display); letter-spacing: -.03em; text-align: right; }
.win-head .big small { display: block; font: 400 12px/1.4 var(--body); color: var(--ink-3); letter-spacing: 0; margin-top: 4px; }
.erp-list { height: 400px; overflow: hidden; position: relative; -webkit-mask: linear-gradient(#000 80%, transparent); mask: linear-gradient(#000 80%, transparent); }
.erp-track { list-style: none; animation: erp-scroll 38s linear infinite; }
.erp-track li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 24px; border-top: 1px solid #EEF1F6; font-size: 13.5px; color: var(--ink-2); }
.erp-track li span:first-child { display: flex; align-items: center; gap: 12px; }
.erp-track li span:first-child::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #B9C1D2; flex: none; }
.erp-track li .d { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.erp-track li.key { color: var(--ink); font-weight: 600; }
@keyframes erp-scroll { to { transform: translateY(-50%); } }

.today { position: absolute; inset: auto; width: calc(100% - clamp(40px, 8vw, 144px)); max-width: 520px; opacity: 0; visibility: hidden; }
.today .win-head .big { color: var(--blue); }
.dec { padding: 16px 24px; border-top: 1px solid #EEF1F6; display: grid; grid-template-columns: 58px 1fr auto; gap: 4px 14px; align-items: start; }
.dec .tag { grid-row: span 2; text-align: center; font: 600 11px/1 var(--body); letter-spacing: .04em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; margin-top: 2px; }
.tag-buy { background: #E7EDFF; color: var(--blue); }
.tag-chase { background: #FDF1E2; color: #9A5A0E; }
.tag-make { background: #E4F5EC; color: #13734A; }
.dec strong { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.dec .why { grid-column: 2; font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.dec .conf { grid-row: 1 / span 2; grid-column: 3; text-align: right; font-size: 12px; color: var(--ink-3); }
.dec .conf b { display: block; font: 600 15px/1.2 var(--display); color: var(--ink); }
.today-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 18px; border-top: 1px solid #EEF1F6; }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--blue); color: var(--white); }
.mini-btn.ghost { background: var(--surface); color: var(--ink-2); }

/* ---------- lead time ---------- */
.lt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.lt-cell { padding: 32px 0 0; }
.lt-cell + .lt-cell { padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid var(--line); }
.lt-cell .val { font: 700 clamp(64px, 9vw, 132px)/.9 var(--display); letter-spacing: -.04em; margin-top: 14px; }
.lt-cell .val.erp { color: #B7BFD0; }
.lt-chart { margin-top: clamp(40px, 5vw, 64px); }
.lt-chart svg { width: 100%; height: auto; overflow: visible; }
.lt-legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.lt-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lt-legend i { width: 10px; height: 10px; border-radius: 50%; display: block; }

/* ---------- supplier slip ---------- */
.slip { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.slip-steps { list-style: none; counter-reset: s; }
.slip-steps li { border-top: 1px solid var(--line-dark); }
.slip-steps li:last-child { border-bottom: 1px solid var(--line-dark); }
.slip-steps button { width: 100%; text-align: left; display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 20px 0; position: relative; color: var(--on-dark-3); transition: color .4s var(--ease); }
.slip-steps button::before { counter-increment: s; content: counter(s); font: 500 13px/1.6 var(--body); font-variant-numeric: tabular-nums; }
.slip-steps button strong { font: 600 20px/1.3 var(--display); letter-spacing: -.02em; }
.slip-steps button span { grid-column: 2; font-size: 15px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s var(--ease); }
.slip-steps button[aria-selected="true"] { color: var(--white); }
.slip-steps button[aria-selected="true"] span { max-height: 6em; opacity: 1; color: var(--on-dark-2); }
.slip-steps .bar { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--tint); }
.slip-panel { position: relative; min-height: 460px; display: grid; place-items: center; }
.slip-card { grid-area: 1 / 1; width: 100%; max-width: 560px; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none; }
.slip-card.on { opacity: 1; transform: none; pointer-events: auto; }
.slip-card .hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--surface); color: var(--ink-2); white-space: nowrap; }
.chip.risk { background: #FCE9E7; color: #A8302A; }
.chip.ok { background: #E4F5EC; color: #13734A; }
.chip.blue { background: #E7EDFF; color: var(--blue); }
.slip-card h4 { font-size: 22px; letter-spacing: -.025em; line-height: 1.2; }
.slip-card .meta { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 24px; padding: 18px; background: var(--surface); border-radius: 10px; }
.dates .lbl { font-size: 12px; color: var(--ink-3); }
.dates .v { font: 600 18px/1.3 var(--display); }
.dates .v.late { color: var(--risk); }
.dates .arrow { color: var(--ink-3); }
.rows { margin-top: 18px; }
.rows .r { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.rows .r b { font-weight: 600; }
.opt { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 10px; border: 1px solid var(--line); margin-top: 10px; font-size: 14px; }
.opt.best { border-color: var(--blue); background: #F5F8FF; }
.opt .rk { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--surface); }
.opt.best .rk { background: var(--blue); color: var(--white); }
.opt .sub { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.mail { margin-top: 18px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 14px; }
.mail .to { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.mail .msg { padding: 14px; line-height: 1.55; color: var(--ink-2); }
.approve-row { display: flex; gap: 10px; margin-top: 18px; align-items: center; }

/* ---------- loop ---------- */
.loop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.loop-fig { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin: 0 auto; }
.loop-fig svg { width: 100%; height: 100%; overflow: visible; }
.loop-list { list-style: none; }
.loop-list li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 8px; padding: 22px 0; border-top: 1px solid var(--line); transition: opacity .4s var(--ease); }
.loop-list li:last-child { border-bottom: 1px solid var(--line); }
.loop-list .n { font: 600 14px/1.6 var(--display); color: var(--blue); font-variant-numeric: tabular-nums; }
.loop-list h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.3; }
.loop-list p { grid-column: 2; color: var(--ink-2); font-size: 15.5px; margin-top: 4px; }

/* futures */
.futures { margin-top: clamp(72px, 9vw, 128px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.futures-fig { position: relative; border-radius: var(--radius); background: var(--navy); overflow: hidden; aspect-ratio: 16 / 10; }
.futures-fig canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.futures-fig .ov { position: absolute; left: 20px; top: 18px; right: 20px; display: flex; justify-content: space-between; color: var(--on-dark-2); font-size: 13px; gap: 12px; }
.futures-fig .ov b { display: block; font: 700 30px/1.1 var(--display); color: var(--white); letter-spacing: -.03em; }
.futures-fig .axis { position: absolute; left: 20px; right: 20px; bottom: 12px; display: flex; justify-content: space-between; font-size: 11px; color: var(--on-dark-3); }

/* ---------- principle ---------- */
.principle { position: relative; overflow: hidden; }
.principle .big { font-size: clamp(44px, 7vw, 96px); line-height: .98; max-width: 11em; }
.principle .big .w { display: inline-block; }
.pr-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-dark); }
.pr-list li { padding: 28px clamp(16px, 2.4vw, 36px) 0 0; }
.pr-list li + li { padding-left: clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--line-dark); }
.pr-list h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.3; }
.pr-list p { margin-top: 10px; color: var(--on-dark-2); font-size: 15.5px; }
.principle .mark-bg { position: absolute; right: -14%; bottom: -30%; width: min(80vw, 900px); aspect-ratio: 1; background: var(--white); opacity: .04; -webkit-mask: url(/assets/mark.svg) center / contain no-repeat; mask: url(/assets/mark.svg) center / contain no-repeat; pointer-events: none; }

/* ---------- pricing ---------- */

/* ---------- fit / why now ---------- */
.fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.fit-list { list-style: none; }
.fit-list li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.fit-list li:last-child { border-bottom: 1px solid var(--line); }
.fit-list b { font: 600 18px/1.3 var(--display); letter-spacing: -.015em; text-align: right; }
.erp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.why-now { list-style: none; }
.why-now li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 150px) 1fr; gap: 20px; align-items: baseline; }
.why-now li:last-child { border-bottom: 1px solid var(--line); }
.why-now .v { font: 700 30px/1 var(--display); letter-spacing: -.03em; color: var(--blue); }
.why-now p { font-size: 15.5px; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(90% 120% at 80% 100%, rgba(58, 102, 255, .7), rgba(35, 80, 232, 0) 60%), linear-gradient(160deg, #2350E8, #1A3AB0 55%, var(--navy)); }
.cta-band .mark-bg { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); height: 76%; width: auto; max-width: 40vw; aspect-ratio: 1; background: var(--white); opacity: .08; -webkit-mask: url(/assets/mark.svg) center / contain no-repeat; mask: url(/assets/mark.svg) center / contain no-repeat; }
.cta-band h2 { max-width: 13em; }
.cta-band .actions { margin-top: 36px; }
.cta-band .lede { color: var(--on-dark-2); margin-top: 22px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark); padding: clamp(72px, 9vw, 120px) 0 32px; }
.foot-top { padding-bottom: clamp(48px, 6vw, 80px); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.foot-cols h4 { font: 500 13px/1 var(--body); letter-spacing: 0; color: var(--on-dark-3); margin-bottom: 18px; }
.foot-cols ul { list-style: none; display: grid; gap: 12px; }
.foot-cols a { text-decoration: none; font-size: 15px; color: var(--on-dark-2); transition: color .2s; }
.foot-cols a:hover { color: var(--white); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-3); }
.foot-bottom .logo { width: 84px; height: 24px; color: var(--white); }
.foot-bottom a { color: var(--on-dark-2); text-decoration: none; }
.foot-bottom a:hover { color: var(--white); }

/* ---------- product walkthrough ---------- */
.phase-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-3); margin-bottom: clamp(48px, 6vw, 88px); }
.phase-head b { color: var(--ink); font-weight: 500; }
.dark .phase-head { border-color: var(--line-dark); color: var(--on-dark-3); }
.dark .phase-head b { color: var(--white); }
.walk { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.walk-text { display: grid; gap: 0; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .32; transition: opacity .5s var(--ease); }
.step.active { opacity: 1; }
.step .n { font: 600 14px/1 var(--display); color: var(--blue); font-variant-numeric: tabular-nums; }
.dark .step .n { color: var(--tint); }
.step h3 { font-size: clamp(28px, 2.6vw, 38px); margin-top: 14px; line-height: 1.08; }
.step p { margin-top: 16px; color: var(--ink-2); max-width: 30em; }
.dark .step p { color: var(--on-dark-2); }
.step ul { list-style: none; margin-top: 24px; display: grid; font-size: 15px; color: var(--ink-2); max-width: 30em; }
.dark .step ul { color: var(--on-dark-2); }
.step ul li { padding: 10px 0; border-top: 1px solid var(--line); }
.step .mock-inline { display: none; }
.walk-stage { position: sticky; top: calc(50vh - var(--stage-h, 300px) / 2); }
.stage-frame {
  position: relative; border-radius: 18px; padding: clamp(14px, 2.2vw, 30px);
  background: radial-gradient(80% 90% at 70% 10%, rgba(58, 102, 255, .55), rgba(35, 80, 232, 0) 60%), linear-gradient(160deg, #2350E8, #1A3AB0 60%, #12245A);
  overflow: hidden;
}
.dark .stage-frame { background: radial-gradient(80% 90% at 70% 10%, rgba(58, 102, 255, .35), rgba(35, 80, 232, 0) 60%), var(--navy-2); box-shadow: inset 0 0 0 1px var(--line-dark); }
.stage-frame .mark-bg { position: absolute; right: -20%; bottom: -40%; width: 80%; aspect-ratio: 1; background: var(--white); opacity: .07; -webkit-mask: url(/assets/mark.svg) center / contain no-repeat; mask: url(/assets/mark.svg) center / contain no-repeat; }
.stage-screens { position: relative; display: grid; }
.stage-screens > .scaler { grid-area: 1 / 1; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.stage-screens > .scaler.on { opacity: 1; transform: none; pointer-events: auto; }
.walk-caption { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.dark .walk-caption { color: var(--on-dark-3); }
.stage-dots { display: flex; gap: 6px; margin-top: 14px; }
.stage-dots i { width: 18px; height: 3px; border-radius: 2px; background: var(--line); transition: background-color .4s, width .4s var(--ease); }
.stage-dots i.on { background: var(--blue); width: 34px; }
.dark .stage-dots i { background: var(--line-dark); }
.dark .stage-dots i.on { background: var(--tint); }

/* Scaled mock: render at a fixed design width, scale to container. */
.scaler { --s: 1; width: 100%; height: calc(var(--mh) * var(--s) * 1px); position: relative; }
.scaler > .app { position: absolute; left: 0; top: 0; width: calc(var(--mw) * 1px); height: calc(var(--mh) * 1px); transform: scale(var(--s)); transform-origin: 0 0; }

/* inside-ourus layer cards (product) */
.layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.layers > div { padding: 28px clamp(16px, 2.4vw, 36px) 0 0; }
.layers > div + div { padding-left: clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--line-dark); }
.layers h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 14px; line-height: 1.25; }
.layers p { margin-top: 10px; color: var(--on-dark-2); font-size: 15.5px; }
.layers .n { font: 600 14px/1 var(--display); color: var(--tint); }

/* ---------- about ---------- */
.prose { max-width: 40em; }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--ink-2); font-size: 18px; line-height: 1.65; }
.dark .prose p { color: var(--on-dark-2); }
.accordion { list-style: none; border-top: 1px solid var(--line); }
.accordion li { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: grid; grid-template-columns: 56px 1fr 28px; align-items: center; text-align: left; padding: 24px 0; gap: 8px; }
.acc-btn .n { font: 500 14px/1 var(--body); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.acc-btn .h { font: 600 clamp(20px, 2vw, 26px)/1.25 var(--display); letter-spacing: -.02em; }
.acc-btn .pm { width: 28px; height: 28px; position: relative; }
.acc-btn .pm::before, .acc-btn .pm::after { content: ""; position: absolute; left: 7px; right: 7px; top: 13.5px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.acc-btn .pm::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .pm::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 0 28px 64px; color: var(--ink-2); max-width: 46em; }
.acc-btn[aria-expanded="true"] + .acc-panel { grid-template-rows: 1fr; }

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.person { display: grid; grid-template-columns: 1fr; gap: 0; }
.portrait { width: 70%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; background: var(--surface, #EEF1F7); box-shadow: 0 0 0 1px rgba(15, 29, 58, .08); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .mono { position: absolute; inset: 0; display: grid; place-items: center; font: 700 clamp(64px, 9vw, 128px)/1 var(--display); letter-spacing: -.04em; color: rgba(255, 255, 255, .92); }
.portrait .mark-bg { position: absolute; right: -25%; bottom: -25%; width: 90%; aspect-ratio: 1; background: var(--white); opacity: .08; -webkit-mask: url(/assets/mark.svg) center / contain no-repeat; mask: url(/assets/mark.svg) center / contain no-repeat; }
.person h3 { font-size: 26px; margin-top: 22px; letter-spacing: -.025em; }
.person .role { color: var(--blue); font-size: 15px; font-weight: 500; margin-top: 6px; }
.person p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.person .creds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 24px 24px 0 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts .v { font: 600 22px/1.25 var(--display); letter-spacing: -.02em; margin-top: 8px; }

/* ---------- jobs / faq / legal ---------- */
.jobs { list-style: none; border-top: 1px solid var(--line); }
.jobs li { border-bottom: 1px solid var(--line); }
.jobs a { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 16px; align-items: center; padding: 26px 0; text-decoration: none; transition: padding .4s var(--ease); }
.jobs a:hover { padding-left: 10px; }
.jobs h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; line-height: 1.25; }
.jobs .meta { color: var(--ink-3); font-size: 15px; }
.jobs .ar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s, box-shadow .3s; }
.jobs a:hover .ar { background: var(--blue); color: var(--white); box-shadow: none; }

.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.doc-nav { position: sticky; top: calc(var(--header-h) + 32px); list-style: none; display: grid; gap: 4px; font-size: 14px; }
.doc-nav a { display: block; padding: 6px 0; color: var(--ink-3); text-decoration: none; }
.doc-nav a:hover, .doc-nav a[aria-current="page"] { color: var(--ink); }
.doc-nav a[aria-current="page"] { font-weight: 600; }
.doc { max-width: 44em; }
.doc h2 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; margin: 48px 0 14px; line-height: 1.25; }
.doc h3 { font-size: 18px; letter-spacing: -.01em; margin: 28px 0 8px; line-height: 1.35; }
.doc p, .doc li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.doc p + p { margin-top: 14px; }
.doc ul { margin: 12px 0 0 1.2em; display: grid; gap: 8px; }
.doc a { color: var(--blue); }
.doc .updated { color: var(--ink-3); font-size: 14px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 600; }

.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.res { display: grid; grid-row: span 4; grid-template-rows: subgrid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--surface); text-decoration: none; min-height: 220px; transition: background-color .3s var(--ease), transform .4s var(--ease); }
.res:hover { background: var(--surface-2); transform: translateY(-2px); }
.res h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.25; margin-top: 6px; }
.res p { font-size: 15px; color: var(--ink-2); }
.res .link-arrow { align-self: end; font-size: 14px; color: var(--blue); }

/* ---------- reveal ---------- */
.js [data-reveal] { will-change: transform, opacity; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
}
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn-line { display: none; }
  .menu-btn { display: block; }
  .split, .slip, .loop, .futures, .fit, .walk, .morning-stage { grid-template-columns: 1fr; }
  .split { align-items: start; gap: 20px; }
  .morning-stage { min-height: 0; }
  .morning-left { padding-top: 88px; padding-bottom: 64px; }
  .morning-right { flex-direction: column; gap: 24px; padding: 48px var(--gutter) 64px; }
  .today { position: relative; opacity: 1; visibility: visible; width: 100%; }
  .morning-count .b { display: none; }
  .morning-left .sub .b { position: static; opacity: 1; margin-top: 12px; }
  .erp-list { height: 300px; }
  .loop-fig { max-width: 420px; }
  .walk-stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 0 0 72px; }
  .step .mock-inline { display: block; margin-top: 28px; }
  .pr-list, .layers, .facts { grid-template-columns: 1fr; }
  .pr-list li, .layers > div, .facts > div { padding: 24px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line-dark); }
  .facts > div { border-bottom-color: var(--line); }
  .team { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .jobs a { grid-template-columns: 1fr auto; }
  .jobs .meta { grid-column: 1; grid-row: 2; }
  .jobs .ar { grid-row: 1 / span 2; grid-column: 2; }
  .slip-panel { min-height: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lt-grid { grid-template-columns: 1fr; }
  .lt-cell + .lt-cell { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 28px; }
  .why-now li { grid-template-columns: 1fr; gap: 6px; }
  .slip-card { padding: 20px; }
  .dates { grid-template-columns: 1fr; gap: 6px; }
  .dates .arrow { display: none; }
  .acc-btn { grid-template-columns: 36px 1fr 28px; }
  .acc-panel p { padding-left: 44px; }
  .fit-list li { grid-template-columns: 1fr; gap: 4px; }
  .fit-list b { text-align: left; }
  .dec { padding: 14px 16px; }
  .win-head { padding: 18px 16px 12px; }
  .erp-track li { padding: 11px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .erp-track { animation: none; }
}
.mail mark { background: #FFF1C9; color: inherit; padding: 0 2px; border-radius: 3px; }
.hero canvas { opacity: 0; transition: opacity 1.6s var(--ease); }
.site-header[data-tone="dark"]:not(.scrolled) .btn-primary { background: var(--white); color: var(--navy); }
.site-header[data-tone="dark"]:not(.scrolled) .btn-primary:hover { box-shadow: 0 6px 8px -4px rgba(255, 255, 255, .35); }
.mini-btn { white-space: nowrap; flex: none; }
.today-foot { gap: 12px; }
@media (max-width: 960px) {
  .site-header .nav-cta .btn-primary { display: none; }
  .nav-shell { padding: 0 4px 0 16px; }
}
.scaler { overflow: clip; overflow-clip-margin: 48px; }
.creds .chip, .erp-chips .chip { white-space: normal; height: auto; min-height: 26px; padding: 4px 10px; line-height: 1.35; }
html { overflow-x: clip; }

/* ---------- chapters ----------
   Pages are a few continuous fields instead of a stack of coloured blocks.
   A [data-grow] chapter starts as an inset panel and widens to full-bleed as it scrolls in. */
.chapter { position: relative; }
.chapter-dark { background: var(--navy); color: var(--on-dark); }
.chapter-light { background: var(--white); color: var(--ink); }
.chapter .dark, .chapter .surface, .chapter .morning, .chapter .morning-left, .chapter .morning-right { background: transparent; }
.chapter-dark .cta-band { background: radial-gradient(60% 90% at 88% 100%, rgba(35, 80, 232, .42), rgba(35, 80, 232, 0) 70%); }
.chapter-dark .page-hero.dark { background: radial-gradient(90% 90% at 85% 0%, rgba(35, 80, 232, .45), rgba(35, 80, 232, 0) 60%); }
.grow-wrap { position: relative; }
.js .grow-wrap > [data-grow] { will-change: clip-path; }
.morning-left { padding-left: var(--gutter); }

/* lead time on navy */
.dark .lt-grid { border-top-color: var(--line-dark); }
.dark .lt-cell + .lt-cell { border-left-color: var(--line-dark); }
.dark .lt-cell .val.erp { color: rgba(255, 255, 255, .3); }
.dark .lt-legend { color: var(--on-dark-3); }
.dark .step ul li { border-top-color: var(--line-dark); }
@media (max-width: 640px) { .dark .lt-cell + .lt-cell { border-top-color: var(--line-dark); } }
.win { color: var(--ink); }
#glossary .fit-list li { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; }
@media (max-width: 640px) { #glossary .fit-list li { grid-template-columns: 1fr; gap: 4px; } }
/* phones: copy sits low so the turning mark has the top of the hero, as on / */
@media (max-width: 960px) {
  .hero-inner { align-items: flex-end; padding-bottom: clamp(40px, 8svh, 72px); }
}
/* hero → navy: the grain thins out with the blue so there's no seam where the next section starts */
.hero-noise { -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 62%); mask-image: linear-gradient(to bottom, #000 30%, transparent 62%); }
@media (max-width: 640px) { .cta-band .mark-bg { display: none; } }

/* ---------- contact ---------- */
.contact-hero { padding-bottom: clamp(72px, 9vw, 128px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-next { list-style: none; margin-top: 44px; display: grid; gap: 0; counter-reset: n; max-width: 30em; }
.contact-next li { display: grid; grid-template-columns: 36px 1fr; gap: 2px 14px; padding: 18px 0; border-top: 1px solid var(--line-dark); counter-increment: n; }
.contact-next li::before { content: counter(n); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--body); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.contact-next b { font-weight: 600; color: var(--white); }
.contact-next span { color: var(--on-dark-2); font-size: 15px; }
.contact-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .55); }
.contact-card :focus-visible { outline-color: var(--blue); }
.contact-card .fine { color: var(--ink-3); }
.contact-card .fine a { color: var(--ink-2); }
.contact-card .btn-line { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.contact-form { display: grid; gap: 20px; }
.contact-form .topic { border: 0; min-width: 0; }
.contact-form legend, .field label { display: block; font: 500 14px/1.3 var(--body); color: var(--ink); margin-bottom: 8px; }
.field .optional { color: var(--ink-3); font-weight: 400; margin-left: 4px; }
.topic-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-opts label { position: relative; cursor: pointer; }
.topic-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic-opts span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, color .2s, box-shadow .2s; }
.topic-opts label:hover span { box-shadow: inset 0 0 0 1px var(--ink-3); }
.topic-opts input:checked + span { background: var(--navy); color: var(--white); box-shadow: none; }
.topic-opts input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field input, .field textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field input { height: 48px; }
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:hover, .field textarea:hover { border-color: #C5CCDB; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35, 80, 232, .14); }
.field [aria-invalid="true"] { border-color: #C2362D; }
.field .err { color: #B42F26; font-size: 13px; margin-top: 6px; }
.field .err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-foot .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { font-size: 14px; color: #B42F26; }
.form-status:empty { display: none; }
.form-done { display: grid; gap: 14px; justify-items: start; padding: 8px 0; }
.form-done:focus { outline: none; }
[hidden] { display: none !important; }
.form-done p { color: var(--ink-2); }
.form-done .btn { margin-top: 10px; }
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- home: plain-language explainer, then one module per page ---------- */
.plain .d2 { max-width: 13em; }
.plain-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.plain-lede { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--ink-2); max-width: 26em; }
.plain-list { list-style: none; }
.plain-list li { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }
.plain-list li:first-child { padding-top: 0; border-top: 0; }
.plain-list b { font: 600 19px/1.3 var(--display); letter-spacing: -.015em; }
.plain-list span { color: var(--ink-2); font-size: 16px; line-height: 1.55; }

.ex-stack { display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 20px); }
.ex { display: flex; align-items: center; gap: clamp(28px, 5vw, 80px); padding: clamp(28px, 3.6vw, 56px); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: background .3s var(--ease), transform .3s var(--ease); }
.ex:hover { background: var(--surface-2); }
.ex:active { transform: scale(.995); }
.ex:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.ex-copy { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.ex-k { font-size: 14px; font-weight: 500; color: var(--blue); }
.ex h3 { font: 600 clamp(26px, 2.6vw, 38px)/1.12 var(--display); letter-spacing: -.025em; text-wrap: balance; max-width: 15em; }
.ex-copy p { color: var(--ink-2); font-size: 16.5px; line-height: 1.55; max-width: 32em; }
.ex-go { margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.ex-go span { display: inline-block; transition: transform .3s var(--ease); }
.ex:hover .ex-go span { transform: translateX(4px); }
.ex-vis { flex: 0 0 auto; display: flex; flex-direction: column; }

.ex-product { background: linear-gradient(150deg, var(--blue), var(--blue-deep)); color: var(--white); overflow: hidden; }
.ex-product:hover { background: linear-gradient(150deg, var(--blue-hi), var(--blue)); }
.ex-product .ex-k { color: rgba(255, 255, 255, .86); }
.ex-product .ex-copy p { color: rgba(255, 255, 255, .88); }
.ex-product .ex-go { color: var(--white); }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 6px 6px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.ph-head i { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font: 600 13px/1 var(--body); font-style: normal; flex-shrink: 0; }
.ph-head span { font-size: 11.5px; color: var(--ink-3); line-height: 1.3; }
.ph-head b { display: block; font-size: 14px; color: var(--ink); }
.bub { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 13.5px; line-height: 1.42; }
.bub.in { background: var(--surface); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 5px; }
.bub.out { background: var(--blue); color: var(--white); align-self: flex-end; border-bottom-right-radius: 5px; }

.ex-duo { position: relative; width: min(620px, 56%); min-height: 530px; display: flex; align-items: center; }
.duo-dash { width: calc(100% - 150px); border-radius: 12px; background: var(--white); color: var(--ink); overflow: hidden; box-shadow: 0 6px 8px -4px rgba(10, 24, 80, .3); }
.duo-dash .win-bar { height: 32px; }
.duo-head { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px 12px; }
.duo-head b { font: 600 17px/1.2 var(--display); letter-spacing: -.02em; }
.duo-head span { font-size: 12px; color: var(--ink-3); }
.duo-dash .dec { padding: 12px 20px; grid-template-columns: 52px minmax(0, 1fr); }
.duo-dash .dec strong { font-size: 13.5px; }
.duo-dash .dec .why { font-size: 12px; }
.duo-phone { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 236px; aspect-ratio: 9 / 19.5; padding: 8px; border-radius: 40px; background: #0F1D3A; box-shadow: -10px 12px 32px rgba(8, 20, 70, .45); }
.duo-screen { height: 100%; display: flex; flex-direction: column; border-radius: 32px; background: var(--white); overflow: hidden; }
.ph-status { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px 6px; font-size: 11px; font-weight: 600; color: var(--ink); }
.ph-status i { width: 64px; height: 18px; border-radius: 10px; background: #0F1D3A; }
.ph-status .bat { width: 20px; height: 9px; border-radius: 3px; background: var(--ink); }
.duo-phone .ph-head { padding: 4px 14px 9px; margin-bottom: 0; }
.ph-msgs { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 8px 10px; }
.ph-input { display: flex; align-items: center; justify-content: space-between; margin: 4px 10px 8px; padding: 6px 6px 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; color: #9AA4B8; }
.ph-input i { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 600; }
.ph-kb { display: flex; flex-direction: column; gap: 6px; padding: 8px 3px 16px; background: #D5D9E0; }
.kr { display: flex; justify-content: center; gap: 3px; }
.k { flex: 0 0 calc((100% - 27px) / 10); height: 26px; display: grid; place-items: center; border-radius: 4px; background: var(--white); color: var(--ink); font-size: 11px; box-shadow: 0 1px 0 rgba(15, 29, 58, .25); }
.k.wide { flex: 1.4 0 0; background: #B8BEC9; font-size: 9.5px; }
.k.space { flex: 5 0 0; font-size: 9.5px; color: var(--ink-3); }
.duo-phone .bub { font-size: 11.5px; padding: 7px 10px; flex-shrink: 0; }
.faces { display: flex; }
.faces img { width: clamp(96px, 10vw, 140px); height: clamp(96px, 10vw, 140px); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px var(--surface); transition: box-shadow .3s var(--ease); }
.faces img + img { margin-left: -22px; }
.ex-about:hover .faces img { box-shadow: 0 0 0 5px var(--surface-2); }
.ex-resources .ex-vis { gap: 8px; align-items: flex-end; }
.q { font-size: 14px; padding: 9px 15px; border-radius: 999px; background: var(--white); color: var(--ink-2); white-space: nowrap; }

@media (max-width: 860px) {
  .plain-body { grid-template-columns: minmax(0, 1fr); }
  .ex { flex-direction: column; align-items: stretch; }
  .ex-duo { width: 100%; max-width: 520px; align-self: center; min-height: 0; display: block; }
  .duo-dash { width: 100%; }
  .duo-phone { position: relative; top: auto; transform: none; margin: -72px auto 0; width: min(236px, 74%); }
  .ex-product .ex-copy { padding-bottom: 0; }
  .ex-resources .ex-vis { align-items: flex-start; }
  .q { white-space: normal; }
}

/* ---------- product: headless (texts, ERP, inbox, autonomy) ---------- */
.headless { padding-top: clamp(24px, 3vw, 48px); }
.hl-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hl-phone { display: flex; flex-direction: column; gap: 10px; padding: 22px 18px 28px; border-radius: 40px; background: var(--white); box-shadow: inset 0 0 0 8px var(--navy), 0 6px 8px -4px rgba(15, 29, 58, .18); position: sticky; top: calc(var(--header-h) + 24px); }
.hl-phone .ph-head { padding: 8px 8px 12px; }
.ph-time { text-align: center; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.ph-thread { display: flex; flex-direction: column; gap: 10px; }
.hl-phone .bub { font-size: 14px; }
.hl-does { list-style: none; counter-reset: hl; }
.hl-does li { padding: 28px 0; border-top: 1px solid var(--line); }
.hl-does li:first-child { padding-top: 0; border-top: 0; }
.hl-does h3 { font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -.02em; line-height: 1.2; }
.hl-does > li > p { margin-top: 8px; color: var(--ink-2); max-width: 34em; }

.trust { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.trust-copy { display: flex; flex-direction: column; gap: 16px; }
.trust-copy .body-2 { font-size: 16px; max-width: 30em; }
.trust-panel { border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tp-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-top: 1px solid #EEF1F6; }
.tp-row b { display: block; font-size: 15px; font-weight: 600; }
.tp-row small { font-size: 13px; color: var(--ink-3); }
.seg { display: inline-flex; flex-shrink: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.seg button { font: 500 13px/1 var(--body); padding: 9px 13px; color: var(--ink-2); background: none; border: 0; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.seg button:hover:not(:disabled) { background: var(--surface); }
.seg button[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.seg button:disabled { cursor: not-allowed; }
.seg button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.tp-row.locked .seg button[aria-pressed="false"] { color: #AAB2C3; }

/* headless screens: real-looking windows of the tools Ourus works in */
.shot { position: relative; margin-top: 18px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 6px 8px -6px rgba(15, 29, 58, .14); overflow: hidden; font-size: 13.5px; color: var(--ink); }
.shot .win-bar { height: 34px; }
.shot-body { padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.ok-banner { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; background: var(--surface); font-weight: 600; }
.tick { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: var(--white); display: inline-grid; place-items: center; font-size: 11px; flex-shrink: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.fld { display: flex; flex-direction: column; gap: 4px; }
.fld span { font-size: 12px; color: var(--ink-3); }
.fld b { font-weight: 500; padding: 8px 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.fld b.strong, .mailrow b.strong { font-weight: 600; }
.shot-acts { position: relative; display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.shot-acts.left { justify-content: flex-start; }
.agent-cur { position: absolute; right: 0; bottom: -18px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--blue); color: var(--white); box-shadow: 0 0 0 2px var(--white); }
.shot-acts.left .agent-cur { right: auto; left: 52px; }
.mailrow { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding-bottom: 9px; border-bottom: 1px solid #EEF1F6; }
.mailrow span { color: var(--ink-3); font-size: 12.5px; }
.mailrow b { font-weight: 500; overflow-wrap: anywhere; }
.mailbody { line-height: 1.55; color: var(--ink-2); padding: 4px 0; }

.inbox { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 300px; }
.threads { list-style: none; border-right: 1px solid #EEF1F6; }
.threads li { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-bottom: 1px solid #EEF1F6; font-size: 12px; }
.threads li b { font-size: 12.5px; }
.threads li span { color: var(--ink-3); }
.threads li.on { background: var(--surface); }
.thread-view { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.thread-view .subj { font-size: 14.5px; }
.thread-view .meta { font-size: 12px; color: var(--ink-3); }
.thread-view p { line-height: 1.5; color: var(--ink-2); }
.thread-view mark { background: #FCE9E7; color: #A8302A; padding: 0 3px; border-radius: 3px; }
.agent-note { margin-top: 8px; padding: 14px; border-radius: 10px; background: #EEF2FF; display: flex; flex-direction: column; gap: 4px; }
.an-k { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.agent-note b { font-size: 14px; }
.an-sub { font-size: 12px; color: var(--ink-3); }
.an-draft { margin-top: 6px; padding: 9px 11px; border-radius: 7px; background: var(--white); font-size: 12.5px; }
.toast { position: absolute; left: 12px; bottom: 14px; width: 190px; padding: 11px 13px; border-radius: 10px; background: var(--navy); color: var(--white); font-size: 12px; line-height: 1.45; }
.toast span { display: block; font-size: 10.5px; color: var(--tint); margin-bottom: 3px; }

.hl-room { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hl-room-copy { display: flex; flex-direction: column; gap: 16px; }
.hl-room-copy .body-2 { font-size: 16px; max-width: 30em; }
.shot-room { margin-top: 0; }
.room { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.room-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid #EEF1F6; }
.room-head b { display: block; font-size: 14.5px; }
.room-head span { font-size: 12px; color: var(--ink-3); }
.room-chart { width: 100%; height: 96px; }
.opts { display: flex; flex-direction: column; gap: 6px; }
.o { display: grid; grid-template-columns: 1fr auto 72px; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 7px; font-size: 12.5px; }
.o b { font-weight: 600; }
.o em { font-style: normal; color: var(--ink-3); text-align: right; font-size: 12px; }
.o.sel { box-shadow: inset 0 0 0 1.5px var(--blue); background: #F5F7FF; }
.room-thread { list-style: none; padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.room-thread li { display: grid; grid-template-columns: 26px 1fr; gap: 9px; }
.room-thread p { font-size: 12.5px; line-height: 1.42; color: var(--ink-2); }
.room-thread p b { display: block; font-size: 12px; color: var(--ink); }
.shot .av { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--white); display: inline-grid; place-items: center; font-size: 10px; font-weight: 600; flex-shrink: 0; }
.shot .av.o { background: var(--blue); }

.hl-pair { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.hl-pair h3 { font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -.02em; line-height: 1.2; }
.hl-pair > div > p { margin-top: 8px; color: var(--ink-2); max-width: 32em; }
.cr-title { font-size: 15px; }
.cr-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #EEF1F6; }
.cr-row span:first-child { color: var(--ink-2); }
.cr-row s { color: #9AA4B8; }
.cr-row b { color: var(--blue); }
.cr-ev { font-size: 12px; color: var(--ink-3); }
.cr-ok { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.cr-ok .tick { margin-left: auto; }
.cr-done { margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--blue); }
.sheet-wrap { overflow-x: auto; }
.sheet { width: 100%; border-collapse: collapse; font-size: 12.5px; white-space: nowrap; }
.sheet th, .sheet td { padding: 9px 12px; text-align: left; border-bottom: 1px solid #EEF1F6; }
.sheet th { font-size: 11.5px; font-weight: 600; color: var(--ink-3); background: #FAFBFD; }
.sheet .ou { background: #F2F5FF; }
.sheet th.ou { color: var(--blue); background: #E7EDFF; }
.sheet td.red { color: var(--risk); font-weight: 600; }

@media (max-width: 960px) {
  .hl-room, .hl-pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .inbox { grid-template-columns: minmax(0, 1fr); }
  .threads { display: none; }
  .toast { position: static; width: auto; margin: 0 14px 14px; }
  .room { grid-template-columns: minmax(0, 1fr); }
  .room-main { border-right: 0; border-bottom: 1px solid #EEF1F6; }
  .fields { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .hl-grid, .trust { grid-template-columns: minmax(0, 1fr); }
  .hl-phone { position: static; max-width: 380px; }
}
@media (max-width: 480px) {
  .tp-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}
