/* PowerQuote. One light theme, one accent. Mobile first: most visitors arrive
 * from a Facebook or Instagram ad, inside the in-app browser, on a phone. */

:root {
  color-scheme: light;
  --paper: #f4f2ec;
  --paper-2: #ebe8df;
  --card: #ffffff;
  --ink: #121a16;
  --ink-2: #2b3530;
  --muted: #5b6760;
  --line: #d9d5ca;
  --line-soft: #e7e3d9;
  --accent: #f2a922;
  --accent-hover: #e39a10;
  --sky: #d6e6ec;
  --ok: #1d6a44;
  --err: #b3261e;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 0 rgba(18, 26, 22, 0.03), 0 18px 40px -22px rgba(18, 26, 22, 0.28);
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line-soft); background: var(--paper); }
.head-in { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-word { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.head-note { font-size: 13px; color: var(--muted); }

/* Hero */
.hero { padding: 16px 0 40px; }
.hero-grid { display: grid; gap: 0; }
.eyebrow {
  display: none; align-items: center; gap: 8px; width: fit-content;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 10px; margin-bottom: 14px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(242, 169, 34, 0.22); }
h1 { font-size: clamp(27px, 7vw, 58px); line-height: 1.05; letter-spacing: -0.03em; }
.mark {
  background: linear-gradient(transparent 60%, var(--accent) 60%, var(--accent) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 0.06em; margin: 0 -0.06em;
}
.lede { display: none; margin-top: 12px; color: var(--ink-2); font-size: 15px; max-width: 46ch; }

/* Photos. Every photo of people is AI-generated and says so on the image. */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: 20px; background: var(--paper-2); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ai-tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.01em; line-height: 1;
  color: #fff; background: rgba(18, 26, 22, 0.72); padding: 5px 8px; border-radius: 999px;
}

.collage { position: relative; margin-top: 14px; }
/* Phones get the main photo only; the collage extras start at 900px. */
.photo-hero { aspect-ratio: 2 / 1; border-radius: 20px 20px 0 0; }
.photo-hero img { object-position: 50% 62%; }
.photo-hero .ai-tag { right: 10px; left: auto; bottom: 32px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  background: var(--card); color: var(--ink); border-radius: 999px; padding: 8px 14px 8px 10px;
  font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(18, 26, 22, 0.04), 0 10px 24px -12px rgba(18, 26, 22, 0.35);
}
.chip svg { width: 18px; height: 18px; flex: none; }
.chip-a { position: absolute; left: 10px; top: 10px; z-index: 3; font-size: 12.5px; padding: 6px 12px 6px 8px; }
.collage .sun, .collage .photo-inset, .collage .chip-b { display: none; }

/* Quiz card. On phones it slides up over the bottom of the hero photo. */
.quiz-wrap { min-width: 0; position: relative; z-index: 4; margin-top: -22px; }
.quiz {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 16px 16px 20px;
  scroll-margin-top: 12px;
}
.quiz-head { margin-bottom: 14px; }
.quiz-meta { display: flex; align-items: center; justify-content: space-between; min-height: 28px; }
.count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; margin-left: auto; }
.back {
  display: inline-flex; align-items: center; gap: 4px;
  border: 0; background: none; padding: 4px 6px 4px 0; margin: 0;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.back svg { width: 16px; height: 16px; }
.bar { height: 4px; background: var(--paper-2); border-radius: 4px; margin-top: 10px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 4px; transition: width 260ms ease; }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
/* With JavaScript (flagged by an inline script before first paint) the quiz is
 * a stepper. Without it, every question shows and the form posts normally. */
.js .step:not(.is-active) { display: none; }
html:not(.js) .quiz-head, html:not(.js) .next, html:not(.js) .back { display: none !important; }
html:not(.js) .step + .step { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.step legend {
  padding: 0; float: left; width: 100%;
  font-size: 21px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.22;
  outline: none; text-wrap: balance;
}
.step legend + * { clear: both; }
.hint { clear: both; padding-top: 6px; color: var(--muted); font-size: 14px; }
.options { clear: both; display: grid; gap: 8px; padding-top: 14px; }
.opt { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 50px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); font-size: 16px; font-weight: 500; line-height: 1.3;
  transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}
.opt span::after {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--card);
  transition: border-color 120ms ease, background-color 120ms ease;
}
@media (hover: hover) { .opt:hover span { border-color: var(--ink-2); } }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.opt input:checked + span::after {
  border-color: var(--accent); background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--ink);
}

.next {
  display: none; width: 100%; margin-top: 14px; min-height: 48px;
  border: 1px solid var(--ink); border-radius: var(--radius); background: var(--card);
  font: inherit; font-weight: 600; font-size: 16px; color: var(--ink); cursor: pointer;
}
.step.is-answered .next, .next.is-primary { display: block; }
.next.is-primary, .submit {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}

.q { clear: both; margin-top: 14px; font-weight: 600; font-size: 17px; }

/* Price guide */
.estimate { clear: both; margin-top: 12px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 12px 14px; }
.js .estimate-static { display: none; }
html:not(.js) .estimate-live { display: none; }
.estimate-live { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0; }
.estimate-live div { min-width: 0; }
.estimate-live dt { font-size: 12px; color: var(--muted); font-weight: 500; }
.estimate-live dd { margin: 2px 0 0; font-size: 15px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; text-wrap: balance; }
.estimate-live .est-price { grid-column: 1 / -1; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.estimate-live .est-price dd { font-size: 22px; letter-spacing: -0.02em; }
.estimate-note { margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.4; }

/* Text fields */
.field { display: block; clear: both; margin-top: 14px; }
.label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.label em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color 120ms ease;
}
.field input::placeholder { color: #9aa39e; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 26, 22, 0.12); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.fields-2 { display: grid; gap: 0 12px; clear: both; }
.err { display: block; min-height: 0; margin-top: 6px; font-size: 13.5px; color: var(--err); }
.err:empty { display: none; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; cursor: pointer; font-size: 14.5px; line-height: 1.45; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; margin: 1px 0 0;
  width: 22px; height: 22px; border: 1.5px solid var(--ink-2); border-radius: 6px; background: var(--card);
  display: grid; place-content: center; cursor: pointer;
}
.check input::after { content: ""; width: 11px; height: 6px; border: 2px solid var(--paper); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { opacity: 1; }
.check input[aria-invalid="true"] { border-color: var(--err); }
.consent { padding: 12px; margin-top: 12px; background: var(--paper); border-radius: var(--radius); }
.consent-link { font-size: 13px; color: var(--muted); margin-top: 8px; }

.submit {
  display: block; width: 100%; margin-top: 16px; min-height: 54px;
  border: 0; border-radius: var(--radius); background: var(--accent); color: #1c1403;
  font: inherit; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer;
  transition: background-color 120ms ease;
}
.submit:hover { background: var(--accent-hover); }
.submit[disabled] { opacity: 0.7; cursor: progress; }
.form-error { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #fbeceb; color: var(--err); font-size: 14px; }
.fine { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.45; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Exit and done panels */
.panel { outline: none; }
.panel h2 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.panel > p { margin-top: 10px; color: var(--ink-2); }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-ghost, .btn-text {
  min-height: 46px; padding: 10px 16px; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
}
.btn-ghost { border: 1px solid var(--ink); background: var(--card); color: var(--ink); }
.btn-text { border: 0; background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding-left: 4px; }
.panel .done-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.done-mark svg { width: 24px; height: 24px; }
.ref { font-size: 14px; }
.ref strong { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.next-steps { margin: 16px 0 0; padding: 0 0 0 20px; display: grid; gap: 10px; }
.next-steps li { padding-left: 4px; }
.next-steps li::marker { font-weight: 700; font-variant-numeric: normal; }

.quiz-foot { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* Sections */
.section { padding: 56px 0; border-top: 1px solid var(--line-soft); }
.section-alt { background: #efece4; }
.section-title { font-size: clamp(26px, 5vw, 38px); letter-spacing: -0.025em; }
.section-lede { margin-top: 12px; color: var(--ink-2); max-width: 52ch; }
.split { display: grid; gap: 24px; }

.steps-3 { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.card-media { aspect-ratio: 4 / 3; border-radius: 0; }
.card-body { position: relative; padding: 26px 20px 22px; }
.num {
  position: absolute; top: -19px; left: 18px;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: var(--ink); font-weight: 700; font-size: 15px;
  border: 3px solid var(--card);
}
.steps-3 h3 { font-size: 19px; letter-spacing: -0.015em; }
.steps-3 p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* Example price guide, drawn in HTML so every number is real */
.mock { display: grid; place-items: center; padding: 22px; background: var(--sky); position: relative; overflow: hidden; }
.mock::before { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: var(--accent); right: -40px; top: -48px; }
.mock-card {
  position: relative; width: 100%; max-width: 290px; background: var(--card); border-radius: 16px; padding: 14px 16px 12px;
  box-shadow: 0 1px 0 rgba(18, 26, 22, 0.04), 0 16px 30px -16px rgba(18, 26, 22, 0.4); transform: rotate(-2deg);
}
.mock-kicker { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.mock-price { margin-top: 4px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.mock-grid { margin: 8px 0 0; display: grid; gap: 5px; }
.mock-grid div { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.mock-grid dt { color: var(--muted); }
.mock-grid dd { margin: 0; font-weight: 600; text-align: right; }

/* Side photo with a colour block behind it */
.side-media { position: relative; padding: 0 12px 14px 0; }
.block-sky { position: absolute; top: 28px; right: 0; bottom: 0; left: 28px; background: var(--sky); border-radius: 26px; }
.photo-tall { aspect-ratio: 1 / 1; border-radius: 22px; }
.photo-tall img { object-position: 50% 45%; }
.photo-tall .ai-tag { top: 12px; left: 12px; bottom: auto; }
.chip-c { position: absolute; left: 12px; bottom: 30px; z-index: 3; white-space: normal; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li { display: grid; gap: 4px; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 19px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8.5' fill='none' stroke='%23f2a922' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist strong { font-weight: 650; }
.checklist span { color: var(--ink-2); font-size: 15px; }
.disclosure { margin-top: 28px; padding: 16px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); max-width: 760px; }
.disclosure strong { color: var(--ink); }

.assumptions { margin: 0; display: grid; border-top: 1px solid var(--line); }
.assumptions div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.assumptions dt { font-weight: 650; }
.assumptions dd { margin: 0; color: var(--ink-2); font-size: 15px; }

.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
  transition: transform 160ms ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 62ch; }

.cta-band { background: var(--accent); color: var(--ink); padding: 52px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, 0.18); right: -110px; bottom: -150px; }
.cta-in { display: grid; gap: 22px; justify-items: start; position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(28px, 5.4vw, 42px); letter-spacing: -0.03em; max-width: 18ch; }
.mark-ink { background: linear-gradient(transparent 64%, rgba(18, 26, 22, 0.16) 64%, rgba(18, 26, 22, 0.16) 94%, transparent 94%); }
.btn-primary, .btn-dark {
  display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; font-size: 16px; transition: background-color 120ms ease;
}
.btn-primary { background: var(--accent); color: #1c1403; }
.btn-primary:hover { background: var(--accent-hover); text-decoration: none; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #26332c; text-decoration: none; }

.site-foot { padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.foot-in { display: grid; gap: 12px; }
.foot-brand .brand-word { font-size: 15px; color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Plain pages: privacy notice, no-JS replies, 404 */
.plain-main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
.plain-main h1 { font-size: clamp(30px, 6vw, 44px); margin: 28px 0 16px; max-width: none; }
.plain-main h2 { font-size: 21px; margin: 32px 0 10px; letter-spacing: -0.015em; }
.plain-main p, .plain-main li { color: var(--ink-2); }
.plain-main p + p { margin-top: 12px; }
.plain-main ul { padding-left: 20px; display: grid; gap: 6px; }
.updated { font-size: 14px; color: var(--muted); }

/* Wider screens */
@media (min-width: 560px) {
  .fields-2 { grid-template-columns: 1fr 1fr; }
  .quiz { padding: 22px 22px 24px; }
  .step legend { font-size: 23px; }
  .eyebrow { display: inline-flex; }
  .lede { display: block; }
  .collage { margin-top: 22px; }
  .photo-tall { aspect-ratio: 4 / 5; }
}

@media (min-width: 900px) {
  .hero { padding: 48px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: start; }
  .lede { margin-top: 20px; font-size: 18px; }

  .collage { margin-top: 40px; padding: 0 64px 72px 0; }
  .collage .sun { display: block; position: absolute; z-index: 0; width: 190px; height: 190px; border-radius: 50%; background: var(--accent); top: -34px; right: 18px; }
  .photo-hero { z-index: 1; aspect-ratio: 3 / 2; border-radius: 28px; box-shadow: var(--shadow); }
  .photo-hero img { object-position: 50% 50%; }
  .photo-hero .ai-tag { top: 12px; left: 12px; right: auto; bottom: auto; }
  .collage .photo-inset {
    display: block; position: absolute; z-index: 2; right: 0; bottom: 0; width: 36%; aspect-ratio: 4 / 5;
    border: 6px solid var(--paper); border-radius: 26px; box-shadow: var(--shadow);
  }
  .photo-inset img { object-position: 50% 30%; }
  .chip-a { top: 120px; left: -18px; font-size: 14px; padding: 9px 16px 9px 11px; }
  .collage .chip-b { display: inline-flex; position: absolute; z-index: 3; left: 30px; bottom: 44px; font-size: 14px; padding: 9px 16px 9px 11px; }

  .quiz-wrap { margin-top: 0; position: sticky; top: 24px; }
  .quiz { padding: 28px; position: relative; }

  .section { padding: 96px 0; }
  .split { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 72px; align-items: center; }
  .steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
  .card-body { padding: 30px 26px 28px; }
  .num { left: 24px; }
  .side-media { padding: 0 28px 28px 0; }
  .block-sky { top: 44px; left: 44px; }
  .chip-c { left: -18px; bottom: 64px; white-space: nowrap; font-size: 14px; padding: 9px 16px 9px 11px; }

  .cta-band { padding: 72px 0; }
  .cta-in { grid-template-columns: 1fr auto; align-items: center; }
  .foot-in { grid-template-columns: 1fr auto; align-items: center; }
  .head-in { height: 64px; }
  .head-note { font-size: 14px; }
}
