/* First Class Courses — v2
   Mörk, redaktionell design: Instrument Serif i rubriker, Inter i brödtext,
   vita piller-knappar och små inslag av loggans lila gradient. */

/* ---------- Tokens ---------- */
:root {
  --bg: #050506;
  --bg-raised: #0b0b0d;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .15);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018));

  --text: #f5f5f6;
  --body: #a6a6ae;
  --soft: #8d8d95;
  --faint: #6c6c74;

  --violet-200: #d3c4ff;
  --violet-300: #b59aff;
  --violet-400: #a284fb;
  --violet-500: #7c5cf5;
  --violet-700: #5b43df;
  --grad: linear-gradient(100deg, #d3c4ff 0%, #a284fb 45%, #7c5cf5 100%);

  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 22px;
  --container: 1128px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 16.5px/1.65 var(--sans);
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--text); }
ul { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 500; color: var(--text); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: rgba(124, 92, 245, .45); color: #fff; }

:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sprite #i-star path, .stars use { fill: url(#violet); }

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: #fff; color: #000; font-weight: 500; font-size: 14px;
  transform: translateY(-300%); opacity: 0;
  transition: transform .2s var(--ease), opacity .2s;
}
.skip:focus { transform: none; opacity: 1; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

/* ---------- Typografi ---------- */
.display {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.012em;
  color: var(--text);
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--soft); }
.display .line { display: block; }
.display--md { font-size: clamp(2.2rem, 4.3vw, 3.5rem); line-height: 1.08; }
.display--sm { font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.1; }
.display--left { text-align: left; }

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.65;
  color: var(--body);
  max-width: 44rem;
  margin-inline: auto;
  text-wrap: pretty;
}

.subhead {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.15;
  text-align: center;
  margin: 0 0 32px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.underline {
  font-style: normal;
  color: var(--text);
  background: linear-gradient(var(--violet-400), var(--violet-500)) left 88% / 100% 2px no-repeat;
  padding-bottom: .04em;
}

.link-violet { color: var(--violet-300); border-bottom: 1px solid rgba(181, 154, 255, .35); transition: color .2s, border-color .2s; }
.link-violet:hover { color: var(--violet-200); border-color: var(--violet-200); }

.prose { font-size: 1.02rem; }
.prose p { margin-bottom: 1.05em; }
.prose--narrow { max-width: 43rem; margin: 56px auto 0; }

/* ---------- Piller ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 32px; padding: 6px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: #d6d6db;
  font-size: 12.5px; line-height: 1.2; letter-spacing: .015em;
  margin: 0 0 26px;
}
.pill__dot {
  flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px rgba(162, 132, 251, .16), 0 0 14px rgba(162, 132, 251, .95);
}

.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  border: 1px solid rgba(162, 132, 251, .38);
  background: rgba(124, 92, 245, .12);
  color: var(--violet-200);
  font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
}

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font: 500 15px/1 var(--sans);
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }

.btn--primary { background: #fff; color: #09090b; }
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(162, 132, 251, .2), 0 14px 44px -12px rgba(124, 92, 245, .75);
}
.btn--ghost { background: #0b0b0d; color: var(--text); border: 1px solid var(--line-strong); }
.btn--ghost:hover { border-color: rgba(181, 154, 255, .55); background: #101013; transform: translateY(-1px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 6, .72);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  transition: background .3s;
}
.header.is-scrolled { background: rgba(5, 5, 6, .9); }
.header__inner {
  height: var(--header-h);
  max-width: calc(1320px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.header__logo { justify-self: start; display: block; }
.header__logo img { height: 56px; width: auto; }

.nav { display: flex; gap: clamp(18px, 2.6vw, 36px); }
.nav a { font-size: 14px; color: var(--body); padding: 8px 2px; position: relative; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 1px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.icon-link { color: var(--body); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; transition: color .2s, background .2s; }
.icon-link:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* Ligger ovanpå sidan i stället för att knuffa ner den, så ankarlänkar landar rätt */
.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  border-top: 1px solid var(--line);
  padding: 18px var(--gutter) 28px;
  background:
    radial-gradient(80% 40% at 50% 100%, rgba(124, 92, 245, .16), transparent 70%),
    var(--bg);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; margin-bottom: 22px; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; color: var(--text);
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { width: 100%; }

/* ---------- Sektioner ---------- */
/* overflow-x: clip håller dekorativa ljussken inom sidans bredd utan att skapa en scrollyta */
.section { position: relative; padding: clamp(84px, 11vw, 148px) 0; scroll-margin-top: var(--header-h); overflow-x: clip; }
.section--line::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--container), 100% - var(--gutter) * 2); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
}
.section__head { text-align: center; max-width: 60rem; margin: 0 auto clamp(40px, 5vw, 64px); }
.section__head .display { margin-bottom: 22px; }
.section__head .display:last-child { margin-bottom: 0; }
.section__head .lead + .lead { margin-top: 1em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  padding: clamp(52px, 6.4vw, 92px) 0 clamp(80px, 9vw, 128px);
  text-align: center;
  overflow-x: clip;
}
/* Ljusskenet går 320px ner under hero så att det tonar ut i stället för att kapas */
.hero::before {
  content: ""; position: absolute; inset: 0 0 -320px 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(52% 36% at 50% -4%, rgba(124, 92, 245, .17), transparent 72%),
    radial-gradient(34% 30% at 92% 72%, rgba(255, 255, 255, .06), transparent 70%),
    radial-gradient(30% 28% at 4% 36%, rgba(255, 255, 255, .04), transparent 70%);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero .display { margin-bottom: 26px; }
.hero .lead { max-width: 40rem; margin-bottom: 12px; font-size: clamp(1.08rem, 1.5vw, 1.22rem); }
.hero__cta-text { font-size: clamp(1.08rem, 1.5vw, 1.22rem); margin: 0 0 34px; max-width: 40rem; text-wrap: balance; }
.hero .btn-row { margin-bottom: clamp(56px, 6.5vw, 84px); }

.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  width: 100%; max-width: 780px;
}
.stat-card {
  position: relative; text-align: left;
  padding: 22px 24px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.stat-card p { margin: 0; }
.stat-card__label { font-size: 13.5px; color: var(--body); }
.stat-card__value { font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1.15; color: var(--text); margin: 4px 0 6px !important; white-space: nowrap; }
.stat-card__trend { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--violet-300); }

/* ---------- Rutnät och kort ---------- */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.card--span2 { grid-column: span 2; }
.card--span3 { grid-column: span 3; }

.card {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
  transition: border-color .35s, transform .35s var(--ease), background .35s;
}
.card:hover { border-color: rgba(181, 154, 255, .32); }
.card p { font-size: 1rem; line-height: 1.6; margin-bottom: .85em; }
.card p:last-child { margin-bottom: 0; }
.card__title {
  font-family: var(--serif); font-size: clamp(1.55rem, 2.1vw, 1.85rem); line-height: 1.12;
  margin-bottom: 14px; color: var(--text);
}

.card--violet {
  text-align: center;
  border-color: rgba(162, 132, 251, .24);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(124, 92, 245, .2), transparent 62%),
    var(--glass);
}
.card--violet:hover { border-color: rgba(181, 154, 255, .5); }

/* ---------- Drömmen ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px); align-items: center;
}
.split .display { margin-bottom: 28px; }

.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 17px; height: 17px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17'%3E%3Cpath d='M4.6 8.8l2.5 2.5 5.3-5.6' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 17px no-repeat,
    linear-gradient(135deg, var(--violet-400), var(--violet-700));
}

.inbox {
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #111114, #0a0a0c);
  box-shadow: 0 50px 100px -50px rgba(124, 92, 245, .4), 0 30px 60px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .07);
  overflow: hidden;
  font-size: 13.5px;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
  mask-image: linear-gradient(180deg, #000 78%, transparent);
}
.inbox__bar { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.inbox__menu { display: grid; gap: 4px; width: 17px; }
.inbox__menu i { height: 1.5px; background: var(--body); border-radius: 2px; }
.inbox__title { font-size: 17px; font-weight: 600; color: var(--text); margin-right: auto; }
.inbox__search { display: flex; align-items: center; gap: 8px; width: 46%; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); color: var(--faint); }
.inbox__body { display: grid; grid-template-columns: 124px minmax(0, 1fr); }
.inbox__side { padding: 12px 10px; border-right: 1px solid var(--line); display: grid; gap: 2px; align-content: start; }
.inbox__side li { padding: 8px 10px; border-radius: 9px; color: var(--body); display: flex; justify-content: space-between; }
.inbox__side li b { font-weight: 500; color: var(--faint); }
.inbox__side li.is-active { background: rgba(124, 92, 245, .16); color: var(--text); font-weight: 500; }
.inbox__list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.inbox__avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--body); }
.inbox__from { display: grid; line-height: 1.3; color: var(--body); font-size: 12.5px; min-width: 0; }
.inbox__from b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox__meta { display: grid; text-align: right; line-height: 1.3; font-size: 12.5px; color: var(--faint); }
.inbox__meta b { color: var(--violet-200); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Omdömen ---------- */
.review { display: flex; flex-direction: column; }
.review__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-bottom: 22px; }
.review__head p { margin: 0; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-strong); }
.avatar--mono {
  display: grid; place-items: center;
  font: 500 15px/1 var(--sans); letter-spacing: .04em; color: #fff;
  background: linear-gradient(135deg, var(--violet-400), var(--violet-700));
  box-shadow: 0 0 0 1px rgba(211, 196, 255, .4), 0 8px 24px -8px rgba(124, 92, 245, .9);
}
.review__who { display: grid; line-height: 1.35; font-size: 14.5px; }
.review__who b { font-size: 15.5px; font-weight: 600; }
.review__meta { display: grid; justify-items: end; gap: 5px; font-size: 13px; color: var(--faint); }
.stars { width: 92px; height: auto; }

.more {
  align-self: flex-start; margin-top: auto; padding-top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--violet-300); font-size: 13px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
  transition: color .2s;
}
.more:hover { color: var(--violet-200); }
.more svg { transition: transform .3s var(--ease); }
.more:hover svg { transform: translateX(3px); }
.more[aria-expanded="true"] svg { transform: rotate(-90deg); }

.case {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(26px, 3.4vw, 44px);
  margin-bottom: 18px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(162, 132, 251, .3);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(124, 92, 245, .2), transparent 60%),
    var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.case__main p { font-size: 1rem; line-height: 1.6; margin-bottom: .85em; }
.case__main p:last-child { margin-bottom: 0; }
.case__stats { margin: 0; display: grid; gap: 0; }
.case__stats > div { padding: 20px 0; border-top: 1px solid var(--line); }
.case__stats > div:first-child { border-top: 0; padding-top: 0; }
.case__stats > div:last-child { padding-bottom: 0; }
.case__stats dt {
  font-family: var(--serif); font-size: clamp(2.3rem, 3.6vw, 3.2rem); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  width: fit-content; padding-right: .06em; margin-bottom: 8px;
}
.case__stats dd { margin: 0; font-size: 14.5px; line-height: 1.4; color: var(--body); }

/* ---------- Om oss ---------- */
.split--about { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; }
.portrait-wrap { position: relative; isolation: isolate; }
.portrait-wrap::before {
  content: ""; position: absolute; inset: -14% -16% -18%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(124, 92, 245, .3), transparent);
}
.portrait {
  position: relative; isolation: isolate; margin: 0;
  border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line-strong);
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(64% 56% at 52% 44%, rgba(124, 92, 245, .42), transparent 72%),
    radial-gradient(90% 60% at 50% 110%, rgba(91, 67, 223, .3), transparent 70%),
    #0a0a0c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.portrait picture, .portrait img { width: 100%; height: 100%; }
.portrait img { object-fit: cover; object-position: center bottom; }
.portrait::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 44%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 6, .8) 55%, rgba(5, 5, 6, .96));
}
.portrait figcaption {
  position: absolute; left: 22px; bottom: 20px; z-index: 1;
  display: grid; line-height: 1.3; font-size: 13px; color: var(--body);
}
.portrait figcaption b { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }

/* ---------- Bokning ---------- */
.book {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(36px, 6vw, 80px) clamp(22px, 6vw, 88px);
  border-radius: 32px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(60% 46% at 50% 0%, rgba(124, 92, 245, .22), transparent 70%),
    radial-gradient(40% 40% at 100% 100%, rgba(255, 255, 255, .05), transparent 70%),
    var(--bg-raised);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}
.form { max-width: 720px; margin-inline: auto; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 13.5px; color: var(--body); }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--text);
  padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .035);
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .26); }
.field input:focus, .field textarea:focus {
  outline: 0; border-color: var(--violet-400);
  background: rgba(124, 92, 245, .07);
  box-shadow: 0 0 0 4px rgba(124, 92, 245, .2);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #f0a3b2; box-shadow: 0 0 0 4px rgba(240, 163, 178, .14); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: grid; justify-items: center; gap: 14px; margin-top: 10px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.form__status { min-height: 1.4em; font-size: 14px; color: var(--violet-200); text-align: center; margin: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 4px;
  font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.62rem); line-height: 1.2; color: var(--text);
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--body); transition: transform .35s var(--ease), color .2s; }
.faq summary:hover svg { color: var(--violet-300); }
/* Öppen fråga: plusset roteras och beskärs till ett minus */
.faq details[open] summary svg { transform: rotate(180deg); color: var(--violet-300); clip-path: inset(44% 0 44% 0); }
.faq details p { padding: 0 56px 26px 4px; margin: 0; max-width: 46rem; }

.still { text-align: center; margin-top: clamp(64px, 8vw, 104px); }
.still .display { margin-bottom: 14px; }
.still p { max-width: 30rem; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.footer { position: relative; border-top: 1px solid var(--line); padding: clamp(52px, 6vw, 80px) 0; background: linear-gradient(180deg, rgba(124, 92, 245, .05), transparent 60%); }
.footer::before {
  content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: min(420px, 60%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-400), transparent);
}
.footer__inner { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.footer__logo img { height: 104px; width: auto; }
.footer__col h4 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 10px; }
.footer__col p { font-size: 15px; line-height: 1.6; margin-bottom: .6em; }
.footer__col a:not(.link-violet):hover { color: var(--text); }

/* ---------- Rörelse ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsivt ---------- */
@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__inner { grid-template-columns: 1fr auto; }
  .grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--span2, .card--span3 { grid-column: span 1; }
  .grid--6 .card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .header__logo img { height: 48px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .split, .split--about { grid-template-columns: 1fr; }
  .split--about .portrait-wrap { order: -1; max-width: 440px; width: 100%; margin-inline: auto; }
  .case { grid-template-columns: 1fr; }
  .case__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; }
  .case__stats > div { border-top: 0; padding: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__logo { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header__actions .btn, .header__actions .icon-link { display: none; }
  .stats { grid-template-columns: 1fr; max-width: 340px; }
  .stat-card { text-align: center; }
  .stat-card__trend { justify-content: center; }
  .btn-row { width: 100%; flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .grid--6 { grid-template-columns: 1fr; }
  .review__head { grid-template-columns: auto minmax(0, 1fr); }
  .review__meta { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; }
  .case__stats { grid-template-columns: 1fr; gap: 0; }
  .case__stats > div { padding: 16px 0; border-top: 1px solid var(--line); }
  .case__stats > div:first-child { border-top: 0; padding-top: 0; }
  .form__row { grid-template-columns: 1fr; }
  .inbox__body { grid-template-columns: 1fr; }
  .inbox__side { display: none; }
  .inbox__search { width: 40%; }
  .faq details p { padding-right: 8px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__logo img { height: 88px; }
}
