/* SAMP ERP — "Precision" theme (2026-11-22).
   Loaded after site.css: it replaces the tokens and restyles every shared component, so the
   form, account, payment and legal pages keep their structure and take the new look.
   Ink-navy blueprint, a safety-orange signal colour, Archivo (wide display / condensed accent),
   Inter for text and IBM Plex Mono for document-number labels. All fonts self-hosted. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink-950: #05080f;
  --ink-900: #090e1a;
  --ink-850: #0d1424;
  --ink-800: #121b2f;
  --ink-700: #1b2742;
  --navy-950: var(--ink-950);
  --navy-900: var(--ink-900);
  --navy-800: var(--ink-800);
  --navy-700: var(--ink-700);

  --indigo-600: #2a55f5;
  --indigo-500: #4570ff;
  --indigo-400: #86a2ff;
  --indigo-100: #e2e8ff;
  --indigo-50: #f0f3ff;

  --accent: #ff5b1f;
  --accent-2: #ff8a4c;
  --accent-soft: #fff0e8;
  --magenta-500: var(--accent);
  --magenta-400: var(--accent-2);
  --magenta-100: var(--accent-soft);

  --ink: #0b1220;
  --ink-2: #29344c;
  --muted: #5a6479;
  --muted-2: #8a92a5;
  --line: #e1e4eb;
  --line-2: #edeff3;
  --paper: #ffffff;
  --paper-2: #f5f6f8;
  --paper-3: #eceff4;

  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 18px;
  --shadow-s: 0 1px 2px rgba(11, 18, 32, .06), 0 2px 6px rgba(11, 18, 32, .04);
  --shadow: 0 2px 6px rgba(11, 18, 32, .06), 0 14px 34px rgba(11, 18, 32, .08);
  --shadow-l: 0 6px 16px rgba(5, 8, 15, .12), 0 40px 90px rgba(5, 8, 15, .28);
  --ring: 0 0 0 4px rgba(255, 91, 31, .22);

  --display: "Archivo", "Inter", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --serif: var(--display);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --grid-line: rgba(11, 18, 32, .055);
}

html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--paper); color: var(--ink); }
::selection { background: #ffd9c7; color: var(--ink); }
:focus-visible { outline-color: var(--accent); }
a { color: var(--indigo-600); }

/* ── Type ───────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--display); font-stretch: 108%; font-weight: 700; letter-spacing: -0.022em; color: var(--ink); }
.h-xl { font-weight: 760; letter-spacing: -0.035em; }
.h-l { font-size: clamp(32px, 4.3vw, 56px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 720; }
.h-m { letter-spacing: -0.02em; }
.serif { font-family: var(--display); font-style: normal; font-stretch: 72%; font-weight: 640; letter-spacing: -0.015em; color: var(--accent); }
.dark .serif, .page-hero .serif, .x-hero .serif, .cta-band .serif { color: var(--accent-2); }
.lead { color: var(--muted); }
.eyebrow { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; color: var(--accent); }
.eyebrow::before { width: 7px; height: 7px; border-radius: 1px; background: currentColor; }
.center .eyebrow::before { display: inline-block; }
.x-sec {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.x-sec::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.dark .x-sec, .x-hero .x-sec { color: rgba(255,255,255,.6); }
.section-head h2 { margin: 16px 0 18px; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn { height: 52px; padding: 0 24px; border-radius: 10px; font: 600 15.5px/1 var(--font); letter-spacing: -0.005em; }
.btn-primary {
  background: var(--accent); color: #140600; border-color: transparent;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 26px rgba(255, 91, 31, .32);
}
.btn-primary:hover { background: #ff6a33; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 14px 34px rgba(255, 91, 31, .42); }
.btn-primary svg { transition: transform .25s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-s); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.24); }
.btn-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.btn-sm { height: 40px; padding: 0 16px; border-radius: 9px; font-size: 14.5px; }
.link-arrow { color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.link-arrow::after { color: var(--accent); }

/* ── Header: a floating instrument bar ──────────────────────────── */
.site-header {
  height: var(--nav-h); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 0; transition: transform .45s var(--ease-out);
}
.site-header .nav {
  height: calc(var(--nav-h) - 16px); margin-top: 8px; padding: 0 10px 0 14px; border-radius: 14px; gap: 18px;
  max-width: calc(var(--wrap) + 20px);
  background: rgba(255,255,255,.82); border: 1px solid rgba(11,18,32,.08);
  backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px);
  box-shadow: 0 8px 30px rgba(11,18,32,.08); transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.on-dark:not(.scrolled) { background: transparent; }
.site-header.on-dark:not(.scrolled) .nav { background: rgba(9,14,26,.42); border-color: rgba(255,255,255,.1); box-shadow: none; }
.site-header.scrolled { background: transparent; border-bottom: 0; }
.site-header.is-hidden { transform: translateY(-115%); }
.nav-open .site-header { transform: none; }
.brand-logo { width: 38px; height: 38px; border-radius: 9px; }
.brand-name { font-size: 22px; }
.nav-links a { font-size: 14.5px; font-weight: 550; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); }
.nav-links a:hover { background: rgba(11,18,32,.05); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.site-header.on-dark:not(.scrolled) .nav-links a { color: rgba(255,255,255,.86); }
.site-header.on-dark:not(.scrolled) .nav-links a[aria-current="page"] { color: #fff; }
.site-header.on-dark:not(.scrolled) .nav-links a:hover { background: rgba(255,255,255,.08); }
.site-header.on-dark:not(.scrolled) .nav-signin { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); box-shadow: none; }
.nav-cta .btn-primary { box-shadow: none; }
.x-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--accent); pointer-events: none; }

/* ── Inner page hero: blueprint ─────────────────────────────────── */
.page-hero {
  margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + 84px) 0 80px; color: #fff; isolation: isolate;
  background: radial-gradient(900px 420px at 88% 0%, rgba(42,85,245,.28), transparent 62%),
              radial-gradient(700px 380px at 0% 100%, rgba(255,91,31,.14), transparent 60%), var(--ink-900);
}
.page-hero::before {
  content: ""; inset: 0; left: 0; top: 0; right: auto; width: 100%; height: 100%; border-radius: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.page-hero::after { display: none; }
.page-hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.035em; }
.page-hero .lead { color: rgba(255,255,255,.72); }
.page-hero .crumbs, .page-hero .crumbs a { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero a:not(.btn) { color: var(--accent-2); }
.page-hero .toc-pills a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.88); box-shadow: none; }
.page-hero .toc-pills a:hover { border-color: var(--accent); color: #fff; }
.page-hero .avail-pill { color: rgba(255,255,255,.84); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); box-shadow: none; }
.page-hero .avail-pill svg { color: var(--indigo-400); }
.page-hero .avail-pill .ap-next, .page-hero .avail-pill .ap-next svg { color: var(--accent-2); }

/* ── Sections ───────────────────────────────────────────────────── */
.tint { background: var(--paper-2); }
.x-split-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 56px; }
.x-split-head h2 { margin-top: 16px; }
.x-split-head .lead { margin: 0; }

/* ── Cards, icons ───────────────────────────────────────────────── */
.card, .mini, .step, .type-flow, .matrix-wrap, .form-card, .contact-item, .home-op { border-radius: var(--radius); }
.card { border-color: var(--line); box-shadow: none; }
.card:hover { box-shadow: var(--shadow); border-color: #c9cfdb; }
.card h3, .mini h3, .type-tile h3, .home-op h3, .step h3 { font-stretch: 100%; letter-spacing: -0.012em; }
.icon-tile { border-radius: 10px; background: color-mix(in srgb, var(--c, var(--indigo-500)) 10%, #fff); }
.c-indigo { --c: #2a55f5; } .c-magenta { --c: #e0297a; } .c-amber { --c: #e08600; } .c-green { --c: #109161; }
.c-teal { --c: #0b97a5; } .c-violet { --c: #7446e2; } .c-red { --c: #dc3b33; } .c-sky { --c: #1a86dc; } .c-slate { --c: #475471; }
.x-num { position: absolute; top: 20px; right: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted-2); }
.tag, .price-card .tag { border-radius: 6px; font-family: var(--mono); font-weight: 500; letter-spacing: .1em; }
.callout { border-radius: var(--radius); }
.callout.info { background: var(--indigo-50); color: #1f3478; }

/* ── Window frames ──────────────────────────────────────────────── */
.window { border-radius: 12px; border-color: rgba(11,18,32,.1); box-shadow: var(--shadow-l); }
.window-bar { height: 34px; background: #f3f4f7; }
.window-bar em { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; }

/* ═════════════════════════════ HOME: HERO ═════════════════════════════ */
.x-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + clamp(56px, 9vw, 120px)) 0 clamp(64px, 8vw, 110px);
  background: var(--ink-950);
}
.x-hero-grid {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(140,170,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(140,170,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(140,170,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(140,170,255,.035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 90%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 90%);
}
.x-hero-glow { position: absolute; z-index: -1; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(700px 420px at 78% 18%, rgba(42,85,245,.36), transparent 65%),
              radial-gradient(560px 360px at 14% 62%, rgba(255,91,31,.18), transparent 65%);
  animation: x-drift 16s ease-in-out infinite alternate; }
@keyframes x-drift { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
[data-spotlight] { --mx: 50%; --my: 30%; }
.x-hero::after, .x-data::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.06), transparent 70%); }
.x-dim { position: absolute; left: 22px; top: 140px; width: 24px; height: 46%; stroke: rgba(255,255,255,.18); fill: none; stroke-width: 1; }
.x-hero-head { position: relative; text-align: center; }
.x-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 30px; padding: 7px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.x-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,91,31,.6); animation: x-ping 2.2s infinite; }
@keyframes x-ping { 0% { box-shadow: 0 0 0 0 rgba(255,91,31,.55); } 70% { box-shadow: 0 0 0 9px rgba(255,91,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,91,31,0); } }
.x-title { margin: 0; color: #fff; font-size: clamp(46px, 8.6vw, 136px); line-height: .9; letter-spacing: -0.045em; font-weight: 780; font-stretch: 118%; }
.x-line { display: block; }
.x-em { color: var(--accent); font-stretch: 70%; font-weight: 680; letter-spacing: -0.025em; }
.x-hero-sub { max-width: 760px; margin: 34px auto 0; }
.x-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: rgba(255,255,255,.72); margin: 0 auto; }
.x-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.x-promises { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; list-style: none; padding: 0; margin: 26px 0 0; }
.x-promises li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.62); }
.x-promises svg { width: 16px; height: 16px; color: var(--accent-2); }

/* the product stage */
.x-stage-wrap { position: relative; margin-top: clamp(48px, 6vw, 84px); }
.x-stage { position: relative; max-width: 1160px; margin: 0 auto; perspective: 2000px; }
.x-studio {
  transform-origin: 50% 0; transform: rotateX(var(--tx, 0deg)) scale(var(--ts, 1));
  will-change: transform; transition: transform .1s linear;
}
.home-studio.x-studio { padding: 0; border-radius: 16px; overflow: hidden; background: #0e1527;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 50px 120px rgba(0,0,0,.6), 0 0 120px rgba(42,85,245,.18); }
.x-studio .studio-titlebar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #121a2e; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 13px; }
.x-lights { display: inline-flex; gap: 6px; }
.x-lights i { width: 10px; height: 10px; border-radius: 50%; background: #39425a; }
.x-lights i:nth-child(1) { background: #ff5f57; } .x-lights i:nth-child(2) { background: #febc2e; } .x-lights i:nth-child(3) { background: #28c840; }
.x-studio-name { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.x-studio-name em { font-style: normal; font-weight: 400; color: rgba(255,255,255,.5); }
.x-studio .studio-titlebar a { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--accent-2); }
.x-studio .studio-tabs { padding: 8px 10px; gap: 4px; background: #0f1628; border-bottom: 1px solid rgba(255,255,255,.06); }
.x-studio .studio-tabs button { position: relative; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.62); padding: 8px 14px; border-radius: 7px; }
.x-studio .studio-tabs button:hover { background: rgba(255,255,255,.06); color: #fff; }
.x-studio .studio-tabs button[aria-selected="true"] { background: rgba(255,91,31,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,91,31,.45); }
.x-studio .studio-panel { border-radius: 0; background: #0b1120; position: relative; }
.x-studio .studio-panel img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; }
.x-studio .studio-panel figcaption { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 9px 14px; border-radius: 9px;
  background: rgba(9,14,26,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: rgba(255,255,255,.8); }
.x-studio .studio-panel figcaption b { color: var(--accent-2); font-family: var(--mono); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.x-studio .studio-panel:not([hidden]) { animation: x-panel .6s var(--ease-out) both; }
@keyframes x-panel { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
.x-stage-note { text-align: center; margin: 18px 0 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); }

.x-callout { position: absolute; z-index: 3; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 12px 16px; border-radius: 12px;
  background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.45); font-size: 13px; line-height: 1.35;
  animation: x-bob 7s ease-in-out infinite; }
.x-callout b { font-family: var(--display); font-stretch: 100%; font-size: 14.5px; font-weight: 700; }
.x-callout span:not(.x-cdot) { grid-column: 2; color: var(--muted); font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; }
.x-cdot { grid-row: span 2; align-self: center; width: 10px; height: 10px; border-radius: 3px; background: var(--indigo-600); }
.x-cdot.o { background: var(--accent); } .x-cdot.g { background: #13a36d; }
.x-callout::before { content: ""; position: absolute; width: 64px; height: 1px; top: 50%; background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 4px, transparent 4px 8px); }
.x-c1 { left: -56px; top: 20%; } .x-c1::before { right: -64px; }
.x-c2 { right: -64px; top: 9%; animation-delay: -2.3s; } .x-c2::before { left: -64px; }
.x-c3 { right: -40px; bottom: 16%; animation-delay: -4.6s; } .x-c3::before { left: -64px; }
@keyframes x-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* split-text entrance (motion.js wraps words; without it the title just shows) */
.x-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.x-w > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + 80ms); }
.x-ready .x-w > span { transform: none; }

/* ═════════════════════════════ TICKER ═════════════════════════════ */
.x-ticker { position: relative; overflow: hidden; background: var(--accent); color: #140600; border-top: 1px solid rgba(0,0,0,.1); border-bottom: 1px solid rgba(0,0,0,.1); }
.x-ticker-track { display: flex; width: max-content; animation: x-marquee 46s linear infinite; }
.x-ticker:hover .x-ticker-track { animation-play-state: paused; }
.x-ticker-track span { display: inline-flex; align-items: center; gap: 22px; padding: 15px 0 15px 22px; white-space: nowrap; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.x-ticker-track span::after { content: ""; width: 7px; height: 7px; background: #140600; transform: rotate(45deg); margin-left: 0; }
@keyframes x-marquee { to { transform: translateX(-50%); } }

/* ═════════════════════════════ AVAILABILITY ═════════════════════════════ */
.avail { padding: 64px 0 0; }
.avail-panel { border-radius: var(--radius-l); background: var(--ink-900); box-shadow: none; }
.avail-panel .serif, .avail-copy h2 .serif { color: var(--accent-2); }
.avail-badge.soon { color: var(--accent-2); }
.avail-link { color: #fff; }

/* ═════════════════════════════ INDUSTRIES ═════════════════════════════ */
.x-types { gap: 16px; }
.type-tile { border-radius: var(--radius); padding: 28px 26px 24px; box-shadow: none; border-color: var(--line); transform-style: preserve-3d;
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease; }
.type-tile::before { top: 0; bottom: 0; left: 0; right: auto; width: 3px; height: auto; border-radius: var(--radius) 0 0 var(--radius); }
.type-tile:hover { box-shadow: var(--shadow); }
.type-tile[data-tilt]:hover { transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateY(-4px); }
.type-tile h3 { font-size: 20px; }
.type-for { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; line-height: 1.5; }
.type-more { background: repeating-linear-gradient(135deg, #f7f8fa 0 10px, #f1f3f6 10px 20px); }

/* ═════════════════════════════ FLOW (conveyor) ═════════════════════════════ */
.x-flow-sec { position: relative; background: var(--paper-2); overflow: hidden; }
.x-flow-sec::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }
.x-flow-sec .wrap { position: relative; }
.flow::before { height: 6px; top: 31px; opacity: 1; border-radius: 3px; background:
  repeating-linear-gradient(90deg, #c9cfdb 0 14px, #dde1e9 14px 28px); animation: x-belt 1.4s linear infinite; }
@keyframes x-belt { to { background-position: 28px 0; } }
.flow-pulse { display: none; }
.flow-step .node { width: 68px; height: 68px; border-radius: 12px; border-color: var(--line); background: #fff; }
.flow-step .node svg { color: var(--ink); }
.flow-step .num { font-family: var(--mono); font-weight: 500; letter-spacing: .1em; }
.flow-step .lbl { font-family: var(--display); font-stretch: 100%; font-weight: 650; }
.flow-step:hover .node { border-color: var(--ink); }
.flow-step[aria-selected="true"] .node { background: var(--accent); box-shadow: 0 12px 28px rgba(255,91,31,.38); }
.flow-step[aria-selected="true"] .node svg { color: #140600; }
.flow-step[aria-selected="true"] .lbl { color: var(--ink); }
.flow-step[aria-selected="true"] .num { color: var(--accent); }
.flow-detail { border-radius: var(--radius-l); border-color: var(--line); position: relative; overflow: hidden; }
.flow-detail::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.flow-detail:not([hidden]) { animation: x-rise .55s var(--ease-out) both; }
@keyframes x-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.doc-pill { border-radius: 8px; font-size: 14px; background: #fff; border-color: var(--line); }
.doc-pill svg { color: var(--accent); }
.flow-detail .docs-h, .flow-detail .eyebrow { font-family: var(--mono); }

/* ═════════════════════════════ TOUR (pinned screens) ═════════════════════════════ */
.x-tour { position: relative; }
.x-tour-grid { display: block; }
.x-tour-stage { display: none; }
.x-chapter { position: relative; padding: 0 0 72px; }
.x-chapter-n { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted-2); margin-bottom: 12px; }
.x-chapter h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; margin: 12px 0 14px; }
.x-chapter > p { color: var(--muted); font-size: 17.5px; }
.x-inline-shot { margin-top: 28px; }
/* enhanced: sticky stage on the left, chapters scroll past on the right */
@media (min-width: 1081px) {
  html:not(.no-js) .x-tour-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  html:not(.no-js) .x-tour-stage { display: block; position: sticky; top: max(calc(var(--nav-h) + 20px), calc(50vh - 290px)); }
  html:not(.no-js) .x-inline-shot { display: none; }
  html:not(.no-js) .x-chapter { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .32; transition: opacity .5s ease; }
  html:not(.no-js) .x-chapter.is-active { opacity: 1; }
  html:not(.no-js) .x-chapter::before { content: ""; position: absolute; left: -32px; top: 50%; width: 9px; height: 9px; border-radius: 2px; background: var(--line); transform: translateY(-50%) rotate(45deg); transition: background .4s ease; }
  html:not(.no-js) .x-chapter.is-active::before { background: var(--accent); }
}
.x-tour-frame { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(11,18,32,.12); box-shadow: var(--shadow-l); }
.x-frame-bar { display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 14px; background: #f3f4f7; border-bottom: 1px solid var(--line); }
.x-frame-bar em { font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.x-tour-shots { position: relative; aspect-ratio: 16 / 10; background: #e9edf5; }
.x-tour-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  opacity: 0; transform: scale(1.035); filter: blur(6px); transition: opacity .7s var(--ease), transform 1.1s var(--ease-out), filter .7s ease; }
.x-tour-shots img.on { opacity: 1; transform: none; filter: none; }
.x-tour-progress { height: 3px; margin-top: 16px; border-radius: 2px; background: var(--line); overflow: hidden; }
.x-tour-progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--tp, .2)); transition: transform .4s var(--ease); }

/* ═════════════════════════════ DOCUMENTS ═════════════════════════════ */
.x-docs { position: relative; background: var(--ink-900); color: #fff; overflow: hidden; }
.x-docs::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(140,170,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(140,170,255,.05) 1px, transparent 1px); background-size: 40px 40px; }
.x-docs h2 { color: #fff; }
.x-docs .lead { color: rgba(255,255,255,.7); }
.x-docs .ticks li { color: rgba(255,255,255,.84); }
.x-docs .ticks li::before { background-color: rgba(255,255,255,.08); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a4c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.x-docs .x-sec { color: rgba(255,255,255,.6); }
.x-docs-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.x-docs-copy h2 { margin: 16px 0 18px; }
.x-paper-stack { position: relative; height: clamp(420px, 46vw, 600px); }
.x-paper { position: absolute; margin: 0; background: #fff; border-radius: 4px; box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.2);
  transition: transform 1.1s var(--ease-out), box-shadow .3s ease; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg)); }
.x-paper img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: 4px; }
.x-paper figcaption { position: absolute; left: 10px; bottom: -30px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); opacity: 0; transition: opacity .4s ease .6s; }
.x-paper.p1 { width: 44%; aspect-ratio: 1583 / 2237; left: 6%; top: 6%; --r: -2deg; }
.x-paper.p2 { width: 62%; aspect-ratio: 2241 / 1580; left: 22%; top: 30%; --r: 1deg; }
.x-paper.p3 { width: 44%; aspect-ratio: 1583 / 2237; left: 44%; top: 2%; --r: 2deg; }
.x-paper-stack.in .x-paper.p1, .no-js .x-paper.p1 { --x: -6%; --y: 2%; --r: -8deg; }
.x-paper-stack.in .x-paper.p2, .no-js .x-paper.p2 { --x: 0%; --y: 10%; --r: 2deg; }
.x-paper-stack.in .x-paper.p3, .no-js .x-paper.p3 { --x: 8%; --y: -2%; --r: 7deg; }
.x-paper-stack.in figcaption { opacity: 1; }
.x-paper:hover { z-index: 5; box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 2px var(--accent); }
.x-stamp { position: absolute; right: 2%; bottom: 4%; z-index: 6; padding: 10px 16px; border: 2.5px solid var(--accent); border-radius: 8px; color: var(--accent);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; text-align: center;
  transform: rotate(-9deg) scale(1.6); opacity: 0; transition: transform .45s cubic-bezier(.3,1.6,.4,1) .9s, opacity .25s ease .9s; background: rgba(9,14,26,.6); }
.x-stamp b { font-family: var(--display); font-stretch: 110%; font-size: 17px; letter-spacing: .04em; }
.x-paper-stack.in .x-stamp, .no-js .x-stamp { transform: rotate(-9deg) scale(1); opacity: 1; }

/* ═════════════════════════════ MODULES BENTO ═════════════════════════════ */
.x-bento { gap: 14px; }
.x-bento .card { padding: 26px 24px 24px; background: #fff; overflow: hidden; }
.x-bento .card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c, var(--accent)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.x-bento .card:hover::after { transform: scaleX(1); }
.x-bento .card h3 { font-size: 18px; }
.x-ops { margin-top: 18px; }
.home-op { border-radius: var(--radius); box-shadow: none; border-color: var(--line); }
.home-operations { background: transparent; }

/* ═════════════════════════════ DARK BAND / DATA ═════════════════════════════ */
.dark { background: var(--ink-950); position: relative; isolation: isolate; overflow: hidden; }
.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(800px 460px at 92% 0%, rgba(42,85,245,.28), transparent 62%), radial-gradient(700px 420px at 0% 100%, rgba(255,91,31,.12), transparent 62%); }
.dark .eyebrow { color: var(--accent-2); }
.x-arch { position: relative; padding: 24px; border-radius: var(--radius-l); border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
.ticks li::before { border-radius: 5px; background-color: var(--accent-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2470f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ticks.light li::before { background-color: rgba(255,255,255,.08); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a4c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ═════════════════════════════ SAFETY SPEC SHEET ═════════════════════════════ */
.x-specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.x-specs li { display: grid; grid-template-columns: 44px 48px minmax(0, 1fr); gap: 18px; align-items: start; padding: 30px 0; border-top: 1px solid var(--line); }
.x-spec-n { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 14px; letter-spacing: .08em; }
.x-specs h3 { font-size: 19px; font-stretch: 100%; margin: 4px 0 8px; }
.x-specs p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ═════════════════════════════ STATS ═════════════════════════════ */
.stats { border-radius: var(--radius-l); box-shadow: none; border-color: var(--line); }
.stat b { font-family: var(--display); font-stretch: 112%; font-size: clamp(40px, 4vw, 56px); background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink); }
.stat:first-child b, .stat:nth-child(3) b { color: var(--accent); }
.stat span { font-size: 14px; }

/* ═════════════════════════════ TRAINING ═════════════════════════════ */
.x-train-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.x-checklist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.x-checklist li { display: grid; grid-template-columns: 56px 1fr; align-items: center; min-height: 62px; border-top: 1px solid var(--line-2); font-weight: 550; color: var(--ink-2); padding-right: 18px; }
.x-checklist li:first-child { border-top: 0; }
.x-checklist span { align-self: stretch; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--muted); border-right: 1px solid var(--line-2); background: var(--paper-2); }
.x-checklist li:hover span { background: var(--accent); color: #140600; }

/* ═════════════════════════════ PRICING (quotation slip) ═════════════════════════════ */
.price-card { border-radius: var(--radius-l); box-shadow: none; border-color: var(--line); }
.price-card.hl { background: var(--ink-900); box-shadow: var(--shadow-l); }
.price-card.hl::before { background: radial-gradient(closest-side, rgba(255,91,31,.4), transparent); }
.price-card.hl .tag { background: rgba(255,91,31,.16); color: var(--accent-2); }
.price-card .tag { background: var(--paper-3); color: var(--ink-2); }
.amt { font-family: var(--display); font-stretch: 110%; font-weight: 760; }
.price-lines div span:last-child { font-family: var(--mono); font-weight: 500; }
.x-slip { -webkit-mask: radial-gradient(circle 9px at 50% 100%, transparent 98%, #000) 50% 100% / 26px 100% repeat-x; mask: radial-gradient(circle 9px at 50% 100%, transparent 98%, #000) 50% 100% / 26px 100% repeat-x; padding-bottom: 52px; }
.x-paid { position: absolute; right: 30px; top: 30px; padding: 8px 12px; border: 2px solid var(--accent-2); border-radius: 7px; color: var(--accent-2);
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; text-align: center; line-height: 1.35; transform: rotate(8deg); opacity: .9; }

/* ═════════════════════════════ FAQ ═════════════════════════════ */
.x-faq { background: var(--paper-2); }
.x-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.x-faq-head { position: sticky; top: calc(var(--nav-h) + 32px); }
.x-faq-head h2 { margin: 16px 0 16px; }
.faq summary { font-family: var(--display); font-stretch: 100%; font-weight: 650; font-size: 18.5px; }
.faq summary::after { border-radius: 8px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5b1f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.faq details[open] summary::after { background-color: var(--ink); border-color: var(--ink); }
.faq details { transition: background .3s ease; }
.faq details[open] .ans { animation: x-rise .45s var(--ease-out) both; }
.x-faq .faq { max-width: none; }

/* ═════════════════════════════ CTA ═════════════════════════════ */
.cta-band { border-radius: 20px; padding: clamp(40px, 6vw, 80px); color: #140600; background: var(--accent); box-shadow: 0 30px 80px rgba(255,91,31,.3); }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(20,6,0,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(20,6,0,.12) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(110deg, transparent 35%, #000); mask-image: linear-gradient(110deg, transparent 35%, #000); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #140600; font-size: clamp(32px, 4.2vw, 58px); }
.cta-band p { color: rgba(20,6,0,.75); }
.cta-band .btn-primary { background: var(--ink-950); color: #fff; box-shadow: 0 14px 30px rgba(5,8,15,.35); }
.cta-band .btn-primary:hover { background: #000; }

/* ═════════════════════════════ FEATURES / INDUSTRIES / PRICING PAGES ═════════════════════════════ */
.module { border-top-color: var(--line); }
.module-head h2 { font-size: 32px; }
.mini { border-color: var(--line); transition: border-color .25s ease, transform .3s var(--ease); }
.mini:hover { border-color: var(--c, var(--accent)); transform: translateY(-2px); }
.type-flow { box-shadow: none; }
.type-flow .n { border-radius: 8px; font-family: var(--mono); font-weight: 500; }
.matrix-wrap { box-shadow: none; }
.matrix thead th { font-family: var(--mono); font-weight: 500; letter-spacing: .04em; }
.step::before { border-radius: 8px; background: var(--accent); color: #140600; font-family: var(--mono); font-weight: 600; }
.stepper button:hover { background: var(--accent-soft); color: var(--accent); }
.stepper:focus-within { border-color: var(--accent); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.seg label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.check input[type="checkbox"]:checked { background-color: var(--accent); border-color: var(--accent); }
.legal-toc a.active { color: var(--accent); }
.doc h2.clause span:first-child { color: var(--accent); font-family: var(--mono); font-weight: 500; }

/* ═════════════════════════════ FOOTER ═════════════════════════════ */
.site-footer { position: relative; overflow: hidden; background: var(--ink-950); padding: 88px 0 0; }
.foot-grid h4 { font-family: var(--mono); font-weight: 500; letter-spacing: .14em; font-size: 12px; color: rgba(255,255,255,.5); }
.site-footer a:hover { color: var(--accent-2); text-decoration: none; }
.foot-legal { border-top-color: rgba(255,255,255,.08); }
.x-wordmark { position: relative; margin-top: 56px; padding-bottom: 8px; text-align: center; font-family: var(--display); font-weight: 800; font-stretch: 125%;
  font-size: clamp(56px, 14.2vw, 236px); line-height: .78; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.16);
  white-space: nowrap; user-select: none; pointer-events: none; overflow: hidden; }
.x-wordmark span { background: linear-gradient(180deg, rgba(255,255,255,.07), transparent 85%); -webkit-background-clip: text; background-clip: text; }
.x-wordmark::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, rgba(255,91,31,.5) 0 6px, transparent 6px 14px); }
.wa-float { box-shadow: 0 10px 30px rgba(31,170,89,.4); }

/* ═════════════════════════════ REVEAL ═════════════════════════════ */
.reveal { transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); }
.reveal.in { filter: none; }
.reveal.d1 { transition-delay: .09s; } .reveal.d2 { transition-delay: .18s; } .reveal.d3 { transition-delay: .27s; }
.no-js .reveal { filter: none; }
.window.reveal, .x-inline-shot { clip-path: inset(0 0 0 0); }

/* ═════════════════════════════ RESPONSIVE ═════════════════════════════ */
@media (max-width: 1180px) {
  .x-c1 { left: -12px; } .x-c2 { right: -12px; } .x-c3 { right: 8px; }
  .x-callout::before { display: none; }
}
@media (max-width: 1080px) {
  .x-split-head, .x-docs-grid, .x-train-grid, .x-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .x-faq-head { position: static; }
  .x-paper-stack { height: clamp(380px, 80vw, 560px); }
}
@media (max-width: 900px) {
  .site-header .nav { margin-top: 6px; height: calc(var(--nav-h) - 12px); }
  .nav-open .nav-links { top: calc(var(--nav-h) - 2px); left: var(--gutter); right: var(--gutter); border-radius: 14px; border: 1px solid var(--line); }
  .x-callout { display: none; }
  .x-specs { grid-template-columns: minmax(0, 1fr); }
  .x-dim { display: none; }
}
@media (max-width: 640px) {
  .x-title { font-size: clamp(40px, 12.6vw, 64px); }
  .x-kicker { font-size: 10.5px; letter-spacing: .1em; }
  .x-hero-actions .btn { width: 100%; }
  .x-studio .studio-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .x-studio .studio-tabs button { flex: none; padding: 7px 10px; font-size: 11.5px; }
  .x-studio .studio-panel figcaption { position: static; border-radius: 0; border: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .x-studio-name em { display: none; }
  .x-specs li { grid-template-columns: 36px minmax(0, 1fr); }
  .x-specs li .icon-tile { display: none; }
  .x-wordmark { font-size: 19vw; }
  .x-paper.p2 { width: 78%; left: 11%; }
  .x-paper.p1, .x-paper.p3 { width: 52%; }
  .x-paper.p3 { left: 42%; }
  .cta-band h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { filter: none; }
  .x-w > span { transform: none; }
  .x-studio { transform: none !important; }
  .x-ticker-track { animation: none; }
}

/* Account page: "Business, contact and address details" (2026-11-22) */
details.acct-more { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); transition: background .25s ease; }
details.acct-more[open] { background: #fff; }
details.acct-more > summary { list-style: none; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: 3px; padding: 15px 52px 15px 16px; font-weight: 650; color: var(--ink); }
details.acct-more > summary::-webkit-details-marker { display: none; }
details.acct-more > summary small { font-weight: 400; font-size: 13px; color: var(--muted); }
details.acct-more > summary::after { content: "+"; position: absolute; right: 14px; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center;
  border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--accent); font: 600 18px/1 var(--font); transition: transform .25s var(--ease); }
details.acct-more[open] > summary::after { transform: rotate(45deg); }
details.acct-more > .form-grid { padding: 2px 16px 18px; }
details.acct-more[open] > .form-grid { animation: x-rise .45s var(--ease-out) both; }
@media (max-width: 640px) { details.acct-more > .form-grid { padding: 2px 12px 16px; } }

/* Account page: Request a tunnel — one card per tunnel, Operator PC picker (2026-11-22) */
.remote-request { padding: 0; background: none; }
.remote-request-head { display: grid; gap: 3px; margin-bottom: 12px; }
.remote-request-head b { font-size: 15px; color: var(--ink); }
.remote-tunnel-stack { display: grid; gap: 12px; }
.remote-tunnel-fields { position: relative; margin: 0; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; animation: x-rise .4s var(--ease-out) both; }
.remote-tunnel-fields legend { font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  padding: 4px 8px; border-radius: 6px; background: var(--accent-soft); }
.remote-tunnel-fields .field { display: grid; gap: 5px; align-content: start; }
.remote-tunnel-fields .field > span:first-child { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.remote-tunnel-fields > .remote-row-remove { position: absolute; top: -15px; right: 14px; min-height: 0; padding: 4px 11px; font-size: 12.5px; background: #fff; }
.remote-host { display: flex; align-items: stretch; min-width: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.remote-host:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.remote-host input { flex: 1 1 auto; min-width: 0; border: 0 !important; box-shadow: none !important; border-radius: 0; }
.remote-suffix { display: grid; place-items: center; padding: 0 10px; font: 500 13px/1 var(--mono); color: var(--muted); background: var(--paper-2);
  border-left: 1px solid var(--line); white-space: nowrap; }
.remote-ops-box { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px;
  border-radius: 10px; background: var(--paper-2); border: 1px dashed var(--line); }
.remote-ops-names { overflow-wrap: anywhere; }
.remote-add { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.remote-add .err { color: #b42318; font-size: 13.5px; }
.remote-renew { display: grid; gap: 5px; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--radius); background: #fff; }
.remote-renew b { font-size: 16px; overflow-wrap: anywhere; }
.remote-ops-note { margin: 4px 0 14px; }
.remote-ops-list { display: grid; gap: 8px; max-height: min(46vh, 380px); overflow: auto; padding: 2px; }
.remote-op { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  background: #fff; transition: border-color .2s ease, background .2s ease; }
.remote-op:hover { border-color: #c9ced9; }
.remote-op:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.remote-op input { width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.remote-op-text { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.remote-ops-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.remote-token-dialog .remote-ops-actions .btn { justify-self: auto; }
@media (max-width: 640px) {
  .remote-tunnel-fields { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .remote-suffix { padding: 0 7px; font-size: 12px; }
  .remote-ops-actions .btn { flex: 1 1 auto; }
}
