:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #555555;
  --primary: #2195f3;
  --accent: #f9c784;
  --band: #e8f4fc;
  --border: #e8e8e8;
  --surface: #f7f7f7;
  --max: 1100px;
  --prose: 720px;
  --font: "Nunito", system-ui, -apple-system, sans-serif;
  --font-brand: "Fredoka", "Nunito", system-ui, sans-serif;
  --radius: 16px;
}

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

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
}

a {
  color: var(--fg);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

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

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

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.nav-brand:hover {
  color: inherit;
}

.nav-wordmark {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 2rem;
  height: 1.25rem;
  cursor: pointer;
  position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  left: 0;
}

.nav-toggle-label span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-label span::before {
  content: "";
  top: -7px;
}

.nav-toggle-label span::after {
  content: "";
  top: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--fg);
  border-bottom-color: var(--primary);
}

.site-main {
  flex: 1;
  width: 100%;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.landing {
  overflow-x: clip;
}

.landing-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.prose {
  max-width: var(--prose);
}

.prose h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}

.prose h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
}

.prose p,
.prose ul {
  margin: 0 0 1rem;
  color: var(--fg);
}

.prose .muted,
.muted {
  color: var(--muted);
}

.text-primary {
  color: var(--primary);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 0 4rem;
}

.hero-logo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  object-fit: cover;
}

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--fg);
}

.hero-copy {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-copy strong {
  color: var(--primary);
  font-weight: 700;
}

.hero-cta {
  display: inline-block;
  transition: transform 0.2s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
}

.hero-cta img {
  height: 54px;
  width: auto;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media img,
.hero-phones-img {
  max-width: 100%;
  max-height: 560px;
  width: auto;
  height: auto;
  display: block;
}

/* Image placeholders */

.img-slot {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  border: 2px dashed var(--primary);
  background: linear-gradient(160deg, var(--band) 0%, var(--surface) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  gap: 0.5rem;
}

.img-slot--wide {
  max-width: 520px;
  aspect-ratio: 4 / 5;
}

.img-slot--hero {
  max-width: 480px;
  aspect-ratio: 3 / 4;
}

.img-slot--illustration {
  max-width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin-top: 2rem;
}

.img-slot__label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
}

.img-slot__file {
  font-size: 0.8rem;
  color: var(--muted);
  word-break: break-all;
}

.img-slot__hint {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.img-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius) - 4px);
}

/* Feature sections */

.feature {
  padding: 4rem 0;
}

.feature--text-only {
  text-align: center;
}

.feature--text-only .feature-copy {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.feature--text-only .feature-body {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-grid--reverse .feature-copy {
  order: 2;
}

.feature-grid--reverse .feature-media {
  order: 1;
}

.feature-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.5rem;
}

.feature-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--fg);
}

.feature-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-shot {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.18);
}

.feature-body {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 32rem;
}

.feature-body:last-child {
  margin-bottom: 0;
}

/* More features */

.more-features {
  padding: 4rem 0;
}

.more-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.section-eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.section-body {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 32rem;
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 149, 243, 0.35);
  }
}

/* Home FAQ */

.home-faq {
  padding: 4rem 0 3rem;
}

.home-faq .section-title {
  margin-bottom: 2rem;
}

.accordion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
  border-top: 1px solid var(--border);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg);
}

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

.accordion-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 0.25rem;
}

.accordion-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.25rem;
}

.accordion-item p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.faq-all-link {
  display: inline-flex;
  margin-top: 1.75rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.faq-all-link:hover {
  color: #fff !important;
  transform: translateY(-1px);
}

/* Help page FAQ (existing) */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: var(--prose);
}

.faq-item {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--bg);
  padding: 1.1rem 1.25rem;
}

.faq-item h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

/* Wall of love */

.wall {
  background: var(--band);
  padding: 4rem 0 3rem;
}

.wall .section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.25rem;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.review-stars {
  color: #f5c518;
  letter-spacing: 0.08em;
  font-size: 1rem;
  line-height: 1;
}

.review-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

.review-body {
  margin: 0;
  color: var(--fg);
  font-size: 0.98rem;
}

.review-author {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.wall-illustration {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.wall-illustration-img {
  width: 220px;
  max-width: 50%;
  height: auto;
  display: block;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 1.5rem 1.25rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-inner a:hover {
  color: var(--primary);
}

.footer-sep {
  color: var(--muted);
  user-select: none;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

  .accordion {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0 3rem;
  }

  .hero-media {
    order: -1;
  }

  .feature-grid,
  .more-features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-grid--reverse .feature-copy,
  .feature-grid--reverse .feature-media {
    order: unset;
  }

  .feature {
    padding: 3rem 0;
  }

  .nav-toggle-label {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 1.25rem;
    border-bottom: none;
  }

  .nav-links a.is-active {
    background: var(--surface);
    border-left: 3px solid var(--primary);
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .site-header {
    position: relative;
  }
}

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