@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: "Newsreader"; src: url("/fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --paper: #f6f8f9;
  --ink: #142033;
  --ink-soft: #46546a;
  --teal: #0a5c69;
  --teal-deep: #08434d;
  --mist: #e3ebee;
  --line: #c3d0d6;
  --amber: #e39b2d;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--sans); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--teal); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; font-family: var(--sans); z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
header.site { position: sticky; top: 0; z-index: 5; background: rgba(246, 248, 249, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--sans); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.mark { width: 34px; height: 34px; color: var(--teal); }
.mark-dot { fill: var(--amber); }
nav { display: flex; align-items: center; gap: 28px; font-family: var(--sans); font-size: 16px; }
nav a { color: var(--ink); text-decoration: none; }
nav a:hover { color: var(--teal); }
.nav-cta { border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 16px; }
.nav-cta:hover { background: var(--ink); color: #fff !important; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 17px; text-decoration: none; padding: 14px 24px; border-radius: 10px; }
.btn.primary { background: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-deep); }
.btn.quiet { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.quiet:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(40px, 5vw, 62px); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; max-width: 13ch; }
.lede { margin-top: 26px; font-size: 21px; line-height: 1.55; color: var(--ink-soft); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-diagram { margin: 0; }
.hero-diagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.wires use { fill: none; stroke: var(--line); stroke-width: 2; }
.node rect { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.node text, .hub text { font-family: var(--sans); font-size: 15px; font-weight: 600; text-anchor: middle; fill: var(--ink); }
.hub rect { fill: var(--teal); }
.hub text { fill: #fff; font-size: 16px; }
.packets circle { fill: var(--amber); stroke: var(--paper); stroke-width: 2; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: 26px; padding-bottom: 26px; gap: 24px; }
.facts strong { display: block; font-family: var(--sans); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.facts span { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); }

/* Sections */
.block { padding-top: 104px; }
.block-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 44px; }
.block-head h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.block-head p { color: var(--ink-soft); max-width: 32em; }

.services { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.services article { border-top: 2px solid var(--ink); padding: 22px 0 40px; }
.services h3 { font-size: 23px; font-weight: 700; margin-bottom: 10px; }
.services p { color: var(--ink-soft); max-width: 30em; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 2px; background: var(--line); }
.steps li { position: relative; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); border: 2px solid var(--teal); color: var(--teal); font-family: var(--sans); font-weight: 700; font-size: 16px; position: relative; margin-bottom: 18px; }
.steps h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: 17px; }

/* Product */
.product-band { margin-top: 112px; padding: 96px 0 104px; background: var(--ink); color: #fff; }
.product-band .block-head p { color: #b9c4d3; }
.product { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.product-copy h3 { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.product-copy > p { color: #d4dce7; }
.product dl { margin: 28px 0 32px; display: grid; gap: 12px; }
.product dl div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; border-top: 1px solid #2c3a52; padding-top: 12px; }
.product dt { font-family: var(--sans); font-size: 15px; color: #93a1b5; }
.product dd { margin: 0; font-family: var(--sans); font-size: 16px; }
.product .btn.primary { background: #fff; color: var(--ink); }
.product .btn.primary:hover { background: var(--mist); }
.product-shots { position: relative; padding-bottom: 70px; }
.frame { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #e9eef2; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c6d0d8; }
.frame-bar span { margin-left: 10px; font-family: var(--sans); font-size: 12px; color: #5d6b7d; }
.side-shot { position: absolute; width: 46%; right: -18px; bottom: 0; }

/* About */
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.person { display: flex; align-items: center; gap: 18px; align-self: start; }
.monogram { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--teal); font-family: var(--sans); font-weight: 700; font-size: 26px; }
.person-name { font-family: var(--sans); font-weight: 700; font-size: 24px; }
.person-role { font-family: var(--sans); color: var(--ink-soft); font-size: 16px; }
.bio p + p { margin-top: 16px; }
.bio cite { font-style: italic; }

/* Contact */
.contact { margin-top: 112px; background: var(--teal); color: #fff; padding: 88px 0; }
.contact h2 { font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -0.025em; }
.contact p { margin-top: 12px; color: #d3e6e9; max-width: 34em; }
.email { display: inline-block; margin-top: 28px; font-family: var(--sans); font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; color: #fff; text-decoration-thickness: 2px; text-underline-offset: 6px; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.email:hover { text-decoration-color: var(--amber); }

/* Footer */
.site-foot { background: var(--teal-deep); color: #b8d3d8; font-family: var(--sans); font-size: 15px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 32px; }
.foot strong { color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .hero, .block-head, .about-body, .product { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 40px; padding-bottom: 56px; }
  .hero h1 { max-width: 16ch; }
  .facts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
  .block { padding-top: 76px; }
  .product-band, .contact { margin-top: 84px; }
  .side-shot { right: 0; }
}
@media (max-width: 600px) {
  body { font-size: 18px; }
  .shell { padding-left: 16px; padding-right: 16px; }
  nav a:not(.nav-cta) { display: none; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .lede { font-size: 19px; }
  .product dl div { grid-template-columns: 90px 1fr; }
  .side-shot { width: 58%; }
}
