:root {
  --bg: #0b0f14;
  --bg-2: #111827;
  --bg-3: #151c29;
  --text: #f5f0e6;
  --muted: #b8b2a8;
  --brand: #f5a524;
  --brand-2: #1fb6a6;
  --accent: #ff6b4a;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  background: radial-gradient(1200px 800px at 85% -10%, rgba(31, 182, 166, 0.18), transparent 55%),
              radial-gradient(900px 700px at -10% 20%, rgba(245, 165, 36, 0.22), transparent 55%),
              linear-gradient(160deg, var(--bg), var(--bg-2));
  color: var(--text);
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: auto;
  width: 420px;
  height: 420px;
  filter: blur(70px);
  opacity: 0.35;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.5), transparent 65%);
  animation: float 18s ease-in-out infinite;
}

body::before {
  top: 10%;
  left: -120px;
}

body::after {
  bottom: 5%;
  right: -140px;
  animation-delay: 2s;
  background: radial-gradient(circle, rgba(31, 182, 166, 0.5), transparent 60%);
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--brand);
  color: #0b0f14;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 20, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: conic-gradient(from 180deg, var(--brand), var(--accent), var(--brand-2));
  box-shadow: 0 12px 24px rgba(245, 165, 36, 0.2);
}

.brand span {
  font-family: "Fraunces", serif;
  font-size: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a {
  padding: 6px 2px;
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--accent));
  color: #1a1206;
  box-shadow: 0 14px 26px rgba(245, 165, 36, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--muted);
  padding: 10px 14px;
}

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

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

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.badge {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.device-mock {
  position: relative;
  height: 520px;
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px var(--shadow);
  padding: 28px 22px;
  overflow: hidden;
}

.device-mock::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 120px;
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transform: translateX(-50%);
}

.device-card {
  margin-top: 24px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.device-metric {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.section {
  padding: 70px 0;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.section-title h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-title p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 182, 166, 0.15);
  color: var(--brand-2);
  font-weight: 600;
  font-size: 0.85rem;
}

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

.step {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  background: rgba(245, 165, 36, 0.2);
  color: var(--brand);
  margin-bottom: 10px;
}

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

.highlight {
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(31, 182, 166, 0.1), rgba(245, 165, 36, 0.08));
}

.highlight ul {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
}

.highlight li {
  display: flex;
  gap: 10px;
}

.highlight li::before {
  content: "-";
  color: var(--brand);
}

.faq details {
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
}

.faq details + details {
  margin-top: 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.6;
}

.cta-band {
  padding: 40px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.15), rgba(245, 165, 36, 0.1));
  display: grid;
  gap: 16px;
}

.cta-band h3 {
  font-family: "Fraunces", serif;
  font-size: 2rem;
}

.download-cta {
  gap: 22px;
}

.download-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.download-top p {
  color: var(--muted);
  line-height: 1.6;
}

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

.download-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.82);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.42);
}

.app-store-badge:focus-visible {
  outline: 3px solid rgba(245, 165, 36, 0.65);
  outline-offset: 4px;
}

.app-store-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(from 180deg, rgba(245, 165, 36, 0.95), rgba(255, 107, 74, 0.95), rgba(31, 182, 166, 0.95));
  color: #0b0f14;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.3);
}

.app-store-badge-icon svg {
  width: 22px;
  height: 22px;
}

.app-store-badge-text {
  display: grid;
  gap: 2px;
  line-height: 1.05;
  text-align: left;
}

.app-store-badge-small {
  font-size: 0.72rem;
  color: rgba(245, 240, 230, 0.82);
  letter-spacing: 0.2px;
}

.app-store-badge-large {
  font-family: "Fraunces", serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-card {
  display: grid;
  gap: 14px;
}

.contact-card a {
  color: var(--brand-2);
}

.form {
  display: grid;
  gap: 12px;
}

.form input,
.form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.footer {
  padding: 40px 0 30px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
}

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

.footer a {
  color: var(--muted);
}

.text-underline {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.font-size-sm {
  font-size: 0.95rem;
}

.legal-page {
  padding: 80px 0 60px;
}

.legal-page h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  margin-bottom: 16px;
}

.legal-page h2 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-page ul {
  list-style: disc;
  margin-left: 18px;
  margin-top: 8px;
}

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

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 64px;
    right: 4%;
    left: 4%;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

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

  .hero {
    padding-top: 60px;
  }
}

@media (max-width: 700px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .app-store-badge {
    justify-content: center;
  }

  .device-mock {
    height: 460px;
  }

  .cta-band {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
