@font-face { font-family: Newsreader; src: url('/assets/fonts/newsreader-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Schibsted; src: url('/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }

:root {
  --ground: #fafaf9;
  --surface: #fff;
  --ink: #23261f;
  --muted: #545a52;
  --line: #e4e3df;
  --cta: #a64532;
  --cta-press: #8c3727;
  --bar: #c9705c;
  --serif: Newsreader, Georgia, 'Times New Roman', serif;
  --sans: Schibsted, 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 4.2vw, 60px);
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.site-header, main > section, .site-footer { padding-inline: var(--gutter); max-width: 1560px; margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.wordmark img { width: 104px; }
.site-nav { display: flex; gap: clamp(18px, 3vw, 40px); font-size: 16px; }
.site-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.02; }
h1 { font-size: clamp(48px, 7vw, 108px); }
h2 { font-size: clamp(38px, 4.4vw, 64px); max-width: 17ch; }
.lede, .section-head p, .analytics-copy > p { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); max-width: 46ch; }

.hero { padding-top: clamp(12px, 2.4vw, 36px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero-side .claim { margin-top: 22px; }
.claim { display: flex; margin-top: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgb(35 38 31 / .06); }
.claim-field { flex: 1; display: flex; align-items: baseline; min-width: 0; padding: 0 20px; cursor: text; font-size: clamp(22px, 1.9vw, 30px); }
.claim-prefix { color: var(--muted); white-space: nowrap; }
.claim-field input { flex: 1; min-width: 0; padding: 18px 0 18px 1px; border: 0; background: none; color: var(--ink); font: 500 1em/1.2 var(--sans); }
.claim-field input:focus { outline: none; }
.claim-field:focus-within { box-shadow: inset 0 -3px 0 var(--cta); }
.claim-field input::placeholder { color: #a3a7a0; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--radius); background: var(--cta); color: #fff; font: 600 18px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s; }
.cta:hover { background: var(--cta-press); }
.claim .cta { border-radius: 0 var(--radius) var(--radius) 0; flex: none; }
.claim-note { margin-top: 12px; color: var(--muted); font-size: 15px; }

.crafts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(28px, 3vw, 44px); }
.craft figure { position: relative; }
.craft-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.craft:nth-child(1) .craft-photo { object-position: 52% 30%; }
.craft:nth-child(2) .craft-photo { object-position: 58% 40%; }
.craft:nth-child(3) .craft-photo { object-position: 30% 40%; }
.craft:nth-child(4) .craft-photo { object-position: 60% 40%; }
.phone { position: absolute; bottom: 44px; width: 38%; padding: 4px; border-radius: 20px; background: #1d1f1b; box-shadow: 0 14px 30px rgb(20 22 18 / .28); }
.phone img { width: 100%; border-radius: 16px; }
.craft-start .phone { left: 12px; }
.craft-end .phone { right: 12px; }
.craft figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }

main > section + section { margin-top: clamp(64px, 7vw, 112px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 3vw, 44px); }
.section-head p { justify-self: end; }

.look-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2vw, 28px); }
.look { display: grid; grid-template-columns: 1fr auto; gap: 10px 8px; text-decoration: none; }
.look-screen { grid-column: 1 / -1; padding: 5px; border-radius: 26px; background: #1d1f1b; transition: transform .2s; }
.look-screen img { width: 100%; border-radius: 21px; }
.look:hover .look-screen { transform: translateY(-4px); }
.look-name { font-weight: 600; }
.look-plan { color: var(--muted); font-size: 14px; align-self: center; }
.section-link { margin-top: 28px; }
.section-link a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 4px; }

.analytics { padding-block: clamp(48px, 6vw, 88px); background: #f0f1ee; box-shadow: 0 0 0 100vmax #f0f1ee; clip-path: inset(0 -100vmax); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.analytics-copy > p { margin-top: 18px; }
.facts { display: grid; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.facts strong { color: var(--ink); font-weight: 600; }
.stats { padding: clamp(18px, 2.4vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px -24px rgb(35 38 31 / .3); }
.stats-head { display: flex; justify-content: space-between; align-items: baseline; }
.stats-title { font-weight: 700; font-size: 22px; }
.stats-range { padding: 5px 10px; border-radius: var(--radius); background: #f3ebe8; color: var(--cta-press); font-size: 14px; font-weight: 600; }
.stats-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.stats-kpis div { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.stats-kpis dt { color: var(--muted); font-size: 13px; }
.stats-kpis dd { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; }
.stats-chart-label { margin-top: 20px; font-size: 15px; font-weight: 600; }
.stats-chart { display: block; width: 100%; height: clamp(72px, 8vw, 110px); margin-top: 10px; fill: var(--bar); }
.stats-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 22px; }
.stats-list h3 { font-size: 15px; margin-bottom: 8px; }
.stats-list li { display: grid; grid-template-columns: 1fr auto; padding: 8px 0 6px; font-size: 14px; }
.stats-list b { font-weight: 600; font-variant-numeric: tabular-nums; }
.bar { grid-column: 1 / -1; height: 4px; margin-top: 6px; border-radius: 2px; background: var(--bar); }
.bar-100 { width: 100%; } .bar-74 { width: 74%; } .bar-54 { width: 54%; } .bar-49 { width: 49%; } .bar-30 { width: 30%; } .bar-24 { width: 24%; } .bar-16 { width: 16%; }
.stats figcaption { margin-top: 16px; color: var(--muted); font-size: 13px; }

.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.pricing .section-head { grid-template-columns: 1fr; margin: 0; position: sticky; top: 32px; }
.pricing .section-head p { justify-self: start; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.plan h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; }
.soon { padding: 3px 9px; border-radius: var(--radius); background: #eeefec; color: var(--muted); font-size: 13px; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; color: var(--muted); }
.price strong { color: var(--ink); font: 400 56px/1 var(--serif); }
.plan ul { display: grid; gap: 10px; margin: 24px 0 28px; }
.plan li { padding-left: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a64532' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") 0 .3em / 16px no-repeat; }
.plan-cta { margin-top: auto; }
.plan-pro { background: #f3f4f1; }
.segmented { display: none; }
.dock { display: none; }
.plan-free { border-color: #cfcdc7; }
.plan-note { margin-top: auto; color: var(--muted); font-size: 15px; }

.closing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.closing-photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 30% 40%; border-radius: var(--radius); }
.closing .claim-field { font-size: clamp(22px, 2vw, 30px); }

.site-footer { margin-top: clamp(64px, 7vw, 112px); padding-block: 48px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-grid > div p { margin-top: 12px; }
.footer-grid nav { display: grid; align-content: start; }
.footer-grid h2 { font: 600 14px/1.4 var(--sans); letter-spacing: 0; color: var(--ink); margin-bottom: 2px; }
.footer-grid nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-grid nav a:hover { text-decoration: underline; }
.footer-copyright { grid-column: 1 / -1; font-size: 14px; }

@media (max-width: 1099px) {
  .crafts { grid-template-columns: repeat(2, 1fr); }
  .look-row { grid-template-columns: repeat(5, minmax(200px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .look-row li { scroll-snap-align: start; }
  .analytics, .closing, .hero-top, .pricing { grid-template-columns: minmax(0, 1fr); }
  .pricing .section-head { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 699px) {
  body { font-size: 16px; }
  .site-header { position: sticky; top: 0; z-index: 5; padding-block: 6px; background: rgb(250 250 249 / .86); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid rgb(35 38 31 / .06); }
  .wordmark img { width: 88px; }
  .site-nav { gap: 4px; font-size: 15px; }
  .site-nav a:not(.nav-login) { display: none; }
  .nav-login { padding-inline: 14px; border-radius: 999px; background: #edeeea; font-weight: 600; }
  h1 { font-size: clamp(40px, 12vw, 52px); }
  h2 { font-size: 32px; }
  .hero { padding-top: 18px; }
  .hero-top { gap: 14px; }
  .lede { margin-top: 0; font-size: 17px; }
  .section-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
  .section-head p { justify-self: start; font-size: 16px; }
  main > section + section { margin-top: 56px; }
  .claim { flex-direction: column; margin-top: 18px; border-radius: 14px; }
  .claim-field { padding: 0 16px; font-size: 22px; }
  .claim-field input { padding-block: 14px; }
  .claim .cta { border-radius: 0 0 13px 13px; min-height: 54px; }
  .claim-field:focus-within { box-shadow: none; }
  .claim:focus-within { border-color: var(--cta); }
  .cta { border-radius: 14px; }
  .crafts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 24px calc(var(--gutter) * -1) 0; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .craft { flex: 0 0 74%; scroll-snap-align: start; }
  .craft-photo { border-radius: 16px; }
  .phone { width: 38%; bottom: 40px; }
  .look-row { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); grid-template-columns: repeat(5, 46%); gap: 12px; scrollbar-width: none; }
  .look-screen { border-radius: 22px; padding: 4px; }
  .look-screen img { border-radius: 18px; }
  .analytics { padding-block: 44px; }
  .facts { gap: 0; margin-top: 18px; padding: 0; border: 0; background: var(--surface); border-radius: 14px; overflow: hidden; }
  .facts li { padding: 12px 16px; font-size: 15px; }
  .facts li + li { border-top: 1px solid var(--line); }
  .stats { padding: 16px; border-radius: 16px; }
  .stats-kpis { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stats-chart { height: 64px; }
  .segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 3px; margin: 18px 0 4px; border-radius: 12px; background: #eceeea; }
  .segmented[hidden] { display: none; }
  .segmented button { min-height: 44px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: 600 15px/1 var(--sans); cursor: pointer; }
  .segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(35 38 31 / .14); }
  .stats-lists { grid-template-columns: 1fr; margin-top: 8px; }
  .stats-lists[data-active] .stats-list h3 { display: none; }
  .stats-lists[data-active="links"] [data-list="sources"], .stats-lists[data-active="sources"] [data-list="links"] { display: none; }
  .plan-switch { margin-top: 0; margin-bottom: 12px; }
  .plans { grid-template-columns: 1fr; }
  .plans[data-active="free"] [data-list="pro"], .plans[data-active="pro"] [data-list="free"] { display: none; }
  .plan { border-radius: 16px; padding: 22px; }
  .price strong { font-size: 48px; }
  .closing-photo { border-radius: 16px; aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .footer-grid > div:first-child, .footer-copyright { grid-column: 1 / -1; }
  .dock { display: block; position: fixed; inset: auto 0 0; z-index: 6; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgb(250 250 249 / .9); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-top: 1px solid rgb(35 38 31 / .08); }
  .dock[hidden] { display: none; }
  .dock .cta { width: 100%; min-height: 52px; }
  body:has(.dock) { padding-bottom: 76px; }
}

@media (max-width: 359px) {
  .claim-field { font-size: 20px; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
