/* Klubbavgift.se – design tokens shared with the member app and the emails (see the design concept) */
:root {
  --orange: #ffaa17;
  --orange-light: #fff0d6;
  --orange-dark: #8a4a00;
  --orange-darker: #5e3200;
  --ink: #1c1f23;
  --ink-soft: #3a4047;
  --stone: #5c6570;
  --paper: #faf7f2;
  --white: #ffffff;
  --line: #e7e2d9;
  --line-soft: #f1ece3;
  --paid: #17603c;
  --paid-light: #e6f3ec;
  --dark-card: #262a30;
  --dark-text: #c9cdd2;

  --font-display: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 28px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--orange-dark);
}

a:hover {
  color: var(--orange-darker);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
}

p {
  margin: 0;
}

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

.section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
  margin-bottom: 40px;
}

.section-head p {
  font-size: 18px;
  line-height: 28px;
  color: var(--ink-soft);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--orange-dark);
}

.h2 {
  font-size: clamp(32px, 4vw, 44px);
}

/* Buttons: dark text on orange, never white */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--ink);
}

.btn-primary:hover {
  background: #f59e0b;
  color: var(--ink);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #000000;
  color: var(--white);
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-features {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

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

.site-header .logo img {
  display: block;
  height: 44px;
  width: auto;
}

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

.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:not(.btn):hover {
  color: var(--orange-dark);
  text-decoration: underline;
}

.site-nav .btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 16px;
}

/* Hero */
.hero .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-text {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-text h1 {
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1;
}

.hero-text .lead {
  font-size: 20px;
  line-height: 30px;
  color: var(--ink-soft);
  max-width: 560px;
}

.hero-badge {
  background: var(--orange-light);
  color: var(--orange-dark);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--stone);
  font-size: 15px;
}

.checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-visual {
  flex: 1 1 440px;
  min-width: 0;
  margin: 0;
}

.browser {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: 0 24px 48px -28px rgba(28, 31, 35, 0.35);
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.browser img {
  display: block;
  width: 100%;
}

figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--stone);
}

/* Problems */
.problems {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.post {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.post .meta {
  font-size: 13px;
  color: var(--stone);
}

.post blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-line;
}

.post .who {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--stone);
}

.post-photo {
  padding: 0;
  overflow: hidden;
}

.post-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 960 / 470;
  object-fit: cover;
}

.post-photo .who {
  margin: 0 22px 22px;
}

.fee-table {
  border-collapse: collapse;
  font-size: 14px;
}

.fee-table td {
  padding: 2px 16px 2px 0;
}

.problems-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--stone);
}

.solution {
  margin-top: 32px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--paid-light);
  color: var(--paid);
  border-radius: var(--radius-m);
  padding: 20px 22px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

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

/* Use cases */
.uses .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.uses strong {
  margin-right: 8px;
}

.uses span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--white);
}

/* Steps */
.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
}

.step p {
  color: var(--ink-soft);
}

/* Features (dark) */
.features {
  background: var(--ink);
  color: var(--white);
}

.features .eyebrow {
  color: var(--orange);
}

.feature {
  background: var(--dark-card);
  border-radius: var(--radius-m);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.feature p {
  color: var(--dark-text);
}

/* Screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.shot {
  margin: 0;
}

.shot a {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--white);
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top left;
}

.shot a:hover {
  border-color: var(--ink);
}

/* Members */
.members .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.members-text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.members-text p {
  font-size: 18px;
  line-height: 28px;
  color: var(--ink-soft);
}

.members-text a {
  font-weight: 600;
  font-size: 17px;
}

.phone-wrap {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.phone {
  width: 300px;
  max-width: 100%;
  background: var(--ink);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 24px 48px -28px rgba(28, 31, 35, 0.45);
}

.phone-screen {
  background: var(--paper);
  border-radius: 30px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-club {
  font-size: 13px;
  color: var(--stone);
}

.phone-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
}

.phone-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.phone-list .total {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  font-weight: 700;
}

.phone-pay {
  min-height: 48px;
  border-radius: var(--radius-s);
  background: var(--orange);
  color: var(--ink);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-note {
  font-size: 13px;
  color: var(--stone);
}

/* Contact */
.contact {
  padding-bottom: 88px;
}

.contact-band {
  background: var(--orange);
  color: var(--ink);
  border-radius: var(--radius-l);
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-band > div {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-band h2 {
  font-size: clamp(30px, 3.6vw, 40px);
}

.contact-band p {
  font-size: 18px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

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

.site-footer img {
  display: block;
  height: 36px;
  width: auto;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer nav a {
  color: var(--ink);
}

.site-footer small {
  font-size: 14px;
  color: var(--stone);
}

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

  .container {
    padding: 0 16px;
  }

  .hero .container {
    padding-top: 48px;
    padding-bottom: 48px;
    gap: 40px;
  }

  .contact-band {
    padding: 32px 24px;
  }

  .card {
    padding: 22px;
  }
}
