/* Sub-pages. Tokens, header, menus, footer and cookie banner come from base.css (bud 6).
   Everything here uses the pg- prefix and is written by src/build-site.mjs + src/lib/blocks.mjs. */

/* two languages in the markup: <html data-sl="da"> shows Danish, anything else English */
html:not([data-sl='da']) [data-l='da'],
html[data-sl='da'] [data-l='en'] {
  display: none;
}

.pg {
  display: block;
}
.pg h1,
.pg h2,
.pg h3 {
  color: inherit;
}
.pg a:not(.btn) {
  color: inherit;
}
.pg code {
  font: 0.9em/1.4 var(--mono);
  background: var(--bg-2);
  padding: 1px 6px;
  border-radius: 5px;
}
.pg-ic {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.pg-ic.sm {
  width: 16px;
  height: 16px;
}
.pg-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-2);
  color: var(--ink-2);
  white-space: nowrap;
  vertical-align: middle;
}
.pg-tag.lv {
  background: #e2f1e8;
  color: var(--ok);
}
.pg-tag.pl {
  background: var(--accent-soft);
  color: var(--accent-press);
}
.pg-tag.ex {
  background: #fff3d6;
  color: #6b4a00;
}
.pg-small {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 16px;
}
.pg-more {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-2);
  transition: text-decoration-color 0.16s var(--ease);
}
.pg-more:hover {
  text-decoration-color: currentColor;
}
.pg-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.pg-ctas.c {
  justify-content: center;
}
.pg-yes {
  color: var(--ok);
  display: inline-flex;
}
.pg-no {
  color: var(--ink-3);
}

/* ---------- product sub-nav (Klaviyo: channel name, Overview, Features, Learn) ---------- */
.pg-sub {
  position: sticky;
  top: var(--header);
  z-index: 40;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.pg-sub-in {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 52px;
}
.pg-sub-name {
  font: 600 15px/1 var(--display);
  margin-right: 18px;
  text-decoration: none;
  white-space: nowrap;
}
.pg-sub-l,
.pg-sub .nav-btn {
  height: 36px;
  padding: 0 10px;
  font-size: 14.5px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 500;
  white-space: nowrap;
}
.pg-sub .nav-btn {
  color: var(--ink-2);
}
.pg-sub-l:hover,
.pg-sub .nav-btn:hover {
  background: var(--bg-2);
  color: var(--ink);
}
.pg-sub-l[aria-current='page'],
.pg-sub .nav-btn.on {
  color: var(--ink);
  font-weight: 600;
}
.pg-sub .panel {
  top: calc(100% + 6px);
}
.pg-sub .drop {
  min-width: 260px;
  max-width: calc(100vw - 32px);
}
.pg-sub .drop .mlink[aria-current='page'] b {
  color: var(--accent);
}
.pg-sub-cta {
  margin-left: auto;
}
@media (max-width: 760px) {
  .pg-sub-in {
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0;
    padding: 0 var(--gut);
  }
  .pg-sub-in::-webkit-scrollbar {
    display: none;
  }
  .pg-sub-name {
    margin-right: 8px;
  }
  .pg-sub-cta {
    display: none;
  }
  .pg-sub .nav-item {
    position: static;
  }
  .pg-sub .panel {
    left: 16px;
    right: 16px;
    top: 100%;
    min-width: 0;
  }
}

/* ---------- breadcrumbs ---------- */
.pg-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-size: 13.5px;
  color: var(--ink-2);
}
.pg-crumbs li + li::before {
  content: '/';
  margin: 0 8px;
  color: var(--ink-3);
}
.pg-crumbs a {
  text-decoration: none;
}
.pg-crumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pg-crumbs [aria-current] {
  color: var(--ink);
}

/* ---------- hero ---------- */
.pg-hero {
  padding: 56px 0 96px;
}
.pg-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.pg-hero.has-mock .pg-hero-in {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}
.pg-hero h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.pg-hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 54ch;
  margin-top: 24px;
}
.pg-hero-note {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 14px;
}
.pg-hero-meta {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 22px;
}
.pg-tour {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-2);
}
.pg-tour:hover {
  text-decoration-color: currentColor;
}
/* centered hero with a wide picture under it (product overview pages) */
.pg-hero.center {
  text-align: center;
  padding-bottom: 0;
}
.pg-hero.center .pg-hero-in {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}
.pg-hero.center h1 {
  max-width: 18ch;
  margin: 0 auto;
}
.pg-hero.center .pg-hero-lede {
  margin-left: auto;
  margin-right: auto;
}
.pg-hero.center .pg-ctas {
  justify-content: center;
}
.pg-hero.center .pg-crumbs ol {
  justify-content: center;
}
.pg-hero-wide {
  margin-top: 64px;
  padding: 48px 0 0;
  position: relative;
}
.pg-hero-wide::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: -1px;
  background: var(--accent-soft);
  border-radius: 28px 28px 0 0;
}
.pg-hero-wide > * {
  position: relative;
}

/* ---------- sections ---------- */
.pg-sec {
  padding: 120px 0;
}
.pg-sec + .pg-sec {
  padding-top: 24px;
}
.pg-sec.t-night + .pg-sec,
.pg-sec + .pg-sec.t-night,
.pg-sec.t-soft + .pg-sec,
.pg-sec + .pg-sec.t-soft {
  padding-top: 120px;
}
.pg-sec.t-night {
  background: var(--night);
  color: var(--night-ink);
}
.pg-sec.t-night + .pg-sec.t-night {
  padding-top: 0;
}
.pg-sec.t-soft {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pg-h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.032em;
  max-width: 20ch;
}
.pg-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin-top: 18px;
}
.t-night .pg-lede,
.t-night p {
  color: var(--night-ink-2);
}
.t-night h2,
.t-night h3 {
  color: var(--night-ink);
}
.pg-head {
  margin-bottom: 56px;
}
.pg-head.c {
  text-align: center;
}
.pg-head.c .pg-h2,
.pg-head.c .pg-lede {
  margin-left: auto;
  margin-right: auto;
}
.pg-head.row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.pg-head.row .pg-ctas {
  margin-top: 0;
}

/* ---------- stage: a soft panel that holds a product mock ---------- */
.pg-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px 32px;
  border-radius: 20px;
  background: var(--bg-2);
  overflow: hidden;
  min-height: 300px;
}
.pg-stage.a {
  background: var(--accent-soft);
}
.pg-stage.n {
  background: var(--night-2);
}
.pg-stage > .pg-mock {
  width: 100%;
  max-width: 440px;
}
.pg-stage.wide > .pg-mock {
  max-width: 760px;
}

/* ---------- points: three or four benefits ---------- */
.pg-pts {
  display: grid;
  gap: 40px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pg-pts.n2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pg-pts.n3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pg-pts.n4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pg-pts > li > .pg-ic {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 16px;
}
.pg-pts h3 {
  font: 600 19px/1.3 var(--text);
  letter-spacing: -0.01em;
}
.pg-pts p {
  color: var(--ink-2);
  margin-top: 8px;
  font-size: 16px;
}
.pg-pts .pg-stage {
  min-height: 260px;
  margin-bottom: 24px;
  padding: 28px 22px;
}
.pg-pts .pg-stage > .pg-mock {
  max-width: 320px;
}

/* ---------- split ---------- */
.pg-split-in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.pg-split.flip .pg-split-copy {
  order: 2;
}
.pg-split-copy > p:not(.pg-lede) {
  color: var(--ink-2);
  margin-top: 16px;
}
.pg-checks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.pg-checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pg-checks .pg-ic {
  color: var(--accent);
  margin-top: 4px;
}
.pg-status {
  margin-top: 20px;
}

/* ---------- tabs (Klaviyo: picture, tab row under it, text under the tabs) ---------- */
.pg-tabs-list {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}
.pg-tab {
  position: relative;
  border: 0;
  background: none;
  padding: 12px 14px 14px;
  font: 500 15px/1.2 var(--text);
  color: var(--ink-3);
  cursor: pointer;
  min-height: 44px;
}
.pg-tab::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s var(--ease);
}
.pg-tab[aria-selected='true'] {
  color: var(--ink);
  font-weight: 600;
}
.pg-tab[aria-selected='true']::after {
  transform: none;
}
.pg-tab:hover {
  color: var(--ink);
}
.pg-tabp {
  text-align: center;
}
.pg-tabp > p {
  max-width: 60ch;
  margin: 24px auto 0;
  color: var(--ink-2);
}
.pg-tabp .pg-more {
  margin-top: 10px;
}
.js .pg-tabp[hidden] {
  display: none;
}
.pg-tabs-vis {
  display: grid;
}
.pg-tabs-vis > .pg-stage {
  grid-area: 1/1;
}
.js .pg-tabs-vis > .pg-stage[hidden] {
  display: none;
}
.js .pg-tabs-vis > .pg-stage:not([hidden]) {
  animation: pg-in 0.32s var(--ease) both;
}
@keyframes pg-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
/* side variant: tabs as a vertical list on the left, picture on the right */
.pg-tabs.side .pg-tabs-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.pg-tabs.side .pg-tabs-list {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  border: 0;
  gap: 0;
  margin: 0;
}
.pg-tabs.side .pg-tab {
  text-align: left;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 17px;
}
.pg-tabs.side .pg-tab::after {
  left: 0;
  right: auto;
  top: -1px;
  bottom: auto;
  width: 100%;
  transform-origin: left;
}
.pg-tabs.side .pg-tabp {
  text-align: left;
}
.pg-tabs.side .pg-tabp > p {
  margin: 0 0 18px;
  max-width: 46ch;
}
.no-js-only {
  display: none;
}
html:not(.js) .pg-tab {
  cursor: default;
}

/* ---------- price card ---------- */
.pg-price-in {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.pg-price-in > div > p {
  color: var(--ink-2);
  margin-top: 16px;
  max-width: 42ch;
}
.pg-pc {
  border-radius: 20px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: clamp(24px, 4vw, 48px);
}
.pg-pc-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-2);
}
.pg-pc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.pg-pc-top h3 {
  font: 600 20px/1.2 var(--display);
}
.pg-pc-card > p {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 6px;
}
.pg-pc-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.pg-pc-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.pg-pc-subs {
  display: block;
  font: 600 28px/1.1 var(--display);
  letter-spacing: -0.02em;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.pg-pc-mails {
  display: block;
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 2px;
}
.pg-pc-price {
  text-align: right;
}
.pg-pc-price b {
  display: block;
  font: 700 44px/1 var(--display);
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.pg-pc-price span {
  display: block;
  font-size: 13.5px;
  color: var(--ink-2);
  margin-top: 4px;
}
.pg-pc-range {
  margin-top: 18px;
}
.pg-pc-range input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  margin: 0;
  cursor: pointer;
}
.pg-pc-range input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(to right, var(--accent) var(--fill, 0%), var(--line) var(--fill, 0%));
}
.pg-pc-range input::-moz-range-track {
  height: 6px;
  border-radius: 6px;
  background: var(--line);
}
.pg-pc-range input::-moz-range-progress {
  height: 6px;
  border-radius: 6px;
  background: var(--accent);
}
.pg-pc-range input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-1);
}
.pg-pc-range input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
}
.pg-pc-range input:focus-visible {
  outline: none;
}
.pg-pc-range input:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.pg-pc-ends {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 4px;
}
.pg-pc-int {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  padding: 3px;
  background: var(--bg);
}
.pg-pc-int button {
  border: 0;
  background: none;
  height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}
.pg-pc-int button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
}
.pg-pc-foot {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-3);
}
.pg-pc-talk {
  display: none;
}
.pg-pc.is-talk .pg-pc-talk {
  display: block;
}
.pg-pc.is-talk .pg-pc-price b,
.pg-pc.is-talk .pg-pc-price span {
  display: none;
}
.pg-pc-talk {
  font: 600 22px/1.1 var(--display);
  color: var(--accent);
}
.pg-pc-tbd {
  margin-top: 22px;
  font-size: 15px;
  color: var(--ink-2);
}
.pg-pc-tbd .tbd {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--bg-2);
  padding: 1px 6px;
  border-radius: 5px;
}

/* ---------- carousel (Klaviyo: two or three cards, arrows bottom right) ---------- */
.pg-car-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 2);
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  list-style: none;
  margin: 0;
  padding: 0;
  overscroll-behavior-x: contain;
}
.pg-car-track::-webkit-scrollbar {
  display: none;
}
.pg-car.c3 .pg-car-track {
  grid-auto-columns: calc((100% - 64px) / 3);
}
.pg-car-track > li {
  scroll-snap-align: start;
  min-width: 0;
}
.pg-car-track h3 {
  font: 600 18px/1.3 var(--text);
  margin-top: 20px;
}
.pg-car-track h3 a {
  text-decoration: none;
}
.pg-car-track h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pg-car-track p {
  color: var(--ink-2);
  margin-top: 8px;
  font-size: 15.5px;
}
.pg-car-track .pg-stage {
  min-height: 300px;
}
.pg-car-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 28px;
}
.pg-car-nav button {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition:
    background-color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}
.pg-car-nav button:hover {
  border-color: var(--ink);
}
.pg-car-nav button:disabled {
  opacity: 0.4;
  cursor: default;
  border-color: var(--line-2);
}
.pg-car-nav button.nx {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.pg-car-nav button.nx:disabled {
  background: var(--surface);
  color: var(--ink);
}
html:not(.js) .pg-car-nav {
  display: none;
}

/* ---------- two lists side by side ---------- */
.pg-lists-in {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 64px;
}
.pg-lists h3 {
  font: 600 18px/1.3 var(--text);
}
.pg-lists ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.pg-lists li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.pg-lists li .pg-ic {
  color: var(--accent);
  margin-top: 3px;
}

/* ---------- cards ---------- */
.pg-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pg-card-grid.c2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pg-card-grid.c4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition:
    border-color 0.16s var(--ease),
    box-shadow 0.16s var(--ease);
}
.pg-card:has(h3 a):hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-1);
}
.pg-card > .pg-ic {
  color: var(--accent);
}
.pg-card h3 {
  font: 600 18px/1.3 var(--text);
}
.pg-card h3 a {
  text-decoration: none;
}
.pg-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
}
.pg-card h3 a:focus-visible {
  outline: none;
}
.pg-card:has(h3 a:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.pg-card p {
  color: var(--ink-2);
  font-size: 15.5px;
}
.pg-card small {
  color: var(--ink-3);
  font-size: 13px;
  margin-top: auto;
}
/* resources: dark cards on the night band */
.t-night .pg-card {
  background: var(--night-2);
  border-color: var(--night-line);
}
.t-night .pg-card:has(h3 a):hover {
  border-color: var(--night-ink-2);
  box-shadow: none;
}
.t-night .pg-card > .pg-ic {
  color: #9db0ff;
}
.t-night .pg-card small {
  color: var(--night-ink-2);
}
.t-night .pg-tag {
  background: var(--night-3);
  color: var(--night-ink-2);
}
.pg-res-art {
  align-self: stretch;
  height: 120px;
  border-radius: 10px;
  margin: -8px -8px 8px;
  background: var(--night-3);
  display: grid;
  place-items: center;
  color: #9db0ff;
}
.pg-res-art .pg-ic {
  width: 40px;
  height: 40px;
  stroke-width: 1.3;
}

/* ---------- logos ---------- */
.pg-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pg-logo-c {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  text-decoration: none;
  height: 100%;
}
a.pg-logo-c:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-1);
}
.pg-logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg);
  flex: none;
}
.pg-logo img {
  max-width: 26px;
  max-height: 26px;
  width: auto;
  height: auto;
}
/* feedback 19: wordmarks never in a 44 px tile; 120x44 with the logo at most 96x24 */
.pg-logo.wm {
  width: 120px;
}
.pg-logo.wm img {
  max-width: 96px;
  max-height: 24px;
}
.pg-logo.none .pg-ic {
  width: 22px;
  height: 22px;
  color: var(--ink-3);
}
.pg-logo-t b {
  display: block;
  font-weight: 600;
}
.pg-logo-t .pg-tag {
  margin-top: 4px;
}
.pg-logo-t small {
  display: block;
  color: var(--ink-2);
  font-size: 13.5px;
  margin-top: 4px;
}
/* strip: a row of marks under the hero (Klaviyo: "Trusted by"); ours shows what you can connect */
.pg-strip {
  padding: 56px 0 8px;
  text-align: center;
}
.pg-strip p {
  font-size: 14px;
  color: var(--ink-2);
}
.pg-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 44px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.pg-strip li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink-2);
  font-size: 15px;
}
.pg-strip img {
  height: 22px;
  width: auto;
}
.pg-strip .pg-strip-none {
  color: var(--ink-3);
}
.pg-strip .pg-tag {
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.pg-faq-in {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.pg-faq-in .pg-h2 {
  font-size: clamp(32px, 3.6vw, 48px);
}
.pg-qa details {
  border-bottom: 1px solid var(--line);
}
.pg-qa details:first-child {
  border-top: 1px solid var(--line);
}
.t-night .pg-qa details,
.t-night .pg-qa details:first-child {
  border-color: var(--night-line);
}
.pg-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 16px 4px;
  font: 600 18px/1.35 var(--text);
  cursor: pointer;
  list-style: none;
}
.pg-qa summary::-webkit-details-marker {
  display: none;
}
.pg-qa summary:hover {
  color: var(--accent);
}
.t-night .pg-qa summary:hover {
  color: #b9c6ff;
}
.pg-plus {
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.pg-qa details[open] .pg-plus {
  transform: rotate(0);
}
.pg-qa-a {
  padding: 0 4px 22px;
}
.pg-qa-a p {
  color: var(--ink-2);
  max-width: 62ch;
}
.pg-qa-a p + p {
  margin-top: 10px;
}
.t-night .pg-qa-a p {
  color: var(--night-ink-2);
}
.t-night .pg-qa-a a {
  color: var(--night-ink);
}

/* ---------- closing CTA ---------- */
.pg-cta {
  background: var(--night);
  color: var(--night-ink);
  padding: 128px 0 120px;
  text-align: center;
  border-bottom: 1px solid var(--night-line);
}
.pg-cta h2 {
  color: var(--night-ink);
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 16ch;
  margin: 0 auto;
}
.pg-cta p {
  color: var(--night-ink-2);
  max-width: 52ch;
  margin: 20px auto 0;
  font-size: 18px;
}
.pg-cta .btn-quiet {
  color: var(--night-ink);
  border-color: var(--night-line);
}
.pg-cta .btn-quiet:hover {
  border-color: var(--night-ink-2);
}
.pg-sec.t-night + .pg-cta {
  padding-top: 40px;
}

/* ---------- note ---------- */
.pg-note-wrap {
  padding: 8px 0;
}
.pg-note {
  display: flex;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 15px;
}
.pg-note b {
  flex: none;
  font-weight: 600;
}
.pg-note p {
  color: var(--ink-2);
  flex: 1 1 280px;
  max-width: 72ch;
}
.pg-note.k-planned,
.pg-note.k-tbd {
  border-color: var(--accent-soft);
  background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface));
}
.pg-note.k-example {
  border-color: #f0dfae;
  background: #fff9ea;
}

/* ---------- prose / article ---------- */
.pg-prose {
  max-width: 720px;
}
.pg-prose > p,
.pg-prose li {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
}
.pg-prose > p + p {
  margin-top: 18px;
}
.pg-prose h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 64px 0 18px;
  scroll-margin-top: calc(var(--header) + 72px);
}
.pg-prose h2:first-child {
  margin-top: 0;
}
.pg-prose h3 {
  font: 600 21px/1.3 var(--text);
  margin: 36px 0 12px;
}
.pg-prose ul,
.pg-prose ol {
  margin: 18px 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}
.pg-prose li::marker {
  color: var(--ink-3);
}
.pg-prose blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
}
.pg-prose blockquote p {
  font-size: 20px;
  line-height: 1.5;
}
.pg-prose blockquote footer {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 8px;
}
.pg-prose a {
  color: var(--accent-press);
  text-underline-offset: 3px;
}
.pg-prose .pg-note,
.pg-prose .pg-mock,
.pg-prose .pg-tbl {
  margin: 28px 0;
}
/* legal texts (research: offentlig-supplement §6): H1 40/600 lh 48, numbered H2 22-32/600, body 18/27, measure 841 */
.pg-t-legal .pg-hero h1 {
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: none;
}
.pg-t-legal .pg-hero-lede {
  font-size: 18px;
  line-height: 27px;
  max-width: 841px;
}
.pg-t-legal .pg-prose {
  max-width: 841px;
}
.pg-t-legal .pg-prose > p,
.pg-t-legal .pg-prose li,
.pg-t-legal .pg-prose dd {
  font-size: 18px;
  line-height: 27px;
}
.pg-t-legal .pg-prose h2 {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 48px 0 14px;
}
.pg-t-legal .pg-prose h2:first-child {
  margin-top: 0;
}
.pg-art {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.pg-art.notoc {
  grid-template-columns: minmax(0, 1fr);
}
.pg-toc {
  position: sticky;
  top: calc(var(--header) + 80px);
  font-size: 14.5px;
}
.pg-toc b {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
}
.pg-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.pg-toc a {
  display: block;
  padding: 7px 0 7px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--ink-2);
  text-decoration: none;
}
.pg-toc a:hover {
  color: var(--ink);
}
.pg-toc a.on {
  color: var(--ink);
  border-left-color: var(--accent);
  font-weight: 600;
}
.pg-dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 0;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}
.pg-dl dt,
.pg-dl dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.pg-dl dt {
  font-weight: 600;
  padding-right: 16px;
}
.pg-dl dd {
  color: var(--ink-2);
}

/* ---------- table ---------- */
.pg-tbl {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.pg-tbl:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.pg-tbl table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 520px;
}
.pg-tbl caption {
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.pg-tbl th,
.pg-tbl td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.pg-tbl tr:last-child th,
.pg-tbl tr:last-child td {
  border-bottom: 0;
}
.pg-tbl thead th {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
  background: var(--bg);
}
.pg-tbl tbody th {
  font-weight: 600;
}
.pg-tbl .hi {
  background: color-mix(in srgb, var(--accent-soft) 50%, transparent);
}

/* ---------- demo form ---------- */
.pg-form-in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.pg-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.pg-field label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}
.pg-field .opt {
  font-weight: 400;
  color: var(--ink-3);
}
.pg-field input:not([type='checkbox']),
.pg-field textarea,
.pg-field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--bg);
  font: inherit;
  color: inherit;
}
.pg-field input:focus,
.pg-field textarea:focus,
.pg-field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.pg-field.cb {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pg-field.cb input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--accent);
}
.pg-field.cb label {
  font-weight: 400;
  margin: 0;
}
.pg-form .btn {
  justify-self: start;
}
.pg-form-err {
  padding: 12px 14px;
  border-radius: 8px;
  border-left: 3px solid var(--accent-press);
  background: var(--bg-2);
  color: var(--ink);
  font-weight: 600;
}
/* Without JS the function redirects to ?error=...#form-error, and :target shows the message. */
.pg-form-err:target {
  display: block;
}
.pg-form-err a,
.pg-form-msg a {
  color: inherit;
}
.pg-form-msg {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-press);
  font-weight: 600;
}

/* ---------- mocks: product pictures, always labelled example data ---------- */
.pg-mock {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  text-align: left;
}
.pg-mock-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.pg-mock-h b {
  font-weight: 600;
  margin-right: auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pg-mock figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}
.pg-mock-f {
  padding: 0 14px 14px;
  font-size: 13px;
  color: var(--ink-2);
}
.pg-mail-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}
.pg-mail-meta b {
  color: var(--ink);
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}
.pg-mail-pre {
  padding: 8px 14px 0;
  font-size: 12.5px;
  color: var(--ink-3);
}
.pg-mail-body {
  padding: 16px 16px 18px;
}
.pg-mail-body::before {
  content: '';
  display: block;
  height: 84px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-2));
  margin-bottom: 14px;
}
.pg-mail-body h4 {
  font: 600 17px/1.25 var(--text);
}
.pg-mail-body p {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-top: 6px;
}
.pg-mail-btn {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  margin-top: 14px;
}
.pg-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 14px 18px;
  background: var(--bg);
}
.pg-bub {
  max-width: 84%;
  padding: 9px 12px;
  font-size: 13.5px;
  line-height: 1.4;
  border-radius: 16px;
}
.pg-bub.out {
  align-self: flex-end;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 16px 16px 4px 16px;
}
.pg-bub.in {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 4px;
}
.pg-chat.wa {
  background: #eef2ea;
}
.pg-chat.wa .pg-bub.out {
  background: #dcefd9;
  color: var(--ink);
  border-radius: 12px 12px 4px 12px;
}
.pg-chat.wa .pg-bub.in {
  border-radius: 12px 12px 12px 4px;
}
.pg-wa-btns {
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 84%;
}
.pg-wa-btns span {
  display: block;
  text-align: center;
  padding: 8px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--wa);
  font-weight: 600;
  font-size: 13px;
}
.pg-flow {
  list-style: none;
  margin: 0;
  padding: 14px;
  display: grid;
  gap: 0;
  background:
    radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0/16px 16px,
    var(--bg);
}
.pg-flow li {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.pg-flow li + li {
  margin-top: 18px;
}
.pg-flow li + li::before {
  content: '';
  position: absolute;
  left: 24px;
  top: -19px;
  width: 2px;
  height: 18px;
  background: var(--line-2);
}
.pg-flow small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 500;
}
.pg-flow-ic {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg-2);
  color: var(--ink-2);
  flex: none;
}
.pg-flow .k-trigger .pg-flow-ic {
  background: var(--accent-soft);
  color: var(--accent);
}
.pg-flow .k-wait {
  background: transparent;
  border-style: dashed;
}
.pg-flow .k-split .pg-flow-ic {
  background: #fff3d6;
  color: #6b4a00;
}
.pg-flow .k-end .pg-flow-ic {
  background: #e2f1e8;
  color: var(--ok);
}
.pg-kv {
  margin: 0;
  padding: 6px 14px 10px;
}
.pg-kv div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.pg-kv div:last-child {
  border-bottom: 0;
}
.pg-kv dt {
  color: var(--ink-2);
}
.pg-kv dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.pg-fakeform {
  padding: 18px 16px;
  display: grid;
  gap: 10px;
}
.pg-fakeform h4 {
  font: 600 18px/1.25 var(--display);
}
.pg-fakeform p {
  font-size: 13.5px;
  color: var(--ink-2);
}
.pg-fakein {
  display: block;
  height: 40px;
  line-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--ink-3);
  font-size: 13.5px;
  background: var(--bg);
}
.pg-fakecheck {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-2);
}
.pg-fakecheck i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--accent);
  background: var(--accent);
  flex: none;
  margin-top: 1px;
}
.pg-fakeform .pg-mail-btn {
  justify-content: center;
  height: 40px;
}
.pg-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 16px 14px;
}
.pg-seg-rule {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-size: 13px;
  font-weight: 500;
}
.pg-seg-and {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
}
.pg-review {
  padding: 16px;
}
.pg-stars {
  display: flex;
  gap: 2px;
  color: #c98a00;
}
.pg-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.pg-review p {
  margin-top: 10px;
  font-size: 14px;
}
.pg-review small {
  display: block;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 12.5px;
}
.pg-code {
  margin: 0;
  padding: 16px;
  background: var(--night);
  color: var(--night-ink);
  font: 12.5px/1.6 var(--mono);
  overflow-x: auto;
  white-space: pre;
}
.pg-mock .pg-code {
  border-radius: 0;
}
.pg-prose .pg-code {
  border-radius: 12px;
}
.pg-code code {
  background: none;
  padding: 0;
  color: inherit;
  font: inherit;
}
.pg-ab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
}
.pg-ab > div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: var(--bg);
}
.pg-ab > div.win {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--surface);
}
.pg-ab small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 600;
}
.pg-ab b {
  display: block;
  font-size: 13.5px;
  margin-top: 4px;
  line-height: 1.35;
}
.pg-ab span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 8px;
}
.pg-tpl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
}
.pg-tpl > div {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
}
.pg-tpl > div::before {
  content: '';
  display: block;
  height: 72px;
  background: linear-gradient(160deg, var(--accent-soft), var(--bg-2));
}
.pg-tpl > div:nth-child(2)::before {
  background: linear-gradient(160deg, #e2f1e8, var(--bg-2));
}
.pg-tpl > div:nth-child(3)::before {
  background: linear-gradient(160deg, #fff3d6, var(--bg-2));
}
.pg-tpl b {
  display: block;
  padding: 8px 10px 0;
  font-size: 12.5px;
  line-height: 1.3;
}
.pg-tpl span {
  display: block;
  padding: 2px 10px 10px;
  font-size: 11.5px;
  color: var(--ink-3);
}
.pg-inbox {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.pg-inbox li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2px 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.pg-inbox li:last-child {
  border-bottom: 0;
}
.pg-inbox i {
  grid-row: span 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  align-self: center;
}
.pg-inbox li.read i {
  background: transparent;
}
.pg-inbox b {
  font-size: 13.5px;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pg-inbox em {
  font-style: normal;
  font-size: 12px;
  color: var(--ink-3);
}
.pg-inbox span {
  grid-column: 2/4;
  font-size: 12.5px;
  color: var(--ink-2);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pg-bars {
  padding: 12px 14px 14px;
  display: grid;
  gap: 10px;
}
.pg-bars > div {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 9fr) auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.pg-bars span {
  color: var(--ink-2);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pg-bars i {
  display: block;
  height: 10px;
  border-radius: 0 4px 4px 0;
  background: var(--accent);
  width: var(--w, 0%);
}
.pg-bars b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.pg-tl {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 36px;
}
.pg-tl > li {
  position: relative;
  padding-left: 28px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 8px 32px;
}
.pg-tl > li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.pg-tl time {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 600;
}
.pg-tl h3 {
  font: 600 19px/1.3 var(--text);
}
.pg-tl p {
  color: var(--ink-2);
  margin-top: 6px;
}
.pg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
@media (max-width: 760px) {
  .pg-tl > li {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- two or three pictures side by side ---------- */
.pg-duo {
  display: grid;
  gap: 16px;
  align-items: start;
  width: 100%;
}
.pg-duo.n2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pg-duo.n3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pg-hero-wide > .pg-mock,
.pg-hero-wide > .pg-duo {
  max-width: 760px;
  margin: 0 auto;
}
.pg-stage > .pg-duo {
  max-width: 640px;
}
.pg-strip img.mk {
  height: 24px;
}
.pg-strip .pg-more {
  margin-top: 18px;
}
.pg-tabs.side .pg-tabs-text .pg-h2 {
  margin-bottom: 28px;
}
.pg-tabs.side .pg-tabp {
  margin-top: 20px;
}
.pg-tabs.side .pg-tabs-list {
  border-bottom: 1px solid var(--line);
}
/* without JS every tab panel and picture shows, one after the other */
html:not(.js) .pg-tabs-list {
  display: none;
}
html:not(.js) [data-tabs] .pg-stage[hidden] {
  display: grid;
}
html:not(.js) [data-tabs] .pg-tabp[hidden] {
  display: block;
}
html:not(.js) .pg-tabs-vis {
  gap: 24px;
}
html:not(.js) .pg-tabs-vis > .pg-stage {
  grid-area: auto;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pg-pts.n4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pg-card-grid.c4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .pg-hero.has-mock .pg-hero-in,
  .pg-split-in,
  .pg-price-in,
  .pg-faq-in,
  .pg-form-in,
  .pg-tabs.side .pg-tabs-grid,
  .pg-art {
    grid-template-columns: minmax(0, 1fr);
  }
  .pg-split.flip .pg-split-copy {
    order: 0;
  }
  .pg-pts.n3,
  .pg-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pg-car.c3 .pg-car-track {
    grid-auto-columns: calc((100% - 32px) / 2);
  }
  .pg-toc {
    position: static;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    background: var(--surface);
  }
}
@media (max-width: 760px) {
  .pg-sec {
    padding: 88px 0;
  }
  .pg-sec.t-night + .pg-sec,
  .pg-sec + .pg-sec.t-night,
  .pg-sec.t-soft + .pg-sec,
  .pg-sec + .pg-sec.t-soft {
    padding-top: 88px;
  }
  .pg-hero {
    padding: 36px 0 72px;
  }
  .pg-hero.center {
    padding-bottom: 0;
  }
  .pg-hero-wide {
    margin-top: 44px;
    padding-top: 28px;
  }
  .pg-hero-wide::before {
    border-radius: 20px 20px 0 0;
  }
  .pg-head {
    margin-bottom: 40px;
  }
  .pg-pts.n2,
  .pg-pts.n3,
  .pg-pts.n4,
  .pg-card-grid,
  .pg-card-grid.c2,
  .pg-card-grid.c4,
  .pg-lists-in {
    grid-template-columns: minmax(0, 1fr);
  }
  .pg-car-track,
  .pg-car.c3 .pg-car-track {
    grid-auto-columns: 86%;
    gap: 16px;
  }
  .pg-stage {
    padding: 28px 16px;
    min-height: 0;
    border-radius: 16px;
  }
  .pg-tabs-list {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-left: calc(var(--gut) * -1);
    margin-right: calc(var(--gut) * -1);
    padding: 0 var(--gut);
  }
  .pg-tabs-list::-webkit-scrollbar {
    display: none;
  }
  .pg-tab {
    white-space: nowrap;
  }
  .pg-tabs.side .pg-tabs-list {
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .pg-tabs.side .pg-tab {
    white-space: normal;
  }
  .pg-qa summary {
    font-size: 17px;
  }
  .pg-cta {
    padding: 96px 0 88px;
  }
  .pg-dl {
    grid-template-columns: minmax(0, 1fr);
  }
  .pg-dl dt {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .pg-pc-price {
    text-align: left;
  }
  .pg-duo.n3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .pg-duo.n3 > :nth-child(n + 2) {
    display: none;
  }
}
@media (max-width: 560px) {
  .pg-duo.n2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .pg-duo.n2 > :nth-child(2) {
    display: none;
  }
}
@media (max-width: 560px) {
  .pg-hero h1 {
    font-size: 40px;
    line-height: 1.02;
  }
  .pg-hero-lede {
    font-size: 17px;
  }
  .pg-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .pg-ctas .btn {
    width: 100%;
  }
  .pg-tpl {
    grid-template-columns: 1fr 1fr;
  }
  .pg-tpl > div:nth-child(3) {
    display: none;
  }
  .pg-ab {
    grid-template-columns: 1fr;
  }
}
/* ---------- launch stub: a page that opens at launch ---------- */
.pg-stub {
  padding: clamp(40px, 7vh, 88px) 0 clamp(56px, 10vh, 112px);
}
.pg-stub-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  grid-template-areas: 'copy side' 'rest side';
  column-gap: clamp(40px, 6vw, 96px);
  align-content: center;
  min-height: min(540px, calc(100svh - var(--header, 72px) - 120px));
}
/* the form sits between the two text parts in the DOM, so the tab order follows what you see */
.pg-stub-copy {
  grid-area: copy;
  align-self: end;
}
.pg-stub-rest {
  grid-area: rest;
  align-self: start;
}
.pg-stub-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-press);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
}
.pg-stub-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
.pg-stub h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 14ch;
  text-wrap: balance;
}
.pg-stub-lede {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
}
.pg-stub-facts {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.pg-stub-facts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.45;
}
.pg-stub-facts .pg-ic {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-press);
}
.pg-stub-rest .pg-more {
  margin-top: 26px;
}
.pg-stub-side {
  grid-area: side;
  align-self: center;
  padding: 20px;
  border-radius: 24px;
  background: var(--accent-soft);
}
.pg-stub-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.pg-stub-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.pg-stub-card .pg-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.pg-stub-card .pg-field.cb label {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.pg-stub-card .pg-form .btn {
  justify-self: stretch;
  min-height: 48px;
}
/* one column: the form comes right after the lede, the facts under it */
@media (max-width: 980px) {
  .pg-stub-in {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'copy' 'side' 'rest';
    min-height: 0;
  }
  .pg-stub-side {
    max-width: 560px;
    margin-top: 28px;
  }
}
@media (max-width: 560px) {
  .pg-stub {
    padding: 28px 0 56px;
  }
  .pg-stub h1 {
    font-size: 38px;
  }
  .pg-stub-pill {
    margin-bottom: 16px;
  }
  .pg-stub-lede {
    margin-top: 16px;
    font-size: 17px;
  }
  .pg-stub-facts {
    margin-top: 22px;
    gap: 10px;
  }
  .pg-stub-facts li {
    font-size: 15px;
  }
  .pg-stub-side {
    margin: 0 calc(var(--gut, 16px) * -0.5);
    padding: 10px;
    border-radius: 20px;
  }
  .pg-stub-card {
    padding: 20px;
    border-radius: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .pg-tabs-vis > .pg-stage:not([hidden]) {
    animation: none;
  }
}
