:root {
  --ink: #070b12;
  --ink-soft: #152033;
  --muted: #5a6678;
  --faint: #8b97a8;
  --line: rgba(12, 27, 58, 0.08);
  --line-strong: rgba(12, 27, 58, 0.14);
  --bg: #f6f7f9;
  --bg-soft: #eef0f4;
  --bg-wash: #fafbfc;
  --surface: #ffffff;
  --signal: #0f9ea1;
  --signal-bright: #1ab8bb;
  --signal-soft: #d5f3f3;
  --navy: #0a1834;
  --navy-deep: #06101f;
  --pause: #c45d26;
  --pause-soft: #fde8dc;
  --font-display: "Sora", sans-serif;
  --font-ui: "Figtree", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
  --shadow: 0 18px 50px rgba(6, 16, 31, 0.1), 0 2px 8px rgba(6, 16, 31, 0.04);
  --shadow-lg: 0 32px 80px rgba(6, 16, 31, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.015em;
}
a { color: inherit; text-decoration: none; }
code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--bg-soft);
  padding: 0.12rem 0.35rem;
  border-radius: 0.35rem;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.06em;
  white-space: nowrap;
  color: var(--navy);
}
.wordmark .accent {
  color: var(--signal);
  font-style: normal;
  letter-spacing: inherit;
}

/* —— Suite header —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.7rem 1.5rem 0.8rem;
  background: rgba(246, 247, 249, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.nav-brand-block {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1;
}
.nav-brand .wordmark { font-size: 1.4rem; }
.nav-mark {
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  display: block;
  border-radius: 0.55rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(10, 24, 52, 0.22);
}
.nav-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }

.suite-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-strong);
  box-shadow: 0 1px 2px rgba(6, 16, 31, 0.04);
}
.suite-nav a {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--muted);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s var(--ease);
}
.suite-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.suite-nav a.is-active {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 6px 16px rgba(10, 24, 52, 0.25);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-self: end;
}
.nav-actions a.signin {
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--muted);
  padding: 0.45rem 0.75rem;
}
.nav-actions a.signin:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 650;
  font-size: 0.92rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-dark {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 28px rgba(10, 24, 52, 0.22);
}
.btn-dark:hover { background: #122448; }
.btn-signal {
  background: var(--signal);
  color: #fff;
  box-shadow: 0 10px 28px rgba(15, 158, 161, 0.28);
}
.btn-signal:hover { background: #0d8b8e; }
.btn-light {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-light:hover { background: #fff; }
.btn-lg { padding: 0.92rem 1.45rem; font-size: 0.98rem; }

/* —— Product hero —— */
.product-hero {
  position: relative;
  min-height: calc(100dvh - 5.2rem);
  display: grid;
  align-items: center;
  padding: 3rem clamp(1.25rem, 4vw, 3.25rem) 3.25rem;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(15, 158, 161, 0.16), transparent 55%),
    radial-gradient(700px 480px at 100% 0%, rgba(196, 93, 38, 0.1), transparent 50%),
    linear-gradient(165deg, #fbfcfd 0%, #f1f3f7 45%, #e8ecf2 100%);
}
.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.product-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5rem;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.product-hero-grid {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem 3rem;
  align-items: center;
}
.product-hero-copy { animation: rise 0.7s var(--ease) both; }
.product-hero-visual {
  animation: rise 0.85s var(--ease) 0.1s both;
  min-width: 0;
}

.product-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 650;
  margin: 0 0 1.05rem;
  padding: 0.35rem 0.7rem 0.35rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 158, 161, 0.22);
}
.product-kicker::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(15, 158, 161, 0.18);
  animation: pulse 1.8s ease-in-out infinite;
}
.product-kicker.is-soon {
  color: var(--pause);
  border-color: rgba(196, 93, 38, 0.25);
  background: rgba(253, 232, 220, 0.45);
}
.product-kicker.is-soon::before {
  background: var(--pause);
  box-shadow: 0 0 0 4px rgba(196, 93, 38, 0.18);
  animation: none;
}

.product-hero h1 {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(2.15rem, 4.4vw, 3.25rem);
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 0 0 1.05rem;
  color: var(--navy);
}
.product-hero .lede {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
  max-width: 32rem;
}
.product-hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}
.product-hero .cta-note {
  margin: 0;
  color: var(--faint);
  font-size: 0.86rem;
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

/* Visual mocks */
.mock {
  border-radius: 1.15rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.45s var(--ease);
}
.product-hero-visual:hover .mock {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0deg);
}
.mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}
.mock-chrome i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
}
.mock-chrome i:nth-child(1) { background: #ff5f57; }
.mock-chrome i:nth-child(2) { background: #febc2e; }
.mock-chrome i:nth-child(3) { background: #28c840; }
.mock-chrome span { margin-left: 0.35rem; }
.mock-body { padding: 1rem 1.05rem 1.15rem; }
.mock-term {
  background: var(--navy-deep);
  color: #c8d4e4;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.55;
  padding: 1rem 1.05rem 1.15rem;
  min-height: 14rem;
}
.mock-term .ok { color: #5fd4d0; }
.mock-term .bad { color: #ff8f7a; }
.mock-term .dim { color: rgba(200, 212, 228, 0.45); }
.mock-term .hi { color: #fff; font-weight: 600; }

.mock-card {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.85rem 0.95rem;
  background: linear-gradient(180deg, #fff, #f7fafb);
}
.mock-card .meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--faint);
  margin-bottom: 0.4rem;
}
.mock-card h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.mock-card pre {
  margin: 0.55rem 0 0.75rem;
  padding: 0.55rem 0.65rem;
  background: var(--bg-soft);
  border-radius: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--ink-soft);
  white-space: pre-wrap;
}
.mock-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.mock-actions span {
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
}
.mock-actions .go {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}
.mock-actions .deny {
  background: #fdecea;
  border-color: rgba(180, 35, 24, 0.2);
  color: #b42318;
}

.mock-radar {
  display: grid;
  gap: 0.75rem;
}
.mock-radar .row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: end;
  padding: 0.7rem 0.8rem;
  border-radius: 0.75rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.mock-radar .row strong {
  display: block;
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}
.mock-radar .row small {
  color: var(--muted);
  font-size: 0.75rem;
}
.mock-radar .bars {
  display: flex;
  align-items: flex-end;
  gap: 0.2rem;
  height: 2rem;
}
.mock-radar .bars i {
  width: 0.35rem;
  border-radius: 2px;
  background: var(--signal);
  display: block;
  opacity: 0.85;
}
.mock-radar .alert {
  border-color: rgba(196, 93, 38, 0.25);
  background: var(--pause-soft);
}
.mock-radar .alert strong { color: var(--pause); }

/* Flow strip */
.flow-strip {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: -1.5rem auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  padding: 0.55rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.flow-strip a {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  transition: background 0.15s ease, transform 0.15s var(--ease);
}
.flow-strip a:hover { background: var(--bg-soft); transform: translateY(-1px); }
.flow-strip a.is-active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 28px rgba(10, 24, 52, 0.22);
}
.flow-strip .step {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
}
.flow-strip a.is-active .step { color: var(--signal-bright); opacity: 1; }
.flow-strip h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.flow-strip p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}
.flow-strip a.is-active p { color: rgba(255, 255, 255, 0.7); }

/* Sections */
.section {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.25rem 0;
}
.section-head {
  max-width: 36rem;
  margin: 0 0 2rem;
}
.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 0.75rem;
  font-weight: 650;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin: 0 0 0.65rem;
  color: var(--navy);
}
.section-lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.feature-tile {
  padding: 1.15rem 1.2rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(6, 16, 31, 0.03);
  transition: transform 0.2s var(--ease), border-color 0.15s ease, box-shadow 0.2s ease;
  animation: rise 0.6s var(--ease) both;
}
.feature-tile:nth-child(2) { animation-delay: 0.05s; }
.feature-tile:nth-child(3) { animation-delay: 0.1s; }
.feature-tile:nth-child(4) { animation-delay: 0.15s; }
.feature-tile:nth-child(5) { animation-delay: 0.2s; }
.feature-tile:nth-child(6) { animation-delay: 0.25s; }
.feature-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 158, 161, 0.35);
  box-shadow: var(--shadow);
}
.feature-tile .n {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--signal);
  letter-spacing: 0.06em;
  margin: 0 0 0.45rem;
}
.feature-tile h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.feature-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.band {
  border-top: 1px solid var(--line);
  background: var(--bg-wash);
}
.band-alt { background: transparent; }

.install-panel {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1.1rem;
  background: var(--navy-deep);
  color: #c8d4e4;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}
.install-panel .label {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal-bright);
}
.install-panel pre {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: clamp(0.92rem, 2.2vw, 1.05rem);
  color: #fff;
  white-space: pre-wrap;
  word-break: break-all;
}
.install-panel .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.88rem;
}
.install-panel .links a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.install-panel .links a:hover { color: #fff; }

.site-foot {
  border-top: 1px solid var(--line);
  padding: 1.75rem 1.5rem 2rem;
  background: #fff;
}
.foot-simple {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  align-items: center;
  color: var(--faint);
  font-size: 0.82rem;
}
.foot-simple a { color: var(--muted); font-weight: 600; }
.foot-simple a:hover { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (max-width: 900px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mock { transform: none; }
  .product-hero-visual:hover .mock { transform: none; }
  .flow-strip { grid-template-columns: 1fr; margin-top: -1rem; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .site-nav {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 0.65rem;
    padding: 0.75rem 1rem 0.85rem;
  }
  .nav-brand-block { order: 1; }
  .nav-actions { order: 2; justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
