/* BetaWave parent site: a software company index. */

@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-display: swap; src: url(fonts/schibsted-grotesk-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 500; font-display: swap; src: url(fonts/schibsted-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 700; font-display: swap; src: url(fonts/schibsted-grotesk-latin-700-normal.woff2) format("woff2"); }

:root {
  --ink: #0d0f12;
  --ink-2: #3f4550;
  --rule-soft: #d3d7de;
  --wash: #f2f4fa;
  --blue: #1740d0;
  --blue-deep: #0f2fa3;
  --on-blue-2: #dbe3ff;
  --bad: #b3122b;
  --bad-wash: #fde8eb;
  --bad-ink: #6d0a1a;
  --column: min(1280px, 100% - 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  scrollbar-color: #8a909b #fff;
  accent-color: var(--blue);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 19px/1.5 var(--sans); }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 5; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
main a:hover, .contact a:hover { text-decoration-thickness: 3px; }
.column { width: var(--column); margin-inline: auto; }

/* Header */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 26px; letter-spacing: -0.025em; text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.bar ul { display: flex; align-items: center; gap: 28px; }
.bar nav a { display: inline-block; padding-block: 8px; font-size: 17px; font-weight: 500; text-decoration: none; }
.bar nav a:hover { color: var(--blue); }
.bar nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.tel-link .narrow, .who .narrow { display: none; }

/* Opening */
h1 { font-size: clamp(44px, 6.9vw, 96px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; padding-block: 28px 20px; }
h1 span { display: block; }
h1 em { font-style: normal; color: var(--blue); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding-bottom: 28px; }
.intro p { max-width: 34em; font-size: 21px; line-height: 1.38; text-wrap: pretty; }
.intro .who { font-size: 17px; color: var(--ink-2); text-align: right; max-width: none; }
.intro .who a { color: var(--ink); font-weight: 500; }

/* Product rows */
.index { border-bottom: 2px solid var(--ink); }
.row { border-top: 2px solid var(--ink); }
.head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.15fr) 230px 36px;
  column-gap: 32px;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  transition: color 120ms ease-out;
}
.head::-webkit-details-marker { display: none; }
.head:hover .row-name { color: var(--blue); }
.head .row-name, .row-next h2 { font-size: clamp(30px, 3.1vw, 46px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; transition: color 120ms ease-out; }
.sub { color: var(--ink-2); font-size: 18px; line-height: 1.32; }
.area { display: block; margin-top: 2px; color: var(--ink); }
.price { font-weight: 500; font-size: 18px; line-height: 1.25; }
.price small { display: block; font-size: 15px; font-weight: 400; color: var(--ink-2); }

/* Plus that turns to minus */
.toggle { position: relative; width: 28px; height: 28px; justify-self: end; }
.toggle::before, .toggle::after { content: ""; position: absolute; left: 3px; right: 3px; top: 12.5px; height: 3px; background: currentColor; transition: transform 300ms var(--ease); }
.toggle::after { transform: rotate(90deg); }
.row[open]:not(.shutting) .toggle::after { transform: rotate(0deg); }

/* The tool inside a row */
.slide { overflow: hidden; overflow: clip; }
.panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 20px;
  padding: 24px 32px;
  background: var(--wash);
}
.copy { display: grid; gap: 14px; justify-items: start; }
.copy p { max-width: 34em; font-size: 18px; line-height: 1.4; color: var(--ink-2); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.fields label { display: grid; gap: 4px; font-size: 15px; font-weight: 500; }
.fields input { width: 100%; min-height: 46px; padding: 8px 12px; border: 1.5px solid #7d8591; border-radius: 0; background: #fff; color: var(--ink); caret-color: var(--blue); font: 500 17px/1.2 var(--sans); }
.fields input:hover { border-color: var(--ink); }
.fields input[aria-invalid="true"] { border-color: var(--bad); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.go { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; background: var(--blue); color: #fff; font-weight: 500; font-size: 18px; text-decoration: none; transition: background-color 120ms ease-out; }
.go:hover { background: var(--blue-deep); }
.more { font-weight: 500; font-size: 18px; padding-block: 8px; }
.more:hover { color: var(--blue); }
.bench { display: grid; justify-items: center; gap: 10px; }
.bench figcaption { font-size: 15px; color: var(--ink-2); }

/* A real label */
.label {
  width: min(100%, 400px);
  aspect-ratio: 2.625 / 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 2px;
  padding: 12px 24px 10px;
  background: #fff;
  color: #000;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgb(13 15 18 / 0.12), 0 10px 24px rgb(13 15 18 / 0.1);
}
.label strong { font-weight: 500; font-size: 18px; line-height: 1.15; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.label .bars { min-height: 0; display: block; }
.label .bars svg { display: block; width: 100%; height: 100%; }
.label .code { font: 400 14px/1 var(--mono); letter-spacing: 0.06em; text-align: center; white-space: nowrap; overflow: hidden; }
.label.is-bad .bars { display: grid; place-items: center; padding: 4px; background: var(--bad-wash); border: 1px solid var(--bad); color: var(--bad-ink); font-size: 15px; line-height: 1.25; text-align: center; }

/* A sample job alert */
.alert { width: min(100%, 400px); padding: 16px 20px; background: #fff; box-shadow: 0 1px 2px rgb(13 15 18 / 0.12), 0 10px 24px rgb(13 15 18 / 0.1); border-radius: 10px; display: grid; gap: 8px; font-size: 17px; line-height: 1.35; }
.alert-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.flag { padding: 1px 8px; background: var(--bad); color: #fff; font-size: 14px; font-weight: 500; }
.alert dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; }
.alert dt { color: var(--ink-2); }
.plans { display: grid; gap: 2px; font-size: 18px; }
.plans b { font-weight: 500; }

.row-next { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.15fr) 230px 36px; column-gap: 32px; align-items: center; padding-block: 18px; border-top: 1px solid var(--rule-soft); color: var(--ink-2); }
.row-next h2 { color: #5f6570; }
.row-next .sub, .row-next a { font-size: 18px; }
.row-next a { color: var(--ink); font-weight: 500; }
.under { padding-block: 0; }

/* How we work */
.section { padding-block: 88px 0; }
.section-h { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.grid h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 6px; }
.grid p { color: var(--ink-2); font-size: 18px; line-height: 1.4; }

/* Contact */
.contact { margin-top: 88px; padding-block: 56px; background: var(--blue); color: #fff; }
.contact-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.contact h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; }
.contact p { color: var(--on-blue-2); margin-top: 8px; max-width: 32em; }
.contact ul { display: grid; gap: 4px; font-size: 21px; }
.contact li:first-child { font-weight: 700; }
.contact a { color: #fff; padding-block: 2px; display: inline-block; }
.contact-in > *, .prose-wrap > * { min-width: 0; }
.contact a, .card a, .foot a { overflow-wrap: anywhere; }
.contact :focus-visible { outline-color: #fff; }
.contact ::selection { background: #fff; color: var(--blue); }

/* Prose */
.prose-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; padding-top: 16px; }
.prose { display: grid; gap: 14px; max-width: 38em; }
.prose h2 { font-size: 32px; line-height: 1.1; letter-spacing: -0.025em; margin-top: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose b { color: var(--ink); font-weight: 500; }
.prose a { color: var(--ink); font-weight: 500; }
.prose ul { display: grid; gap: 8px; }
.card { align-self: start; position: sticky; top: 24px; padding: 24px 28px; background: var(--wash); display: grid; gap: 4px; }
.card b { font-weight: 700; font-size: 21px; }
.card a { font-weight: 500; padding-block: 2px; }

/* Footer */
.foot { padding-block: 36px; font-size: 16px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; align-items: center; }
.foot ul { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot a { display: inline-block; padding-block: 6px; }
.foot a:hover { color: var(--blue); }

.notfound { padding-block: 24px 96px; display: grid; gap: 24px; justify-items: start; }

@media (max-width: 1000px) {
  .head { grid-template-columns: minmax(0, 1fr) auto 36px; row-gap: 4px; }
  .head .row-name { grid-column: 1; grid-row: 1; }
  .price { grid-column: 2; grid-row: 1; text-align: right; }
  .toggle { grid-column: 3; grid-row: 1; }
  .sub { grid-column: 1 / -1; grid-row: 2; }
  .row-next { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .row-next .sub { grid-column: 1 / -1; grid-row: 2; }
  .panel { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .bench { order: -1; }
  .grid { grid-template-columns: 1fr 1fr; }
  .contact-in, .prose-wrap { grid-template-columns: 1fr; }
  .card { position: static; }
}
@media (max-width: 640px) {
  :root { --column: calc(100% - 32px); }
  body { font-size: 18px; }
  .bar { padding-block: 14px; gap: 12px; }
  .brand { font-size: 20px; line-height: 1.1; gap: 8px; }
  .brand svg { width: 28px; height: 28px; }
  .bar ul { gap: 18px; }
  .wide-only, .tel-link .wide { display: none; }
  .tel-link .narrow { display: inline; }
  h1 { font-size: clamp(32px, 9.8vw, 44px); padding-block: 10px 10px; }
  h1 span { display: inline; }
  .intro { grid-template-columns: 1fr; gap: 8px; padding-bottom: 18px; }
  .intro p { font-size: 18px; }
  .intro .who { text-align: left; font-size: 16px; }
  .who .wide { display: none; }
  .who .narrow { display: inline; }
  .head { grid-template-columns: minmax(0, 1fr) 36px; padding-block: 12px; row-gap: 2px; }
  .head .row-name { font-size: 27px; grid-column: 1; grid-row: 1; }
  .toggle { grid-column: 2; grid-row: 1; }
  .sub { font-size: 16px; grid-column: 1 / -1; grid-row: 2; }
  .row-next h2 { font-size: 27px; }
  .row-next .sub { font-size: 16px; }
  .price { grid-column: 1 / -1; grid-row: 3; text-align: left; font-size: 17px; }
  .price small { display: inline; font-size: 16px; }
  .panel { padding: 16px; }
  .label { padding-inline: 16px; }
  .label .code { letter-spacing: 0; }
  .fields { grid-template-columns: 1fr; }
  .actions .go { width: 100%; }
  .grid { grid-template-columns: 1fr; gap: 20px; }
  .section { padding-top: 56px; }
  .contact { margin-top: 56px; padding-block: 40px; }
}
@media (min-width: 1001px) and (max-height: 860px) {
  h1 { font-size: 72px; padding-block: 12px 12px; }
  .intro { padding-bottom: 16px; }
  .intro p { font-size: 19px; }
  .head { padding-block: 12px; }
  .panel { padding-block: 14px; margin-bottom: 12px; }
  .copy { gap: 10px; }
  .label { width: min(100%, 320px); }
}
@media (min-width: 1001px) and (max-height: 760px) {
  h1 { font-size: 54px; }
  h1 span { display: inline; }
  #labels .copy > p:first-child { display: none; }
  .label { width: min(100%, 270px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
