/* =====================================================================
   Dazza site layer, on top of styles.css (the homepage's design system).
   The header's menus, the wider footer, and the building blocks inner
   pages are made from. Same tokens, same flat borders, same motion.
   ===================================================================== */

/* ---------- Header: menu triggers sit with the links ---------- */
.desktop-nav a,
.nav-trigger {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 8px;
  transition: background-color 0.25s;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  line-height: 1.25;
}
.nav-trigger:not([aria-current]):hover,
.nav-trigger:not([aria-current])[aria-expanded="true"] {
  background: #f1f2ec;
}
.nav-caret {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.45s var(--ease-out), margin 0.45s var(--ease-out);
}
.nav-trigger[aria-expanded="true"] .nav-caret {
  margin-top: 3px;
  transform: rotate(225deg);
}
.nav-right .nav-signin {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 2px;
  white-space: nowrap;
}
.nav-signin::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav-signin:hover::after,
.nav-signin:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Desktop menus: one card drops from the header ---------- */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(1180px, calc(100vw - 48px));
  padding-top: 8px;
  transform: translateX(-50%);
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s 0.35s;
}
.site-header.mega-open .mega {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}
.site-header.mega-open:not(.is-floating) .header-shell {
  background: #fff;
}
.site-header.mega-open::before {
  opacity: 1;
  background: rgba(28, 30, 27, 0.08);
}
.mega-card {
  position: relative;
  height: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    height 0.55s var(--ease-out),
    opacity 0.25s,
    transform 0.5s var(--ease-out);
}
.site-header.mega-open .mega-card {
  opacity: 1;
  transform: none;
}
.mega-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition:
    opacity 0.22s,
    transform 0.4s var(--ease-out),
    visibility 0s 0.22s;
}
.mega-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.32s 0.06s,
    transform 0.5s var(--ease-out) 0.06s,
    visibility 0s;
}
.mega-body {
  display: grid;
  gap: 26px;
  padding: 24px 24px 22px;
}
.mega-body--three {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 252px;
}
#mega-product .mega-body--three {
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) 252px;
}
.mega-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mega-starts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: auto 0 0;
  padding-top: 14px;
}
.mega-starts a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
  transition:
    background-color 0.25s,
    border-color 0.25s;
}
.mega-starts a .mono {
  font-size: 9.5px;
  color: var(--muted);
}
.mega-starts a span:last-child {
  margin-left: auto;
  font-size: 15px;
  transition: transform 0.45s var(--ease-out);
}
.mega-starts a:hover {
  background: var(--paper);
}
.mega-starts a:hover span:last-child {
  transform: translate(2px, -2px);
}
.mega-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 8px 10px;
  font-size: 10px;
  color: var(--muted);
}
.mega-label .cross {
  font-size: 16px;
  color: var(--ink);
}
.mega-label--gap {
  margin-top: 18px;
}
.mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.mega-list--two {
  grid-template-columns: 1fr 1fr;
  column-gap: 4px;
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 9px;
  transition: background-color 0.25s;
}
a.mega-item:hover,
a.mega-item:focus-visible {
  background: var(--paper);
}
.mega-item:focus-visible {
  outline-offset: 0;
}
.mega-ic {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition:
    background-color 0.25s,
    border-color 0.25s;
}
a.mega-item:hover .mega-ic,
a.mega-item:focus-visible .mega-ic,
a.mega-item[aria-current] .mega-ic {
  background: var(--yellow);
  border-color: #e6df5e;
}
.mega-text {
  min-width: 0;
  padding-top: 1px;
}
.mega-text strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.mega-text > span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}
.mega-item.is-soon {
  cursor: default;
}
.mega-item.is-soon .mega-ic,
.mega-item.is-soon .mega-text {
  opacity: 0.55;
}
.mega-soon {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px 0;
  border: 1px solid #efe38a;
  border-radius: 4px;
  background: #fdf7b8;
  color: #6c6200;
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: 0.6px;
  vertical-align: 2px;
}
.mega-feature {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background-color: #f8f9f4;
  overflow: hidden;
}
.mega-feature-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
}
.mega-feature-top .status-dot {
  background: var(--yellow);
  border: 1px solid #c9c24a;
}
.mega-mini {
  display: block;
  margin: 18px 0 16px;
}
.mega-mini .cv-card {
  position: relative;
  display: block;
}
.mega-feature:hover .cv-card,
.mega-feature:focus-visible .cv-card {
  outline-color: var(--yellow);
  border-color: #ddd456;
}
.mega-feature-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  font-size: 13.5px;
}
.mega-feature-foot strong {
  font-weight: 550;
}
.mega-feature-foot span,
.mega-foot a span {
  font-size: 17px;
  transition: transform 0.45s var(--ease-out);
}
.mega-feature:hover .mega-feature-foot span,
.mega-foot a:hover span {
  transform: translate(2px, -2px);
}
.mega-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 12.5px;
  color: var(--muted);
  transition:
    border-color 0.25s,
    outline-color 0.25s;
  outline: 2px solid transparent;
}
.mega-feature:hover .mega-search {
  border-color: #ddd456;
  outline-color: var(--yellow);
}
.mega-search-hits {
  display: grid;
  margin: 6px 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.mega-search-hits span {
  padding: 7px 10px;
  border-bottom: 1px solid #f0f1ec;
  font-size: 12px;
}
.mega-search-hits span:last-child {
  border-bottom: 0;
}
.mega-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 24px 13px 34px;
  border-top: 1px solid var(--line);
  background: #fbfbf8;
}
.mega-foot .mono {
  font-size: 10px;
  color: var(--muted);
}
.mega-foot a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
}

/* ---------- Mobile menu: groups open in place ---------- */
@media (max-width: 650px) {
  .mobile-nav-inner {
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .mnav-group,
  .mnav-actions {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 0.35s,
      transform 0.5s var(--ease-out);
  }
  .site-header.menu-open .mnav-group,
  .site-header.menu-open .mnav-actions {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.1s + var(--i) * 0.05s);
  }
  .mnav-group {
    border-top: 1px solid var(--line);
  }
  .mnav-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border: 0;
    background: transparent;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -0.48px;
    text-align: left;
  }
  .mnav-plus {
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.45s var(--ease-out);
  }
  .mnav-group.is-open .mnav-plus {
    transform: rotate(45deg);
  }
  .mnav-list {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ease-out);
  }
  .mnav-group.is-open .mnav-list {
    grid-template-rows: 1fr;
  }
  .mnav-list-inner {
    min-height: 0;
    overflow: hidden;
  }
  .mnav-section {
    padding: 0 0 14px;
  }
  .mnav-section > .mono {
    margin: 0 0 4px;
    font-size: 10px;
    color: var(--muted);
  }
  .mobile-nav .mnav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    padding: 9px 0;
    border-top: 0;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
    opacity: 1;
    transform: none;
  }
  .mobile-nav .mnav-link .icon {
    color: var(--muted);
  }
  .mobile-nav .mnav-link[aria-current] .icon {
    color: var(--ink);
  }
  .mnav-link.is-soon {
    color: var(--muted);
  }
  .mnav-actions {
    display: grid;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }
  .mobile-nav .mnav-actions a {
    opacity: 1;
    transform: none;
    border-top: 0;
    letter-spacing: 0;
  }
  .mobile-nav .mnav-actions .button {
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 550;
    color: #fff;
  }
  .mobile-nav .mnav-actions .button:hover {
    color: var(--ink);
  }
  .mobile-nav .mnav-actions .mnav-signin {
    justify-content: center;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 15px;
    font-weight: 550;
  }
  .nav-right .nav-signin {
    display: none;
  }
}
@media (max-width: 820px) and (min-width: 651px) {
  .nav-right .nav-signin {
    display: none;
  }
}
@media (max-width: 900px) and (min-width: 651px) {
  .nav-trigger {
    font-size: 13px;
    padding: 8px 10px;
    gap: 6px;
  }
}

/* ---------- Footer: four columns and the small print ---------- */
.footer-top--wide {
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 36px;
}
.footer-top--wide .footer-motion {
  margin-top: 26px;
}
.footer-top--wide .footer-note {
  margin-top: 14px;
}
.footer-legal {
  display: flex;
  gap: 18px;
}
.footer-legal a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom > .footer-legal a {
  color: var(--muted);
}
@media (max-width: 1150px) {
  .footer-top--wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 44px;
  }
  .footer-top--wide .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 35px;
  }
  .footer-top--wide .footer-brand p {
    margin-top: 0;
  }
  .footer-top--wide .footer-motion,
  .footer-top--wide .footer-note {
    margin: 0;
  }
  .footer-top--wide .footer-motion {
    margin-bottom: 0;
  }
}
@media (max-width: 900px) {
  .footer-motto {
    display: none;
  }
}
@media (max-width: 650px) {
  .footer-top--wide {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }
  .footer-top--wide > div:last-child {
    grid-column: auto;
    display: block;
  }
  .footer-top--wide .footer-brand {
    gap: 12px 28px;
  }
  .footer-top--wide .footer-note {
    display: none;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .footer-legal {
    order: 3;
    width: 100%;
    gap: 16px;
  }
}

/* =====================================================================
   Inner pages
   ===================================================================== */
.page-top {
  padding-top: 8px;
}
.js .rise.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s var(--ease-out) var(--rd, 0s),
    transform 1s var(--ease-out) var(--rd, 0s);
}
.js .rise.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10.5px;
  color: var(--muted);
}
.crumbs .cross {
  color: var(--ink);
}
.crumbs a {
  color: var(--ink);
  transition: color 0.25s;
}
.crumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.crumbs .sep {
  color: #b8bcae;
}

/* ---------- Page hero: copy on the left, a live canvas on the right ---------- */
.ph {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 64px;
  align-items: center;
  padding: 64px 0 0;
}
.ph h1 {
  margin: 30px 0 26px;
  font-size: clamp(44px, 4.9vw, 74px);
  line-height: 0.99;
  letter-spacing: -0.043em;
  font-weight: 500;
}
.ph-lede {
  max-width: 470px;
  font-size: 18px;
  line-height: 1.55;
  color: #64685e;
}
.ph-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 34px;
  margin-top: 32px;
}
.ph-visual,
.split-visual {
  position: relative;
  height: 540px;
  border-radius: 12px;
  background-color: #f3f4ee;
  background-image: radial-gradient(#d2d6c7 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: 8px 8px;
  overflow: hidden;
  padding: 28px 30px 33px;
}
.ph-visual .cv,
.split-visual .cv {
  top: 56px;
  bottom: 78px;
}
.ph-visual--yellow {
  background-color: #faf9df;
  background-image: radial-gradient(#e2dfa5 1px, transparent 1px);
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact {
  padding: 24px 24px 22px 0;
}
.fact + .fact {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.fact strong {
  display: block;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.fact .mono {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
}

/* ---------- Section heads used across pages ---------- */
.sec {
  padding: 110px 0 120px;
  border-top: 1px solid var(--line);
}
.sec--flush {
  border-top: 0;
}
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}
.sec-head h2 {
  margin-top: 34px;
}
.sec-head > p {
  max-width: 330px;
  padding-bottom: 6px;
  font-size: 14px;
  color: var(--muted);
}
.sec h2.sec-title--small {
  font-size: clamp(36px, 3.6vw, 52px);
  letter-spacing: -1.4px;
}

/* ---------- Split rows: copy and a canvas side by side ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: center;
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.split--flip .split-copy {
  order: 2;
}
.split h2 {
  margin: 30px 0 22px;
  font-size: clamp(38px, 4vw, 60px);
  letter-spacing: -1.8px;
}
.split-copy > p {
  max-width: 440px;
  font-size: 16px;
  color: var(--muted);
}
.split-copy .quiet-list {
  margin-top: 26px;
}
.split-copy .quiet-list li {
  font-size: 13px;
}
.split-visual {
  height: 460px;
}
.split-copy .text-link {
  margin-top: 14px;
}

/* ---------- Detail grid: the things in the box ---------- */
.dg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
}
.dg-item {
  padding: 22px 0 38px;
  border-top: 1px solid var(--line);
}
.dg-item > .mono {
  font-size: 10px;
  color: var(--muted);
}
.dg-item h3 {
  margin: 16px 0 8px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.dg-item p {
  max-width: 340px;
  font-size: 14px;
  color: var(--muted);
}
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px 1px;
  border: 1px solid #efe38a;
  border-radius: 5px;
  background: #fdf7b8;
  color: #6c6200;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 450;
  letter-spacing: 0.6px;
  vertical-align: 3px;
}
.tag--grey {
  border-color: #e6e8df;
  background: #f2f3ed;
  color: #6b6e66;
}

/* ---------- Tiles: three choices side by side ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition:
    border-color 0.3s,
    outline-color 0.3s;
  outline: 2px solid transparent;
}
.tile--on {
  border-color: #ddd456;
  outline-color: var(--yellow);
}
.tile > .mono {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.tile h3 {
  margin: 34px 0 10px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.tile p {
  font-size: 14px;
  color: var(--muted);
}
.tile-foot {
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tile-foot .status-dot {
  width: 5px;
  height: 5px;
}
.tile--on .tile-foot .status-dot {
  background: var(--yellow);
  border: 1px solid #c9c24a;
}

/* ---------- Code: flat panels with a copy button ---------- */
.code {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfbf8;
  overflow: hidden;
}
.code-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 8px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.code-copy {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.8px;
  transition:
    background-color 0.25s,
    border-color 0.25s;
}
.code-copy:hover {
  background: var(--yellow);
  border-color: #e6df5e;
}
.code pre {
  margin: 0;
  padding: 14px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink);
}
.code pre code {
  font-family: inherit;
}
.code .c-k {
  color: #6c6200;
  background: #fdf7b8;
}
.code .c-m {
  color: #8a8f80;
}

/* ---------- Steps: how to get going ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: step;
  border-top: 1px solid var(--ink);
}
.steps--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.step {
  padding: 20px 28px 0 0;
}
.step + .step {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.step > .mono {
  font-size: 10px;
  color: var(--muted);
}
.step h3 {
  margin: 44px 0 10px;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.step p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Keep exploring ---------- */
.related {
  padding: 90px 0 110px;
  border-top: 1px solid var(--line);
}
.related .section-top {
  margin-bottom: 30px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: background-color 0.3s;
}
.related-card:hover,
.related-card:focus-visible {
  background: var(--paper);
}
.related-card .mega-ic {
  width: 36px;
  height: 36px;
}
.related-card:hover .mega-ic,
.related-card:focus-visible .mega-ic {
  background: var(--yellow);
  border-color: #e6df5e;
}
.related-card > .mono {
  margin-top: auto;
  padding-top: 40px;
  font-size: 10px;
  color: var(--muted);
}
.related-card strong {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.related-card > span:not(.mono):not(.mega-ic):not(.related-arrow) {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
.related-arrow {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 22px;
  transition: transform 0.45s var(--ease-out);
}
.related-card:hover .related-arrow {
  transform: translate(3px, -3px);
}

/* ---------- FAQ links ---------- */
.faq a {
  text-decoration: underline;
  text-decoration-color: #c9ccbf;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.25s;
}
.faq a:hover {
  text-decoration-color: currentColor;
}

/* ---------- Closing on inner pages ---------- */
.closing-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.closing-note {
  font-size: 14px;
  max-width: 300px;
}

/* ---------- Prose: help articles, legal pages, release notes ---------- */
.prose {
  max-width: 700px;
  font-size: 16.5px;
  line-height: 1.7;
  color: #33362f;
}
.prose > * + * {
  margin-top: 1.05em;
}
.prose h2 {
  margin-top: 2.1em;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
  scroll-margin-top: 110px;
}
.prose h3 {
  margin-top: 1.8em;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  scroll-margin-top: 110px;
}
.prose h2 + *,
.prose h3 + * {
  margin-top: 0.6em;
}
.prose p,
.prose li {
  line-height: 1.7;
}
.prose a {
  text-decoration: underline;
  text-decoration-color: #c9ccbf;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.25s;
}
.prose a:hover {
  text-decoration-color: currentColor;
}
.prose strong {
  font-weight: 600;
  color: var(--ink);
}
.prose ul,
.prose ol {
  padding-left: 1.2em;
}
.prose ul {
  list-style: none;
  padding-left: 0;
}
.prose ul > li {
  position: relative;
  padding-left: 22px;
}
.prose ul > li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
}
.prose li + li {
  margin-top: 0.45em;
}
.prose ol > li::marker {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.prose code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.82em;
}
.prose pre {
  margin-top: 1.3em;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfbf8 !important;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.65;
}
.prose pre code {
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
  color: var(--ink);
}
.prose blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 14px 16px;
  border: 1px solid #efe38a;
  border-radius: 10px;
  background: #fefcea;
  font-size: 15px;
}
.prose blockquote p {
  margin: 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  display: block;
  overflow-x: auto;
}
.prose th,
.prose td {
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 450;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
}
.prose hr {
  margin: 2.4em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* ---------- Document pages: a side index and the text ---------- */
.doc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
  padding: 56px 0 110px;
}
.doc-side {
  position: sticky;
  top: calc(var(--sticky-top, 74px) + 24px);
  transition: top 0.6s var(--ease-out);
}
.doc-side .mono {
  font-size: 10px;
  color: var(--muted);
}
.doc-nav {
  display: grid;
  gap: 2px;
  margin: 12px 0 30px;
}
.doc-nav a {
  display: block;
  padding: 7px 10px;
  margin-left: -10px;
  border-radius: 7px;
  font-size: 14px;
  color: #4a4d45;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.doc-nav a:hover {
  background: var(--paper);
  color: var(--ink);
}
.doc-nav a[aria-current] {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 550;
}
.doc-head {
  max-width: 760px;
  padding-bottom: 34px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
}
.doc-head h1 {
  margin: 26px 0 16px;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.doc-head p {
  max-width: 600px;
  font-size: 18px;
  color: #64685e;
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  font-size: 10px;
  color: var(--muted);
}
.doc-foot {
  max-width: 700px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 64px;
}
.doc-foot a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: background-color 0.25s;
}
.doc-foot a:hover {
  background: var(--paper);
}
.doc-foot a .mono {
  font-size: 10px;
  color: var(--muted);
}
.doc-foot a strong {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.01em;
}
.doc-foot a.next {
  grid-column: 2;
  text-align: right;
}
.doc-help {
  max-width: 700px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--paper);
  font-size: 14px;
}
.doc-help a {
  font-weight: 550;
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (min-width: 1550px) {
  .ph-visual {
    height: 580px;
  }
}
@media (max-width: 1150px) {
  .ph {
    gap: 44px;
  }
  .ph-visual {
    height: 480px;
  }
  .split {
    gap: 48px;
  }
  .doc {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 48px;
  }
}
@media (max-width: 900px) {
  .ph {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 44px;
  }
  .ph-lede {
    max-width: 560px;
  }
  .ph-visual {
    height: 440px;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 56px;
  }
  .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .sec {
    padding: 80px 0 90px;
  }
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 40px;
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 72px 0;
  }
  .split--flip .split-copy {
    order: 0;
  }
  .split-visual {
    height: 400px;
  }
  .dg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile {
    min-height: 0;
  }
  .tile h3 {
    margin-top: 22px;
  }
  .steps,
  .steps--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 0;
  }
  .step,
  .step + .step {
    padding: 20px 20px 30px 0;
    border-left: 0;
    border-top: 1px solid var(--ink);
  }
  .step:nth-child(even) {
    padding-left: 20px;
  }
  .step h3 {
    margin-top: 24px;
  }
  .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .related-card {
    min-height: 0;
  }
  .related-card > .mono {
    padding-top: 26px;
  }
  .doc {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-top: 40px;
  }
  .doc-side {
    position: relative;
    top: auto;
    order: 2;
    padding-top: 30px;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 650px) {
  .ph {
    padding-top: 30px;
    gap: 34px;
  }
  .ph h1 {
    margin: 22px 0 20px;
    font-size: clamp(42px, 12.4vw, 56px);
  }
  .ph-lede {
    font-size: 16.5px;
  }
  .ph-actions {
    margin-top: 26px;
    gap: 6px 26px;
  }
  .ph-visual,
  .split-visual {
    height: 360px;
    padding: 20px 20px 24px;
    margin: 0 -8px;
    border-radius: 10px;
  }
  .ph-visual .cv,
  .split-visual .cv {
    top: 44px;
    bottom: 60px;
  }
  .ph-visual .scene-bottom,
  .split-visual .scene-bottom {
    left: 20px;
    right: 20px;
    bottom: 24px;
  }
  .facts {
    margin-top: 44px;
  }
  .fact,
  .fact + .fact {
    padding: 18px 12px 16px 0;
  }
  .fact:nth-child(even) {
    padding-left: 14px;
  }
  .fact strong {
    font-size: 24px;
  }
  .fact .mono {
    font-size: 9px;
  }
  .sec {
    padding: 64px 0 72px;
  }
  .split {
    padding: 60px 0;
  }
  .split h2 {
    font-size: 38px;
    letter-spacing: -1.2px;
  }
  .dg {
    grid-template-columns: minmax(0, 1fr);
  }
  .dg-item {
    padding-bottom: 28px;
  }
  .steps,
  .steps--three {
    grid-template-columns: minmax(0, 1fr);
  }
  .step,
  .step + .step,
  .step:nth-child(even) {
    padding: 18px 0 26px;
  }
  .related {
    padding: 60px 0 70px;
  }
  .prose {
    font-size: 16px;
  }
  .prose h2 {
    font-size: 24px;
  }
  .doc-head h1 {
    font-size: 40px;
  }
  .doc-head p {
    font-size: 16.5px;
  }
  .doc-foot {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc-foot a.next {
    grid-column: auto;
  }
  .doc-help {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Four-up tiles ---------- */
.tiles--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tile q {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  quotes: "“" "”";
}
@media (max-width: 1150px) {
  .tiles--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .tiles--four {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Code beside steps ---------- */
.code-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.code-grid--one {
  grid-template-columns: minmax(0, 1fr);
}
.split-copy .code {
  margin-top: 26px;
  max-width: 520px;
}
@media (max-width: 900px) {
  .code-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Filters: a pill row that narrows a grid ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 26px;
}
.filters button {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  transition:
    background-color 0.25s,
    border-color 0.25s;
}
.filters button:hover {
  background: var(--paper);
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.filters button span {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.6;
}

/* ---------- Integrations ---------- */
.ig {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ig-card {
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: background-color 0.3s;
}
.ig-card[hidden] {
  display: none;
}
.ig-card:hover {
  background: var(--paper);
}
.ig-top {
  order: -2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ig-top .mono {
  font-size: 9.5px;
  color: var(--muted);
}
.ig-card .tag {
  margin: 0;
  vertical-align: 0;
}
.ig-logos {
  order: -1;
  display: flex;
  gap: 6px;
  margin-top: 18px;
}
.ig-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.ig-card.is-soon .ig-logo {
  opacity: 0.7;
}
.ig-card h3 {
  margin: 14px 0 6px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.ig-card {
  position: relative;
}
.ig-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
}
.ig-card h3 a:focus-visible {
  outline: none;
}
.ig-card:has(h3 a:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.ig-card:hover h3 a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.ig-card p {
  font-size: 13.5px;
  color: var(--muted);
}
.ig-card.is-soon h3,
.ig-card.is-soon p {
  opacity: 0.7;
}
@media (max-width: 1150px) {
  .ig {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .ig {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .ig {
    grid-template-columns: minmax(0, 1fr);
  }
  .ig-card {
    min-height: 0;
  }
  .ig-card h3 {
    margin-top: 12px;
  }
  .ig-logos {
    margin-top: 14px;
  }
}

/* ---------- Data tables: who processes what ---------- */
.dt {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.dt th {
  padding: 0 16px 12px 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 450;
  letter-spacing: 1px;
  text-align: left;
  color: var(--muted);
}
.dt td {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.dt td:first-child {
  font-weight: 550;
  width: 22%;
}
.dt td:last-child {
  color: var(--muted);
  width: 30%;
}
.dt-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 650px) {
  .dt thead {
    display: none;
  }
  .dt,
  .dt tbody,
  .dt tr,
  .dt td {
    display: block;
    width: auto !important;
  }
  .dt tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .dt td {
    padding: 2px 0;
    border: 0;
  }
}
/* Key and value table: About’s facts */
.dt--kv th {
  width: 24%;
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 550;
  letter-spacing: 0;
  color: var(--ink);
  vertical-align: top;
}
.dt--kv tr:first-child th,
.dt--kv tr:first-child td {
  border-top: 1px solid var(--ink);
}
.dt--kv td:last-child {
  width: auto;
  color: var(--muted);
}
.dt--kv a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 650px) {
  .dt--kv th {
    display: block;
    width: auto;
    padding: 0 0 2px;
    border: 0;
  }
  .dt--kv tr:first-child th,
  .dt--kv tr:first-child td {
    border-top: 0;
  }
  .dt--kv tr:first-child {
    border-top: 1px solid var(--ink);
  }
}
.code-after {
  margin-top: -36px;
  padding-bottom: 100px;
}
@media (max-width: 900px) {
  .code-after {
    margin-top: -24px;
    padding-bottom: 70px;
  }
}
.ph h1 .rl-i,
.doc-head h1 .rl-i,
.sec h2 .rl-i,
.split h2 .rl-i {
  text-wrap: balance;
}

/* ---------- Help centre ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.hc-hero {
  position: relative;
  padding: 72px 0 40px;
}
.hc-hero h1 {
  margin: 30px 0 40px;
  font-size: clamp(52px, 7vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.hc-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  height: 66px;
  padding: 0 18px 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  outline: 2px solid transparent;
  transition:
    border-color 0.25s,
    outline-color 0.25s;
}
.hc-search:focus-within {
  border-color: #ddd456;
  outline-color: var(--yellow);
}
.hc-search .icon {
  flex: none;
  color: var(--muted);
}
.hc-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 18px;
  color: var(--ink);
  outline: none;
}
.hc-search input::placeholder {
  color: #9a9e92;
}
.hc-search input::-webkit-search-cancel-button {
  display: none;
}
.hc-search kbd {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 11px;
  color: var(--muted);
}
.hc-results {
  max-width: 760px;
  margin: 8px 0 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.hc-results a {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 8px;
  transition: background-color 0.2s;
}
.hc-results a:hover,
.hc-results a.is-active {
  background: var(--paper);
}
.hc-results .mono {
  font-size: 9.5px;
  color: var(--muted);
}
.hc-results strong {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.01em;
}
.hc-results a > span:last-child {
  font-size: 13.5px;
  color: var(--muted);
}
.hc-results mark {
  background: #fdf7b8;
  color: var(--ink);
}
.hc-empty {
  padding: 14px;
  font-size: 14px;
  color: var(--muted);
}
.hc-empty a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hc-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 22px;
  max-width: 760px;
}
.hc-popular .mono {
  margin-right: 6px;
  font-size: 10px;
  color: var(--muted);
}
.hc-popular a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  transition: background-color 0.25s;
}
.hc-popular a:hover {
  background: var(--paper);
}
.hc-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 50px 0 110px;
}
.hc-group {
  padding: 22px 22px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.hc-group > .mono {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 14px;
}
.hc-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hc-group li + li {
  border-top: 1px solid #f0f1ec;
}
.hc-group a {
  display: grid;
  gap: 3px;
  padding: 12px 0;
}
.hc-group a strong {
  font-size: 15.5px;
  font-weight: 550;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.hc-group a span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.hc-group a:hover strong {
  text-decoration: underline;
  text-decoration-color: #c9ccbf;
  text-underline-offset: 4px;
}
.doc-search input {
  width: 100%;
  height: 40px;
  margin-bottom: 26px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  outline: 2px solid transparent;
  transition:
    border-color 0.25s,
    outline-color 0.25s;
}
.doc-search input:focus {
  border-color: #ddd456;
  outline-color: var(--yellow);
}
.doc-toc {
  max-width: 700px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: -10px 0 34px;
}
.doc-toc .mono {
  margin-right: 6px;
  font-size: 10px;
  color: var(--muted);
}
.doc-toc a {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  transition: background-color 0.25s;
}
.doc-toc a:hover {
  background: var(--paper);
}
@media (max-width: 900px) {
  .hc-groups {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 650px) {
  .hc-hero {
    padding: 36px 0 20px;
  }
  .hc-hero h1 {
    font-size: 52px;
    margin: 22px 0 26px;
  }
  .hc-search {
    height: 56px;
  }
  .hc-search input {
    font-size: 16px;
  }
  .hc-search kbd {
    display: none;
  }
  .hc-groups {
    padding: 30px 0 70px;
  }
}

/* ---------- What's new ---------- */
.cl-hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}
.cl-hero h1 {
  margin: 30px 0 24px;
  font-size: clamp(52px, 7vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.cl-hero > p {
  max-width: 520px;
  font-size: 18px;
  color: #64685e;
}
.cl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 64px;
  align-items: start;
  padding-bottom: 110px;
}
.cl-entry {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.cl-date {
  position: sticky;
  top: calc(var(--sticky-top, 74px) + 24px);
  align-self: start;
  padding-top: 6px;
  font-size: 10.5px;
  color: var(--muted);
  transition: top 0.6s var(--ease-out);
}
.cl-date:hover {
  color: var(--ink);
}
.cl-tags {
  display: flex;
  gap: 6px;
}
.cl-tags .tag {
  margin: 0;
  vertical-align: 0;
}
.cl-body h2 {
  margin: 16px 0 12px;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.cl-summary {
  max-width: 640px;
  font-size: 17px;
  color: #4a4d45;
}
.cl-body .prose {
  margin-top: 18px;
  font-size: 15.5px;
}
.cl-side {
  position: sticky;
  top: calc(var(--sticky-top, 74px) + 24px);
  padding-top: 44px;
  transition: top 0.6s var(--ease-out);
}
.cl-next {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: #f8f9f4;
  background-image: radial-gradient(#dfe2d6 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: 8px 8px;
}
.cl-next > .mono {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.cl-next .status-dot {
  background: var(--yellow);
  border: 1px solid #c9c24a;
}
.cl-next ul {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.cl-next li {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
}
.cl-next li + li {
  border-top: 1px solid #f0f1ec;
}
.cl-next li strong {
  font-size: 13.5px;
  font-weight: 550;
}
.cl-next li span {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}
.cl-next > a {
  font-size: 13px;
  font-weight: 550;
}
@media (max-width: 1080px) {
  .cl {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .cl-side {
    position: relative;
    top: auto;
    order: -1;
    padding-top: 40px;
  }
}
@media (max-width: 650px) {
  .cl-hero {
    padding: 36px 0 40px;
  }
  .cl-hero h1 {
    font-size: 52px;
  }
  .cl-hero > p {
    font-size: 16.5px;
  }
  .cl-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 34px 0;
  }
  .cl-date {
    position: relative;
    top: auto;
  }
}

/* ---------- About ---------- */
.ab-hero,
.ct-hero {
  padding: 72px 0 90px;
}
.ab-hero h1,
.ct-hero h1 {
  margin: 30px 0 0;
  font-size: clamp(52px, 7.4vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.ct-hero h1 .quiet {
  color: #b2b8a7;
}
.ab-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-top: 40px;
}
.ab-hero-row > p:first-child {
  max-width: 520px;
  font-size: 18px;
  color: #64685e;
}
.ab-status {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-self: end;
  max-width: 380px;
  font-size: 10px;
  color: var(--muted);
}
.ab-status .status-dot {
  background: var(--yellow);
  border: 1px solid #c9c24a;
}
.ab-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  padding: 110px 0;
}
.ab-studio h2 {
  margin-top: 34px;
}
.ab-studio-copy {
  padding-top: 64px;
}
.ab-studio-copy p {
  max-width: 470px;
  font-size: 17px;
  color: var(--muted);
}
.ab-studio-copy p + p {
  margin-top: 16px;
}
.ab-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 30px;
  margin-top: 14px;
}

/* ---------- Contact ---------- */
.ct-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ct-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: background-color 0.3s;
}
.ct-card:hover,
.ct-card:focus-visible {
  background: var(--paper);
}
.ct-card:hover .mega-ic,
.ct-card:focus-visible .mega-ic {
  background: var(--yellow);
  border-color: #e6df5e;
}
.ct-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ct-top .mono {
  font-size: 10px;
  color: var(--muted);
}
.ct-card strong {
  margin-top: 56px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.ct-text {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
}
.ct-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 26px;
  font-size: 15px;
  font-weight: 550;
}
.ct-cta span {
  font-size: 19px;
  transition: transform 0.45s var(--ease-out);
}
.ct-card:hover .ct-cta span {
  transform: translate(3px, -3px);
}
.ct-more {
  padding: 70px 0 110px;
}
.ct-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.ct-row:last-child {
  border-bottom: 1px solid var(--line);
}
.ct-row .mono {
  padding-top: 4px;
  font-size: 10px;
  color: var(--muted);
}
.ct-row p {
  max-width: 680px;
  font-size: 16px;
}
.ct-row a {
  text-decoration: underline;
  text-decoration-color: #c9ccbf;
  text-underline-offset: 4px;
}
.ct-row a:hover {
  text-decoration-color: currentColor;
}
@media (max-width: 900px) {
  .ab-hero-row,
  .ab-studio {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .ab-status {
    justify-self: start;
  }
  .ab-studio-copy {
    padding-top: 0;
  }
  .ct-routes {
    grid-template-columns: minmax(0, 1fr);
  }
  .ct-card {
    min-height: 0;
  }
  .ct-card strong {
    margin-top: 30px;
  }
}
@media (max-width: 650px) {
  .ab-hero,
  .ct-hero {
    padding: 36px 0 50px;
  }
  .ab-hero h1,
  .ct-hero h1 {
    font-size: clamp(44px, 12.5vw, 60px);
  }
  .ab-hero-row > p:first-child {
    font-size: 16.5px;
  }
  .ab-studio {
    padding: 70px 0;
  }
  .ct-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .ct-more {
    padding: 50px 0 70px;
  }
}

/* ---------- Not found ---------- */
.nf {
  padding: 72px 0 110px;
}
.nf h1 {
  margin: 30px 0 26px;
  font-size: clamp(52px, 7.4vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.nf h1 .quiet {
  color: #b2b8a7;
}
.nf > p {
  max-width: 480px;
  font-size: 18px;
  color: #64685e;
}
.nf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}
@media (max-width: 900px) {
  .nf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .nf {
    padding: 36px 0 70px;
  }
  .nf-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Footer: the brand plus five link columns on wider screens. */
@media (min-width: 901px) {
  .footer-top {
    grid-template-columns: 1.1fr repeat(5, minmax(0, 1fr));
    column-gap: 28px;
  }
}
