/*
 * Startsidan, version 2. Papper, skogsgrönt och koppar; Fraunces för det som
 * ska märkas, Archivo för det som ska läsas, Plex Mono för etiketter.
 *
 * Reglerna för rörelse:
 *   - bara transform och opacity animeras,
 *   - allt fungerar utan rörelse och utan skript,
 *   - prefers-reduced-motion och pausknappen stänger allt.
 * Inga inline-stilar finns på sidan (style-src 'self'), så varje värde som
 * varierar mellan element ligger här, i väljare.
 */

.v2 {
  --paper: #f5f2e9;
  --paper-2: #ebe7da;
  --card: #fcfaf3;
  --ink: #183e35;
  --ink-2: #2b5247;
  --muted: #55624f;
  --line: #d3d4c4;
  --copper: #8e5128;
  --copper-soft: #b0703f;
  --forest: #0f2b23;
  --forest-2: #153a30;
  --cream: #f0ebdd;
  --cream-muted: #bcc6b8;
  --copper-on-dark: #e3b585;
  --focus: #8e5128;
  --shadow: 0 1px 2px rgba(15, 43, 35, .06), 0 12px 32px rgba(15, 43, 35, .08);
  --btn-ink: #fffaf1;
  --btn-hover: #6f3f1c;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --r: 18px;
  --display: Fraunces, Georgia, "Times New Roman", serif;
  --text: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

:root[data-theme="dark"] .v2,
.v2[data-theme="dark"] {
  --paper: #11261f;
  --paper-2: #0d1e18;
  --card: #173229;
  --ink: #f0ebdd;
  --ink-2: #d7d3c3;
  --muted: #b5bfb1;
  --line: #2b483d;
  --copper: #e3b585;
  --copper-soft: #e3b585;
  --focus: #e3b585;
  --btn-ink: #1b140c;
  --btn-hover: #f1c99c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .3);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .v2 {
    --paper: #11261f;
    --paper-2: #0d1e18;
    --card: #173229;
    --ink: #f0ebdd;
    --ink-2: #d7d3c3;
    --muted: #b5bfb1;
    --line: #2b483d;
    --copper: #e3b585;
    --copper-soft: #e3b585;
    --focus: #e3b585;
    --btn-ink: #1b140c;
    --btn-hover: #f1c99c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .3);
  }
}

@view-transition { navigation: auto; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.v2 { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.v2 *, .v2 *::before, .v2 *::after { box-sizing: border-box; }
.v2 h1, .v2 h2, .v2 h3, .v2 p, .v2 ul, .v2 ol, .v2 dl, .v2 figure { margin: 0; }
.v2 a { color: inherit; }
.v2 :focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.v2 img { display: block; max-width: 100%; height: auto; }

.v2-wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.v2-skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.v2-skip:focus { top: 12px; }

.v2-eyebrow, .v2-micro { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.v2-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 64px); }
.v2-head .v2-eyebrow { margin-bottom: 18px; }
.v2 h2 { font: 350 clamp(36px, 5.4vw, 72px)/1.04 var(--display); letter-spacing: -.03em; }
.v2 h2 em, .v2 h1 em { font-style: italic; font-weight: 300; color: var(--copper); }
.v2-sub { margin-top: 22px; max-width: 58ch; color: var(--muted); font-size: 18px; }

/* Knappar och länkar */
.v2 .v2-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid var(--copper); border-radius: 999px; background: var(--copper); color: var(--btn-ink); font: 500 16px/1 var(--text); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.v2 .v2-btn:hover { transform: translateY(-2px); background: var(--btn-hover); border-color: var(--btn-hover); }
.v2 .v2-btn--small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.v2 .v2-btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.v2 .v2-btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: currentColor; color: inherit; }
.v2-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.v2-link:hover { color: var(--copper); }

/* Rubrik och navigation */
.v2-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 0%, transparent); transition: background .3s, box-shadow .3s; }
.v2-header.is-scrolled { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.v2-header-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.v2-brand { display: inline-flex; align-items: center; gap: 12px; font: 500 18px/1 var(--display); text-decoration: none; letter-spacing: -.01em; }
.v2-brand svg { width: 26px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v2-brand circle { fill: currentColor; stroke: none; }
.v2-nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.v2-nav a { text-decoration: none; padding-block: 10px; color: inherit; opacity: .9; }
.v2-nav a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 6px; }
.v2-header-actions { display: flex; align-items: center; gap: 10px; }
.v2-header .themebtn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid transparent; color: inherit; font: 500 13px/1 var(--text); padding: 10px 12px; border-radius: 999px; cursor: pointer; }
.v2-header .themebtn:hover { border-color: currentColor; }
.v2-header .themebtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.v2-header .themebtn .sun { display: none; }
:root[data-theme="dark"] .v2-header .themebtn .moon { display: none; }
:root[data-theme="dark"] .v2-header .themebtn .sun { display: inline; }
.v2-pause, .v2-menu { background: none; border: 1px solid transparent; color: inherit; width: 42px; height: 42px; border-radius: 999px; cursor: pointer; align-items: center; justify-content: center; }
.v2-pause:not([hidden]) { display: inline-flex; }
.v2-menu { display: none; }
.v2-pause:hover, .v2-menu:hover { border-color: currentColor; }
.v2-pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.v2-pause[aria-pressed="true"] svg { transform: rotate(0); }
.v2-menu { flex-direction: column; gap: 6px; }
.v2-menu span { width: 18px; height: 1.6px; background: currentColor; }

/* Hero */
.v2-hero { position: relative; margin-top: -72px; padding: calc(72px + clamp(48px, 9vw, 120px)) 0 clamp(64px, 9vw, 120px); background: radial-gradient(900px 520px at 78% 38%, var(--forest-2), transparent 70%), var(--forest); color: var(--cream); overflow: clip; }
.v2-hero .v2-eyebrow, .v2-hero .v2-micro { color: var(--cream-muted); }
.v2-hero .v2-eyebrow { margin-bottom: 22px; }
.v2-hero h1 { font: 350 clamp(44px, 6.6vw, 96px)/1.02 var(--display); letter-spacing: -.035em; max-width: 14ch; }
.v2-hero h1 em { color: var(--copper-on-dark); }
.v2-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.v2-lead { margin-top: 28px; max-width: 46ch; font-size: clamp(18px, 1.6vw, 21px); color: var(--cream); opacity: .92; }
.v2-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.v2-hero .v2-btn { background: var(--copper-on-dark); border-color: var(--copper-on-dark); color: #1b140c; }
.v2-hero .v2-btn:hover { background: #f1c99c; border-color: #f1c99c; }
.v2-hero .v2-btn.v2-btn--ghost { background: transparent; color: var(--cream); border-color: rgba(240, 235, 221, .5); }
.v2-hero .v2-btn.v2-btn--ghost:hover { background: rgba(240, 235, 221, .12); border-color: var(--cream); color: var(--cream); }
.v2-hero-status { margin-top: 32px; display: grid; gap: 10px; font-size: 14px; color: var(--cream-muted); max-width: 52ch; }
.v2-status { display: inline-flex; width: fit-content; padding: 6px 12px; border: 1px solid currentColor; border-radius: 999px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.v2-closed { font-size: 14px; line-height: 1.5; }
.hshut { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); font: 500 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.v2-tool .hshut, .v2-price .hshut { background: var(--paper-2); }

/* Telefon i heron */
.v2-hero-visual { display: flex; justify-content: center; }
.v2-phone { position: relative; width: min(100%, 320px); aspect-ratio: 9 / 18; border-radius: 46px; padding: 14px; background: linear-gradient(160deg, #2a4a40, #0b1f19); border: 1px solid rgba(240, 235, 221, .22); box-shadow: 0 40px 80px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .05); }
.v2-phone-bar { display: flex; justify-content: space-between; padding: 8px 20px 10px; font: 500 12px/1 var(--mono); color: var(--cream-muted); }
.v2-phone-screen { position: relative; height: calc(100% - 52px); border-radius: 32px; background: linear-gradient(180deg, #10302a, #0a1c17); overflow: hidden; }
.v2-phone-note { position: absolute; left: 0; right: 0; bottom: -34px; text-align: center; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cream-muted); }
.v2-layer { position: absolute; inset: 0; padding: 28px 22px; display: flex; flex-direction: column; gap: 12px; opacity: 0; }
.v2-scene-name { font: 350 34px/1.1 var(--display); letter-spacing: -.02em; }
.v2-scene-sub { color: var(--cream-muted); font-size: 14px; }
.v2-bubble { padding: 16px 18px; border-radius: 18px 18px 18px 6px; background: rgba(240, 235, 221, .1); font: 350 19px/1.35 var(--display); }
.v2-report-title { font: 350 24px/1.2 var(--display); letter-spacing: -.01em; }
.v2-report-next { font-size: 15px; color: var(--cream); opacity: .9; }
.v2-tag { width: fit-content; padding: 5px 10px; border-radius: 999px; border: 1px solid currentColor; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--copper-on-dark); }
.v2-ring { position: relative; display: block; width: 120px; height: 120px; margin: 18px auto 0; }
.v2-ring i { position: absolute; inset: 0; border: 1.5px solid var(--copper-on-dark); border-radius: 50%; opacity: 0; }
.v2-wave { display: flex; align-items: center; gap: 4px; height: 48px; margin-top: 8px; }
.v2-wave i { display: block; width: 4px; height: 100%; border-radius: 2px; background: var(--copper-on-dark); transform: scaleY(.25); transform-origin: center; }

/* Utan rörelse visas sluttillståndet: sammanfattningen */
.v2-layer--report { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .v2:not(.is-still) .v2-layer--ring { animation: v2-ring-layer 14s var(--ease) infinite; }
  .v2:not(.is-still) .v2-layer--talk { animation: v2-talk-layer 14s var(--ease) infinite; }
  .v2:not(.is-still) .v2-layer--report { opacity: 0; animation: v2-report-layer 14s var(--ease) infinite; }
  .v2:not(.is-still) .v2-ring i { animation: v2-ripple 2.4s ease-out infinite; }
  .v2:not(.is-still) .v2-ring i:nth-child(2) { animation-delay: .8s; }
  .v2:not(.is-still) .v2-ring i:nth-child(3) { animation-delay: 1.6s; }
  .v2:not(.is-still) .v2-wave i { animation: v2-bar 1.1s ease-in-out infinite; }
  .v2:not(.is-still) .v2-wave i:nth-child(2) { animation-delay: .09s; }
  .v2:not(.is-still) .v2-wave i:nth-child(3) { animation-delay: .18s; }
  .v2:not(.is-still) .v2-wave i:nth-child(4) { animation-delay: .27s; }
  .v2:not(.is-still) .v2-wave i:nth-child(5) { animation-delay: .36s; }
  .v2:not(.is-still) .v2-wave i:nth-child(6) { animation-delay: .45s; }
  .v2:not(.is-still) .v2-wave i:nth-child(7) { animation-delay: .54s; }
  .v2:not(.is-still) .v2-wave i:nth-child(8) { animation-delay: .63s; }
  .v2:not(.is-still) .v2-wave i:nth-child(9) { animation-delay: .72s; }
  .v2:not(.is-still) .v2-wave i:nth-child(10) { animation-delay: .81s; }
  .v2:not(.is-still) .v2-wave i:nth-child(11) { animation-delay: .9s; }
  .v2:not(.is-still) .v2-wave i:nth-child(12) { animation-delay: .99s; }
}
@keyframes v2-ring-layer { 0% { opacity: 0; transform: translateY(10px); } 4%, 20% { opacity: 1; transform: none; } 24%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes v2-talk-layer { 0%, 22% { opacity: 0; transform: translateY(10px); } 26%, 55% { opacity: 1; transform: none; } 60%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes v2-report-layer { 0%, 58% { opacity: 0; transform: translateY(14px); } 64%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes v2-ripple { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes v2-bar { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }

/* Principremsa */
.v2-strip { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.v2-strip-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-block: 28px; font-size: 15px; color: var(--muted); }
.v2-strip b { display: block; color: var(--ink); font-weight: 600; }

/* Sektioner */
.v2-story, .v2-control, .v2-agents, .v2-price, .v2-tools, .v2-pilot, .v2-faq { padding-block: clamp(72px, 10vw, 136px); }
.v2-control { background: var(--paper-2); }
.v2-price { background: var(--forest); color: var(--cream); }
.v2-price .v2-eyebrow { color: var(--cream-muted); }
.v2-price h2 em { color: var(--copper-on-dark); }

/* Berättelsen */
.v2-story-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.v2-stage { display: none; }
.v2-steps { list-style: none; padding: 0; display: grid; gap: 28px; counter-reset: step; }
.v2-step { display: grid; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.v2-step h3 { font: 400 clamp(22px, 3vw, 30px)/1.2 var(--display); letter-spacing: -.015em; }
.v2-step > p { color: var(--muted); max-width: 52ch; }
.v2-step-no { font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--copper); }
.v2-step-scene { margin-top: 12px; padding: 22px; border-radius: 14px; background: linear-gradient(180deg, #10302a, #0a1c17); color: var(--cream); }
.v2-scene { display: grid; gap: 10px; }
.v2-scene .v2-micro { color: var(--cream-muted); }
.v2-fields { display: grid; gap: 10px; }
.v2-fields div { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 8px; border-bottom: 1px solid rgba(240, 235, 221, .16); }
.v2-fields dt { color: var(--cream-muted); font-size: 14px; }
.v2-fields dd { text-align: right; font-weight: 500; }
.v2-scene--ring .v2-ring { margin: 6px 0 0; width: 96px; height: 96px; }
.v2-step-scene .v2-ring i, .v2-stage-scene .v2-ring i { opacity: .55; }
.v2-step-scene .v2-wave i, .v2-stage-scene .v2-wave i { transform: scaleY(.55); }

@media (min-width: 960px) {
  .v2-story-grid { grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
  .v2-stage { display: block; position: sticky; top: 108px; height: calc(100vh - 160px); max-height: 640px; }
  .v2-stage-phone { position: relative; width: min(100%, 380px); height: 100%; margin-inline: auto; border-radius: 40px; padding: 28px; background: linear-gradient(180deg, #10302a, #0a1c17); color: var(--cream); border: 1px solid rgba(240, 235, 221, .2); box-shadow: var(--shadow); overflow: hidden; }
  .v2-stage-scene { position: absolute; inset: 28px; display: grid; align-content: center; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
  .v2-stage-scene .v2-scene { gap: 14px; }
  .v2-stage-scene .v2-scene-name { font-size: 44px; }
  .v2-stage-scene .v2-bubble { font-size: 24px; }
  .v2-stage-scene .v2-report-title { font-size: 30px; }
  .v2-story[data-step="1"] [data-scene="1"], .v2-story[data-step="2"] [data-scene="2"], .v2-story[data-step="3"] [data-scene="3"], .v2-story[data-step="4"] [data-scene="4"] { opacity: 1; transform: none; }
  .v2-story:not([data-step]) [data-scene="1"] { opacity: 1; transform: none; }
  .v2-step { min-height: 56vh; align-content: center; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 40px 0; opacity: .45; transition: opacity .4s; }
  .v2-step.is-current { opacity: 1; }
  .v2-step-scene { display: none; }
}

/* Bento */
.v2-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.v2-card { display: grid; align-content: start; gap: 14px; padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.v2-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.v2-card svg { width: 30px; height: 30px; color: var(--copper); }
.v2-card h3 { font: 400 22px/1.2 var(--display); letter-spacing: -.01em; }
.v2-card p { color: var(--muted); font-size: 16px; }

/* Mäklare */
.v2-agents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.v2-cases { list-style: none; padding: 0; display: grid; gap: 0; }
.v2-cases li { padding: 26px 0; border-top: 1px solid var(--line); }
.v2-cases li:last-child { border-bottom: 1px solid var(--line); }
.v2-cases h3 { font: 400 26px/1.2 var(--display); letter-spacing: -.015em; margin-bottom: 8px; }
.v2-cases p { color: var(--muted); max-width: 48ch; }
.v2-band { position: relative; width: min(100% - var(--gutter) * 2, var(--wrap)); margin: clamp(40px, 6vw, 80px) auto 0; border-radius: 28px; overflow: hidden; }
.v2-band img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.v2-band figcaption { position: absolute; left: 18px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 31, 25, .72); color: var(--cream); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); }

/* Pris */
.v2-price-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.v2-price-examples { display: grid; gap: 18px; }
.v2-price-examples h3 { font: 350 28px/1.2 var(--display); }
.v2-example { padding: 20px 0; border-top: 1px solid rgba(240, 235, 221, .16); }
.v2-example .v2-micro { color: var(--cream-muted); }
.v2-example-sum { margin-top: 6px; font: 300 44px/1.05 var(--display); letter-spacing: -.02em; color: var(--copper-on-dark); }
.v2-example-line { margin-top: 6px; color: var(--cream-muted); font-size: 14px; }
.v2-price-card { display: grid; gap: 22px; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--forest-2); border: 1px solid rgba(240, 235, 221, .16); }
.v2-price-flag { width: fit-content; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--copper-on-dark); color: var(--copper-on-dark); font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.v2-price-big { font: 300 clamp(64px, 11vw, 128px)/.95 var(--display); letter-spacing: -.04em; }
.v2-price-per { color: var(--cream-muted); }
.v2-price-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.v2-price-list li { padding: 12px 0; border-top: 1px solid rgba(240, 235, 221, .16); }
.v2-price-list b { color: var(--copper-on-dark); font-weight: 600; }
.v2-price-fine { font-size: 14px; color: var(--cream-muted); max-width: 60ch; }
.v2-price .v2-btn { background: var(--copper-on-dark); border-color: var(--copper-on-dark); color: #1b140c; }

/* Verktyg */
.v2-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.v2-tool { display: grid; align-content: start; gap: 12px; padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.v2-tool:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.v2-tool .v2-status { color: var(--muted); }
.v2-tool h3 { font: 350 32px/1.1 var(--display); letter-spacing: -.02em; }
.v2-tool-line { font-weight: 500; }
.v2-tool-note { color: var(--muted); font-size: 15px; }
.v2-tool .v2-closed { color: var(--muted); font-size: 14px; }
.v2-tool .v2-link { margin-top: 8px; }

/* Pilot */
.v2-pilot { background: var(--paper-2); }
.v2-pilot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.v2-pilot p { max-width: 52ch; margin-top: 18px; }
.v2-pilot-note { color: var(--muted); }
.v2-pilot-card { padding: clamp(22px, 3vw, 36px); background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.v2-pilot label { display: block; margin-bottom: 8px; font-weight: 500; }
.v2-pilot input { width: 100%; min-height: 54px; padding: 12px 16px; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.v2-pilot form { display: grid; gap: 16px; }
.v2-pilot form .v2-btn { justify-content: center; }
.v2-pilot #pilot-privacy { margin: 0; font-size: 14px; color: var(--muted); }
.v2-pilot #pilot-status { margin-top: 14px; font-size: 15px; }
.v2-pilot #pilot-status[data-error="true"] { color: #a33; }

/* FAQ */
.v2-faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.v2-faq-list details { border-bottom: 1px solid var(--line); }
.v2-faq-list details:first-child { border-top: 1px solid var(--line); }
.v2-faq-list summary { padding: 20px 0; font-size: 18px; cursor: pointer; }
.v2-faq-list p { padding: 0 0 22px; max-width: 62ch; color: var(--muted); }
.v2-faq-list a { color: var(--ink); text-underline-offset: 3px; }

/* Sidfot */
.v2-footer { padding: 64px 0 36px; background: var(--paper); border-top: 1px solid var(--line); }
.v2-footer-mark { display: inline-flex; gap: 14px; font: 350 clamp(48px, 8vw, 104px)/1.1 var(--display); letter-spacing: -.05em; text-decoration: none; }
.v2-footer-mark span { font: 20px var(--text); color: var(--copper); margin-top: 14px; }
.v2-footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.v2-footer-bottom nav { display: flex; gap: 28px; }
.v2-footer-bottom a { padding-block: 10px; }
.v2-company { margin-top: 10px; font-size: 13px; color: var(--muted); }
.v2-company a { text-underline-offset: 3px; }

/* Visning av innehåll när det kommer in i bild (JS lägger will-reveal under vecket) */
.v2-reveal.will-reveal { opacity: 0; transform: translateY(26px); }
.v2-reveal.will-reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
@media (prefers-reduced-motion: reduce) { .v2-reveal.will-reveal { opacity: 1; transform: none; } }

/* Läsförloppet, där webbläsaren kan driva det från scrollen */
.v2-progress { display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .v2-progress { display: block; position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: var(--copper-soft); transform: scaleX(0); transform-origin: left; animation: v2-grow linear both; animation-timeline: scroll(root); }
  }
}
@keyframes v2-grow { to { transform: scaleX(1); } }

/* Pausad rörelse */
.v2.is-still *, .v2.is-still *::before, .v2.is-still *::after { animation: none !important; transition: none !important; }

/* Mobil och surfplatta */
@media (max-width: 1000px) {
  .v2-bento { grid-template-columns: repeat(2, 1fr); }
  .v2-tool-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .v2-hero-grid, .v2-agents-grid, .v2-pilot-grid, .v2-faq-grid, .v2-price-grid { grid-template-columns: 1fr; }
  .v2-hero-visual { margin-top: 24px; padding-bottom: 36px; }
  .v2-strip-in { grid-template-columns: 1fr; gap: 14px; }
  .v2-nav { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; gap: 0; margin: 0; padding: 12px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .v2-nav.is-open { display: flex; }
  .v2-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .v2-header .themebtn span { display: none; }
  .v2-menu:not([hidden]) { display: inline-flex; }
}
@media (max-width: 620px) {
  .v2-bento, .v2-tool-grid { grid-template-columns: 1fr; }
  .v2-header .v2-btn--small { display: none; }
  .v2-band img { aspect-ratio: 4 / 3; }
}
@media print {
  .v2-header, .v2-progress, .v2-pause { display: none; }
  .v2-hero, .v2-price { background: none; color: #000; }
}

/* Rubrikfältet ligger över den mörka heron tills sidan scrollats */
.v2-header:not(.is-scrolled) { color: var(--cream); }
@media (max-width: 860px) {
  .v2-nav a { color: var(--ink); }
}
