/* ==========================================================================
   1MQ — Tillsammans (säljsida)
   Alla regler prefixade med .together eller .together__*
   Palett: cream #faf3e8, djupblå #1f2940, golden #e8a04c, plommon #7a3a5e
   WCAG AA: cream på blå ≈ 13.4:1 · svart #15171c på cream ≈ 16.8:1
   ========================================================================== */

/* --------------------------------------------------------------------------
   TYPOGRAFI-IMPORT (Fraunces + Inter via Google Fonts — deklareras i <head>)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   LOKALA TOKENS — ärver --spacing-* och --radius-* från style.css
   -------------------------------------------------------------------------- */
.together {
  --t-cream:        #faf3e8;
  --t-blue:         #1f2940;
  --t-gold:         #e8a04c;
  --t-plum:         #7a3a5e;
  --t-ink:          #15171c;
  --t-ink-light:    #3d3f47;
  --t-cream-text:   #fff5e1;
  --t-gold-dark:    #c47d20; /* för hover-states på ljus bakgrund */

  --t-font-serif:   'Fraunces', Georgia, serif;
  --t-font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  --t-max-w:        1200px;
  --t-section-pad:  clamp(64px, 8vw, 120px);

  font-family: var(--t-font-sans);
  color: var(--t-ink);
  background-color: var(--t-cream);
  margin: 0;
  padding: 0;
}

/* Reset body override när .together är på <body> */
body.together {
  background-color: var(--t-cream);
}

/* --------------------------------------------------------------------------
   UTILITY
   -------------------------------------------------------------------------- */
.together__inner {
  max-width: var(--t-max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

/* Visuellt dolt men läsbart av skärmläsare */
.together .sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   KNAPPAR
   -------------------------------------------------------------------------- */
.together__btn--primary,
.together__btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-button, 6px);
  font-family: var(--t-font-sans);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
  white-space: nowrap;
}

.together__btn--primary {
  background-color: var(--t-gold);
  color: var(--t-ink);           /* #15171c på #e8a04c ≈ 5.6:1 — AA */
  border: 2px solid transparent;
}
.together__btn--primary:hover,
.together__btn--primary:focus-visible {
  background-color: #d08e3a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232,160,76,.4);
  outline: none;
}

.together__btn--ghost {
  background-color: transparent;
  color: var(--t-cream-text);    /* #fff5e1 på #1f2940 ≈ 13.4:1 — AAA */
  border: 2px solid rgba(255,245,225,0.55);
}
.together__btn--ghost:hover,
.together__btn--ghost:focus-visible {
  border-color: var(--t-cream-text);
  background-color: rgba(255,245,225,0.08);
  transform: translateY(-2px);
  outline: none;
}

.together__btn--primary:focus-visible,
.together__btn--ghost:focus-visible {
  outline: 3px solid var(--t-gold);
  outline-offset: 3px;
}

/* CTA-knapp på cream-bakgrund (sektion 5 + final) */
.together__btn--primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-button, 6px);
  font-family: var(--t-font-sans);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background-color: var(--t-blue);
  color: var(--t-cream-text);    /* #fff5e1 på #1f2940 ≈ 13.4:1 — AAA */
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
  white-space: nowrap;
}
.together__btn--primary-dark:hover,
.together__btn--primary-dark:focus-visible {
  background-color: #2c3a57;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31,41,64,.3);
  outline: none;
}
.together__btn--primary-dark:focus-visible {
  outline: 3px solid var(--t-blue);
  outline-offset: 3px;
}

.together__btn--ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-button, 6px);
  font-family: var(--t-font-sans);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background-color: transparent;
  color: var(--t-ink);           /* #15171c på #e8a04c ≈ 5.6:1 — AA */
  border: 2px solid rgba(21,23,28,0.4);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.together__btn--ghost-dark:hover,
.together__btn--ghost-dark:focus-visible {
  border-color: var(--t-ink);
  background-color: rgba(21,23,28,0.06);
  transform: translateY(-2px);
  outline: none;
}
.together__btn--ghost-dark:focus-visible {
  outline: 3px solid var(--t-ink);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.together__hero {
  background-color: var(--t-blue);
  color: var(--t-cream-text);
  padding-block: var(--t-section-pad);
  padding-inline: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtil bakgrundstextur — diagonala linjer */
.together__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.022) 0px,
    rgba(255,255,255,0.022) 1px,
    transparent 1px,
    transparent 48px
  );
  pointer-events: none;
}

.together__hero-inner {
  max-width: var(--t-max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.together__hero-content {
  max-width: 660px;
}

.together__kicker {
  display: inline-block;
  font-family: var(--t-font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-gold);           /* #e8a04c på #1f2940 ≈ 5.0:1 — AA */
  margin-bottom: 20px;
}

.together__hero h1 {
  font-family: var(--t-font-serif);
  font-weight: 800;
  font-size: clamp(40px, 6.5vw, 86px);
  line-height: 1.05;
  color: var(--t-cream-text);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.together__lede {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.65;
  color: rgba(255, 245, 225, 0.82); /* ≈ 10:1 on --t-blue — AA */
  margin: 0 0 40px;
  max-width: 540px;
}

.together__hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   HERO SVG-ILLUSTRATION — tre konstellationer av prickar
   -------------------------------------------------------------------------- */
.together__constellation {
  width: clamp(160px, 22vw, 300px);
  flex-shrink: 0;
}

.together__constellation svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Pulsande prickar */
.t-dot {
  animation: t-dot-pulse 3s ease-in-out infinite;
  transform-origin: center;
}
.t-dot:nth-child(2) { animation-delay: 0.4s; }
.t-dot:nth-child(3) { animation-delay: 0.8s; }
.t-dot:nth-child(4) { animation-delay: 1.2s; }
.t-dot:nth-child(5) { animation-delay: 1.6s; }
.t-dot:nth-child(6) { animation-delay: 2.0s; }
.t-dot:nth-child(7) { animation-delay: 2.4s; }

@keyframes t-dot-pulse {
  0%,100% { opacity: 0.55; r: 5; }
  50%      { opacity: 1;    r: 7; }
}

/* Linjer som förbinder konstellationerna */
.t-line {
  stroke: var(--t-gold);
  stroke-width: 1;
  stroke-dasharray: 6 4;
  animation: t-line-draw 2.5s ease-in-out infinite alternate;
  opacity: 0.45;
}
.t-line:nth-child(2) { animation-delay: 0.3s; }
.t-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes t-line-draw {
  from { opacity: 0.2; }
  to   { opacity: 0.7; }
}

/* --------------------------------------------------------------------------
   SEKTION — gemensamma regler
   -------------------------------------------------------------------------- */
.together__section {
  padding-block: var(--t-section-pad);
}

.together__section--alt {
  background-color: #f1e8d6; /* lite mörkare cream för alternering */
}

.together__section-heading {
  font-family: var(--t-font-serif);
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1.1;
  color: var(--t-ink);
  margin: 0 0 clamp(32px, 5vw, 64px);
  letter-spacing: -0.015em;
}

.together__section-heading--center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   SEKTION 1 — Tre sätt att vara tillsammans
   -------------------------------------------------------------------------- */
.together__ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
}

.together__way-card {
  background-color: var(--t-cream);
  border: 1.5px solid rgba(21,23,28,0.1);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 2px 12px rgba(21,23,28,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.together__way-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(21,23,28,0.12);
}

.together__way-icon {
  font-size: 32px;
  line-height: 1;
}

.together__way-title {
  font-family: var(--t-font-serif);
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--t-ink);
  margin: 0;
  line-height: 1.25;
}

.together__way-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--t-ink-light);    /* #3d3f47 på cream ≈ 8.5:1 — AAA */
  margin: 0;
  flex: 1;
}

/* Mini-illustration via SVG */
.together__way-illus {
  margin-top: auto;
  height: 64px;
  display: flex;
  align-items: center;
}

.together__way-illus svg {
  width: 80px;
  height: 64px;
  overflow: visible;
}

.t-mini-dot {
  fill: var(--t-gold);
  opacity: 0.75;
}
.t-mini-dot--center {
  fill: var(--t-plum);
  opacity: 0.9;
}
.t-mini-line {
  stroke: var(--t-plum);
  stroke-width: 1.5;
  opacity: 0.4;
}

/* --------------------------------------------------------------------------
   SEKTION 2 — Karusell med citat-bubblor
   -------------------------------------------------------------------------- */
.together__quotes-section {
  background-color: var(--t-blue);
  color: var(--t-cream-text);
  padding-block: var(--t-section-pad);
  position: relative;
  overflow: hidden;
}

.together__quotes-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.018) 0px,
    rgba(255,255,255,0.018) 1px,
    transparent 1px,
    transparent 56px
  );
  pointer-events: none;
}

.together__quotes-section .together__section-heading {
  color: var(--t-cream-text);
  position: relative;
  z-index: 1;
}

.together__carousel {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.together__quote-bubble {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  max-width: 680px;
  width: calc(100% - 40px);

  background-color: rgba(255,245,225,0.07);
  border: 1.5px solid rgba(255,245,225,0.2);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 44px) clamp(24px, 4vw, 52px);
  text-align: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.together__quote-bubble--active {
  opacity: 1;
  pointer-events: auto;
}

/* Ingen animation vid prefers-reduced-motion — visa alla synligt */
@media (prefers-reduced-motion: reduce) {
  .together__quote-bubble {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    margin-bottom: 16px;
    display: block;
  }
  .together__carousel {
    flex-direction: column;
    min-height: auto;
    gap: 16px;
    align-items: stretch;
  }
}

.together__quote-text {
  font-family: var(--t-font-serif);
  font-weight: 600;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.4;
  color: var(--t-cream-text);    /* #fff5e1 på #1f2940 ≈ 13.4:1 — AAA */
  margin: 0 0 16px;
}

.together__quote-text::before { content: '\201C'; }
.together__quote-text::after  { content: '\201D'; }

.together__quote-note {
  font-size: 13px;
  color: var(--t-gold);           /* #e8a04c på #1f2940 ≈ 5.0:1 — AA */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}

/* Dots-nav */
.together__carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

.together__carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255,245,225,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s, transform 0.3s;
}
.together__carousel-dot--active {
  background-color: var(--t-gold);
  transform: scale(1.4);
}
.together__carousel-dot:focus-visible {
  outline: 2px solid var(--t-gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .together__carousel-nav { display: none; }
}

/* --------------------------------------------------------------------------
   SEKTION 3 — Persona-kort
   -------------------------------------------------------------------------- */
.together__personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
}

.together__persona-card {
  border-radius: 16px;
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.together__persona-img-wrap {
  margin: calc(clamp(28px, 3.5vw, 44px) * -1);
  margin-bottom: 16px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
  position: relative;
}
.together__persona-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.together__persona-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.together__persona-card:hover .together__persona-img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .together__persona-img { transition: none; }
}

.together__persona-card:nth-child(1) {
  background-color: var(--t-blue);
  color: var(--t-cream-text);
}
.together__persona-card:nth-child(2) {
  background-color: var(--t-plum);
  color: #fff0f6;               /* vit-ish på plommon ≈ 8.0:1 — AAA */
}
.together__persona-card:nth-child(3) {
  background-color: var(--t-ink);
  color: var(--t-cream-text);   /* #fff5e1 på #15171c ≈ 16.8:1 — AAA */
}

.together__persona-card::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.04);
  pointer-events: none;
}

.together__persona-icon {
  font-size: 36px;
  line-height: 1;
}

.together__persona-title {
  font-family: var(--t-font-serif);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 23px);
  margin: 0;
  line-height: 1.25;
}

.together__persona-desc {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  opacity: 0.88;
}

/* --------------------------------------------------------------------------
   SEKTION 4 — Invite-steg (scroll-triggered)
   -------------------------------------------------------------------------- */
.together__steps-section {
  background-color: var(--t-cream);
  padding-block: var(--t-section-pad);
}

.together__steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.together__step {
  display: flex;
  flex-direction: column;
  gap: 20px;

  /* scroll-animation starttillstånd */
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.together__step--visible {
  opacity: 1;
  transform: translateY(0);
}
.together__step:nth-child(2) { transition-delay: 0.15s; }
.together__step:nth-child(3) { transition-delay: 0.30s; }

/* Respektera prefers-reduced-motion — synlig direkt utan animation */
@media (prefers-reduced-motion: reduce) {
  .together__step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.together__step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background-color: var(--t-gold);
  color: var(--t-ink);             /* #15171c på #e8a04c ≈ 5.6:1 — AA */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--t-font-serif);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}

.together__step-title {
  font-family: var(--t-font-serif);
  font-weight: 600;
  font-size: clamp(19px, 2.5vw, 24px);
  color: var(--t-ink);
  margin: 0;
}

.together__step-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--t-ink-light);
  margin: 0;
}

/* Mock UI-kort för varje steg */
.together__step-mock {
  background-color: #fff;
  border: 1.5px solid rgba(21,23,28,0.1);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(21,23,28,0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 130px;
  align-items: flex-start;
  justify-content: center;
}

/* Steg 1 — "Skapa rum"-knapp-mockup */
.t-mock-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  background-color: var(--t-gold);
  color: var(--t-ink);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--t-font-sans);
}

.t-mock-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  font-family: var(--t-font-sans);
}

.t-mock-code {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--t-blue);
  line-height: 1;
}

.t-mock-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background-color: rgba(31,41,64,0.08);
  font-size: 12px;
  font-weight: 600;
  color: var(--t-blue);
  font-family: var(--t-font-sans);
}

/* Steg 3 — spelare lyser upp */
.t-mock-players {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.t-mock-player {
  width: 36px; height: 36px;
  border-radius: 50%;
  background-color: rgba(21,23,28,0.1);
  transition: background-color 0.4s, transform 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.t-mock-player--active {
  background-color: var(--t-gold);
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   SEKTION 5 — Testimonials
   -------------------------------------------------------------------------- */
.together__testimonials-section {
  background-color: #f1e8d6;
  padding-block: var(--t-section-pad);
}

.together__testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
}

.together__testimonial-card {
  background-color: var(--t-cream);
  border: 1.5px solid rgba(21,23,28,0.08);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 2px 10px rgba(21,23,28,0.06);
  position: relative;
}

.together__testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; left: 24px;
  font-family: var(--t-font-serif);
  font-size: 64px;
  font-weight: 800;
  color: var(--t-gold);
  line-height: 1;
  opacity: 0.45;
  pointer-events: none;
}

.together__testimonial-text {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
  color: var(--t-ink);
  margin: 0;
  padding-top: 20px; /* rum för öppet citattecken */
}

.together__testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.together__testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background-color: var(--t-plum);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--t-font-sans);
}

.together__testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--t-ink);
  margin: 0;
  line-height: 1.3;
}
.together__testimonial-location {
  font-size: 12px;
  color: var(--t-ink-light);
  margin: 0;
}
.together__testimonial-demo {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t-ink-light);
  background-color: rgba(21,23,28,0.06);
  padding: 2px 8px;
  border-radius: 4px;
  align-self: flex-start;
  font-family: var(--t-font-sans);
}

/* --------------------------------------------------------------------------
   FINAL CTA-BLOCK
   -------------------------------------------------------------------------- */
.together__final-cta {
  background-color: var(--t-gold);
  padding-block: clamp(80px, 10vw, 140px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.together__final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.07) 0px,
    rgba(255,255,255,0.07) 1px,
    transparent 1px,
    transparent 40px
  );
  pointer-events: none;
}

.together__final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: var(--t-max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.together__final-cta h2 {
  font-family: var(--t-font-serif);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 62px);
  color: var(--t-ink);             /* #15171c på #e8a04c ≈ 5.6:1 — AA */
  margin: 0 0 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.together__final-cta-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(21,23,28,0.72);      /* ≈ 4.8:1 på #e8a04c — AA */
  margin: 0 0 44px;
  line-height: 1.6;
}

.together__final-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

/* --------------------------------------------------------------------------
   RESPONSIVE — 768px breakpoint
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .together__hero-inner {
    grid-template-columns: 1fr;
  }

  .together__constellation {
    display: none; /* på mobil — spara utrymme */
  }

  .together__ways-grid,
  .together__personas-grid,
  .together__steps-grid,
  .together__testimonials-grid {
    grid-template-columns: 1fr;
  }

  .together__hero h1 {
    font-size: clamp(36px, 9vw, 52px);
  }
}

/* Extra liten — 320px */
@media (max-width: 400px) {
  .together__btn--primary,
  .together__btn--ghost,
  .together__btn--primary-dark,
  .together__btn--ghost-dark {
    width: 100%;
    justify-content: center;
  }

  .together__hero-ctas,
  .together__final-cta-btns {
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   FOOTER-OVERRIDES (site-foot på cream-bakgrund)
   -------------------------------------------------------------------------- */
body.together .site-foot {
  background-color: var(--t-blue);
  color: rgba(255,245,225,0.75);
  padding: 40px clamp(20px, 5vw, 64px);
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}

body.together .site-foot a {
  color: var(--t-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.together .site-foot p {
  margin: 4px 0;
}

/* ==========================================================================
   REGLERNA — appended from /hur-man-spelar.php, styled in tillsammans palette.
   ========================================================================== */

.together__rules {
  background: #fff5e1;
  padding: 80px 24px 100px;
  border-top: 1px solid rgba(122, 58, 94, 0.15);
}
.together__rules-inner {
  max-width: 720px;
  margin: 0 auto;
  color: #15171c;
}
.together__rules-head {
  text-align: center;
  margin-bottom: 48px;
}
.together__rules-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  margin: 0 0 8px;
  color: #1f2940;
}
.together__rules-head p {
  font-size: 16px;
  margin: 0;
  color: #6b6457;
}
.together__rules-block { margin-bottom: 40px; }
.together__rules-block h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
  color: #1f2940;
  border-left: 3px solid #e8a04c;
  padding-left: 12px;
}
.together__rules-block p {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 12px;
  color: #2a2c33;
}
.together__rules-block strong {
  color: #7a3a5e;
  font-weight: 600;
}
.together__rules-block em {
  color: #1f2940;
  font-style: normal;
  font-weight: 600;
}
.together__rules-modes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.together__rules-modes li {
  padding: 14px 16px;
  background: #faf3e8;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.55;
  border-left: 3px solid rgba(232, 160, 76, 0.55);
}
.together__rules-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.together__rules-card {
  padding: 18px 20px;
  border-radius: 12px;
  background: #faf3e8;
  border: 1px solid rgba(122, 58, 94, 0.18);
}
.together__rules-card span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 8px;
}
.together__rules-card--ok span { background: #cdebd5; color: #1f6f3d; }
.together__rules-card--bad span { background: #f4d7d2; color: #b03a2e; }
.together__rules-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #1f2940;
}
.together__rules-card p {
  margin: 0;
  font-size: 14px;
  color: #4a4d56;
  line-height: 1.5;
}
.together__rules-block--quick ol { padding-left: 24px; margin: 0; }
.together__rules-block--quick li {
  padding: 6px 0;
  font-size: 16px;
  line-height: 1.55;
}
.together__rules-cta {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px dashed rgba(122, 58, 94, 0.25);
}
.together__rules-cta .together__btn--primary {
  display: inline-flex;
  padding: 14px 32px;
  font-size: 16px;
}

@media (max-width: 600px) {
  .together__rules { padding: 56px 20px 72px; }
  .together__rules-cards { grid-template-columns: 1fr; }
}
