:root {
  --bg0: #05060a;
  --bg1: #0a0c14;
  --bg2: #11141f;
  --surface: rgba(22, 27, 34, 0.74);
  --surface-strong: rgba(22, 27, 34, 0.92);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --cyan: #00e5ff;
  --cyan-soft: rgba(0, 229, 255, 0.18);
  --violet: #7c4dff;
  --violet-soft: rgba(124, 77, 255, 0.18);
  --magenta: #ff4ddc;
  --text: #e6edf3;
  --muted: rgba(230, 237, 243, 0.68);
  --muted-strong: rgba(230, 237, 243, 0.86);
  --error: #ff6b6b;
  --warn: #ffb84d;
  --ok: #5dffb1;

  --r-bubble: 999px;
  --r-pill: 999px;
  --r-card: 20px;
  --r-panel: 28px;
  --r-frame: 44px;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;

  --shadow-sm: 0 6px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.55);
  --glow-cyan: 0 0 0 1px rgba(0, 229, 255, 0.25), 0 0 30px rgba(0, 229, 255, 0.18);
  --glow-violet: 0 0 0 1px rgba(124, 77, 255, 0.25), 0 0 30px rgba(124, 77, 255, 0.18);

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --bezel: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
  --grad-brand: linear-gradient(135deg, var(--cyan), var(--violet));
  --grad-text: linear-gradient(120deg, #fff, var(--cyan) 35%, var(--violet) 80%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg0);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 110% 70% at 8% -8%, rgba(0, 229, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 90% 70% at 92% 6%, rgba(124, 77, 255, 0.16), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255, 77, 220, 0.07), transparent 45%);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad-brand);
  box-shadow: var(--glow-cyan);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  opacity: 0.85;
}

.brand-mark-img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: var(--glow-cyan);
}

a.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }

.brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.05rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.device-preview-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.chip-link {
  font-family: var(--mono);
  font-size: 0.75rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}

.chip-link:hover {
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--text);
  background: rgba(0, 229, 255, 0.06);
  transform: translateY(-1px);
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding: 2rem 0 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 3rem 0 4.5rem;
  }
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.06;
  margin: 0 0 1.1rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  margin-bottom: 1rem;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.lede {
  font-size: 1.06rem;
  color: var(--muted-strong);
  max-width: 50ch;
  margin-bottom: 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s, background 0.2s, color 0.2s;
  font-family: inherit;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--grad-brand);
  color: #05060a;
  box-shadow: 0 14px 40px rgba(0, 229, 255, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 48px rgba(124, 77, 255, 0.3);
}

.btn-ghost {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(0, 229, 255, 0.45);
  background: rgba(0, 229, 255, 0.05);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.65;
  filter: grayscale(0.2);
}

/* hero visual */
.hero-visual {
  position: relative;
  border-radius: var(--r-panel);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: radial-gradient(120% 100% at 20% 10%, #0e1326 0%, #05060a 70%);
}

.hero-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
  background: rgba(5, 6, 10, 0.78);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

/* sections */
section {
  padding: 3rem 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.section-title {
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.section-sub {
  color: var(--muted);
  max-width: 70ch;
  margin: 0;
}

.tier-row-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  margin: 2rem 0 0.85rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* grids */
.grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.4rem;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.0), rgba(124, 77, 255, 0.0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  transition: background 0.3s;
}

.card:hover::before {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.5), rgba(124, 77, 255, 0.5));
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

.card .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(0, 229, 255, 0.05);
}

.card .more-link {
  margin-top: 0.85rem;
  display: inline-block;
}

/* device band */
.device-band {
  margin-top: 1.5rem;
  border-radius: var(--r-panel);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(124, 77, 255, 0.05));
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 760px) {
  .device-band {
    grid-template-columns: 1.4fr 1fr;
  }
}

.device-band svg {
  width: 100%;
  height: auto;
}

.device-band-copy h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.device-band-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* get-started cards (legacy .pricing-grid layout) */
.pricing-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .pricing-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  padding: 1.5rem;
  border-radius: var(--r-panel);
  border: 1px solid var(--border);
  background: var(--surface-strong);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: var(--glow-cyan);
}

.price-card .glyph {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 36px;
  height: 36px;
  opacity: 0.85;
}

.price-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.price {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 1rem;
}

.price small,
.price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--muted-strong);
  font-size: 0.9rem;
  flex: 1;
}

.price-card li {
  margin-bottom: 0.4rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.mini-badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.03);
}

.mini-badge.cyan {
  border-color: rgba(0, 229, 255, 0.35);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.06);
}

.mini-badge.violet {
  border-color: rgba(124, 77, 255, 0.4);
  color: #b29bff;
  background: rgba(124, 77, 255, 0.08);
}

.note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* installer */
.installer-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .installer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.install-block {
  padding: 1.4rem;
  border-radius: var(--r-card);
  border: 1px dashed rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.04);
}

.install-block h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.install-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

/* marketplace */
.market-strip {
  border-radius: var(--r-panel);
  border: 1px solid var(--border);
  padding: 1.6rem;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), rgba(0, 229, 255, 0.06));
}

.market-strip h3 {
  margin: 0 0 0.45rem;
}

.market-strip p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.94rem;
}

/* contact */
.contact {
  padding: 3rem 0 4rem;
}

.contact-card {
  border-radius: var(--r-panel);
  border: 1px solid var(--border);
  padding: 2.2rem;
  background: rgba(10, 12, 20, 0.86);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, rgba(0, 229, 255, 0.0), rgba(0, 229, 255, 0.5), rgba(124, 77, 255, 0.4), rgba(0, 229, 255, 0.0));
  filter: blur(40px);
  opacity: 0.35;
  z-index: 0;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.contact-card p {
  color: var(--muted-strong);
  margin: 0 auto 1.25rem;
  max-width: 56ch;
}

.mailto {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--cyan);
}

.mailto:hover {
  text-decoration: underline;
}

footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

/* device preview pages — fixed selector (was .device-page body) */
body.device-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 3rem;
  gap: 1.5rem;
}

.device-page-shell {
  width: min(1100px, 96vw);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .device-page-shell {
    grid-template-columns: 1fr 1fr;
  }
  .device-page-shell.glasses-shell {
    grid-template-columns: 1fr;
  }
}

.device-page-copy h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.device-page-copy ul {
  padding-left: 1.1rem;
  color: var(--muted-strong);
}

.device-page-copy li {
  margin-bottom: 0.4rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.back-link:hover { color: var(--cyan); }

/* phone shell */
.phone-stage {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: 360px;
  height: 720px;
  border-radius: var(--r-frame);
  padding: 14px;
  background: var(--bezel);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(120% 90% at 20% 10%, #0e1326 0%, #04050a 65%);
  border: 1px solid var(--border);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  border-radius: 14px;
  background: #04050a;
  z-index: 5;
}

.phone-status {
  position: absolute;
  top: 14px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(230, 237, 243, 0.85);
  z-index: 4;
}

.phone-home-grid {
  position: absolute;
  inset: 56px 18px 110px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 56px;
  gap: 18px 14px;
  align-content: start;
  opacity: 0.55;
}

.phone-home-grid .icon {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-bubble {
  position: absolute;
  right: 18px;
  bottom: 110px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: var(--glow-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #04050a;
  font-weight: 700;
  font-family: var(--mono);
  z-index: 6;
}

.phone-quick-panel {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 178px;
  border-radius: 22px;
  background: rgba(15, 18, 26, 0.96);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  padding: 14px;
  backdrop-filter: blur(14px);
  z-index: 7;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.55rem;
  border-radius: var(--r-pill);
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.status-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qp-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.85rem;
  color: var(--text);
  font-family: inherit;
  min-height: 56px;
}

.qp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.provider-chip {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.55rem;
  border-radius: var(--r-pill);
  background: rgba(124, 77, 255, 0.16);
  color: #b29bff;
  border: 1px solid rgba(124, 77, 255, 0.4);
}

.btn-mini {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-mini.primary {
  background: var(--grad-brand);
  color: #05060a;
  border-color: transparent;
}

.qc-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
}

/* glasses */
.glasses-stage {
  width: min(880px, 96vw);
  margin: 0 auto;
}

.glasses-frame {
  width: 100%;
  aspect-ratio: 880 / 220;
}

.hud-strip {
  margin: 1.25rem auto 0;
  width: min(720px, 96vw);
  font-family: var(--mono);
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  text-align: center;
  letter-spacing: 0.02em;
  box-shadow: var(--glow-cyan);
  animation: hudPulse 3.2s ease-in-out infinite;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

@keyframes hudPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(0,229,255,0.25), 0 0 24px rgba(0,229,255,0.18); }
  50% { box-shadow: 0 0 0 1px rgba(0,229,255,0.45), 0 0 36px rgba(0,229,255,0.32); }
}

.hud-confirm {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.85rem;
}

/* AR canvas */
.ar-stage {
  width: min(1100px, 96vw);
  margin: 0 auto;
  border-radius: var(--r-panel);
  border: 1px solid var(--border);
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 10%, #0e1326 0%, #04050a 70%);
  position: relative;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg);
}

.ar-stage svg {
  width: 100%;
  height: 100%;
}

.ar-card {
  position: absolute;
  border-radius: 18px;
  background: rgba(15, 18, 26, 0.92);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(18px);
  padding: 14px 16px;
  width: min(280px, 38%);
  box-shadow: var(--shadow-md);
  font-size: 0.88rem;
  line-height: 1.45;
}

.ar-card .title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.ar-card .meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.risk-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 0.18rem 0.5rem;
  border-radius: var(--r-pill);
  margin-top: 0.55rem;
}

.risk-pill.medium {
  background: rgba(255, 184, 77, 0.14);
  color: var(--warn);
  border: 1px solid rgba(255, 184, 77, 0.4);
}

.risk-pill.low {
  background: rgba(93, 255, 177, 0.12);
  color: var(--ok);
  border: 1px solid rgba(93, 255, 177, 0.32);
}

.ar-card.email {
  top: 18%;
  left: 6%;
  animation: arFloatA 7s ease-in-out infinite;
}

.ar-card.calendar {
  top: 35%;
  right: 7%;
  animation: arFloatB 8s ease-in-out infinite;
}

@keyframes arFloatA {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(0deg); }
}

@keyframes arFloatB {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-10px) rotate(0deg); }
}

/* AMOS logo + hero subtitle + definition line */
.brand-logo {
  font-size: 1.18rem;
  letter-spacing: 0.18em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}

.hero-sub {
  display: block;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted-strong);
  margin-top: 0.45rem;
  font-family: var(--mono);
  text-transform: none;
}

.definition {
  font-size: 0.92rem;
  color: var(--muted-strong);
  border-left: 2px solid var(--cyan-soft);
  padding: 0.5rem 0 0.5rem 0.85rem;
  margin: 1.1rem 0 1.5rem;
  max-width: 56ch;
}

.device-eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
}

.device-eyebrow strong {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.22em;
}

/* BYOK callout */
.byok-callout {
  margin-top: 1.5rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--r-panel);
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.07), rgba(124, 77, 255, 0.07));
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.1rem;
  align-items: start;
}

@media (max-width: 640px) {
  .byok-callout {
    grid-template-columns: 1fr;
  }
}

.byok-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.byok-icon svg {
  width: 32px;
  height: 32px;
}

.byok-callout h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.byok-callout p {
  margin: 0 0 0.5rem;
  color: var(--muted-strong);
  font-size: 0.94rem;
}

.byok-providers {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.byok-providers li {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.28rem 0.6rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.06);
}

/* Coming-soon ribbon on price card */
.price-card.coming-soon {
  border-style: dashed;
  border-color: rgba(255, 184, 77, 0.45);
  background: linear-gradient(180deg, rgba(255, 184, 77, 0.05), var(--surface-strong));
}

.price-card.coming-soon .ribbon {
  position: absolute;
  top: 14px;
  right: -34px;
  transform: rotate(35deg);
  background: linear-gradient(135deg, #ffb84d, #ff7a1a);
  color: #1a0f00;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 0.3rem 2.5rem;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(255, 122, 26, 0.35);
}

.price-card.coming-soon .btn {
  align-self: flex-start;
  width: 100%;
}

/* Device picker steps + cards */
.picker-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--muted-strong);
}

.picker-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #04050a;
  font-weight: 700;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.device-picker {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 760px) {
  .device-picker {
    grid-template-columns: repeat(3, 1fr);
  }
}

.picker-card {
  padding: 1.4rem;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  background: var(--surface-strong);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: border-color 0.2s, transform 0.15s;
}

.picker-card.available {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: var(--glow-cyan);
}

.picker-card.waitlist {
  border-style: dashed;
  border-color: rgba(255, 184, 77, 0.35);
  background: linear-gradient(180deg, rgba(255, 184, 77, 0.04), var(--surface-strong));
}

.picker-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.picker-card h3 small {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.82rem;
  margin-left: 0.3rem;
}

.picker-card p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.picker-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.22rem 0.55rem;
  border-radius: var(--r-pill);
  align-self: flex-start;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.picker-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.picker-status.ok {
  background: rgba(93, 255, 177, 0.1);
  border: 1px solid rgba(93, 255, 177, 0.4);
  color: var(--ok);
}
.picker-status.ok .dot {
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
}

.picker-status.warn {
  background: rgba(255, 184, 77, 0.1);
  border: 1px solid rgba(255, 184, 77, 0.4);
  color: var(--warn);
}
.picker-status.warn .dot {
  background: var(--warn);
  box-shadow: 0 0 6px var(--warn);
}

/* FAQ accordion */
.faq-list {
  display: grid;
  gap: 0.6rem;
}

.faq-list details {
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.95rem 1.15rem;
  transition: border-color 0.2s, background 0.2s;
}

.faq-list details[open] {
  border-color: rgba(0, 229, 255, 0.35);
  background: var(--surface-strong);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-family: var(--mono);
  font-weight: 500;
  color: var(--cyan);
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0.6rem 0 0;
  color: var(--muted-strong);
  font-size: 0.93rem;
  line-height: 1.6;
}

.faq-list code {
  font-family: var(--mono);
  font-size: 0.85em;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--cyan);
}

/* Pricing-card buy buttons */
.price-card .btn-buy {
  margin-top: 0.4rem;
  width: 100%;
}

/* Toast (removed — open-source site has no checkout) */
#amos-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 30px);
  background: rgba(10, 12, 20, 0.95);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  max-width: min(520px, 92vw);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 9999;
  text-align: center;
}

#amos-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

#amos-toast[data-kind="ok"]    { border-color: rgba(93,255,177,0.4); }
#amos-toast[data-kind="warn"]  { border-color: rgba(255,184,77,0.5); }
#amos-toast[data-kind="error"] { border-color: rgba(255,107,107,0.5); }

@media (prefers-reduced-motion: reduce) {
  .eyebrow .dot,
  .hud-strip,
  .ar-card.email,
  .ar-card.calendar,
  #amos-toast {
    animation: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}
