/* Redline public pages (landing, card). Tokens copied from web/src/styles.css (:root, dark). One font file: the
   wordmark face the app already ships. Everything else is the system face, like the app. */
@font-face { font-family: "Schibsted Grotesk"; font-weight: 500 700; font-style: normal; font-display: swap; src: url("fonts/SchibstedGrotesk-500-700.woff") format("woff"); }
:root {
  --base: #0B0C0F; --ink: #F4F5F7; --ink-2: rgba(244,245,247,.78); --ink-3: rgba(244,245,247,.62); --ink-4: rgba(244,245,247,.40);
  --glass: rgba(255,255,255,.07); --glass-2: rgba(255,255,255,.12); --hair: rgba(255,255,255,.08); --spec: rgba(255,255,255,.16);
  --sig: #F03B48; --sig-rgb: 240,59,72; --sig-text: #FF8A92; --prim-bg: rgba(250,250,252,.92); --prim-ink: #14161A;
  --disp: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --gutter: 20px; --max: 1280px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--base); }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 400 16px/1.5 var(--sans); letter-spacing: -.006em;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(58,84,190,.34), rgba(44,60,150,.12) 45%, rgba(11,12,15,0) 75%),
    var(--base);
  background-repeat: no-repeat;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sig-text); outline-offset: 3px; border-radius: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* the lockup: the mark, then "Red|ine" with the l as the line (BRAND §2.3) */
.lockup { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font: 600 22px/1 var(--disp); letter-spacing: -.03em; }
.lockup svg { width: 22px; height: 22px; flex: none; }
.wm { display: inline-flex; align-items: baseline; }
.wm i { display: inline-block; width: .105em; height: 1.02em; margin: 0 .012em 0 .02em; border-radius: .05em; background: var(--sig); transform: translateY(.19em); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 30px; border: 0;
  font: 600 15px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--prim-bg); color: var(--prim-ink); transition: transform 140ms var(--ease), background-color 140ms;
}
.btn:active { transform: scale(.97); }
.btn.quiet { background: var(--glass-2); color: var(--ink); box-shadow: inset 0 1px 0 var(--spec), inset 0 0 0 1px var(--hair); }
@media (hover: hover) { .btn:hover { background: #fff; } .btn.quiet:hover { background: rgba(255,255,255,.18); } }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---- landing ---- */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 8px; }
.top .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.hero { padding-top: clamp(40px, 9vw, 96px); padding-bottom: clamp(32px, 6vw, 56px); }
h1 { margin: 0; font: 600 clamp(36px, 8.4vw, 72px)/1.04 var(--disp); letter-spacing: -.03em; max-width: 15ch; text-wrap: balance; }
.sub { margin: 18px 0 0; max-width: 34em; font-size: clamp(17px, 2.4vw, 21px); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }

.steps-h { margin: 0 0 14px; font: 600 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.steps { list-style: none; margin: 0; padding: 0 var(--gutter) 6px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.step { flex: 0 0 min(78vw, 320px); scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 16px; background: var(--glass); box-shadow: inset 0 1px 0 var(--spec), inset 0 0 0 1px var(--hair); overflow: hidden; }
.step .shot { display: block; width: 100%; height: auto; aspect-ratio: 720 / 516; object-fit: cover; object-position: top left; background: #12141a; border-bottom: 1px solid var(--hair); }
.step .txt { padding: 14px 16px 18px; }
.step .n { display: block; font: 600 11px/1 var(--sans); letter-spacing: .06em; color: var(--sig-text); font-variant-numeric: tabular-nums; }
.step h3 { margin: 8px 0 6px; font: 600 19px/1.2 var(--disp); letter-spacing: -.02em; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.hint { margin: 10px var(--gutter) 0; font-size: 13px; color: var(--ink-4); }

.who { padding-top: clamp(48px, 8vw, 88px); }
.who h2, .cta h2 { margin: 0 0 12px; font: 600 clamp(24px, 4vw, 32px)/1.15 var(--disp); letter-spacing: -.025em; }
.who p { margin: 0; max-width: 36em; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.cta { padding-top: clamp(40px, 7vw, 72px); padding-bottom: clamp(40px, 7vw, 72px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cta .btn { min-height: 48px; }
.demo-btn { display: none; }
.demo-note { margin: 0; font-size: 14px; color: var(--ink-3); }
@media (min-width: 1024px) {
  .demo-btn { display: inline-flex; }
  .demo-note { display: none; }
  .steps { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); overflow: visible; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .step { flex: none; }
  .step .txt { padding: 12px 14px 16px; }
  .step h3 { font-size: 17px; }
  .step p { font-size: 13.5px; }
  .hint { display: none; }
}
footer.wrap { border-top: 1px solid var(--hair); padding-top: 22px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); font-size: 13.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
footer a { color: var(--ink-2); }

/* ---- card ---- */
body.card { display: flex; flex-direction: column; min-height: 100dvh; }
.card-in { flex: 1; width: 100%; max-width: 460px; margin: 0 auto; padding: calc(36px + env(safe-area-inset-top)) var(--gutter) calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: center; }
.card-in h1 { font-size: clamp(34px, 10vw, 46px); max-width: none; }
.card-in .role { margin: 10px 0 0; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.card-btns { display: grid; gap: 12px; margin: 34px 0 0; }
.card-btns .btn { min-height: 62px; justify-content: space-between; padding: 0 22px; font-size: 17px; border-radius: 22px; }
.card-btns .btn small { font: 400 13px/1 var(--sans); opacity: .62; }
.card-in .lockup { margin-top: 36px; align-self: flex-start; font-size: 18px; opacity: .9; }
.card-in .lockup svg { width: 18px; height: 18px; }
