:root {
  /* Palette — pulled from services/mobile/src/theme/colors.ts */
  --bg-base: #000000;
  --bg-elevated: #0b0b0b;
  --bg-bubble: #2a2a2e;
  --bg-input: #1c1c1e;
  --border: #3a3a3a;
  --accent: #39ff14;
  --accent-muted: rgba(57, 255, 20, 0.2);
  --text-primary: #ffffff;
  --text-muted: #9a9a9a;
  --danger: #ff6b6b;

  /* Type scale extends the mobile pixel sizes for desktop reading. */
  --font: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, sans-serif;

  --container: 1120px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Header ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-header__brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.site-header__nav {
  display: flex;
  gap: 28px;
}

.site-header__nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 120ms ease;
}

.site-header__nav a:hover {
  color: var(--text-primary);
}

@media (max-width: 640px) {
  .site-header__nav {
    gap: 18px;
  }
  .site-header__nav a {
    font-size: 14px;
  }
}

/* ============ Hero ============ */

.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  /* Subtle accent halo behind the phone — the only "loud" thing on the page. */
  content: "";
  position: absolute;
  top: 20%;
  right: -10%;
  width: 720px;
  height: 720px;
  background: radial-gradient(
    circle,
    rgba(57, 255, 20, 0.18) 0%,
    rgba(57, 255, 20, 0) 60%
  );
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eyebrow,
.section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.hero__title {
  font-size: 72px;
  line-height: 1.04;
  font-weight: 700;
  margin: 0;
  letter-spacing: -1px;
}

.hero__lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0;
}

.hero__footnote {
  font-size: 13px;
  color: var(--text-muted);
  margin: 4px 0 0 0;
}

@media (max-width: 960px) {
  .hero {
    padding: 64px 0 48px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__title {
    font-size: 48px;
  }
}

/* ============ Buttons ============ */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

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

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  text-align: left;
  min-width: 200px;
  transition: opacity 120ms ease, transform 120ms ease;
  border: 1px solid transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn__sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.btn__main {
  font-size: 18px;
  font-weight: 700;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg-base);
  border-color: var(--accent);
}

.btn--secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn:hover {
  opacity: 0.85;
}

.btn.is-disabled {
  cursor: not-allowed;
}

.btn.is-disabled:hover {
  opacity: 1;
}

/* ============ Phone mockup ============ */

.hero__media {
  display: flex;
  justify-content: center;
}

.phone {
  width: 320px;
  aspect-ratio: 9 / 19.5;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  position: relative;
}

.phone--small {
  width: 260px;
}

.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-base);
}

@media (max-width: 480px) {
  .phone {
    width: 280px;
  }
  .phone--small {
    width: 240px;
  }
}

/* ============ Sections ============ */

.section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.section--alt {
  background: #050505;
}

.section--cta {
  background: #050505;
  text-align: center;
}

.section-title {
  font-size: 40px;
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.section-body {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0;
}

.cta-block .section-body {
  margin-left: auto;
  margin-right: auto;
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }
  .section-title {
    font-size: 30px;
  }
}

/* ============ Feature grid ============ */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.feature {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.feature__title {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--text-primary);
}

.feature__body {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ============ Split rows ============ */

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  display: flex;
  justify-content: center;
}

.split__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 800px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split--reverse .split__media {
    order: 0;
  }
}

/* ============ Coming-soon page ============ */

.coming-soon {
  min-height: calc(100vh - 64px - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 0;
  text-align: center;
}

.coming-soon__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 560px;
}

.coming-soon__title {
  font-size: 56px;
  line-height: 1.04;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.5px;
}

.coming-soon__body {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0;
}

.coming-soon__back {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.coming-soon__back:hover {
  opacity: 0.8;
}

@media (max-width: 720px) {
  .coming-soon__title {
    font-size: 40px;
  }
}

/* ============ Footer ============ */

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

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__brand {
  font-size: 18px;
  font-weight: 700;
}

.site-footer__nav {
  display: flex;
  gap: 24px;
}

.site-footer__nav a {
  font-size: 14px;
  color: var(--text-muted);
}

.site-footer__nav a:hover {
  color: var(--text-primary);
}

.site-footer__copy {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
