:root {
  --bg: #0f0e0d;
  --surface: #1a1816;
  --text: #f5f3f0;
  --text-muted: #9c9690;
  --accent: #4ade80;
  --accent-soft: rgba(74, 222, 128, 0.18);
  --border: #2d2a26;
  --shadow: rgba(0, 0, 0, 0.35);
  --radius: 12px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

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

body {
  margin: 0;
  padding-top: 86px;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

section[id] {
  scroll-margin-top: 100px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header – Huda-style */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(15, 14, 13, 0.92);
  box-shadow: 0 8px 22px var(--shadow);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.top-nav.scrolled {
  background: rgba(15, 14, 13, 0.95);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.nav-inner {
  height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  position: relative;
}

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

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px var(--shadow);
  display: grid;
  place-items: center;
}

/* Header: logo only, no square */
.top-nav .brand-mark {
  width: auto;
  height: 40px;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.top-nav .brand-mark img {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  align-items: center;
  justify-self: center;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-store-badges {
  display: none;
  width: 100%;
  gap: 12px;
}

.nav-store-badges .store-badge img {
  height: 42px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  margin-left: auto;
}

.store-badge {
  display: block;
  opacity: 0.6;
  filter: grayscale(0.4);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.store-badge:hover {
  opacity: 0.85;
  filter: grayscale(0.1);
}

.store-badge--disabled {
  cursor: default;
  pointer-events: none;
}

.store-badge--disabled:hover {
  opacity: 0.6;
  filter: grayscale(0.4);
}

.coming-soon-chip {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--surface);
  background: var(--text);
  border-radius: 999px;
  margin-left: 10px;
  vertical-align: middle;
}

.nav-store-badges .coming-soon-chip,
.hero-mobile-cta .coming-soon-chip {
  margin: 0 0 0 10px;
}

.store-badges-row .coming-soon-chip {
  margin-left: 12px;
}

.footer-brand .store-badges-row {
  align-items: center;
}

.store-badge img {
  height: 46px;
  width: auto;
  display: block;
}

.store-coming-soon-msg {
  font-size: 0.8rem;
  color: var(--text-muted, #888);
  margin: 6px 0 0;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
}

@media (max-width: 900px) {
  .nav-actions .store-badge,
  .nav-actions .coming-soon-chip--nav {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    width: 100vw;
    box-sizing: border-box;
    background: rgba(26, 24, 22, 0.98);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 18px clamp(16px, 4vw, 24px) 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    display: none;
    box-shadow: 0 25px 70px var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 20;
  }

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

  .nav-links a {
    color: var(--text);
    font-weight: 600;
    padding: 6px 0;
  }

  .nav-store-badges {
    display: flex;
    flex-wrap: wrap;
    margin-top: 6px;
  }

  .menu-toggle {
    display: flex;
  }
}

.btn-cta {
  background: var(--accent);
  color: var(--surface) !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

.btn-cta:hover {
  background: #22c55e;
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 3rem 0 5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.5rem;
}

.hero-copy {
  max-width: 420px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-copy .store-badge,
.hero-copy .coming-soon-chip {
  display: inline-block;
  vertical-align: middle;
}

.hero-copy .store-badge {
  width: auto;
}

.hero-copy .hero-subhead {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
  font-style: italic;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  line-height: 1.6;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4.5rem;
  position: relative;
  margin-left: 2rem;
}

.phone-frame {
  width: min(260px, 42vw);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 56px var(--shadow);
  background: #111;
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.hero-phone-left {
  transform: rotate(-6deg) translateY(8px);
}

.hero-phone-right {
  transform: rotate(6deg) translateY(-8px);
}

.hero-mobile-cta {
  display: none;
  justify-content: center;
}

.hero-discover {
  display: none;
  justify-content: center;
  margin-top: 20px;
}

.discover-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 10px 24px var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  animation: bounce-scroll 1.8s ease-in-out infinite;
}

.discover-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  color: var(--text);
  text-decoration: none;
}

.discover-arrow {
  font-size: 16px;
  line-height: 1;
}

@keyframes bounce-scroll {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(4px); }
  60% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .discover-link {
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 0 4rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 1rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-visual {
    order: -1;
    gap: 3.5rem;
    margin-left: 0;
  }

  .phone-frame {
    width: min(220px, 72vw);
  }

  .hero-phone-left {
    transform: rotate(-4deg) translateY(4px);
  }

  .hero-phone-right {
    transform: rotate(4deg) translateY(-4px);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 64px clamp(18px, 6vw, 24px) 96px;
    gap: 30px;
  }

  .hero-inner {
    gap: 30px;
  }

  .hero-visual {
    margin-top: 24px;
    gap: 1.25rem;
    padding: 0 8px;
    max-width: 100%;
    overflow: visible;
  }

  .hero .phone-frame {
    width: min(140px, 38vw);
  }

  .hero-phone-left {
    transform: rotate(-3deg) translateY(2px);
  }

  .hero-phone-right {
    transform: rotate(3deg) translateY(-2px);
  }

  .hero-copy .hero-tagline {
    display: none;
  }

  .hero-copy .store-badge,
  .hero-copy .coming-soon-chip {
    display: none;
  }

  .hero-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-discover {
    display: flex;
    margin-top: 14px;
  }
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--surface);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
}

.btn-primary:hover {
  background: #22c55e;
  text-decoration: none;
}

/* Section divider */
.section-divider {
  width: min(1100px, 90vw);
  height: 1px;
  margin: 24px auto 0;
  background: linear-gradient(90deg, transparent, rgba(245, 243, 240, 0.12), transparent);
}

/* Explore section (include / feature preview) */
.include-section {
  padding: 60px 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header h2 {
  margin: 10px 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--text);
}

.section-header-muted {
  color: var(--text-muted);
  margin: 0;
  font-size: 1rem;
}

.include-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(280px, 520px);
  gap: 36px;
  align-items: center;
  justify-content: center;
  justify-items: center;
}

.include-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.include-preview {
  width: min(280px, 78vw);
  margin: 0 auto;
}

.include-preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 20px 50px var(--shadow);
}

.include-dots {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.include-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--border);
  display: inline-block;
}

.include-dots .dot.active {
  background: var(--accent);
}

.include-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 540px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.include-card {
  text-align: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 12px 28px var(--shadow);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, background 0.2s ease;
}

.include-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.include-card.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.include-card h3 {
  margin: 0 0 6px;
  font-size: 1.125rem;
  color: var(--text);
}

.include-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.9375rem;
}

@media (max-width: 1024px) {
  .include-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .include-cards {
    max-width: 100%;
    width: min(540px, 100%);
  }
}

/* Features – matches include-section style */
.features-section {
  padding: 60px 0 56px;
}

/* Why Bttr Together? – two-column layout */
.why-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, 380px);
  gap: 48px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  margin: 0 auto;
}

.why-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.why-phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 56px;
}

.why-phone {
  width: min(240px, 38vw);
  position: relative;
  z-index: 1;
}

.why-nav {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.15s ease;
  z-index: 2;
}

.why-nav:hover {
  background: #3d3935;
  transform: translateY(-50%) scale(1.05);
}

.why-nav:active {
  transform: translateY(-50%) scale(0.98);
}

.why-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
}

.why-prev {
  left: 0;
}

.why-next {
  right: 0;
}

.why-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.why-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.why-dot:hover {
  background: #3d3935;
}

.why-dot.active {
  background: var(--text-muted);
}

.why-copy {
  padding: 0 8px 0 0;
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.why-kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.why-headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.why-text {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.why-chip {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--surface);
  background: var(--text);
  border-radius: 999px;
}

.why-list {
  margin: 0 auto 1.5rem;
  padding: 0 0 0 1.25rem;
  list-style: none;
  text-align: left;
  display: inline-block;
}

.why-list li {
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.why-list li::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.why-stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  padding: 20px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 2px 8px var(--shadow);
}

.stat-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 768px) {
  .why-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .why-visual {
    order: 1;
  }

  .why-copy {
    order: 2;
    padding: 0;
  }

  .why-phone {
    width: min(220px, 72vw);
  }

  .why-nav {
    width: 38px;
    height: 38px;
  }

  .why-phone-wrap {
    padding: 0 48px;
  }

  .why-prev {
    left: 0;
  }

  .why-next {
    right: 0;
  }

  .why-chip {
    margin-left: auto;
    margin-right: auto;
  }

  .why-list {
    text-align: left;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .why-stat-cards {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* About – Built for togetherness (3 cards) */
.about-section {
  padding: 64px 0;
  background: var(--bg);
}

.about-layout {
  margin: 0 auto;
}

.about-content {
  min-width: 0;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.about-headline {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.about-intro {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.about-intro em {
  font-style: italic;
  color: var(--text);
}

.about-feature-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 1.75rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-feature-icon {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
}

.about-feature-icon-img {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg);
}

.about-feature-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-feature-icon-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.about-feature-icon-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.about-stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 1.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.about-stat-card {
  padding: 18px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 2px 10px var(--shadow);
}

.about-stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.about-stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .about-feature-icons {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-stat-cards {
    grid-template-columns: 1fr;
  }
}

/* Signup form (used in footer Get started) */
.signup {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.signup input {
  font: inherit;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.signup input::placeholder {
  color: var(--text-muted);
}

.signup input:focus {
  outline: none;
  border-color: var(--accent);
}

.signup button {
  font: inherit;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--surface);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.signup button:hover {
  background: #22c55e;
}

/* 5-star ratings section */
.ratings-section {
  width: 100%;
  padding: 80px 0 40px;
  background: transparent;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.ratings-section::before {
  content: '';
  position: absolute;
  inset: -70px 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 24%, rgba(59, 130, 246, 0.15), transparent 42%),
    radial-gradient(circle at 82% 12%, rgba(52, 211, 153, 0.12), transparent 44%),
    linear-gradient(180deg, #141210 0%, #0f0e0d 100%);
}

.ratings-wrap {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: clamp(32px, 6vw, 60px);
}

.ratings-content {
  text-align: center;
  display: grid;
  gap: 14px;
  max-width: 720px;
  padding: clamp(12px, 3vw, 24px);
}

.ratings-stars span {
  font-size: clamp(32px, 5vw, 44px);
  color: #f4b72a;
  margin: 0 4px;
}

.ratings-content h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.4px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
}

.ratings-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  color: var(--text-muted);
}

.rating-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rating-icon.apple {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="19" height="23" viewBox="0 0 19 23" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.7212 0C13.8259 1.36126 13.407 2.61776 12.5693 3.66496C11.7316 4.71206 10.5798 5.34036 9.21847 5.34036C9.11377 3.97906 9.53267 2.72256 10.3704 1.78011C11.2081 0.73299 12.4646 0.10471 13.7212 0ZM18.0144 7.74866C16.4438 8.69106 15.5013 10.3665 15.5013 12.1466C15.5013 14.1362 16.6532 16.021 18.538 16.6493C18.2239 17.8011 17.7003 18.9529 16.9673 19.8953C16.0249 21.3613 15.0825 22.7226 13.5118 22.7226C12.751 22.7226 12.2605 22.5015 11.7546 22.2735C11.216 22.0307 10.6601 21.7801 9.74217 21.7801C8.76767 21.7801 8.16977 22.0312 7.58757 22.2756C7.10637 22.4777 6.63597 22.6752 5.97247 22.7226C4.50657 22.7226 3.35467 21.1519 2.41227 19.7906C0.422771 16.9634 -1.04323 11.7278 0.946371 8.27226C1.88877 6.59686 3.66887 5.54976 5.65837 5.44506C6.47197 5.44506 7.25337 5.76756 7.94877 6.05466C8.50637 6.28476 9.00867 6.49216 9.42797 6.49216C9.79557 6.49216 10.2747 6.30096 10.828 6.08026C11.6933 5.73496 12.7401 5.31726 13.826 5.44506C15.5013 5.54976 17.072 6.38746 18.0144 7.74866Z" fill="%23f5f3f0"/></svg>') center/contain no-repeat;
}

.rating-score {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.store-badges-row.center {
  justify-content: center;
}

.store-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ratings-laurel {
  position: absolute;
  top: 14px;
  width: 120px;
  height: 200px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.68;
}

.ratings-laurel.left {
  left: clamp(8px, 2vw, 24px);
  background-image: url('assets/wreath.svg');
}

.ratings-laurel.right {
  right: clamp(8px, 2vw, 24px);
  transform: scaleX(-1);
  background-image: url('assets/wreath.svg');
}

@media (max-width: 768px) {
  .ratings-section {
    padding: 56px 0 32px;
  }
  .ratings-wrap {
    padding: 24px 18px;
  }
  .ratings-content h2 {
    font-size: clamp(26px, 6vw, 36px);
  }
  .ratings-laurel {
    width: 80px;
    height: 140px;
    opacity: 0.5;
  }
}

/* Footer */
.footer {
  background: #161412;
  border-top: 1px solid var(--border);
  padding: 36px 0 24px;
  color: var(--text);
  text-align: center;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  align-items: flex-start;
  justify-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand .brand {
  margin-bottom: 8px;
  justify-content: center;
}

.footer-brand .store-badges-row {
  justify-content: center;
}

.footer-download {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-brand .store-badge img {
  height: 40px;
  width: auto;
}

.footer-brand .store-coming-soon-msg,
.ratings-section .store-coming-soon-msg {
  text-align: center;
}

.footer-col {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.footer-col h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-display);
}

.footer-col a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-tagline {
  margin: 22px auto 10px;
  text-align: center;
  max-width: 720px;
}

.footer-tagline-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
}

.footer-social-icons .icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  box-shadow: 0 4px 12px var(--shadow);
}

.footer-social-icons .icon:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-social-icons .icon.instagram {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23f5f3f0" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="5"/><path d="M16.5 12a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"/><circle cx="17.5" cy="6.5" r="0.7" fill="%23f5f3f0"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

.footer-social-icons .icon.tiktok {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="%23f5f3f0"><path d="M17.5 7.5c-1.6-.4-3-1.6-3.5-3.2V15a4.2 4.2 0 1 1-4.2-4.2c.3 0 .6 0 .9.1v2.4a2.1 2.1 0 1 0 1.5 2V2.5h2.3c.2 1.3 1.2 2.4 2.5 2.7v2.3Z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (min-width: 640px) {
  .signup {
    flex-direction: row;
    max-width: 360px;
    margin: 0 auto;
  }

  .signup input {
    flex: 1;
  }
}

/* Download modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 12px 24px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.modal-overlay.open .modal {
  transform: scale(1);
  opacity: 1;
}

.modal-accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), #6ee7b7);
  flex-shrink: 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.modal-close:active {
  transform: scale(0.98);
}

.modal-body {
  padding: 32px 28px 28px;
}

.modal-kicker {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.modal-heading {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.modal-text {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 36ch;
}

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

.modal-signup input {
  font: inherit;
  font-size: 1rem;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-signup input::placeholder {
  color: var(--text-muted);
}

.modal-signup input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 122, 92, 0.2);
}

.modal-signup button {
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.modal-signup button:hover {
  background: #22c55e;
  box-shadow: 0 6px 20px rgba(224, 122, 92, 0.35);
  transform: translateY(-1px);
}

.modal-signup button:active {
  transform: translateY(0);
}

@media (min-width: 480px) {
  .modal-signup {
    flex-direction: row;
    gap: 10px;
  }

  .modal-signup input {
    flex: 1;
    min-width: 0;
  }

  .modal-signup button {
    white-space: nowrap;
    padding-left: 28px;
    padding-right: 28px;
  }
}

/* ========== Mobile only (iPhone / small screens) – flow and fit, no desktop changes ========== */
@media (max-width: 768px) {
  html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }

  .top-nav {
    padding-top: env(safe-area-inset-top, 0);
  }

  body {
    overflow-x: hidden;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    padding-top: calc(86px + env(safe-area-inset-top, 0px));
  }

  .container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .top-nav .nav-inner.container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .section-divider {
    width: 100%;
    max-width: min(1100px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
  }

  .features-section.container,
  .include-section.container {
    padding-left: 0;
    padding-right: 0;
  }

  .features-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .include-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .about-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .about-layout.container {
    padding-left: 0;
    padding-right: 0;
  }

  .ratings-section {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .ratings-wrap.container {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }

  .footer .container,
  .footer-top.container,
  .footer-tagline.container,
  .footer-bottom.container {
    padding-left: 0;
    padding-right: 0;
  }

  .footer {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    padding-top: 40px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .footer-top {
    gap: 32px;
    padding-bottom: 8px;
  }

  .footer-bottom {
    margin-top: 28px;
    padding-top: 20px;
  }

  .why-layout {
    gap: 36px;
    padding-left: 0;
    padding-right: 0;
  }

  .why-copy {
    padding-left: 0;
    padding-right: 0;
  }

  .why-stat-cards {
    gap: 12px;
    padding-left: 0;
    padding-right: 0;
  }

  .include-cards {
    gap: 14px;
  }

  .include-card {
    padding: 18px 16px;
  }

  .about-content {
    padding-left: 0;
    padding-right: 0;
  }

  .about-feature-icons {
    gap: 28px;
  }

  .about-stat-cards {
    gap: 14px;
  }
}
