/* MyAssetRack — homepage
   Three review color schemes share one set of tokens: indigo (default), teal, royal. */

:root,
[data-scheme="indigo"] {
  --b-50: #EEF2FF; --b-100: #E0E7FF; --b-200: #C7D2FE; --b-300: #A5B4FC; --b-400: #818CF8;
  --b-500: #6366F1; --b-600: #4F46E5; --b-700: #4338CA; --b-800: #3730A3; --b-900: #312E81;
  --x-50: #ECFEFF; --x-100: #CFFAFE; --x-300: #67E8F9; --x-400: #22D3EE; --x-500: #06B6D4; --x-600: #0E7490;
  --v-50: #F5F3FF; --v-100: #EDE9FE; --v-400: #A78BFA; --v-500: #8B5CF6; --v-600: #7C3AED;
  --hero-1: #070A1F; --hero-2: #111645;
  --tint: #F6F7FF;
  --grad: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --grad-cta: linear-gradient(120deg, #312E81 0%, #4F46E5 48%, #7C3AED 100%);
  --grad-text: linear-gradient(92deg, #A5B4FC 0%, #C4B5FD 45%, #67E8F9 100%);
  --glow-1: rgba(99, 102, 241, .55); --glow-2: rgba(139, 92, 246, .45); --glow-3: rgba(34, 211, 238, .35);
}

[data-scheme="teal"] {
  --b-50: #F0FDFA; --b-100: #CCFBF1; --b-200: #99F6E4; --b-300: #5EEAD4; --b-400: #2DD4BF;
  --b-500: #14B8A6; --b-600: #0F766E; --b-700: #0F766E; --b-800: #115E59; --b-900: #134E4A;
  --x-50: #FFFBEB; --x-100: #FEF3C7; --x-300: #FCD34D; --x-400: #FBBF24; --x-500: #F59E0B; --x-600: #B45309;
  --v-50: #ECFDF5; --v-100: #D1FAE5; --v-400: #34D399; --v-500: #10B981; --v-600: #047857;
  --hero-1: #031418; --hero-2: #062C33;
  --tint: #F2FBF9;
  --grad: linear-gradient(135deg, #0F766E 0%, #047857 100%);
  --grad-cta: linear-gradient(120deg, #134E4A 0%, #0F766E 50%, #047857 100%);
  --grad-text: linear-gradient(92deg, #5EEAD4 0%, #99F6E4 40%, #FCD34D 100%);
  --glow-1: rgba(20, 184, 166, .5); --glow-2: rgba(16, 185, 129, .35); --glow-3: rgba(251, 191, 36, .3);
}

[data-scheme="royal"] {
  --b-50: #EFF6FF; --b-100: #DBEAFE; --b-200: #BFDBFE; --b-300: #93C5FD; --b-400: #60A5FA;
  --b-500: #3B82F6; --b-600: #2563EB; --b-700: #1D4ED8; --b-800: #1E40AF; --b-900: #1E3A8A;
  --x-50: #FFF7ED; --x-100: #FFEDD5; --x-300: #FDBA74; --x-400: #FB923C; --x-500: #F97316; --x-600: #C2410C;
  --v-50: #F0F9FF; --v-100: #E0F2FE; --v-400: #38BDF8; --v-500: #0EA5E9; --v-600: #0369A1;
  --hero-1: #050C22; --hero-2: #0B1F5C;
  --tint: #F4F8FF;
  --grad: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  --grad-cta: linear-gradient(120deg, #1E3A8A 0%, #1D4ED8 50%, #2563EB 100%);
  --grad-text: linear-gradient(92deg, #93C5FD 0%, #BFDBFE 40%, #FDBA74 100%);
  --glow-1: rgba(59, 130, 246, .55); --glow-2: rgba(14, 165, 233, .35); --glow-3: rgba(251, 146, 60, .32);
}

:root {
  --ink: #0E1430;
  --ink-2: #333C5C;
  --muted: #545E7C;
  --line: #E4E7F1;
  --line-2: #D3D8E6;
  --white: #FFFFFF;
  --on-dark: #FFFFFF;
  --on-dark-2: #C6CCE2;
  --on-dark-3: #9BA4C4;
  --dark-line: rgba(255, 255, 255, .12);

  --ok: #15803D; --ok-bg: #DCFCE7;
  --warn: #9A5A00; --warn-bg: #FEF3C7;
  --info: #1E40AF; --info-bg: #DBEAFE;
  --bad: #B42318; --bad-bg: #FEE4E2;

  --amber-50: #FFFBEB; --amber-100: #FEF3C7; --amber-600: #B45309;
  --emerald-50: #ECFDF5; --emerald-100: #D1FAE5; --emerald-600: #047857;
  --rose-50: #FFF1F2; --rose-100: #FFE4E6; --rose-600: #BE123C;

  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-2xl: 28px;
  --shadow-sm: 0 1px 2px rgba(14, 20, 48, .06), 0 2px 8px -2px rgba(14, 20, 48, .08);
  --shadow-md: 0 2px 4px rgba(14, 20, 48, .04), 0 12px 32px -12px rgba(14, 20, 48, .18);
  --shadow-lg: 0 4px 8px rgba(14, 20, 48, .04), 0 28px 60px -20px rgba(14, 20, 48, .30);
  --shadow-dark: 0 30px 70px -24px rgba(0, 0, 0, .65);

  --container: 1200px;
  --gutter: 32px;
  --section: 128px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

@media (max-width: 900px) { :root { --section: 96px; --gutter: 24px; } }
@media (max-width: 640px) { :root { --section: 80px; --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }

:focus-visible { outline: 2px solid var(--b-600); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--x-300); }

.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }

/* ------------------------------------------------------------------ type */

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; }
.display { font-size: clamp(2.6rem, 1.35rem + 3.9vw, 4.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
.h2 { font-size: clamp(2rem, 1.3rem + 2.1vw, 3.125rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.4rem, 1.15rem + .7vw, 1.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.022em; }
.lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.body { color: var(--muted); text-wrap: pretty; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-light { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.dark h1, .dark h2, .dark h3 { color: var(--on-dark); }
.dark .lede, .dark .body { color: var(--on-dark-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 99px;
  background: var(--b-50); color: var(--b-700);
  font-size: 13.5px; font-weight: 600; line-height: 1.2;
  box-shadow: inset 0 0 0 1px var(--b-100);
}
.eyebrow .ic { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 99px; background: var(--grad); color: #fff; }
.eyebrow .ic svg { width: 12px; height: 12px; }
.dark .eyebrow { background: rgba(255, 255, 255, .07); color: #E3E7F7; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }

.id-chip {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0.01em;
  padding: 5px 8px; border-radius: 7px; background: var(--b-50); color: var(--b-700);
  box-shadow: inset 0 0 0 1px var(--b-100); white-space: nowrap;
}
.id-chip.neutral { background: #F2F4F9; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------------------------------------------------------------- buttons */

.btn {
  --h: 46px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s, filter .2s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-lg { --h: 54px; padding: 0 26px; font-size: 16.5px; border-radius: 14px; }
.btn-sm { --h: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px -10px var(--glow-1), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-primary:hover { filter: brightness(1.08) saturate(1.05); box-shadow: 0 14px 34px -10px var(--glow-1), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--b-300); color: var(--b-700); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .5); }
.btn-light:hover { background: var(--b-50); }
.btn-ghost { background: rgba(255, 255, 255, .05); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.play { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 99px; background: rgba(255, 255, 255, .14); }
.play svg { width: 11px; height: 11px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--b-700); text-decoration: none; }
.text-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------- announce + nav */

.announce { background: var(--grad-cta); color: #fff; font-size: 14px; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; text-align: center; padding-block: 8px; }
.announce a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }
.announce svg { width: 15px; height: 15px; }
.announce .spark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 99px; background: rgba(255, 255, 255, .16); flex: none; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 10, 31, .72);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}
[data-scheme="teal"] .site-header { background: rgba(3, 20, 24, .74); }
[data-scheme="royal"] .site-header { background: rgba(5, 12, 34, .74); }
.nav { height: 72px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 6px 16px -6px var(--glow-1), inset 0 1px 0 rgba(255, 255, 255, .25); flex: none; }
.brand-mark svg { width: 22px; height: 22px; }
.brand .light { font-weight: 600; opacity: .72; }
.nav-links { display: flex; gap: 2px; margin-right: auto; }
.nav-links a { padding: 8px 13px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--on-dark-2); text-decoration: none; transition: color .15s, background-color .15s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .signin { padding: 8px 12px; font-size: 15px; font-weight: 500; color: #fff; text-decoration: none; border-radius: 9px; }
.nav-actions .signin:hover { background: rgba(255, 255, 255, .07); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }
.mobile-nav { display: none; }

@media (max-width: 980px) {
  .nav-links, .nav-actions .signin { display: none; }
  .nav { justify-content: space-between; gap: 16px; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav { display: block; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
  .mobile-nav.is-open { max-height: 440px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .mobile-nav ul { padding: 8px 0 20px; }
  .mobile-nav a { display: block; padding: 13px 0; font-size: 17px; font-weight: 500; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .mobile-nav li:last-child a { border-bottom: 0; }
}
@media (max-width: 420px) {
  .nav-actions .btn { padding: 0 12px; }
  .brand { font-size: 18px; }
  .announce .hide-sm { display: none; }
}

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: -73px; padding: 140px 0 168px;
  background:
    radial-gradient(60% 60% at 78% 30%, var(--glow-1) 0%, transparent 60%),
    radial-gradient(40% 50% at 95% 75%, var(--glow-3) 0%, transparent 60%),
    radial-gradient(45% 55% at 8% 0%, var(--glow-2) 0%, transparent 62%),
    linear-gradient(180deg, var(--hero-1) 0%, var(--hero-2) 100%);
  color: var(--on-dark);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 0%, transparent 80%);
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 0%, transparent 80%);
}

.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.hero .eyebrow { margin-bottom: 26px; text-decoration: none; transition: background-color .2s; }
.hero .eyebrow:hover { background: rgba(255, 255, 255, .11); }
.hero .eyebrow .new { padding: 3px 9px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; }
.hero .eyebrow svg.arrow { width: 14px; height: 14px; color: var(--on-dark-3); }
.hero h1 { max-width: 12ch; }
.hero .lede { margin-top: 24px; max-width: 520px; color: var(--on-dark-2); }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14.5px; color: var(--on-dark-2); }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .ck { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 99px; background: rgba(255, 255, 255, .1); color: var(--x-300); }
.hero-checks .ck svg { width: 11px; height: 11px; }
.hero-rating { display: flex; align-items: center; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--dark-line); max-width: 520px; }
.stars { display: inline-flex; gap: 2px; color: #FBBF24; flex: none; }
.stars svg { width: 16px; height: 16px; }
.hero-rating p { font-size: 14px; color: var(--on-dark-2); line-height: 1.45; }
.hero-rating b { color: #fff; font-weight: 600; }

/* hero visual */
.hero-visual { position: relative; aspect-ratio: 1 / .96; min-width: 0; }
.hv-glow { position: absolute; left: 6%; right: 22%; top: 18%; bottom: 6%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-1), transparent); filter: blur(30px); opacity: .9; z-index: 0; }
.hv-floor { position: absolute; left: 4%; width: 64%; bottom: 3%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); filter: blur(8px); z-index: 0; }
.hv-rack { position: absolute; left: -2%; top: 2%; width: 74%; z-index: 1; }
.hv-rack svg { width: 100%; height: auto; overflow: visible; }

.rack-item { cursor: pointer; outline: none; }
.rack-item .ri-body, .rack-item .ri-shadow { transition: transform .35s var(--ease), opacity .35s var(--ease); }
.rack-item:hover .ri-body, .rack-item:focus-visible .ri-body { transform: translateY(-4px); }
.rack-item .ri-select { opacity: 0; transition: opacity .3s var(--ease); }
.rack-item .ri-select .ri-pad { opacity: 0; transition: opacity .3s var(--ease); }
.rack-item:hover .ri-select { opacity: .6; }
.rack-item:focus-visible .ri-select { opacity: 1; }
.rack-item.is-selected .ri-select, .rack-item.is-selected .ri-pad { opacity: 1; }
.rack-flag { opacity: 0; transition: opacity .25s var(--ease); pointer-events: none; }
.rack-flag.is-selected { opacity: 1; }
.rf-ring { transform-box: fill-box; transform-origin: center; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.6); opacity: 1; } 70%, 100% { transform: scale(1.8); opacity: 0; } }

.hv-tag { position: absolute; right: 3%; top: 3%; z-index: 3; }
.hv-record { position: absolute; right: 0; top: 24%; width: min(320px, 49%); z-index: 2; }
.hv-toast {
  position: absolute; left: 2%; bottom: 9%; z-index: 3;
  display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px;
  border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--ink);
  box-shadow: var(--shadow-dark); font-size: 13px; line-height: 1.35;
}
.hv-toast .ti { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: #fff; flex: none; }
.hv-toast .ti svg { width: 18px; height: 18px; }
.hv-toast b { display: block; font-weight: 600; font-size: 13.5px; }
.hv-toast span { color: var(--muted); }
.hv-hint { position: absolute; left: 50%; bottom: -44px; transform: translateX(-50%); font-size: 13px; color: var(--on-dark-3); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hv-hint i { width: 6px; height: 6px; border-radius: 50%; background: var(--x-400); box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }

/* physical tag */
.phys-tag {
  position: relative; width: 272px;
  display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 12px 14px 12px 12px; border-radius: 10px;
  background: linear-gradient(150deg, #FFFFFF 0%, #F4F6FA 55%, #E6EAF1 100%);
  border: 1px solid #D5DBE6;
  box-shadow: 0 1px 1px rgba(14, 20, 48, .08), 0 18px 36px -16px rgba(0, 0, 0, .5), inset 0 1px 0 #fff;
  transform: rotate(-4deg); color: var(--ink);
  transition: transform .45s var(--ease);
}
.phys-tag::after { content: ''; position: absolute; inset: 5px; border-radius: 6px; border: 1px dashed rgba(84, 94, 124, .3); pointer-events: none; }
.phys-tag .qr { width: 66px; height: 66px; }
.phys-tag .owner { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.phys-tag .tag-id { margin-top: 2px; font-family: var(--font-mono); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; color: var(--ink); }
.phys-tag .barcode { width: 100%; height: 20px; margin-top: 6px; }
.phys-tag .tag-foot { margin-top: 4px; font-size: 9px; color: var(--muted); }
.phys-tag.is-swapping { transform: rotate(-4deg) translateY(-6px) scale(.98); }

/* compact record card */
.record {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 18px;
  box-shadow: var(--shadow-dark), 0 0 0 1px rgba(255, 255, 255, .08);
}
.record-head { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: center; }
.record-thumb { width: 46px; height: 46px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.record-thumb svg { width: 40px; height: 36px; }
.record .record-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); }
.record-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.record-body { margin-top: 12px; }
.record-body > * { animation: rise .35s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; line-height: 1; padding: 5px 9px 5px 8px; border-radius: 99px; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.ok { color: var(--ok); background: var(--ok-bg); }
.status.info { color: var(--info); background: var(--info-bg); }
.status.warn { color: var(--warn); background: var(--warn-bg); }
.status.bad { color: var(--bad); background: var(--bad-bg); }

.fields div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid #EEF0F6; font-size: 13px; line-height: 1.4; }
.fields dt { color: var(--muted); }
.fields dd { font-weight: 500; }
.fields .mono { font-size: 12px; }
.latest { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-top: 4px; padding: 9px 10px; border-radius: 10px; background: var(--tint); font-size: 12.5px; line-height: 1.35; }
.latest .ev { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #fff; color: var(--b-600); box-shadow: inset 0 0 0 1px var(--line); }
.latest .ev svg { width: 13px; height: 13px; }
.latest .when { color: var(--muted); white-space: nowrap; }
.record-actions { display: flex; gap: 8px; margin-top: 14px; }
.record-actions .btn { flex: 1; padding: 0 10px; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { max-width: 14ch; }
  .hero-visual { max-width: 760px; width: 100%; margin-inline: auto; }
}
@media (max-width: 640px) {
  .hero { padding: 132px 0 140px; }
  .hero-visual { aspect-ratio: auto; display: grid; gap: 16px; }
  .hv-glow { top: 0; bottom: 50%; }
  .hv-floor { display: none; }
  .hv-rack { position: relative; left: auto; top: auto; width: 100%; }
  .hv-tag { position: relative; right: auto; top: auto; justify-self: center; margin-top: -8px; }
  .hv-record { position: relative; right: auto; top: auto; width: 100%; margin-top: -30px; }
  .record { padding-top: 34px; }
  .hv-toast { display: none; }
  .hv-hint { position: static; transform: none; justify-self: center; }
  .phys-tag { width: min(272px, 88vw); }
}

/* ---------------------------------------------------------- proof strip */

.proof { position: relative; z-index: 3; margin-top: -88px; }
.proof-card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.proof-card > div { display: flex; gap: 16px; align-items: flex-start; padding: 30px 28px; }
.proof-card > div + div { border-left: 1px solid var(--line); }
.p-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; flex: none; }
.p-ic svg { width: 21px; height: 21px; }
.proof-value { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.proof-label { margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
@media (max-width: 1000px) {
  .proof-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-card > div:nth-child(3) { border-left: 0; }
  .proof-card > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .proof-card { grid-template-columns: 1fr; }
  .proof-card > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .proof-card > div { padding: 20px; }
}

.hue-brand { --h-50: var(--b-50); --h-100: var(--b-100); --h-600: var(--b-700); }
.hue-accent { --h-50: var(--x-50); --h-100: var(--x-100); --h-600: var(--x-600); }
.hue-violet { --h-50: var(--v-50); --h-100: var(--v-100); --h-600: var(--v-600); }
.hue-amber { --h-50: var(--amber-50); --h-100: var(--amber-100); --h-600: var(--amber-600); }
.hue-emerald { --h-50: var(--emerald-50); --h-100: var(--emerald-100); --h-600: var(--emerald-600); }
.hue-rose { --h-50: var(--rose-50); --h-100: var(--rose-100); --h-600: var(--rose-600); }
.p-ic, .b-icon, .s-ic { background: var(--h-100); color: var(--h-600); }

/* -------------------------------------------------------------- sections */

.section { padding: var(--section) 0; }
.section.tint { background: var(--tint); }
.sec-head { max-width: 780px; margin: 0 auto 64px; text-align: center; }
.sec-head .h2 { margin-top: 20px; }
.sec-head .lede { margin: 20px auto 0; max-width: 640px; }

/* how it works */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-visual { position: relative; height: 216px; display: grid; place-items: center; background: var(--h-50); overflow: hidden; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.step-visual::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--h-100) 1.3px, transparent 1.3px); background-size: 16px 16px; }
.step-visual > * { position: relative; }
.step-body { padding: 22px 24px 26px; }
.step-num { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--h-600); letter-spacing: 0.02em; }
.step-num b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--h-600); color: #fff; font-size: 13px; }
.step-body h3 { margin-top: 14px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.step-body p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.step-arrow { position: absolute; top: 91px; right: -17px; z-index: 2; width: 34px; height: 34px; border-radius: 99px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.step-arrow svg { width: 16px; height: 16px; }

.mini-drill { width: 62%; max-width: 190px; }
.mini-drill svg { width: 100%; height: auto; overflow: visible; }
.mini-tag .phys-tag { width: 224px; grid-template-columns: 54px minmax(0, 1fr); transform: rotate(-5deg); box-shadow: 0 1px 1px rgba(14, 20, 48, .08), 0 14px 28px -14px rgba(14, 20, 48, .4); }
.mini-tag .phys-tag .tag-id { font-size: 17px; }
.mini-tag .phys-tag .qr { width: 54px; height: 54px; }
.mini-events { width: 86%; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); padding: 8px 12px; }
.mini-events li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 0; font-size: 12.5px; line-height: 1.3; border-top: 1px solid #F0F2F7; }
.mini-events li:first-child { border-top: 0; }
.mini-events .ev { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--h-100); color: var(--h-600); }
.mini-events .ev svg { width: 12px; height: 12px; }
.mini-events .when { color: var(--muted); font-size: 11.5px; }
.mini-plan { width: 86%; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); padding: 12px; }
.mini-plan svg { width: 100%; height: auto; }
.mini-plan p { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.mini-plan p b { color: var(--ink); font-weight: 700; font-family: var(--font-display); }

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-arrow { display: none; }
}
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.b-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.b-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.b-card.wide { grid-column: span 2; }
.b-card.tall { grid-row: span 2; }
.b-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; }
.b-icon svg { width: 22px; height: 22px; }
.b-card h3 { margin-top: 20px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.b-copy > p, .b-card > p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 460px; }
.b-visual { position: relative; margin-top: 26px; flex: 1; min-height: 196px; border-radius: 18px; background: var(--h-50); overflow: hidden; padding: 20px; display: grid; place-items: center; }
.b-visual::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--h-100) 1.2px, transparent 1.2px); background-size: 16px 16px; }
.b-visual > * { position: relative; }
.b-card.wide.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: stretch; }
.b-card.wide.split .b-visual { margin-top: 0; }
.b-copy { display: flex; flex-direction: column; }
.b-copy .text-link { margin-top: auto; padding-top: 18px; }

.ui-card { width: 100%; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); border: 1px solid var(--line); text-align: left; }
.ui-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #EEF0F6; }
.ui-head b { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.ui-head small { display: block; font-size: 11.5px; color: var(--muted); }
.ui-body { padding: 12px 14px 14px; }
.form-label { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.input { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 36px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line-2); font-size: 13px; background: #fff; }
.input svg { width: 14px; height: 14px; color: var(--muted); }
.input.is-focused { border-color: var(--b-500); box-shadow: 0 0 0 3px var(--b-100); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.person { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.avatar { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 99px; color: #fff; font-size: 9.5px; font-weight: 700; flex: none; background: var(--b-600); }
.avatar.a2 { background: var(--x-600); }
.avatar.a3 { background: var(--v-600); }
.avatar.a4 { background: var(--amber-600); }
.avatar.a5 { background: var(--emerald-600); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 12px; text-align: center; }
.cal-day { font-size: 10.5px; color: var(--muted); }
.cal-day b { display: block; font-size: 12.5px; color: var(--ink); margin-top: 1px; }
.cal-track { position: relative; grid-column: 1 / -1; height: 28px; margin-top: 4px; border-radius: 8px; background: #F2F4F9; }
.cal-bar { position: absolute; top: 3px; bottom: 3px; border-radius: 6px; display: flex; align-items: center; padding: 0 8px; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.cal-bar.mine { background: var(--grad); color: #fff; }
.cal-bar.other { background: var(--x-100); color: var(--x-600); }

.sched li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid #EEF0F6; font-size: 12.5px; line-height: 1.35; }
.sched li:first-child { border-top: 0; }
.sched .date { text-align: center; line-height: 1.05; border-radius: 9px; padding: 5px 0; background: var(--h-50); color: var(--h-600); }
.sched .date small { display: block; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.sched .date b { font-size: 14px; font-weight: 700; }
.sched .what b { display: block; font-weight: 600; color: var(--ink); }
.sched .what span { color: var(--muted); font-size: 11.5px; }

.bars { position: relative; padding: 12px 14px 10px; }
.bar-row { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 10px; height: 30px; font-size: 12.5px; }
.bar-row .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.bar-track { display: flex; align-items: center; height: 100%; border-left: 1px solid var(--line); }
.bar-fill { height: 16px; border-radius: 0 4px 4px 0; background: var(--b-300); transition: background-color .15s; }
.bar-row:hover .bar-fill, .bar-row:focus-visible .bar-fill, .bar-row.is-hl .bar-fill { background: var(--b-600); }
.bar-val { margin-left: 7px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; }
.bar-tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: #fff; font-size: 12px; line-height: 1.4; padding: 7px 10px; border-radius: 8px; box-shadow: var(--shadow-md); white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.bar-tip.is-on { opacity: 1; transform: none; }
.bar-tip span { color: #B9C0D8; }

.stock li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 11px 16px; border-top: 1px solid #EEF0F6; font-size: 13px; }
.stock li:first-child { border-top: 0; }
.stock .nm b { font-weight: 600; display: block; }
.stock .nm span { font-size: 11.5px; color: var(--muted); }
.stock .meter { grid-column: 1 / -1; height: 7px; border-radius: 99px; background: #EEF0F6; overflow: hidden; }
.stock .meter i { display: block; height: 100%; border-radius: 99px; background: var(--emerald-600); }
.stock .meter i.low { background: #D97706; }

.roles { display: grid; gap: 8px; width: 100%; }
.role-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); font-size: 13px; }
.role-row .who { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.role-row .perm-t { font-size: 11.5px; color: var(--muted); }
.avatars { display: flex; margin-bottom: 4px; }
.avatars .avatar { width: 34px; height: 34px; font-size: 11px; border: 2px solid #fff; margin-left: -6px; }
.avatars .avatar:first-child { margin-left: 0; }
.avatars .more { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

.mini-phone {
  position: absolute; left: 50%; top: 24px; transform: translateX(-50%);
  width: 230px; height: 452px; border-radius: 36px; padding: 8px; background: #0B1022;
  box-shadow: 0 30px 60px -24px rgba(14, 20, 48, .55), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.b-card.tall .b-visual { display: block; padding: 0; min-height: 420px; }

/* phone screen (shared by bento + audit) */
.phone-screen { position: relative; height: 100%; border-radius: 29px; overflow: hidden; background: #0F1A2E; }
.phone-notch { position: absolute; left: 50%; top: 9px; width: 76px; height: 22px; border-radius: 20px; background: #050A14; transform: translateX(-50%); z-index: 3; }
.viewfinder { position: absolute; inset: 0 0 150px 0; background: #8E99A8; overflow: hidden; }
.viewfinder .surface { position: absolute; inset: 0; background: linear-gradient(172deg, #C3CCD7 0%, #D3DAE2 46%, #BCC6D1 100%); }
.viewfinder .keys {
  position: absolute; left: -6%; right: -6%; top: -4%; height: 30%;
  background: repeating-linear-gradient(90deg, #2A3243 0 24px, transparent 24px 29px), #C3CCD7;
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 22px, transparent 22px 28px);
  mask: repeating-linear-gradient(180deg, #000 0 22px, transparent 22px 28px);
  transform: perspective(420px) rotateX(38deg); transform-origin: top; filter: blur(1.6px); opacity: .9;
}
.viewfinder .pad { position: absolute; left: 24%; right: 24%; bottom: 6%; height: 22%; border-radius: 10px; background: #CBD3DC; box-shadow: inset 0 0 0 1px #B3BDC9; filter: blur(1.2px); }
.viewfinder::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(9, 14, 25, .55) 100%); pointer-events: none; }
.vf-top { position: absolute; left: 0; right: 0; top: 42px; display: flex; justify-content: space-between; padding: 0 14px; font-size: 11px; color: #fff; z-index: 2; }
.vf-top .pill { background: rgba(10, 16, 28, .62); border-radius: 99px; padding: 4px 9px; font-weight: 500; }
.vf-tag { position: absolute; left: 50%; top: 50%; width: 150px; transform: translate(-50%, -50%) rotate(-3deg); background: linear-gradient(150deg, #fff, #E8EDF2); border-radius: 7px; padding: 8px; display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: center; box-shadow: 0 10px 20px rgba(0, 0, 0, .35); z-index: 1; }
.vf-tag .qr { width: 44px; height: 44px; }
.vf-tag .owner { font-size: 6.5px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.vf-tag .tag-id { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--ink); }
.vf-tag .barcode { width: 100%; height: 12px; margin-top: 3px; }
.vf-brackets { position: absolute; left: 50%; top: 50%; width: 184px; height: 100px; transform: translate(-50%, -50%); z-index: 2; }
.vf-brackets i { position: absolute; width: 20px; height: 20px; border: 0 solid var(--x-400); }
.vf-brackets i:nth-child(1) { left: 0; top: 0; border-left-width: 3px; border-top-width: 3px; border-top-left-radius: 8px; }
.vf-brackets i:nth-child(2) { right: 0; top: 0; border-right-width: 3px; border-top-width: 3px; border-top-right-radius: 8px; }
.vf-brackets i:nth-child(3) { left: 0; bottom: 0; border-left-width: 3px; border-bottom-width: 3px; border-bottom-left-radius: 8px; }
.vf-brackets i:nth-child(4) { right: 0; bottom: 0; border-right-width: 3px; border-bottom-width: 3px; border-bottom-right-radius: 8px; }
.vf-scanline { position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; border-radius: 2px; background: var(--x-400); box-shadow: 0 0 12px var(--x-400); animation: scan 2.6s var(--ease) infinite alternate; }
@keyframes scan { from { transform: translateY(-40px); } to { transform: translateY(40px); } }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 168px; background: #fff; color: var(--ink); border-radius: 20px 20px 0 0; padding: 10px 16px 16px; }
.sheet .grab { width: 34px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 0 auto 10px; }
.sheet .found { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ok); }
.sheet .found svg { width: 13px; height: 13px; }
.sheet .s-title { margin-top: 5px; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.015em; }
.sheet .s-meta { margin-top: 4px; font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.sheet .s-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.sheet .s-actions span { display: grid; place-items: center; height: 34px; border-radius: 10px; font-size: 12.5px; font-weight: 600; }
.sheet .s-actions .p { background: var(--grad); color: #fff; }
.sheet .s-actions .s { box-shadow: inset 0 0 0 1px var(--line-2); }

@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-card.wide.split { grid-template-columns: 1fr; }
  .b-card.wide.split .b-visual { margin-top: 8px; }
}
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .b-card.wide { grid-column: auto; }
  .b-card.tall { grid-row: auto; }
  .b-card.tall .b-visual { min-height: 500px; }
  .b-card { padding: 22px; }
  .two-col { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------- dark band */

.dark-band {
  position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark);
  background:
    radial-gradient(50% 60% at 85% 40%, var(--glow-1) 0%, transparent 62%),
    radial-gradient(40% 50% at 0% 100%, var(--glow-2) 0%, transparent 60%),
    linear-gradient(180deg, var(--hero-2) 0%, var(--hero-1) 100%);
}
.dark-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(60% 70% at 70% 50%, #000, transparent 80%); mask-image: radial-gradient(60% 70% at 70% 50%, #000, transparent 80%); }
.audit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.audit-grid h2 { margin-top: 22px; }
.audit-grid .lede { margin-top: 20px; max-width: 520px; }
.audit-points { margin-top: 34px; display: grid; gap: 12px; }
.audit-points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--dark-line); }
.audit-points .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; }
.audit-points .n svg { width: 20px; height: 20px; }
.audit-points b { display: block; font-weight: 600; font-size: 16px; color: #fff; }
.audit-points span { color: var(--on-dark-2); font-size: 15px; line-height: 1.5; }
.dark-band .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.audit-visual { position: relative; min-height: 600px; }
.audit-visual .phone { position: absolute; left: 0; top: 0; width: 280px; height: 576px; border-radius: 44px; padding: 10px; background: #0B1022; box-shadow: var(--shadow-dark), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.audit-visual .phone-screen { border-radius: 35px; }
.audit-visual .viewfinder { bottom: 170px; }
.audit-visual .sheet { height: 186px; }
.audit-panel { position: absolute; right: 0; top: 70px; width: min(400px, 60%); background: #fff; color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-dark); overflow: hidden; }
.audit-panel header { padding: 18px 20px 16px; border-bottom: 1px solid var(--line); }
.audit-panel .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.audit-panel header b { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.015em; }
.audit-panel header small { font-size: 12.5px; color: var(--muted); }
.progress-num { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.progress-num strong { font-family: var(--font-display); font-size: 36px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.progress-num span { font-size: 13.5px; color: var(--muted); }
.progress { position: relative; height: 10px; border-radius: 99px; background: #EEF0F6; margin-top: 12px; overflow: hidden; }
.progress span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--grad); border-radius: 99px; transition: width 1.4s var(--ease); }
.audit-split { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.audit-split div { padding: 12px 20px; font-size: 12.5px; color: var(--muted); }
.audit-split div + div { border-left: 1px solid var(--line); }
.audit-split b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.disc li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 20px; border-top: 1px solid #EEF0F6; font-size: 13.5px; }
.disc li:first-child { border-top: 0; }
.disc li b { font-weight: 600; }
.disc li small { display: block; font-size: 12px; color: var(--muted); }
.disc .fix { font-size: 12.5px; font-weight: 600; padding: 7px 11px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; white-space: nowrap; transition: border-color .15s, color .15s, background-color .15s; }
.disc .fix:hover { border-color: var(--b-400); color: var(--b-700); }
.disc .fix.is-done { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
@media (max-width: 1080px) { .audit-grid { grid-template-columns: 1fr; gap: 56px; } .audit-visual { max-width: 720px; } }
@media (max-width: 640px) {
  .audit-visual { min-height: 0; display: grid; gap: 20px; justify-items: center; }
  .audit-visual .phone { position: relative; left: auto; width: 268px; height: 548px; }
  .audit-panel { position: relative; top: auto; width: 100%; }
}

/* -------------------------------------------------------------- solutions */

.tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; width: fit-content; margin: 0 auto; padding: 6px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 11px; background: transparent; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: background-color .15s, color .15s; }
.tab svg { width: 17px; height: 17px; }
.tab:hover { color: var(--ink); background: var(--tint); }
.tab[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -10px var(--glow-1); }
.tabpanel { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { margin-bottom: 14px; }
.tp-flows { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.tp-flows span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; padding: 8px 12px; border-radius: 99px; background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.tp-flows span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--b-500); }
.tp-table { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); overflow: hidden; }
.tp-table header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); gap: 12px; }
.tp-table header b { font-family: var(--font-display); font-size: 16px; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.tp-row { display: grid; grid-template-columns: 112px minmax(0, 1.4fr) minmax(0, 1fr) 124px; gap: 14px; align-items: center; padding: 13px 20px; border-top: 1px solid #EEF0F6; font-size: 14px; }
.tp-row.th { border-top: 0; background: #F8F9FC; font-size: 12px; font-weight: 600; color: var(--muted); padding-block: 10px; }
.tp-row .who { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1080px) { .tabpanel { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) {
  .tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .tp-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; padding: 12px 16px; }
  .tp-row .who { grid-column: 1; grid-row: 2; }
  .tp-row .id-chip { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 4px; }
  .tp-row .status { grid-column: 2; grid-row: 1 / span 3; }
  .tp-row.th { display: none; }
}

/* --------------------------------------------------------- team/security */

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.duo-card { position: relative; overflow: hidden; border-radius: 28px; padding: 44px; border: 1px solid var(--line); background: #fff; }
.duo-card.color { background: var(--b-50); border-color: var(--b-100); }
.duo-card h3 { margin-top: 20px; margin-bottom: 12px; }
.perm-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--tint); font-size: 14px; color: var(--muted); }
.perm-foot b { color: var(--ink); font-weight: 600; }
.perm-foot .avatars { margin: 0; }
.perm-foot .avatars .avatar { width: 28px; height: 28px; font-size: 10px; }
.perm { margin-top: 28px; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.perm-row { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); align-items: center; padding: 11px 16px; border-top: 1px solid #EEF0F6; font-size: 13.5px; }
.perm-row.th { border-top: 0; background: #F8F9FC; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.perm-row > span:not(:first-child) { text-align: center; }
.perm-row .role { display: flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; }
.yes, .no { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; }
.yes { background: var(--grad); color: #fff; }
.yes svg { width: 12px; height: 12px; }
.no { box-shadow: inset 0 0 0 1px var(--line-2); }
.sec-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sec-item { padding: 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.s-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; }
.s-ic svg { width: 19px; height: 19px; }
.sec-item b { display: block; margin-top: 12px; font-weight: 600; font-size: 15px; }
.sec-item > span:last-child { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 960px) { .duo { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .duo-card { padding: 26px 20px; border-radius: 22px; }
  .perm-row { grid-template-columns: minmax(0, 1.3fr) repeat(4, 34px); padding: 10px 12px; gap: 4px; }
  .sec-grid { grid-template-columns: 1fr; }
}

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

.price-wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding: 56px; border-radius: 32px; border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: 0 30px 60px -36px var(--glow-1);
}
.price-wrap h2 { margin-top: 20px; }
.price-wrap .lede { margin-top: 18px; }
.price-list { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.price-list li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; font-weight: 500; }
.price-list .ck { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 99px; background: var(--b-100); color: var(--b-700); flex: none; }
.price-list .ck svg { width: 12px; height: 12px; }
.price-wrap .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.price-visual { position: relative; display: grid; place-items: center; padding: 40px 24px; border-radius: 24px; background: var(--b-50); overflow: hidden; }
.price-visual::before { content: ''; position: absolute; width: 320px; height: 320px; right: -80px; top: -120px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-3), transparent); }
.meter-card { position: relative; width: min(380px, 100%); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 24px; }
.meter-card .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.meter-card .top b { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; }
.meter-card .big { margin-top: 16px; font-family: var(--font-display); font-size: 48px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.meter-card .big small { font-size: 18px; color: var(--muted); font-weight: 600; letter-spacing: -0.01em; }
.range-label { display: block; margin-top: 16px; font-size: 13px; color: var(--muted); }
.range { width: 100%; margin-top: 14px; accent-color: var(--b-600); cursor: pointer; }
.zone { position: relative; height: 6px; margin: 4px 8px 0; border-radius: 99px; background: #EEF0F6; }
.zone-free { position: absolute; left: 0; top: 0; bottom: 0; width: 25%; border-radius: 99px; background: var(--grad); }
.zone-mark { position: absolute; left: 25%; top: 12px; transform: translateX(-50%); font-size: 11.5px; font-weight: 700; color: var(--b-700); white-space: nowrap; }
.zone-mark::before { content: ''; position: absolute; left: 50%; top: -14px; width: 2px; height: 10px; background: var(--b-700); border-radius: 1px; }
.cap-scale { display: flex; justify-content: space-between; margin-top: -2px; padding: 0 2px; font-size: 11.5px; color: var(--muted); }
.plan-out { margin-top: 18px; padding: 13px 14px; border-radius: 12px; background: #F4F5FA; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-out b { font-weight: 700; }
.plan-out.is-free { background: var(--ok-bg); color: #14532D; }
.plan-out .text-link { font-size: 13.5px; }
@media (max-width: 960px) { .price-wrap { grid-template-columns: 1fr; padding: 40px 28px; gap: 36px; } }
@media (max-width: 640px) { .price-wrap { padding: 28px 20px; border-radius: 24px; } .price-list { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------- faq */

.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.faq-grid h2 { margin-top: 20px; }
.faq-grid .body { margin-top: 16px; }
.faq-help { margin-top: 28px; display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: var(--tint); }
.faq-help .s-ic { width: 44px; height: 44px; border-radius: 13px; flex: none; }
.faq-help b { display: block; font-weight: 600; font-size: 15px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq-list details[open] { border-color: var(--b-200); box-shadow: var(--shadow-sm); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 99px; background: var(--tint); color: var(--b-700); transition: transform .25s var(--ease), background-color .2s, color .2s; }
.faq-list summary .pm svg { width: 14px; height: 14px; }
.faq-list details[open] .pm { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-list details p { padding: 0 64px 22px 22px; color: var(--muted); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 36px; } .faq-list details p { padding-right: 22px; } }

/* -------------------------------------------------------------- final cta */

.final { padding-bottom: var(--section); }
.final-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 72px; border-radius: 32px; background: var(--grad-cta); color: #fff;
}
.final-card::before { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; bottom: -220px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-3), transparent); }
.final-card::after { content: ''; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.final-card h2 { color: #fff; max-width: 15ch; }
.final-card .lede { margin-top: 18px; color: #E4E7FA; max-width: 480px; }
.final-card .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.final-tag-wrap { position: relative; display: grid; place-items: center; min-height: 280px; }
.final-tag-wrap .phys-tag { width: 320px; transform: rotate(-6deg); }
.final-tag-wrap .phys-tag .tag-id { font-size: 25px; }
.final-tag-wrap .tag-note { position: absolute; right: 4%; bottom: 10%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; box-shadow: var(--shadow-dark); }
.final-tag-wrap .tag-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--x-500); }
@media (max-width: 960px) { .final-card { grid-template-columns: 1fr; padding: 48px 28px; } }
@media (max-width: 480px) { .final-card { padding: 36px 20px; border-radius: 24px; } .final-tag-wrap { min-height: 220px; } .final-tag-wrap .phys-tag { width: min(300px, 86vw); } .final-tag-wrap .tag-note { right: auto; bottom: 0; } }

/* ----------------------------------------------------------------- footer */

.site-footer { background: var(--hero-1); color: var(--on-dark-2); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.site-footer .brand { color: #fff; }
.footer-about p { margin-top: 18px; font-size: 15px; max-width: 300px; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--on-dark-2); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 13.5px; }
.footer-base a { color: var(--on-dark-2); text-decoration: none; margin-left: 20px; }
.footer-base a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-base a { margin: 0 16px 0 0; } }

/* --------------------------------------------- review-only scheme switch */

.scheme-switch {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px;
  border-radius: 99px; background: rgba(255, 255, 255, .97); color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(14, 20, 48, .45), 0 0 0 1px rgba(14, 20, 48, .08);
  font-size: 12.5px; font-weight: 600;
}
.scheme-switch .lbl { margin-right: 4px; }
.scheme-switch button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 99px; border: 2px solid transparent; background: none; cursor: pointer; }
.scheme-switch button i { width: 20px; height: 20px; border-radius: 99px; background: conic-gradient(var(--c1) 0 50%, var(--c2) 50% 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transform: rotate(45deg); }
.scheme-switch button:hover { border-color: var(--line-2); }
.scheme-switch button[aria-checked="true"] { border-color: var(--ink); }
@media (max-width: 480px) { .scheme-switch .lbl { display: none; } .scheme-switch { padding-left: 6px; } }

/* ----------------------------------------------------------------- reveal */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
