/* Joboris landing. The water column.
   Joboris is called Big Fish Hunt and its mark is a fish and a J, so the page is
   the water it happens in: the ground descends from a lit surface to the deep, a
   hook comes down through it, and every surface a reader touches is glass lit
   from above. The app's crystal blue is the light in the water, not a flat fill. */

:root {
  --abyss: #06192e;
  --deep: #0a3a63;
  --mid: #12508a;
  --crystal: #1c7ed6;
  --glow: #6fc2ff;

  --foam: #eaf4ff;   /* primary text, 15.9:1 on abyss */
  --mist: #a9c6e2;   /* secondary text, 10.0:1 on abyss */
  --faint: #8fb0cd;

  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --glass-line: rgba(170, 214, 255, 0.17);
  --glass-line-lit: rgba(190, 226, 255, 0.34);

  --warn: #ffcf7a;
  --ok: #7fe0b0;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --measure: 66ch;
  --page: 1160px;
  --gutter: 26px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: rgba(140,190,235,0.35) var(--abyss); }

body {
  margin: 0;
  color: var(--foam);
  background: var(--abyss);
  font-family: "Schibsted Grotesk", ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* The water itself. Fixed, so the page descends through it rather than dragging
   it along: light at the surface, the deep underneath, shafts coming down at an
   angle, and the app's own fish pattern far back in the dark. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 620px at 18% -12%, rgba(140, 205, 255, 0.30), transparent 68%),
    radial-gradient(900px 520px at 92% 4%, rgba(56, 150, 226, 0.22), transparent 66%),
    linear-gradient(180deg, #0d4275 0%, #0a3159 34%, #071f38 66%, #04121f 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: -10% -20%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background:
    /* light shafts */
    repeating-linear-gradient(101deg,
      transparent 0 90px,
      rgba(190, 230, 255, 0.055) 90px 128px,
      transparent 128px 240px),
    /* the app's fish, far off in the dark */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340' viewBox='0 0 340 340'%3E%3Cg fill='none' stroke='%23bfe4ff' stroke-opacity='0.16' stroke-width='1.1' stroke-linejoin='miter'%3E%3Cg transform='translate(40,58) scale(1.5)'%3E%3Cpath d='M9.4 3.4h8.2l4.4 5.2-4.4 5.2H9.4L5 8.6l4.4-5.2Z'/%3E%3Cpath d='M5 8.6 1 5.4v6.4l4-3.2Z'/%3E%3C/g%3E%3Cg transform='translate(216,26) scale(1.05)'%3E%3Cpath d='M9.4 3.4h8.2l4.4 5.2-4.4 5.2H9.4L5 8.6l4.4-5.2Z'/%3E%3Cpath d='M5 8.6 1 5.4v6.4l4-3.2Z'/%3E%3C/g%3E%3Cg transform='translate(128,168) scale(2.1)'%3E%3Cpath d='M9.4 3.4h8.2l4.4 5.2-4.4 5.2H9.4L5 8.6l4.4-5.2Z'/%3E%3Cpath d='M5 8.6 1 5.4v6.4l4-3.2Z'/%3E%3C/g%3E%3Cg transform='translate(268,232) scale(1.25)'%3E%3Cpath d='M9.4 3.4h8.2l4.4 5.2-4.4 5.2H9.4L5 8.6l4.4-5.2Z'/%3E%3Cpath d='M5 8.6 1 5.4v6.4l4-3.2Z'/%3E%3C/g%3E%3Cg transform='translate(28,268) scale(0.95)'%3E%3Cpath d='M9.4 3.4h8.2l4.4 5.2-4.4 5.2H9.4L5 8.6l4.4-5.2Z'/%3E%3Cpath d='M5 8.6 1 5.4v6.4l4-3.2Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 340px 340px;
}

::selection { background: rgba(111, 194, 255, 0.3); color: #fff; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #05172a; }
::-webkit-scrollbar-thumb { background: rgba(140, 190, 235, 0.3); border: 3px solid #05172a; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

a { color: var(--glow); text-decoration: none; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.028em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.8vw, 76px); letter-spacing: -0.042em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.034em; }
h3 { font-size: 18.5px; letter-spacing: -0.016em; line-height: 1.3; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.lede { color: var(--mist); font-size: 20.5px; max-width: var(--measure); }
.num { font-variant-numeric: tabular-nums; }

/* Glass ---------------------------------------------------------------------
   One material, used everywhere a reader touches the page. Lit from above by an
   inset highlight, never by a drop shadow: light in water comes from the top. */

.glass {
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 var(--glass-line-lit),
    inset 0 -30px 60px -50px rgba(0, 0, 0, 0.6),
    0 24px 60px -34px rgba(3, 16, 30, 0.9);
}

/* Nav ------------------------------------------------------------------------ */

.nav { position: sticky; top: 0; z-index: 30; background: rgba(7, 28, 50, 0.55); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--glass-line); }
.nav-in { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--foam); font-weight: 600; font-size: 17px; letter-spacing: -0.022em; }
.brand:hover { text-decoration: none; }
.brand svg { color: var(--glow); display: block; filter: drop-shadow(0 0 10px rgba(111,194,255,0.5)); }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--mist); font-size: 15px; }
.nav-links a:hover { color: var(--foam); text-decoration: none; }

/* Buttons -------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-line-lit);
  background: var(--glass-strong);
  backdrop-filter: blur(14px);
  color: var(--foam);
  font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background 160ms cubic-bezier(0.16,1,0.3,1), border-color 160ms, transform 160ms, box-shadow 160ms;
}
.btn:hover { text-decoration: none; background: rgba(255,255,255,0.14); border-color: rgba(200,232,255,0.5); }
.btn:active { transform: translateY(1px); }

/* The one lit thing on the page. The catch. */
.btn-glow {
  background: linear-gradient(180deg, #8ed2ff, #5cb6f8);
  border-color: rgba(220, 243, 255, 0.75);
  color: #06192e;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(111,194,255,0.25), 0 14px 40px -14px rgba(111, 194, 255, 0.75);
}
.btn-glow:hover { background: linear-gradient(180deg, #a3dcff, #6fc2ff); border-color: #dff2ff; }
.nav-links a.btn { color: var(--foam); }
.nav-links a.btn-glow { color: #06192e; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }

/* Hero ----------------------------------------------------------------------- */

.hero { position: relative; padding: 96px 0 0; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; align-items: center; }
.hero-note { margin-top: 16px; color: var(--faint); font-size: 14.5px; }

/* The hook, coming down through the water past the headline. Straight edges and
   a mitered corner, the same drawing rules as the mark. */
.hook { position: absolute; top: -66px; right: 6%; width: 132px; height: 460px; color: var(--glow); pointer-events: none; z-index: -1; opacity: 0.9; }
.hook path { filter: drop-shadow(0 0 16px rgba(111,194,255,0.45)); }

/* The match panel ------------------------------------------------------------ */

.panel-wrap { margin-top: 62px; }
.panel { border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 340px; }
.panel-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 17px 24px; border-bottom: 1px solid var(--glass-line); background: rgba(255,255,255,0.04); }
.panel-head .role { font-size: 17.5px; font-weight: 600; letter-spacing: -0.02em; }
.panel-head .meta { color: var(--mist); font-size: 14.5px; }
.panel-head .tag { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--faint); }

.posting { padding: 28px 28px 32px; border-right: 1px solid var(--glass-line); }
.posting h4 { margin: 0 0 13px; font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--faint); }
.posting p { font-size: 16px; color: var(--foam); }
.posting p + h4 { margin-top: 26px; }
.ev { background: rgba(127, 224, 176, 0.16); box-shadow: 0 1px 0 rgba(127, 224, 176, 0.65); border-radius: 2px; }
.gapmark { background: rgba(255, 207, 122, 0.16); box-shadow: 0 1px 0 rgba(255, 207, 122, 0.7); border-radius: 2px; }

.score { padding: 28px 26px 30px; }
.ring-wrap { display: flex; justify-content: center; }
.ring { width: 144px; height: 144px; display: block; }
.ring-figure { font-size: 42px; font-weight: 600; letter-spacing: -0.035em; fill: #fff; font-variant-numeric: tabular-nums; }
.ring-pct { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--faint); }

.dims { margin-top: 24px; border-top: 1px solid var(--glass-line); }
.dim { padding: 13px 0; border-bottom: 1px solid var(--glass-line); }
.dim-top { display: flex; align-items: baseline; gap: 10px; }
.dim-name { font-size: 13px; font-weight: 600; letter-spacing: 0.03em; color: var(--foam); }
.dim-val { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--glow); }
.dim-val.low { color: var(--warn); }
.bar { margin-top: 8px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.09); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--crystal), var(--glow)); transform-origin: left; }
.bar i.low { background: linear-gradient(90deg, #c98a2e, var(--warn)); }
.dim-why { margin-top: 8px; font-size: 13.5px; color: var(--mist); line-height: 1.5; }

.veto { margin-top: 20px; padding: 14px 15px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-line); border-radius: var(--radius-sm); font-size: 13.5px; color: var(--mist); }
.veto strong { color: var(--foam); font-weight: 600; }
.caption { margin-top: 16px; font-size: 14px; color: var(--faint); }

/* Devices -------------------------------------------------------------------- */

.devices { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: end; }
/* Grid children default to min-width:auto, which lets the board's scroller push
   its intrinsic width through the column and take the page with it. */
.devices > * { min-width: 0; max-width: 100%; }
.screen { border-radius: var(--radius); overflow: hidden; }
.chrome { display: flex; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid var(--glass-line); background: rgba(255,255,255,0.05); }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(190,225,255,0.28); display: block; }
.chrome .addr { margin-left: 12px; font-size: 11.5px; color: var(--faint); }
.screen-body { overflow-x: auto; }
.screen img, .phone img { display: block; width: 100%; height: auto; }
.phone { border-radius: 30px; padding: 9px; }
.phone-in { border-radius: 22px; overflow: hidden; border: 1px solid var(--glass-line); }
.device-cap { margin-top: 16px; font-size: 13.5px; color: var(--faint); }

/* Sections ------------------------------------------------------------------- */

section { padding: 96px 0; position: relative; }
.sec-head { max-width: var(--measure); margin-bottom: 42px; }
.sec-head p { margin-top: 16px; color: var(--mist); font-size: 18.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px 26px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--mist); font-size: 15.5px; }
.step-fig { display: block; margin-bottom: 18px; color: var(--glow); }

.proofs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.proof { padding: 28px; }
.proof h3 { margin-bottom: 11px; }
.proof p { color: var(--mist); font-size: 15.5px; }
.proof-wide { grid-column: 1 / -1; }

.snippet { margin-top: 20px; padding: 18px 20px; background: rgba(4, 18, 33, 0.42); border: 1px solid var(--glass-line); border-radius: var(--radius-sm); font-size: 15px; line-height: 1.75; color: var(--foam); }
.key { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 14px; font-size: 13px; color: var(--mist); }
.key i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.key .k-ev { background: rgba(127, 224, 176, 0.55); }
.key .k-gap { background: rgba(255, 207, 122, 0.6); }

/* Pricing -------------------------------------------------------------------- */

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 820px; }
.plan { padding: 30px; display: flex; flex-direction: column; }
.plan-pro { border-color: rgba(150, 210, 255, 0.4); box-shadow: inset 0 1px 0 rgba(210,238,255,0.5), 0 0 0 1px rgba(111,194,255,0.14), 0 34px 70px -36px rgba(111,194,255,0.42); }
.plan-name { font-size: 14px; font-weight: 600; color: var(--mist); }
.plan-price { margin-top: 14px; font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plan-price small { font-size: 15px; font-weight: 500; color: var(--mist); letter-spacing: 0; }
.plan ul { list-style: none; margin: 24px 0 28px; padding: 0; font-size: 15.5px; color: var(--mist); }
.plan li { padding: 9px 0 9px 26px; position: relative; border-top: 1px solid var(--glass-line); }
.plan li:first-child { border-top: 0; }
.plan li::before { content: ""; position: absolute; left: 3px; top: 17px; width: 10px; height: 5px; border-left: 1.8px solid var(--glow); border-bottom: 1.8px solid var(--glow); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }

/* FAQ ------------------------------------------------------------------------ */

.faq { max-width: var(--measure); }
.faq-item { border-top: 1px solid var(--glass-line); padding: 24px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--glass-line); }
.faq-item h3 { margin-bottom: 9px; }
.faq-item p { color: var(--mist); font-size: 15.5px; }

/* Footer --------------------------------------------------------------------- */

.foot { border-top: 1px solid var(--glass-line); padding: 36px 0 54px; color: var(--mist); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }
.foot a { color: var(--mist); }
.foot a:hover { color: var(--foam); }
.foot-right { margin-left: auto; display: flex; gap: 24px; flex-wrap: wrap; }

/* Legal pages ---------------------------------------------------------------- */

.doc { padding: 60px 0 90px; }
.doc-in { max-width: var(--measure); }
.doc h1 { font-size: clamp(32px, 4.6vw, 46px); }
.doc .updated { color: var(--faint); font-size: 14px; margin-top: 15px; }
.doc h2 { font-size: 22px; margin: 46px 0 14px; }
.doc p, .doc li { color: var(--mist); }
.doc ul { padding-left: 20px; margin: 0 0 15px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--foam); font-weight: 600; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 22px; font-size: 15.5px; }
.doc th, .doc td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--glass-line); vertical-align: top; }
.doc th { color: var(--foam); font-weight: 600; width: 33%; }
.doc td { color: var(--mist); }

/* Motion: one moment. The hook drops, the panel surfaces under it, the ring
   sweeps and the dimensions fill. Everything else is still water. */

@media (prefers-reduced-motion: no-preference) {
  .hook path { stroke-dasharray: 620; stroke-dashoffset: 620; animation: cast 1100ms cubic-bezier(0.16,1,0.3,1) 120ms both; }
  .panel { animation: surface 820ms cubic-bezier(0.16, 1, 0.3, 1) 420ms both; }
  .ring .fill { stroke-dasharray: 314; stroke-dashoffset: 314; animation: sweep 940ms cubic-bezier(0.16,1,0.3,1) 900ms both; }
  .bar i { animation: grow 600ms cubic-bezier(0.16,1,0.3,1) both; animation-delay: calc(1180ms + var(--i, 0) * 80ms); }
  @keyframes cast { to { stroke-dashoffset: 0; } }
  @keyframes surface { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes sweep { to { stroke-dashoffset: 41; } }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Responsive ----------------------------------------------------------------- */

@media (max-width: 1040px) {
  .hook { display: none; }
}

@media (max-width: 980px) {
  .panel { grid-template-columns: 1fr; }
  .posting { border-right: 0; border-bottom: 1px solid var(--glass-line); }
  .devices { grid-template-columns: 1fr; justify-items: start; }
  .phone { max-width: 300px; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .proofs { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .hero { padding: 60px 0 0; }
  section { padding: 62px 0; }
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
  .panel-head { flex-wrap: wrap; gap: 6px 12px; padding: 15px 18px; }
  .panel-head .tag { margin-left: 0; flex-basis: 100%; }
  .posting, .score, .step, .proof, .plan { padding: 22px 18px; }
  .chrome .addr { display: none; }
  /* A desktop capture scaled into a phone column is an unreadable smudge, so the
     board keeps a legible width inside its own scroller. */
  .screen-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .screen-body img { width: 820px; max-width: none; }
}
