/* ============================================================
   split — styles.css
   ============================================================ */

:root {
  /* Colors */
  --bg:            #f9f8f6;
  --surface:       #ffffff;
  --surface-2:     #f2f0ec;
  --text:          #1c1917;
  --text-2:        #57534e;
  --text-3:        #a8a29e;
  --accent:        #dc2626;
  --accent-dark:   #b91c1c;
  --border:        #e7e4de;
  --shadow-xs:     0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:     0 1px 4px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow:        0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
  --shadow-lg:     0 16px 48px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);

  /* Spacing scale */
  --s-1:  .25rem;
  --s-2:  .5rem;
  --s-3:  .75rem;
  --s-4:  1rem;
  --s-5:  1.25rem;
  --s-6:  1.5rem;
  --s-8:  2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --text-xs:  .75rem;
  --text-sm:  .875rem;
  --text-base: 1rem;
  --text-lg:  1.125rem;
  --text-xl:  1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  /* Radii */
  --r-sm:   6px;
  --r:      12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* Layout */
  --max-w:  1080px;
  --header: 60px;
}

/* ---- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ---- Utility ---------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header);
  background: rgba(249,248,246,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-shrink: 0;
}
.logo-link img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}
.logo-link .brand {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.site-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-2);
  transition: color .15s;
}
.site-nav a:hover { color: var(--text); }

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  padding: .6rem 1.2rem;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }

.btn-dark {
  background: var(--text);
  color: #fff;
}
.btn-dark:hover { background: #2c2825; }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }

.btn-red {
  background: var(--accent);
  color: #fff;
}
.btn-red:hover { background: var(--accent-dark); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: var(--s-16) 0 var(--s-12);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.hero-brand img {
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.hero-brand-name {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -.025em;
}

.hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 420px;
}

.hero-support {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 400px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.hero-ctas .btn {
  font-size: var(--text-base);
  padding: .75rem 1.5rem;
}

.store-badges {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.store-badge { display: block; transition: opacity .15s; }
.store-badge:hover { opacity: .8; }
.store-badge img {
  height: 42px;
  width: auto;
}

.store-note {
  font-size: var(--text-xs);
  color: var(--text-3);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--text-sm);
  color: var(--text-2);
}
.hero-trust::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Phone preview */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.phone-wrap {
  position: relative;
  width: 100%;
  max-width: 260px;
}
.phone-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how-it-works {
  padding: var(--s-16) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
}

.section-title {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: var(--s-12);
}

.section-header { text-align: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--s-5);
  max-width: 840px;
  margin: 0 auto;
}

.step {
  padding: var(--s-6);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.step-num {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

.step-icon {
  width: 42px;
  height: 42px;
  background: var(--text);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step h3 {
  font-size: var(--text-base);
  font-weight: 700;
}
.step p {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.6;
}

/* ============================================================
   FEATURES
   ============================================================ */

.features {
  padding: var(--s-16) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: var(--s-4);
}

.feature-card {
  padding: var(--s-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.feature-icon {
  width: 38px;
  height: 38px;
  background: var(--surface-2);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--text);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: var(--text-sm);
  font-weight: 700;
}
.feature-card p {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.55;
}

/* ============================================================
   DOWNLOAD
   ============================================================ */

.download {
  padding: var(--s-16) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.download h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: var(--s-3);
}
.download > .container > p {
  color: var(--text-2);
  font-size: var(--text-lg);
  margin-bottom: var(--s-8);
}

.download-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-4);
}
.download-note {
  font-size: var(--text-sm);
  color: var(--text-3);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  padding: var(--s-8) 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.footer-brand img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}
.footer-brand .brand {
  font-weight: 700;
  font-size: var(--text-sm);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-2);
  transition: color .15s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-3);
}

/* ============================================================
   INNER PAGES (terms, privacy, support)
   ============================================================ */

.page-hero {
  padding: var(--s-12) 0 var(--s-8);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: var(--s-2);
}
.page-hero .effective {
  font-size: var(--text-sm);
  color: var(--text-2);
}

.page-wrap {
  max-width: 720px;
  padding: var(--s-12) var(--s-6) var(--s-20);
  margin: 0 auto;
}

.notice-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  padding: var(--s-5) var(--s-6);
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: var(--s-10);
}

.prose h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-top: var(--s-10);
  margin-bottom: var(--s-4);
  color: var(--text);
}
.prose h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-top: var(--s-6);
  margin-bottom: var(--s-2);
  color: var(--text);
}
.prose p {
  color: var(--text-2);
  margin-bottom: var(--s-4);
  line-height: 1.75;
}
.prose ul, .prose ol {
  padding-left: var(--s-6);
  margin-bottom: var(--s-4);
  color: var(--text-2);
}
.prose li {
  margin-bottom: var(--s-2);
  line-height: 1.65;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover { color: var(--accent-dark); }
.prose strong { color: var(--text); font-weight: 600; }

/* Support page */
.support-cta {
  text-align: center;
  padding: var(--s-10) var(--s-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin: var(--s-8) 0;
}
.support-cta h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--s-3);
}
.support-cta p {
  color: var(--text-2);
  margin-bottom: var(--s-6);
  font-size: var(--text-base);
}

.btn-email {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  padding: .75rem 1.75rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s;
  text-decoration: none;
}
.btn-email:hover { background: var(--accent-dark); }
.btn-email:active { transform: scale(.97); }
.btn-email svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.faq { margin-top: var(--s-8); }
.faq-item {
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s-2);
}
.faq-item p {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.65;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .hero { padding: var(--s-10) 0; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--s-10);
    text-align: center;
  }
  .hero-left { align-items: center; }
  .hero-sub, .hero-support { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .store-badges { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-right { order: -1; justify-content: center; }
  .phone-wrap { max-width: 220px; }

  .steps { grid-template-columns: 1fr; max-width: 380px; }

  .site-nav { display: none; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .footer-copy { text-align: left; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .store-badges { flex-direction: column; align-items: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .support-cta { padding: var(--s-8) var(--s-5); }
}
