@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --ink: #111112;
  --ink-2: #55565a;
  --line: #e4e4e1;
  --page: #ffffff;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.top .logo img { height: 36px; width: auto; }
.top nav { display: flex; gap: clamp(18px, 3vw, 36px); font-size: 16px; font-weight: 500; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Opening statement */
.opening { padding-top: clamp(56px, 10vw, 136px); padding-bottom: clamp(48px, 7vw, 96px); }
.opening h1 {
  margin: 0;
  font-size: clamp(44px, 8.4vw, 124px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.opening p {
  margin: clamp(22px, 3vw, 36px) 0 0;
  font-size: clamp(19px, 2vw, 25px);
  color: var(--ink-2);
  max-width: 30em;
}
.opening p a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* Apps */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.app {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  overflow: hidden;
  min-height: 780px;
  border-radius: 32px;
  padding: clamp(26px, 3.2vw, 44px);
  padding-bottom: 0;
  text-decoration: none;
}
.app .name { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; }
.app h2 { margin: 26px 0 0; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.06; letter-spacing: -0.025em; max-width: 11em; }
.app p { margin: 16px 0 0; max-width: 25em; font-size: 17px; line-height: 1.5; }
.app .go {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 24px 0 48px; padding: 11px 18px 11px 20px;
  border-radius: 999px; font-size: 16px; font-weight: 700;
  transition: transform .2s ease;
}
.app .go svg { width: 13px; height: 13px; transition: transform .2s ease; }
.app:hover .go svg { transform: translate(2px, -2px); }
.app .device {
  position: relative; flex: none; align-self: center;
  width: 286px; margin: auto 0 -170px;
  padding: 10px; border-radius: 48px;
  background: #17151f;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.app:hover .device { transform: translateY(-14px); }
.app .device .screen { border-radius: 38px; overflow: hidden; aspect-ratio: 280 / 608; }
.app .device .screen img { width: 100%; height: 100%; object-fit: cover; }

/* Odo keeps its own look */
.odo {
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  color: #fff;
  background: linear-gradient(180deg, #3E5873 0%, #7F76A6 55%, #E3A894 100%);
}
.odo .name img { width: 40px; height: 40px; border-radius: 10px; }
.odo h2 { font-weight: 800; }
.odo p { color: rgba(255,255,255,.88); }
.odo .go { background: #fff; color: #34304F; }
.odo .mascot { position: absolute; left: calc(50% - 232px); bottom: 26px; width: 128px; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.odo:hover .mascot { transform: translateY(-6px) rotate(-4deg); }

/* RoamFX keeps its own look */
.roam {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #fff;
  background: #123524;
}
.rfx-logo { display: inline-flex; align-items: center; font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.rfx-logo svg { width: .62em; height: .62em; margin: .1em .03em 0; }
.rfx-logo .fx { color: #4bc18f; }
.roam h2 { font-weight: 500; }
.roam h2 b { font-weight: 700; color: #6fd9a6; }
.roam p { color: rgba(255,255,255,.8); }
.roam .go { background: #6fd9a6; color: #0d2a1c; }

/* Lower page */
.row { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 80px); padding-top: clamp(64px, 9vw, 128px); }
.row h2 { margin: 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.about p { margin: 0; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.38; letter-spacing: -0.015em; max-width: 27em; }
.about p + p { margin-top: 1em; }

.help ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.help li { display: grid; grid-template-columns: 7.5em 1fr auto; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.help li strong { font-size: 20px; font-weight: 600; }
.help li span { color: var(--ink-2); font-size: 17px; }
.help li div { display: flex; gap: 22px; font-size: 16px; font-weight: 500; }
.help li div a { text-underline-offset: 4px; }
.help .else { margin: 22px 0 0; color: var(--ink-2); font-size: 17px; }
.help .else a { color: var(--ink); text-underline-offset: 4px; }

footer { margin-top: clamp(72px, 10vw, 144px); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 40px; justify-content: space-between; padding-top: 26px; padding-bottom: 34px; font-size: 15px; color: var(--ink-2); }
footer a { text-underline-offset: 3px; }

a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.app:focus-visible { outline-offset: 4px; border-radius: 32px; }

@media (max-width: 900px) {
  .apps { grid-template-columns: 1fr; }
  .app { min-height: 0; }
  .row { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .top .logo img { height: 30px; }
  .top nav { font-size: 15px; }
  .app { border-radius: 24px; }
  .app .device { width: 250px; border-radius: 42px; padding: 9px; margin-bottom: -150px; }
  .app .device .screen { border-radius: 33px; }
  .odo .mascot { left: 8px; width: 96px; bottom: 16px; }
  .help li { grid-template-columns: 1fr auto; }
  .help li span { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .app .device, .odo .mascot, .app .go svg { transition: none; }
}

/* Privacy and terms pages */
.legal { max-width: 46em; padding-top: clamp(40px, 7vw, 96px); }
.legal h1 { margin: 0; font-size: clamp(38px, 5.4vw, 68px); font-weight: 600; line-height: 1.02; letter-spacing: -0.04em; }
.legal .updated { margin: 16px 0 0; color: var(--ink-2); font-size: 16px; }
.legal h2 { margin: 2.2em 0 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.legal p, .legal ul { margin: .7em 0 0; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: .35em; }
.legal a { text-underline-offset: 3px; }
footer nav { display: flex; gap: 22px; }
