:root {
  color-scheme: dark;
  --bg: #05080d;
  --bg-2: #09111b;
  --card: rgba(17, 30, 45, 0.86);
  --card-2: rgba(22, 38, 56, 0.94);
  --line: rgba(132, 176, 218, 0.24);
  --line-strong: rgba(91, 169, 255, 0.42);
  --text: #f6f8fb;
  --muted: #aeb8c6;
  --subtle: #728095;
  --blue: #56bdf6;
  --blue-2: #377dff;
  --green: #3bd47c;
  --yellow: #ffc857;
  --red: #ff5f6d;
  --orange: #ff9638;
  --purple: #8c6cff;
  --cyan: #48d7e9;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% -8%, rgba(51, 148, 255, 0.28), transparent 34rem),
    radial-gradient(circle at 86% 4%, rgba(72, 215, 233, 0.12), transparent 25rem),
    linear-gradient(145deg, #03060a 0%, #09111b 48%, #03060a 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 10px 28px rgba(63, 149, 255, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 16, 26, 0.7);
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(86, 189, 246, 0.14);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 16, 26, 0.78);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--text);
}

.hero,
.section,
.document,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: 54px 0 38px;
}

.hero-copy h1,
.doc-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.8;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #051018;
  background: linear-gradient(135deg, #72d7ff, #2ca8ef);
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(44, 168, 239, 0.26);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.app-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.app-meta div,
.url-card,
.feature-card,
.panel,
.doc-card,
.support-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(19, 34, 51, 0.92), rgba(9, 18, 30, 0.92));
  box-shadow: var(--shadow);
}

.app-meta div {
  min-width: 0;
  padding: 15px;
  border-radius: 18px;
}

.app-meta dt {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
}

.app-meta dd {
  margin: 7px 0 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.device-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(121, 177, 232, 0.34);
  border-radius: 46px;
  background: linear-gradient(160deg, #101a27, #03070d);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.device-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shot {
  width: min(360px, 100%);
  max-height: 720px;
  justify-self: end;
}

.hero-shot img {
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top center;
}

.phone-preview {
  position: relative;
  width: min(360px, 100%);
  min-height: 650px;
  justify-self: end;
  padding: 18px;
  border: 1px solid rgba(121, 177, 232, 0.32);
  border-radius: 46px;
  background: linear-gradient(160deg, #101a27, #03070d);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.phone-top {
  width: 118px;
  height: 26px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #020305;
}

.app-screen {
  min-height: 590px;
  padding: 18px;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 0%, rgba(72, 191, 255, 0.22), transparent 20rem),
    linear-gradient(180deg, #0b1520, #060a10);
}

.screen-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 900;
}

.screen-header small {
  color: var(--muted);
}

.dashboard-card {
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(42, 118, 184, 0.44), rgba(13, 28, 45, 0.82));
}

.dashboard-card p,
.dashboard-card span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 33px;
  line-height: 1;
}

.progress {
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #72d7ff, #377dff);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.metric-grid div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric-grid b {
  display: block;
  margin-top: 7px;
  font-size: 18px;
  line-height: 1.1;
}

.line-chart {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 154px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 100% 33%,
    rgba(255, 255, 255, 0.035);
}

.line-chart span {
  flex: 1;
  min-width: 0;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #72d7ff, #327cff);
}

.section {
  padding: 44px 0;
}

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

.section-heading h2,
.panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

.section-heading p:not(.eyebrow),
.panel p:not(.eyebrow),
.feature-card p,
.doc-card p,
.support-card p,
.doc-hero p {
  color: var(--muted);
  line-height: 1.85;
}

.url-grid,
.feature-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.url-card,
.feature-card,
.support-card {
  padding: 22px;
  border-radius: 22px;
}

.url-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 900;
}

code {
  display: block;
  overflow-wrap: anywhere;
  color: #d9f2ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
}

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

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.screen-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(19, 34, 51, 0.92), rgba(9, 18, 30, 0.96));
  box-shadow: var(--shadow);
}

.screen-card img {
  display: block;
  width: 100%;
  aspect-ratio: 390 / 560;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
}

.screen-card.tall img {
  aspect-ratio: 390 / 680;
}

.screen-card figcaption {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.screen-card figcaption strong {
  font-size: 18px;
}

.screen-card figcaption span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.feature-card h3,
.support-card h2,
.doc-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.feature-icon {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--blue);
  box-shadow: 0 0 28px rgba(86, 189, 246, 0.3);
}

.feature-icon.green {
  background: var(--green);
}

.feature-icon.yellow {
  background: var(--yellow);
}

.feature-icon.purple {
  background: var(--purple);
}

.feature-icon.cyan {
  background: var(--cyan);
}

.feature-icon.orange {
  background: var(--orange);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.panel {
  padding: 28px;
  border-radius: 26px;
}

.panel.accent {
  border-color: rgba(255, 200, 87, 0.36);
}

.document {
  max-width: 920px;
  padding: 44px 0 30px;
}

.doc-hero {
  margin-bottom: 24px;
}

.doc-card {
  margin: 16px 0;
  padding: 26px;
  border-radius: 24px;
}

.doc-card p:last-child,
.support-card p:last-child,
.feature-card p:last-child {
  margin-bottom: 0;
}

.doc-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.ordered {
  padding-left: 24px;
}

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

.support-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.support-screens figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.support-screens img {
  display: block;
  width: 100%;
  aspect-ratio: 390 / 620;
  object-fit: cover;
  object-position: top center;
}

.support-screens figcaption {
  padding: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--blue);
  font-size: 13px;
}

td {
  color: var(--muted);
}

tr:last-child td {
  border-bottom: 0;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 900;
}

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

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.contact-card {
  border-color: var(--line-strong);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0 46px;
  color: var(--muted);
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer.compact {
  max-width: 920px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.footer-links a:hover {
  color: var(--blue);
}

.not-found {
  min-height: 75vh;
  display: grid;
  place-items: center;
}

@media (max-width: 860px) {
  .site-header {
    width: min(100% - 24px, 1120px);
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    display: none;
    width: min(260px, calc(100vw - 24px));
    padding: 10px;
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    border-radius: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .phone-preview {
    justify-self: center;
    min-height: 600px;
  }

  .url-grid,
  .feature-grid,
  .screenshot-grid,
  .support-grid,
  .support-screens,
  .split-section,
  .app-meta {
    grid-template-columns: 1fr;
  }

  .hero-shot {
    justify-self: center;
    max-height: 680px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .hero,
  .section,
  .document,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .hero-copy h1,
  .doc-hero h1 {
    font-size: 40px;
  }

  .phone-preview {
    min-height: auto;
    padding: 12px;
    border-radius: 34px;
  }

  .hero-shot,
  .screen-card {
    border-radius: 26px;
  }

  .screen-card img,
  .screen-card.tall img,
  .support-screens img {
    aspect-ratio: 390 / 560;
  }

  .app-screen {
    min-height: 520px;
    padding: 14px;
    border-radius: 24px;
  }

  .dashboard-card strong {
    font-size: 27px;
  }

  .metric-grid {
    gap: 8px;
  }

  .metric-grid div {
    padding: 12px;
  }

  .metric-grid b {
    font-size: 15px;
  }

  .doc-card,
  .support-card,
  .url-card,
  .feature-card,
  .panel {
    padding: 20px;
    border-radius: 20px;
  }
}
