/* Uppkörd – landningssida. Samma designspråk som appen: plana ytor, rundade
   hörn, lime-accent på mörk botten. Handskriven CSS, inga byggsteg. */

:root {
  --bg: #14161d;
  --surface: #21232e;
  --surface-2: #2a2d3a;
  --darkest: #0c0d11;
  --accent: #d8ff3e;
  --accent-ink: #14161d;
  --streak: #ffd23f;
  --ok: #5dcaa5;
  --ink: #f4f5f7;
  --ink-2: #9a9ca6;
  --line: #2f3340;
  --max: 1080px;
  --radius: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grid-/flexbarn får inte tvinga ut sidan bredare än skärmen. */
.hero .wrap > *,
.adhd .wrap > * {
  min-width: 0;
}
.hero h1 {
  overflow-wrap: anywhere;
}
.btn {
  white-space: nowrap;
}

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

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

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

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 22, 29, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 20px;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.brand span {
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--ink-2);
  font-size: 15px;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links .btn {
  color: var(--accent-ink);
}
/* Håll den mörka texten även vid hover – annars vinner .nav-links a:hover
   (ljus text) på specificitet och texten försvinner mot den limegröna knappen. */
.nav-links .btn:hover {
  color: var(--accent-ink);
}
/* Hamburgerknapp – bara synlig på mobil (se media query nedan). */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
  margin: -8px -8px -8px 0;
}
.nav-toggle svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  display: block;
}
.nav-toggle .ic-close {
  display: none;
}
.nav-toggle[aria-expanded='true'] .ic-menu {
  display: none;
}
.nav-toggle[aria-expanded='true'] .ic-close {
  display: block;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }
  /* Nav blir en nedfällbar panel under headern; öppnas via .open (JS). */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px 20px 18px;
    background: rgba(20, 22, 29, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a:not(.btn) {
    padding: 12px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .btn {
    justify-content: center;
    width: 100%;
    margin-top: 6px;
  }
  .nav-links .btn-ghost {
    margin-top: 10px;
  }
}

/* ── Knappar ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 500;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover {
  filter: brightness(0.93);
}
.btn:active {
  transform: scale(0.97);
}
.btn-ghost {
  background: var(--surface-2);
  color: var(--ink);
}
.btn-primary {
  font-size: 17px;
  padding: 14px 26px;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 20px;
  align-items: flex-start;
}
.hero-cta-note {
  font-size: 14px;
  color: var(--ink-2);
}

/* ── Hero ── */
.hero {
  padding: 72px 0 40px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.hero h1 b {
  color: var(--accent);
  font-weight: 500;
}
.hero p.lead {
  font-size: 19px;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 520px;
}
.stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  flex: 1 1 160px;
  min-width: 0;
}
/* Badge som pekar på en butik där appen faktiskt finns – klickbar. */
.store-badge-live {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.store-badge-live:hover,
.store-badge-live:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.store-badge svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: var(--ink);
}
.store-badge .small {
  font-size: 11px;
  color: var(--ink-2);
  line-height: 1.2;
}
.store-badge .big {
  font-size: 16px;
  font-weight: 500;
}

/* Väntelista */
.waitlist {
  display: flex;
  gap: 10px;
  max-width: 460px;
  flex-wrap: wrap;
}
.waitlist input {
  flex: 1 1 200px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 16px;
  padding: 12px 16px;
  font-family: inherit;
}
.waitlist input::placeholder {
  color: var(--ink-2);
}
.waitlist input:focus {
  outline: none;
  border-color: var(--accent);
}
.form-note {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 10px;
}
.form-ok {
  color: var(--ok);
  font-weight: 500;
}

/* Hero-telefon */
.hero-phone {
  justify-self: center;
  width: 270px;
  border-radius: 36px;
  border: 8px solid var(--surface-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero p.lead,
  .stores,
  .waitlist {
    margin-left: auto;
    margin-right: auto;
  }
  .stores {
    justify-content: center;
  }
  .eyebrow {
    margin-inline: auto;
  }
}

/* ── Sektioner ── */
section {
  padding: 56px 0;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.4px;
}
.section-head p {
  color: var(--ink-2);
  font-size: 18px;
  margin: 0;
}

/* ── ADHD-band ── */
.adhd {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.adhd .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.adhd h2 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 500;
  margin: 0 0 16px;
  letter-spacing: -0.4px;
}
.adhd ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.adhd li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-2);
}
.adhd li b {
  color: var(--ink);
  font-weight: 500;
}
.adhd .check {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}
@media (max-width: 760px) {
  .adhd .wrap {
    grid-template-columns: 1fr;
  }
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px;
}
.feature .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature .ic svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.feature h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 8px;
}
.feature p {
  color: var(--ink-2);
  margin: 0;
  font-size: 15px;
}
@media (max-width: 880px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Skärmbilder ── */
.shots {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 8px 4px 20px;
}
.shots::-webkit-scrollbar {
  height: 8px;
}
.shots::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}
.shot {
  flex: 1 1 0;
  min-width: 0;
  max-width: 192px;
}
.shot img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 6px solid var(--surface-2);
}
/* Små skärmar: krymp inte till oläsligt – behåll swipe-karusellen i stället. */
@media (max-width: 720px) {
  .shots {
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .shot {
    flex: none;
    width: 220px;
    max-width: none;
    scroll-snap-align: center;
  }
}
.shot span {
  display: block;
  text-align: center;
  color: var(--ink-2);
  font-size: 14px;
  margin-top: 12px;
}

/* ── Pris ── */
.pris .card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}
.pris .amount {
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -1px;
}
.pris .amount span {
  font-size: 20px;
  color: var(--ink-2);
  font-weight: 400;
}
.pris .sub {
  color: var(--ink-2);
  margin: 4px 0 22px;
}
.pris ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  text-align: left;
  display: grid;
  gap: 12px;
}
.pris li {
  display: flex;
  gap: 10px;
  color: var(--ink);
}
.pris li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
details {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
}
details summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details summary:hover {
  color: var(--accent);
}
details summary::-webkit-details-marker {
  display: none;
}
details summary::after {
  content: '+';
  color: var(--accent);
  font-size: 22px;
}
details[open] summary::after {
  content: '–';
}
details p {
  color: var(--ink-2);
  margin: 12px 0 0;
}

/* ── Disclaimer ── */
.disclaimer {
  background: var(--darkest);
}
.disclaimer .wrap {
  max-width: 820px;
  text-align: center;
}
.disclaimer p {
  color: var(--ink-2);
  font-size: 14px;
  margin: 0 0 10px;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ink-2);
  font-size: 14px;
}
footer a:hover {
  color: var(--ink);
}
footer .foot-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer .foot-contact {
  font-size: 13px;
  color: var(--ink-2);
}

/* ── Enkel policy-sida ── */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 20px;
}
.doc h1 {
  font-weight: 500;
  font-size: 34px;
}
.doc h2 {
  font-weight: 500;
  font-size: 22px;
  margin-top: 32px;
}
.doc p,
.doc li {
  color: var(--ink-2);
}
.doc a {
  color: var(--accent);
}
