/* Fonts are hosted here, so no request goes to Google or any other third party. */
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 400; font-display: swap; src: url(../fonts/atkinson-hyperlegible-next-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 700; font-display: swap; src: url(../fonts/atkinson-hyperlegible-next-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 500; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 600; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 700; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-700-normal.woff2) format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
a { color: var(--heading); text-underline-offset: 3px; }
a:hover { color: var(--action-hover); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); color: var(--heading); margin: 0; text-wrap: balance; }
p { margin: 0; }
.muted { color: var(--ink-muted); }
.small { font-size: 15px; line-height: 22px; }
.caption { font-size: 13px; line-height: 18px; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface-raised); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Brand lockup: ILR Helper, by Cuberah */
.brand { display: inline-flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--heading); }
.brand__name { font: 700 22px/26px var(--font-display); letter-spacing: -0.01em; }
.brand__by { display: inline-flex; align-items: center; gap: 6px; font: 400 12px/14px var(--font-text); color: var(--ink-muted); }
.brand__by { font-size: 13px; }
.brand__by img { height: 17px; width: auto; display: block; }
.brand--dark .brand__by img { height: 22px; }
.brand--dark { color: #ffffff; }
.brand--dark .brand__by { color: #a3b9bd; }

/* Site header */
.site-head { background: var(--surface-raised); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; flex-wrap: wrap; padding-block: 10px; }
.site-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.site-nav a:not(.cb-btn) { text-decoration: none; color: var(--ink); }
.site-nav a:not(.cb-btn):hover { color: var(--heading); text-decoration: underline; }
a.cb-btn--primary, a.cb-btn--primary:hover { color: var(--on-action); }

/* Landing */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.hero h1 { font-size: 52px; line-height: 58px; letter-spacing: -0.02em; font-weight: 700; }
.hero .lead { font-size: 20px; line-height: 31px; color: var(--ink-muted); margin-top: 18px; max-width: 34em; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--ink-muted); }
.preview { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-raised); padding: 20px; display: grid; gap: 14px; }
.preview__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.preview__row:last-child { border-bottom: 0; }
.preview__big { font: 650 30px/36px var(--font-display); color: var(--heading); }

.band { padding: 64px 0; border-top: 1px solid var(--line); }
.band--white { background: var(--surface-raised); }
.band__head { max-width: 680px; margin-bottom: 32px; display: grid; gap: 10px; }
.band__head h2 { font-size: 34px; line-height: 40px; letter-spacing: -0.01em; }
.band__head p { font-size: 18px; line-height: 28px; color: var(--ink-muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature { display: grid; gap: 8px; align-content: start; }
.feature h3 { font-size: 20px; line-height: 26px; }
.feature p { font-size: 16px; line-height: 25px; color: var(--ink-muted); }
.feature__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--leaf-tint); color: var(--leaf-ink); display: flex; align-items: center; justify-content: center; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; display: grid; gap: 6px; align-content: start; }
.steps li::before { content: counter(s); font: 700 15px/32px var(--font-display); width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; text-align: center; }
.steps b { font-size: 17px; }
.steps span { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.privacy-box { background: var(--teal); color: #e9f1ef; border-radius: var(--radius-lg); padding: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.privacy-box h2 { color: #fff; font-size: 30px; line-height: 36px; }
.privacy-box ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.privacy-box a { color: #cfe6a8; }
.soon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 40px; align-items: start; }
.soon ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.legal h1 { font-size: 40px; line-height: 46px; margin-bottom: 8px; }
.legal h2 { font-size: 24px; line-height: 30px; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 17px; line-height: 27px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; margin-top: 8px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink-muted); font-size: 13px; }
.todo { background: #fdf3e2; color: var(--warning); font-weight: 700; padding: 0 4px; border-radius: 3px; }

/* Footer */
.site-foot { background: var(--surface-sunken); border-top: 1px solid var(--line); padding: 40px 0 32px; font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.site-foot__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-foot h2 { font: 700 14px/20px var(--font-text); color: var(--ink); margin-bottom: 8px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--ink); }
.site-foot__legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; }

@media (max-width: 900px) {
  .hero .wrap, .soon, .privacy-box, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .grid3, .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-foot__top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 40px; }
  .hero h1 { font-size: 36px; line-height: 42px; }
  .hero .lead { font-size: 18px; line-height: 28px; }
  .grid3, .steps { grid-template-columns: minmax(0, 1fr); }
  .band { padding: 44px 0; }
  .band__head h2 { font-size: 28px; line-height: 34px; }
  .privacy-box { padding: 24px; }
  .site-nav { gap: 14px; font-size: 14px; }
  .legal h1 { font-size: 32px; line-height: 38px; }
}

/* A/B test heroes. Written phone first: the base is phone, min-width queries widen it. */
.hx--b { display: none; }
[data-v="b"] .hx--a { display: none; }
[data-v="b"] .hx--b { display: block; }
.hx { padding: 40px 0 44px; }
.hx h1 { font-size: 36px; line-height: 42px; letter-spacing: -0.02em; font-weight: 700; }
.hx__sub { font-size: 18px; line-height: 28px; color: var(--ink-muted); margin-top: 12px; }
.hx__meta { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.hx__cta { width: 100%; min-height: 52px; font-size: 17px; }
.hx--a { text-align: center; }
.hx__trio { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font: 700 15px/20px var(--font-text); color: var(--heading); }
.hx__trio li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hx__trio i { width: 52px; height: 52px; border-radius: 14px; background: var(--leaf-tint); color: var(--leaf-ink); display: flex; align-items: center; justify-content: center; }
.hx__split { display: grid; gap: 28px; }
.hx__ticks { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 12px; font-size: 18px; line-height: 26px; }
.hx__ticks li { display: flex; gap: 12px; align-items: center; }
.hx__ticks li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg); background: var(--leaf); flex: none; }
.hx__ctas { display: grid; gap: 8px; }
.hx__date { background: var(--teal); color: #cfe0dd; border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 4px; }
.hx__date b { font: 700 36px/42px var(--font-display); color: #fff; }
@media (min-width: 640px) {
  .hx { padding: 72px 0; }
  .hx h1 { font-size: 48px; line-height: 54px; }
  .hx__sub { font-size: 20px; line-height: 30px; }
  .hx__cta { width: auto; min-height: 48px; }
  .hx--a .wrap { max-width: 720px; }
  .hx__trio { max-width: 520px; margin: 36px auto; font-size: 16px; }
  .hx__ctas { display: flex; gap: 12px; align-items: center; }
}
@media (min-width: 960px) {
  .hx { padding: 96px 0; }
  .hx h1 { font-size: 56px; line-height: 62px; }
  .hx__split { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
  .hx__date { padding: 36px; }
  .hx__date b { font-size: 48px; line-height: 54px; }
}

/* Header, phone first: logo and one button on a phone; text links from 640px */
.site-head .wrap { flex-wrap: nowrap; min-height: 64px; }
.site-nav a:not(.cb-btn) { display: none; }
@media (min-width: 640px) { .site-nav a:not(.cb-btn) { display: inline; } .site-head .wrap { min-height: 76px; } }
[hidden] { display: none !important; }
