:root {
  --bg: #070b10;
  --bg-soft: #0a1017;
  --surface: #111821;
  --surface-2: #17202b;
  --panel: #0c1219;
  --border: #223040;
  --border-strong: #31465d;
  --text: #edf4ff;
  --muted: #73839a;
  --muted-strong: #9babbe;
  --accent: #f6a313;
  --accent-2: #ffbf45;
  --success: #3ddc97;
  --success-bg: #12382e;
  --danger: #ff7373;
  --danger-bg: #3f2028;
  --info: #66a6ff;
  --info-bg: #162b49;
  --max-width: 1180px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(34, 48, 64, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 48, 64, 0.1) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 12%, rgba(102, 166, 255, 0.14), transparent 28%),
    radial-gradient(circle at 72% 8%, rgba(246, 163, 19, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(7, 11, 16, 0.62), #070b10 58%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(246, 163, 19, 0.82);
  outline-offset: 4px;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--accent);
  color: #05080c;
  font-weight: 900;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(34, 48, 64, 0.78);
  background: rgba(7, 11, 16, 0.86);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(7, 11, 16, 0.96);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  padding: 0 1.35rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.12rem;
  font-weight: 950;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: contain;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-menu a:not(.nav-cta):hover,
.site-menu a:not(.nav-cta):focus-visible {
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 950;
  padding: 0 1.1rem;
}

.nav-cta,
.button--primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #05080c;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button--primary:hover,
.button--primary:focus-visible {
  background: var(--accent-2);
}

.button--secondary {
  border: 1px solid var(--border-strong);
  background: rgba(17, 24, 33, 0.82);
  color: var(--text);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--info);
  background: var(--surface-2);
}

.nav-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}

.nav-toggle__bar {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle__bar:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle__bar:nth-child(3) {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: rotate(-45deg);
}

.section {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 6.4rem 1.35rem;
}

.section[id] {
  scroll-margin-top: 96px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.98fr);
  gap: clamp(2.25rem, 4vw, 3.6rem);
  align-items: center;
  min-height: clamp(600px, calc(100vh - 76px), 720px);
  padding-top: clamp(2.8rem, 6vh, 4rem);
  padding-bottom: clamp(2.8rem, 6vh, 4rem);
}

.hero__copy {
  min-width: 0;
  max-width: 640px;
}

.eyebrow,
.kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: 6.4rem;
  line-height: 0.92;
}

h2 {
  margin-bottom: 1rem;
  font-size: 3.65rem;
  line-height: 1;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

p {
  color: var(--muted-strong);
  line-height: 1.65;
}

.hero__lede {
  max-width: 56ch;
  margin-bottom: 1.6rem;
  font-size: 1.14rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 1.45rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--border);
}

.hero__metrics div,
.trust-band article,
.platform-card,
.feature-list article,
.ios-features article,
.deployment-grid article,
.cta-panel,
.phone-shell {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(23, 32, 43, 0.94), rgba(12, 18, 25, 0.98));
  box-shadow: var(--shadow);
}

.hero__metrics div {
  border: 0;
  border-radius: 0;
  background: rgba(17, 24, 33, 0.95);
  box-shadow: none;
  padding: 0.9rem 1rem;
}

.hero__metrics span,
.trust-band span,
.deployment-grid span,
.feature-number {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero__metrics strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.85rem;
  min-width: 0;
  min-height: 0;
}

.dashboard-shot {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 534 / 397;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #070b10;
  box-shadow: var(--shadow);
}

.dashboard-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dashboard-shot::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(7, 11, 16, 0), rgba(7, 11, 16, 0.98) 76%);
  backdrop-filter: blur(6px);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 30px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 950;
  padding: 0.32rem 0.65rem;
  white-space: nowrap;
}

.status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
}

.status--live {
  background: var(--success-bg);
  color: var(--success);
}

.status--live::before {
  background: var(--success);
}

.status--danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.status--danger::before {
  background: var(--danger);
}

.status--muted {
  background: rgba(115, 131, 154, 0.18);
  color: var(--muted-strong);
}

.status--muted::before {
  background: var(--muted);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 2.6rem;
}

.trust-band article,
.platform-card,
.feature-list article,
.ios-features article,
.deployment-grid article {
  box-shadow: none;
  padding: 1.25rem;
}

.trust-band strong {
  display: block;
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.trust-band p,
.platform-card p,
.feature-list p,
.ios-features p,
.deployment-grid p {
  margin-bottom: 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 2.3rem;
}

.section-heading p {
  max-width: 70ch;
}

.section-heading--side {
  position: sticky;
  top: 108px;
  align-self: start;
  margin-bottom: 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.platform-card--wide {
  grid-column: 1 / -1;
  min-height: 220px;
}

.platform-card h3 {
  max-width: 620px;
  font-size: 1.65rem;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: start;
}

.feature-section--reverse {
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
}

.feature-section--reverse .section-heading {
  grid-column: 2;
  grid-row: 1;
}

.feature-section--reverse .ios-panel {
  grid-column: 1;
  grid-row: 1;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-list article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0 1rem;
}

.feature-number {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--panel);
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.ios-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
  align-items: center;
}

.phone-shell {
  max-width: 310px;
  justify-self: center;
  padding: 0.85rem;
  background: #05080c;
}

.phone-shell__speaker {
  width: 78px;
  height: 5px;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  background: var(--border-strong);
}

.phone-shell__screen {
  min-height: 520px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 1rem;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.phone-header img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: contain;
}

.phone-header span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.phone-header strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.2rem;
}

.phone-alert {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  padding: 1rem;
}

.phone-alert strong {
  display: block;
  margin: 0.8rem 0 0.4rem;
  font-size: 1.35rem;
}

.phone-alert p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.phone-tabs span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.phone-tabs span:nth-child(2) {
  border-color: rgba(246, 163, 19, 0.6);
  color: var(--accent);
}

.ios-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.deployment {
  width: 100%;
  max-width: none;
  background: rgba(12, 18, 25, 0.78);
}

.deployment > * {
  width: min(100%, var(--max-width));
  margin-right: auto;
  margin-left: auto;
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.deployment-grid article {
  min-height: 230px;
}

.deployment-grid span {
  color: var(--info);
}

.cta-section {
  padding-top: 4.4rem;
}

.cta-panel {
  display: grid;
  justify-items: start;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1.35rem, 3vw, 2rem);
}

.cta-panel img {
  width: 72px;
  height: 72px;
  margin-bottom: 1.1rem;
  border-radius: 8px;
  object-fit: contain;
}

.cta-panel p {
  max-width: 68ch;
}

.legal-hero {
  max-width: 920px;
  padding-bottom: 2.2rem;
}

.legal-hero h1 {
  font-size: clamp(3.4rem, 9vw, 6rem);
}

.legal-hero p {
  max-width: 72ch;
  font-size: 1.08rem;
}

.legal-updated {
  color: var(--accent);
  font-weight: 900;
}

.legal-page {
  display: grid;
  gap: 1rem;
  max-width: 920px;
  padding-top: 0;
}

.legal-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(23, 32, 43, 0.94), rgba(12, 18, 25, 0.98));
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.legal-panel h2 {
  font-size: 1.45rem;
  line-height: 1.15;
}

.legal-panel p:last-child,
.legal-panel ul:last-child {
  margin-bottom: 0;
}

.legal-panel a {
  color: var(--accent);
  font-weight: 900;
}

.legal-panel ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted-strong);
  line-height: 1.65;
}

.legal-panel li + li {
  margin-top: 0.4rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 2rem 1.35rem 3rem;
  color: var(--muted-strong);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--text);
}

.site-footer a {
  color: var(--accent);
  font-weight: 950;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem 1rem;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 5.2rem;
  }

  h2 {
    font-size: 3.1rem;
  }

  .deployment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-section,
  .feature-section--reverse {
    grid-template-columns: 1fr;
  }

  .section-heading--side {
    position: static;
  }

  .feature-section--reverse .section-heading,
  .feature-section--reverse .ios-panel {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__visual {
    align-items: center;
  }

  .dashboard-shot {
    width: min(100%, 560px);
  }

}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-menu {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    padding: 0.65rem;
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    border-radius: 6px;
    padding: 0.75rem;
  }

  .nav-cta {
    justify-content: center;
  }

  .section {
    padding-top: 4.6rem;
    padding-bottom: 4.6rem;
  }

  .legal-hero {
    padding-bottom: 2rem;
  }

  .legal-page {
    padding-top: 0;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero__metrics,
  .trust-band,
  .platform-grid,
  .ios-panel,
  .ios-features,
  .deployment-grid {
    grid-template-columns: 1fr;
  }

  .platform-card--wide {
    grid-column: auto;
  }

  .hero__visual {
    align-items: stretch;
    gap: 1rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    min-height: 66px;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .brand {
    font-size: 1rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero__lede {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero__copy,
  .hero__visual,
  .hero__actions,
  .hero__metrics,
  .dashboard-shot {
    width: 100%;
    max-width: 100%;
  }

  .hero__actions .button {
    width: 100%;
  }

  .feature-list article {
    grid-template-columns: 1fr;
  }

  .feature-number {
    margin-bottom: 1rem;
  }

  .phone-shell {
    max-width: 100%;
  }

  .cta-panel {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
