/* 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; }
main a:hover, .contact a:hover { text-decoration-thickness: 3px; }
.column { width: var(--column); margin-inline: auto; }

.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, .row-next h3 { 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; }
.price { font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.price small { display: block; font-size: 15px; font-weight: 400; line-height: 1.4; letter-spacing: 0; 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, .row-next h3 { color: #5f6570; }
.row-next.row-included h3 { color: var(--ink); }
.row-next .sub, .row-next a { font-size: 18px; }
.row-next a { display: inline-block; padding-block: 10px; color: var(--ink); font-weight: 500; }
.under { padding-block: 0; }

/* How we work */
.section { padding-block: 88px 0; }
.section-h { text-wrap: balance; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; margin-bottom: 28px; }

/* 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: 6px; 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); }
/* The owner's photo. Square like the rest of the interface; a white keyline keeps the blue shirt off the blue band. */
.owner { display: flex; align-items: center; gap: 24px; }
.owner img { flex: none; width: 128px; height: 128px; object-fit: cover; border: 2px solid #fff; }
.portrait { margin: 0; }
.portrait img { display: block; width: 100%; max-width: 420px; height: auto; aspect-ratio: 1; object-fit: cover; }
.portrait figcaption { margin-top: 12px; font-size: 18px; line-height: 1.4; color: var(--ink-2); max-width: 420px; }
.portrait b { display: block; color: var(--ink); font-weight: 700; font-size: 21px; }

/* 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: 35em; }
.prose h2 { font-size: 32px; line-height: 1.1; letter-spacing: -0.025em; margin-top: 28px; }
.prose h2:first-child { margin-top: 0; }
.legal h2 { font-size: 24px; letter-spacing: -0.015em; }
.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; }
.card span { color: var(--ink-2); font-size: 18px; }
/* About page: the company card, then the logo read as its two parts. The mark is flat: no shadow, no radius. */
.side { align-self: start; position: sticky; top: 24px; display: grid; gap: 40px; }
.side .card { position: static; }
.mark-note { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.mark-note figcaption { padding-block: 14px; font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.mark-note div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: center; padding-block: 16px; border-top: 1px solid var(--rule-soft); }
.mark-note svg { display: block; width: 56px; height: 56px; }
.mark-note .on { fill: var(--blue); }
.mark-note .off { fill: var(--rule-soft); }
.mark-note p { font-size: 18px; line-height: 1.4; color: var(--ink-2); }
.mark-note b { display: block; color: var(--ink); font-weight: 500; }

/* Footer */

/* Consulting */
h1.even { text-wrap: balance; }
h1.even span { display: block; }
.plan { width: min(100%, 440px); 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; }
.plan dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.plan dt, .plan dd { padding-block: 7px; border-top: 1px solid var(--rule-soft); }
.plan dd { padding-left: 16px; color: var(--ink-2); font-weight: 500; text-align: right; }
.plan dd.yes { color: var(--blue); }
.plan dt b { font-weight: 700; }
.tries { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* Sample-site screenshots on the Websites page: desktop with the phone laid over its corner */
.shots { position: relative; display: block; margin: 0 0 20px; padding: 0 0 28px; }
.shots img { display: block; height: auto; border: 1px solid var(--rule, #d3d7de); }
.shots .shot-desk { width: 86%; box-shadow: 0 24px 48px -28px rgba(17,17,17,.45); }
.shots .shot-phone { position: absolute; right: 0; bottom: 0; width: 24%; border-radius: 18px; box-shadow: 0 20px 40px -18px rgba(17,17,17,.5); }
.shots:hover .shot-desk, .shots:focus-visible .shot-desk { box-shadow: 0 28px 56px -26px rgba(17,17,17,.55); }
@media (max-width: 640px) { .shots .shot-desk { width: 100%; } .shots .shot-phone { width: 34%; right: -6px; bottom: -6px; } .shots { padding-bottom: 40px; } }
.try { display: grid; gap: 4px; padding: 22px 24px; background: var(--wash); text-decoration: none; transition: background-color 120ms ease-out; }
.try b { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
.try span { color: var(--ink-2); font-size: 18px; line-height: 1.35; }
.try:hover { background: #e6eaf6; }
.try:hover b { color: var(--blue); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.split > div { border-top: 2px solid var(--ink); padding-top: 14px; }
.split h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 10px; }
.split.line > div:first-child h3 { color: var(--blue); }
.split li { padding-block: 11px; border-top: 1px solid var(--rule-soft); font-size: 20px; line-height: 1.3; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 12px; }
.steps li::before { content: counter(step); display: block; margin-bottom: 18px; font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--blue); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 18px; line-height: 1.4; }
.scope { margin: 0; border-bottom: 2px solid var(--ink); }
.scope > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: baseline; padding-block: 13px; border-top: 1px solid var(--rule-soft); }
.scope > div:first-child { border-top: 2px solid var(--ink); }
.scope dt { font-size: clamp(22px, 2.1vw, 30px); font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.scope dd { margin: 0; max-width: 33em; color: var(--ink-2); font-size: 19px; line-height: 1.4; text-wrap: pretty; }
.scope-note { margin-top: 18px; max-width: 37em; font-size: 19px; line-height: 1.4; text-wrap: pretty; }
.scope-note a { font-weight: 500; }
.scope-note a:hover { color: var(--blue); }
.split li { text-wrap: pretty; }
.scope-note + .scope-note { margin-top: 6px; }
.split + .scope-note { max-width: calc(50% - 16px); margin-top: 28px; }
.sources { margin-top: 14px; color: var(--ink-2); font-size: 16px; line-height: 1.4; text-wrap: pretty; }
.scope.fees > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 170px; }
.scope .fee { font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); text-align: right; }
.actions.after { margin-top: 24px; }
.lead-note { max-width: 31em; font-size: clamp(21px, 2vw, 26px); line-height: 1.32; letter-spacing: -0.01em; text-wrap: pretty; }
.firm-sample { padding-top: 40px; }
.policy { width: 100%; border-collapse: collapse; background: var(--wash); font-size: 18px; line-height: 1.35; text-align: left; }
.policy th, .policy td { padding: 14px 20px; border-top: 1px solid var(--rule-soft); vertical-align: top; }
.policy thead th { border-top: 2px solid var(--ink); font-size: 15px; font-weight: 500; color: var(--ink-2); }
.policy tbody th { font-weight: 700; }
.policy td { color: var(--ink-2); }
.policy .no th, .policy .no td:first-of-type { color: var(--bad); }
.firm-sample figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.sources a:hover { color: var(--blue); }
@media (max-width: 640px) {
  .scope > div, .scope.fees > div { grid-template-columns: 1fr; gap: 2px; padding-block: 11px; }
  .scope dd { font-size: 18px; }
  .scope .fee { text-align: left; font-size: 20px; }
  .tries { grid-template-columns: 1fr; }
  .split + .scope-note { max-width: none; }
  .firm-sample { padding-top: 24px; }
  .policy thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .policy, .policy tbody, .policy tr, .policy th, .policy td { display: block; }
  .policy tr { padding: 12px 16px; border-top: 1px solid var(--rule-soft); }
  .policy tr:first-child { border-top: 2px solid var(--ink); }
  .policy th, .policy td { padding: 0; border: 0; }
  .policy td { margin-top: 4px; }
  .policy td::before { content: attr(data-label) ": "; color: var(--ink-2); font-weight: 500; }
}

.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, .arrow { grid-column: 3; grid-row: 1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .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; }
  .copy-first .bench { order: 0; }
  .contact-in, .prose-wrap { grid-template-columns: 1fr; }
  .card { position: static; }
  .side { position: static; }
  /* One column: the photo moves up beside the opening words; the company card and logo note stay below the text. */
  .prose-wrap > .side { display: contents; }
  .prose-wrap .portrait { order: -1; }
  .portrait img { max-width: 280px; }
}
@media (max-width: 640px) {
  :root { --column: calc(100% - 32px); }
  body { font-size: 18px; }
  .more { padding-block: 10px; }
  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, .arrow { grid-column: 2; grid-row: 1; }
  .split, .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps li::before { font-size: 36px; margin-bottom: 8px; }
  .split li { font-size: 18px; }
  .sub { font-size: 16px; grid-column: 1 / -1; grid-row: 2; }
  .row-next h2, .row-next h3 { font-size: 27px; }
  .row-next .sub { font-size: 16px; }
  .price { grid-column: 1 / -1; grid-row: 3; text-align: left; font-size: 18px; letter-spacing: 0; }
  .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%; }
  .section { padding-top: 56px; }
  .contact { margin-top: 56px; padding-block: 40px; }
  .owner { gap: 16px; }
  .owner img { width: 96px; height: 96px; }
}
@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; }
}

/* Pricing: every price visible, one ruled row per plan. */
.rates { padding-top: 64px; display: grid; gap: 20px; justify-items: start; }
.rates > * { width: 100%; }
.rates .actions { width: auto; }
.rates-head { display: grid; gap: 8px; }
.rates-head h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; }
.rates-head p { max-width: 38em; color: var(--ink-2); font-size: 19px; line-height: 1.4; }
.rate-list { border-bottom: 2px solid var(--ink); }
.rate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 280px; column-gap: 32px; align-items: center; padding: 18px 0; border-top: 2px solid var(--ink); }
.rate-name { font-size: 26px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
.rate-note { max-width: 62ch; color: var(--ink-2); font-size: 18px; line-height: 1.5; }
.index + .rate-note { margin-top: 20px; }
@media (max-width: 1000px) {
  .rate { grid-template-columns: minmax(0, 1fr) 240px; row-gap: 4px; }
  .rate .sub { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 640px) {
  .rates { padding-top: 44px; }
  .rates .actions { width: 100%; }
  .rates-head p { font-size: 18px; }
  .rate { grid-template-columns: minmax(0, 1fr); }
  .rate .sub { grid-row: auto; }
  .rate-name { font-size: 23px; }
}

/* Pricing: "the price adds up", a worked Front Desk bill. Each plan's figures sit stacked in the same spot and only the chosen
   plan's show, so switching plans never changes the size of the bill. */
.bill-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 24px 64px; align-items: start; padding-block: 28px 8px; }
.bill-intro h3 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
.bill-intro h3 span { color: var(--blue); }
.bill-intro p { margin-top: 12px; max-width: 26em; color: var(--ink-2); font-size: 19px; line-height: 1.45; }
.bill-plans { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.bill-plans button { min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); font: 500 16px/1 var(--sans); cursor: pointer; transition: background-color 120ms ease-out, color 120ms ease-out, border-color 120ms ease-out; }
.bill-plans button:hover { border-color: var(--blue); color: var(--blue); }
.bill-plans button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bill-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.bill-lines li:first-child { border-top: 2px solid var(--ink); }
.bill .what { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.bill .why { grid-column: 1; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.bill .cost { grid-row: 1; grid-column: 2; font-size: 18px; font-weight: 500; text-align: right; white-space: nowrap; }
.bill .free { color: var(--blue); }
.bill [data-v] { visibility: hidden; }
.bill .what, .bill .why, .bill .cost, .bill .num, .bill small { display: grid; }
.bill .what > *, .bill .why > *, .bill .cost > *, .bill .num > *, .bill small > * { grid-area: 1 / 1; }
.bill[data-plan="0"] [data-v="0"], .bill[data-plan="1"] [data-v="1"], .bill[data-plan="2"] [data-v="2"] { visibility: visible; }
.bill-sum { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); margin-top: -1px; }
.bill-sum::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--blue); transform-origin: left; }
.bill-sum > div { padding: 18px 0 4px; }
.bill-sum > div + div { padding-left: 20px; border-left: 1px solid var(--rule-soft); }
.bill-sum dt { font-size: 16px; font-weight: 500; color: var(--ink-2); }
.bill-sum .num { margin-top: 4px; font-size: clamp(40px, 5vw, 60px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; justify-items: start; }
.bill-sum > div:first-child .num { color: var(--blue); }
.bill-sum small { margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }

/* Plays once, when the bill scrolls into view: shell.js adds .is-adding (.is-held keeps the first frame until then).
   Resting styles above are the finished bill, so with no script, reduced motion or print, it simply shows. */
.bill.is-held, .bill.is-held * { animation-play-state: paused !important; }
.bill.is-held .bill-sum::before { animation-play-state: paused !important; }
.is-adding .bill-lines li { animation: bill-rise 380ms var(--ease) both; animation-delay: calc(120ms + var(--i) * 300ms); }
.is-adding .bill-lines .cost { animation: bill-pop 300ms var(--ease) both; animation-delay: calc(330ms + var(--i) * 300ms); }
.is-adding .bill-sum::before { animation: bill-draw 520ms var(--ease) 1750ms both; }
.is-adding .bill-sum > div { animation: bill-rise 420ms var(--ease) 2150ms both; }
.is-adding .bill-sum > div + div { animation-delay: 2350ms; }
/* Choosing another plan fades its figures in; the bill itself never moves. */
.bill.is-picked[data-plan="0"] [data-v="0"], .bill.is-picked[data-plan="1"] [data-v="1"], .bill.is-picked[data-plan="2"] [data-v="2"] { animation: bill-swap 240ms var(--ease) both; }
@keyframes bill-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes bill-pop { from { opacity: 0; transform: translateX(-10px); } }
@keyframes bill-draw { from { transform: scaleX(0); } }
@keyframes bill-swap { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bill *, .bill *::before, .bill *::after, .bill-sum::before { animation: none !important; transition: none !important; } }
@media print { .bill *, .bill *::before, .bill *::after { animation: none !important; } }
@media (max-width: 760px) {
  .bill-wrap { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
  .bill-intro p { font-size: 18px; }
  .bill .what, .bill .cost { font-size: 17px; }
  .bill-sum > div + div { padding-left: 14px; }
}

/* Home: consulting line, product groups by problem, consulting band. */
.intro:has(+ .hero-actions) { padding-bottom: 16px; }
.hero-actions { padding-bottom: 28px; }
a.head { color: inherit; text-decoration: none; }
a.head:hover .row-name { color: var(--blue); }
.arrow { width: 28px; height: 28px; justify-self: end; transition: transform 120ms ease-out; }
a.head:hover .arrow { transform: translateX(4px); }
.group { padding-top: 56px; }
.group h2 { padding-bottom: 14px; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; }
.group .head .row-name, .group .row-next h3 { font-size: clamp(25px, 2.4vw, 34px); }
.group .row:first-of-type { border-top-width: 2px; }
.group .row + .row-next { border-top: 1px solid var(--rule-soft); }
.group .index > .row-next:first-child { border-top: 2px solid var(--ink); }
.nb { white-space: nowrap; }
.pricing-link { margin-top: 56px; }
.band-consulting { padding-top: 56px; display: grid; gap: 16px; }
.band-consulting .panel { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .arrow { transition: none; } }
@media (max-width: 640px) {
  .group { padding-top: 40px; }
  .group h2 { font-size: 30px; }
  .group .head .row-name, .group .row-next h3 { font-size: 24px; }
  .pricing-link { margin-top: 40px; }
  .band-consulting { padding-top: 40px; }
}

/* Guides (site/guides/): byline, numbered steps, the article list, tables inside prose. */
.byline { font-size: 16px; color: var(--ink-2); padding-top: 8px; margin-bottom: 12px; }
.byline a { color: var(--ink); font-weight: 500; }
.prose ol { padding-left: 1.4em; display: grid; gap: 8px; color: var(--ink-2); }
.prose.article ul { list-style: disc; padding-left: 1.2em; }
.prose .policy { margin-block: 6px; }
.card .card-gap { margin-top: 12px; }
.guide-list { display: grid; gap: 0; }
.guide-list li { display: grid; gap: 4px; padding-block: 20px; border-top: 1px solid var(--rule-soft); }
.guide-list li:first-child { border-top: 2px solid var(--ink); }
.guide-list a { font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.guide-list span { color: var(--ink-2); }
