@font-face { font-family: "Schibsted"; src: url("fonts/schibsted.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Dela"; src: url("fonts/dela.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument"; src: url("fonts/instrument-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }

:root {
  --ink: #0A0A0A;
  --card: #151515;
  --line: #2A2A2A;
  --paper: #F4F3EE;
  --muted: #A9A8A3;
  --lime: #C8FF2E;
  --pink: #FF4FA3;
  --butter: #FFD84D;
  --aqua: #3CF2D6;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 18px/1.55 "Schibsted", system-ui, sans-serif; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: var(--paper); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10,10,10,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(244,243,238,0.06); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span { font: italic 34px/1 "Instrument", Georgia, serif; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--paper); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* buttons + stickers */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; background: var(--lime); color: var(--ink); border: 3px solid var(--ink); box-shadow: 6px 7px 0 var(--pink); font: 800 18px/1 "Schibsted", sans-serif; text-decoration: none; letter-spacing: -0.01em; }
.btn:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 7px 8px 0 var(--pink); }
.btn .apple { width: 18px; height: 18px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.sticker { position: absolute; z-index: 3; padding: 12px 22px; border-radius: 22px; background: var(--lime); color: var(--ink); border: 4px solid var(--ink); box-shadow: 6px 8px 0 var(--pink); font: 24px/1 "Dela", sans-serif; white-space: nowrap; }

/* hero */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.eyebrow { font: italic 30px/1 "Instrument", Georgia, serif; color: var(--butter); margin: 0 0 18px; }
h1, h2 { font-weight: 900; letter-spacing: -0.055em; line-height: 0.92; margin: 0; }
h1 { font-size: clamp(56px, 9vw, 120px); }
h2 { font-size: clamp(44px, 6.4vw, 88px); }
.lime { color: var(--lime); }
.lede { font-size: clamp(19px, 2vw, 23px); color: #C9C8C2; max-width: 34ch; margin: 26px 0 34px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cta small { color: var(--muted); font-size: 14px; }

.phone { --w: min(330px, 72vw); position: relative; justify-self: center; width: var(--w); }
/* iPhone-style device: titanium edge, black bezel, Dynamic Island, side keys (drawn in CSS) */
.device { position: relative; z-index: 1; width: var(--w); height: calc(var(--w) * 2.086); padding: calc(var(--w) * 0.028); border-radius: calc(var(--w) * 0.175); background: linear-gradient(135deg, #8a8d92 0%, #3a3c40 18%, #1d1e21 45%, #2c2e32 70%, #7d8187 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 50px 120px rgba(0, 0, 0, 0.65), 0 0 90px rgba(200, 255, 46, 0.08); }
.bezel { width: 100%; height: 100%; padding: calc(var(--w) * 0.032); border-radius: calc(var(--w) * 0.152); background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.screen { position: relative; width: 100%; height: 100%; overflow: hidden; display: grid; place-items: center; border-radius: calc(var(--w) * 0.122); background: #000; }
.screen video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #0d0d0d; }
.island { position: absolute; top: calc(var(--w) * 0.035); left: 50%; width: calc(var(--w) * 0.3); height: calc(var(--w) * 0.088); transform: translateX(-50%); border-radius: 999px; background: #000; box-shadow: inset 0 0 0 1px #111; }
.key { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #45484d, #8a8d92); }
.k-action { left: -3px; top: 18%; height: 5.5%; }
.k-up { left: -3px; top: 26%; height: 9%; }
.k-down { left: -3px; top: 37%; height: 9%; }
.k-power { right: -3px; top: 29%; height: 13%; transform: scaleX(-1); }
.k-cam { right: -3px; top: 57%; height: 7%; transform: scaleX(-1); }
/* the sticker sits in the black bar under the video, hanging off the phone's edge, never over the ad */
.phone .sticker { bottom: -2%; left: -46px; transform: rotate(-6deg); z-index: 3; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone .sticker { left: -14px; font-size: 19px; padding: 10px 18px; }
}

/* ticker */
.ticker-clip { overflow: hidden; padding: 24px 0; }
.ticker { background: var(--lime); color: var(--ink); border-block: 4px solid var(--ink); overflow: hidden; transform: rotate(-1.5deg); margin: 0 -20px; }
.ticker div { display: flex; gap: 38px; width: max-content; padding: 16px 0; font: 26px/1 "Dela", sans-serif; animation: slide 38s linear infinite; }
.ticker span::after { content: "✦"; margin-left: 38px; color: var(--pink); }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
section { padding: clamp(72px, 10vw, 130px) 0; }
.kicker { font: italic 28px/1 "Instrument", Georgia, serif; color: var(--pink); margin: 0 0 14px; }
.sub { color: #C9C8C2; font-size: clamp(18px, 1.8vw, 21px); max-width: 52ch; margin: 22px 0 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px; }
.step b { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--ink); font: 22px/1 "Dela", sans-serif; margin-bottom: 18px; }
.step:nth-child(2) b { background: var(--lime); }
.step:nth-child(3) b { background: var(--pink); }
.step h3 { font-size: 26px; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 10px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* screenshot slider: centre card lit, neighbours peek; native scroll-snap underneath */
.slider { --card: min(300px, 68vw); margin-top: 36px; }
.shots { display: flex; gap: clamp(12px, 2vw, 26px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 34px calc(50vw - var(--card) / 2) 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); cursor: grab; outline: none; }
.shots::-webkit-scrollbar { display: none; }
.shots.dragging { scroll-snap-type: none; cursor: grabbing; }
.shots:focus-visible figure.is-active img { outline: 3px solid var(--lime); outline-offset: 4px; }
.shots figure { flex: 0 0 var(--card); margin: 0; scroll-snap-align: center; transform: scale(0.86); opacity: 0.4; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s; }
.shots figure.is-active { transform: scale(1); opacity: 1; }
.shots img { width: 100%; border-radius: 28px; border: 1px solid var(--line); pointer-events: none; user-select: none; -webkit-user-drag: none; transition: box-shadow 0.5s; }
.shots figure.is-active img { box-shadow: 0 30px 90px rgba(200, 255, 46, 0.16), 0 0 0 1px rgba(200, 255, 46, 0.25); }
.shots figcaption { margin-top: 16px; text-align: center; color: var(--muted); font-size: 16px; font-weight: 600; transition: color 0.4s; }
.shots figure.is-active figcaption { color: var(--paper); }
.slider-ui { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.nav-btn { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 50%; background: var(--lime); color: var(--ink); border: 3px solid var(--ink); box-shadow: 4px 5px 0 var(--pink); cursor: pointer; }
.nav-btn svg { width: 22px; height: 22px; }
.nav-btn:active { transform: translate(2px, 2px); box-shadow: 2px 3px 0 var(--pink); }
.dots { display: flex; align-items: center; }
.dots button { width: 26px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: #3A3A3A; transition: width 0.35s, background 0.35s; }
.dots button[aria-current="true"] { width: 48px; }
.dots button[aria-current="true"]::before { width: 34px; background: var(--lime); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split img { border-radius: 34px; border: 1px solid var(--line); width: min(420px, 100%); justify-self: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 700; font-size: 15px; }
.chips span:first-child { border-color: transparent; background: transparent; color: var(--lime); padding-left: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip img { order: 2; } }

.privacy { background: var(--paper); color: var(--ink); border-radius: 44px; margin: 0 var(--gutter); padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px); }
.privacy .kicker { color: #B0206A; }
.privacy .sub { color: #3B3B38; }
.privacy a { color: var(--ink); font-weight: 800; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.facts div { border: 3px solid var(--ink); border-radius: 24px; padding: 22px; background: #fff; box-shadow: 5px 6px 0 var(--ink); }
.facts strong { display: block; font: 22px/1.1 "Dela", sans-serif; margin-bottom: 8px; }
.facts p { margin: 0; color: #3B3B38; font-size: 16px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

.final { text-align: center; }
.final h2 { font-size: clamp(48px, 8vw, 110px); }
.final .cta { justify-content: center; margin-top: 36px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--paper); }

/* Apple Intelligence-style glow (our own gradient, not Apple's artwork) */
@property --glow-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.ai-glow { --ai: conic-gradient(from var(--glow-a), #FF9F0A, #FF3B9A, #A45CFF, #3D8BFF, #5AE0FF, #FF9F0A); position: relative; isolation: isolate; justify-self: center; width: min(420px, 100%); padding: 4px; border-radius: 38px; background: var(--ai); animation: glow-spin 7s linear infinite; }
.ai-glow::before { content: ""; position: absolute; inset: -14px; z-index: -1; border-radius: 52px; background: inherit; filter: blur(36px); opacity: 0.8; animation: glow-breathe 3.5s ease-in-out infinite alternate; }
.split .ai-glow img { width: 100%; border: 0; border-radius: 34px; }
@keyframes glow-spin { to { --glow-a: 360deg; } }
@keyframes glow-breathe { from { opacity: 0.55; inset: -8px; } to { opacity: 0.9; inset: -20px; } }
.ai-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1.5px solid transparent; background: linear-gradient(var(--ink), var(--ink)) padding-box, linear-gradient(90deg, #FF9F0A, #FF3B9A, #A45CFF, #3D8BFF) border-box; color: var(--muted); font-size: 15px; font-weight: 600; }
.ai-chip svg { width: 18px; height: 18px; }
.ai-chip { white-space: nowrap; max-width: 100%; }
@media (max-width: 420px) { .ai-chip { font-size: 13.5px; padding: 8px 12px 8px 10px; gap: 6px; } }
.ai-chip b { background: linear-gradient(90deg, #FF9F0A, #FF3B9A, #A45CFF, #3D8BFF); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.lock-tag { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; color: var(--lime); font-weight: 700; font-size: 16px; }
.lock-tag svg { width: 20px; height: 20px; color: var(--lime); }

.privacy { position: relative; }
.lock-badge { position: absolute; top: clamp(-34px, -3vw, -24px); right: clamp(20px, 6vw, 80px); display: grid; place-items: center; width: clamp(88px, 11vw, 132px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--lime); border: 4px solid var(--ink); box-shadow: 7px 9px 0 var(--pink); transform: rotate(-10deg); }
.lock-badge svg { width: 54%; height: 54%; }
.facts .fi { width: 30px; height: 30px; margin-bottom: 12px; color: var(--ink); }

/* legal + support pages */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 90px) var(--gutter) 80px; }
.doc h1 { font-size: clamp(48px, 8vw, 84px); margin-bottom: 12px; }
.doc .updated { color: var(--muted); margin: 0 0 40px; }
.doc h2 { font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; margin: 44px 0 12px; font-weight: 800; }
.doc p, .doc li { color: #D6D5CF; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc details { border: 1px solid var(--line); border-radius: 20px; background: var(--card); padding: 18px 22px; margin: 12px 0; }
.doc summary { cursor: pointer; font-weight: 800; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.doc summary::after { content: "+"; color: var(--lime); font-size: 24px; line-height: 1; }
.doc details[open] summary::after { content: "–"; }
.doc details p { margin: 12px 0 0; }
.contact { margin-top: 44px; padding: 28px; border-radius: 28px; background: var(--lime); color: var(--ink); border: 3px solid var(--ink); box-shadow: 6px 8px 0 var(--pink); }
.contact h2 { margin: 0 0 8px; }
.contact p { color: var(--ink); margin: 0; }
.contact a { color: var(--ink); font-weight: 800; }

/* ───────── motion ───────── */
:root { --ease: cubic-bezier(0.2, 0.8, 0.2, 1); --spring: cubic-bezier(0.34, 1.56, 0.64, 1); }

/* scroll reveals (only hidden when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="pop"] { transform: scale(0.6) rotate(-5deg); transition-timing-function: var(--ease), var(--spring); }
.js [data-reveal="zoom"] { transform: scale(0.9) translateY(30px); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* hero entrance */
.js .hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.js .hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; animation-delay: calc(0.15s + var(--d, 0) * 0.14s); }
.js .hero .eyebrow { animation: fade-up 0.8s var(--ease) both; }
.js .hero .lede { animation: fade-up 0.9s var(--ease) 0.45s both; }
.js .hero .cta { animation: fade-up 0.9s var(--ease) 0.6s both; }
.js .phone .device { animation: phone-in 1.2s var(--ease) 0.25s both; }
.js .phone .sticker { animation: slap 0.55s var(--spring) 1.35s both; }
@keyframes rise { from { transform: translateY(110%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(90px) rotate(7deg) scale(0.94); } }
@keyframes slap { from { opacity: 0; transform: rotate(-24deg) scale(2.2); } 60% { opacity: 1; } to { transform: rotate(-6deg) scale(1); } }

/* hero count: the grid cell is sized by the final number, so counting never reflows the headline */
.count { display: inline-grid; justify-items: end; }
.count > span { grid-area: 1 / 1; }
.count-size { visibility: hidden; }

/* floating camera-roll polaroids around the hero phone */
.floaters { position: absolute; inset: 0; pointer-events: none; }
.pol-wrap { position: absolute; will-change: translate; }
.pol { --r: 0deg; margin: 0; width: 128px; padding: 7px 7px 24px; background: #F4F3EE; border-radius: 6px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55); transform: rotate(var(--r)); animation: pol-in 0.7s var(--spring) both, float 5.5s ease-in-out infinite alternate; animation-delay: calc(0.7s + var(--d) * 0.12s), calc(1.5s + var(--d) * 0.4s); }
.pol img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.w1 { left: -150px; top: 4%; }
.w2 { left: -118px; top: 56%; }
.w3 { right: -150px; top: 30%; }
.w4 { right: -118px; bottom: -2%; }
.w5 { left: 34%; top: -70px; z-index: 0; }
.w5 .pol { width: 104px; }
@keyframes pol-in { from { opacity: 0; transform: rotate(calc(var(--r) - 25deg)) scale(0.2); } }
@keyframes float { from { transform: rotate(var(--r)) translateY(0); } to { transform: rotate(calc(var(--r) + 4deg)) translateY(-16px); } }
@media (max-width: 860px) {
  .pol { width: 86px; padding: 5px 5px 16px; }
  .w1 { left: -34px; top: 8%; }
  .w3 { right: -34px; top: 46%; }
  .w2, .w4, .w5 { display: none; }
}

/* AI scan beam over the glowing photo */
.ai-glow .beam { position: absolute; inset: 4px; z-index: 2; border-radius: 34px; overflow: hidden; pointer-events: none; }
.ai-glow .beam::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(180deg, rgba(200, 255, 46, 0) 0%, rgba(200, 255, 46, 0.22) 100%); border-bottom: 3px solid #C8FF2E; box-shadow: 0 6px 24px rgba(200, 255, 46, 0.6); transform: translateY(-100%); animation: sweep 3.6s cubic-bezier(0.45, 0, 0.3, 1) 1s infinite; }
@keyframes sweep { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(340%); } }

/* steps lift, lock clicks shut, final wobble */
.step { transition: transform 0.35s var(--spring), border-color 0.35s; }
.step:hover { transform: translateY(-6px) rotate(-1deg); border-color: #3A3A3A; }
.js .privacy .shackle { transform: translateY(-7px); transition: transform 0.4s var(--spring) 0.9s; }
.js .privacy.in .shackle { transform: none; }
.js .privacy.in .lock-badge { animation: clack 0.5s var(--spring) 1.25s; }
@keyframes clack { 40% { transform: rotate(-2deg) scale(1.12); } }
.wobble { display: inline-block; animation: wobble 2.6s ease-in-out infinite; transform-origin: 30% 80%; }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg) translateY(-4px); } 50% { transform: rotate(3deg); } 75% { transform: rotate(-2deg) translateY(-2px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker div { animation: none; }
  .btn:hover { transform: none; }
  .ai-glow, .ai-glow::before { animation: none; }
  .shots figure, .dots button::before { transition: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero h1 .line > span, .js .hero .eyebrow, .js .hero .lede, .js .hero .cta, .js .phone .device, .js .phone .sticker, .pol, .wobble, .js .privacy.in .lock-badge { animation: none; }
  .ai-glow .beam { display: none; }
  .js .privacy .shackle { transform: none; transition: none; }
}
