:root {
  --navy: #132651;
  --navy-2: #24396a;
  --navy-line: #4a6a99;
  --ink-dark: #01041c;
  --yellow: #f7dc6f;
  --yellow-soft: #fdf8e2;
  --peach: #f5b183;
  --label: var(--peach);
  --soft: #f1f5fa;
  --line: #dce3ee;
  --field: #c3cedd;
  --muted: #44536b;
  --faint: #5a6880;
  --on-navy: #c9d6ea;
  --on-navy-2: #dce5f2;
  --heading: Poppins, Arial, sans-serif;
  --body: Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
}

h1,
h2,
h3 {
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 860px;
}

.section {
  padding: 96px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  background: var(--navy);
  color: #fff;
}

.stack {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.row > * {
  min-width: 0;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
}

.on-dark .eyebrow,
.eyebrow.on-dark {
  color: var(--yellow);
}

.h1 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.h2 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.section-head {
  gap: 12px;
  max-width: 720px;
}

/* Header */

.site-header {
  background: var(--navy);
  color: #fff;
}

.site-header .wrap {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
  text-decoration: none;
}

.brand img,
.partner img,
.site-footer img {
  display: block;
  width: auto;
}

.brand img {
  height: 26px;
}

.club-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--heading);
  font-size: 20px;
  line-height: 1.2;
}

.club-brand img {
  display: block;
  height: 52px;
  width: auto;
}

.partner {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--on-navy);
}

.partner img {
  height: 18px;
}

.site-footer img {
  height: 20px;
}

.brand small {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--on-navy);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  font-size: 15px;
}

.nav a {
  color: #fff;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-family: var(--body);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.btn-yellow:hover {
  background: #f3d04a;
}

.nav .btn-yellow {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.nav .btn-yellow:hover {
  text-decoration: none;
}

.btn-ghost {
  color: #fff;
  border-color: var(--navy-line);
  font-weight: 600;
}

.btn-ghost:hover {
  border-color: #fff;
}

.btn-navy {
  width: 100%;
  min-height: 56px;
  border: none;
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-2);
}

.btn-navy:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* Hero */

.hero {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 96px;
}

.hero .row {
  gap: 48px;
  align-items: center;
}

.hero-copy {
  flex: 1 1 520px;
  gap: 24px;
}

.hero-copy .lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--on-navy-2);
  max-width: 560px;
}

.hero-actions {
  gap: 12px;
  padding-top: 8px;
}

.card {
  background: #fff;
  color: var(--navy);
  border-radius: 20px;
  padding: 36px;
}

.hero-card {
  flex: 1 1 380px;
  gap: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.big-number {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.big-number strong {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 96px;
  line-height: 0.9;
  color: var(--peach);
}

.big-number span {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  padding-bottom: 4px;
}

.divider {
  height: 1px;
  background: var(--line);
}

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checks svg {
  flex: none;
  margin-top: 2px;
}

.checks.muted {
  color: var(--muted);
}

/* Steps */

.steps {
  gap: 20px;
}

.step {
  flex: 1 1 240px;
  background: var(--soft);
  border-radius: 16px;
  padding: 28px;
  gap: 12px;
}

.step-num {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--peach);
}

.step h3 {
  font-size: 20px;
}

.step p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* Calculator */

.calc {
  flex: 1 1 480px;
  gap: 28px;
  box-shadow: 0 12px 40px rgba(11, 36, 71, 0.08);
}

.calc-copy {
  flex: 1 1 420px;
  gap: 16px;
}

.small {
  font-size: 14px;
  line-height: 1.5;
  color: var(--faint);
}

.slider {
  gap: 10px;
}

.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.slider-head label {
  font-size: 16px;
  font-weight: 600;
}

.slider-head output {
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

input[type="range"] {
  width: 100%;
  height: 32px;
  accent-color: var(--navy);
}

.result {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-end;
}

.result small {
  display: block;
  font-size: 14px;
  color: var(--on-navy);
  margin-bottom: 6px;
}

.result .commission {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 52px);
  line-height: 1;
  color: var(--yellow);
}

.result .revenue {
  font-size: 20px;
  font-weight: 600;
}

.result .right {
  text-align: right;
}

/* Service cards */

.services {
  gap: 24px;
}

.service {
  flex: 1 1 360px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  gap: 16px;
}

.service h3 {
  font-family: var(--heading);
  font-size: 28px;
}

.service .price {
  font-size: 18px;
  font-weight: 600;
}

.service p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.who {
  background: var(--soft);
  border-radius: 20px;
  padding: 36px;
  gap: 32px;
}

.who > div {
  flex: 1 1 260px;
  gap: 8px;
}

.who h3 {
  font-size: 20px;
}

.who p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.tags {
  flex: 2 1 480px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
}

.tags li {
  background: #fff;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
}

/* Benefits on dark */

.benefits {
  gap: 40px;
}

.benefit {
  flex: 1 1 240px;
  gap: 10px;
  border-top: 2px solid var(--yellow);
  padding-top: 20px;
}

.benefit h3 {
  font-size: 19px;
}

.benefit p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-navy);
}

/* FAQ */

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 64px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 600;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 26px;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding: 0 0 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 720px;
}

/* Forms */

.form {
  gap: 20px;
}

.form-card {
  flex: 1 1 520px;
  box-shadow: 0 12px 40px rgba(11, 36, 71, 0.08);
}

.fields {
  gap: 16px 20px;
}

.field {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label,
.form-label {
  font-size: 14px;
  font-weight: 600;
}

.form-label.strong {
  font-size: 15px;
  font-weight: 700;
}

.field input,
.field select {
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--field);
  border-radius: 10px;
  font-size: 16px;
  font-family: var(--body);
  color: var(--navy);
  background: #fff;
  width: 100%;
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.consent input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--navy);
}

.consent label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.form-note {
  font-size: 14px;
  color: var(--faint);
  text-align: center;
}

.form-status {
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
}

.form-status.ok {
  background: #e6f4ea;
  color: #14532d;
}

.form-status.err {
  background: #fdecee;
  color: #8a0f2a;
}

.form-done {
  gap: 12px;
  text-align: center;
  padding: 24px 0;
}

.form-done h3 {
  font-family: var(--heading);
  font-size: 26px;
}

.form-done p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.chosen-club {
  display: flex;
  align-items: center;
  background: var(--soft);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 600;
}

.choices {
  margin: 0;
  padding: 0;
  border: none;
}

.choices legend {
  font-size: 15px;
  font-weight: 700;
  padding: 0 0 10px;
}

.choices .row {
  gap: 12px;
}

.choice {
  flex: 1 1 210px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.choice:has(input:checked) {
  border-color: var(--navy);
  background: var(--yellow-soft);
}

.choice:has(input:focus-visible) {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.choice-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: none;
  accent-color: var(--navy);
}

.choice .price {
  font-size: 14px;
  font-weight: 600;
}

.choice .desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* Company page */

.company-hero {
  background: var(--soft);
  padding: 0 0 96px;
}

/* Den mörka bakgrunden sitter på texten och sträcks ut till kanterna med en
   skugga som klipps i höjdled. En fast höjd på sektionens bakgrund gjorde att
   ingressen rann ut på det ljusa när rubriken bröts på fler rader. */
.company-intro {
  gap: 22px;
  padding: 56px 0;
  background: var(--navy);
  box-shadow: 0 0 0 100vmax var(--navy);
  clip-path: inset(0 -100vmax);
}

.club-badge {
  display: block;
  width: 104px;
  height: auto;
}

.company-hero .row {
  gap: 48px;
  align-items: flex-start;
}

.company-copy {
  flex: 1 1 460px;
  gap: 22px;
  color: #fff;
}

.company-copy .lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--on-navy-2);
  max-width: 520px;
}

.company-steps {
  margin-top: 26px;
  gap: 20px;
  color: var(--navy);
}

.company-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.company-step .num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.company-step strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.company-step span {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.company-form {
  flex: 1 1 520px;
  margin-top: 56px;
  /* Över introns utsträckta skugga, som annars målas ovanpå kortet. */
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 60px rgba(11, 36, 71, 0.18);
}

.service .eyebrow {
  letter-spacing: 0.12em;
}

.support {
  padding: 80px 0;
}

.support .row {
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.support .row > div {
  flex: 1 1 520px;
  gap: 14px;
}

.support p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-navy);
  max-width: 600px;
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: var(--on-navy);
  padding: 48px 0;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer.dark {
  background: var(--ink-dark);
  padding: 40px 0;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.site-footer a {
  color: #fff;
}

[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

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

  .company-hero {
    padding-bottom: 64px;
  }

  .company-intro {
    padding: 40px 0;
  }

  /* Formuläret hamnar under stegen på mobil och behöver inte överlappa det mörka. */
  .company-form {
    margin-top: 0;
  }

  .card {
    padding: 24px;
  }

  .big-number strong {
    font-size: 72px;
  }

  .result .right {
    text-align: left;
  }

  .nav {
    gap: 8px 16px;
  }
}
