:root {
  --primary: #E79544;
  --primary-dark: #d17e2d;
  --primary-soft: #fff1e3;
  --primary-tint: #fffaf3;
  --bg: #fffaf3;
  --surface: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #f1e7d8;
  --shadow-sm: 0 4px 12px rgba(231, 149, 68, 0.08);
  --shadow-md: 0 12px 32px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 24px 60px rgba(231, 149, 68, 0.18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------- Header ----------- */

.site-header {
  padding: 22px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 243, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

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

.header-nav a {
  color: var(--text-muted);
  font-weight: 500;
}

.header-nav a:hover {
  color: var(--text);
}

.header-nav a.btn-primary,
.header-nav a.btn-primary:hover {
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.96rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(231, 149, 68, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--primary);
}

/* ----------- Hero ----------- */

.hero {
  padding: 64px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(231, 149, 68, 0.16) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-eyebrow::before {
  content: "✦";
  font-size: 0.85rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* iPhone mockup (real bezel SVG + looping video) */

.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 460 / 960;
  margin: 0 auto;
  transform: rotate(-3deg);
  filter: drop-shadow(0 24px 40px rgba(26, 26, 46, 0.22))
    drop-shadow(0 10px 18px rgba(231, 149, 68, 0.12));
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: 2%;
  left: 3.6%;
  right: 3.6%;
  bottom: 2%;
  background: #000;
  border-radius: 40px;
  z-index: 0;
}

.phone-video {
  position: absolute;
  top: 3.4%;
  left: 4%;
  width: 92%;
  height: 94%;
  border-radius: 32px;
  object-fit: cover;
  background: #000;
  z-index: 1;
}

.phone-bezel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ----------- Sources strip ----------- */

.sources {
  padding: 40px 0 30px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.sources-label {
  text-align: center;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.sources-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px 56px;
}

.sources-grid img {
  height: 36px;
  width: auto;
  opacity: 0.75;
  filter: grayscale(0.2);
  transition: opacity 0.15s ease, filter 0.15s ease;
}

.sources-grid img:hover {
  opacity: 1;
  filter: none;
}

/* ----------- Reviews ----------- */

.reviews {
  padding: 96px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.08rem;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--primary-soft);
  border-radius: 999px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.rating-badge .stars {
  color: var(--primary);
  letter-spacing: 2px;
  font-size: 0.98rem;
}

.rating-badge .rating-value {
  font-weight: 800;
  color: var(--text);
}

.rating-badge .rating-label {
  color: var(--text-muted);
  font-weight: 500;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.review-card::before {
  content: "“";
  position: absolute;
  top: 14px;
  right: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.18;
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(231, 149, 68, 0.45);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
}

.review-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-soft);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-person {
  min-width: 0;
}

.review-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 4px;
}

.review-name {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 500;
}

.review-quote {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-style: normal;
  flex: 1;
}

/* ----------- How it works ----------- */

.how {
  padding: 0 0 96px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-step {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border);
  position: relative;
}

.how-step .num {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.how-step h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 16px 0 8px;
}

.how-step p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ----------- CTA banner ----------- */

.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #f4ad60 100%);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  margin: 0 auto 96px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.08rem;
  opacity: 0.92;
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: #ffffff;
  color: var(--primary-dark);
}

.cta-banner .btn-primary:hover {
  background: #fff;
  color: var(--primary-dark);
  transform: translateY(-1px);
}

/* ----------- Footer ----------- */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 44px 0 36px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 500;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ----------- Responsive ----------- */

@media (max-width: 880px) {
  .hero {
    padding: 40px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .phone-mockup {
    transform: rotate(-2deg);
    max-width: 280px;
  }

  .reviews-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .reviews,
  .how {
    padding: 64px 0;
  }

  .cta-banner {
    margin-bottom: 64px;
    padding: 44px 28px;
  }

  .header-nav {
    gap: 16px;
  }

  .header-nav .nav-link {
    display: none;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .sources-grid {
    gap: 24px 32px;
  }

  .sources-grid img {
    height: 28px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
