/* Agazie Robotics — cinematic site. 8px spacing, four heading sizes. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/inter-extrabold.woff2') format('woff2');
}

:root {
  --bg: #07080c;
  --bg-2: #101218;
  --ink: #f4f6f8;
  --muted: #c5ced8;
  --faint: #9aa6b4;
  --line: rgba(255, 255, 255, .12);
  --blue: #8eb6ff;
  --blue-dark: #d6e4ff;
  --accent: #245bdb;
  --card: #12141a;
  --shadow: 0 24px 64px rgba(0, 0, 0, .28);
  --radius: 16px;
  --max: 1120px;
  --h1: clamp(40px, 6.4vw, 72px);
  --h2: clamp(32px, 3.4vw, 48px);
  --h3: 24px;
  --h4: 18px;
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 48px;
  --s8: 64px;
  --s10: 80px;
  --s12: 96px;
  --s16: 128px;
  --nav: 64px;
  --pointer-x: 50vw;
  --pointer-y: 34vh;
  --pointer-opacity: 0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: var(--pointer-opacity); background: radial-gradient(280px circle at var(--pointer-x) var(--pointer-y), rgba(47, 107, 255, .16), transparent 70%); }
.pointer-trail-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; width: 100vw; height: 100vh; }
body > main, body > footer { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 8px 16px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; }
.skip-link:focus { top: 16px; }

h1, .h1 { font-size: var(--h1); line-height: .96; letter-spacing: -.045em; font-weight: 700; margin: 0 0 24px; }
h2, .h2 { font-size: var(--h2); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; margin: 0 0 16px; }
h3, .h3 { font-size: var(--h3); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; margin: 0 0 8px; }
h4, .h4 { font-size: var(--h4); line-height: 1.3; font-weight: 700; margin: 0 0 8px; }
p { margin: 0 0 16px; }

.nav { position: sticky; top: 0; z-index: 50; min-height: var(--nav); border-bottom: 1px solid var(--line); background: rgba(7, 8, 12, .88); backdrop-filter: blur(16px); }
.page-index .nav { position: fixed; left: 0; right: 0; border-bottom-color: transparent; background: linear-gradient(180deg, rgba(7, 8, 12, .78), rgba(7, 8, 12, 0)); backdrop-filter: none; }
.nav:has(.mobile.open) { background: var(--bg); border-bottom-color: var(--line); backdrop-filter: none; }
.navin { min-height: var(--nav); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img, .footer-logo { width: 132px; height: auto; }
.links { display: flex; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 500; }
.links a { padding: 8px 0; }
.links a:hover, .links a[aria-current="page"], .nav-quiet:hover, .nav-quiet[aria-current="page"] { color: #fff; }
.actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-quiet { color: var(--faint); font-size: 14px; font-weight: 500; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 0 24px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .06); }
.btn.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.btn.primary:hover { background: #1a4cc0; }
.btn.secondary { background: transparent; color: var(--ink); }
.menu { display: none; width: 48px; height: 48px; margin: 0; padding: 0; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; }
.menu-icon { display: block; width: 22px; height: 22px; }
.menu-icon path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-icon .menu-x { display: none; }
.menu[aria-expanded="true"] .menu-bars { display: none; }
.menu[aria-expanded="true"] .menu-x { display: block; }
.mobile { display: none; }
.mobile a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); font-size: var(--h3); letter-spacing: -.02em; }
.mobile a.mobile-quiet { font-size: var(--h4); color: var(--faint); }

.hero-stage { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; background:
  radial-gradient(ellipse at 72% 42%, rgba(36, 91, 219, .18), transparent 42%),
  linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
  #07080c;
  background-size: auto, 64px 64px, 64px 64px, auto;
}
.hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, .8fr); gap: 48px; align-items: center; padding: 96px 0 64px; }
.hero-split .hero-copy { padding: 0; max-width: none; }
.lens { position: relative; margin: 0; touch-action: none; display: grid; justify-items: center; }
.lens-base, .lens-xray { width: auto; height: min(72vh, 640px); max-width: 100%; background: transparent; }
.lens-xray { position: absolute; top: 0; left: 50%; transform: translateX(-50%); pointer-events: none; -webkit-mask-image: radial-gradient(circle 90px at var(--lx, -40%) var(--ly, -40%), #000 0%, #000 42%, transparent 72%); mask-image: radial-gradient(circle 90px at var(--lx, -40%) var(--ly, -40%), #000 0%, #000 42%, transparent 72%); }
.lens.is-revealed .lens-xray { -webkit-mask-image: none; mask-image: none; }
.lens-hint { display: block; width: 100%; margin: 8px 0 0; padding: 0; border: 0; background: none; color: var(--faint); font: inherit; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
button.lens-hint { cursor: pointer; }
.lens-hint[hidden] { display: none; }
.robot-cutout { width: min(100%, 360px); height: auto; margin: 0 auto; background: transparent; }
.grid-panel { min-height: 240px; padding: 64px; border: 1px solid var(--line); border-radius: var(--radius); background:
  radial-gradient(circle at 0% 0%, rgba(36, 91, 219, .2), transparent 42%),
  linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
  #0c0e14;
  background-size: auto, 32px 32px, 32px 32px, auto;
}
.grid-panel h2, .grid-panel p { max-width: 36rem; }
.hero-media { position: absolute; inset: -12% 0; z-index: 0; }
.hero-media img, .bleed img, .frame img, .media-large img, .feature-media img, .darkpanel img, .founder-photo img, .focus img, .research-card img, .humanoid-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media img { object-position: 72% center; }
.hero-shade, .bleed-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  linear-gradient(90deg, rgba(7, 8, 12, .88) 0%, rgba(7, 8, 12, .46) 46%, rgba(7, 8, 12, .12) 100%),
  linear-gradient(180deg, rgba(7, 8, 12, .28) 0%, transparent 32%, rgba(7, 8, 12, .78) 100%); }
.hero-copy { position: relative; z-index: 2; padding: 128px 0 80px; max-width: 720px; }
.hero-copy .lead, .hero-page p, .section-head p, .copy { color: var(--muted); }
.hero-copy .lead { max-width: 38em; margin: 0 0 32px; font-size: 18px; }
.kicker, .eyebrow { margin: 0 0 16px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.scrollhint { display: inline-flex; align-items: center; gap: 16px; margin-top: 48px; color: var(--faint); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.scrollhint i { display: block; width: 1px; height: 48px; background: rgba(255, 255, 255, .4); }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-head p { max-width: 420px; margin: 0; }
.grid2, .split, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.soft { background: var(--bg-2); }
.padded { padding: 32px; }
.link { display: inline-flex; gap: 8px; margin-top: 16px; color: var(--blue); font-size: 14px; font-weight: 700; }
.link:hover { color: #fff; }

.chapter { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; padding: 48px 0; border-top: 1px solid var(--line); }
.chapter:last-child { border-bottom: 1px solid var(--line); }
.chapter .num { color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.chapter p { max-width: 62ch; }
.chapter-links { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 8px; }

.bleed { position: relative; min-height: 80vh; display: grid; align-items: end; overflow: hidden; background: #05060a; }
.bleed img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-position: 70% center; }
.bleed-copy { position: relative; z-index: 2; padding: 80px 0; max-width: 640px; }

.frame, .media-large, .feature-media, .humanoid-visual { position: relative; overflow: hidden; background: #0c0e14; border-radius: var(--radius); }
.media-large { height: clamp(320px, 42vw, 520px); }
.frame.tall { height: clamp(420px, 70vh, 760px); }
.feature { display: grid; grid-template-columns: 1fr 1.3fr; min-height: 440px; }
.feature-copy { padding: 48px; }
.feature-media { min-height: 360px; }
.feature-media img, .media-large img { position: absolute; inset: 0; }

.darkpanel { overflow: hidden; border-radius: var(--radius); background: #05070d; color: #fff; border: 1px solid var(--line); }
.darkpanel.split { min-height: 400px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; }
.darkcopy { display: flex; flex-direction: column; justify-content: center; padding: 64px 48px; }
.darkcopy p { max-width: 46ch; margin: 0; color: var(--muted); }
.darkpanel.split > img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }

.techbar { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.techbar div { padding: 24px 16px; border-right: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.techbar div:last-child { border-right: 0; }
.techicon { display: block; width: 24px; height: 24px; margin-bottom: 16px; color: var(--blue); }
.techicon path, .techicon circle, .techicon rect, .techicon line { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tab { min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; }
.tab.active { border-color: #fff; background: #fff; color: #07080c; }
.hero-page { padding: 96px 0 48px; }
.hero-page h1 { max-width: 16ch; }
.hero-page p { max-width: 62ch; margin: 0; font-size: 18px; }
.crumb { margin: 0 0 24px; color: var(--faint); font-size: 13px; }
.crumb a:hover { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric { min-width: 0; padding: 24px; }
.metric strong { display: block; font-size: var(--h3); line-height: 1.2; letter-spacing: -.02em; }
.metric span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.quote { font-size: var(--h2); line-height: 1.08; letter-spacing: -.035em; }
.about-banner { padding: 48px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, #141820, #0c1018 60%); }
.founder-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.founder-photo { width: 240px; height: 304px; border-radius: 16px; overflow: hidden; background: #151820; }
.founder-photo img { object-position: center 18%; }
.founder-note h2 { max-width: 18ch; }
.research-card .body { padding: 32px; }
.page-miss { padding: 128px 0 96px; text-align: center; }
.page-miss h1, .page-miss p { margin-left: auto; margin-right: auto; }

.contact-grid { align-items: stretch; }
.form { padding: 32px; }
.form label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.form input, .form textarea, .form select { width: 100%; margin-bottom: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #0c0e14; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(142, 182, 255, .25); }
.form textarea { min-height: 144px; resize: vertical; }
.form-status { min-height: 1.6em; margin: 16px 0 0; color: var(--blue); font-size: 14px; }
.form-status[data-state="success"] { color: #8ee0b0; }
.form-status[data-state="error"] { color: #ffb4b4; }
.form-status a { color: inherit; font-weight: 700; text-decoration: underline; }
.form button[disabled] { cursor: progress; opacity: .72; transform: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.stack { display: grid; gap: 16px; }

.footer { margin-top: 64px; padding: 64px 0 32px; border-top: 1px solid var(--line); background: #05060a; }
.footergrid { display: grid; grid-template-columns: 1.4fr .7fr .8fr 1fr; gap: 32px; }
.footer p { max-width: 36ch; color: var(--muted); font-size: 14px; }
.footer-heading { margin: 0 0 16px; font-size: 14px; font-weight: 700; color: #fff; }
.footer a { display: block; margin: 8px 0; color: var(--muted); font-size: 14px; }
.footer a:hover { color: #fff; }
.footer a.link { display: inline-flex; }
.footer-phone a, .footbottom a { display: inline; margin: 0; }
.legal-meta { max-width: 46ch; margin: 16px 0 0; color: var(--faint); font-size: 13px; line-height: 1.5; }
.legal-meta:empty, [data-founder-links]:empty { display: none; }
.footbottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.footlinks { display: flex; gap: 16px; }
.footlinks a { color: var(--faint); }
.prose { max-width: 720px; }
.prose h2 { margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0 0 16px; padding-left: 24px; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

html.nav-open { overflow: hidden; }
html.js .reveal { opacity: 0; transform: translateY(16px); }
html.js .reveal.show { opacity: 1; transform: none; }
html:not(.js) .js-only { display: none; }
.social-dock { display: none !important; }
main:focus { outline: none; }

@media (prefers-reduced-motion: no-preference) {
  html.js .reveal.show { animation: rise .7s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  body::before, .pointer-trail-canvas { display: none; }
}

@media (max-width: 1040px) {
  .links, .nav-quiet, .actions .navhide { display: none; }
  .menu { display: flex; }
  .mobile.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 49;
    top: var(--nav);
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 16px 24px 32px;
    background: #07080c;
    overflow: auto;
  }
  .grid3, .footergrid, .techbar { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; }
}
@media (min-width: 1041px) {
  .menu { display: none; }
  .mobile, .mobile.open { display: none !important; }
}
@media (max-width: 800px) {
  .split, .contact-grid, .grid2, .price-grid, .price-example, .price-addon, .founder-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-shade, .bleed-shade { background: linear-gradient(180deg, rgba(7, 8, 12, .35) 0%, rgba(7, 8, 12, .2) 36%, rgba(7, 8, 12, .9) 72%); }
  .hero-split { grid-template-columns: 1fr; padding-top: 96px; }
  .lens { width: min(100%, 300px); margin: 0 auto; }
  .lens-base, .lens-xray { height: min(46vh, 420px); }
}
@media (max-width: 700px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .brand img, .footer-logo { width: 120px; }
  html:not(.js) .mobile { display: block; padding-bottom: 16px; }
  html:not(.js) .menu { display: none; }
  .hero-copy { padding: 112px 0 48px; }
  .hero-copy .lead, .hero-page p { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .section-head, .chapter { display: block; }
  .section-head p { margin-top: 16px; }
  .chapter { padding: 32px 0; }
  .chapter .num { display: block; margin-bottom: 8px; }
  .grid3, .stats, .techbar, .footergrid { grid-template-columns: 1fr; }
  .techbar div { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-copy, .padded, .form, .darkcopy, .about-banner, .grid-panel { padding: 24px; }
  .founder-photo { width: 200px; height: 256px; }
  .darkpanel.split { grid-template-columns: 1fr; min-height: 0; }
  .darkpanel.split > img { height: 280px; min-height: 240px; -webkit-mask-image: none; mask-image: none; }
  .media-large { height: 320px; }
  .hero-buttons .btn { width: 100%; }
  .footbottom { display: block; }
  .footlinks { margin-top: 8px; }
  .hero-page { padding: 80px 0 32px; }
}

/* Pricing. Checkout dialog stays light so the Revolut card field remains readable. */
.price-hero h1 { max-width: 14ch; }
.price-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.price-points li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: 700; }
.price-company { margin-top: 16px; color: var(--faint); font-size: 14px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px; }
.price-card.is-recommended { border-color: var(--blue); background: linear-gradient(180deg, #182033, var(--card) 48%); }
.price-flag { position: absolute; top: 16px; right: 16px; padding: 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.price-flag.quiet { background: transparent; color: var(--blue); border: 1px solid var(--line); }
.price-card h2, .price-addon h2 { margin: 8px 0 0; padding-right: 112px; font-size: var(--h3); }
.price-card .plan-for { min-height: 3.2em; margin: 8px 0 0; color: var(--muted); }
.price-amount { display: flex; align-items: flex-end; gap: 8px; margin: 16px 0 0; color: var(--ink); font-size: var(--h2); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.price-amount span { padding-bottom: 4px; color: var(--muted); font-size: 16px; font-weight: 700; letter-spacing: 0; }
.price-note { margin: 8px 0 0; color: var(--ink); font-size: 14px; font-weight: 700; }
.price-note.quiet { color: var(--muted); font-weight: 500; }
.price-features { margin: 16px 0 24px; padding: 0; list-style: none; }
.price-features li { position: relative; padding: 8px 0 8px 24px; color: var(--muted); }
.price-features li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.price-card .btn, .price-addon .btn { width: 100%; }
.price-card .btn { margin-top: auto; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.pay-badges li { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 8px; border: 1px solid #d5dbe6; border-radius: 999px; background: #fff; color: #1d2c48; font-size: 12px; font-weight: 700; }
.pay-badges svg { display: block; }
.price-status { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.price-addon { display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; margin-top: 24px; padding: 32px; }
.price-addon h2 { padding-right: 0; }
.price-addon-action { min-width: min(100%, 280px); }
.price-example { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.price-faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.price-faq summary { cursor: pointer; font-size: var(--h4); font-weight: 700; }
.price-faq details p { max-width: 68ch; }
.price-return { margin: 0 0 16px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink); }
.price-return[data-state="failed"] { border-color: #6e3030; background: #241416; }
.price-return:empty { display: none; }
.price-dialog { display: none; width: min(520px, calc(100vw - 24px)); max-height: min(92vh, 900px); padding: 0; border: 0; border-radius: 16px; background: #fff; color: #12141a; box-shadow: var(--shadow); }
.price-dialog[open] { display: flex; flex-direction: column; }
.price-dialog::backdrop { background: rgba(0, 0, 0, .64); }
.price-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 24px 0; }
.price-dialog-body { overflow: auto; padding: 8px 24px 24px; }
.price-dialog h2 { margin: 8px 0 0; font-size: var(--h3); color: #12141a; }
.price-dialog .eyebrow { color: #1f57e6; }
.price-dialog-close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid #d5dbe6; border-radius: 50%; background: #fff; color: #12141a; cursor: pointer; }
.price-dialog-close svg { width: 16px; height: 16px; }
.price-summary, .price-consent, .price-fine { color: #243044; }
.price-summary { margin: 0 0 16px; }
.price-consent { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 16px; font-size: 14px; }
.price-consent input { width: auto; margin: 4px 0 0; accent-color: #2f6bff; }
.price-dialog .form input, .price-dialog .form select { margin-bottom: 16px; background: #fff; color: #12141a; border-color: #d5dbe6; }
.price-dialog .form label { color: #243044; }
.price-pay-block h3 { margin: 16px 0 8px; font-size: 16px; color: #12141a; }
.price-slot { min-height: 48px; }
.price-slot:empty { display: none; }
.price-card-field { min-height: 48px; margin-bottom: 16px; padding: 8px; border: 1px solid #d5dbe6; border-radius: 8px; background: #fff; }
.price-or { display: flex; align-items: center; gap: 16px; margin: 16px 0; color: #5c6b82; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.price-or::before, .price-or::after { content: ""; flex: 1; height: 1px; background: #d5dbe6; }
.price-dialog .btn { width: 100%; margin-top: 8px; }
.price-alert { margin: 0 0 16px; color: #8d1d1d; font-size: 14px; font-weight: 700; }
.price-alert:empty { display: none; }
.price-success { padding: 16px 0 8px; color: #12141a; }
.os { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px), #0c0e14; background-size: 32px 32px, 32px 32px, auto; }
.os-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 24px; }
.os-kicker, .os-mode-label, .os-note { margin: 0; }
.os-kicker { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.os-kicker span, .os-mode-label, .os-note { color: var(--muted); font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.os-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.os-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(7, 8, 12, .78); }
.os-card h2 { font-size: var(--h3); }
.os-readout { margin: 8px 0 16px; font-size: var(--h2); line-height: 1; letter-spacing: -.03em; }
.os-readout span:last-child { margin-left: 4px; color: var(--muted); font-size: 16px; }
.os label { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.os input[type="range"] { width: 100%; margin-top: 8px; accent-color: #245bdb; }
.os-joints { list-style: none; margin: 0; padding: 0; }
.os-joints li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.os-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.os-mode { min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.os-mode[aria-pressed="true"] { background: #fff; color: #07080c; }
.os.is-low #os-dock-note { color: #ffd7a8; }
.os #os-mode-note { margin-top: 16px; }
@media (max-width: 700px) {
  .price-grid, .price-example, .price-addon, .os-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .price-card { padding: 24px; }
  .price-card h2 { padding-right: 0; }
  .price-flag { position: static; display: inline-block; margin-bottom: 8px; }
  .price-addon { padding: 24px; }
}
@media (max-width: 420px) {
  .price-dialog { width: calc(100vw - 16px); }
  .price-dialog-body { padding: 16px; }
}
/* DeskBot Live Perception Research Sandbox */
.sandbox-module { position: relative; padding: 38px; border-radius: var(--radius); background: linear-gradient(145deg, #07101f, #0d192f); border: 1px solid rgba(61, 131, 255, 0.24); box-shadow: 0 24px 60px rgba(7, 22, 47, 0.28), 0 0 40px rgba(0, 220, 160, 0.04); color: #fff; margin-bottom: 32px; overflow: hidden; }
.sandbox-module:focus { outline: none; }
.sandbox-module:focus-visible { box-shadow: 0 0 0 2px rgba(0, 220, 160, 0.7), 0 24px 60px rgba(7, 22, 47, 0.28); }
.face-live-labels { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sandbox-module::before { content: ""; position: absolute; top: -120px; right: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 220, 160, 0.08), transparent 70%); pointer-events: none; }
.sandbox-header { margin-bottom: 24px; }
.sandbox-badge-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sandbox-privacy-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(0, 220, 160, 0.12); border: 1px solid rgba(0, 220, 160, 0.35); color: #00dca0; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.sandbox-header h2 { color: #fff; margin: 10px 0 10px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -0.035em; }
.sandbox-header .copy { color: #9db0cb; max-width: 860px; font-size: 15px; line-height: 1.55; margin: 0; }
.sandbox-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: rgba(13, 25, 47, 0.72); border: 1px solid rgba(61, 131, 255, 0.18); border-radius: 16px; margin-bottom: 24px; backdrop-filter: blur(10px); }
.sandbox-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sandbox-actions .btn { min-height: 44px; padding: 0 20px; font-size: 14px; font-weight: 800; cursor: pointer; transition: all .2s ease; }
.sandbox-actions .btn.primary { background: #00dca0; color: #07162f; border-color: #00dca0; box-shadow: 0 4px 18px rgba(0, 220, 160, 0.3); }
.sandbox-actions .btn.primary:hover { background: #00f5b2; border-color: #00f5b2; box-shadow: 0 6px 24px rgba(0, 220, 160, 0.45); transform: translateY(-1px); }
.sandbox-actions .btn.secondary { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.sandbox-actions .btn.secondary:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.35); transform: translateY(-1px); }
.sandbox-status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 750; color: #8ba0bd; }
.sandbox-status-pill .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #64748b; transition: all .25s ease; }
.sandbox-status-pill.active .status-dot { background: #00dca0; box-shadow: 0 0 10px #00dca0; }
.sandbox-status-pill.active { color: #00dca0; }
.sandbox-alert { padding: 16px 20px; border-radius: 14px; background: rgba(240, 80, 30, 0.12); border: 1px solid rgba(240, 80, 30, 0.35); color: #fca5a5; font-size: 13.5px; line-height: 1.45; margin-bottom: 20px; }
.alert-title { font-size: 14.5px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.diagnostic-steps { background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 12px 14px; font-size: 12.5px; line-height: 1.55; margin: 8px 0 12px; color: #e2e8f0; }
.btn-clear-session { background: rgba(240, 80, 30, 0.14); color: #fca5a5; border: 1px solid rgba(240, 80, 30, 0.32); font-size: 10px; font-weight: 750; padding: 3px 8px; border-radius: 6px; cursor: pointer; transition: all .2s; }
.btn-clear-session:hover { background: rgba(240, 80, 30, 0.3); border-color: rgba(240, 80, 30, 0.6); color: #fff; }
.sandbox-viewport-container { display: grid; grid-template-columns: 1fr 310px; gap: 24px; align-items: stretch; margin-bottom: 22px; }
.canvas-wrapper { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #05070a; border: 1px solid rgba(61, 131, 255, 0.28); box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.85), 0 12px 36px rgba(0, 0, 0, 0.45); }
#face-hud-canvas { width: 100%; height: 100%; display: block; object-fit: contain; }
.canvas-standby-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 24px; background: radial-gradient(circle at center, rgba(15, 67, 200, 0.15), rgba(5, 7, 10, 0.94) 75%); color: #cbd5e1; z-index: 2; }
.standby-reticle { position: relative; width: 72px; height: 72px; margin-bottom: 18px; }
.reticle-circle { position: absolute; inset: 0; border: 2px dashed rgba(0, 220, 160, 0.5); border-radius: 50%; animation: reticleSpin 18s linear infinite; }
.reticle-crosshair { position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; transform: translate(-50%, -50%); border-left: 2px solid #00dca0; border-top: 2px solid #00dca0; }
.reticle-brackets { position: absolute; inset: -6px; border: 1px solid rgba(61, 131, 255, 0.3); border-radius: 8px; }
@keyframes reticleSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.canvas-standby-overlay h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.canvas-standby-overlay p { margin: 0 0 18px; font-size: 14px; color: #94a3b8; max-width: 440px; line-height: 1.45; }
.standby-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.standby-pills span { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 11.5px; font-weight: 700; color: #cbd5e1; }
.telemetry-grid { display: flex; flex-direction: column; gap: 12px; }
.telemetry-card { padding: 16px 18px; border-radius: 14px; background: rgba(13, 25, 47, 0.72); border: 1px solid rgba(61, 131, 255, 0.18); backdrop-filter: blur(8px); display: flex; flex-direction: column; justify-content: space-between; }
.telemetry-key { font-size: 10.5px; font-weight: 850; letter-spacing: 0.12em; color: #7792b5; text-transform: uppercase; }
.telemetry-val-wrap { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 2px; }
.telemetry-val { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 27px; font-weight: 800; color: #00dca0; letter-spacing: -0.02em; }
.telemetry-unit { font-size: 12px; font-weight: 700; color: #8ba0bd; }
.telemetry-desc { font-size: 11.5px; color: #64748b; }
.sandbox-footer-notes { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(61, 131, 255, 0.14); font-size: 12.5px; color: #64748b; }
.shortcuts-note kbd { display: inline-block; padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); font-family: ui-monospace, SFMono-Regular, monospace; font-size: 11px; color: #e2e8f0; }
.hardware-note code { color: #00dca0; font-family: ui-monospace, SFMono-Regular, monospace; }
@media (max-width: 960px) {
  .sandbox-viewport-container { grid-template-columns: 1fr; }
  .telemetry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); }
  .sandbox-module { padding: 26px 20px; }
}

/* ── RigEye Restricted Portal — Unified Dark Theme & Shelf Isolation ── */
body.page-rigeye {
  background: #060c18 !important;
  background-color: #060c18 !important;
  color: #e2e8f0 !important;
}
body.page-rigeye::before {
  display: none !important;
  content: none !important;
}
body.page-rigeye .pointer-trail-canvas {
  display: none !important;
}

/* Top Shelf Dark Styling for RigEye */
body.page-rigeye .nav {
  position: relative !important;
  background: rgba(6, 12, 24, 0.98) !important;
  border-bottom: 1px solid rgba(60, 80, 110, 0.4) !important;
  backdrop-filter: blur(18px);
}
body.page-rigeye .navin {
  min-height: 72px;
}
body.page-rigeye .nav .links {
  color: #94a3b8 !important;
}
body.page-rigeye .nav .links a {
  color: #94a3b8 !important;
  transition: color .2s ease;
}
body.page-rigeye .nav .links a:hover,
body.page-rigeye .nav .links a[aria-current="page"] {
  color: #38bdf8 !important;
}
body.page-rigeye .nav .links a::after {
  background: #38bdf8 !important;
}
body.page-rigeye .nav .btn.secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
body.page-rigeye .nav .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}
body.page-rigeye .nav .menu {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
body.page-rigeye .mobile {
  background: #060c18 !important;
}
body.page-rigeye .mobile a {
  color: #94a3b8 !important;
  border-bottom: 1px solid rgba(60, 80, 110, 0.4) !important;
}
body.page-rigeye .mobile a:hover {
  color: #38bdf8 !important;
}

/* RigEye Footer Dark Styling */
body.page-rigeye .footer {
  background: #040812 !important;
  border-top: 1px solid rgba(60, 80, 110, 0.4) !important;
  color: #94a3b8 !important;
}
body.page-rigeye .footer h4 {
  color: #ffffff !important;
}
body.page-rigeye .footer a {
  color: #94a3b8 !important;
}
body.page-rigeye .footer a:hover {
  color: #38bdf8 !important;
}
body.page-rigeye .footer p {
  color: #64748b !important;
}
body.page-rigeye .footbottom {
  border-top: 1px solid rgba(60, 80, 110, 0.4) !important;
  color: #64748b !important;
}

.sandbox-header h2 { font-size: var(--h2); }
.canvas-standby-overlay h3 { font-size: var(--h4); }
