/* Öl vs Jogg — webbplats. Samma toner som appen (Design/Theme.swift). */

:root {
  --bg: #F4F1EB;
  --bg-alt: #EDE8DF;
  --card: #FFFFFF;
  --ink: #15181D;
  --ink-2: #6A7280;
  --ink-3: #9AA1AC;
  --beer: #E08A0B;
  --beer-deep: #B2650A;
  --beer-soft: #FDF0D8;
  --jog: #149453;
  --jog-deep: #0B6C3B;
  --jog-soft: #DDF4E7;
  --line: rgba(21, 24, 29, 0.08);
  --shadow: 0 30px 60px -30px rgba(21, 24, 29, 0.35);
  --radius: 28px;
  --frame: #191A1F;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0D10;
    --bg-alt: #101318;
    --card: #161A20;
    --ink: #F3F5F8;
    --ink-2: #99A1AE;
    --ink-3: #6C7685;
    --beer: #FFB43D;
    --beer-deep: #E08A0B;
    --beer-soft: #33260F;
    --jog: #35D67F;
    --jog-deep: #149453;
    --jog-soft: #0F2A1D;
    --line: rgba(243, 245, 248, 0.08);
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
    --frame: #2A2D34;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

/* Header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 20px; white-space: nowrap; }
.brand img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.lang {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink) !important;
}

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding: 40px 0 64px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--beer-deep);
  background: var(--beer-soft); padding: 6px 12px; border-radius: 999px;
}
h1 {
  font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.02em;
  margin: 18px 0 18px; font-weight: 900;
}
h1 .beer { color: var(--beer); }
h1 .jog { color: var(--jog); }
.lead { font-size: 20px; color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta img { height: 56px; width: auto; }
.cta small { color: var(--ink-3); font-weight: 700; font-size: 14px; }

/* Telefoner */
.phones { position: relative; display: flex; justify-content: center; min-height: 560px; }
.phone {
  background: var(--frame); border-radius: 42px; padding: 11px;
  box-shadow: var(--shadow); width: 250px; flex: none;
}
.phone img { border-radius: 32px; width: 100%; }
.hero > * { min-width: 0; }
.phones .phone:nth-child(1) { position: relative; z-index: 2; }
.phones .phone:nth-child(2) {
  position: absolute; right: 0; top: 60px; width: 200px; z-index: 1;
  transform: rotate(6deg); opacity: .95;
}
.phones .phone:nth-child(2) img { border-radius: 28px; }

/* Sektioner */
section { padding: 56px 0; }
.section-title { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 12px; font-weight: 900; }
.section-lead { color: var(--ink-2); font-size: 19px; max-width: 40em; margin: 0 0 36px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line);
}
.step .num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 900; font-size: 20px; color: #fff; margin-bottom: 18px;
}
.step.beer .num { background: var(--beer); }
.step.jog .num { background: var(--jog); }
.step.ink .num { background: var(--ink); color: var(--bg); }
.step h3 { margin: 0 0 8px; font-size: 21px; }
.step p { margin: 0; color: var(--ink-2); }

/* Mätarkort */
.gauge-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.tile {
  border-radius: var(--radius); padding: 32px; border: 1px solid var(--line);
}
.tile.debt { background: var(--beer-soft); }
.tile.bank { background: var(--jog-soft); }
.tile .label { font-weight: 900; letter-spacing: .14em; font-size: 13px; text-transform: uppercase; }
.tile.debt .label { color: var(--beer-deep); }
.tile.bank .label { color: var(--jog-deep); }
.tile .big { font-size: 64px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin: 10px 0 6px; font-variant-numeric: tabular-nums; }
.tile .sub { color: var(--ink-2); font-weight: 700; }
.tile .quip { margin-top: 18px; font-size: 18px; }
.tile .quip strong { display: block; font-size: 20px; }

/* Funktioner */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 20px;
}
.feature .dot { width: 12px; height: 12px; border-radius: 50%; margin-bottom: 14px; }
.feature.beer .dot { background: var(--beer); }
.feature.jog .dot { background: var(--jog); }
.feature.ink .dot { background: var(--ink-3); }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* Galleri */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.shot { text-align: center; }
.shot .phone { width: 100%; max-width: 300px; margin: 0 auto 18px; }
.shot h3 { margin: 0 0 4px; font-size: 20px; }
.shot p { margin: 0; color: var(--ink-2); }

/* Gratis-banderoll */
.free {
  background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: 44px;
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: center;
}
.free h2 { margin: 0 0 10px; font-size: 32px; letter-spacing: -0.02em; }
.free p { margin: 0; color: rgba(244, 241, 235, .75); font-size: 18px; }
.free .cta { justify-content: flex-end; }
@media (prefers-color-scheme: dark) { .free { background: var(--card); color: var(--ink); } .free p { color: var(--ink-2); } }

/* Text-sidor */
.doc { max-width: 720px; padding: 24px 0 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); }
.doc h2 { font-size: 28px; margin: 48px 0 8px; letter-spacing: -0.01em; }
.doc h3 { font-size: 19px; margin: 28px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p strong, .doc li strong { color: var(--ink); }
.doc .meta { color: var(--ink-3); font-weight: 700; font-size: 15px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }
.doc .callout {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px;
  font-weight: 700; color: var(--ink);
}
.doc .switch { display: flex; gap: 10px; margin-bottom: 8px; font-weight: 800; font-size: 14px; }
.doc .switch a { text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
.doc .switch a[aria-current] { color: var(--ink); border-color: var(--ink); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--ink-3); font-size: 15px; }
footer .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--ink-2); text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--ink); }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer .disclaimer { margin-top: 14px; max-width: 60em; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .phones { min-height: 0; margin-top: 12px; }
  .phones .phone:nth-child(2) { display: none; }
  .steps, .features, .gallery { grid-template-columns: 1fr; }
  .gauge-card { grid-template-columns: 1fr; }
  .free { grid-template-columns: 1fr; padding: 32px; }
  .free .cta { justify-content: flex-start; }
  .nav { gap: 14px; }
  .nav .hide-sm { display: none; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .top { padding: 16px 0; }
  .nav a:not(.lang) { display: none; }
  .phone { width: 100%; max-width: 300px; }
  .tile .big { font-size: 52px; }
}
