/* ==========================================================================
   Opret Virk: site styles
   An established Danish formation service: white ground, soft grey rounded
   panels, real photographs, deep green for headings and actions.
   One typeface, Geist (self-hosted variable).
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --panel: #f3f4f2;
  --panel-2: #eaece8;
  --card: #f7f8f7;
  --line: #e0e4e0;
  --line-2: #c8cec9;

  --ink: #111513;
  --ink-2: #3d4541;
  --ink-3: #66706b;

  --green: #134a3b;
  --green-hover: #0c382c;
  --green-ink: #0f3a2f;
  --green-soft: #e4efe9;
  --green-line: #a9c8b8;
  --on-green-2: #c3d8cd;

  --danger: #b3261e;

  --font: "Geist", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 3.4vw, 40px);
  --r-sm: 8px;
  --r: 10px;
  --r-md: 14px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 40, 32, 0.05);
  --shadow: 0 1px 2px rgba(15, 40, 32, 0.04), 0 16px 36px -18px rgba(15, 40, 32, 0.28);
  --shadow-lg: 0 2px 6px rgba(15, 40, 32, 0.05), 0 28px 60px -28px rgba(15, 40, 32, 0.38);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --rise: 14px; /* entrance travel; 0 under reduced motion */

  --header-top: 12px;
  --header-h: 68px;
  --sticky-top: calc(var(--header-top) + var(--header-h) + 28px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-top) + var(--header-h) + 20px);
  scrollbar-color: var(--line-2) transparent;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--green);
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 650; }
@media (max-width: 600px) { h2, h3 { hyphens: auto; } }
.display, .h2 { hyphens: manual; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green-soft); color: var(--green-ink); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.5rem, 4.3vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--green-ink);
}
.display strong, .display b { font-weight: 700; }
.h2 { font-size: clamp(1.85rem, 2.7vw, 2.5rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; color: var(--green-ink); }
.h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); }
.lead { font-size: clamp(1.05rem, 1.25vw, 1.15rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }

/* Table "yes" */
.stop-dot { display: inline-block; width: 20px; height: 20px; vertical-align: -4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23e4efe9'/%3E%3Cpath d='M6 10.4l2.7 2.7L14.2 7.5' fill='none' stroke='%23134a3b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green); --fg: #ffffff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: var(--r); border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 550; font-size: 16px; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s var(--ease);
}
.btn:active:not(:disabled):not([aria-disabled="true"]) { transform: scale(0.98); }
.btn .arrow { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { --bg: var(--green); --fg: #ffffff; }
.btn-primary:hover { --bg: var(--green-hover); }
.btn-ghost { --bg: transparent; --fg: var(--green-ink); --bd: var(--green-ink); }
.btn-ghost:hover { --bg: rgba(19, 74, 59, 0.06); }
.btn-light { --bg: #ffffff; --fg: var(--green-ink); }
.btn-light:hover { --bg: var(--green-soft); }
.btn-ghost-light { --bg: transparent; --fg: #ffffff; --bd: rgba(255, 255, 255, 0.5); }
.btn-ghost-light:hover { --bd: #ffffff; --bg: rgba(255, 255, 255, 0.08); }
.btn-sm { min-height: 44px; font-size: 15px; gap: 8px; padding: 0 18px; }
.btn-sm .arrow { width: 16px; height: 16px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: left; } }

.text-link {
  font-weight: 550; color: var(--green-ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em;
  text-decoration-color: var(--green-line);
  transition: text-decoration-color 0.2s, color 0.2s;
}
.text-link:hover { text-decoration-color: currentColor; }
a:not(.btn) > .arrow { width: 1em; height: 1em; vertical-align: -0.14em; margin-left: 0.2em; transition: transform 0.3s var(--ease); }
a:not(.btn):hover > .arrow { transform: translateX(3px); }

/* ---------- Header: a floating white bar ---------- */
.site-header {
  position: sticky; top: var(--header-top); z-index: 50;
  margin-top: var(--header-top);
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h); padding: 0 12px 0 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled .header-inner { box-shadow: 0 10px 30px -18px rgba(15, 40, 32, 0.35); border-color: #d7dcd8; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo-mark { width: 30px; height: 30px; color: var(--green); }
.logo-word { font-weight: 700; font-size: 19px; letter-spacing: -0.03em; color: var(--green-ink); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink);
  background: none; border: 0; cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--green-ink); background: var(--panel); }
.nav-trigger svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.nav-group { position: relative; }
.nav-group.is-open .nav-trigger svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 16px); left: -12px;
  width: 310px; padding: 8px;
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.3s var(--ease), visibility 0.2s;
}
.nav-group.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: grid; gap: 1px;
  padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none;
  transition: background-color 0.15s;
}
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--panel); }
.dropdown strong { font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--green-ink); }
.dropdown span { font-size: 14px; color: var(--ink-3); line-height: 1.4; }
.header-cta { flex-shrink: 0; }
.nav-cta-mobile { display: none; }
.menu-toggle { display: none; }

@media (max-width: 980px) {
  .header-cta { display: none; }
  .menu-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; margin-left: auto;
    background: var(--panel); border: 0; border-radius: var(--r-sm); cursor: pointer;
  }
  .menu-toggle span { display: block; width: 18px; height: 2px; background: var(--green-ink); border-radius: 2px; transition: transform 0.3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    max-height: calc(100dvh - var(--header-h) - 40px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 10px 16px;
    background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.3s var(--ease), visibility 0.2s;
  }
  .header-inner { position: relative; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 13px 12px; font-size: 17px; border-radius: var(--r); justify-content: space-between; }
  .dropdown {
    position: static; width: auto; padding: 0 0 6px;
    border: 0; box-shadow: none; background: transparent;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .nav-group.is-open .dropdown { display: block; }
  .nav-cta-mobile { display: inline-flex; margin-top: 10px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 8.5vw, 120px); position: relative; }
.section-tight { padding-block: clamp(52px, 6vw, 84px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4.5vw, 56px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 18px 40px; }
.section-head.split > div { display: grid; gap: 16px; max-width: 720px; }
@media (max-width: 760px) { .section-head.split { grid-template-columns: 1fr; } }
.bg-paper-2 { background: var(--panel); }

/* ---------- Hero: grey rounded panel with a photograph ---------- */
.hero { padding-top: 20px; }
.hero-panel {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: var(--panel); border-radius: var(--r-xl); overflow: hidden;
  min-height: clamp(520px, calc(100svh - 190px), 640px);
}
.hero-copy {
  display: grid; align-content: center; justify-items: start; gap: 26px;
  padding: clamp(36px, 5.5vw, 80px) clamp(28px, 5vw, 72px);
}
.hero-copy .lead { max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-prices {
  display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 18px 0 0; list-style: none;
  border-top: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2);
  justify-self: stretch;
}
.hero-prices .hero-note { flex-basis: 100%; font-size: 14px; color: var(--ink-3); }
.hero-prices strong { font-weight: 650; color: var(--green-ink); font-variant-numeric: tabular-nums; }
.hero-prices .note-ex { color: var(--ink-3); }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none;
  font-size: 15px; color: var(--ink-2);
}
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--green); }
.hero-media { position: relative; min-height: 320px; }
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* One grade across the photo set, so it reads as chosen, not collected */
.hero-media > img, .type-media img, .media-split .photo, .tile img { filter: saturate(0.78) contrast(1.04) brightness(1.02); }
/* Photos shot in cool light are warmed toward the set's neutral-warm white */
.hero-media > img.cool, .type-media img.cool { filter: sepia(0.22) saturate(0.82) hue-rotate(-6deg) contrast(1.04) brightness(1.03); }

/* Example case page laid over the hero photograph */
.case-card {
  position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px);
  width: min(300px, calc(100% - 32px));
  background: #ffffff; border-radius: var(--r-md); padding: 18px 18px 8px;
  box-shadow: 0 24px 50px -22px rgba(8, 28, 22, 0.55), 0 2px 6px rgba(8, 28, 22, 0.08);
  animation: rise 0.9s 0.5s var(--ease) both;
}
.case-card .case-name { display: block; font-size: 16px; font-weight: 650; color: var(--green-ink); letter-spacing: -0.01em; margin: 0 0 10px; }
.case-card .case-foot { display: block; padding: 8px 0 6px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.case-rows { list-style: none; margin: 0; padding: 0; }
.case-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.case-rows .st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 550; color: var(--green); white-space: nowrap; }
.case-rows .st svg { width: 14px; height: 14px; }
.case-rows .st.wait { color: var(--ink-3); }
.case-rows .st.wait::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c99a2e; box-shadow: 0 0 0 3px rgba(201, 154, 46, 0.2); }

@media (max-width: 900px) {
  .hero-panel { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { min-height: 0; aspect-ratio: 16 / 9; order: -1; }
}
@media (max-width: 620px) { .case-card { display: none; } }

/* Load sequence: the copy settles line by line, the photo eases into its frame,
   then the example case page lands and ticks through its stages in order. */
@keyframes rise { from { opacity: 0; transform: translateY(var(--rise)); } }
@keyframes settle { from { transform: scale(1.05); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes status-in { from { opacity: 0; transform: translateX(calc(var(--rise) * -0.4)); } }
@keyframes draw { from { stroke-dashoffset: 14; } }
@keyframes waiting { 50% { box-shadow: 0 0 0 6px rgba(201, 154, 46, 0.08); } }
.hero-copy > *, .page-hero-copy > *, .page-hero-grid > :not(.page-hero-copy), .hero .proof-row > li {
  animation: rise 0.8s var(--ease) both;
  animation-delay: calc(var(--n-base, 80ms) + var(--n, 0) * 70ms);
}
.hero-copy > :nth-child(2), .page-hero-copy > :nth-child(2), .proof-row > li:nth-child(2) { --n: 1; }
.hero-copy > :nth-child(3), .page-hero-copy > :nth-child(3), .proof-row > li:nth-child(3), .page-hero-grid > :not(.page-hero-copy) { --n: 2; }
.hero-copy > :nth-child(4), .page-hero-copy > :nth-child(4), .proof-row > li:nth-child(4) { --n: 3; }
.hero-copy > :nth-child(5), .page-hero-copy > :nth-child(5) { --n: 4; }
.hero-copy > :nth-child(6), .page-hero-copy > :nth-child(6) { --n: 5; }
.hero .proof-row > li { --n-base: 420ms; }
.hero-media > img { animation: settle 1.6s var(--ease) both; }
.case-rows li:nth-child(2) { --k: 1; }
.case-rows li:nth-child(3) { --k: 2; }
.case-rows li:nth-child(4) { --k: 3; }
.case-rows li:nth-child(5) { --k: 4; }
.case-rows .st { animation: status-in 0.5s var(--ease) both; animation-delay: calc(0.95s + var(--k, 0) * 0.16s); }
.case-rows .st path { stroke-dasharray: 14; animation: draw 0.45s ease-out both; animation-delay: calc(1.02s + var(--k, 0) * 0.16s); }
.case-rows .st.wait::before { animation: waiting 2.2s ease-in-out 2.1s 4; }
@media (max-width: 520px) {
  .hero { padding-top: 12px; }
  .hero-panel { border-radius: var(--r-lg); }
  .hero-media { aspect-ratio: 3 / 2; }
}

/* Proof row under the hero */
.proof-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 28px;
  list-style: none; margin: 0; padding: 30px 4px 0;
}
.proof-row li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.proof-row li strong { display: block; color: var(--ink); font-weight: 600; }
.proof-row svg { width: 22px; height: 22px; color: var(--green); margin-top: 1px; }
@media (max-width: 980px) { .proof-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .proof-row { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- How it works: stacking step cards ---------- */
.how { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.how-intro { position: sticky; top: var(--sticky-top); display: grid; gap: 22px; justify-items: start; }
.how-intro .lead + .lead { margin-top: -6px; }
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.stack-card {
  position: sticky; top: calc(var(--sticky-top) + var(--i, 0) * 14px);
  display: grid; align-content: space-between; gap: 40px;
  min-height: 290px; padding: 30px 32px 34px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 -10px 24px -22px rgba(15, 40, 32, 0.35);
}
.step-num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-soft); border: 1px solid var(--green);
  font-size: 15px; font-weight: 600; color: var(--green-ink); font-variant-numeric: tabular-nums;
}
.stack-card h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px; }
.stack-card p { color: var(--ink-2); max-width: 34em; }
.stack-card.is-last { background: var(--green); border-color: var(--green); }
.stack-card.is-last h3 { color: #ffffff; }
.stack-card.is-last p { color: var(--on-green-2); }
.stack-card.is-last .step-num { background: #ffffff; border-color: #ffffff; }
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr; }
  .how-intro { position: static; }
  .stack { gap: 16px; }
  .stack-card { min-height: 230px; padding: 24px 24px 28px; }
}

/* ---------- Company types: alternating photo rows ---------- */
.types { display: grid; gap: clamp(64px, 8vw, 112px); }
.type-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.type-row:nth-child(even) .type-media { order: -1; }
.type-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }
.type-copy { display: grid; gap: 18px; justify-items: start; }
.type-copy h3 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); font-weight: 700; letter-spacing: -0.025em; color: var(--green-ink); }
.type-copy > p { color: var(--ink-2); max-width: 33em; }
.type-price {
  display: grid; gap: 2px; padding: 16px 0 4px; justify-self: stretch; max-width: 33em;
  border-top: 1px solid var(--line-2);
}
.type-price .p { font-size: 28px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.15; color: var(--green-ink); font-variant-numeric: tabular-nums; }
.type-price .p small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.type-price span { font-size: 14px; color: var(--ink-3); }
.type-price .save { color: var(--green); font-weight: 600; }
.type-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.types-foot { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 860px) {
  .type-row { grid-template-columns: 1fr; }
  .type-row .type-media, .type-row:nth-child(even) .type-media { order: -1; }
  .type-media img { aspect-ratio: 3 / 2; }
}

/* ---------- Split with photograph (documents) ---------- */
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.media-split .photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
@media (max-width: 860px) { .media-split { grid-template-columns: 1fr; } .media-split .photo { aspect-ratio: 3 / 2; } }

.doc-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; }
.doc-list li { display: grid; grid-template-columns: 22px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.doc-list li:last-child { border-bottom: 1px solid var(--line); }
.doc-list .ico { width: 22px; height: 24px; display: grid; place-items: start; color: var(--green); }
.doc-list .ico svg { width: 22px; height: 22px; }
.doc-list strong { font-weight: 600; color: var(--ink); }
.doc-list span { display: block; font-size: 15px; color: var(--ink-3); }

/* ---------- After the CVR number (toolbox) ---------- */
.transfers { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.transfers .section-head { position: sticky; top: var(--sticky-top); margin-bottom: 0; }
.toolbox { display: grid; }
.tool {
  display: grid; grid-template-columns: 24px 1fr; column-gap: 18px; row-gap: 2px; align-items: start;
  padding: 20px 0; border-top: 1px solid var(--line-2);
}
.tool > :not(.ico) { grid-column: 2; }
.tool .ico { grid-row: 1 / span 3; width: 24px; height: 26px; display: grid; align-items: center; color: var(--green); }
.tool .ico svg { width: 22px; height: 22px; display: block; }
.tool h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.3; color: var(--ink); }
.tool p { font-size: 15px; color: var(--ink-3); line-height: 1.55; }
.tool-ours { margin-top: 20px; padding: 24px; border: 0; border-radius: var(--r-md); background: var(--green); }
.tool-ours .ico, .tool-ours h3 { color: #ffffff; }
.tool-ours p { color: var(--on-green-2); }
.tool-ours .tag { justify-self: start; margin-top: 10px; font-size: 12px; font-weight: 600; background: #ffffff; color: var(--green-ink); padding: 3px 9px; border-radius: 99px; }
@media (max-width: 900px) { .transfers { grid-template-columns: 1fr; } .transfers .section-head { position: static; } }

/* ---------- Captioned photos ---------- */
.tiles { display: grid; gap: 32px 20px; }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { display: grid; align-content: start; gap: 4px; color: var(--ink); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 14px; }
.tile h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.015em; color: var(--green-ink); hyphens: manual; }
.tile p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 760px) { .tiles-3 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-aside { position: sticky; top: var(--sticky-top); display: grid; gap: 28px; }
.faq-contact { display: grid; gap: 6px; justify-items: start; padding: 24px; background: var(--panel); border-radius: var(--r-md); max-width: 26em; }
.faq-contact strong { font-size: 18px; font-weight: 650; letter-spacing: -0.015em; color: var(--green-ink); }
.faq-contact p { color: var(--ink-2); margin-bottom: 6px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: clamp(17px, 1.4vw, 19px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background:
    linear-gradient(var(--green-ink), var(--green-ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--green-ink), var(--green-ink)) center / 1.5px 12px no-repeat,
    var(--panel);
  transition: transform 0.4s var(--ease), background-color 0.2s;
}
.qa[open] summary::after { transform: rotate(135deg); }
.qa summary:hover { color: var(--green-ink); }
.qa .answer { padding: 0 56px 26px 0; color: var(--ink-2); display: grid; gap: 12px; max-width: 44em; }
.qa[open] .answer { animation: answer-in 0.45s var(--ease); }
@keyframes answer-in { from { opacity: 0; transform: translateY(calc(var(--rise) * -0.3)); } }
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
  .qa[open]::details-content { block-size: auto; }
}
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq-aside { position: static; } .qa .answer { padding-right: 0; } }

/* ---------- CTA: solid green panel ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--green); color: #ffffff;
  display: grid; grid-template-columns: minmax(0, 1fr);
}
.cta-copy { padding: clamp(36px, 5.5vw, 76px); }
.cta .h2 { color: #ffffff; }
.cta p { color: var(--on-green-2); margin-top: 18px; max-width: 32em; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--on-green-2); }
.cta-list li { display: inline-flex; align-items: center; gap: 8px; }
.cta-list li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--panel); color: var(--ink); padding: 72px 0 32px; margin-top: clamp(24px, 3vw, 40px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-2); }
.footer-brand { display: grid; gap: 20px; justify-items: start; align-content: start; }
.footer-brand p { color: var(--ink-2); font-size: 15px; max-width: 30em; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h2 { font-size: 14px; font-weight: 650; letter-spacing: 0; color: var(--green-ink); margin-bottom: 6px; }
.footer-col a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); text-decoration: none; font-size: 15px; width: fit-content; }
.footer-col a:hover { color: var(--green-ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-muted { color: var(--ink-3); font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; font-size: 14px; color: var(--ink-3); flex-wrap: wrap; }
.footer-disclaimer { max-width: 44em; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Sub-page hero (text only) ---------- */
.page-hero { padding-top: 20px; }
.page-hero > .wrap {
  background: var(--panel); border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 88px) clamp(28px, 5vw, 72px);
}
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.page-hero-copy { display: grid; gap: 22px; justify-items: start; max-width: 820px; }
.crumbs { font-size: 14px; font-weight: 450; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--green-ink); text-decoration: underline; }
.page-hero + .section-tight, .page-hero + .section { padding-top: clamp(40px, 5vw, 64px); }
.case-label { font-size: 13px; font-weight: 550; color: var(--ink-3); }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .page-hero > .wrap { border-radius: var(--r-lg); } }

/* ---------- Content blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; line-height: 1.5; }
.check-list li::before {
  content: ""; width: 22px; height: 22px; margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='11' fill='%23e4efe9'/%3E%3Cpath d='M6.6 11.3l3 3 5.9-6.2' fill='none' stroke='%23134a3b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.check-list strong { font-weight: 600; color: var(--ink); }
.contact-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; line-height: 1.5; }
.contact-list svg { width: 22px; height: 22px; color: var(--green); margin-top: 1px; }
.contact-list strong { font-weight: 600; color: var(--ink); display: block; }
.contact-list span { color: var(--ink-3); font-size: 15px; }
.check-list span { color: var(--ink-3); display: block; font-size: 15px; }
.box { background: var(--panel); border-radius: var(--r-lg); padding: clamp(26px, 3.5vw, 40px); }
.bg-paper-2 .box { background: #ffffff; }
.box h3 { margin-bottom: 20px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.fact { display: grid; gap: 4px; align-content: start; padding: 22px 28px 24px 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact .k { font-size: 14px; color: var(--ink-3); }
.fact .v { font-weight: 650; font-size: 19px; letter-spacing: -0.015em; line-height: 1.3; color: var(--green-ink); font-variant-numeric: tabular-nums; }
.fact p { font-size: 15px; color: var(--ink-2); margin-top: 4px; max-width: 30em; }
@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 18px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
}

/* Timeline: numbered step cards */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: t; }
.timeline li {
  display: grid; gap: 8px; align-content: start;
  padding: 26px 24px 28px; background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-md);
}
.timeline li::before {
  counter-increment: t; content: counter(t);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; margin-bottom: 28px;
  background: var(--green-soft); border: 1px solid var(--green);
  font-size: 15px; font-weight: 600; color: var(--green-ink); font-variant-numeric: tabular-nums;
}
.timeline h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.3; color: var(--ink); }
.timeline p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 980px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } .timeline li::before { margin-bottom: 14px; } }

.note {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start;
  background: var(--panel); color: var(--ink); border-radius: var(--r); padding: 16px 18px; font-size: 15px;
}
.note svg { width: 22px; height: 22px; color: var(--green); margin-top: 1px; }
.bg-paper-2 .note, .page-hero .note { background: #ffffff; }
.prose { display: grid; gap: 16px; max-width: 44em; color: var(--ink-2); }
.prose h2 { color: var(--green-ink); font-size: clamp(1.7rem, 2.5vw, 2.2rem); font-weight: 700; letter-spacing: -0.025em; margin-top: 20px; }
.prose h3 { color: var(--ink); font-size: 1.25rem; letter-spacing: -0.015em; margin-top: 10px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose a { color: var(--green-ink); font-weight: 550; text-decoration-color: var(--green-line); }
.prose a:hover { text-decoration-color: currentColor; }

/* ---------- Plans (priser) ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.plan-featured { border: 1.5px solid var(--green); box-shadow: var(--shadow); }
.plan-head { position: relative; display: grid; gap: 6px; justify-items: start; padding: 26px 24px 22px; }
.plan-name { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--green-ink); }
.plan-for { font-size: 15px; line-height: 1.45; color: var(--ink-3); min-height: 3.2em; }
.plan-price { margin: 14px 0 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-price strong { font-size: 36px; font-weight: 650; letter-spacing: -0.035em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-save { font-size: 13px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 2px 8px; border-radius: 99px; }
.plan-note { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.plan-badge {
  position: absolute; top: 24px; right: 20px;
  font-size: 12px; font-weight: 600;
  background: var(--green); color: #ffffff; padding: 4px 10px; border-radius: 99px;
}
.plan-list { list-style: none; margin: 0 24px; padding: 20px 0 10px; display: grid; gap: 11px; font-size: 15px; border-top: 1px solid var(--line); }
.plan-list li { position: relative; padding-left: 28px; line-height: 1.45; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%23134a3b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.plan-list li.plus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4.5v11M4.5 10h11' fill='none' stroke='%23134a3b' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E"); }
.plan-list li.plus { font-weight: 600; color: var(--green-ink); }
.plan-addons { margin: auto 24px 0; padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 14px; }
.plan-addons .label { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 2px; }
.plan-addons div { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.plan-addons div span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); font-weight: 550; }
.plan-actions { display: grid; justify-items: center; gap: 14px; padding: 6px 24px 24px; }
.plan-actions .btn { width: 100%; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } .plan-for { min-height: 0; } }

/* ---------- Price table ---------- */
.price-table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #ffffff; }
.price-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
.price-table th, .price-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table thead th { font-size: 17px; font-weight: 650; letter-spacing: -0.015em; color: var(--green-ink); vertical-align: bottom; background: #ffffff; border-bottom: 1px solid var(--line-2); }
.price-table thead th small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); letter-spacing: 0; margin-top: 2px; }
.price-table tbody th { font-weight: 450; color: var(--ink-2); }
.price-table td { text-align: center; font-variant-numeric: tabular-nums; }
.price-table thead th:not(:first-child) { text-align: center; }
.price-table .yes { color: var(--ink); font-weight: 600; }
.price-table .no { color: var(--ink-3); }
.price-table .row-price td { font-size: 22px; font-weight: 650; letter-spacing: -0.025em; color: var(--green-ink); }
.price-table .row-group th { font-size: 13px; font-weight: 650; color: var(--ink-3); background: var(--panel); padding-block: 10px; }
.price-table tr:last-child td, .price-table tr:last-child th { border-bottom: 0; }
.price-table .col-hl { background: #f3f8f5; }
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.addon { background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 10px; align-content: start; }
.addon .ico { color: var(--green); margin-bottom: 2px; }
.addon .ico svg { width: 24px; height: 24px; display: block; }
.addon .p { font-weight: 650; font-size: 30px; letter-spacing: -0.03em; color: var(--green-ink); font-variant-numeric: tabular-nums; }
.addon .p small { font-weight: 400; font-size: 14px; letter-spacing: 0; color: var(--ink-3); }
.addon p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .addons { grid-template-columns: 1fr; } }
.calc-example { display: grid; font-size: 15px; }
.calc-example div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.calc-example div:last-child { border-bottom: 0; border-top: 1px solid var(--green-ink); margin-top: 6px; font-weight: 650; font-size: 18px; padding-top: 14px; color: var(--green-ink); }
.calc-example span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 550; }

/* ---------- Guides ---------- */
.guide-layout > * { min-width: 0; }
.guide-layout { display: grid; grid-template-columns: 270px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: var(--sticky-top); display: grid; padding: 20px; background: var(--panel); border-radius: var(--r-md); }
.toc .label { font-size: 14px; font-weight: 650; color: var(--green-ink); margin-bottom: 8px; }
.toc a {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline;
  padding: 8px 6px 8px 14px; text-decoration: none; color: var(--ink-2); font-size: 15px; line-height: 1.35;
  border-left: 2px solid var(--line-2); transition: border-color 0.2s, color 0.2s;
}
.toc a small { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.toc a:hover { color: var(--green-ink); border-left-color: var(--green-line); }
.toc a.is-active { color: var(--green-ink); font-weight: 600; border-left-color: var(--green); }
.guide { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.guide:last-child { border-bottom: 0; }
.guide .prose h2 { margin-top: 0; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.table-scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
.compare { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; background: #ffffff; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { background: var(--panel); font-weight: 650; color: var(--green-ink); }
.compare tbody th { color: var(--ink); font-weight: 550; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
@media (max-width: 860px) { .guide-layout { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.input-group { display: grid; gap: 7px; }
.input-group > label, .input-group > .label { font-size: 15px; font-weight: 550; color: var(--ink); }
.input-group .hint { font-size: 14px; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r);
  background: #ffffff; border: 1px solid var(--line-2);
  font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
select.select {
  appearance: none; padding-right: 44px; cursor: pointer;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%230f3a2f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 12px no-repeat;
}
.textarea { min-height: 140px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(19, 74, 59, 0.14); }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12); }
.input-suffix { position: relative; }
.input-suffix .input { padding-right: 72px; }
.input-suffix span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 15px; font-weight: 550; color: var(--ink-3); pointer-events: none; }
.error-msg { color: var(--danger); font-size: 15px; font-weight: 550; }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }

/* ---------- Order wizard ---------- */
.order > * { min-width: 0; }
.order { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 48px); align-items: start; padding-block: clamp(28px, 4vw, 56px) 40px; }
.order-progress { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 28px; list-style: none; padding: 0; }
.order-progress li { position: relative; padding-top: 30px; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.order-progress li::before {
  content: ""; position: absolute; left: 0; top: 0; z-index: 1;
  width: 18px; height: 18px; border-radius: 50%; background: #ffffff; border: 1.5px solid var(--line-2);
  transition: border-color 0.3s, background-color 0.3s;
}
.order-progress li::after { content: ""; position: absolute; left: 18px; right: 0; top: 8.5px; height: 1.5px; background: var(--line-2); transition: background-color 0.3s; }
.order-progress li:last-child::after { display: none; }
.order-progress li.done::before {
  border-color: var(--green);
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.order-progress li.done::after { background: var(--green); }
.order-progress li.current::before { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 4px #ffffff, inset 0 0 0 9px var(--green); }
.order-progress li.current { color: var(--green-ink); font-weight: 650; }
@media (max-width: 620px) {
  .order-progress li span { display: none; }
  .order-progress li.current span { display: block; white-space: nowrap; }
}
.order-card { background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.order-step { display: none; }
.order-step.is-active { display: grid; gap: 24px; animation: step-in 0.45s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(calc(var(--rise) * 0.7)); } }
.order-step h1 { font-size: clamp(1.85rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.025em; color: var(--green-ink); }
.order-step .lead { font-size: 16px; margin-top: -10px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .choice-grid, .choice-grid.three { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-body {
  position: relative; display: grid; gap: 4px; align-content: start; height: 100%; padding: 18px 18px 18px 54px; border-radius: var(--r-md);
  border: 1px solid var(--line-2); background: #ffffff; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.choice-body::before {
  content: ""; position: absolute; left: 18px; top: 19px; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: #ffffff; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.choice input[type="checkbox"] + .choice-body::before { border-radius: 6px; }
.choice:hover .choice-body { border-color: var(--ink-3); }
.choice input:checked + .choice-body { border-color: var(--green); background: #f5faf7; box-shadow: inset 0 0 0 1px var(--green); }
.choice input[type="radio"]:checked + .choice-body::before { border: 6.5px solid var(--green); }
.choice input[type="checkbox"]:checked + .choice-body::before {
  border-color: var(--green);
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.choice input:focus-visible + .choice-body { outline: 2px solid var(--green); outline-offset: 2px; }
.choice-body strong { font-weight: 600; font-size: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; color: var(--ink); }
.choice-body strong em { font-style: normal; font-size: 15px; font-weight: 600; color: var(--green-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.choice-body span { font-size: 15px; color: var(--ink-3); line-height: 1.45; }
.choice-body .tag { justify-self: start; margin-top: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--green); color: #ffffff; }
.owner-card { border-radius: var(--r-md); padding: 18px; display: grid; gap: 14px; background: var(--panel); }
.owner-head { display: flex; justify-content: space-between; align-items: center; }
.owner-head strong { font-size: 18px; font-weight: 650; letter-spacing: -0.015em; color: var(--green-ink); }
.icon-btn { background: none; border: 0; color: var(--ink-3); cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn:hover { color: var(--danger); }
.add-btn {
  border: 1px dashed var(--line-2); background: transparent; border-radius: var(--r-md); padding: 16px; cursor: pointer;
  font-weight: 550; color: var(--green-ink); transition: border-color 0.2s, background-color 0.2s;
}
.add-btn:hover { border-color: var(--green); background: #f5faf7; }
.order-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 24px; }
.summary { position: sticky; top: var(--sticky-top); background: var(--green); color: #ffffff; border-radius: var(--r-lg); padding: 28px; display: grid; gap: 18px; }
.summary h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.summary .case-label { color: var(--on-green-2); }
.sum-lines { display: grid; gap: 10px; font-size: 15px; }
.sum-line { display: flex; justify-content: space-between; gap: 16px; }
.sum-line span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 550; }
.sum-line.muted-line { color: var(--on-green-2); }
.sum-total { border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 16px; display: grid; gap: 6px; font-size: 15px; }
.sum-total .sum-line:last-child { font-size: 17px; font-weight: 600; margin-top: 4px; }
.sum-total .sum-line:last-child span:last-child { display: inline-block; font-size: 26px; font-weight: 650; letter-spacing: -0.03em; color: #ffffff; }
.sum-monthly { font-size: 14px; color: var(--on-green-2); }
.summary-trust { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.2); display: grid; gap: 8px; font-size: 14px; color: var(--on-green-2); }
.summary-trust li { display: flex; gap: 8px; align-items: center; }
.summary-trust svg { width: 15px; height: 15px; color: #ffffff; flex-shrink: 0; }
.review-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin: 0; }
.review-list div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.review-list div:last-child { border-bottom: 0; }
.review-list dt { color: var(--ink-3); }
.review-list dd { margin: 0; font-weight: 500; }
@media (max-width: 600px) { .review-list div { grid-template-columns: 1fr; gap: 2px; } }
.done-panel { text-align: center; justify-items: center; }
.done-panel .ring { width: 84px; height: 84px; border-radius: 50%; background: var(--green-soft); color: var(--green); border: 1.5px solid var(--green); display: grid; place-items: center; animation: pop 0.6s var(--ease) both; }
.done-panel .ring svg { width: 32px; height: 32px; }
@keyframes pop { from { transform: scale(0.3); opacity: 0; } }
.demo-note { font-size: 14px; color: var(--ink-2); background: var(--panel); border-radius: var(--r-sm); padding: 10px 14px; }
.save-note { font-size: 14px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.save-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
@media (max-width: 560px) { .save-note { order: 3; width: 100%; justify-content: center; } }
@media (max-width: 980px) {
  .order { grid-template-columns: 1fr; }
  .summary { position: static; order: 2; }
}
.page-order .site-footer { margin-top: 40px; }

/* ---------- Scroll reveal ----------
   site.js sets data-reveal only on blocks below the first viewport, so with no
   script nothing is hidden. Siblings that arrive together get a short stagger. */
[data-reveal] {
  opacity: 0; transform: translateY(var(--rise));
  transition: opacity 0.7s var(--ease) var(--reveal-delay, 0ms), transform 0.9s var(--ease) var(--reveal-delay, 0ms);
}
[data-reveal="photo"] {
  transform: none; clip-path: inset(5% round var(--r-lg));
  transition: opacity 0.8s var(--ease) var(--reveal-delay, 0ms), clip-path 1.2s var(--ease) var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="photo"].is-in { clip-path: inset(0 round var(--r-lg)); }
@media print { [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; } }

/* ---------- Motion preferences ----------
   Reduced motion keeps fades and state changes, and drops travel, zoom,
   wipes, the looping status dot and smooth scrolling. */
@media (prefers-reduced-motion: reduce) {
  :root { --rise: 0px; }
  html { scroll-behavior: auto; }
  .hero-media > img, .case-rows .st path, .case-rows .st.wait::before { animation: none; }
  [data-reveal="photo"] { clip-path: none; }
  .qa::details-content { transition: none; }
  .dropdown, .nav { transform: none; }
  .done-panel .ring { animation-name: fade-in; }
}
