@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --accent:   #C8472A;
  --accent2:  #E05C3A;
  --accentl:  #FFF0ED;
  --paper:    #FAFAF8;
  --surface:  #F4F3F0;
  --white:    #FFFFFF;
  --ink:      #0D0D0D;
  --ink2:     #3A3A3A;
  --ink3:     #7A7A7A;
  --ink4:     #B8B5AF;
  --border:   #E8E6E1;
  --border2:  #D4D1CA;
  --r-sm:     14px;
  --r-md:     20px;
  --r-lg:     28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 20px rgba(0,0,0,0.13);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }

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

/* ── Typography ── */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 700; }

p { color: var(--ink2); }

/* ── Layout helpers ── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-heading { margin-bottom: 16px; }
.section-sub {
  font-size: 1.0625rem;
  color: var(--ink3);
  max-width: 520px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 1; }

.btn-primary { background: var(--accent); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border2);
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 8px 0 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink2);
}
.mobile-nav .btn { margin: 8px 24px 0; }

/* ── Hero ── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
}
.hero h1 { margin-bottom: 20px; }
.hero-sub {
  font-size: 1.125rem;
  color: var(--ink3);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-badge {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink3);
}
.hero-badge-item svg { color: var(--accent); flex-shrink: 0; }

/* ── Steps ── */
.steps { background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step-card {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 32px 28px;
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accentl);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 20px;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { font-size: 0.9375rem; color: var(--ink3); }

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--accentl);
  margin-bottom: 20px;
  font-size: 1.375rem;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 0.9375rem; color: var(--ink3); }

/* ── Download band ── */
.download {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.download h2 { color: var(--white); margin-bottom: 16px; }
.download p { color: rgba(255,255,255,0.8); margin-bottom: 36px; font-size: 1.0625rem; }
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-sm);
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.app-store-btn:hover { opacity: 0.92; transform: translateY(-1px); }
.app-store-btn svg { flex-shrink: 0; }
.app-store-label { text-align: left; line-height: 1.2; }
.app-store-label small { display: block; font-size: 0.6875rem; font-weight: 400; color: var(--ink3); }
.app-store-label strong { font-size: 1.0625rem; }

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: var(--ink4);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--white);
}
.footer-logo span { color: var(--accent2); }
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--ink4);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.8125rem; width: 100%; margin-top: 8px; }

/* ── Legal pages ── */
.legal-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--border);
}
.legal-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 10px; }
.legal-hero p { color: var(--ink3); font-size: 0.9375rem; }

.legal-body {
  padding: 56px 0 80px;
  max-width: 720px;
}
.legal-body h2 {
  font-size: 1.25rem;
  margin: 40px 0 12px;
  color: var(--ink);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 14px; font-size: 0.9375rem; color: var(--ink2); }
.legal-body ul {
  margin: 0 0 14px 20px;
  font-size: 0.9375rem;
  color: var(--ink2);
}
.legal-body ul li { margin-bottom: 6px; }
.legal-body a { color: var(--accent); text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 64px 0 56px; }

  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { margin-top: 4px; }
}
