/* Onorbi marketing site. Plain CSS, no build step.
   Sections: tokens, base, components (buttons, pills, cards, product window), then one block per page section. */

/* ===================== Tokens ===================== */
:root {
  /* Brand: the logo's cyan and navy */
  --navy: #042855;
  --navy-2: #08336a;
  --navy-line: #18477f;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e5e8ef;
  --line-2: #eef1f6;
  --paper: #ffffff;
  --slate: #f7f8fb;
  --indigo: #00affe;       /* logo cyan: accents, buttons, progress */
  --indigo-deep: #0071bc;  /* readable blue for text on white */
  --indigo-soft: #e6f6ff;
  --violet: #0a84e0;       /* second blue for gradients */
  --emerald: #10b981;
  --emerald-soft: #e7f8f1;
  --amber: #f59e0b;
  --amber-soft: #fff6e6;
  --rose: #f43f5e;
  --rose-soft: #fff0f2;
  /* Team colours, the same as in the app */
  --hr: #8b5cf6; --it: #0ea5e9; --mgr: #10b981; --acct: #f59e0b; --fac: #f43f5e;
  --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px -12px rgba(15,23,42,.12);
  --shadow-lg: 0 2px 4px rgba(15,23,42,.04), 0 40px 80px -32px rgba(15,23,42,.28);
  --wrap: 1180px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ===================== Base ===================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink-2); font: 16px/1.6 "Geist", "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); margin: 0; letter-spacing: -0.025em; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; left: 8px; top: 8px; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; z-index: 100; }
.sr-only:focus { width: auto; height: auto; clip: auto; padding: 8px 12px; background: var(--paper); border-radius: 8px; box-shadow: var(--shadow); }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }

/* Small layout helpers used inside product visuals */
.push { margin-left: auto; }
.gap { margin-top: 10px; }
.row-c { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stack { display: grid; gap: 12px; }
.indent { margin-left: 40px; }
.center-t { text-align: center; margin-top: 8px; }
.strong { font-weight: 600; color: var(--ink); }
.indigo { color: var(--indigo-deep); }
.inline-ico { display: inline; width: 13px; height: 13px; vertical-align: -2px; }
.inline-ico.amber { color: var(--amber); }

/* ===================== Components ===================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font: 600 15px/1 "Geist", sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { color: var(--navy); background: linear-gradient(180deg, #33c1ff, #00a6f5); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 20px -8px rgba(0,150,230,.65); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 26px -8px rgba(0,150,230,.75); }
.btn-ghost { color: var(--ink); background: var(--paper); border-color: var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: #d3d8e3; }
.btn-dark-ghost { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.btn-dark-ghost:hover { border-color: rgba(255,255,255,.35); }

.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 5px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow); text-decoration: none; }
.chip b { font-weight: 600; font-size: 11.5px; color: var(--navy); background: linear-gradient(90deg, var(--indigo), var(--violet)); padding: 2px 9px; border-radius: 99px; }
.eyebrow { font: 500 12.5px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo-deep); }
.dark .eyebrow { color: #7dd3fc; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; white-space: nowrap; line-height: 1.6; }
.pill svg { width: 10px; height: 10px; }
.pill.neutral { background: #f1f5f9; color: #475569; }
.pill.info { background: var(--indigo-soft); color: var(--indigo-deep); }
.pill.warn { background: var(--amber-soft); color: #b45309; }
.pill.ok { background: var(--emerald-soft); color: #047857; }
.pill.danger { background: var(--rose-soft); color: #be123c; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }

.section { padding: 112px 0; position: relative; }
.head { max-width: 680px; }
.head.center { margin: 0 auto; text-align: center; }
.head h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.06; margin: 14px 0 16px; letter-spacing: -0.035em; }
.head p { font-size: 18px; color: var(--muted); }
.dark { background: var(--navy); color: #b7c0d4; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .head p { color: #94a0b8; }

/* Product window: the frame every product visual sits in */
.window { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line-2); background: #fbfcfe; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e6ee; }
.window-bar span { margin: 0 auto; transform: translateX(-24px); font: 500 11.5px "Geist Mono", monospace; color: var(--faint); }
.ui { font-size: 12.5px; color: var(--ink-2); }
.ui h5 { font-size: 13px; }
.ui .sub { color: var(--muted); font-size: 11.5px; }
.h-lg { font-size: 15px !important; display: flex; align-items: center; gap: 6px; }
.ui-card { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.ui-card.pad { padding: 10px 12px; }
.ui-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; }
.ui-row + .ui-row { border-top: 1px solid var(--line-2); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; flex: none; background: var(--indigo-soft); color: var(--indigo-deep); }
.avatar.ok { background: var(--emerald-soft); color: #047857; }
.avatar.warn { background: var(--amber-soft); color: #b45309; }
.avatar.brand { background: var(--indigo); color: #fff; }
.avatar.lg { width: 38px; height: 38px; font-size: 12px; }
.bar { display: block; height: 6px; border-radius: 99px; background: #edf0f5; overflow: hidden; }
.bar.grow { flex: 1; }
.bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: var(--c, linear-gradient(90deg, var(--indigo), var(--violet))); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.js .bar i { transform: scaleX(0); }
.js .bar.in i { transform: scaleX(1); }
.check { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #cbd2dd; flex: none; display: grid; place-items: center; }
.check.done { background: var(--emerald); border-color: var(--emerald); }
.check.done::after { content: ""; width: 6px; height: 3px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px,-1px); }
.task-done { color: var(--faint); }
.mini-btn { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); white-space: nowrap; }
.mini-btn.primary { background: var(--indigo); border-color: var(--indigo); color: var(--navy); }
.late { color: var(--rose); font-weight: 600; font-size: 11.5px; margin-left: auto; white-space: nowrap; }
.today { color: #b45309; font-weight: 600; font-size: 11.5px; margin-left: auto; white-space: nowrap; }

/* Scroll reveals, staggered with --i */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ===================== Header ===================== */
.top { position: sticky; top: 0; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.logo .mark { width: 32px; height: auto; }
.logo .word { height: 21px; width: auto; }
.final-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.final-logo .mark { width: 40px; height: auto; }
.final-logo .word { height: 26px; width: auto; }
.tagline { margin-top: 6px; font-size: 14px; color: #4a5568; font-weight: 500; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.signin { font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 10px; transition: background .2s; }
.signin:hover { background: var(--slate); }
.nav-cta .btn { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* ===================== Hero ===================== */
.hero { position: relative; padding: 88px 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%); }
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; will-change: transform; }
.glow.a { width: 520px; height: 420px; left: 8%; top: 40px; background: radial-gradient(circle, rgba(0,175,254,.38), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.glow.b { width: 480px; height: 400px; right: 6%; top: 120px; background: radial-gradient(circle, rgba(10,132,224,.28), transparent 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(-30px, 0, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.hero-copy { text-align: center; max-width: 860px; margin: 0 auto; }
.hero h1 { font-size: clamp(42px, 7vw, 80px); line-height: .98; letter-spacing: -0.045em; margin: 26px 0 22px; }
.hero h1 .grad { background: linear-gradient(100deg, var(--indigo-deep) 10%, var(--violet) 60%, var(--indigo) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.note { margin-top: 18px; font-size: 13.5px; color: var(--muted); display: flex; justify-content: center; gap: 8px 18px; flex-wrap: wrap; }
.note span { display: inline-flex; align-items: center; gap: 6px; }
.note svg { width: 14px; height: 14px; color: var(--emerald); }

/* The recreated Home screen */
.stage { position: relative; margin: 64px auto 0; max-width: 1120px; perspective: 1800px; }
.js .stage .window { transform: rotateX(10deg) translateY(24px) scale(.98); transform-origin: top center; transition: transform 1.4s var(--ease) .15s; }
.js .stage.in .window { transform: none; }
.stage::after { content: ""; position: absolute; left: -20px; right: -20px; bottom: -2px; height: 140px; background: linear-gradient(transparent, var(--paper)); pointer-events: none; z-index: 2; }
.app { display: grid; grid-template-columns: 210px 1fr; min-height: 500px; }
.app-side { background: #fbfcfe; border-right: 1px solid var(--line-2); padding: 14px 12px; display: flex; flex-direction: column; gap: 3px; }
.app-side .brand { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: 14px; padding: 4px 6px 12px; }
.app-side .label { font-size: 10.5px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; padding: 10px 8px 4px; }
.nav-item { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; font-size: 12.5px; color: var(--ink-2); }
.nav-item svg { width: 15px; height: 15px; color: var(--faint); }
.nav-item.on { background: var(--indigo-soft); color: var(--indigo-deep); font-weight: 600; }
.nav-item.on svg { color: var(--indigo); }
.up { display: flex; align-items: center; gap: 8px; padding: 5px 8px; font-size: 12px; }
.up small { margin-left: auto; color: var(--faint); font-size: 10.5px; text-align: right; line-height: 1.2; }
.app-main { padding: 18px 22px 22px; display: grid; gap: 14px; align-content: start; }
.app-top { display: flex; align-items: center; gap: 10px; }
.app-top .org { font-weight: 600; color: var(--ink); font-size: 13px; }
.app-top .ws { font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--indigo-soft); color: var(--indigo-deep); }
.app-top .spacer { flex: 1; }
.app-top .bell { position: relative; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.app-top .bell b { position: absolute; top: 1px; right: 0; min-width: 15px; height: 15px; border-radius: 99px; background: var(--rose); color: #fff; font-size: 9px; display: grid; place-items: center; padding: 0 3px; }
.app-top .new { font-size: 11.5px; font-weight: 600; color: var(--navy); background: var(--indigo); padding: 6px 11px; border-radius: 8px; white-space: nowrap; }
.overview h4 { font-size: 20px; letter-spacing: -0.03em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.stat strong { display: block; font-size: 24px; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; font-weight: 600; }
.stat.red strong { color: var(--rose); }
.grid-2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.card-h { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-bottom: 1px solid var(--line-2); }
.card-h .r { margin-left: auto; display: flex; gap: 6px; }

.float { position: absolute; z-index: 3; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: 12.5px; width: 250px; }
.float h6 { margin: 0 0 3px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.float.f1 { right: -28px; top: 92px; animation: bob 7s ease-in-out infinite; }
.float.f2 { left: -36px; top: 300px; animation: bob 8s ease-in-out infinite reverse; }
.float-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.float-row .late { font-size: 11px; }
.float-act { display: flex; justify-content: flex-end; margin-top: 8px; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Teams strip */
.strip { padding: 40px 0 0; }
.strip p { text-align: center; font-size: 13px; color: var(--faint); font-weight: 500; }
.strip ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.strip li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--ink-2); background: var(--paper); }

/* ===================== Workflow ===================== */
.flow { display: grid; gap: 16px; margin-top: 56px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.step-btn { appearance: none; font: inherit; color: inherit; background: none; text-align: left; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r); border: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s; position: relative; overflow: hidden; }
.step-btn:hover { background: var(--slate); }
.step-btn[aria-selected="true"] { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow); }
.step-btn .num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 500 13px "Geist Mono", monospace; background: var(--slate); color: var(--muted); border: 1px solid var(--line); transition: all .3s; }
.step-btn[aria-selected="true"] .num { background: var(--ink); color: #fff; border-color: var(--ink); }
.step-btn.done .num { background: var(--emerald-soft); color: #047857; border-color: #bfeedb; }
.step-btn strong { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
.step-btn small { color: var(--muted); font-size: 13px; }
.step-btn .timer { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--indigo), var(--violet)); transform: scaleX(0); transform-origin: left; }
.step-btn[aria-selected="true"] .timer.run { animation: timer var(--dur, 5s) linear forwards; }
@keyframes timer { to { transform: scaleX(1); } }
.canvas { position: relative; border-radius: var(--r-xl); border: 1px solid var(--line); background: radial-gradient(circle at 1px 1px, #dfe3ec 1px, transparent 0) 0 0 / 22px 22px, var(--slate); padding: 28px; overflow: hidden; }
.graph { position: relative; height: 300px; }
.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.links path { fill: none; stroke: #d6dbe6; stroke-width: 2; vector-effect: non-scaling-stroke; transition: stroke .4s; }
.links path.flow-on { stroke: url(#flowGrad); stroke-dasharray: 6 8; animation: dash 1.1s linear infinite; }
.links path.flow-done { stroke: var(--emerald); stroke-opacity: .6; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.node { position: absolute; width: min(170px, 16.5%); transform: translate(-50%, -50%); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow); transition: border-color .3s, box-shadow .3s, transform .35s var(--ease); cursor: pointer; }
.node .who { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); font-weight: 500; }
.node strong { display: block; margin-top: 4px; font-size: 13px; color: var(--ink); line-height: 1.3; font-weight: 600; }
.node .state { margin-top: 8px; min-height: 20px; }
.node.active { border-color: #a8e1ff; box-shadow: 0 0 0 4px rgba(0,175,254,.14), var(--shadow-lg); transform: translate(-50%, -50%) scale(1.04); }
.node.done { border-color: #c4eedc; }
.detail { margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); }
.detail h3 { font-size: 19px; margin-top: 10px; }
.detail .desc { margin-top: 6px; color: var(--muted); font-size: 15px; }
.meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0 0; }
.meta div { background: var(--slate); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 11px; }
.meta dt { font-size: 11px; color: var(--faint); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.meta dd { margin: 2px 0 0; font-size: 13.5px; color: var(--ink); font-weight: 500; }
.fade-swap { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ===================== Dashboard showcase ===================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.tile { grid-column: span 2; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--r-lg); padding: 22px; position: relative; overflow: hidden; transition: transform .35s var(--ease), border-color .35s; }
.tile:hover { transform: translateY(-3px); border-color: #2c6db3; }
.tile.w3 { grid-column: span 3; }
.tile h3 { font-size: 17px; margin: 14px 0 6px; }
.tile p { font-size: 14.5px; color: #94a0b8; }
.tile .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(0,175,254,.14); color: #7dd3fc; border: 1px solid rgba(0,175,254,.3); }
.tile .ico svg { width: 18px; height: 18px; }
.viz { margin-top: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--navy-line); border-radius: 12px; padding: 12px; color: #c6cde0; }
.viz .ui-row { padding: 7px 2px; }
.viz .ui-row + .ui-row { border-top-color: var(--navy-line); }
.viz .sub { color: #7f8ba6; }
.viz .light { color: #c6cde0; }
.viz .white { color: #fff; font-weight: 600; }
.viz .bar { background: rgba(255,255,255,.08); }
.viz .today { color: #fcd34d; }
.viz .late { color: #fda4af; }
.viz .mini-btn { background: transparent; color: #e2e8f0; border-color: var(--navy-line); }
.num-row { display: flex; align-items: baseline; gap: 8px; }
.big-num { font-size: 34px; font-weight: 600; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.pills-row { display: flex; flex-wrap: wrap; gap: 8px; }
.lane-bars { display: grid; gap: 9px; }
.lane-bars > div { display: grid; grid-template-columns: 84px 1fr 22px; align-items: center; gap: 10px; }
.dark .pill.neutral { background: rgba(255,255,255,.08); color: #c6cde0; }
.dark .pill.info { background: rgba(0,175,254,.18); color: #bae6fd; }
.dark .pill.warn { background: rgba(245,158,11,.16); color: #fcd34d; }
.dark .pill.ok { background: rgba(16,185,129,.16); color: #6ee7b7; }
.dark .pill.danger { background: rgba(244,63,94,.16); color: #fda4af; }

/* ===================== Feature showcase ===================== */
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; padding: 64px 0; }
.feature.flip .copy { order: 2; }
.feature .copy h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; margin: 12px 0 14px; letter-spacing: -0.03em; }
.feature .copy p { font-size: 17px; color: var(--muted); max-width: 460px; }
.visual { position: relative; padding: 28px; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--indigo-soft), #eef6ff 55%, var(--slate)); border: 1px solid var(--line-2); }
.visual .body { padding: 16px; display: grid; gap: 10px; }
.phase { font-size: 11px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.wf-step { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: var(--paper); transition: border-color .3s, transform .3s var(--ease); }
.wf-step:hover { border-color: #a8e1ff; transform: translateX(3px); }
.wf-step .when { font: 500 11px "Geist Mono", monospace; color: var(--muted); }
.wf-step .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; font-size: 11px; color: var(--muted); align-items: center; }
.cond { font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 99px; background: var(--indigo-soft); color: var(--indigo-deep); }
.progress-row { font-weight: 600; color: var(--ink); font-size: 12px; flex-wrap: nowrap; }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lane { border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: var(--paper); }
.lane h6 { margin: 0 0 6px; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.lane .t { display: flex; align-items: center; gap: 7px; padding: 4px 0; font-size: 12px; }
.bundle { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--paper); }
.bundle-h { display: flex; align-items: center; gap: 8px; }
.bundle-h .lock { margin-left: auto; font-size: 11px; color: var(--faint); display: inline-flex; gap: 4px; align-items: center; }
.tags-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: 11.5px; padding: 3px 9px; border-radius: 99px; background: #f1f5f9; color: var(--ink-2); }
.mail { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden; box-shadow: var(--shadow); }
.mail .from { padding: 10px 12px; border-bottom: 1px solid var(--line-2); display: flex; gap: 10px; align-items: center; }
.mail .content { padding: 14px; }
.guest { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 16px; box-shadow: var(--shadow-lg); }
.big-cta { display: block; text-align: center; margin-top: 12px; background: var(--indigo); color: var(--navy); font-weight: 600; font-size: 12.5px; border-radius: 99px; padding: 9px; }
.change { display: grid; gap: 6px; }
.change b { color: var(--ink); font-weight: 600; }
.arrow { color: var(--faint); }

/* ===================== Roadmap (concepts, not in the product) ===================== */
.future { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.idea { border: 1px dashed #a9dcf7; border-radius: var(--r-lg); padding: 22px; background: linear-gradient(180deg, #fbfbff, var(--paper)); }
.idea .pill { margin-bottom: 12px; }
.idea h3 { font-size: 16.5px; margin-bottom: 6px; }
.idea p { font-size: 14.5px; color: var(--muted); }

/* ===================== Security ===================== */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: var(--r-lg); overflow: hidden; }
.sec { background: var(--navy); padding: 28px; transition: background .3s; }
.sec:hover { background: #063060; }
.sec svg { width: 22px; height: 22px; color: #7dd3fc; }
.sec h3 { font-size: 16.5px; margin: 16px 0 6px; }
.sec p { font-size: 14.5px; color: #94a0b8; }

/* ===================== Pricing ===================== */
.price { max-width: 920px; margin: 56px auto 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--paper); }
.price .left { padding: 40px; background: radial-gradient(420px 260px at 0% 0%, rgba(0,175,254,.13), transparent 70%); border-right: 1px solid var(--line-2); }
.price .amount { font-size: 56px; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin: 18px 0 8px; }
.price .amount small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price .left p { color: var(--muted); margin-bottom: 26px; }
.price ul { list-style: none; margin: 0; padding: 40px; display: grid; gap: 12px; align-content: center; }
.price li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.price li svg { width: 18px; height: 18px; color: var(--emerald); flex: none; margin-top: 2px; }

/* ===================== FAQ ===================== */
.faq { max-width: 780px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 9px; height: 9px; flex: none; margin-top: 7px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* ===================== Final CTA and footer ===================== */
.final-wrap { padding: 0 0 96px; }
.final { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 80px 32px; text-align: center; background: var(--navy); isolation: isolate; }
.final::before { content: ""; position: absolute; inset: -20%; z-index: -1; background:
    radial-gradient(500px 280px at 20% 10%, rgba(0,175,254,.38), transparent 65%),
    radial-gradient(500px 280px at 85% 90%, rgba(10,132,224,.4), transparent 65%); animation: drift 20s ease-in-out infinite alternate; }
.final h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; color: #fff; letter-spacing: -0.04em; }
.final p { color: #b7c0d4; font-size: 18px; margin: 16px auto 32px; max-width: 520px; }
footer { padding: 56px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line-2); }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-about { margin-top: 12px; max-width: 280px; }
.foot h4 { font-size: 13px; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* ===================== Responsive ===================== */
@media (max-width: 1080px) {
  .float.f1 { right: 8px; } .float.f2 { left: 8px; }
  .step-btn { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 12px 8px; }
  .step-btn small { display: none; }
  .step-btn strong { font-size: 13px; }
  .feature { gap: 40px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile.w3 { grid-column: span 1; }
  .feature, .feature.flip { grid-template-columns: 1fr; padding: 40px 0; }
  .feature.flip .copy { order: 0; }
  .future, .sec-grid { grid-template-columns: 1fr 1fr; }
  .price { grid-template-columns: 1fr; }
  .price .left { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .foot { grid-template-columns: 1fr 1fr; }
  .meta { grid-template-columns: 1fr 1fr; }
  .graph { height: 260px; }
  .node { padding: 8px 9px; }
  .node strong { font-size: 11.5px; }
  .node .who { font-size: 10px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 48px; }
  .nav { gap: 10px; }
  .logo .mark { width: 28px; }
  .logo .word { height: 18px; }
  .signin { padding: 8px 6px; font-size: 14px; }
  .nav-cta .btn { padding: 0 12px; font-size: 13.5px; }
  .float { display: none; }
  .stats { gap: 6px; }
  .stat { padding: 10px; } .stat strong { font-size: 20px; }
  .app-main { padding: 14px; }
  .app-top .ws, .app-top .bell { display: none; }
  .bento, .future, .sec-grid { grid-template-columns: 1fr; }
  .steps { gap: 4px; }
  .step-btn { padding: 10px 2px; }
  .step-btn strong { font-size: 11px; line-height: 1.25; }
  .step-btn .num { width: 30px; height: 30px; font-size: 12px; }
  .canvas { padding: 12px; }
  .graph { display: none; }
  .detail { margin-top: 0; padding: 18px; }
  .lanes { grid-template-columns: 1fr 1fr; }
  .lanes .lane:last-child { display: none; }
  .visual { padding: 14px; }
  .indent { margin-left: 16px; }
  .price .left, .price ul { padding: 28px; }
  .final { padding: 56px 20px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .stage .window { transform: none; }
  .js .bar i { transform: scaleX(1); }
}

/* ===================== Legal pages (privacy, terms) ===================== */
.legal-page { padding: 64px 0 96px; }
.legal-wrap { max-width: 760px; }
.legal-page h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.04em; margin: 12px 0 6px; }
.legal-page .updated { color: var(--faint); font-size: 14px; margin-bottom: 32px; }
.legal-page h2 { font-size: 21px; margin: 40px 0 10px; }
.legal-page h3 { font-size: 16px; margin: 22px 0 6px; }
.legal-page p, .legal-page li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal-page p + p { margin-top: 12px; }
.legal-page ul { padding-left: 20px; margin: 10px 0; display: grid; gap: 6px; }
.legal-page a { color: var(--indigo-deep); }
.legal-page .placeholder { background: #fff6e6; color: #b45309; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.legal-table { margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14.5px; }
.legal-table > div { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 12px; padding: 10px 14px; }
.legal-table > div + div { border-top: 1px solid var(--line-2); }
.legal-table > div:first-child { background: var(--slate); font-weight: 600; color: var(--ink); }
.legal a { color: inherit; }
@media (max-width: 640px) { .legal-table > div { grid-template-columns: 1fr; gap: 2px; } .legal-table > div:first-child { display: none; } }
