@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/newsreader.woff2) format('woff2-variations');
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/schibsted-grotesk-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/schibsted-grotesk-600.woff2) format('woff2');
}

:root {
  --paper: #f4efe6;
  --paper-deep: #ebe3d6;
  --card: #fffdf9;
  --ink: #1b1d1a;
  --muted: #545a52;
  --line: #d9d1c3;
  --fir: #1e3b2f;
  --fir-soft: #dfe6dd;
  --berry: #9e2a2b;
  --berry-dark: #7f2021;
  --error: #9e2a2b;
  --focus: #1e3b2f;

  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'Schibsted Grotesk', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fir); text-underline-offset: 0.18em; }
a:hover { color: var(--berry); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--radius-sm); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: 'opsz' 96;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); margin-bottom: var(--space-4); }
h3 { font-size: 1.35rem; font-variation-settings: 'opsz' 24; letter-spacing: -0.01em; margin-bottom: var(--space-2); }
p { margin: 0 0 var(--space-3); max-width: 66ch; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.mark { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--fir); text-decoration: none; letter-spacing: -0.01em; }
.mark:hover { color: var(--fir); }
.top-link { font-weight: 500; font-size: 0.95rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.25rem; padding: 0 1.6rem;
  background: var(--berry); color: #fff;
  border: 0; border-radius: var(--radius-sm);
  font: 600 1.05rem/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(127, 32, 33, 0.7);
  transition: background-color 0.2s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover { background: var(--berry-dark); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { background: var(--muted); box-shadow: none; cursor: progress; transform: none; }
.btn-quiet { background: transparent; color: var(--fir); box-shadow: inset 0 0 0 1.5px var(--fir); }
.btn-quiet:hover { background: var(--fir); color: #fff; }

/* Hero */
.hero { padding: var(--space-5) 0 var(--space-6); }
.hero .wrap { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 56rem) {
  .hero { padding: var(--space-6) 0 var(--space-7); }
  .hero .wrap { grid-template-columns: 1.15fr 1fr; gap: var(--space-6); }
}
.hero h1 { margin-bottom: var(--space-4); }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--fir); }
.lead { font-size: 1.2rem; color: var(--muted); margin-bottom: var(--space-4); }
.price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem;
  margin: 0 0 var(--space-4);
}
.price-main { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--ink); }
.price-main small { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-sub { color: var(--muted); font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hero-note { font-size: 0.95rem; color: var(--muted); margin: 0; }

.figure { margin: 0; position: relative; }
.figure-frame {
  background: var(--paper-deep);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.figure-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; max-width: 46ch; }
.tag {
  position: absolute; left: 1rem; bottom: 3.6rem;
  background: var(--card); color: var(--fir);
  padding: 0.55rem 0.8rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600;
  box-shadow: 0 8px 24px -12px rgba(27, 29, 26, 0.45);
}

/* Bands */
.band { padding: var(--space-6) 0; }
.band-fir { background: var(--fir); color: #f4efe6; }
.band-fir h2 { color: #fff; }
.band-fir a { color: #fff; }
.band-fir p { color: #d6dfd5; }
.band-line { border-top: 1px solid var(--line); }

.tax { display: grid; gap: var(--space-5); }
@media (min-width: 56rem) { .tax { grid-template-columns: 1fr 1fr; align-items: start; } }
.tax-figure { font-family: var(--font-display); font-size: clamp(4rem, 3rem + 5vw, 6rem); line-height: 0.9; color: #fff; letter-spacing: -0.03em; margin: 0 0 var(--space-3); }
.tax-figure span { display: block; margin-top: 0.6rem; font-size: 0.3em; letter-spacing: 0; font-family: var(--font-body); font-weight: 500; color: #d6dfd5; }
.tax ul { margin: 0; padding-left: 1.2rem; color: #d6dfd5; }
.tax li { margin-bottom: 0.6rem; max-width: 60ch; }
.tax li strong { color: #fff; font-weight: 600; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); counter-reset: s; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }
.steps li { counter-increment: s; padding-top: var(--space-3); border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s); display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--berry); font-weight: 600; margin-bottom: 0.4rem; }
.steps p { color: var(--muted); margin: 0; }

/* Facts */
.facts { display: grid; gap: var(--space-5); }
@media (min-width: 56rem) { .facts { grid-template-columns: 1fr 1.2fr; } }
.spec { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0; border-top: 1px solid var(--line); }
.spec dt, .spec dd { padding: 0.75rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.spec dt { color: var(--muted); padding-right: 1.5rem; }
.spec dd { font-weight: 500; }

.examples { margin: var(--space-4) 0 0; width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.examples caption { text-align: left; font-weight: 600; margin-bottom: 0.5rem; }
.examples th, .examples td { text-align: right; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.examples th:first-child, .examples td:first-child { text-align: left; }
.examples thead th { font-weight: 500; color: var(--muted); font-size: 0.9rem; }

/* FAQ */
.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; font-size: 1.1rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 0.3rem; top: 1.45rem; width: 0.6rem; height: 0.6rem; border-right: 2px solid var(--fir); border-bottom: 2px solid var(--fir); transform: rotate(45deg); transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.7rem; }
.faq details p { color: var(--muted); }

.cta-end { text-align: left; }
.cta-end p { color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: var(--space-5) 0; font-size: 0.92rem; color: var(--muted); }
.foot .wrap { display: grid; gap: var(--space-3); }
@media (min-width: 48rem) { .foot .wrap { grid-template-columns: 2fr 1fr; } }
.foot p { margin: 0 0 0.35rem; }
.foot-links { display: flex; flex-direction: column; gap: 0.35rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--fir); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; text-align: left; }

/* Form */
.form-page { padding: var(--space-5) 0 var(--space-6); }
.form-grid { display: grid; gap: var(--space-5); }
@media (min-width: 60rem) { .form-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.form-page h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); margin-bottom: var(--space-3); }
form fieldset { border: 0; padding: 0; margin: 0 0 var(--space-5); }
form legend { font-family: var(--font-display); font-size: 1.35rem; font-weight: 560; margin-bottom: var(--space-3); padding: 0; }
.row { display: grid; gap: var(--space-3); }
@media (min-width: 40rem) { .row-2 { grid-template-columns: 1fr 1fr; } .row-3 { grid-template-columns: 1fr 2fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: var(--space-3); }
.row .field { margin-bottom: 0; }
.row { margin-bottom: var(--space-3); }
label { font-weight: 500; font-size: 0.97rem; }
.hint { font-size: 0.87rem; color: var(--muted); }
input, textarea, select {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--card);
  border: 1.5px solid #b9b0a1; border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem; min-height: 3rem; width: 100%;
  transition: border-color 0.15s;
}
input:hover, textarea:hover { border-color: var(--muted); }
input:focus, textarea:focus { outline: 3px solid var(--fir-soft); border-color: var(--fir); outline-offset: 0; }
input[type="file"] { padding: 0.6rem; min-height: auto; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
textarea { min-height: 6rem; resize: vertical; }
.err { color: var(--error); font-size: 0.88rem; font-weight: 500; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #f6dede; color: var(--berry-dark); border-radius: var(--radius-sm); padding: 0.9rem 1rem; font-weight: 500; margin-bottom: var(--space-3); }
.form-error:empty { display: none; }

.summary {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: 0 14px 40px -28px rgba(27, 29, 26, 0.5);
}
@media (min-width: 60rem) { .summary { position: sticky; top: 1.5rem; } }
.summary h2 { font-size: 1.5rem; margin-bottom: var(--space-3); }
.summary .spec dt, .summary .spec dd { padding-top: 0.55rem; padding-bottom: 0.55rem; }
.summary .total { margin: 0 0 0.3rem; font-size: 2rem; color: var(--ink); }
.total { font-family: var(--font-display); font-size: 2rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary p { font-size: 0.92rem; color: var(--muted); }

.thanks { padding: var(--space-6) 0 var(--space-7); }
.thanks h1 { margin-bottom: var(--space-4); }
.ref { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--fir); }

.prose { padding: var(--space-5) 0 var(--space-6); }
.prose h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); margin-bottom: var(--space-4); }
.prose h2 { font-size: 1.5rem; margin: var(--space-5) 0 var(--space-3); }

/* Consent banner */
.consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50;
  max-width: 34rem; margin-left: auto;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 18px 50px -20px rgba(27, 29, 26, 0.55);
}
.consent[hidden] { display: none; }
.consent p { font-size: 0.92rem; margin: 0 0 0.9rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.consent .btn { min-height: 2.75rem; font-size: 0.95rem; padding: 0 1.1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
