/* Prata bra — landningssida. Samma tokens som appen (src/tokens.css). */

:root {
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --paper: #F6F6F3;
  --paper-raise: #FFFFFF;
  --paper-sunk: #ECECE7;
  --ink: #1E1D1B;
  --ink-muted: #726E68;
  --line: #E4E0D6;

  --peach-tint: #F6E7E0;
  --peach-strong: #D9AC9C;
  --butter: #EEDFA3;
  --butter-strong: #E3C96E;

  --radius: 16px;
  --radius-lg: 24px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---- header ---- */

.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-weight: 600; font-size: 15px; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--ink-muted); }
.nav a:hover { color: var(--ink); }
.nav .nav-login { color: var(--ink); font-weight: 500; }
@media (max-width: 640px) { .nav .nav-hide-sm { display: none; } }

/* ---- buttons ---- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--paper-raise); color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--ink-muted); }
.btn-peach { background: var(--peach-tint); color: var(--ink); }
.btn-peach:hover { background: #F1DACF; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- hero ---- */

.hero { padding: 48px 0 88px; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 112px; }
  .hero .wrap { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.display {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.lead {
  font-size: 18px; line-height: 1.6; color: var(--ink-muted);
  max-width: 30em; margin: 0 0 36px;
}
.hero-note { margin-top: 28px; font-size: 13px; color: var(--ink-muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px dashed var(--line); font-size: 12px; color: var(--ink-muted);
}

.hero-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px -30px rgba(30, 29, 27, .35);
  background: linear-gradient(160deg, #F9EDE6 0%, #F6E7E0 45%, #F3E6BF 100%);
}
.hero-art svg, .hero-art img { width: 100%; height: 100%; object-fit: cover; }

/* ---- sections ---- */

.section { padding: 88px 0; }
.section-sunk { background: var(--paper-sunk); }
.h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.15;
  margin: 0 0 40px;
}
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-muted); margin: 0 0 14px; }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--paper-raise); border-radius: var(--radius-lg);
  padding: 26px 24px 28px;
}
.card h3 { font-size: 19px; font-weight: 400; margin: 0 0 10px; letter-spacing: -0.01em; }
.card p { font-size: 14px; color: var(--ink-muted); margin: 0; line-height: 1.55; }
.card-icon {
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center; background: var(--peach-tint);
}
.card-icon.butter { background: var(--butter); }
.card-icon svg { width: 20px; height: 20px; }

.steps { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.step-n { font-size: 48px; font-weight: 300; letter-spacing: -0.03em; color: var(--ink-muted); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 19px; font-weight: 500; margin: 0 0 8px; }
.step p { margin: 0; color: var(--ink-muted); font-size: 16px; line-height: 1.6; }

/* ---- split: barnets bästa ---- */

.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split p { color: var(--ink-muted); font-size: 17px; line-height: 1.65; margin: 0 0 16px; max-width: 32em; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li {
  background: var(--paper-raise); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; font-size: 15px; display: flex; gap: 12px; align-items: flex-start;
}
.checklist svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }

/* ---- FAQ ---- */

.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 36px 22px 0; position: relative;
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 300; color: var(--ink-muted);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-muted); line-height: 1.65; max-width: 40em; }

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

.cta-section { padding: 24px 0 96px; }
.cta {
  background: var(--ink); color: var(--paper); border-radius: 28px;
  padding: 64px 28px; text-align: center;
}
@media (min-width: 800px) { .cta { padding: 88px 48px; } }
.cta h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 14px; }
.cta p { color: #BDB8AF; margin: 0 auto 32px; max-width: 30em; }

/* ---- footer ---- */

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13px; color: var(--ink-muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---- textsidor (integritet, villkor) ---- */

.prose { max-width: 720px; padding: 40px 20px 96px; margin: 0 auto; }
.prose h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 12px; }
.prose .meta { color: var(--ink-muted); font-size: 14px; margin: 0 0 40px; }
.prose h2 { font-size: 21px; font-weight: 500; margin: 44px 0 12px; }
.prose p, .prose li { color: #3D3A36; line-height: 1.7; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.draft-note {
  background: var(--butter); border-radius: var(--radius); padding: 14px 18px;
  font-size: 14px; margin: 0 0 32px;
}
.todo { background: var(--peach-tint); padding: 0 4px; border-radius: 4px; }
