/* Oztis website. Tokens follow web/src/styles.css (the console) and deploy/status/index.html. */
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/inter-latin-400-normal.dd05e326cf.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url(/assets/fonts/inter-latin-600-normal.62553d1591.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url(/assets/fonts/inter-latin-700-normal.aac638f750.woff2) format('woff2')}

:root {
  color-scheme: light;
  --bg: #f5f5f7; --panel: #ffffff; --panel-2: #fbfbfd; --ink: #1d1d1f; --ink-2: #3a3a3c; --sub: #6e6e73; --faint: #737378;
  --line: #e5e5ea; --line-2: #d2d2d7; --hover: #f2f2f5; --track: #ececf0;
  --blue: #0071e3; --blue-2: #0077ed; --blue-bg: #eef5ff; --violet: #5e5ce6; --violet-bg: #f1f0ff;
  --green: #248a3d; --green-dot: #34c759; --green-bg: #eaf6ee;
  --orange: #b25000; --orange-dot: #ff9f0a; --orange-bg: #fff4e5;
  --red: #d70015; --red-dot: #ff3b30; --red-bg: #fff0ef; --gray-dot: #aeaeb2;
  --radius: 14px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
  --shadow-lg: 0 24px 64px -12px rgba(0,0,0,.22), 0 2px 6px rgba(0,0,0,.06);
  --card-border: rgba(0,0,0,.05);
  --topbar: rgba(245,245,247,.82);
  --grid-dot: rgba(29,29,31,.09);
  --grad: linear-gradient(90deg,#2997ff,#5e5ce6 60%,#bf5af2);
  --grad-diag: linear-gradient(135deg,#2997ff,#5e5ce6 60%,#bf5af2);
  --on-accent: #fff;
  --strong-bg: #1d1d1f; --strong-fg: #f5f5f7;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #000000; --panel: #1c1c1e; --panel-2: #161618; --ink: #f5f5f7; --ink-2: #e5e5ea; --sub: #a1a1a6; --faint: #8e8e93;
    --line: #2c2c2e; --line-2: #3a3a3c; --hover: #2c2c2e; --track: #2c2c2e;
    --blue: #2997ff; --blue-2: #47a6ff; --blue-bg: rgba(10,132,255,.16); --violet: #8e8cff; --violet-bg: rgba(94,92,230,.22);
    --green: #30d158; --green-bg: rgba(48,209,88,.14);
    --orange: #ffb340; --orange-bg: rgba(255,159,10,.16);
    --red: #ff6961; --red-bg: rgba(255,69,58,.16); --gray-dot: #8e8e93;
    --shadow: 0 1px 2px rgba(0,0,0,.4); --shadow-lg: 0 24px 64px -12px rgba(0,0,0,.7);
    --card-border: rgba(255,255,255,.07);
    --topbar: rgba(0,0,0,.72);
    --grid-dot: rgba(245,245,247,.08);
    --on-accent: #fff;
    --strong-bg: #f5f5f7; --strong-fg: #1d1d1f;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000; --panel: #1c1c1e; --panel-2: #161618; --ink: #f5f5f7; --ink-2: #e5e5ea; --sub: #a1a1a6; --faint: #8e8e93;
  --line: #2c2c2e; --line-2: #3a3a3c; --hover: #2c2c2e; --track: #2c2c2e;
  --blue: #2997ff; --blue-2: #47a6ff; --blue-bg: rgba(10,132,255,.16); --violet: #8e8cff; --violet-bg: rgba(94,92,230,.22);
  --green: #30d158; --green-bg: rgba(48,209,88,.14);
  --orange: #ffb340; --orange-bg: rgba(255,159,10,.16);
  --red: #ff6961; --red-bg: rgba(255,69,58,.16); --gray-dot: #8e8e93;
  --shadow: 0 1px 2px rgba(0,0,0,.4); --shadow-lg: 0 24px 64px -12px rgba(0,0,0,.7);
  --card-border: rgba(255,255,255,.07);
  --topbar: rgba(0,0,0,.72);
  --grid-dot: rgba(245,245,247,.08);
  --strong-bg: #f5f5f7; --strong-fg: #1d1d1f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 50; background: var(--panel); color: var(--ink); padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow-lg); }
.skip:focus { left: 12px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--topbar); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; padding: 7px 11px; border-radius: 9px; }
.nav a:hover { background: var(--hover); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; background: var(--hover); }
.acts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.acts .login { color: var(--ink-2); font-size: 14.5px; font-weight: 500; padding: 7px 11px; border-radius: 9px; }
.acts .login:hover { background: var(--hover); text-decoration: none; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn .ic { width: 20px; height: 20px; }
.menu-btn .ic-x { display: none; }
.menu-btn[aria-expanded="true"] .ic-menu { display: none; }
.menu-btn[aria-expanded="true"] .ic-x { display: block; }
.topbar .mnav { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px;
  font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--ink);
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { text-decoration: none; background: var(--hover); }
.btn .ic { width: 17px; height: 17px; }
.btn.primary { background: var(--blue); border-color: transparent; color: var(--on-accent); }
.btn.primary:hover { background: var(--blue-2); }
.btn.sm { padding: 8px 14px; font-size: 14px; }
.btn.lg { padding: 13px 22px; font-size: 16px; }
.btn.ghost { background: transparent; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sub); }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--grad); }
h1, .h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -0.038em; }
h2, .h2 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--sub); max-width: 640px; }
.muted { color: var(--sub); }
.small { font-size: 14px; }
.tnum { font-variant-numeric: tabular-nums; }
code { font-family: inherit; font-size: .92em; font-weight: 600; background: var(--hover); color: var(--ink-2); padding: 1px 6px; border-radius: 5px; }

/* ---------- sections ---------- */
.sec { padding: 104px 0; }
.sec.tight { padding: 72px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: 48px; }
.sec-head .kicker { grid-column: 1 / -1; }
.sec-head p { color: var(--sub); font-size: 17px; max-width: 520px; }
.sec-head.solo { grid-template-columns: minmax(0, 760px); }

.card { background: var(--panel); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.feat { padding: 26px 24px; }
.feat .badge-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-bg); color: var(--blue); margin-bottom: 18px; }
.feat .badge-ic.v { background: var(--violet-bg); color: var(--violet); }
.feat .badge-ic.g { background: var(--green-bg); color: var(--green); }
.feat .badge-ic.o { background: var(--orange-bg); color: var(--orange); }
.feat h3 { margin-bottom: 8px; }
.feat p { color: var(--sub); font-size: 15px; }
.feat .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14.5px; font-weight: 600; }
.feat .more .ic { width: 16px; height: 16px; }

/* plain list with rule lines, used for specs */
.rules { list-style: none; }
.rules li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.rules li:last-child { border-bottom: 1px solid var(--line); }
.rules li .ic { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.rules li b { display: block; font-weight: 600; }
.rules li span { display: block; color: var(--sub); font-size: 15px; margin-top: 2px; }

.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.checks li .ic { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }

/* asset tag: our plant-floor label motif */
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 8px; border-radius: 7px;
  border: 1px solid var(--line-2); background: var(--panel); font-size: 12px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-dot); }
.tag.beta { color: var(--violet); border-color: transparent; background: var(--violet-bg); }
.tag.beta .dot { background: var(--violet); }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.on { background: var(--green-dot); }
.dot.warn { background: var(--orange-dot); }
.dot.off { background: var(--gray-dot); }
.dot.err { background: var(--red-dot); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--grid-dot) 1.2px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero .lede { margin-bottom: 32px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14px; color: var(--sub); }
.hero .facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero .facts .ic { width: 16px; height: 16px; color: var(--green); }

.page-hero { padding: 80px 0 64px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--grid-dot) 1.2px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%); mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { margin: 20px 0 20px; max-width: 900px; font-size: clamp(36px, 4.8vw, 56px); }
.page-hero .lede { max-width: 700px; }
.page-hero .btn-row { margin-top: 30px; }

/* in-page index for long pages */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.toc a { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel); }
.toc a:hover { text-decoration: none; background: var(--hover); }

/* ---------- station mockup (scales with its container) ---------- */
.rig { position: relative; container-type: inline-size; margin-bottom: 44px; }
.station {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; background: #0a0a0c; padding: 1.3cqw;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.06); color: #f5f5f7; overflow: hidden;
}
.station .panes { display: grid; height: 100%; gap: 1.1cqw; }
.station .panes.g22 { grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; }
.pane { background: #17171a; border-radius: 1.2cqw; padding: 2cqw 2.2cqw; overflow: hidden; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.pane .ph { display: flex; align-items: center; gap: 1cqw; font-size: 1.75cqw; font-weight: 600; color: #a1a1a6; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.4cqw; white-space: nowrap; }
.pane .ph .dot { width: 1.2cqw; height: 1.2cqw; }
.pane .ph .r { margin-left: auto; color: #8e8e93; letter-spacing: 0; text-transform: none; font-weight: 500; }
.pane .big { font-size: 4.4cqw; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pane .lbl { font-size: 1.9cqw; color: #a1a1a6; line-height: 1.35; }
.pane .meter { height: 1.2cqw; border-radius: 1cqw; background: #2c2c2e; margin: 1.6cqw 0 1cqw; overflow: hidden; }
.pane .meter i { display: block; height: 100%; background: var(--grad); border-radius: 1cqw; }
.pane .row { display: flex; justify-content: space-between; font-size: 1.9cqw; color: #e5e5ea; padding: .7cqw 0; border-top: 1px solid #2c2c2e; font-variant-numeric: tabular-nums; }
.pane .row span { color: #8e8e93; }
.andon { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .9cqw; flex: 1; }
.andon div { border-radius: .9cqw; padding: 1.2cqw 1.3cqw; display: flex; flex-direction: column; justify-content: space-between; font-size: 1.7cqw; font-weight: 600; color: #fff; }
.andon div small { font-size: 1.45cqw; font-weight: 500; opacity: .85; }
.andon .run { background: #1f6f35; }
.andon .chg { background: #8a5a00; }
.andon .stop { background: #a1222b; }
.andon .idle { background: #3a3a3c; }
.wi { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.6cqw; flex: 1; min-height: 0; }
.wi svg { width: 100%; height: 100%; }
.wi .step { font-size: 2.3cqw; font-weight: 600; line-height: 1.25; color: #f5f5f7; }
.wi .lbl { margin-top: 1cqw; }
.qc { list-style: none; display: grid; gap: .9cqw; }
.qc li { display: flex; align-items: center; gap: 1.2cqw; font-size: 1.9cqw; color: #e5e5ea; }
.qc li i { width: 2.2cqw; height: 2.2cqw; border-radius: .6cqw; display: grid; place-items: center; background: #30d158; flex: none; }
.qc li i svg { width: 1.6cqw; height: 1.6cqw; stroke: #062b10; stroke-width: 3.5; fill: none; }
.qc li.todo i { background: transparent; border: 1.5px solid #636366; }
.qc li.todo { color: #a1a1a6; }
.rig .label { position: absolute; left: 3cqw; bottom: -3.4cqw; z-index: 2; box-shadow: var(--shadow); }

/* floating console card over the station */
.float {
  position: absolute; right: -3cqw; bottom: -9cqw; width: 44cqw; z-index: 3; padding: 2cqw 2.2cqw 1.2cqw;
  background: var(--panel); border: 1px solid var(--card-border); border-radius: 14px; box-shadow: var(--shadow-lg);
}
.float .fh { display: flex; align-items: center; gap: 1.2cqw; font-size: 2.2cqw; font-weight: 600; margin-bottom: 1cqw; }
.float .fh .ic { width: 2.6cqw; height: 2.6cqw; color: var(--blue); }
.float .fh span { margin-left: auto; font-size: 1.8cqw; color: var(--sub); font-weight: 500; }
.float .fr { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.2cqw; padding: 1.05cqw 0; border-top: 1px solid var(--line); font-size: 1.85cqw; }
.float .fr b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float .fr em { font-style: normal; color: var(--sub); font-size: 1.7cqw; white-space: nowrap; }
.float .dot { width: 1.3cqw; height: 1.3cqw; }

/* ---------- steps along a line ---------- */
.line-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.line-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 18px); }
.lstep { position: relative; }
.lstep .node { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-diag); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 24px; box-shadow: 0 0 0 6px var(--bg); }
.lstep h3 { font-size: 21px; margin-bottom: 8px; }
.lstep p { color: var(--sub); font-size: 15.5px; }
.lstep .shot { margin-top: 22px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: var(--shadow); border: 1px solid var(--card-border); }
.lstep .shot img { width: 100%; height: 100%; object-fit: cover; }
.lstep .shot.mini { container-type: inline-size; }
.lstep .shot .station { border-radius: 0; box-shadow: none; border: 0; aspect-ratio: 16 / 9; }
.lstep .time { display: inline-flex; margin-top: 14px; }

/* ---------- layouts ---------- */
.layouts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.lay { padding: 14px 14px 18px; }
.lay .scr { aspect-ratio: 16 / 10; border-radius: 9px; background: #0a0a0c; padding: 5px; display: flex; gap: 4px; margin-bottom: 14px; }
.lay .scr i { border-radius: 4px; display: block; }
.lay .scr .c1 { background: linear-gradient(160deg, #2997ff, #1b6fd6); }
.lay .scr .c2 { background: linear-gradient(160deg, #6d6bf0, #4b49c9); }
.lay .scr .c3 { background: linear-gradient(160deg, #bf5af2, #9a3fd0); }
.lay .scr .c4 { background: linear-gradient(160deg, #30d158, #21a043); }
.lay h3 { font-size: 15.5px; margin-bottom: 4px; }
.lay p { font-size: 13.5px; color: var(--sub); line-height: 1.45; }
.col { display: flex; flex-direction: column; gap: 4px; }

/* ---------- console mockup ---------- */
.console { display: grid; grid-template-columns: 200px minmax(0, 1fr); overflow: hidden; box-shadow: var(--shadow-lg); }
.console .side { background: var(--panel-2); border-right: 1px solid var(--line); padding: 16px 10px; font-size: 13.5px; }
.console .side .brand { font-size: 15px; padding: 2px 8px 16px; }
.console .side .brand svg { width: 22px; height: 22px; }
.console .side .sh { font-size: 10.5px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; padding: 12px 8px 5px; }
.console .side div.it { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 8px; color: var(--ink-2); font-weight: 500; }
.console .side div.it .ic { width: 16px; height: 16px; color: var(--sub); }
.console .side div.it.on { background: var(--hover); color: var(--ink); font-weight: 600; }
.console .side div.it.on .ic { color: var(--blue); }
.console .main { padding: 22px 24px; min-width: 0; }
.console .mh { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.console .mh h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.console .mh p { font-size: 13px; color: var(--sub); }
.console .tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.console .tile { border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; }
.console .tile b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.console .tile span { font-size: 12px; color: var(--sub); display: flex; align-items: center; gap: 6px; }
.console table { width: 100%; border-collapse: collapse; font-size: 13px; }
.console th { text-align: left; font-size: 11px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; padding: 8px 8px; border-bottom: 1px solid var(--line); }
.console td { padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.console td:first-child { font-weight: 600; }
.console td .dot { margin-right: 7px; vertical-align: 1px; }
.console .pill { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--blue-bg); color: var(--blue); }
.console .pill.v { background: var(--violet-bg); color: var(--violet); }
.console .pill.g { background: var(--green-bg); color: var(--green); }
.console .pill.o { background: var(--orange-bg); color: var(--orange); }

/* ---------- split feature rows ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split h2 { margin: 16px 0 16px; }
.split .lede { margin-bottom: 24px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { padding: 28px 26px; display: flex; flex-direction: column; position: relative; }
.plan.feat-plan { border: 1.5px solid var(--blue); }
.plan .pn { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan .pn h3 { font-size: 20px; }
.plan .price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font-size: 46px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--sub); font-size: 15px; }
.plan .for { color: var(--sub); font-size: 15px; min-height: 48px; }
.plan .checks { margin: 22px 0 26px; }
.plan .btn { margin-top: auto; }
.note { font-size: 14px; color: var(--sub); margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--sub); border-bottom: 2px solid var(--sub); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq .a { padding: 0 0 22px; color: var(--sub); max-width: 760px; }
.faq .a p + p { margin-top: 10px; }

/* ---------- tables (support codes) ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { white-space: nowrap; }
.code { display: inline-block; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .04em; padding: 2px 8px; border-radius: 6px; background: var(--hover); color: var(--ink); font-size: 14px; }
.tbl-wrap { overflow: hidden; }

/* numbered steps (support) */
.numbered { list-style: none; counter-reset: s; display: grid; gap: 0; }
.numbered li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.numbered li::before { content: counter(s); width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-bg); color: var(--blue); font-weight: 700; font-size: 14px; }
.numbered li > div > b { display: block; font-weight: 600; font-size: 17px; }
.numbered li > div > span { display: block; color: var(--sub); margin-top: 3px; }
.numbered li > div > span b { color: var(--ink-2); font-weight: 600; }

/* screen cards (support) */
.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.scard { overflow: hidden; }
.scard img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.scard div { padding: 18px 20px 20px; }
.scard h3 { font-size: 17px; margin-bottom: 4px; }
.scard p { font-size: 15px; color: var(--sub); }
.msgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }

/* ---------- people (about) ---------- */
.person { padding: 28px; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; }
.mono { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-diag); color: #fff; font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.person h3 { font-size: 20px; }
.person .role { color: var(--blue); font-weight: 600; font-size: 14.5px; margin: 2px 0 10px; }
.person p { color: var(--sub); font-size: 15.5px; }
.prose { max-width: 720px; }
.prose p { font-size: 18px; color: var(--ink-2); line-height: 1.65; }
.prose p + p { margin-top: 18px; }

/* ---------- CTA band ---------- */
.cta { padding: 96px 0; }
.cta .card { padding: 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta .card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--sub); font-size: 17px; max-width: 560px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14px; color: var(--sub); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot .brand { font-size: 16px; margin-bottom: 10px; }
.foot .brand svg { width: 24px; height: 24px; }
.foot h4 { font-size: 13px; color: var(--ink); margin-bottom: 10px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { color: var(--sub); }
.foot a:hover { color: var(--ink); }
.foot a.brand { color: var(--ink); }
.foot .legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* ---------- 404 ---------- */
.nf { padding: 120px 0 140px; }
.nf .code-big { font-size: clamp(64px, 12vw, 120px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--violet); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .pane .meter i { animation: fill 2.4s cubic-bezier(.2,.8,.2,1) both .4s; }
  @keyframes fill { from { width: 8%; } }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .layouts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a { padding: 7px 8px; }
}
@media (max-width: 960px) {
  .nav, .acts .login { display: none; }
  .menu-btn { display: grid; }
  .topbar .mnav { display: none; height: auto; border-top: 1px solid var(--line); padding-top: 8px; padding-bottom: 16px; }
  .topbar .mnav.open { display: block; }
  .mnav a { display: block; padding: 12px 4px; font-size: 17px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mnav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
  .mnav .btn-row { margin-top: 16px; }
  .topbar .mnav .btn-row a.btn { flex: 1; display: inline-flex; justify-content: center; padding: 12px 18px; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--line-2); }
  .topbar .mnav .btn-row a.btn.primary { color: var(--on-accent); }
  .mnav .btn-row .btn.primary { border-color: transparent; }
  .hero .wrap { grid-template-columns: 1fr; gap: 64px; }
  .hero .rig { max-width: 680px; }
  .sec-head { grid-template-columns: 1fr; gap: 14px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev > :first-child { order: 0; }
  .grid-3, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 520px; }
  .line-steps { grid-template-columns: 1fr; gap: 44px; }
  .line-steps::before { left: 19px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 10px, transparent 10px 18px); }
  .lstep { padding-left: 64px; }
  .lstep .node { position: absolute; left: 0; top: 0; }
  .console { grid-template-columns: 1fr; }
  .console .side { display: none; }
  .cta .card { grid-template-columns: 1fr; padding: 40px 32px; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .wrap > :first-child { grid-column: 1 / -1; }
  .screens { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar .wrap { gap: 12px; }
  .acts .btn.sm { padding: 8px 12px; }
  .sec { padding: 72px 0; }
  .sec.tight { padding: 56px 0; }
  .hero { padding: 48px 0 72px; }
  .page-hero { padding: 48px 0 40px; }
  .sec-head { margin-bottom: 32px; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .layouts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .lay { padding: 10px 10px 14px; }
  .lstep { padding-left: 56px; }
  .float { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 16px; padding: 14px 16px 8px; }
  .float .fh { font-size: 14px; gap: 8px; } .float .fh .ic { width: 16px; height: 16px; } .float .fh span { font-size: 12.5px; }
  .float .fr { font-size: 13.5px; gap: 8px; padding: 8px 0; } .float .fr em { font-size: 12.5px; } .float .dot { width: 8px; height: 8px; }
  .rig .label { position: static; margin-top: 14px; }
  .hero .rig { margin-bottom: 0; }
  .hero { padding-bottom: 24px; }
  .console .main { padding: 16px 14px; }
  .console .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .console .hide-s { display: none; }
  .cta { padding: 64px 0; }
  .cta .card { padding: 32px 22px; }
  .person { grid-template-columns: 1fr; padding: 24px 22px; }
  .tbl th, .tbl td { padding: 12px 12px; }
  .tbl.stack thead { display: none; }
  .tbl.stack tr { display: block; padding: 16px; border-bottom: 1px solid var(--line); }
  .tbl.stack tr:last-child { border-bottom: 0; }
  .tbl.stack td { display: block; padding: 0; border: 0; }
  .tbl.stack td + td { margin-top: 8px; }
  .tbl.stack td[data-label] { color: var(--sub); }
  .tbl.stack td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
  .msgs { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .btn-row .btn.lg { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .layouts { grid-template-columns: 1fr 1fr; }
}
.split.top { align-items: start; }
@media (min-width: 961px) { .split.top > :first-child { position: sticky; top: 96px; } }
