﻿@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #fff8ee;
  --bg-alt: #fff3e4;
  --ink: #2c2c2c;
  --muted: #5a5a5a;
  --accent: #ff7a2f;
  --accent-light: #ff9f43;
  --accent-dark: #d35a1f;
  --card: #ffffff;
  --chip: #ffecd6;
  --border: rgba(44, 44, 44, 0.07);
  --shadow: 0 18px 40px rgba(44, 44, 44, 0.08);
  --radius-lg: 22px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 110px;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

.background-glow {
  position: fixed;
  inset: -20% -10% auto;
  height: 60vh;
  background: radial-gradient(circle at 10% 20%, rgba(255, 154, 83, 0.35), transparent 60%),
    radial-gradient(circle at 70% 10%, rgba(255, 122, 47, 0.22), transparent 55%);
  z-index: -1;
  pointer-events: none;
}

.container {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section-title {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, #ffffff 70%, transparent);
  border-bottom: 1px solid var(--border);
}

.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-image {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--border);
  padding: 2px;
}

.logo-type {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.nav a:hover,
.nav a:focus {
  color: var(--accent-dark);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 122, 47, 0.45);
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  display: block;
}

.hero {
  padding: 120px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 56px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin-top: 18px;
  font-weight: 700;
}

.lead {
  font-size: 1.1rem;
  margin-top: 18px;
  max-width: 520px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  min-height: 50px;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px rgba(255, 122, 47, 0.22);
}

.btn.primary:hover,
.btn.primary:focus {
  background: var(--accent-dark);
}

.btn.ghost {
  border-color: rgba(255, 122, 47, 0.45);
  color: var(--ink);
  background: transparent;
}

.btn.ghost:hover,
.btn.ghost:focus {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 32px;
  color: var(--muted);
}

.meta-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.meta-value {
  display: block;
  font-weight: 600;
  margin-top: 6px;
  color: var(--ink);
}

.hero-visual {
  display: grid;
  place-items: center;
}

.device-stack {
  position: relative;
  display: grid;
  gap: 18px;
}

.phone {
  width: min(280px, 70vw);
  background: #2c2c2c;
  padding: 16px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.screen {
  background: #fff8ee;
  border-radius: 20px;
  padding: 16px;
  display: grid;
  gap: 18px;
  min-height: 320px;
}

.screen-top {
  display: flex;
  gap: 8px;
}

.screen-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(44, 44, 44, 0.3);
}

.screen-title {
  font-weight: 600;
  font-size: 1rem;
}

.screen-sub {
  font-size: 1.3rem;
  font-weight: 600;
}

.wave {
  height: 90px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(255, 159, 67, 0.4), rgba(255, 122, 47, 0.2));
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  background: var(--chip);
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.card {
  background: var(--card);
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(44, 44, 44, 0.08);
  width: min(260px, 70vw);
  position: absolute;
  right: -10px;
  bottom: -30px;
}

.card-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.card-grid span {
  height: 36px;
  border-radius: 10px;
  background: rgba(44, 44, 44, 0.08);
}

.download-grid,
.feature-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.download-card,
.feature-card,
.faq-item,
.terms-card {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 14px 24px rgba(44, 44, 44, 0.08);
  display: grid;
  gap: 12px;
}

.download-card h3,
.feature-card h3,
.faq-item h3,
.terms-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.download-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.sticky-download {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(1100px, 92vw);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 16px 36px rgba(44, 44, 44, 0.16);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 50;
}

.sticky-download strong {
  display: block;
  font-size: 1rem;
}

.sticky-download span {
  color: var(--muted);
  font-size: 0.9rem;
}

.release-notes {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 12px 24px rgba(44, 44, 44, 0.08);
  display: grid;
  gap: 14px;
}

.provider-banner {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.12), rgba(255, 122, 47, 0.06));
  box-shadow: 0 12px 24px rgba(44, 44, 44, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.provider-banner h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.provider-banner p {
  color: var(--muted);
  margin-top: 6px;
}

.release-notes h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.waitlist {
  margin-top: 32px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff;
  display: grid;
  gap: 20px;
  align-items: center;
  box-shadow: 0 18px 36px rgba(255, 122, 47, 0.22);
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.waitlist input {
  flex: 1 1 200px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.info-row {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  background: #fffaf4;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.info-item .label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 14px 24px rgba(44, 44, 44, 0.08);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.terms-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.plain-list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.plain-list li {
  padding-left: 18px;
  position: relative;
}

.plain-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.legal {
  display: grid;
  gap: 22px;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 12px 24px rgba(44, 44, 44, 0.08);
  display: grid;
  gap: 10px;
}

.legal h2 {
  font-size: 1.2rem;
  font-weight: 700;
}

.site-footer {
  padding: 60px 0;
  background: #2c2c2c;
  color: #fff8ee;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-brand {
  font-size: 1.6rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-text,
.site-footer a {
  color: rgba(255, 248, 238, 0.78);
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--card);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 12px;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transform: translateY(-8px);
    transition: 0.2s ease;
    z-index: 20;
  }

  body.nav-open .nav {
    max-height: 380px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    padding-top: 90px;
  }

  .card {
    position: static;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 96px 0 60px;
  }

  .hero-grid {
    gap: 36px;
  }

  .section-title h2 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .lead {
    font-size: 1rem;
  }

  .cta-row,
  .waitlist-form {
    flex-direction: column;
    align-items: stretch;
  }

  .sticky-download {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .provider-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .phone {
    width: min(240px, 80vw);
  }

  .screen {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
  }

  .btn,
  .nav a {
    transition: none;
  }
}
