/* Pocketzaar · Azul — site styles */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/schibsted-grotesk-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;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/schibsted-grotesk-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;
}

:root {
  --azul-50: #F2F5FB; --azul-100: #E3EAF7; --azul-200: #C8D5F0; --azul-300: #9DB3E4;
  --azul-500: #4067C9; --azul-600: #1F47B8; --azul-700: #193A96; --azul-900: #0F1A33;
  --ink: #0F1A33; --ink-2: #16234A; --line: #DCE3F1;
  --slate-600: #4A5672; --slate-700: #33405E;
  --success: #1E7F55; --danger: #C4312B;
  --white: #FFFFFF;
  --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 24px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 700; }
p { margin: 0; }
a { color: var(--azul-600); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--azul-300); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-md); text-decoration: none;
}
.skip:focus { top: 12px; color: var(--white); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-md); border: 1px solid transparent;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--azul-600); color: var(--white); }
.btn-primary:hover { background: var(--azul-700); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--azul-200); }
.btn-secondary:hover { border-color: var(--azul-600); color: var(--ink); }
.btn-white { background: var(--white); color: var(--azul-600); font-weight: 700; }
.btn-white:hover { background: var(--azul-50); color: var(--azul-700); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-btn:hover { text-decoration: underline; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-600); }
.badge {
  display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 14px;
  background: var(--azul-50); color: var(--azul-700); font-size: 13px; font-weight: 600; white-space: nowrap;
}
.badge-soft { background: var(--azul-100); color: var(--ink); }

/* ── Header ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { flex-shrink: 0; display: flex; }
.brand .logo { height: 24px; width: auto; }
.logo-ink .logo-mark { fill: #1F47B8; } .logo-ink .logo-word { fill: #0F1A33; }
.logo-white .logo-mark, .logo-white .logo-word { fill: #fff; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--slate-700); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--azul-600); }
.bar-actions { display: flex; align-items: center; gap: 10px; }

.lang { position: relative; }
.lang summary {
  list-style: none; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px;
  border-radius: var(--r-md); cursor: pointer; font-weight: 600; font-size: 14px; color: var(--slate-700);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--azul-50); }
.lang[open] summary .ico:last-child { transform: rotate(180deg); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 180px;
  list-style: none; margin: 0; padding: 6px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 12px 32px rgba(15, 26, 51, .12);
}
.lang li a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.lang li a:hover { background: var(--azul-50); }
.lang li a[aria-current="true"] { font-weight: 700; color: var(--azul-600); }

.signin { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: var(--r-md); color: var(--slate-700); font-weight: 600; font-size: 14px; text-decoration: none; }
.signin:hover { background: var(--azul-50); color: var(--ink); }

@media (max-width: 960px) { .nav { display: none; } }
@media (max-width: 560px) { .signin span { display: none; } }
@media (max-width: 420px) {
  .brand .logo { height: 20px; }
  .bar-actions .btn-sm { padding: 0 12px; font-size: 14px; }
  .bar-actions { gap: 4px; }
  .signin, .lang summary { padding: 0 8px; }
  .lang summary span { display: none; }
}

/* ── Hero ────────────────────────────────────────────── */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 6vw, 80px); }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 64px); }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.045em; line-height: 1.02; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--slate-700); max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-wall {
  flex: 1 1 360px; min-width: 0; max-width: 480px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(16px, 3vw, 28px); background: var(--azul-50); border-radius: 28px; color: var(--azul-600);
}
.tile { width: 100%; height: auto; }
.tile.r90 { transform: rotate(90deg); }
.tile.r180 { transform: rotate(180deg); }
.tile.r270 { transform: rotate(270deg); }
.tile-next {
  margin: 6%; border-radius: var(--r-lg); background: var(--azul-600); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  font-size: clamp(11px, 1.2vw, 13px); font-weight: 600; line-height: 1.2; padding: 6px;
}
@media (prefers-reduced-motion: no-preference) {
  .tile-next { animation: pulse 3.2s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
}

/* ── Sections ────────────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-surface { background: var(--azul-50); }
.section-ink { background: var(--ink); color: var(--white); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 46rem; }
.section h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; }
.section-lead { font-size: 18px; line-height: 1.6; color: var(--slate-700); }

.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.app-card {
  display: flex; flex-direction: column; gap: 14px; padding: 24px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.app-card:hover { border-color: var(--azul-200); box-shadow: 0 10px 30px rgba(15, 26, 51, .06); }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-head > div { flex: 1; min-width: 0; }
.app-head h3 { font-size: 19px; letter-spacing: -0.01em; }
.app-cat { font-size: 14px; color: var(--slate-600); margin-top: 2px; }
.app-icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 13px;
  background: var(--azul-600); color: var(--white); display: flex; align-items: center; justify-content: center;
}
.app-desc { color: var(--slate-700); font-size: 16px; line-height: 1.55; flex-grow: 1; }

.steps {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px;
}
.steps li { background: var(--ink-2); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.steps h3 { font-size: 22px; font-weight: 600; }
.steps p { color: var(--azul-200); }
.step-n {
  width: 40px; height: 40px; border-radius: var(--r-md); background: var(--azul-600);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px;
}

.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); align-items: center; }
.story { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.makers {
  flex: 1 1 380px; min-width: 0; background: var(--azul-50); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 36px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.makers h3 { font-size: 26px; letter-spacing: -0.02em; }
.makers p { color: var(--slate-700); }

/* ── Early access ────────────────────────────────────── */
.ea-grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: flex-start; }
.ea-intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.next-title { font-size: 18px; margin-top: 12px; }
.next-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.next-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--slate-700); }
.next-list .ico { color: var(--azul-600); flex-shrink: 0; margin-top: 3px; }
.ea-card {
  flex: 1.4 1 480px; min-width: 0; background: var(--white); border-radius: var(--r-xl);
  padding: clamp(20px, 4vw, 40px); box-shadow: 0 1px 0 var(--line), 0 20px 50px rgba(15, 26, 51, .08);
}
.ea-form { display: flex; flex-direction: column; gap: 18px; }
.row-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 15px; font-weight: 600; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--azul-200); border-radius: var(--r-md);
  font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--white);
}
.field textarea { resize: vertical; min-height: 112px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate-600) 50%), linear-gradient(135deg, var(--slate-600) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--azul-300); outline-offset: 1px; border-color: var(--azul-600); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14px; font-weight: 500; }
.hint { font-weight: 400; color: var(--slate-600); font-size: 14px; margin-left: 4px; }
.chips legend { margin-bottom: 10px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 22px;
  background: var(--azul-50); border: 1px solid var(--azul-100); font-size: 15px; font-weight: 600; color: var(--ink);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.chip input:hover + span { border-color: var(--azul-300); }
.chip input:checked + span { background: var(--azul-600); border-color: var(--azul-600); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--azul-300); outline-offset: 2px; }
.consent-row { display: flex; gap: 12px; align-items: flex-start; }
.consent-row input { width: 22px; height: 22px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--azul-600); }
.consent-row label { font-weight: 400; font-size: 15px; line-height: 1.5; color: var(--slate-700); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-alert {
  padding: 12px 16px; border-radius: var(--r-md); background: #FCEDEC; color: #8F231F;
  border: 1px solid #F2C4C1; font-weight: 500;
}
.ea-success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px 0; }
.ea-success h3 { font-size: 28px; letter-spacing: -0.02em; }
.ea-success h3:focus { outline: none; }
.ea-success p { color: var(--slate-700); }
.success-icon {
  width: 56px; height: 56px; border-radius: 16px; background: #E4F3EC; color: var(--success);
  display: flex; align-items: center; justify-content: center;
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; font-size: 19px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { flex-shrink: 0; color: var(--azul-600); transition: transform .2s ease; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding: 0 0 20px; color: var(--slate-700); max-width: 44rem; }

/* ── CTA band ────────────────────────────────────────── */
.cta-band { background: var(--azul-600); color: var(--white); overflow: hidden; }
.cta-inner { padding-top: clamp(64px, 8vw, 88px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.cta-inner h2 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); letter-spacing: -0.035em; }
.cta-inner p { color: var(--azul-100); font-size: 19px; max-width: 30rem; }
.cta-tiles { display: flex; justify-content: center; margin-top: 64px; opacity: .22; color: var(--white); }
.cta-tiles .tile { width: 120px; flex-shrink: 0; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--azul-200); padding: 56px 0 36px; font-size: 15px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 22rem; }
.foot-brand .logo { width: 190px; height: auto; }
.foot-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: var(--azul-200); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.foot-links a:hover { color: var(--white); text-decoration: underline; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid #22305A; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; }

/* ── Prose / privacy / 404 ───────────────────────────── */
.prose h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); letter-spacing: -0.035em; margin-bottom: 8px; }
.prose h2 { font-size: 22px; margin: 32px 0 8px; letter-spacing: -0.01em; }
.prose p { color: var(--slate-700); }
.muted { color: var(--slate-600) !important; font-size: 15px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.nf-tile { width: 96px; color: var(--azul-600); }
