/* The home page only. One fluid page: a phone column under 900px, two columns above. Dark only. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #16101b;
  --ink: #f7f3fa;
  --t2: #cfc8db;
  --t3: #a79fb5;
  --t4: #8d8599;
  --panel: #201829;
  --line: #322843;
  --pink: #ff4fa3;
  --link: #ff7ab8;
  --cta: linear-gradient(100deg, #d6307f, #b83fc0 52%, #7744e0);
  --disp: "Schibsted Grotesk", system-ui, sans-serif;
  color-scheme: dark;
  background: var(--bg);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--disp);
  font-size: 16px;
  line-height: 1.5;
}

a { color: var(--ink); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }

/* --- brand (footer) ---------------------------------------------------------------------- */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 9px; }

/* --- hero --------------------------------------------------------------------------------- */

.hero {
  padding-block: 0 48px;
  background:
    radial-gradient(90% 70% at 80% 0%, #5a2a5e 0%, rgba(90, 42, 94, 0) 62%),
    linear-gradient(180deg, #2a1d3c 0%, var(--bg) 100%);
}
.hgrid { display: grid; gap: 36px; padding-top: 28px; }
.hgrid > * { min-width: 0; }

h1 {
  margin: 0;
  font-size: clamp(44px, 9vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 850;
  text-wrap: balance;
}
h1 em, h2 em, .qs em { font-style: normal; color: var(--pink); }
/* The hero asks, then answers on its own line. */
.hero h1 em { display: block; }

.sub { margin: 16px 0 0; font-size: clamp(17px, 2.2vw, 20px); color: var(--t2); max-width: 40ch; }

.field {
  margin-top: 26px;
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 62px;
  padding: 0 7px 0 18px;
  border-radius: 20px;
  background: #211a2c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 40px -18px rgba(255, 79, 163, 0.45);
  cursor: text;
}
.field:has(input:focus-visible) { outline: 2px solid var(--link); outline-offset: 3px; }
.field b { color: var(--t3); font-size: 19px; font-weight: 600; }
.field input {
  flex: 1;
  min-width: 0;
  width: 0;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  font-weight: 600;
}
.field input::placeholder { color: var(--t3); opacity: 1; }
.go {
  height: 48px;
  padding: 0 22px;
  border-radius: 15px;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  background: var(--cta);
  white-space: nowrap;
  cursor: pointer;
}
.go[aria-busy="true"] { cursor: progress; }

.alt {
  display: inline-block;
  margin: 7px 0 -11px;
  padding-block: 11px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--t2);
  text-underline-offset: 4px;
}
.alt:hover { color: var(--ink); }

.shot { position: relative; justify-self: center; width: min(300px, 78vw); }
/* The phone has no bottom: it fades into the night instead of ending on an edge. */
.phone {
  padding: 9px 9px 0;
  border-radius: 38px 38px 0 0;
  background: #0b080e;
  border: 1px solid #3a2f4a;
  border-bottom: 0;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.04);
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 30px 30px 0 0; }

/* --- the four questions ------------------------------------------------------------------ */

.qs { padding-block: 56px 8px; }
.qs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.qs li {
  font-size: 27px;
  line-height: 1.04;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.qs a { display: block; color: var(--ink); text-decoration: none; }
.qs a:focus-visible { outline-offset: 6px; border-radius: 6px; }
.qs a span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--t3);
  text-wrap: pretty;
}
.qs a span svg { display: inline-block; vertical-align: -2px; margin-left: 5px; color: var(--link); transition: transform 0.2s; }
.qs a:hover span svg { transform: translateY(2px); }

/* --- sections ---------------------------------------------------------------------------- */

.glow { position: relative; height: 0; max-width: 820px; margin: 72px auto 0; }
.glow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(560px, 90%);
  height: 120px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 79, 163, 0.11), rgba(163, 107, 255, 0.05) 55%, rgba(0, 0, 0, 0));
  pointer-events: none;
}

.sec { padding-top: 72px; scroll-margin-top: 24px; }
.row { display: grid; gap: 28px; align-items: center; }
.row > * { min-width: 0; }
h2 {
  margin: 0;
  font-size: clamp(34px, 5.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 850;
  text-wrap: balance;
}
.lead { margin: 14px 0 0; font-size: 18px; color: var(--t2); max-width: 34ch; text-wrap: pretty; }
.sec .alt { margin-top: 3px; }

.crop {
  justify-self: center;
  width: 100%;
  max-width: 380px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.9);
}
.crop img { display: block; width: 100%; height: auto; max-height: 600px; object-fit: cover; object-position: top; }
.crop.story { max-width: 300px; }
.crop.story img { max-height: none; }

.play { display: inline-block; margin: 12px 0 0 -10px; }
.play img { display: block; height: 60px; width: auto; }
.is-ios .android-only { display: none; }

.alerts-pics { justify-self: center; width: 100%; max-width: 460px; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--t3); margin: 20px 0 8px; }
.pic { border-radius: 28px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.pic img { display: block; width: 100%; height: auto; }

.inbox { border-radius: 18px; overflow: hidden; background: #fff; color: #1a1322; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.ibar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #6d6480;
  background: #f3f0f7;
  border-bottom: 1px solid #e6e1ee;
}
.irow { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; }
.irow img { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.itx { min-width: 0; flex: 1; }
.itx p { margin: 0; font-size: 14.5px; line-height: 1.35; }
.itx p:first-child { display: flex; justify-content: space-between; gap: 8px; }
.itx small { color: #6d6480; font-size: 12.5px; }
.isub { font-weight: 700; }
.iex { color: #5f566e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.jr {
  justify-self: center;
  width: 100%;
  max-width: 440px;
  padding: 18px 20px 14px;
  border-radius: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.jh { font-size: 20px; font-weight: 850; letter-spacing: -0.01em; }
.jd { font-size: 15px; font-weight: 800; margin: 16px 0 10px; color: var(--t2); }
.je { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.je:last-child { border-bottom: 0; padding-bottom: 4px; }
.ja { position: relative; flex: none; width: 56px; height: 62px; }
.ja img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--pink); padding: 2px; background: var(--panel); }
.ja .gm { position: absolute; left: 21px; top: 50px; width: 12px; height: 14px; }
.ja.out img { border-color: #5a5266; filter: grayscale(1) brightness(0.7); }
.jt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jt b { font-size: 17px; }
.jt small { color: var(--t3); font-size: 14px; }
.pill {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--t2);
}
.pill.red { color: #ff7a7a; border-color: rgba(255, 122, 122, 0.5); background: rgba(255, 90, 90, 0.08); }
.je time { font-size: 14px; color: var(--t3); }

.get { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 22px; }
/* The badge PNG carries a transparent margin: at 72px its black plate is the button's 48px. */
.get .play { margin: -12px -12px -12px -14px; }
.get .play img { height: 72px; }
.web-go {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid #5a4870;
  color: var(--ink);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
}
.web-go:hover { background: #2a2036; }

.devices { position: relative; padding: 0 13% 8% 0; }
.devices .mini {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
  border-radius: 22px;
  overflow: hidden;
  border: 5px solid #0b080e;
  outline: 1px solid #3a2f4a;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}
.devices .mini img { display: block; width: 100%; height: auto; }

.browser {
  justify-self: center;
  width: 100%;
  max-width: 760px;
  border-radius: 18px;
  overflow: hidden;
  background: #0b080e;
  border: 1px solid #3a2f4a;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}
.browser .bar { display: flex; gap: 6px; align-items: center; height: 30px; padding: 0 12px; background: #1d1626; border-bottom: 1px solid #2c2338; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a2f4a; }
.browser .bar span { margin-left: 10px; font-size: 11.5px; color: var(--t4); background: #140f1a; border-radius: 7px; padding: 3px 10px; }
.browser img { display: block; width: 100%; height: auto; }

/* --- questions and answers --------------------------------------------------------------- */

.faqwrap { margin-top: 24px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
summary h3 { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 700; }
summary span { flex: none; width: 1ch; text-align: center; color: var(--t3); font-weight: 700; }
summary span::before { content: "+"; }
details[open] summary span::before { content: "\2212"; }
details p { margin: 0 0 18px; color: var(--t2); font-size: 15.5px; max-width: 68ch; }
details a { color: var(--link); text-underline-offset: 3px; }

/* --- last call and footer ---------------------------------------------------------------- */

.end { margin-top: 80px; padding-block: 56px; background: linear-gradient(180deg, #2a1d3c, var(--bg)); }
.end h2 { margin: 0; }
.end .field { margin-top: 28px; }

.foot { padding-block: 44px 40px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--t4); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.fgrid > * { min-width: 0; }
.fbrand { grid-column: 1 / -1; }
.fbrand p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--t2); max-width: 36ch; }
.foot h3 { margin: 0; font-size: 14px; font-weight: 800; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; }
.foot ul a {
  display: inline-block;
  min-width: 44px;
  padding-block: 12px;
  color: var(--t2);
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}
.foot ul a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.fnote { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--t4); }

@media (max-width: 389px) {
  .go { padding: 0 16px; }
  .field { padding-left: 14px; }
  .field input { font-size: 16px; }
}

@media (min-width: 900px) {
  .wrap { padding-inline: 40px; }
  .hgrid { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding-top: 40px; }
  h1 { font-size: 64px; }
  .shot { width: 330px; }
  .qs li { font-size: clamp(30px, 5.4vw, 46px); }
  .qs ul { grid-template-columns: 1fr 1fr; gap: 34px 56px; }
  .row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .row.flip > :first-child { order: 2; }
  .row.stack { grid-template-columns: 1fr; gap: 36px; }
  .row.devs { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .faqcols { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 64px; align-items: start; }
  .end .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .end .field { margin-top: 0; }
  .fgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 40px; }
  .fbrand { display: flex; align-items: center; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
  .fbrand p { margin: 0; max-width: none; }
  /* A mouse needs no 44px rows: the footer keeps its tight lists. */
  .foot h3 { margin-bottom: 12px; }
  .foot ul { gap: 10px; }
  .foot ul a { padding-block: 0; line-height: 1.35; }
}

/* The submitted field is the one shared element with the web app's portrait. The page opts in
   (@view-transition) only together with the app: alone, it aborts the app's first transition. */
.field.is-leaving { view-transition-name: lookup; }

/* type=search keeps password managers off the username field; it keeps no search chrome. */
.field input { appearance: none; }
.field input::-webkit-search-cancel-button,
.field input::-webkit-search-decoration { appearance: none; }

/* The language picker: real links Google follows, opening upwards, no script needed. */
.fbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.fbar > p { margin: 0; padding: 0; border: 0; flex: 1 1 320px; }
.lang { position: relative; flex: none; border: 0; }
.lang summary { list-style: none; display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; min-height: 44px; padding: 0 14px 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--t2, var(--tx-2)); font-size: 14px; font-weight: 600; cursor: pointer; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary span { width: auto; color: inherit; font-weight: 600; }
.lang summary span::before, .lang[open] summary span::before { content: none; }
.lang summary:hover, .lang[open] summary { color: var(--ink, var(--tx)); border-color: #4a3d5e; }
.lang-i, .lang-c { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lang-c { width: 16px; height: 16px; transition: transform .2s; transform: rotate(180deg); }
.lang[open] .lang-c { transform: none; }
.lang ul { position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 5; min-width: 220px; margin: 0; padding: 6px; list-style: none; display: grid; gap: 0; background: #2a2036; border: 1px solid #44375a; border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.lang ul a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 12px; border-radius: 10px; color: #ddd5e8; text-decoration: none; font-size: 15px; line-height: 1.2; }
.lang ul a:hover { background: rgba(255,255,255,.06); color: var(--ink, var(--tx)); text-decoration: none; }
.lang ul a[aria-current] { color: var(--ink, var(--tx)); font-weight: 700; }
.lang ul a[aria-current]::after { content: ""; width: 7px; height: 12px; margin-right: 4px; border: solid var(--pink); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
@media (max-width: 899px) { .lang { order: -1; } }
@media (min-width: 900px) { .lang ul { left: auto; right: 0; } }

/* The header lines up with the home's text column. */
.site-head .site-head-row { max-width: 1180px; padding-inline: 20px; }
@media (max-width: 760px) { .site-head .site-tabs { padding-inline: 20px; } }
@media (min-width: 900px) { .site-head .site-head-row { padding-inline: 40px; } }
