﻿@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/schibsted-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/schibsted-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #F5F3EE;
  --paper-2: #EDE9E1;
  --white: #FFFFFF;
  --ink: #17181A;
  --ink-2: #3A3B3E;
  --muted: #6B675F;
  --line: #DDD7CC;
  --accent: #E5533D;
  --accent-ink: #B9371F;
  --radius: 14px;
  --font: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-word { font-weight: 800; font-size: 1.28rem; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.brand-word .q { color: var(--accent); }
.brand-word.small { font-size: 1.05rem; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; font-weight: 500; }
.top-nav a:not(.btn) { text-decoration: none; color: var(--ink-2); }
.top-nav a:not(.btn):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  font: 600 1rem/1 var(--font); letter-spacing: -0.005em;
  padding: 16px 22px; border-radius: 12px; border: 0; cursor: pointer; text-decoration: none;
  transition: background .15s, transform .15s;
}
.btn:hover { background: #000; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .link-arrow:focus-visible, .slide-dots button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-sm { padding: 10px 14px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.link-arrow span { display: inline-block; transition: transform .15s; }
.link-arrow:hover span { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--ink-2); margin-bottom: 26px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 33em; margin-top: 26px; }
.cta-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 34px; }
.fine { margin-top: 22px; font-size: .9rem; color: var(--muted); max-width: 30em; }

/* device + carousel */
.hero-device { justify-self: center; width: min(330px, 100%); }
.device { background: var(--ink); border-radius: 46px; padding: 11px; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 40px 80px -30px rgba(23,24,26,.45), 0 18px 30px -18px rgba(23,24,26,.35); }
.device-screen { border-radius: 36px; overflow: hidden; background: #eef0f6; aspect-ratio: 390 / 844; }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slides:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.slide-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.slide-caption { font-weight: 600; font-size: .95rem; }
.slide-dots { display: flex; gap: 6px; }
.slide-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; transition: width .25s, background .25s; }
.slide-dots button[aria-selected="true"] { width: 22px; background: var(--ink); }
.slide-note { margin-top: 8px; font-size: .82rem; color: var(--muted); }

/* ---------- sections ---------- */
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 22px; }

.problem { background: var(--white); border-block: 1px solid var(--line); }
.problem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.problem-list { list-style: none; margin: 0; padding: 0; }
.problem-list li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 1.12rem; }
.problem-list li:last-child { border-bottom: 1px solid var(--line); }
.problem-list span { font-size: .85rem; font-weight: 700; color: var(--accent); padding-top: 4px; font-variant-numeric: tabular-nums; }

.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.how-step { padding-top: 26px; border-top: 2px solid var(--ink); }
.how-step .num { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 22px; }
.how-step:last-child .num { color: var(--accent); }
.how-step h3 { margin-bottom: 10px; }
.how-step p { color: var(--ink-2); }

.features { background: var(--white); border-block: 1px solid var(--line); }
.features-title { max-width: 18em; margin-bottom: clamp(36px, 5vw, 64px); }
.feature-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); }
.feature-list > div { padding: 24px 0; border-top: 1px solid var(--line); }
.feature-list dt { font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.feature-list dd { margin: 0; color: var(--ink-2); }

.story { padding: clamp(64px, 9vw, 120px) 0; }
.story-inner { display: grid; grid-template-columns: 1fr; }
.story blockquote { margin: 0; max-width: 820px; }
.story blockquote p { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.story blockquote p::before { content: '“'; color: var(--accent); }
.story blockquote p::after { content: '”'; color: var(--accent); }
.story footer { margin-top: 22px; color: var(--muted); font-weight: 600; font-size: .95rem; }

/* ---------- signup ---------- */
.signup { background: var(--ink); color: var(--paper); }
.signup .section-label { color: #A8A39A; }
.signup-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.signup-copy p { color: #CFCAC0; margin-top: 20px; max-width: 30em; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; }
.checks li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid #2E2F33; font-weight: 500; }
.checks li:last-child { border-bottom: 1px solid #2E2F33; }
.checks li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.form { background: var(--paper); color: var(--ink); border-radius: 20px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; }
.field > span, .field > legend { font-weight: 600; font-size: .92rem; padding: 0; }
.req { color: var(--accent); }
.opt { color: var(--muted); font-weight: 500; font-size: .82rem; margin-left: 4px; }
.form input[type=email], .form input[type=text], .form select {
  font: 500 1rem var(--font); color: var(--ink);
  padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white);
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2317181A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form input:focus, .form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-weight: 500; font-size: .95rem; cursor: pointer; user-select: none; transition: background .15s, color .15s, border-color .15s; }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.consent a { color: var(--ink); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.5em; font-weight: 600; font-size: .95rem; text-align: center; }
.form-msg.ok { color: #1F7A4D; }
.form-msg.err { color: var(--accent-ink); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 0 22px; color: var(--ink-2); max-width: 36em; }

/* ---------- footer ---------- */
.foot { padding: 32px 0 40px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.foot-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-inner .brand-word { color: var(--ink); margin-right: auto; }

/* ---------- privacy page ---------- */
.doc { max-width: 720px; padding: clamp(40px, 6vw, 80px) 0 96px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.doc h2 { font-size: 1.25rem; margin: 36px 0 10px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 20px; }
.doc .updated { color: var(--muted); font-size: .92rem; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .problem-grid, .signup-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-device { margin-top: 12px; }
  .how-grid, .feature-list { grid-template-columns: 1fr; }
  .how-step { padding-bottom: 8px; }
  .top-nav a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .brand-word { font-size: 1.12rem; }
  .brand-mark { width: 30px; height: 30px; }
  .cta-row { gap: 18px; }
}
