/* Sorted Studio, Nov 2026 redesign: the shared layer. Loaded after site.css and motion.css on every page.
   One text face (Hanken Grotesk, medium for headings, no bold, no italic). The logo wordmark keeps Schibsted 800.
   Same colours as before, used as whole fields: ink, lime, paper. */
@font-face { font-family: 'Hanken Grotesk'; src: url('../fonts/hanken-grotesk-wght.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --font-display: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --m: clamp(20px, 3.4vw, 56px);
  --gutter: var(--m);
  --nav-h: 72px;
  --fs-hero: clamp(2.875rem, 1.45rem + 5.6vw, 6.25rem);
  --fs-head: clamp(2.375rem, 1.3rem + 4.3vw, 5.25rem);
  --fs-head-big: clamp(3.25rem, 1.4rem + 7.4vw, 8.5rem);
  --fs-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --fs-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
}
body { font-family: var(--font-text); letter-spacing: -0.006em; }
.shell { max-width: calc(1440px + 2 * var(--m)); margin-inline: auto; padding-inline: var(--m); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.v-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 32px; border-radius: 999px; border: 0; font: 500 clamp(1.0625rem, 1rem + 0.2vw, 1.125rem)/1 var(--font-text); letter-spacing: -0.012em; text-decoration: none; cursor: pointer; transition: transform 0.25s var(--e-out), background-color 0.2s ease, color 0.2s ease; }
.v-btn:active { transform: scale(0.97); }
.v-btn--lime { background: var(--lime); color: var(--ink); }
.v-btn--lime:hover { background: #fff; }
.v-btn--ink { background: var(--ink); color: var(--paper); }
.v-btn--ink:hover { background: #fff; color: var(--ink); }
.v-btn--line { background: none; color: var(--ink); border: 2px solid var(--ink); }
.v-btn--line:hover { background: var(--ink); color: var(--paper); }
.v-btn:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.v-link { display: inline-block; color: inherit; font-size: var(--fs-body); font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; transition: text-decoration-thickness 0.2s ease; }
.v-link:hover { text-decoration-thickness: 3px; }

/* Every heading on the site: one face, medium, tight. Sizes are the same scale as the home page. */
h1, h2, h3, .display { font-family: var(--font-text); font-weight: 500; letter-spacing: -0.038em; line-height: 1.02; }
h1, .display { font-size: var(--fs-hero); letter-spacing: -0.042em; line-height: 1; }
h2 { font-size: var(--fs-head); }
h3 { font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.875rem); letter-spacing: -0.024em; line-height: 1.12; }
.mark, em { background: none; color: inherit; font-style: normal; }

/* The page top on inner pages: an ink field that runs on from the header. */
html:not(.home) .nav { background: var(--ink); box-shadow: none; }  /* taste-skill-ignore: removes the old line */
.page-hero { background: var(--ink); color: var(--paper); padding-block: clamp(40px, 7vw, 128px) clamp(56px, 8vw, 128px); }
.page-hero h1, .page-hero p, .page-hero .lead, .page-hero .soft { color: inherit; }
.page-hero a:not(.btn) { color: var(--lime); }
.page-hero { --card: #fff; }
.stage, .stage__name, .stage__time, .stage__text { color: var(--ink); }

/* Inner pages: flat chapters with hard edges, no boxed cards and no rule under headings. Text and forms stay as they were. */
:root { --ash: transparent; --r-card: 20px; --card: var(--tone); }
html:not(.home) main > section:nth-of-type(odd):not(.page-hero):not(.band--close) { background: var(--tone); --card: #fff; }
html:not(.home) main > section:not(.page-hero):not(.band--close) { padding-block: clamp(72px, 9vw, 128px); }
.mark { display: inline; white-space: normal; }
.mark::before, .page-hero .mark::before { display: none; }
.nav__links a[aria-current="page"]::before, .nav__links a[aria-current="page"]::after { display: none; }
.nav__links a[aria-current="page"] { color: var(--lime) !important; }
.btn { font-family: var(--font-text); font-weight: 500; min-height: 52px; letter-spacing: -0.012em; }
.btn .arrow { display: none; }
.head, .work-head { border: 0; box-shadow: none; padding-bottom: 0; }  /* taste-skill-ignore: removes the old line */
.case { border: 0; }
.quote { border: 0; padding-left: 0; }
.quote p, .quote blockquote { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); line-height: 1.2; letter-spacing: -0.018em; }
.screen, .browser { box-shadow: none; }  /* taste-skill-ignore: removes the old shadow */
.field input, .field select, .field textarea { border: 1.5px solid var(--ink); background: #fff; }
.siteform .siteform__row { background: none; border: 0; padding: 0; box-shadow: none; border-radius: 0; flex-wrap: wrap; gap: 8px; }  /* taste-skill-ignore: removes the old box */
.siteform input { flex: 1 1 auto; width: min(100%, 340px); min-height: 56px; padding: 0 24px; background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; font: 400 18px/1 var(--font-text); color: var(--ink); }
.siteform .siteform__row .btn { min-height: 56px; border-radius: 999px; }

/* The close of every inner page: the same lime field as the home page. */
.band--close { background: var(--lime); color: var(--ink); padding-block: clamp(72px, 11vw, 128px); }
.band--close .close { background: none; border: 0; border-radius: 0; padding: 0 var(--m); display: grid; gap: clamp(24px, 4vw, 48px); }
.band--close .close::before, .band--close .close::after { display: none; }
.band--close h2 { font-size: var(--fs-head-big); line-height: 0.98; letter-spacing: -0.044em; max-width: 11ch; }
.band--close .lead, .band--close .soft { color: var(--ink); }
.band--close .btn--lime { background: var(--ink); color: var(--paper); min-height: 56px; padding-inline: 32px; }
.band--close .btn--lime:hover { background: #fff; color: var(--ink); }
.band--close .btn--line { background: none; color: var(--ink); border: 2px solid var(--ink); }
.band--close .siteform__hint, .band--close .siteform__error, .band--close label { color: var(--ink); }
@media (min-width: 1000px) {
  .band--close .close { grid-template-columns: 1.35fr 1fr; align-items: end; }
  .band--close h2 { font-size: min(var(--fs-head-big), 7.1vw); max-width: none; }
}

/* Inner pages, second pass (5 Nov 2026): no thin rules, no outlined boxes, flat fills. Form fields keep their lines. */
.offer, .offer:first-of-type, .faq, .faq details, .day, .day:first-child, .rules, .rules li, .rules-prose, .pb__row, .pb__lines, .pb__lines li, .psum, .psum li + li,
.report__top, .report li, .report__for, .report__short, .ticks, .case__facts li { border: 0; }
.pb, .pb__opt, .offer--addon, .after1, .after1__col, .payback, .stage, .note, .report, .pick-total, .case, .screen, .browser, .tag--plain { border: 0; }
.tag--plain { background: var(--card); }
.tag { white-space: nowrap; }
.offer--addon, .after1 { --pad: 0px; background: none; border-radius: 0; padding-inline: 0; margin-block: 0; }
.after1 { padding: clamp(var(--space-6), 4vw, var(--space-7)) 0; }
.offer--small .offer__title { font-size: var(--fs-h3); letter-spacing: -0.015em; line-height: 1.12; }
.offer--small .offer__body { font-size: inherit; color: inherit; }
.offer__more ul { list-style: disc; padding-left: 1.2em; }
.stage__n { display: none; }
.stage { grid-template-columns: minmax(0, 1fr); }
.page-hero .stages { max-width: none; }
.pb__opt { background: #fff; }
.after1__col, .after1__col--care { background: none; padding-inline: 0; }
.screen--phone { background: var(--ink); }
.screen--phone img { box-shadow: none; }  /* taste-skill-ignore: removes an old shadow */
.siteform .siteform__row .btn { box-shadow: none; }  /* taste-skill-ignore: removes an old shadow */
.ic__bar, .ic__meter { background: color-mix(in srgb, var(--ink) 12%, transparent); }
.ic__partial { background: var(--card); }
.pb__switch input { background: #fff; }
.pb__switch input::before { background: var(--ink); }
.pb__switch input:checked { background: var(--ink); }
.pb__switch input:checked::before { background: var(--lime); }
@media (max-width: 860px) {
  .js .wa-bar { border: 0; background: var(--ink); color: var(--paper); }
  .js .wa-bar:active { background: var(--charcoal); }
  .js .wa-bar svg { color: var(--ink); }
}
@media (max-width: 600px) { .page-hero h1:has(+ .lead + .small) { font-size: 8.1vw; } }

/* Real pictures on the inner pages: one wide picture and three phones, the same height. */
.shots { grid-column: 1 / -1; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: 1.6fr repeat(3, 0.487fr); gap: clamp(8px, 1.1vw, 16px); }
.shots img { display: block; width: 100%; height: auto; border-radius: 14px; }
.shots > img:first-child { height: 100%; object-fit: cover; }
.shots figcaption { grid-column: 1 / -1; margin-top: 8px; font-size: 1rem; }
.shots--three { grid-template-columns: 2fr 1fr; }
.shots--three > img:first-child { grid-row: span 2; }
.shots--three img, .shots--three > img:first-child { height: auto; align-self: start; }
.hero-pic { display: block; width: 100%; height: auto; margin-top: clamp(40px, 5vw, 64px); border-radius: 20px; }
@media (max-width: 700px) {
  .shots { grid-template-columns: repeat(3, 1fr); }
  .shots > img:first-child { grid-column: 1 / -1; height: auto; }
  .shots--three { grid-template-columns: 1fr; }
}

/* One pair of margins for the whole site. */
.wrap { width: 100%; max-width: calc(1440px + 2 * var(--m)); padding-inline: var(--m); }

/* The header: plain words on the film; on a chapter it takes that chapter's colour. Its pill is the opposite colour. */
html.home .nav { position: fixed; inset: 0 0 auto; background: none; border: 0; box-shadow: none; /* taste-skill-ignore: removes the old line */ color: var(--nav-fg); transition: color 0.2s ease, background-color 0.2s ease, transform 0.35s var(--e-out); }
:root { --nav-fg: #fff; --nav-pill: var(--paper); --nav-pill-fg: var(--ink); }
html.home[data-under="ink"] .nav { background: var(--ink); }
html.home[data-under="paper"], html.home[data-under="tone"], html.home[data-under="lime"], html.home.nav-on-lime { --nav-fg: var(--ink); --nav-pill: var(--ink); --nav-pill-fg: var(--paper); }
html.home[data-under="paper"] .nav { background: var(--paper); }
html.home[data-under="tone"] .nav { background: var(--tone); }
html.home[data-under="lime"] .nav { background: var(--lime); }
html.home.nav-away .nav { transform: translate3d(0, -100%, 0); }
.nav .brand, .nav .brand__name, .nav .brand__studio, .nav .nav__toggle { color: var(--nav-fg); }
.nav .nav__toggle { border-color: currentColor; }
@media (min-width: 861px) { .nav .nav__links a:not(.btn) { color: var(--nav-fg); } }
.nav .btn { background: var(--nav-pill); color: var(--nav-pill-fg); }
.nav .logo__box { fill: var(--lime); }
.nav .logo__tick { stroke: var(--ink); }
html.home.nav-on-lime .nav .logo__box, html.home[data-under="lime"] .nav .logo__box { fill: var(--ink); }
html.home.nav-on-lime .nav .logo__tick, html.home[data-under="lime"] .nav .logo__tick { stroke: var(--lime); }
.nav__links a:not(.btn) { font-weight: 500; }

.nav__rider { display: none; }

/* The phone menu: one dark screen, on every page, whatever field it opens over. */
html.menu-open, html.home.menu-open[data-under] { --nav-fg: #fff; --nav-pill: var(--paper); --nav-pill-fg: var(--ink); }
html.menu-open .nav, html.home.menu-open[data-under] .nav { background: var(--ink); transform: none; }
html.home.menu-open .nav .logo__box { fill: var(--lime); }
html.home.menu-open .nav .logo__tick { stroke: var(--ink); }
@media (max-width: 860px) {
  .js .nav__links { background: var(--ink); }
  .js .nav__links a:not(.btn) { color: var(--paper) !important; font-size: clamp(1.75rem, 8vw, 2.25rem); letter-spacing: -0.024em; border: 0; }
  .js .nav__links a[aria-current="page"] { color: var(--lime) !important; }
  .js .nav__links a:not(.btn):focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
}

/* The two floating things from the old site. The back-to-top button goes. WhatsApp waits until the film is over. */
.fly { display: none !important; box-shadow: none !important; }  /* taste-skill-ignore: removes the old shadow */
.js.has-wa-bar .footer__base { padding-right: 0; }
@media (min-width: 861px) { .js.hero-in .wa-bar { transform: translateY(160%); visibility: hidden; } }
.js .wa-bar { box-shadow: none; font-weight: 500; }  /* taste-skill-ignore: removes the old shadow */
@media (min-width: 861px) { .js .footer__base { padding-right: 0; } }

/* The footer: ink, with the name across the whole width. The old lift-off-the-footer effect goes. */
.js main { border: 0; border-radius: 0; box-shadow: none; }  /* taste-skill-ignore: this line removes the old shadow */
.js .footer { position: relative; z-index: 1; }
.footer { background: var(--ink) !important; color: var(--paper); position: relative; z-index: 1; border: 0; padding-block: clamp(56px, 7vw, 96px) clamp(24px, 3vw, 48px); }
.footer a, .footer h2, .footer p { color: inherit; }
.footer ul a { color: var(--paper) !important; }
.footer ul a:hover { color: var(--lime) !important; }
.footer h2 { font-family: var(--font-text); font-weight: 500; font-size: 1rem; letter-spacing: 0; text-transform: none; color: color-mix(in srgb, var(--paper) 66%, transparent); }

/* Social: small one-colour logos in the bottom bar, beside the copyright (17 Nov 2026, after a study of 23 top-tier
   footers: Airbnb, Framer and Figma do this; no circles, no brand colour). Each tap area stays 44 px. */
.footer .footer__social { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; }
.footer .footer__social a { width: 44px; height: 44px; justify-content: center; min-height: 0; color: color-mix(in srgb, var(--paper) 74%, transparent) !important; text-decoration: none; transition: color 0.2s ease; }
.footer .footer__social a:hover { color: var(--paper) !important; text-decoration: none; }
.footer .footer__social svg { width: 20px; height: 20px; display: block; }
.footer .footer__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px) clamp(16px, 2.4vw, 32px); }
.footer .footer__top > :first-child { grid-column: 1 / -1; }
.footer p.footer__word { color: var(--paper); font-size: min(11.3vw, 15.5rem); line-height: 0.95; letter-spacing: -0.052em; white-space: nowrap; }
.footer__word svg .logo__box { fill: var(--lime); }
.footer__word svg .logo__tick { stroke: var(--ink); }
.footer__base { color: color-mix(in srgb, var(--paper) 74%, transparent); border-top: 0; }
.footer__clock time { color: var(--paper); }
@media (min-width: 861px) {
  .footer .footer__top { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); }
  .footer .footer__top > :first-child { display: contents; }
  .footer p.footer__word { grid-column: 1 / -1; }
}

/* Power Design web rules, 6 Nov 2026 */
:root { --fs-label: 1rem; }                     /* rule 4: no text under 16px */
.brand__studio { font-size: var(--step--1); }   /* the logo keeps its own size */
.v-link { display: inline-flex; align-items: center; min-height: 44px; }   /* rule 4: 44px tap target */
.nav__links a { min-width: 44px; justify-content: center; }
.prose p, .prose li { max-width: 65ch; }        /* rule 8: 45 to 75 characters a line */
:focus-visible { box-shadow: 0 0 0 3px var(--lime); }   /* taste-skill-ignore: rule 13, a lime band inside the ink ring shows on ink and on paper */
@supports (color: oklch(0 0 0)) {               /* rule 12: the same colours, set in OKLCH */
  :root { --paper: oklch(0.9843 0.0040 106.5); --card: oklch(1.0000 0 0); --ink: oklch(0.2077 0.0050 248.1); --ink-soft: oklch(0.4694 0.0095 253.9);
    --lime: oklch(0.9247 0.2090 127.8); --lime-deep: oklch(0.8659 0.2149 128.4); --ash: oklch(0.9266 0.0067 106.5); --charcoal: oklch(0.3038 0.0084 255.6); }
}
.footer li a { min-width: 44px; }
.pill-line .nav:not(.nav--open) .nav__cta:focus-visible, .pill-line .nav:not(.nav--open) .nav__links .btn:focus-visible { box-shadow: inset 0 0 0 1.5px var(--paper), 0 0 0 3px var(--lime); }   /* taste-skill-ignore: focus ring */
.compare__handle:focus-visible .compare__knob { outline-color: var(--paper); box-shadow: 0 0 0 3px var(--ink); }   /* taste-skill-ignore: focus ring, ink then paper, shows on any picture */
p .v-link { display: inline; min-height: 0; }   /* a link inside a sentence keeps the line spacing */
