:root {
  --bg: #06070b;
  --bg-soft: #12141a;
  --surface: #ffffff;
  --surface-alt: #f6f3f2;
  --text: #1b1c21;
  --text-strong: #f7fbff;
  --text-soft: #66616a;
  --border: #e4ddd9;
  --accent: #d85a5f;
  --accent-deep: #b4474c;
  --shadow: 0 18px 48px rgba(18, 20, 26, 0.08);
  --radius: 1.25rem;
  --radius-sm: 0.85rem;
  --container: 72rem;
  --container-narrow: 52rem;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
}

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fbf8f6;
  line-height: 1.6;
}

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

a {
  color: var(--accent-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0 0 var(--space-3);
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.2rem;
}

p,
ul,
ol,
blockquote {
  margin: 0 0 var(--space-3);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.container-narrow {
  width: min(100% - 2rem, var(--container-narrow));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(7, 15, 29, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-strong);
  text-decoration: none;
}

.site-brand-copy {
  display: grid;
  gap: 0.1rem;
}

.site-brand-copy strong {
  font-size: 0.98rem;
}

.site-brand-copy span {
  color: rgba(247, 251, 255, 0.72);
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.site-nav a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: rgba(247, 251, 255, 0.84);
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-strong);
}

.hero,
.page-shell {
  padding: var(--space-6) 0 var(--space-7);
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(216, 90, 95, 0.1), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%),
    #040507;
  padding: var(--space-5) 0;
}

.hero-grid {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  min-height: 0;
}

.hero-grid-secondary {
  color: var(--text);
}

.hero-grid-secondary .hero-copy {
  color: var(--text);
}

.hero-grid-secondary .lead {
  color: var(--text);
}

.hero-copy {
  color: var(--text-strong);
  padding: var(--space-3) 0;
  max-width: 40rem;
}

.eyebrow {
  margin-bottom: var(--space-2);
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-summary,
.lead,
.page-intro {
  font-size: clamp(1.08rem, 2.5vw, 1.3rem);
  color: inherit;
}

.hero-summary {
  max-width: 36rem;
  color: rgba(247, 251, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.hero-actions .subtle {
  margin-bottom: 0;
}

.hero-media img,
.screenshot-card img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual {
  display: grid;
  gap: 0;
  justify-items: center;
  align-items: center;
}

.hero-device-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 24rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-device-shot {
  width: 100%;
  max-width: 18rem;
  filter: saturate(1.02);
}

.section {
  padding: var(--space-6) 0;
}

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

.section-cta {
  background:
    radial-gradient(circle at top right, rgba(216, 90, 95, 0.08), transparent 24rem),
    var(--surface-alt);
}

.feature-grid,
.site-footer-grid {
  display: grid;
  gap: var(--space-4);
}

.feature-card,
.testimonial,
.faq-item,
.content-page,
.page-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: var(--space-4);
}

.feature-card h3 {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-3);
}

.feature-card h3 span {
  display: block;
}

.testimonial-stack,
.faq-stack {
  display: grid;
  gap: var(--space-4);
}

.testimonial {
  padding: var(--space-4);
  border-left: 0.28rem solid var(--accent);
  background: linear-gradient(180deg, #ffffff, #fdf9f8);
}

.testimonial footer {
  color: var(--text-soft);
  font-weight: 700;
}

.section-heading-with-action {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.text-link {
  font-weight: 700;
  text-decoration-thickness: 0.06em;
  text-decoration-color: rgba(180, 71, 76, 0.35);
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.faq-group h2 {
  margin-top: 0;
  margin-bottom: var(--space-3);
}

.faq-list {
  display: grid;
  gap: var(--space-3);
}

.faq-item {
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(180deg, #ffffff, #fcfaf9);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent-deep);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  margin-top: var(--space-3);
  color: var(--text-soft);
}

.page-header,
.content-page {
  padding: var(--space-5);
}

.faq-page-header {
  padding-bottom: var(--space-1);
}

.faq-page-header h1 {
  margin-bottom: 0;
  line-height: 0.92;
}

.faq-page-header + .faq-stack {
  margin-top: var(--space-5);
}

.content-page h2 {
  margin-top: var(--space-5);
  font-size: 1.5rem;
}

.app-store-link {
  display: inline-flex;
  box-shadow: 0 12px 30px rgba(180, 71, 76, 0.1);
}

.cta-download-lockup {
  width: 135px;
  text-align: center;
}

.cta-app-icon {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto var(--space-3);
  border-radius: 1.35rem;
  box-shadow: 0 16px 34px rgba(180, 71, 76, 0.1);
}

.app-store-link:hover {
  filter: brightness(1.05);
}

.subtle,
.footer-copy {
  color: var(--text-soft);
}

.hero .subtle {
  color: rgba(247, 251, 255, 0.72);
}

.site-footer {
  padding: var(--space-6) 0;
  background: #f0ebe8;
  border-top: 1px solid var(--border);
}

.footer-title {
  margin-bottom: var(--space-2);
  font-weight: 700;
}

@media (max-width: 47.99rem) {
  .site-header-inner {
    align-items: flex-start;
    gap: var(--space-2);
  }

  .site-nav {
    width: 100%;
    gap: var(--space-1);
    margin-top: 0;
  }

  .hero {
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
  }

  .hero-grid {
    min-height: 0;
    gap: var(--space-3);
  }

  .hero-copy {
    max-width: 100%;
    padding-top: var(--space-2);
    padding-bottom: 0;
  }

  h1 {
    font-size: clamp(2.15rem, 8.8vw, 3rem);
  }

  .hero-summary {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .hero .subtle {
    margin: 0;
  }

  .hero-visual {
    margin-top: var(--space-1);
    justify-items: center;
  }

  .hero-device-frame {
    width: min(100%, 12.5rem);
  }

  .hero-device-shot {
    max-width: 8.8rem;
  }
}

@media (min-width: 48rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    gap: clamp(2rem, 6vw, 6rem);
  }

  .hero-visual {
    justify-items: center;
  }

  .testimonial-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .testimonial {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .testimonial footer {
    margin-top: auto;
  }

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

  .site-footer-grid {
    grid-template-columns: 1.6fr 0.7fr 0.7fr;
  }
}

@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  }

  .hero-device-frame {
    width: min(100%, 20rem);
  }

  .hero-device-shot {
    max-width: 14.5rem;
  }

  .feature-card h3 {
    min-height: 2.7em;
  }

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