/* Zipper marketing site, grown from the approved coming-soon page. Colours match the product's Ledger style
   (product/frontend/src/styles/tokens.css) and the final brand kit. */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --gunmetal: #2b3a4a;
  --gunmetal-deep: #1f2b38;
  --slate: #40526a;
  --paper: #f3f4ec;
  --pewter: #a7adae;
  --rule: rgba(243, 244, 236, 0.16);
  --rule-strong: rgba(243, 244, 236, 0.3);

  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--gunmetal-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Brushed gunmetal: a soft sheen across the top left, darker toward the
     bottom right, then grain on top (the ::before layer). */
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(243, 244, 236, 0.06), transparent 60%),
    radial-gradient(80% 70% at 100% 100%, rgba(15, 22, 30, 0.55), transparent 70%),
    linear-gradient(180deg, #2e3d4e 0%, var(--gunmetal) 45%, #27353f 100%);
  background-color: var(--gunmetal);
  overflow-x: hidden;
}

/* Grain and brushed lines, drawn by the browser (no image download). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.002 0.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--gunmetal);
  font: 500 0.875rem/1 var(--sans);
  text-decoration: none;
  z-index: 10;
}
.skip:focus {
  top: 16px;
}

/* ---------- Page frame ---------- */

.zs-site {
  position: relative;
  z-index: 1;
}

.zs-wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* The first screen of the home page and the 404: header, hero, ledger line. */
.zs-first {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.zs-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2.6vw, 32px) 0;
  position: relative;
}

.zs-logo {
  display: block;
  line-height: 0;
}
.zs-logo img {
  display: block;
  height: clamp(26px, 2.3vw, 32px);
  width: auto;
}

.zs-eyebrow.zs-status {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 0.8125rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
}
.zs-eyebrow.zs-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(243, 244, 236, 0.12);
}

/* ---------- Hero ---------- */

.zs-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: clamp(24px, 4vh, 56px) 0 clamp(40px, 7vh, 88px);
}

.zs-copy {
  max-width: 50rem;
}

.zs-eyebrow {
  margin: 0 0 clamp(22px, 3.4vh, 36px);
  text-wrap: balance;
  font: 400 0.8125rem/1.4 var(--mono);
  letter-spacing: 0.02em;
  color: var(--pewter);
}

.zs-title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-stretch: 92%;
  font-size: clamp(2.875rem, 6.6vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.038em;
  color: var(--paper);
  text-wrap: balance;
}

.zs-tagline {
  margin: clamp(22px, 3.2vh, 34px) 0 0;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--pewter);
}

.zs-lede {
  margin: clamp(14px, 2vh, 20px) 0 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.55;
  color: rgba(243, 244, 236, 0.86);
}

/* The mark: two halves that zip shut on load. The gap between them is the Z. */
.zs-mark {
  justify-self: end;
  width: min(100%, 470px);
  aspect-ratio: 1;
  margin-right: calc(var(--gutter) * -0.15);
}
.zs-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.zs-mark .half {
  transform-box: view-box;
}
@media (prefers-reduced-motion: no-preference) {
  .zs-mark .half-top {
    animation: zs-in-top 1.25s var(--ease) 0.15s both;
  }
  .zs-mark .half-bottom {
    animation: zs-in-bottom 1.25s var(--ease) 0.15s both;
  }
  .zs-copy > * {
    animation: zs-rise 0.9s var(--ease) both;
  }
  .zs-copy > :nth-child(2) { animation-delay: 0.06s; }
  .zs-copy > :nth-child(3) { animation-delay: 0.12s; }
  .zs-copy > :nth-child(4) { animation-delay: 0.18s; }
}
@keyframes zs-in-top {
  from { transform: translate(14%, -9%); opacity: 0; }
  40% { opacity: 1; }
  to { transform: none; }
}
@keyframes zs-in-bottom {
  from { transform: translate(-14%, 9%); opacity: 0; }
  40% { opacity: 1; }
  to { transform: none; }
}
@keyframes zs-rise {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* ---------- Ledger line: what ships first ---------- */

.zs-ledger {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.35fr;
  border-top: 1px solid var(--rule-strong);
}
.zs-ledger > div {
  padding: 16px 20px 18px 0;
  border-right: 1px solid var(--rule);
  margin-right: 20px;
}
.zs-ledger > div:last-child {
  border-right: 0;
  margin-right: 0;
}
.zs-ledger dt {
  font: 400 0.75rem/1.3 var(--mono);
  letter-spacing: 0.04em;
  color: var(--pewter);
}
.zs-ledger dd {
  margin: 6px 0 0;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--paper);
}

.zs-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--rule);
  font: 400 0.75rem/1.4 var(--mono);
  color: var(--pewter);
}
.zs-foot p {
  margin: 0;
}

/* ---------- 404 ---------- */

.zs-404 .zs-title {
  font-size: clamp(2.5rem, 5.4vw, 5rem);
  letter-spacing: -0.03em;
}
/* On the 404 the halves stay apart: the move did not happen. */
.zs-mark-open {
  width: min(100%, 400px);
}
.zs-mark-open .half-top {
  transform: translate(9%, -9%) rotate(4deg);
}
.zs-mark-open .half-bottom {
  transform: translate(-9%, 9%) rotate(-4deg);
}
.zs-mark-open .half {
  transform-origin: 50% 50%;
  animation: none !important;
}
.zs-back {
  display: inline-block;
  margin-top: clamp(24px, 4vh, 40px);
  padding: 13px 20px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  font: 500 0.9375rem/1 var(--sans);
  text-decoration: none;
  color: var(--paper);
  transition: background-color 0.2s, border-color 0.2s;
}
.zs-back:hover {
  background: rgba(243, 244, 236, 0.08);
  border-color: var(--paper);
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1080px) {
  .zs-ledger {
    grid-template-columns: 1fr 1fr;
  }
  .zs-ledger > div:nth-child(2) {
    border-right: 0;
    margin-right: 0;
  }
  .zs-ledger > div:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 760px) {
  .zs-hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    padding-top: 4px;
  }
  /* On a phone the mark closes the hero on the right instead of sitting
     under the header lockup (two logos stacked read as a repeat). */
  .zs-mark {
    justify-self: end;
    width: 128px;
    margin: 36px 0 4px;
  }
  .zs-title {
    font-size: clamp(2.6rem, 11.6vw, 3.4rem);
    line-height: 0.98;
  }
  .zs-mark-open {
    width: 112px;
    margin: 48px 18px 0 0;
  }
  .zs-ledger > div {
    padding-right: 12px;
    margin-right: 12px;
  }
  .zs-ledger dd {
    font-size: 1rem;
  }
}

/* ==========================================================
   Full site. Everything below was added for the marketing
   pages; the rules above are the approved coming-soon look.
   ========================================================== */

:root {
  --ink: #2b3a4a;
  --ink-2: #40526a;
  --ink-3: #5f6b78;
  --surface: #fbfbf7;
  --line: #d9dbd0;
  --line-strong: #b9bdb4;
  --sec: clamp(72px, 9.5vw, 148px);
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
[id] {
  scroll-margin-top: 24px;
}

/* ---------- Header navigation ---------- */

.zs-nav ul,
.zs-menu ul,
.zs-footnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.zs-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
}
.zs-nav a {
  display: inline-block;
  padding: 12px 0;
  font: 500 0.9375rem/1 var(--sans);
  letter-spacing: -0.003em;
  text-decoration: none;
  color: rgba(243, 244, 236, 0.82);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.zs-nav a:hover {
  color: var(--paper);
}
.zs-nav a[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--paper);
}
.zs-nav a.zs-login,
.zs-menu a.zs-login {
  padding: 11px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  color: var(--paper);
}
.zs-nav a.zs-login:hover {
  border-color: var(--paper);
  background: rgba(243, 244, 236, 0.08);
}

/* Phone menu: a native disclosure, so it works with no script. */
.zs-menu {
  display: none;
}
.zs-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  font: 500 0.9375rem/1 var(--sans);
  color: var(--paper);
  user-select: none;
}
.zs-menu summary::-webkit-details-marker {
  display: none;
}
.zs-menu[open] summary {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--gunmetal);
}
.zs-menu nav {
  position: absolute;
  z-index: 5;
  left: calc(var(--gutter) * -1);
  right: calc(var(--gutter) * -1);
  top: 100%;
  padding: 4px var(--gutter) 24px;
  background: var(--gunmetal-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule-strong);
}
.zs-menu li a {
  display: block;
  padding: 17px 0;
  border-bottom: 1px solid var(--rule);
  font: 500 1.125rem/1.2 var(--sans);
  text-decoration: none;
  color: var(--paper);
}
.zs-menu li a[aria-current="page"]::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 12px;
  margin-left: 12px;
  background: url("img/tooth-paper.svg") no-repeat center / contain;
}
.zs-menu li:last-child a {
  display: inline-block;
  margin-top: 20px;
  border-bottom: 1px solid var(--rule-strong);
  font-size: 1rem;
}

@media (max-width: 860px) {
  .zs-nav { display: none; }
  .zs-menu { display: block; }
}

/* ---------- Buttons and text actions ---------- */

.zs-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: clamp(28px, 4vh, 40px);
}
.zs-btn {
  display: inline-block;
  padding: 16px 24px;
  border: 1px solid var(--paper);
  border-radius: 3px;
  background: var(--paper);
  color: var(--gunmetal);
  font: 600 1rem/1 var(--sans);
  letter-spacing: -0.003em;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.zs-btn:hover {
  background: transparent;
  color: var(--paper);
}
.zs-paper .zs-btn {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.zs-paper .zs-btn:hover {
  background: transparent;
  color: var(--ink);
}
.zs-text {
  display: inline-block;
  padding: 12px 0;
  font: 500 1rem/1.2 var(--sans);
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.zs-text:hover {
  text-decoration-thickness: 2px;
}

/* ---------- Inner page head (dark) ---------- */

.zs-head {
  padding: clamp(40px, 7vw, 104px) 0 clamp(56px, 8vw, 120px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: end;
}
.zs-head .zs-eyebrow {
  grid-column: 1 / -1;
}
.zs-head h1 {
  grid-column: 1 / span 8;
  margin: 0;
  font-weight: 500;
  font-stretch: 92%;
  font-size: clamp(2.5rem, 5.6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.034em;
  text-wrap: balance;
}
.zs-head .zs-lede {
  grid-column: 9 / -1;
  margin: 0 0 0.4em;
  max-width: 30rem;
}

/* ---------- Sections ---------- */

.zs-sec {
  padding: var(--sec) 0;
}
.zs-paper + .zs-paper {
  padding-top: 0;
}
.zs-paper {
  background: var(--paper);
  color: var(--ink);
}
.zs-paper :focus-visible {
  outline-color: var(--ink);
}
.zs-paper + .zs-dark,
.zs-head + .zs-dark {
  border-top: 0;
}

.zs-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
}

.zs-label {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font: 400 0.8125rem/1.4 var(--mono);
  letter-spacing: 0.02em;
  color: var(--ink-3);
}
.zs-dark .zs-label {
  color: var(--pewter);
}

.zs-h2 {
  margin: 0;
  font-weight: 500;
  font-stretch: 92%;
  font-size: clamp(2rem, 4.1vw, 3.75rem);
  line-height: 1.0;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.zs-h3 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.125rem, 1.45vw, 1.3125rem);
  line-height: 1.25;
  letter-spacing: -0.012em;
}
.zs-body {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1.2vw, 1.1875rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.zs-body + .zs-body {
  margin-top: 1em;
}
.zs-dark .zs-body {
  color: rgba(243, 244, 236, 0.86);
}
.zs-small {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-3);
}

/* Section opener: heading left, a short paragraph right. */
.zs-open {
  align-items: start;
  row-gap: 24px;
  margin-bottom: clamp(40px, 5.5vw, 80px);
}
.zs-open > .zs-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.zs-open > .zs-h2 {
  grid-column: 1 / span 7;
}
.zs-open > .zs-side {
  grid-column: 9 / -1;
  padding-top: 0.35em;
}

/* ---------- Product figures (real screens, cropped) ---------- */

.zs-shot {
  margin: 0;
}
.zs-shot picture,
.zs-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.zs-shot picture {
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
  padding: clamp(10px, 1.6vw, 28px);
}
.zs-dark .zs-shot picture {
  border-color: transparent;
}
.zs-shot figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: 14px;
  font: 400 0.8125rem/1.5 var(--mono);
  color: var(--ink-3);
}
.zs-dark .zs-shot figcaption {
  color: var(--pewter);
}

/* ---------- The seam list: name on the left, account of it on the
   right, one tooth on the seam per row. Mirrors the product. ---------- */

.zs-seam {
  margin: 0;
  border-top: 1px solid var(--ink);
}
.zs-seam > div {
  display: grid;
  grid-template-columns: minmax(0, 5fr) 72px minmax(0, 7fr);
  border-bottom: 1px solid var(--line);
}
.zs-seam > div::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  background:
    url("img/tooth-ink.svg") no-repeat center 31px / 30px 12px,
    linear-gradient(var(--line-strong), var(--line-strong)) no-repeat center / 1px 100%;
}
.zs-seam dt {
  grid-column: 1;
  grid-row: 1;
  padding: 24px 24px 26px 0;
  font-weight: 600;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.25;
  letter-spacing: -0.014em;
  color: var(--ink);
}
.zs-seam dd {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  padding: 24px 0 26px 24px;
  max-width: 40rem;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.zs-dark .zs-seam {
  border-top-color: var(--rule-strong);
}
.zs-dark .zs-seam > div {
  border-bottom-color: var(--rule);
}
.zs-dark .zs-seam > div::before {
  background:
    url("img/tooth-paper.svg") no-repeat center 31px / 30px 12px,
    linear-gradient(var(--rule-strong), var(--rule-strong)) no-repeat center / 1px 100%;
}
.zs-dark .zs-seam dt {
  color: var(--paper);
}
.zs-dark .zs-seam dd {
  color: rgba(243, 244, 236, 0.84);
}

/* ---------- Split: sticky heading left, content right ---------- */

.zs-split {
  row-gap: 32px;
  align-items: start;
}
.zs-split > .zs-aside {
  grid-column: 1 / span 4;
  position: sticky;
  top: 32px;
}
.zs-split > .zs-main {
  grid-column: 6 / -1;
}
.zs-aside .zs-h2 {
  font-size: clamp(1.875rem, 3.2vw, 3rem);
}
.zs-aside .zs-body {
  margin-top: 20px;
  max-width: 24rem;
}
.zs-phase + .zs-phase,
.zs-phase + .zs-shot,
.zs-shot + .zs-phase {
  margin-top: clamp(56px, 7vw, 112px);
}

/* Numbered steps: the journey really is a sequence. */
.zs-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.zs-steps li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}
.zs-steps .zs-num {
  font: 400 0.875rem/1.7 var(--mono);
  color: var(--ink-3);
}
.zs-steps p {
  margin: 8px 0 0;
  max-width: 38rem;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.55;
  color: var(--ink-2);
}

/* ---------- Table: three ways to buy ---------- */

.zs-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
  text-align: left;
}
.zs-table th,
.zs-table td {
  padding: 22px 24px 24px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.5;
}
.zs-table thead th {
  padding: 12px 24px 12px 0;
  border-bottom-color: var(--line-strong);
  font: 400 0.8125rem/1.4 var(--mono);
  color: var(--ink-3);
}
.zs-table tbody th {
  width: 28%;
  font-weight: 600;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  letter-spacing: -0.014em;
  color: var(--ink);
}
.zs-table td {
  color: var(--ink-2);
}
.zs-under {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 48px;
}

/* ---------- Plain statements in two columns, ruled ---------- */

.zs-pairs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 96px);
  border-top: 1px solid var(--ink);
}
.zs-pairs li {
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--line);
}
.zs-pairs p {
  margin: 8px 0 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.zs-dark .zs-pairs {
  border-top-color: var(--rule-strong);
}
.zs-dark .zs-pairs li {
  border-bottom-color: var(--rule);
}
.zs-dark .zs-pairs p {
  color: rgba(243, 244, 236, 0.84);
}

/* A plain note: ink bar on the left, as the product's status headline. */
.zs-note {
  margin: clamp(40px, 5vw, 72px) 0 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--ink);
  max-width: 46rem;
}
.zs-note p {
  margin: 0;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- Contact ---------- */

.zs-contact {
  margin: clamp(32px, 4vw, 48px) 0 0;
  border-top: 1px solid var(--rule-strong);
}
.zs-contact > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.zs-contact dt {
  font: 400 0.8125rem/1.9 var(--mono);
  color: var(--pewter);
}
.zs-contact dd {
  margin: 0;
  font-weight: 500;
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

/* ---------- Closing call and footer ---------- */

.zs-close {
  padding-top: var(--sec);
  padding-bottom: clamp(56px, 7vw, 104px);
  align-items: end;
  row-gap: 32px;
}
.zs-close .zs-h2 {
  grid-column: 1 / span 8;
  font-size: clamp(2.25rem, 5.2vw, 4.75rem);
  line-height: 0.98;
}
.zs-close .zs-side {
  grid-column: 9 / -1;
}
.zs-close .zs-actions {
  margin-top: 24px;
}

.zs-footnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
  padding: 26px 0;
  border-top: 1px solid var(--rule-strong);
}
.zs-footnav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px clamp(20px, 2.6vw, 40px);
}
.zs-footnav a {
  display: inline-block;
  padding: 10px 0;
  font: 500 0.9375rem/1 var(--sans);
  text-decoration: none;
  color: rgba(243, 244, 236, 0.82);
}
.zs-footnav a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.zs-footnav .zs-logo img {
  height: 26px;
}

/* ---------- Home hero additions ---------- */

.zs-home .zs-hero {
  padding-top: clamp(16px, 3vh, 40px);
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1080px) {
  .zs-head h1 { grid-column: 1 / -1; }
  .zs-head .zs-lede { grid-column: 1 / span 9; margin-top: 24px; }
  .zs-open > .zs-h2 { grid-column: 1 / -1; }
  .zs-open > .zs-side { grid-column: 1 / span 9; }
  .zs-split > .zs-aside { grid-column: 1 / -1; position: static; }
  .zs-split > .zs-main { grid-column: 1 / -1; }
  .zs-aside .zs-body { max-width: 36rem; }
  .zs-close .zs-h2 { grid-column: 1 / -1; }
  .zs-close .zs-side { grid-column: 1 / span 9; }
}

@media (max-width: 760px) {
  .zs-head .zs-lede,
  .zs-open > .zs-side,
  .zs-close .zs-side { grid-column: 1 / -1; }

  .zs-seam > div {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 20px 0 22px;
  }
  .zs-seam > div::before {
    grid-column: 1;
    grid-row: 1 / span 2;
    background: url("img/tooth-ink.svg") no-repeat left 7px / 30px 12px;
  }
  .zs-dark .zs-seam > div::before {
    background: url("img/tooth-paper.svg") no-repeat left 7px / 30px 12px;
  }
  .zs-seam dt {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
  }
  .zs-seam dd {
    grid-column: 2;
    grid-row: 2;
    padding: 8px 0 0;
  }

  .zs-steps li { grid-template-columns: 44px minmax(0, 1fr); }

  .zs-pairs { grid-template-columns: minmax(0, 1fr); }

  /* The table becomes one ruled block per option. */
  .zs-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .zs-table,
  .zs-table tbody,
  .zs-table tr,
  .zs-table th,
  .zs-table td {
    display: block;
    width: auto;
  }
  .zs-table tr {
    padding: 20px 0 22px;
    border-bottom: 1px solid var(--line);
  }
  .zs-table tbody th,
  .zs-table td {
    width: auto;
    padding: 0;
    border: 0;
  }
  .zs-table td {
    margin-top: 12px;
  }
  .zs-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font: 400 0.8125rem/1.4 var(--mono);
    color: var(--ink-3);
  }

  .zs-contact > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .zs-btn { padding: 17px 22px; }
  .zs-shot picture { padding: 0; }
  .zs-footnav { align-items: flex-start; flex-direction: column; }
  .zs-foot { flex-wrap: wrap; }
}

/* Lists that reuse the step rows without numbers. */
.zs-steps.zs-plain li {
  grid-template-columns: minmax(0, 1fr);
}
.zs-copy > :nth-child(5) { animation-delay: 0.24s; }
.zs-contact a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* Line endings: no stranded last words. */
.zs-side,
.zs-table td,
.zs-lede {
  text-wrap: balance;
}
.zs-seam dd,
.zs-steps p,
.zs-pairs p,
.zs-note p {
  text-wrap: pretty;
}
.zs-under {
  align-items: baseline;
}

.zs-nb {
  white-space: nowrap;
}
.zs-lead {
  margin: 0;
  max-width: 44rem;
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.016em;
  color: var(--ink);
  text-wrap: pretty;
}
.zs-lead + .zs-lead,
.zs-lead + .zs-body {
  margin-top: 1em;
}
.zs-lead + .zs-body {
  margin-top: 2em;
}
.zs-close-top {
  align-items: start;
}

@media (max-width: 760px) {
  /* The lockup above already links home; drop the repeat so the row fits. */
  .zs-footnav li:first-child { display: none; }
}
