:root {
  --paper: #F2F3F0;
  --ink: #15181B;
  --graphite: #596068;
  --rule: #D6D9D3;
  --signal: #FF5A1F;
  --panel: #1D2125;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  --mono: "Martian Mono", ui-monospace, Consolas, monospace;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.01em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gut); top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; height: 46px; padding: 0 20px;
  font: 500 15px/1 var(--sans); text-decoration: none; border-radius: 6px;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2C3136; }
.btn-line { border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }

/* Header */
.top {
  max-width: var(--max); margin: 0 auto; padding: 18px var(--gut);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 17px; }
.mark { width: 30px; height: 30px; display: block; }
.top nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--graphite); }
.top nav a:hover { color: var(--ink); }

/* Hero */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gut) 0; }
.hero-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy { max-width: 900px; }
.hero-shot .win { aspect-ratio: 5 / 4; box-shadow: 0 24px 48px rgba(21, 24, 27, .14); }
.hero-shot figcaption { margin-top: 12px; font-size: 15px; color: var(--graphite); }
.hero-shot figcaption .mono { color: var(--ink); margin-right: 6px; }
.hero-shot figcaption a { color: var(--ink); }
h1 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.02; font-weight: 500; letter-spacing: -0.025em; }
.lede { margin-top: 24px; max-width: 58ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--graphite); }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.plot { position: relative; margin-top: clamp(24px, 4vw, 48px); height: clamp(140px, 16vw, 240px); }
.hero-trace { width: 100%; height: 100%; display: block; overflow: visible; }
.hero-trace .grid line { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.settled {
  position: absolute; right: 0; top: calc(72.8% - 34px);
  display: flex; align-items: center; gap: 8px; color: var(--graphite);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }

/* Sections */
.sec {
  max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--gut);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  border-top: 1px solid var(--rule);
}
.sec .label { grid-column: 1 / 4; color: var(--graphite); padding-top: 12px; }
.sec .body { grid-column: 4 / 13; min-width: 0; }
h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.1; font-weight: 500; letter-spacing: -0.015em; max-width: 22ch; }
.intro { margin-top: 18px; max-width: 60ch; color: var(--graphite); }

/* Template previews */
.tpls { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
.win { border: 1px solid var(--ink); border-radius: 8px; overflow: hidden; background: #fff; aspect-ratio: 5 / 4; display: flex; flex-direction: column; }
.bar { display: flex; align-items: center; gap: 5px; padding: 9px 10px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--rule); }
.bar span { margin-left: 8px; font: 11px var(--mono); color: var(--graphite); }
.win img { display: block; width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; }
.tpl figcaption { margin-top: 12px; font-size: 15px; color: var(--graphite); }
.tpl figcaption .mono { color: var(--ink); margin-right: 6px; }
.tpl figcaption a { color: var(--ink); white-space: nowrap; }
a.win { text-decoration: none; color: inherit; transition: border-color .15s; }
a.win:hover { border-color: var(--signal); }

/* Dashboards */
.sec-dark { max-width: none; background: var(--ink); color: var(--paper); border-top: 0; padding-left: max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut))); padding-right: max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut))); }
.sec-dark .label, .sec-dark .intro { color: #A3AAB1; }
.dash { margin-top: 48px; background: var(--panel); border: 1px solid #2E3439; border-radius: 8px; padding: clamp(16px, 2.4vw, 28px); }
.dash-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.dash-head b { font-weight: 500; }
.dash-head .mono { color: #A3AAB1; }
.kpis { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #2E3439; }
.kpis div { padding: 18px 18px 18px 0; display: flex; flex-direction: column; gap: 4px; }
.kpis div + div { padding-left: 18px; border-left: 1px solid #2E3439; }
.kpis .mono { color: #A3AAB1; }
.kpis strong { font-weight: 400; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; }
.kpis strong.hot { color: var(--signal); }
.kpis em { font-style: normal; font-size: 14px; color: #A3AAB1; }
.dash-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; border-top: 1px solid #2E3439; padding-top: 20px; }
.bars .mono { color: #A3AAB1; }
.cols { margin-top: 14px; height: 150px; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid #3A4046; }
.cols i { flex: 1; background: #3E464D; border-radius: 2px 2px 0 0; position: relative; }
.cols i.now { background: var(--signal); }
.cols b { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font: 12px var(--mono); }
.dash table { width: 100%; border-collapse: collapse; font-size: 15px; align-self: start; }
.dash th { text-align: left; font-weight: 400; color: #A3AAB1; padding: 6px 0; border-bottom: 1px solid #2E3439; }
.dash td { padding: 10px 0; border-bottom: 1px solid #2E3439; }
.dash th:not(:first-child), .dash td:not(:first-child) { text-align: right; }

/* Rows */
.rows { margin-top: 40px; border-top: 1px solid var(--rule); }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.rows b { font-weight: 500; font-size: 20px; line-height: 1.25; }
.rows span { color: var(--graphite); }
.rows-dark { border-color: #2E3439; }
.rows-dark li { border-color: #2E3439; }
.rows-dark span { color: #A3AAB1; }
.steps li { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.3fr); }
.steps li > .mono { color: var(--signal); font-size: 14px; }
.prices li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 120px; }
.prices em { font-style: normal; font-size: 14px; text-align: right; }
.fine { margin-top: 14px; font-size: 14px; color: var(--graphite); }
.about p { margin-top: 18px; max-width: 62ch; font-size: clamp(17px, 1.4vw, 20px); }

/* Call to action */
.cta {
  background: var(--ink); color: var(--paper);
  max-width: calc(var(--max) - 2 * var(--gut)); margin: 0 auto clamp(40px, 6vw, 80px);
  border-radius: 10px; padding: clamp(36px, 6vw, 72px);
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}
.cta h2 { max-width: 18ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-mail { color: #C3C8CD; font-size: 15px; }
.cta-mail:hover { color: var(--paper); }
@media (max-width: 1340px) { .cta { margin-left: var(--gut); margin-right: var(--gut); } }

.foot {
  max-width: var(--max); margin: 0 auto; padding: 24px var(--gut) 40px;
  display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--graphite);
  border-top: 1px solid var(--rule);
}
.foot span:last-child { margin-left: auto; }

/* Tablet and phone */
@media (max-width: 960px) {
  .hero-top { grid-template-columns: 1fr; }
  .dash-body { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .sec { display: block; }
  .sec .label { padding: 0 0 16px; }
  .tpls { grid-template-columns: 1fr; }
  .tpl:last-child { display: block; }
  .win { aspect-ratio: 5 / 4; }
  .kpis { grid-template-columns: 1fr; }
  .kpis div + div { padding-left: 0; border-left: 0; border-top: 1px solid #2E3439; }
  .rows li, .steps li, .prices li { grid-template-columns: 1fr; gap: 4px; }
  .steps li { grid-template-columns: 28px 1fr; }
  .steps li > span:last-child { grid-column: 2; }
  .prices em { text-align: left; color: var(--ink); }
  .settled { top: auto; bottom: 0; }
  .foot span:last-child { margin-left: 0; }
}

/* Motion: the trace draws in once on load. */
@media (prefers-reduced-motion: no-preference) {
  .trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s cubic-bezier(.3,.1,.2,1) .2s forwards; }
  .settled { opacity: 0; animation: show .4s ease 2.2s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes show { to { opacity: 1; } }
}
