@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/assets/fonts/archivo-latin.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin.woff2) format('woff2'); }
/* Orderfy marketing site. Sydmap paper and ink, one hi-vis accent, Archivo on its width axis.
   Colours are tokens; dark is redefined for the system setting and for the footer switch. */
:root {
  --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ah: 45; --ac: 0.19; --al: 0.7;
  --accent: oklch(var(--al) var(--ac) var(--ah));
  --accent-2: oklch(0.8 0.17 70);
  --accent-ink: oklch(0.17 0.012 60);
  --accent-soft: oklch(var(--al) var(--ac) var(--ah) / 0.14);
  --accent-glow: oklch(var(--al) var(--ac) var(--ah) / 0.45);
  --r-card: 22px;
  --r-ctl: 12px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --nav-h: 68px;

  color-scheme: light;
  --bg: oklch(0.968 0.007 85);
  --bg-2: oklch(0.945 0.01 85);
  --surface: oklch(0.993 0.003 85);
  --surface-2: oklch(0.952 0.009 85);
  --surface-3: oklch(0.905 0.011 85);
  --fg: oklch(0.19 0.012 60);
  --fg-2: oklch(0.34 0.012 60);
  --muted: oklch(0.45 0.012 60);
  --faint: oklch(0.58 0.01 60);
  --line: oklch(0.19 0.012 60 / 0.1);
  --line-2: oklch(0.19 0.012 60 / 0.2);
  --inv: oklch(0.19 0.012 60);
  --inv-fg: oklch(0.965 0.008 85);
  --inv-muted: oklch(0.76 0.01 80);
  --inv-line: oklch(0.965 0.008 85 / 0.14);
  --accent-text: oklch(0.52 0.17 45);
  --grid: oklch(0.19 0.012 60 / 0.06);
  --core: #eb6834; --pro: #2a78d6; --max: #1baf7a;
  --ok: oklch(0.42 0.1 150); --ok-soft: oklch(0.93 0.05 150);
  --warn: oklch(0.45 0.11 65); --warn-soft: oklch(0.94 0.07 85);
  --bad: oklch(0.48 0.16 30); --bad-soft: oklch(0.94 0.04 30);
  --info: oklch(0.42 0.09 250); --info-soft: oklch(0.93 0.03 250);
  --off: oklch(0.46 0.01 60); --off-soft: oklch(0.92 0.006 85);
  --shadow-lg: 0 40px 100px -30px oklch(0.19 0.03 60 / 0.3), 0 0 0 1px var(--line);
  --shadow-md: 0 14px 36px -14px oklch(0.19 0.03 60 / 0.22), 0 0 0 1px var(--line);
  --glass: oklch(0.968 0.007 85 / 0.74);
  --stud-hi: oklch(1 0 0 / 0.95);
  --stud-lo: oklch(0.19 0.012 60 / 0.3);
  --sk: oklch(0.19 0.012 60 / 0.07);
  --sk-hi: oklch(0.19 0.012 60 / 0.13);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) { 
  color-scheme: dark;
  --bg: oklch(0.14 0.012 60);
  --bg-2: oklch(0.165 0.012 60);
  --surface: oklch(0.185 0.012 60);
  --surface-2: oklch(0.22 0.012 60);
  --surface-3: oklch(0.27 0.012 60);
  --fg: oklch(0.965 0.008 80);
  --fg-2: oklch(0.87 0.01 80);
  --muted: oklch(0.74 0.012 70);
  --faint: oklch(0.58 0.012 70);
  --line: oklch(0.965 0.008 80 / 0.09);
  --line-2: oklch(0.965 0.008 80 / 0.18);
  --inv: oklch(0.965 0.008 85);
  --inv-fg: oklch(0.17 0.012 60);
  --inv-muted: oklch(0.4 0.012 60);
  --inv-line: oklch(0.17 0.012 60 / 0.14);
  --accent-text: var(--accent);
  --grid: oklch(0.965 0.008 80 / 0.045);
  --core: #d95926; --pro: #3987e5; --max: #199e70;
  --ok: oklch(0.8 0.13 150); --ok-soft: oklch(0.74 0.14 150 / 0.15);
  --warn: oklch(0.86 0.13 85); --warn-soft: oklch(0.82 0.14 80 / 0.15);
  --bad: oklch(0.76 0.14 28); --bad-soft: oklch(0.66 0.19 28 / 0.18);
  --info: oklch(0.8 0.09 250); --info-soft: oklch(0.7 0.11 250 / 0.16);
  --off: oklch(0.74 0.01 60); --off-soft: oklch(0.72 0.01 60 / 0.12);
  --shadow-lg: 0 50px 120px -30px oklch(0 0 0 / 0.75), 0 0 0 1px var(--line);
  --shadow-md: 0 18px 44px -18px oklch(0 0 0 / 0.65), 0 0 0 1px var(--line);
  --glass: oklch(0.14 0.012 60 / 0.72);
  --stud-hi: oklch(1 0 0 / 0.32);
  --stud-lo: oklch(0 0 0 / 0.55);
  --sk: oklch(0.965 0.008 80 / 0.07);
  --sk-hi: oklch(0.965 0.008 80 / 0.14);
 } }
:root[data-theme='dark'] { 
  color-scheme: dark;
  --bg: oklch(0.14 0.012 60);
  --bg-2: oklch(0.165 0.012 60);
  --surface: oklch(0.185 0.012 60);
  --surface-2: oklch(0.22 0.012 60);
  --surface-3: oklch(0.27 0.012 60);
  --fg: oklch(0.965 0.008 80);
  --fg-2: oklch(0.87 0.01 80);
  --muted: oklch(0.74 0.012 70);
  --faint: oklch(0.58 0.012 70);
  --line: oklch(0.965 0.008 80 / 0.09);
  --line-2: oklch(0.965 0.008 80 / 0.18);
  --inv: oklch(0.965 0.008 85);
  --inv-fg: oklch(0.17 0.012 60);
  --inv-muted: oklch(0.4 0.012 60);
  --inv-line: oklch(0.17 0.012 60 / 0.14);
  --accent-text: var(--accent);
  --grid: oklch(0.965 0.008 80 / 0.045);
  --core: #d95926; --pro: #3987e5; --max: #199e70;
  --ok: oklch(0.8 0.13 150); --ok-soft: oklch(0.74 0.14 150 / 0.15);
  --warn: oklch(0.86 0.13 85); --warn-soft: oklch(0.82 0.14 80 / 0.15);
  --bad: oklch(0.76 0.14 28); --bad-soft: oklch(0.66 0.19 28 / 0.18);
  --info: oklch(0.8 0.09 250); --info-soft: oklch(0.7 0.11 250 / 0.16);
  --off: oklch(0.74 0.01 60); --off-soft: oklch(0.72 0.01 60 / 0.12);
  --shadow-lg: 0 50px 120px -30px oklch(0 0 0 / 0.75), 0 0 0 1px var(--line);
  --shadow-md: 0 18px 44px -18px oklch(0 0 0 / 0.65), 0 0 0 1px var(--line);
  --glass: oklch(0.14 0.012 60 / 0.72);
  --stud-hi: oklch(1 0 0 / 0.32);
  --stud-lo: oklch(0 0 0 / 0.55);
  --sk: oklch(0.965 0.008 80 / 0.07);
  --sk-hi: oklch(0.965 0.008 80 / 0.14);
 }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 56px); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
main:focus { outline: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--inv); color: var(--inv-fg); font-weight: 600; transition: top 0.2s; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: 0.92em; }
.i { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gut); }

/* ------------------------------------------------------------------ type */
.display { font-family: var(--sans); font-weight: 820; font-stretch: 78%; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.9; text-wrap: balance; }
.display em, .lede em, .h2 em { font-style: normal; color: var(--accent-text); }
.label { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.label .idx { display: inline-grid; place-items: center; min-width: 26px; height: 20px; padding: 0 6px; margin-right: 10px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--fg); font-size: 10.5px; letter-spacing: 0.05em; }
.h2 { font-size: clamp(38px, 6.4vw, 88px); }
.h3 { font-size: clamp(30px, 3.6vw, 44px); }
.h3x { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--fg-2); max-width: 62ch; text-wrap: pretty; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: gap 0.25s var(--ease), color 0.2s; }
.link .i { width: 16px; height: 16px; }
.link:hover { gap: 10px; color: var(--accent-text); }

/* ------------------------------------------------------------------ controls */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 650; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s, box-shadow 0.35s var(--ease), translate 0.35s var(--ease); }
.btn .i { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-primary { background: var(--inv); color: var(--inv-fg); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 6px var(--accent-soft), 0 18px 40px -12px var(--accent-glow); }
.btn-ghost { border-color: var(--line-2); color: var(--fg); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], fieldset[disabled] .btn { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--fg-2); transition: background 0.2s, color 0.2s; }
.icon-btn:hover { background: var(--surface-2); color: var(--fg); }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 999px; font: 600 12px/1 var(--sans); white-space: nowrap; background: var(--info-soft); color: var(--info); }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-bad { background: var(--bad-soft); color: var(--bad); }
.pill-off { background: var(--off-soft); color: var(--off); }
.pill-accent { background: var(--accent-soft); color: var(--accent-text); }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.seg button { height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: background 0.2s, color 0.2s; }
.seg button:hover { color: var(--fg); }
.seg button[aria-pressed='true'] { background: var(--inv); color: var(--inv-fg); }

/* ------------------------------------------------------------------ riveted surfaces */
.card { position: relative; display: block; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-md); padding: clamp(20px, 2.4vw, 30px); overflow: hidden; isolation: isolate; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
a.card:hover, .card.spot:hover { transform: translateY(-4px); }
.riveted::after { content: ''; position: absolute; inset: 12px; pointer-events: none; z-index: 2;
  background:
    radial-gradient(circle at 35% 35%, var(--stud-hi) 0 0.9px, transparent 1.6px) 0 0 / 8px 8px no-repeat,
    radial-gradient(circle at 35% 35%, var(--stud-hi) 0 0.9px, transparent 1.6px) 100% 0 / 8px 8px no-repeat,
    radial-gradient(circle at 35% 35%, var(--stud-hi) 0 0.9px, transparent 1.6px) 0 100% / 8px 8px no-repeat,
    radial-gradient(circle at 35% 35%, var(--stud-hi) 0 0.9px, transparent 1.6px) 100% 100% / 8px 8px no-repeat,
    radial-gradient(circle, var(--stud-lo) 0 2.6px, transparent 3.2px) 0 0 / 8px 8px no-repeat,
    radial-gradient(circle, var(--stud-lo) 0 2.6px, transparent 3.2px) 100% 0 / 8px 8px no-repeat,
    radial-gradient(circle, var(--stud-lo) 0 2.6px, transparent 3.2px) 0 100% / 8px 8px no-repeat,
    radial-gradient(circle, var(--stud-lo) 0 2.6px, transparent 3.2px) 100% 100% / 8px 8px no-repeat; }
.spot::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 45%); }
.spot:hover::before { opacity: 1; }

/* ------------------------------------------------------------------ notice bar */
.bar { position: relative; z-index: 60; background: var(--inv); color: var(--inv-fg); font-size: 13.5px; }
.bar-off .bar { display: none; }
.bar-in { display: flex; align-items: center; gap: 12px; min-height: 40px; padding-block: 6px; }
.bar p { flex: 1; line-height: 1.4; }
.bar a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; font-weight: 600; }
.bar-cone { color: var(--accent); display: grid; }
.bar-cone .i { width: 18px; height: 18px; }
.bar-x { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; color: var(--inv-muted); }
.bar-x:hover { color: var(--inv-fg); background: var(--inv-line); }
.bar-x .i { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ nav */
.nav { position: sticky; top: 0; z-index: 50; view-transition-name: site-nav; border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; }
.nav.scrolled, .menu-open .nav { background: var(--glass); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-word { font-size: 22px; font-weight: 820; letter-spacing: -0.035em; font-stretch: 92%; }
.nav-links { display: flex; gap: 2px; }
.nav-links > a, .dd-btn { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 550; color: var(--fg-2); transition: color 0.2s, background 0.2s; }
.nav-links > a:hover, .dd-btn:hover, .dd.open .dd-btn { color: var(--fg); background: var(--surface-2); }
.nav-links > a[aria-current='page'], .dd-btn[data-current] { color: var(--fg); }
.nav-links > a[aria-current='page']::after, .dd-btn[data-current]::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); }
.nav-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-signin { padding: 8px 12px; font-size: 14.5px; font-weight: 600; color: var(--fg-2); }
.nav-signin:hover { color: var(--fg); }
.i-sun, .i-close { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .i-sun { display: block; } :root:not([data-theme='light']) .i-moon { display: none; } }
:root[data-theme='dark'] .i-sun { display: block; }
:root[data-theme='dark'] .i-moon { display: none; }
.menu-btn { display: none; }
.menu-open .i-menu { display: none; }
.menu-open .i-close { display: block; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(0); }
.sheet { position: fixed; inset: 0; z-index: 49; padding-top: calc(var(--nav-h) + 40px); background: var(--bg); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s; overflow-y: auto; }
.menu-open .sheet { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.sheet-in { display: flex; flex-direction: column; padding-block: 24px 40px; }
.sheet-in > a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 40px; font-weight: 820; font-stretch: 80%; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; opacity: 0; transform: translateY(16px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), color 0.2s; }
.sheet-in > a[aria-current='page'] { color: var(--accent-text); }
.sheet-n { font: 500 12px var(--mono); color: var(--muted); letter-spacing: 0.1em; }
.menu-open .sheet-in > a { opacity: 1; transform: none; }
.menu-open .sheet-in > a:nth-child(2) { transition-delay: 0.04s; }
.menu-open .sheet-in > a:nth-child(3) { transition-delay: 0.08s; }
.menu-open .sheet-in > a:nth-child(4) { transition-delay: 0.12s; }
.menu-open .sheet-in > a:nth-child(5) { transition-delay: 0.16s; }
.sheet-end { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.sheet-end .btn { height: 52px; }
@media (max-width: 1180px) { .nav-signin { display: none; } }
@media (max-width: 1040px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-grid; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; padding-top: clamp(40px, 7vw, 88px); overflow-x: clip; }
.hero-bg { position: absolute; inset: calc(-1 * var(--nav-h)) 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 80%); }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.glow.g1 { width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; left: 50%; top: -28vw; margin-left: -30vw; background: radial-gradient(circle, oklch(0.72 0.19 45 / 0.55), transparent 62%); animation: drift 22s ease-in-out infinite alternate; }
.glow.g2 { width: 44vw; height: 44vw; right: -14vw; top: 22vh; background: radial-gradient(circle, oklch(0.8 0.15 75 / 0.35), transparent 62%); animation: drift 28s ease-in-out -8s infinite alternate-reverse; }
.grain { position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 550; color: var(--fg-2); margin-bottom: clamp(24px, 4vw, 40px); transition: border-color 0.2s; max-width: 100%; }
.eyebrow > span:not(.pill) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eyebrow:hover { border-color: var(--fg); }
.eyebrow .i { width: 15px; height: 15px; }
.hero-title { font-size: clamp(42px, 9.2vw, 132px); line-height: 0.86; letter-spacing: -0.025em; }
.hero-title .ln { display: block; overflow: hidden; padding: 0.02em 0.06em 0.06em; margin: -0.02em -0.06em -0.06em; }
.hero-title .ln > span:first-child { display: inline-block; transform-origin: 0 50%; }
.hero-h1 { margin: 0; max-width: 46ch; color: var(--fg-2); font-size: 12.5px; }
.shine-text { background: linear-gradient(100deg, var(--accent) 0%, var(--accent) 40%, var(--accent-2) 50%, var(--accent) 60%, var(--accent) 100%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.dot-mark { display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.05em; border-radius: 50%; background: radial-gradient(circle at 34% 30%, oklch(1 0 0 / 0.85) 0 12%, var(--accent) 34%, oklch(0.55 0.17 40) 100%); box-shadow: 0 0.02em 0.03em oklch(0 0 0 / 0.35); vertical-align: baseline; }
.hero-sub { margin-top: clamp(22px, 3vw, 34px); max-width: 640px; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 26px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 18px; }
.hero-meta span + span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); margin-left: -12px; }

/* the stage: a classic ERP window that flattens as you scroll */
.hero-stage { position: relative; margin-top: clamp(44px, 7vw, 84px); perspective: 1800px; --rx: 0deg; --ry: 0deg; --sc: 1; }
.erp { position: relative; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; line-height: 1.35; transform: rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--sc)); transform-origin: 50% 0; transition: transform 0.12s linear; will-change: transform; }
.erp::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.08); }
.erp-title { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: linear-gradient(var(--surface-2), var(--surface)); border-bottom: 1px solid var(--line-2); }
.erp-dots { display: flex; gap: 7px; }
.erp-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.erp-dots i:first-child { background: var(--accent); box-shadow: none; }
.erp-name { flex: 1; font-weight: 600; font-size: 12.5px; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.erp-name b { color: var(--faint); font-weight: 400; margin: 0 4px; }
.erp-live { font: 600 10.5px var(--mono); letter-spacing: 0.12em; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.erp-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 2s infinite; }
.erp-menu { display: flex; gap: 20px; height: 30px; padding: 0 16px; align-items: center; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--fg-2); background: var(--surface); overflow: hidden; white-space: nowrap; }
.erp-menu span::first-letter { text-decoration: underline; text-underline-offset: 2px; }
.erp-tool { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.tb { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface); font-size: 12px; font-weight: 600; color: var(--fg-2); white-space: nowrap; box-shadow: 0 1px 0 var(--line); }
.tb .i { width: 14px; height: 14px; }
.tb-sep { width: 1px; height: 20px; background: var(--line-2); margin: 0 4px; }
.tb-go { border-color: transparent; background: var(--accent); color: var(--accent-ink); transition: transform 0.15s, box-shadow 0.3s; }
.erp[data-stage='3'] .tb-go { animation: press 0.6s var(--ease); }
.erp[data-stage='2'] .tb-go { box-shadow: 0 0 0 0 var(--accent-glow); animation: ping 1.4s infinite; }
.tb-search { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; min-width: 190px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface); color: var(--faint); font-size: 12px; white-space: nowrap; }
.tb-search .i { width: 14px; height: 14px; }
.tb-search kbd { margin-left: auto; font: 500 10px var(--mono); padding: 2px 5px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--muted); }
.erp-body { display: grid; grid-template-columns: 178px 1fr; min-height: 380px; }
.erp-side { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-right: 1px solid var(--line); background: var(--bg-2); }
.erp-side span { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: 8px; color: var(--muted); font-weight: 550; font-size: 12.5px; white-space: nowrap; }
.erp-side span .i { width: 16px; height: 16px; }
.erp-side span.on { background: var(--surface); color: var(--fg); box-shadow: var(--shadow-md); }
.erp-side span.on .i { color: var(--accent); }
.erp-main { padding: 14px 16px 12px; min-width: 0; }
.erp-head { display: grid; grid-template-columns: 1.3fr 1.1fr 0.7fr 1.2fr; gap: 8px; }
.fld { padding: 6px 10px 7px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg-2); font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fld b { display: block; font: 500 9.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.fld .pill { height: 20px; font-size: 11px; padding: 0 8px; vertical-align: middle; }
.erp-tabs { display: flex; gap: 2px; margin: 12px 0 0; border-bottom: 1px solid var(--line-2); font-size: 12px; font-weight: 600; color: var(--muted); }
.erp-tabs span { padding: 7px 12px; border: 1px solid transparent; border-bottom: 0; border-radius: 7px 7px 0 0; margin-bottom: -1px; white-space: nowrap; }
.erp-tabs span.on { color: var(--fg); background: var(--surface); border-color: var(--line-2); }
.erp-grid { width: 100%; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; }
.erp-grid th { text-align: left; font: 500 9.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 8px 8px; background: var(--bg-2); border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.erp-grid td { padding: 8px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.erp-grid tbody tr:nth-child(even) td { background: oklch(from var(--fg) l c h / 0.018); }
.erp-grid .c-n { width: 30px; color: var(--faint); }
.erp-grid .c-code { width: 108px; font-family: var(--mono); font-size: 11px; color: var(--fg-2); }
.erp-grid .c-sup { width: 136px; color: var(--fg-2); }
.erp-grid .c-qty { width: 44px; text-align: right; }
.erp-grid .c-unit, .erp-grid .c-tot { width: 84px; text-align: right; }
.erp-grid .c-tot { font-weight: 650; }
.erp-grid .c-po { width: 100px; }
.po-tag { display: inline-flex; height: 20px; align-items: center; padding: 0 7px; border-radius: 5px; font: 600 10.5px var(--mono); background: var(--accent-soft); color: var(--accent-text); }
.po-wait { display: none; color: var(--faint); font-size: 11.5px; }
.erp-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 12px; }
.erp-dep { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.dep-ok { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--ok); }
.dep-ok .i { width: 15px; height: 15px; }
.erp-tot { display: grid; gap: 3px; min-width: 210px; font-size: 12.5px; }
.erp-tot div { display: flex; justify-content: space-between; gap: 24px; }
.erp-tot dt { color: var(--muted); }
.erp-tot .grand { padding-top: 6px; margin-top: 3px; border-top: 1px solid var(--line-2); font-size: 15px; font-weight: 800; }
.erp-tot .grand dt { color: var(--fg); }
.erp-status { display: flex; gap: 18px; align-items: center; height: 28px; padding: 0 14px; border-top: 1px solid var(--line-2); background: var(--bg-2); font: 500 10.5px var(--mono); letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; overflow: hidden; }
.erp-status .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 6px; }
.erp-keys { margin-left: auto; }

/* stages: 0 empty quote, 1 lines in, 2 order and deposit, 3 supplier POs, 4 invoiced and synced */
.erp .ln td { transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.erp[data-stage='0'] .ln td { opacity: 0; transform: translateY(6px); }
.erp .ln:nth-child(2) td { transition-delay: 0.1s; } .erp .ln:nth-child(3) td { transition-delay: 0.2s; }
.erp .ln:nth-child(4) td { transition-delay: 0.3s; } .erp .ln:nth-child(5) td { transition-delay: 0.4s; }
.erp[data-stage='0'] .po-tag, .erp[data-stage='1'] .po-tag, .erp[data-stage='2'] .po-tag { display: none; }
.erp[data-stage='0'] .po-wait, .erp[data-stage='1'] .po-wait, .erp[data-stage='2'] .po-wait { display: inline; }
.erp[data-stage='3'] .po-tag { animation: pop 0.5s var(--spring) both; }
.erp[data-stage='3'] .ln:nth-child(n+3) .po-tag { animation-delay: 0.15s; }
.erp[data-stage='0'] .erp-dep, .erp[data-stage='1'] .erp-dep { opacity: 0; }
.erp-dep { transition: opacity 0.5s; }
.float { position: absolute; z-index: 4; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg); transition: opacity 0.6s var(--ease), transform 0.8s var(--spring); }
.po { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; width: 230px; font-size: 12.5px; color: var(--fg-2); }
.po b { font-size: 20px; font-weight: 820; font-stretch: 82%; letter-spacing: -0.01em; color: var(--fg); }
.po .pill { margin-top: 6px; align-self: flex-start; height: 22px; font-size: 11px; }
.po-a { right: -10px; top: 36%; }
.po-b { right: 40px; top: 62%; }
.xero { left: -10px; top: 18%; display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 13px; color: var(--fg-2); }
.xero .i { color: var(--ok); }
.xero b { color: var(--fg); }
.hero-stage[data-stage] .po, .hero-stage[data-stage] .xero { opacity: 0; transform: translateY(24px) scale(0.9); pointer-events: none; }
.hero-stage[data-stage='3'] .po, .hero-stage[data-stage='4'] .po { opacity: 1; transform: none; }
.hero-stage[data-stage='3'] .po-b, .hero-stage[data-stage='4'] .po-b { transition-delay: 0.18s; }
.hero-stage[data-stage='4'] .xero { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ ticker */
.ticker { margin-top: clamp(48px, 8vw, 96px); border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-in { display: flex; align-items: center; width: max-content; padding: 18px 0; animation: marquee 40s linear infinite; }
.ticker:hover .ticker-in { animation-play-state: paused; }
.ticker span { font-size: clamp(22px, 3vw, 34px); font-weight: 820; font-stretch: 78%; text-transform: uppercase; letter-spacing: -0.01em; padding: 0 26px; white-space: nowrap; }
.ticker i { width: 14px; height: 14px; border-radius: 50%; flex: none; background: radial-gradient(circle at 34% 30%, oklch(1 0 0 / 0.8) 0 14%, var(--accent) 36%, oklch(0.55 0.17 40)); }

/* ------------------------------------------------------------------ sections */
.sec { position: relative; padding-block: clamp(80px, 12vw, 160px); }
.sec-tight { padding-block: clamp(40px, 6vw, 72px); }
.sec-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.sec-head.center { align-items: center; text-align: center; margin-inline: auto; }
.sec-head.center .lede { margin-inline: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > *, .faq-grid > *, .feat-grid > *, .prose-grid > *, .contact-grid > *, .auth-grid > *, .chain > * { min-width: 0; }
.split .sec-head { position: sticky; top: calc(var(--nav-h) + 40px); margin-bottom: 0; }
.split .h2, .faq-grid .h2 { font-size: clamp(36px, 4.8vw, 68px); }
.center-link { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 44px; }

/* before / after grid */
.vs { border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-md); overflow: hidden; position: relative; }
.vs-head, .vs-row { display: grid; grid-template-columns: 1fr 1fr; }
.vs-head { background: var(--bg-2); border-bottom: 1px solid var(--line-2); }
.vs-head span { padding: 14px 20px; }
.vs-head span + span { border-left: 1px solid var(--line); color: var(--accent-text); }
.vs-row + .vs-row { border-top: 1px solid var(--line); }
.vs-row p { display: flex; gap: 10px; padding: 18px 20px; font-size: 15px; line-height: 1.45; }
.vs-row p .i { width: 18px; height: 18px; margin-top: 2px; }
.vs-old { color: var(--muted); }
.vs-old .i { color: var(--bad); }
.vs-new { border-left: 1px solid var(--line); font-weight: 600; }
.vs-new .i { color: var(--ok); }

/* the problem: the usual patchwork */
.problem-head { display: flex; flex-direction: column; gap: 32px; }
.split .problem-head .sec-head { position: static; }
.patch { display: flex; flex-direction: column; gap: 10px; }
.patch-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.patch-tile { padding: 9px 14px; border-radius: 10px; border: 1px dashed var(--line-2); background: var(--surface); color: var(--muted); font-weight: 650; font-size: 14.5px; }
.patch-op { font: 700 18px var(--mono); color: var(--faint); }
.patch-one { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 14px; background: var(--inv); color: var(--inv-fg); box-shadow: var(--shadow-md); }
.patch-one .mark { width: 28px; height: 28px; }
.patch-one b { font-size: 18px; font-weight: 820; font-stretch: 92%; letter-spacing: -0.02em; }
.patch-one small { color: var(--inv-muted); font-size: 13px; }
.tm-note { margin-top: 28px; font-size: 12.5px; color: var(--faint); }

/* why Orderfy */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { display: flex; flex-direction: column; gap: 10px; min-height: 250px; }
.why-n { position: absolute; top: 18px; right: 22px; font: 600 11px var(--mono); letter-spacing: 0.12em; color: var(--faint); }
.why-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-text); transition: transform 0.45s var(--spring), background 0.3s, color 0.3s; }
.why-ico .i { width: 26px; height: 26px; }
.why-card:hover .why-ico { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: var(--accent-ink); }
.why-card h3 { font-size: 19px; font-weight: 760; letter-spacing: -0.015em; line-height: 1.2; }
.why-card p { color: var(--fg-2); font-size: 15.5px; line-height: 1.55; }

/* the order chain: eight steps on one rail */
.chain-wrap { position: relative; }
.chain { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.chain-rail { position: absolute; left: 6.25%; right: 6.25%; top: 36px; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.chain-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform 0.7s var(--ease); }
.chain-step > button { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px 12px; border-radius: 16px; text-align: center; transition: background 0.25s; }
.chain-step > button:hover { background: var(--surface-2); }
.chain-ico { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 6px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-2); color: var(--muted); box-shadow: var(--shadow-md); transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.45s var(--spring), box-shadow 0.35s; }
.chain-ico .i { width: 24px; height: 24px; }
.chain-step.is-done .chain-ico { border-color: var(--accent); color: var(--accent-text); }
.chain-step.is-on .chain-ico { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: scale(1.14); box-shadow: 0 0 0 8px var(--accent-soft), 0 14px 34px -10px var(--accent-glow); }
.chain-n { font: 600 11px var(--mono); letter-spacing: 0.12em; color: var(--muted); }
.chain-t { font-weight: 760; font-size: 15px; line-height: 1.2; letter-spacing: -0.01em; }
.chain-doc { font: 600 10.5px var(--mono); padding: 3px 7px; border-radius: 5px; background: var(--sk); color: var(--fg-2); white-space: nowrap; }
.chain-step.is-on .chain-doc, .chain-step.is-done .chain-doc { background: var(--accent-soft); color: var(--accent-text); }
.chain-desc { display: none; }
html:not(.js) .chain-desc { display: block; margin-top: 4px; padding: 0 6px; color: var(--fg-2); font-size: 14px; text-align: center; }
.chain-panel { margin-top: 30px; }
html:not(.js) .chain-panel { display: none; }
.chain-card { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); max-width: 880px; margin-inline: auto; padding: clamp(22px, 3vw, 36px); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); animation: fadeUp 0.45s var(--ease); }
.chain-card[hidden] { display: none; }
.chain-card-n { font-size: clamp(64px, 8vw, 108px); line-height: 0.8; color: var(--accent-text); }
.chain-card h3 { margin: 6px 0 8px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 780; letter-spacing: -0.02em; }
.chain-card p:last-child { color: var(--fg-2); font-size: 17px; }
@media (max-width: 1100px) {
  .chain-ico { width: 50px; height: 50px; }
  .chain-ico .i { width: 21px; height: 21px; }
  .chain-rail { top: 31px; }
  .chain-t { font-size: 13.5px; }
  .chain-doc { font-size: 9.5px; padding: 2px 5px; }
}
@media (max-width: 960px) {
  .chain { grid-template-columns: 1fr; gap: 0; }
  .chain-rail { left: 36px; right: auto; top: 20px; bottom: 20px; width: 4px; height: auto; }
  .chain-fill { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .chain-step > button { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; row-gap: 2px; padding: 8px; text-align: left; justify-items: start; }
  .chain-ico { grid-row: 1 / 4; width: 60px; height: 60px; margin: 0; }
  .chain-ico .i { width: 24px; height: 24px; }
  .chain-t { font-size: 17px; }
  .chain-doc { font-size: 10.5px; padding: 3px 7px; }
  .chain-desc, html:not(.js) .chain-desc { display: block; margin: 0 0 14px 84px; padding: 0; color: var(--fg-2); font-size: 15px; text-align: left; }
  .chain-panel { display: none; }
}
.step-n { display: block; font-size: 64px; color: var(--accent-text); margin-bottom: 8px; }

/* everything in the box */
.wall-title { font-size: clamp(30px, 4vw, 52px); margin: clamp(56px, 8vw, 96px) 0 24px; }
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wall-col { padding: 20px 20px 22px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.wall-col h4 { margin-bottom: 12px; color: var(--accent-text); }
.wall-col ul { display: flex; flex-direction: column; gap: 8px; }
.wall-col li { display: flex; gap: 8px; font-size: 14.5px; line-height: 1.4; }
.wall-col li .i { width: 16px; height: 16px; margin-top: 2px; color: var(--ok); }

/* security first: the ISO strip */
.iso { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; margin-top: 18px; padding: 24px 30px; border-radius: 22px; background: var(--inv); color: var(--inv-fg); }
.iso::after { inset: 10px; }
.iso-lead { display: flex; align-items: center; gap: 16px; font-size: 18px; }
.iso-n { font-size: 68px; line-height: 0.8; }
.iso-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.iso-chips li { padding: 6px 9px; border-radius: 7px; border: 1px solid var(--inv-line); font: 600 11.5px var(--mono); letter-spacing: 0.04em; }
.iso-chips .iso-more { border-style: dashed; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: 16px; }
.bento .card { display: flex; flex-direction: column; gap: 10px; }
.bento .card p { color: var(--fg-2); font-size: 15.5px; line-height: 1.5; }
.bento .card > .i { width: 28px; height: 28px; color: var(--accent); margin-bottom: 6px; }
.bento h3:not(.display) { font-size: 18px; font-weight: 720; letter-spacing: -0.01em; }
.b-core { grid-column: span 2; grid-row: span 2; }
.b-wms { grid-column: span 2; }
.more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 14.5px; }
.more .i { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.card:hover .more .i { transform: translateX(4px); }
.vis-docs { position: relative; height: 240px; margin-top: 18px; }
.doc { position: absolute; left: 50%; top: 20px; width: 160px; height: 200px; margin-left: -80px; border-radius: 12px; background: var(--bg-2); box-shadow: var(--shadow-md); padding: 16px 14px; display: flex; flex-direction: column; gap: 9px; transition: transform 0.7s var(--spring); }
.doc b { font: 700 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px; }
.doc i { height: 7px; border-radius: 4px; background: var(--sk-hi); }
.doc i:nth-of-type(2) { width: 70%; } .doc i:nth-of-type(3) { width: 45%; }
.doc.d0 { transform: translate(-150px, 12px) rotate(-14deg); }
.doc.d1 { transform: translate(-52px, -4px) rotate(-5deg); }
.doc.d2 { transform: translate(52px, -4px) rotate(5deg); }
.doc.d3 { transform: translate(150px, 12px) rotate(14deg); background: var(--inv); }
.doc.d3 b { color: var(--accent); } .doc.d3 i { background: var(--inv-line); }
.b-core:hover .doc.d0 { transform: translate(-190px, 18px) rotate(-18deg); }
.b-core:hover .doc.d1 { transform: translate(-66px, -14px) rotate(-6deg); }
.b-core:hover .doc.d2 { transform: translate(66px, -14px) rotate(6deg); }
.b-core:hover .doc.d3 { transform: translate(190px, 18px) rotate(18deg); }
.vis-bins { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-top: auto; padding-top: 8px; }
.vis-bins i { aspect-ratio: 1; border-radius: 5px; background: var(--sk-hi); }
.vis-bins i.low { background: var(--warn-soft); box-shadow: inset 0 0 0 1px var(--warn); }
.vis-bins i.hit { background: var(--accent); animation: blink 1.6s infinite; }
.laser { position: absolute; left: -4%; right: -4%; top: 0; height: 2px; background: var(--bad); box-shadow: 0 0 12px 2px oklch(0.66 0.2 28 / 0.6); animation: scanline 2.8s ease-in-out infinite; }
.vis-lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.lane { display: flex; flex-direction: column; gap: 6px; }
.lane .label { font-size: 9.5px; }
.lane i { height: 18px; border-radius: 6px; background: var(--sk-hi); }
.lane:last-child i { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.vis-spark { width: 100%; height: 64px; margin-top: auto; overflow: visible; }
.vis-spark .wash { fill: var(--accent); opacity: 0.1; }
.vis-spark .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 0; }
.in .vis-spark .line, .b-rep.in .vis-spark .line { animation: draw 2s var(--ease) both; }
.spin-slow { animation: spin 8s linear infinite; }
.pulse-pin { position: relative; display: inline-grid; width: 34px; height: 34px; place-items: center; color: var(--accent); margin-bottom: 6px; }
.pulse-pin .i { width: 28px; height: 28px; }
.pulse-pin::before, .pulse-pin::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--accent); animation: ring 2.4s var(--ease) infinite; }
.pulse-pin::after { animation-delay: 1.2s; }

/* number band */
.band { position: relative; background: var(--inv); color: var(--inv-fg); padding-block: clamp(64px, 9vw, 120px); overflow: hidden; }
.band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--inv-line) 1px, transparent 1px), linear-gradient(90deg, var(--inv-line) 1px, transparent 1px); background-size: 56px 56px; opacity: 0.5; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.band .wrap { position: relative; }
.band-label { color: var(--inv-muted); margin-bottom: 36px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.stat { border-top: 2px solid var(--accent); padding-top: 22px; }
.stat-n { font-size: clamp(64px, 8vw, 116px); line-height: 0.85; }
.stat-suf { font-size: 0.36em; margin-left: 0.12em; letter-spacing: 0; color: var(--accent); }
.stat-t { margin-top: 14px; font-weight: 720; font-size: 18px; }
.stat-p { margin-top: 6px; color: var(--inv-muted); font-size: 14.5px; line-height: 1.5; }

/* card grids */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sec-card { display: flex; flex-direction: column; gap: 10px; }
.sec-card > .i { width: 28px; height: 28px; color: var(--accent); margin-bottom: 8px; }
.sec-card h3 { font-size: 19px; font-weight: 720; letter-spacing: -0.01em; }
.sec-card p { color: var(--fg-2); font-size: 15.5px; line-height: 1.55; }
.sec-card .pill { align-self: flex-start; margin-top: auto; }
.sec-card .step-n { font-size: 48px; margin: 0; }
.sec-card.big p { font-size: 16.5px; }

/* plans teaser */
.mini-big { font-size: clamp(44px, 4.4vw, 56px); line-height: 0.9; }
.mini-sub { margin-top: -8px; }
.mini-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.mini-plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-md); overflow: hidden; isolation: isolate; transition: transform 0.45s var(--ease); }
.mini-plan:hover { transform: translateY(-4px); }
.mini-plan::after { z-index: 2; }
.mini-plan > p:not(.mini-big):not(.mini-sub) { color: var(--fg-2); font-size: 15px; }
.plan-chip { display: inline-flex; align-items: center; gap: 9px; font-weight: 760; font-size: 15px; letter-spacing: 0.01em; }
.plan-chip i { width: 12px; height: 12px; border-radius: 4px; background: var(--plan, var(--accent)); box-shadow: 0 0 0 3px oklch(from var(--plan, var(--accent)) l c h / 0.2); }
.plan-core { --plan: var(--core); } .plan-pro { --plan: var(--pro); } .plan-max { --plan: var(--max); }
.mini-plan::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--plan); }

/* progress */
.prog { position: relative; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-md); padding: 10px 24px; }
.prog-row { display: grid; grid-template-columns: 18px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; }
.prog-row + .prog-row { border-top: 1px solid var(--line); }
.prog-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--off); }
.prog-row.is-ok .prog-dot { background: var(--ok); border-color: var(--ok); }
.prog-row.is-info .prog-dot { border-color: var(--info); background: var(--info-soft); }
.prog-row.is-warn .prog-dot { border-color: var(--warn); animation: blink 1.6s infinite; }
.prog-t { font-weight: 680; font-size: 16px; }
.prog-p { color: var(--muted); font-size: 14px; }

/* finale */
.finale { position: relative; padding-block: clamp(80px, 12vw, 160px); text-align: center; overflow: hidden; }
.finale .wrap { display: flex; flex-direction: column; align-items: center; }
.finale-mark { margin: 24px 0 8px; }
.mark-xl { width: clamp(84px, 10vw, 132px); height: clamp(84px, 10vw, 132px); }
.mark-lg { width: 52px; height: 52px; }
.finale-word { font-size: min(16vw, 240px); line-height: 0.85; font-stretch: 100%; letter-spacing: -0.03em; white-space: nowrap; color: var(--fg); }
.finale-copy { max-width: 620px; margin-top: 28px; }
.quote { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 720; letter-spacing: -0.02em; margin-bottom: 12px; }
.quote span:last-child { color: var(--accent-text); }
.finale-copy > p:not(.quote) { color: var(--fg-2); font-size: 18px; }

/* cta band */
.cta-band { padding-block: clamp(48px, 8vw, 110px); }
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; padding: clamp(28px, 5vw, 64px); border-radius: 32px; background: var(--inv); color: var(--inv-fg); overflow: hidden; }
.cta-band-in::before { content: ''; position: absolute; right: -10%; top: -60%; width: 60%; height: 220%; background: radial-gradient(circle, oklch(0.72 0.19 45 / 0.45), transparent 60%); filter: blur(30px); pointer-events: none; }
.cta-band-in > * { position: relative; }
.cta-band-in p { color: var(--inv-muted); margin-top: 12px; max-width: 46ch; }
.cta-band-in .cta-row { margin-top: 0; justify-content: flex-start; }
.cta-band .btn-primary { background: var(--accent); color: var(--accent-ink); }
.cta-band .btn-primary:hover { background: var(--inv-fg); color: var(--inv); }
.cta-band .btn-ghost { color: var(--inv-fg); border-color: var(--inv-line); background: transparent; }
.cta-band .btn-ghost:hover { border-color: var(--inv-fg); }

/* page hero */
.phero { position: relative; isolation: isolate; padding-block: clamp(56px, 9vw, 120px) clamp(28px, 4vw, 48px); overflow: hidden; }
.phero-bg { position: absolute; inset: calc(-1 * var(--nav-h)) 0 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 20% 0%, #000 20%, transparent 75%); }
.phero-bg::after { content: ''; position: absolute; left: -10%; top: -40%; width: 70%; height: 120%; background: radial-gradient(circle, oklch(0.72 0.19 45 / 0.25), transparent 60%); filter: blur(40px); }
.phero .wrap { display: flex; flex-direction: column; gap: 22px; }
.phero-title { font-size: clamp(46px, 8.4vw, 120px); max-width: 15ch; margin: 0; }
.phero-h1 { margin: 0; max-width: 60ch; color: var(--fg-2); font-size: 12.5px; }
.phero-answer { margin: 6px 0 0; max-width: 68ch; color: var(--fg-2); font-size: 17px; line-height: 1.6; }
.soon { display: flex; align-items: center; gap: 14px; }
.soon-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-md); color: var(--accent); }
.soon-ico .i { width: 26px; height: 26px; }

/* notice: pricing, and draft pages */
.notice { position: relative; display: flex; border-radius: 18px; overflow: hidden; background: var(--warn-soft); box-shadow: 0 0 0 1px oklch(from var(--warn) l c h / 0.35); margin-bottom: 8px; }
.tape { flex: none; width: 18px; background: repeating-linear-gradient(-45deg, var(--accent) 0 9px, oklch(0.2 0.012 60) 9px 18px); background-size: 25.5px 25.5px; animation: tape 1.2s linear infinite; }
.notice-in { display: flex; align-items: flex-start; gap: 14px; padding: 18px 22px; flex-wrap: wrap; }
.notice-in p { flex: 1 1 320px; color: var(--fg); font-size: 15.5px; line-height: 1.55; }
.notice-in .pill { margin-top: 1px; background: var(--surface); }
.notice-sm .notice-in { padding: 14px 18px; }
.notice-sm .notice-in p { font-size: 14.5px; }

/* subnav */
.subnav { position: sticky; top: var(--nav-h); z-index: 40; margin-top: 24px; background: var(--glass); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-block: 1px solid var(--line); }
.subnav-in { display: flex; align-items: center; gap: 4px; height: 56px; overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav-in > a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color 0.2s, background 0.2s; }
.subnav-in > a:hover { color: var(--fg); }
.subnav-in > a[aria-current='true'] { background: var(--inv); color: var(--inv-fg); }

/* plan cards */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px 28px 28px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-md); overflow: hidden; isolation: isolate; transition: transform 0.45s var(--ease), box-shadow 0.45s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--plan); z-index: 1; }
.plan.is-hi { box-shadow: 0 0 0 2px var(--plan), var(--shadow-lg); }
.plan-badge { position: absolute; top: 18px; right: 18px; z-index: 3; font: 600 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: var(--inv); color: var(--inv-fg); }
.plan-top { display: flex; align-items: center; gap: 10px; }
.plan-top .plan-chip { font-size: 20px; }
.tag-ind { font: 600 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--warn); border: 1px dashed currentColor; border-radius: 6px; padding: 3px 6px; }
.plan.is-hi .tag-ind { margin-right: 120px; }
.plan-big { display: flex; align-items: flex-end; gap: 10px; }
.plan-big .amt { font-size: clamp(44px, 4.6vw, 64px); font-weight: 820; font-stretch: 78%; letter-spacing: -0.025em; line-height: 0.85; }
.plan-big .per { color: var(--muted); font-size: 13.5px; line-height: 1.3; padding-bottom: 4px; }
.plan-tag { color: var(--fg-2); font-size: 15.5px; min-height: 3em; }
.plan-feats { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.plan-feats li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.plan-feats .i { width: 17px; height: 17px; margin-top: 2px; color: var(--plan); }
.plan-cta { margin-top: auto; }
.addons { margin-top: 36px; }
.addons > .label { margin-bottom: 14px; }
.addon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.addon-card { padding: 20px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.addon-card p:last-child { color: var(--muted); font-size: 14px; }
.addon-name { font-weight: 720; }
.addon-price { font-size: 28px; font-weight: 820; font-stretch: 82%; letter-spacing: -0.01em; }
.addon-price > span { font-size: 13px; font-weight: 500; font-stretch: 100%; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.addon-card.is-soon { border-style: dashed; }
.tbc { font-size: 16px !important; margin: 0 !important; color: var(--warn) !important; font-weight: 650 !important; }

/* which plan fits */
.fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fit-card { position: relative; padding: 26px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-md); overflow: hidden; }
.fit-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--plan); }
.fit-card .plan-chip { font-size: 26px; margin: 6px 0 2px; }
.fit-if { color: var(--muted); margin-bottom: 14px; }
.fit-card ul { display: flex; flex-direction: column; gap: 10px; }
.fit-card li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.fit-card li .i { width: 17px; height: 17px; margin-top: 3px; color: var(--plan); }
.addon-card p:not(.addon-name):not(.addon-on) { color: var(--muted); font-size: 14.5px; }
.addon-card .addon-on { margin-top: auto; padding-top: 8px; font: 600 11.5px var(--mono); letter-spacing: 0.04em; color: var(--accent-text); }

/* grid tables: classic ERP */
.table-wrap { position: relative; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-md); overflow-x: auto; }
.table-wrap.riveted::after { display: none; }
.grid-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.grid-table th, .grid-table td { padding: 13px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.grid-table thead th { position: sticky; top: 0; background: var(--bg-2); font-weight: 700; border-bottom: 1px solid var(--line-2); }
.grid-table tbody th { font-weight: 550; color: var(--fg-2); }
.grid-table tbody tr:hover td, .grid-table tbody tr:hover th { background: oklch(from var(--accent) l c h / 0.05); }
.compare th:first-child { width: 34%; }
.compare tbody th { position: sticky; left: 0; background: var(--surface); z-index: 1; }
.compare .grp th { position: static; background: var(--bg-2); font: 600 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-block: 10px; }
.compare td { font-weight: 600; font-variant-numeric: tabular-nums; }
.yes, .no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.yes { background: var(--ok-soft); color: var(--ok); }
.no { color: var(--faint); }
.yes .i, .no .i { width: 15px; height: 15px; }
.addon { color: var(--muted); font-weight: 550; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--nav-h) + 80px); }
.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 680; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { margin: 0; font: inherit; letter-spacing: inherit; }
.faq-ico { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform 0.4s var(--spring), background 0.3s; }
.faq-ico::before, .faq-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; }
.faq-ico::after { transform: rotate(90deg); transition: transform 0.4s var(--spring); }
.faq-item[open] .faq-ico { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(180deg); }
.faq-item[open] .faq-ico::after { transform: rotate(0deg); }
.faq-a { padding: 0 48px 24px 0; color: var(--fg-2); font-size: 16.5px; }
.faq-item[open] .faq-a { animation: fadeUp 0.45s var(--ease); }

/* features */
.feat { padding-block: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); }
.feat-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.feat-head { position: sticky; top: calc(var(--nav-h) + 80px); display: flex; flex-direction: column; gap: 16px; }
.feat-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--inv); color: var(--accent); }
.feat-ico .i { width: 30px; height: 30px; }
.feat-title { font-size: clamp(20px, 2vw, 24px); font-weight: 720; letter-spacing: -0.015em; }
.feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feat-list .card h3 { font-size: 17px; font-weight: 720; margin-bottom: 6px; }
.feat-list .card p { color: var(--fg-2); font-size: 15px; line-height: 1.5; }

/* roadmap */
.phase-group + .phase-group { margin-top: 44px; }
.phase-h { margin-bottom: 6px; color: var(--accent-text); }
.phases { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.phase { display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-2); }
.phase-n { font-size: 54px; color: var(--faint); transition: color 0.3s; }
.phase.is-warn .phase-n { color: var(--accent-text); }
.phase.is-info .phase-n { color: var(--fg); }
.phase.is-ok .phase-n { color: var(--ok); }
.phase-body p { color: var(--fg-2); margin-top: 4px; }

/* status */
.status-list { border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-md); padding: 6px 24px; position: relative; }
.status-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; }
.status-list li + li { border-top: 1px solid var(--line); }

/* about */
.about-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; min-height: 340px; border-radius: 28px; background: var(--inv); position: relative; }
.about-mark .mark-xl { width: 160px; height: 160px; }
.about-mark .label { color: var(--inv-muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: start; }
.contact-cards .sec-card { min-height: 0; }

/* prose */
.prose-grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 40px); display: flex; flex-direction: column; gap: 12px; }
.toc ol { display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--line-2); }
.toc a { display: block; padding-left: 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: 14.5px; font-weight: 550; }
.toc a:hover { color: var(--fg); border-left-color: var(--accent); }
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; font-weight: 760; letter-spacing: -0.02em; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--fg-2); font-size: 17px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; list-style: disc; }
.prose ul li::marker { color: var(--accent); }
.prose .table-wrap { margin-top: 8px; }
.prose-date { margin-top: 48px !important; font: 500 12px var(--mono) !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted) !important; }

/* auth: sign-up, sign-in, contact form */
.auth { position: relative; isolation: isolate; padding-block: clamp(48px, 8vw, 110px); overflow: hidden; }
.auth-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.auth-copy { display: flex; flex-direction: column; gap: 22px; }
.auth-title { font-size: clamp(48px, 7.6vw, 110px); }
.auth-links { display: flex; flex-wrap: wrap; gap: 24px; }
.coming { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.coming li { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.coming-n { font: 600 12px var(--mono); color: var(--accent-text); }
.coming-t { font-weight: 700; }
.coming li p:not(.coming-t) { color: var(--muted); font-size: 14.5px; }
.auth-card { position: relative; padding: clamp(24px, 3.5vw, 40px); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.auth-card-title { font-size: 24px; font-weight: 780; letter-spacing: -0.02em; margin-bottom: 12px; }
.auth-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--warn-soft); color: var(--fg); font-size: 14.5px; line-height: 1.45; margin-bottom: 20px; }
.auth-note .i { color: var(--warn); width: 20px; height: 20px; }
.auth-form fieldset { display: flex; flex-direction: column; gap: 14px; border: 0; padding: 0; margin: 0; min-width: 0; }
.auth-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 650; color: var(--fg-2); }
.auth-form input, .auth-form select, .auth-form textarea { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 15.5px; width: 100%; min-width: 0; }
.auth-form textarea { height: auto; padding: 12px 14px; resize: none; }
.auth-form fieldset[disabled] input, .auth-form fieldset[disabled] select, .auth-form fieldset[disabled] textarea { cursor: not-allowed; opacity: 0.7; }
.auth-form .two { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 12px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.auth-fine { margin-top: 16px; font-size: 13px; color: var(--muted); }
.stamp { position: absolute; z-index: 5; top: 40%; left: 50%; display: flex; flex-direction: column; align-items: center; padding: 10px 22px 12px; border: 4px solid var(--accent-text); border-radius: 10px; color: var(--accent-text); font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: clamp(30px, 4vw, 44px); line-height: 0.92; letter-spacing: 0.02em; transform: translate(-50%, -50%) rotate(-12deg); background: oklch(from var(--surface) l c h / 0.82); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); pointer-events: none; mix-blend-mode: normal; box-shadow: inset 0 0 0 2px oklch(from var(--accent-text) l c h / 0.4); animation: stamp 0.7s 0.5s var(--spring) both; }
.stamp span { white-space: nowrap; }

/* demo */
.demo-wrap { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 7vw, 96px); }
.demo-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 24px; }
.demo-intro > p { max-width: 520px; color: var(--fg-2); }
.demo { position: relative; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.tape-band { height: 30px; overflow: hidden; background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, oklch(0.2 0.012 60) 14px 28px); display: flex; align-items: center; }
.tape-run { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.tape-run span { margin: 0 10px; padding: 3px 10px; border-radius: 4px; background: oklch(0.2 0.012 60); color: var(--accent); font: 700 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.demo-app { display: grid; grid-template-columns: 236px 1fr; min-height: min(78vh, 760px); }
.demo-side { display: flex; flex-direction: column; gap: 14px; padding: 16px 12px; background: var(--inv); color: var(--inv-fg); }
.demo-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px; font-weight: 820; font-size: 19px; font-stretch: 92%; letter-spacing: -0.03em; }
.demo-brand .mark { width: 28px; height: 28px; }
.demo-tenant { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid var(--inv-line); }
.demo-tenant b { display: block; font-size: 13.5px; }
.demo-tenant small { color: var(--inv-muted); font-size: 12px; }
.demo-side .sk { background: var(--inv-line); }
.demo-nav { display: flex; flex-direction: column; gap: 2px; }
.demo-nav a { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 550; color: var(--inv-muted); transition: background 0.2s, color 0.2s; }
.demo-nav a .i { width: 17px; height: 17px; }
.demo-nav a:hover { background: var(--inv-line); color: var(--inv-fg); }
.demo-nav a[aria-current='page'] { background: var(--accent); color: var(--accent-ink); }
.demo-side-foot { margin-top: auto; padding: 4px 8px; }
.demo-main { display: flex; flex-direction: column; min-width: 0; background: var(--bg); }
.demo-top { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.demo-burger { display: none; }
.demo-title { font-size: 19px; font-weight: 760; letter-spacing: -0.02em; white-space: nowrap; }
.demo-search { margin-left: auto; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; width: min(340px, 40%); border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--faint); }
.demo-search input { border: 0; background: transparent; width: 100%; min-width: 0; font-size: 14px; outline: none; cursor: not-allowed; }
.demo-search .i { width: 16px; height: 16px; flex: none; }
.demo-icons { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.demo-body { padding: 18px; overflow: hidden; }
.demo-panel { display: flex; flex-direction: column; gap: 14px; animation: fadeUp 0.45s var(--ease); }
.demo-panel[hidden] { display: none; }
.sk { display: block; height: 11px; border-radius: 6px; background: var(--sk); position: relative; overflow: hidden; }
.sk::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, var(--sk-hi), transparent); animation: shimmer 1.6s infinite; }
.w25 { width: 25%; } .w30 { width: 30%; } .w35 { width: 35%; } .w40 { width: 40%; } .w45 { width: 45%; } .w50 { width: 50%; }
.w55 { width: 55%; } .w60 { width: 60%; } .w65 { width: 65%; } .w70 { width: 70%; } .w75 { width: 75%; } .w85 { width: 85%; }
.sk-h { height: 8px; opacity: 0.7; }
.sk-box { width: 16px; height: 16px; border-radius: 4px; }
.sk-av { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.sk-btn { width: 84px !important; height: 30px; border-radius: 8px; }
.sk-search { width: 200px; height: 30px; border-radius: 8px; margin-left: auto; }
.sk-label { width: 34% !important; height: 9px; margin-bottom: 14px; opacity: 0.8; }
.sk-num { width: 52%; height: 30px; border-radius: 8px; margin-bottom: 10px; }
.sk-small { height: 8px; width: 40%; margin-top: 7px; opacity: 0.7; }
.sk-input { width: 60%; height: 34px; border-radius: 8px; }
.sk-card { border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); padding: 16px; min-width: 0; }
.sk-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.sk-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.sk-tools { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.sk-table { width: 100%; border-collapse: collapse; }
.sk-table th, .sk-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); }
.sk-table th { background: var(--bg-2); }
.sk-table td:first-child, .sk-table th:first-child { width: 36px; }
.sk-chart { display: flex; flex-direction: column; }
.sk-bars { display: flex; align-items: flex-end; gap: 8px; height: 170px; margin-top: auto; }
.sk-bars i { flex: 1; max-width: 24px; border-radius: 6px 6px 2px 2px; background: var(--sk); position: relative; overflow: hidden; }
.sk-bars i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, transparent, var(--sk-hi), transparent); transform: translateY(100%); animation: shimmerY 1.8s infinite; }
.sk-bars .h0 { height: 30%; } .sk-bars .h1 { height: 55%; } .sk-bars .h2 { height: 42%; } .sk-bars .h3 { height: 78%; } .sk-bars .h4 { height: 64%; } .sk-bars .h5 { height: 90%; }
.sk-li { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.sk-li > div { flex: 1; }
.sk-kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sk-col { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; background: var(--bg-2); min-width: 0; }
.sk-kcard { padding: 12px; }
.sk-bins { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; }
.sk-bins i { aspect-ratio: 1.2; border-radius: 8px; background: var(--sk); animation: pulseBg 2.4s ease-in-out infinite; }
.sk-bins i:nth-child(3n) { animation-delay: 0.4s; } .sk-bins i:nth-child(5n) { animation-delay: 0.8s; }
.sk-form { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.sk-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sk-row .sk:first-child { width: 28%; }
.sk-map { position: relative; min-height: 340px; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; }
.sk-pin { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); animation: blink 1.8s infinite; }
.sk-pin.p1 { left: 22%; top: 30%; } .sk-pin.p2 { left: 58%; top: 52%; animation-delay: 0.5s; } .sk-pin.p3 { left: 40%; top: 74%; animation-delay: 1s; }
.demo-wip { position: absolute; right: 20px; bottom: 20px; z-index: 6; width: min(400px, calc(100% - 40px)); padding: 24px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line-2); animation: slideIn 0.7s 0.4s var(--spring) both; }
.demo-wip[hidden] { display: none; }
.wip-cone { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); margin-bottom: 14px; animation: wobble 2.6s ease-in-out infinite; }
.wip-cone .i { width: 26px; height: 26px; }
.demo-wip h2 { font-size: 20px; font-weight: 780; letter-spacing: -0.02em; margin-bottom: 8px; }
.demo-wip > p { color: var(--fg-2); font-size: 14.5px; }
.term { margin: 16px 0; padding: 14px 16px; border-radius: 12px; background: oklch(0.15 0.012 60); color: oklch(0.88 0.01 80); font: 500 11.5px/1.75 var(--mono); white-space: pre-wrap; overflow: hidden; min-height: 132px; }
.term .tl { display: block; }
.term .cmd { color: oklch(0.85 0.15 70); }
.term .warn { color: oklch(0.86 0.13 85); }
.term .off { color: oklch(0.65 0.01 70); }
.term .bad { color: oklch(0.76 0.14 28); }
.term .ok { color: oklch(0.8 0.13 150); }
.term .tl.typing::after { content: '▋'; animation: blink 0.8s step-end infinite; }
.wip-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.wip-fab { position: absolute; right: 20px; bottom: 20px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; box-shadow: 0 14px 30px -10px var(--accent-glow); }
.wip-fab[hidden] { display: none; }

/* 404 */
.nf { position: relative; isolation: isolate; padding-block: clamp(64px, 12vw, 160px); overflow: hidden; }
.nf-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.nf-title { font-size: clamp(80px, 20vw, 260px); line-height: 0.82; }

/* footer */
.foot { position: relative; margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(56px, 8vw, 96px); background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 0.9fr 2.1fr; gap: clamp(32px, 6vw, 80px); }
.foot-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ribbit { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--inv); transition: transform 0.4s var(--spring); }
.ribbit:hover { transform: rotate(-6deg) scale(1.05); }
.ribbit.hop .mark { animation: bigHop 0.7s var(--spring); }
.foot-claim { font-size: 34px; max-width: 12ch; }
.foot-note { color: var(--muted); font-size: 15px; max-width: 34ch; }
.dom { font-weight: 800; font-stretch: 88%; letter-spacing: -0.02em; white-space: nowrap; }
.dom b { font-weight: inherit; color: var(--accent-text); }
.dom i { font-style: normal; color: var(--faint); }
.foot-domain { font-size: 26px; line-height: 1.1; }
.foot-domain a:hover i { color: var(--fg); }
.finale-domain { margin-top: 18px; font-size: clamp(20px, 2.4vw, 28px) !important; font-weight: 600; color: var(--fg-2); }
.foot-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.foot-status a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.foot-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.foot-col h2 { margin-bottom: 14px; }
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: var(--fg-2); font-size: 14.5px; transition: color 0.2s; }
.foot-col a:hover { color: var(--accent-text); }
.foot-prefs { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.pref { display: flex; align-items: center; gap: 12px; }
.foot-legal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; padding-block: 28px; font-size: 13px; color: var(--muted); }
.foot-giant { font-size: 23vw; line-height: 0.74; font-stretch: 125%; letter-spacing: -0.04em; text-align: center; margin-bottom: -0.11em; background: linear-gradient(180deg, var(--line-2), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, calc(100% + 40px)); padding: 12px 20px; border-radius: 999px; background: var(--inv); color: var(--inv-fg); font-weight: 650; font-size: 15px; box-shadow: var(--shadow-lg); visibility: hidden; transition: transform 0.5s var(--spring), visibility 0.5s; pointer-events: none; white-space: nowrap; }
.toast.on { transform: translate(-50%, 0); visibility: visible; }

/* ------------------------------------------------------------------ entrances */
/* Entrances are animations that only fill backwards, so once they finish, hover effects own transform. */
.js [data-reveal]:not([data-reveal='stagger']):not(.in) { opacity: 0; }
.js [data-reveal]:not([data-reveal='stagger']).in { animation: revealIn 0.9s var(--ease) backwards; }
.js [data-reveal='stagger']:not(.in) > * { opacity: 0; }
.js [data-reveal='stagger'].in > * { animation: staggerIn 0.8s var(--spring) backwards; }
.js [data-reveal='stagger'].in > :nth-child(2) { animation-delay: 0.07s; }
.js [data-reveal='stagger'].in > :nth-child(3) { animation-delay: 0.14s; }
.js [data-reveal='stagger'].in > :nth-child(4) { animation-delay: 0.21s; }
.js [data-reveal='stagger'].in > :nth-child(5) { animation-delay: 0.28s; }
.js [data-reveal='stagger'].in > :nth-child(6) { animation-delay: 0.35s; }
.js [data-reveal='stagger'].in > :nth-child(7) { animation-delay: 0.42s; }
.js [data-reveal='stagger'].in > :nth-child(8) { animation-delay: 0.49s; }
.js [data-reveal='stagger'].in > :nth-child(9) { animation-delay: 0.56s; }
.js [data-reveal='stagger'].in > :nth-child(10) { animation-delay: 0.63s; }
.js [data-reveal='stagger'].in > :nth-child(11) { animation-delay: 0.70s; }
.hero-title .ln > span:first-child { animation: rise 1.1s var(--ease) both, squeeze 1.6s var(--ease) both; }
.hero-title .ln:nth-child(2) > span:first-child { animation-delay: 0.12s; }
.hero-title .ln > .shine-text { animation: rise 1.1s 0.24s var(--ease) both, squeeze 1.6s 0.24s var(--ease) both, sheen 5s 1.6s ease-in-out infinite; }
.dot-mark { animation: setDot 0.7s 1.05s var(--spring) both; }
.hero-sub, .hero-copy .cta-row, .hero-meta, .eyebrow { animation: fadeUp 1s var(--ease) both; }
.eyebrow { animation-delay: 0s; } .hero-sub { animation-delay: 0.35s; } .hero-copy .cta-row { animation-delay: 0.45s; } .hero-meta { animation-delay: 0.55s; }
.hero-stage { animation: stageIn 1.4s 0.5s var(--ease) both; }

@keyframes revealIn { from { opacity: 0; transform: translateY(28px); } }
@keyframes staggerIn { from { opacity: 0; transform: translateY(30px) scale(0.98); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
/* The squeeze scales the line, which moves nothing around it. Animating font-stretch re-wrapped the heading and shifted the page. */
@keyframes squeeze { from { scale: 1.32 1; } to { scale: 1 1; } }
@keyframes sheen { 0%, 60% { background-position: 100% 0; } 100% { background-position: -150% 0; } }
@keyframes setDot { 0% { transform: translateY(-1.2em) scale(0.4); opacity: 0; } 60% { transform: translateY(0) scale(1.25, 0.8); opacity: 1; } 100% { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes stageIn { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate3d(-6%, -4%, 0) scale(1); } to { transform: translate3d(6%, 6%, 0) scale(1.15); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes march { to { stroke-dashoffset: -24; } }
@keyframes blink { 50% { opacity: 0.35; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--accent-glow); } 100% { box-shadow: 0 0 0 12px transparent; } }
@keyframes press { 30% { transform: scale(0.92); } 100% { transform: none; } }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes scanline { 0%, 100% { top: 4%; } 50% { top: 92%; } }
@keyframes draw { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(2.2); opacity: 0; } }
@keyframes hop { 0%, 100% { transform: none; } 30% { transform: translateY(-3px) scale(1.06, 0.94); } 55% { transform: translateY(-1px) scale(0.96, 1.05); } }
@keyframes bigHop { 0%, 100% { transform: none; } 35% { transform: translateY(-14px) rotate(-8deg) scale(1.1); } 65% { transform: translateY(2px) scale(1.06, 0.92); } }
@keyframes tape { to { background-position: 0 25.5px; } }
@keyframes stamp { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(3); } 60% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(0.92); } 80% { transform: translate(-50%, -50%) rotate(-11deg) scale(1.04); } 100% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes shimmerY { to { transform: translateY(-100%); } }
@keyframes pulseBg { 50% { background: var(--sk-hi); } }
@keyframes slideIn { from { opacity: 0; transform: translateY(40px) scale(0.95); } to { opacity: 1; transform: none; } }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(6deg); } 60% { transform: rotate(-3deg); } }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px) scale(0.99); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px) scale(0.99); } }
@keyframes reveal { from { clip-path: circle(0 at var(--vx, 50%) var(--vy, 0)); } to { clip-path: circle(150vmax at var(--vx, 50%) var(--vy, 0)); } }

/* page transitions between pages (where the browser supports them) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 0.28s var(--ease) both; }
::view-transition-new(root) { animation: vtIn 0.5s 0.06s var(--ease) both; }
.vt-theme::view-transition-old(root) { animation: none; }
.vt-theme::view-transition-new(root) { animation: reveal 0.75s var(--ease) both; }

/* ------------------------------------------------------------------ motion off: really off */
:root[data-motion='off'] *, :root[data-motion='off'] *::before, :root[data-motion='off'] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
:root[data-motion='off'] [data-reveal], :root[data-motion='off'] [data-reveal] > * { opacity: 1 !important; transform: none !important; }
:root[data-motion='off'] [data-reveal] > .stamp { transform: translate(-50%, -50%) rotate(-12deg) !important; }
:root[data-motion='off'] .erp { transform: none !important; }
:root[data-motion='off']::view-transition-group(*), :root[data-motion='off']::view-transition-old(*), :root[data-motion='off']::view-transition-new(*) { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion='on']) *, :root:not([data-motion='on']) *::before, :root:not([data-motion='on']) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  :root:not([data-motion='on']) [data-reveal], :root:not([data-motion='on']) [data-reveal] > * { opacity: 1 !important; transform: none !important; }
  :root:not([data-motion='on']) [data-reveal] > .stamp { transform: translate(-50%, -50%) rotate(-12deg) !important; }
  :root:not([data-motion='on']) .erp { transform: none !important; }
  :root:not([data-motion='on'])::view-transition-group(*), :root:not([data-motion='on'])::view-transition-old(*), :root:not([data-motion='on'])::view-transition-new(*) { animation: none !important; }
}

/* ------------------------------------------------------------------ forced colours */
@media (forced-colors: active) {
  .pill, .seg button[aria-pressed='true'], .btn { border: 1px solid CanvasText; }
  .riveted::after, .spot::before, .hero-bg, .phero-bg { display: none; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-core { grid-row: span 1; }
  .cards4, .why, .wall { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .foot-top { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: repeat(2, 1fr); }
  .po-a { right: 8px; } .po-b { right: 48px; } .xero { left: 8px; }
}
@media (max-width: 960px) {
  .split, .faq-grid, .feat-grid, .contact-grid, .auth-grid, .prose-grid, .fit { grid-template-columns: 1fr; }
  .split .sec-head, .faq-grid .sec-head, .feat-head, .toc { position: static; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .mini-plans { grid-template-columns: 1fr; }
  .cards3 { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .foot-legal { grid-template-columns: 1fr; }
  .toc { display: none; }
  .erp-body { grid-template-columns: 1fr; }
  .erp-side { display: none; }
  .demo-app { grid-template-columns: 1fr; }
  .demo-side { position: absolute; z-index: 7; top: 30px; bottom: 0; left: 0; width: 248px; transform: translateX(-105%); transition: transform 0.4s var(--ease); box-shadow: var(--shadow-lg); }
  .demo.side-open .demo-side { transform: none; }
  .demo-burger { display: inline-grid; margin-left: -8px; }
  .sk-split { grid-template-columns: 1fr; }
  .sk-kanban { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .bar-more { display: none; }
  .bento, .cards4, .cards3, .cards2, .stats, .why, .wall { grid-template-columns: 1fr; }
  .b-core, .b-wms { grid-column: span 1; }
  .vis-docs { height: 200px; transform: scale(0.8); transform-origin: 50% 0; margin-bottom: -40px; }
  .vs-head, .vs-row { grid-template-columns: 1fr; }
  .vs-head span + span { display: none; }
  .vs-new { border-left: 0; padding-top: 0 !important; }
  .vs-old { padding-bottom: 6px !important; text-decoration: line-through; text-decoration-color: var(--line-2); }
  .erp { font-size: 12px; border-radius: 12px; }
  .erp-head { grid-template-columns: 1fr 1fr; }
  .f-hide, .t-hide, .tb-search, .erp-keys, .c-code, .c-sup, .c-unit, .erp-menu span:nth-child(n+6) { display: none !important; }
  .erp-grid th, .erp-grid td { padding-inline: 5px; }
  .erp-grid .c-n { width: 22px; } .erp-grid .c-qty { width: 32px; } .erp-grid .c-tot { width: 72px; } .erp-grid .c-po { width: 72px; }
  .erp-foot { flex-direction: column; align-items: stretch; }
  .erp-tot { min-width: 0; }
  /* On a phone the floating cards sit in a row under the window instead of over it. */
  .hero-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-stage .erp { grid-column: 1 / -1; }
  .float { position: static; width: auto; }
  .po { padding: 10px 12px; font-size: 11.5px; }
  .po b { font-size: 16px; }
  .po .pill { white-space: normal; height: auto; padding-block: 3px; }
  .xero { grid-column: 1 / -1; font-size: 12.5px; padding: 10px 14px; }
  .phase { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .phase-n { grid-column: 1 / -1; font-size: 34px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .foot-prefs { flex-direction: column; }
  .pref { justify-content: space-between; }
  .demo-intro { flex-direction: column; align-items: flex-start; }
  .demo-search { display: none; }
  .demo-body { padding: 12px; }
  .demo-wip { right: 10px; left: 10px; bottom: 10px; width: auto; padding: 18px; }
  .wip-fab { right: 10px; bottom: 10px; }
  .sk-kanban { grid-template-columns: 1fr; }
  .coming li { grid-template-columns: 30px 1fr; }
  .coming li .pill { grid-column: 2; justify-self: start; }
  .subnav-in > a { padding: 8px 10px; font-size: 13.5px; }
  .addon-grid { grid-template-columns: 1fr; }
  .plan.is-hi .tag-ind { margin-right: 0; }
  .plan-badge { position: static; align-self: flex-start; order: -1; }
  .auth-form .two { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .eyebrow > span:not(.pill) { display: none; }
  .eyebrow { padding-right: 10px; }
  .cta-row .btn-lg { width: 100%; }
  .seg button { padding: 0 11px; }
}

/* ================================================================== Orderfy: logo, menu and the pages added for it */

/* ------------------------------------------------------------------ logo */
.logo { height: 44px; width: auto; max-width: none; }
.logo-d { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .logo-l { display: none; } :root:not([data-theme='light']) .logo-d { display: block; } }
:root[data-theme='dark'] .logo-l { display: none; }
:root[data-theme='dark'] .logo-d { display: block; }
.brand { margin-left: -6px; margin-right: 8px; transition: opacity 0.2s; }
.brand:hover { opacity: 0.82; }
.logo-foot { height: 56px; margin-left: -8px; }
.mark { width: 32px; height: 32px; }
.finale-mark .mark, .nf-mark .mark { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: none; } 50% { transform: translateY(-8px) rotate(4deg); } }
.about-mark { background: var(--surface); box-shadow: var(--shadow-md); }
.about-mark .label { color: var(--muted); }
.nf-logo { margin-top: 20px; opacity: 0.85; }
.nf-logo .logo { height: 40px; }

/* ------------------------------------------------------------------ features menu */
.nav-links { align-items: center; }
.dd { position: static; }
.dd-btn { display: inline-flex; align-items: center; gap: 4px; }
.dd-btn .i { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.dd.open .dd-btn .i { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 6px var(--gut) 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.22s var(--ease), transform 0.3s var(--ease), visibility 0.22s; pointer-events: none; }
.dd.open .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mega-in { max-width: calc(var(--wrap) - 2 * var(--gut)); margin-inline: auto; padding: 26px 28px 18px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lg); max-height: calc(100vh - var(--nav-h) - 24px); overflow-y: auto; }
.mega-cols { columns: 4; column-gap: 28px; }
.mega-col { break-inside: avoid; padding-bottom: 22px; }
.mega-h { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px 6px; border-radius: 10px; font-weight: 760; font-size: 15px; letter-spacing: -0.01em; color: var(--fg); transition: background 0.2s; }
.mega-h .i { width: 18px; height: 18px; color: var(--accent); }
.mega-h:hover { background: var(--accent-soft); }
.mega-col ul { display: flex; flex-direction: column; }
.mega-col li a { display: block; padding: 5px 8px; margin: 0 -8px; border-radius: 8px; font-size: 14px; line-height: 1.35; color: var(--fg-2); transition: color 0.15s, background 0.15s; }
.mega-col li a:hover { color: var(--fg); background: var(--surface-2); }
.mega-foot { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; }
@media (max-width: 1240px) { .mega-cols { columns: 3; } }

/* the phone menu */
.sheet-a { display: flex; align-items: baseline; gap: 16px; }
.sheet-dd { border-bottom: 1px solid var(--line); }
.sheet-dd > summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-size: 40px; font-weight: 820; font-stretch: 80%; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; cursor: pointer; list-style: none; }
.sheet-dd > summary::-webkit-details-marker { display: none; }
.sheet-dd > summary .i { width: 26px; height: 26px; transition: transform 0.3s var(--ease); }
.sheet-dd[open] > summary .i { transform: rotate(180deg); }
.sheet-sub { display: grid; gap: 2px; padding: 0 0 16px; }
.sheet-sub a { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 18px; font-weight: 650; color: var(--fg-2); }
.sheet-sub a .i { color: var(--accent); }
.menu-open .sheet-in > a:nth-child(6) { transition-delay: 0.2s; }

/* ------------------------------------------------------------------ breadcrumbs, hero extras */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--faint); }
.crumbs a:hover { color: var(--accent-text); }
.crumbs [aria-current] { color: var(--fg-2); }
.phero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.phero-title { max-width: 16ch; }
.h2-feat { font-size: clamp(34px, 4.4vw, 60px); }
.tm-note.center { text-align: center; }
.stat-word { font-size: clamp(52px, 6.4vw, 96px); }
.band-top { padding-block: clamp(40px, 6vw, 72px); margin-top: 24px; }

/* ------------------------------------------------------------------ feature pages */
.feat-list li { display: flex; }
.feat-list a.card { display: flex; flex-direction: column; width: 100%; }
.feat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-cards > li { display: flex; }
.feat-card { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.feat-card h3 { font-size: 21px; font-weight: 760; letter-spacing: -0.015em; line-height: 1.2; }
.feat-card > p { color: var(--fg-2); font-size: 15.5px; line-height: 1.55; }
.ticks { display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: flex; gap: 9px; font-size: 15px; line-height: 1.45; }
.ticks li .i { width: 17px; height: 17px; margin-top: 3px; color: var(--ok); }
.sec-card .ticks { margin-top: 6px; }
.sec-card .ticks li { font-size: 16px; color: var(--fg-2); }
.sec-card .why-n { position: static; }
.fit-ours { box-shadow: 0 0 0 2px var(--accent), var(--shadow-md); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 620; font-size: 15px; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.chip .i { width: 17px; height: 17px; color: var(--accent); }
.chip:hover { border-color: var(--fg); }
.chip-all { background: var(--inv); color: var(--inv-fg); border-color: transparent; }
.chip-all .i { color: currentColor; }
.addon-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* a definition list in a card: the uptime explainer, company details, API basics */
.explain { position: relative; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-md); }
.explain dl { display: flex; flex-direction: column; }
.explain dl > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.explain dl > div:first-child { padding-top: 0; }
.explain dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.explain dt { font: 600 11.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px; }
.explain dd { color: var(--fg-2); font-size: 16.5px; line-height: 1.6; }
.explain > p { margin-top: 22px; }

/* ------------------------------------------------------------------ the 32 standards */
.iso-wide { margin: 0 0 clamp(28px, 4vw, 48px); }
.iso-note { flex: 1 1 380px; color: var(--inv-muted); font-size: 15px; line-height: 1.55; }
.iso-group { margin-top: clamp(36px, 5vw, 60px); }
.iso-group-head { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: end; padding-bottom: 14px; border-bottom: 2px solid var(--fg); }
.iso-group-head h3 { font-size: clamp(22px, 2.4vw, 28px); }
.iso-group-head p { grid-column: 1; color: var(--muted); font-size: 15.5px; }
.iso-group-head .label { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.iso-item { display: grid; grid-template-columns: 250px 1fr; gap: 12px 32px; padding: 22px 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: calc(var(--nav-h) + 72px); }
.iso-id { display: flex; flex-direction: column; gap: 6px; }
.iso-code { font-size: 21px; font-weight: 820; font-stretch: 86%; letter-spacing: -0.01em; }
.iso-ed { font: 500 11.5px var(--mono); letter-spacing: 0.04em; color: var(--muted); }
.iso-body h4 { margin: 0 0 6px; font-size: 17.5px; font-weight: 720; letter-spacing: -0.01em; }
.iso-body p { color: var(--fg-2); font-size: 16px; line-height: 1.6; }
.iso-how { display: flex; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); }
.iso-how .i { width: 18px; height: 18px; margin-top: 3px; color: var(--ok); }
.iso-how span { color: var(--fg); font-size: 15.5px; }

/* ------------------------------------------------------------------ contact, legal, brand */
@media (min-width: 961px) { .contact-grid { grid-template-columns: 1.05fr 0.95fr; } }
.contact-form { border-radius: 26px; }
.auth-form fieldset { gap: 16px; }
.auth-form .two-even { grid-template-columns: 1fr 1fr; }
.auth-form textarea { resize: vertical; min-height: 120px; }
.auth-form input:focus-visible, .auth-form select:focus-visible, .auth-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; background: var(--surface); }
.auth-fine { line-height: 1.55; }
.contact-v { font-weight: 650; color: var(--fg) !important; line-height: 1.5; overflow-wrap: anywhere; }
.contact-note { font-size: 14px !important; color: var(--muted) !important; }
.coming li { grid-template-columns: 36px 1fr; }
.prose-date-top { margin: 0 0 8px !important; }
.prose h2 { scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose .table-wrap table { min-width: 520px; }
.legal-entity { margin-top: 36px; text-align: center; color: var(--muted); font-size: 15px; }
.foot-nap { display: flex; flex-direction: column; gap: 8px; font-style: normal; font-size: 14.5px; color: var(--fg-2); }
.foot-nap > * { display: inline-flex; align-items: flex-start; gap: 10px; }
.foot-nap > a { min-height: 24px; }
.foot-nap .i { width: 17px; height: 17px; margin-top: 2px; color: var(--accent); }
.foot-nap a:hover { color: var(--accent-text); }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-tile { border-radius: var(--r-card); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-md); }
.brand-art { display: grid; place-items: center; height: 200px; padding: 28px; }
.brand-art img { max-height: 100%; width: auto; }
.brand-light .brand-art { background: #fff; }
.brand-dark .brand-art { background: #0e1917; }
.brand-tile figcaption { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 18px; font-weight: 650; font-size: 15px; }
.brand-dl { display: flex; gap: 18px; font-size: 14px; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.swatch { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 150px; padding: 18px; border-radius: 20px; box-shadow: var(--shadow-md); }
.sw-orange { background: #eb6f2e; color: #16120f; }
.sw-ink { background: #20292e; color: #f1f1ea; }
.sw-paper { background: #f1f1ea; color: #20292e; }

@media (max-width: 1100px) { .feat-cards, .brand-grid { grid-template-columns: repeat(2, 1fr); } .addon-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .iso-item { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .feat-cards, .brand-grid, .swatches, .addon-grid-3, .feat-list { grid-template-columns: 1fr; }
  .auth-form .two-even { grid-template-columns: 1fr; }
  .logo { height: 38px; }
  .iso-group-head { grid-template-columns: 1fr; }
  .iso-group-head .label { grid-column: 1; grid-row: auto; }
  .sheet-dd > summary, .sheet-in > a { font-size: 32px; }
}
@media (forced-colors: active) { .chip, .explain, .iso-how { border: 1px solid CanvasText; } }
.mega-h { align-items: flex-start; }
.mega-h .i { margin-top: 2px; }
.stats .stat-n { font-size: clamp(52px, 6.4vw, 96px); }

/* ------------------------------------------------------------------ comparison tables, standards links, cross-links */
.chips-label { margin: 32px 0 12px; text-align: center; }
.iso-link { margin-top: 4px; font: 500 12px var(--mono); color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.iso-link:hover { color: var(--fg); }
.glance { width: 100%; min-width: 0; }
.glance caption:not(.sr) { caption-side: top; padding: 18px 18px 8px; text-align: left; color: var(--muted); font-size: 15px; }
.glance th[scope='row'] { width: 22%; vertical-align: top; }
.glance td { vertical-align: top; }
.glance-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.table-wrap + .table-wrap { margin-top: 24px; }
.phero-meta .label { margin-left: 4px; }
@media (max-width: 720px) { .glance th[scope='row'] { width: 30%; } .glance th, .glance td { padding-inline: 12px; font-size: 14.5px; } }
