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

:root {
  --color-bg: #faf8f6;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-secondary: #5a5a5a;
  --color-accent: #e05a47;
  --color-accent-hover: #c94835;
  --color-accent-light: #fdf0ee;
  --color-border: #e8e4e0;
  --color-footer-bg: #1a1a1a;
  --color-footer-text: #a8a8a8;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 720px;
  --max-width-wide: 960px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

/* ── Header ────────────────────────────────── */

.site-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.header-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-text);
}

/* ── Hero ──────────────────────────────────── */

.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--color-text);
}

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

.hero p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.store-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-text);
  color: #fff;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-badge:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.store-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-badge .badge-label {
  text-align: left;
  line-height: 1.2;
}

.store-badge .badge-label small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.7;
}

/* ── Features ─────────────────────────────── */

.features {
  padding: 4rem 1.5rem;
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.features-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.features-heading h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.features-heading p {
  color: var(--color-text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.925rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ── Legal / Content Pages ────────────────── */

.page-content {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  width: 100%;
}

.page-content h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-content .last-updated {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

.page-content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.page-content p,
.page-content ul,
.page-content ol {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.35rem;
}

/* ── Contact ──────────────────────────────── */

.contact-section {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-section h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-section > p {
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 420px;
  margin: 0 auto;
}

.contact-card .contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-card h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--color-text-secondary);
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}

.contact-email-link:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.contact-response {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

/* ── Footer ───────────────────────────────── */

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 2.5rem 1.5rem;
  margin-top: auto;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

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

.footer-links a:hover {
  color: #fff;
}

/* ── Mobile ───────────────────────────────── */

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

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

  .site-header {
    position: relative;
  }

  .hero {
    padding: 3.5rem 1.25rem 3rem;
  }

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

  .features {
    padding: 2.5rem 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
