:root {
  --bg: #050707;
  --panel: #101414;
  --panel-2: #151b1b;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f7f7;
  --muted: #a7b3b3;
  --dim: #748080;
  --accent: #00f9ef;
  --accent-2: #3298ff;
  --green: #2ed95d;
  --orange: #ff9829;
  --red: #ff454e;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 249, 239, 0.12);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 249, 239, 0.14), transparent 26rem),
    linear-gradient(180deg, #050707 0%, #081010 45%, #050707 100%);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

p,
ul,
ol {
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 6.2rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.15rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--accent);
  color: #001313;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 2rem));
}

.section-pad {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.035);
  border-block: 1px solid rgba(255, 255, 255, 0.07);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 7, 7, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand img {
  width: 184px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}

.site-nav a {
  text-decoration: none;
}

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

.nav-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.78rem 1.05rem;
  text-decoration: none;
  font-weight: 800;
}

.nav-cta {
  background: var(--accent);
  color: #001313;
}

.button.primary {
  background: var(--accent);
  color: #001313;
  box-shadow: 0 0 0 1px rgba(0, 249, 239, 0.28), 0 14px 40px rgba(0, 249, 239, 0.18);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 620px;
  margin: 1.4rem 0 0;
  color: #d2dddd;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-meta span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  padding: 0.4rem 0.65rem;
  font-size: 0.86rem;
}

.hero-media {
  position: relative;
  min-height: 540px;
}

.device-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #090b0b;
  box-shadow: var(--shadow);
}

.desktop-frame {
  border-radius: var(--radius);
}

.desktop-frame img {
  aspect-ratio: 2784 / 1864;
  object-fit: cover;
}

.phone-frame {
  border-radius: 2rem;
  padding: 0.5rem;
}

.phone-frame img {
  border-radius: 1.45rem;
}

.hero-media .desktop-frame {
  width: min(720px, 100%);
  transform: translateX(2rem);
}

.hero-phone {
  position: absolute;
  right: 0;
  bottom: -1rem;
  width: min(250px, 38vw);
}

.trust-strip {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.strip-grid span {
  padding: 1.1rem;
  color: #dce7e7;
  font-weight: 800;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.strip-grid span:first-child {
  border-left: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading p:last-child,
.split-section p {
  font-size: 1.06rem;
}

.steps-grid,
.feature-grid,
.screenshot-grid,
.support-list {
  display: grid;
  gap: 1rem;
}

.steps-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.step-card,
.feature-card,
.support-list article,
.faq-list details,
.screenshot-grid figure,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.step-card,
.feature-card,
.support-list article {
  padding: 1.15rem;
}

.step-number {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.split-section.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
}

.check-list {
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.check-list li {
  margin: 0.65rem 0;
  padding-left: 1.6rem;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.phone-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.phone-pair .phone-frame {
  width: min(260px, 44vw);
}

.phone-pair .offset {
  transform: translateY(2rem);
}

.media-stack .small {
  width: 70%;
  margin: -3rem 0 0 auto;
}

.screenshot-grid {
  grid-template-columns: 1fr 1fr 0.72fr;
  align-items: start;
}

.screenshot-grid figure {
  margin: 0;
  overflow: hidden;
}

.screenshot-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-grid figcaption {
  padding: 0.8rem 1rem;
  color: var(--muted);
  font-weight: 800;
}

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

.cta-panel {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.cta-panel img {
  width: 88px;
  border-radius: var(--radius);
}

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

.text-link {
  color: var(--accent);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.faq-wrap {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  padding: 1rem 1.15rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
}

.faq-list p {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.2rem 0;
  background: #030505;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: start;
}

.footer-logo {
  width: 160px;
  margin-bottom: 0.8rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--dim);
  font-size: 0.9rem;
}

.page-main {
  min-height: 70vh;
}

.page-hero {
  background: radial-gradient(circle at 70% 0%, rgba(0, 249, 239, 0.13), transparent 28rem);
}

.page-hero h1 {
  max-width: 13ch;
}

.docs-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2.5rem;
}

.docs-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 0.45rem;
  align-self: start;
}

.docs-nav a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.docs-content {
  display: grid;
  gap: 2rem;
}

.docs-content article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2rem;
}

.docs-content h2,
.legal-page h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.8rem;
}

.muted {
  color: var(--dim);
}

.legal-page h1 {
  margin-bottom: 1rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav:not(.simple) {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 13, 13, 0.98);
  }

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

  .site-nav:not(.simple) a {
    padding: 0.65rem 0;
  }

  .hero-grid,
  .split-section,
  .split-section.reverse,
  .support-grid,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-media .desktop-frame {
    transform: none;
  }

  .steps-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .docs-nav {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .container,
  .narrow {
    width: min(100% - 1.2rem, 1160px);
  }

  .brand img {
    width: 150px;
  }

  .site-nav.simple {
    gap: 0.55rem;
    font-size: 0.82rem;
  }

  .site-nav.simple .nav-cta {
    display: none;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-phone {
    width: 42vw;
  }

  .hero-actions .button {
    width: 100%;
  }

  .steps-grid,
  .feature-grid,
  .screenshot-grid,
  .strip-grid,
  .docs-nav {
    grid-template-columns: 1fr;
  }

  .strip-grid span {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .strip-grid span:first-child {
    border-top: 0;
  }

  .phone-pair {
    gap: 0.5rem;
  }

  .phone-frame {
    border-radius: 1.3rem;
    padding: 0.35rem;
  }

  .phone-frame img {
    border-radius: 0.95rem;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
