@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap");

@font-face {
  font-family: "EloXSystem";
  src: local("-apple-system"), local("BlinkMacSystemFont");
}

@font-face {
  font-family: "Ionicons";
  src: url("/assets/fonts/Ionicons.ttf") format("truetype");
  font-display: block;
}

:root {
  color-scheme: dark;
  --bg: #080a12;
  --bg-elevated: #0d1220;
  --surface: #121827;
  --surface-raised: #171f33;
  --border: #232b3d;
  --border-strong: #33405f;
  --text: #ffffff;
  --muted: #a7b0c0;
  --faint: #6b7280;
  --blue: #4f8cff;
  --teal: #00d4c1;
  --gold: #f5c542;
  --silver: #c0c7d1;
  --bronze: #cd7f32;
  --green: #00e096;
  --red: #ff4d4d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", Inter, EloXSystem, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(145deg, rgba(0, 212, 193, 0.08) 0%, rgba(79, 140, 255, 0) 34%),
    linear-gradient(215deg, rgba(79, 140, 255, 0.12) 0%, rgba(8, 10, 18, 0) 42%),
    var(--bg);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(35, 43, 61, 0.74);
  background: rgba(8, 10, 18, 0.78);
  backdrop-filter: blur(18px);
}

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  font-size: 21px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.brand-wordmark img {
  width: 164px;
  height: auto;
  border-radius: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.nav-link:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  padding: 0 16px;
  font-weight: 700;
  font-size: 14px;
}

.nav-cta {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--text);
  min-height: 44px;
  padding: 0 18px;
}

.nav-cta:hover {
  background: #3f7bf0;
}

.hero {
  position: relative;
  min-height: 790px;
  padding: 104px 0 88px;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(115deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.28;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 190px;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(8, 10, 18, 0), var(--bg));
}

.hero-layout {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
  min-width: 0;
  position: relative;
  z-index: 5;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: 74px;
  line-height: 0.95;
  font-weight: 900;
}

.hero h1 span {
  color: var(--teal);
}

.hero-lede {
  max-width: 530px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-top: 30px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.app-store-badge:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.app-store-badge img {
  width: auto;
  height: 52px;
}

.play-store-disabled {
  position: relative;
  display: inline-grid;
  gap: 4px;
  min-height: 0;
  opacity: 0.48;
}

.play-store-disabled span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.play-store-disabled img {
  width: auto;
  height: 52px;
  filter: grayscale(1);
}

.play-store-disabled::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  height: 2px;
  background: rgba(255, 255, 255, 0.86);
  transform: rotate(-8deg);
  transform-origin: center;
}

.hero-phones {
  position: absolute;
  top: -34px;
  right: 0;
  width: clamp(520px, 49vw, 620px);
  height: clamp(510px, 48vw, 610px);
  z-index: 2;
  pointer-events: none;
}

.phone-shot {
  position: absolute;
  width: 46.8%;
  border-radius: 48px;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.42));
}

.phone-shot.one {
  top: 42px;
  left: 20px;
  transform: rotate(-7deg);
  opacity: 0.92;
}

.phone-shot.two {
  top: 0;
  right: 21%;
  width: 51.3%;
  z-index: 3;
}

.phone-shot.three {
  right: 0;
  top: 82px;
  transform: rotate(7deg);
  opacity: 0.9;
}

.section {
  padding: 76px 0;
}

.section-header {
  max-width: 700px;
  margin-bottom: 38px;
}

.modes-section {
  padding-top: 70px;
  padding-bottom: 6px;
}

#how {
  padding-top: 60px;
}

.modes-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.eyebrow {
  display: block;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 13px;
}

.section h2,
.legal-hero h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.05;
  font-weight: 900;
}

.section-lede,
.legal-hero p {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.mode-card {
  position: relative;
  min-height: 236px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(79, 140, 255, 0.09), transparent 42%),
    rgba(18, 24, 39, 0.82);
}

.mode-card:nth-child(2) {
  background:
    radial-gradient(circle at top right, rgba(0, 212, 193, 0.085), transparent 42%),
    rgba(18, 24, 39, 0.82);
}

.mode-topline {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
}

.mode-icon {
  flex: 0 0 auto;
  width: 42px;
  color: var(--gold);
  font-family: "Ionicons";
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mode-label {
  display: block;
  color: var(--text);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
}

.mode-lines {
  display: grid;
  gap: 10px;
}

.mode-lines p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.mode-lines span {
  color: var(--text);
}

.process-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-step {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.process-step span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
}

.process-step strong {
  display: block;
  color: var(--text);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
}

.process-step small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.process-arrow {
  color: var(--faint);
  font-size: 25px;
  font-weight: 800;
}

.site-footer {
  padding: 46px 0;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand-row img {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.footer-brand strong {
  display: block;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-brand span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 14px 22px;
}

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

.legal-page {
  background: var(--bg);
}

.legal-shell {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 70px;
}

.legal-top {
  margin-bottom: 42px;
}

.legal-hero h1 {
  font-size: 44px;
}

.legal-content {
  color: var(--muted);
  font-size: 16px;
}

.legal-content h2 {
  color: var(--text);
  font-size: 22px;
  margin: 40px 0 10px;
}

.legal-content h3 {
  color: var(--text);
  font-size: 17px;
  margin: 24px 0 8px;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul {
  margin: 10px 0 18px 20px;
  padding: 0;
}

.legal-content li {
  margin: 6px 0;
}

.legal-content a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-content code {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 5px;
}

.legal-table {
  overflow-x: auto;
  margin: 14px 0 24px;
}

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

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}

.legal-table th {
  color: var(--text);
  background: var(--surface);
}

.legal-table tr:nth-child(even) td {
  background: rgba(18, 24, 39, 0.5);
}

.legal-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 38px 0;
}

@media (max-width: 1060px) {
  .hero {
    min-height: 1160px;
    padding-top: 72px;
  }

  .hero-copy {
    max-width: 590px;
  }

  .hero h1 {
    font-size: 64px;
    line-height: 0.98;
  }

  .hero-lede {
    max-width: 560px;
    font-size: 20px;
  }

  .hero-phones {
    top: 470px;
    right: 50%;
    transform: translateX(50%);
    width: min(560px, calc(100vw - 48px));
    height: clamp(390px, 90vw, 530px);
  }

  .phone-shot {
    width: 46.8%;
    border-radius: 36px;
  }

  .phone-shot.two {
    width: 51.3%;
    right: 21%;
  }

  .mode-card {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .nav-inner,
  .container,
  .legal-shell {
    width: min(100% - 28px, 1160px);
  }

  .nav-inner {
    min-height: 70px;
  }

  .brand {
    font-size: 18px;
  }

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

  .brand-wordmark img {
    width: 134px;
    height: auto;
  }

  .nav-link {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    min-height: 1060px;
    padding: 48px 0 56px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.02;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-phones {
    top: 540px;
    width: min(396px, calc(100vw - 28px));
    height: 380px;
  }

  .phone-shot {
    width: 46.8%;
    border-radius: 28px;
  }

  .phone-shot.one {
    left: 0;
    top: 50px;
  }

  .phone-shot.two {
    width: 51.3%;
    right: 21%;
  }

  .phone-shot.three {
    top: 42px;
  }

  .section {
    padding: 62px 0;
  }

  .modes-section {
    padding-top: 18px;
    padding-bottom: 0;
  }

  #how {
    padding-top: 52px;
  }

  .section h2,
  .legal-hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

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

  .process-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
  }

  .process-arrow {
    display: none;
  }

  .process-step strong {
    font-size: 22px;
  }

  .mode-card {
    min-height: 214px;
    padding: 30px;
  }

  .mode-topline {
    align-items: flex-start;
    margin-bottom: 30px;
  }

  .mode-icon {
    width: 36px;
    height: 36px;
    font-size: 34px;
    margin-top: 1px;
  }

  .mode-label {
    font-size: 25px;
  }

  .mode-lines p {
    font-size: 18px;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-shell {
    padding-top: 38px;
  }
}

@media (max-width: 420px) {
  .nav-inner,
  .container,
  .legal-shell {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    min-height: 1040px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .app-store-badge img,
  .play-store-disabled img {
    height: 48px;
  }

  .play-store-disabled {
    min-height: 48px;
  }

  .hero-phones {
    top: 550px;
    width: min(370px, calc(100vw - 24px));
  }

  .phone-shot {
    width: 46.8%;
  }

  .phone-shot.two {
    width: 51.3%;
    right: 21%;
  }

  .section h2,
  .legal-hero h1 {
    font-size: 31px;
  }

  .footer-brand-row {
    align-items: flex-start;
  }

  .mode-card {
    min-height: 200px;
    padding: 28px;
  }

  .mode-label {
    font-size: 23px;
  }

  .mode-lines p {
    font-size: 17px;
  }
}

@media (max-width: 340px) {
  .brand-wordmark img {
    width: 118px;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 1060px;
  }

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

  .hero-phones {
    top: 580px;
    width: min(344px, calc(100vw - 24px));
  }
}
