/* Draft website. Plain CSS, no framework (docs/28-sitio-web.md).
   The look borrows from the editor itself: the dotted canvas, rulers and
   measures, the blue selection with its handles, the Properties panel.
   Fonts (all SIL Open Font License 1.1, see assets/fonts/README.txt):
   Bricolage Grotesque for headings, Inter for text (as in the app),
   JetBrains Mono for labels, measures and code. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/BricolageGrotesque-Variable.woff2?v=a97804dc") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/Inter-Regular.woff2?v=52f42c53") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/Inter-SemiBold.woff2?v=3fbc5ba5") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/JetBrainsMono-Regular.woff2?v=14425ba9") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/JetBrainsMono-Medium.woff2?v=cb182fee") format("woff2");
}

:root {
  --paper: #f2f0ea;
  --paper-deep: #e8e5dc;
  --surface: #fbfaf7;
  --ink: #131418;
  --ink-soft: #383b42;
  --muted: #5f626a;
  --line: #d9d5ca;
  --line-strong: #bdb8ab;
  --dot: rgba(19, 20, 24, 0.14);
  --sel: #3d5afe;
  --sel-ink: #2a43d6;
  --sel-wash: rgba(61, 90, 254, 0.09);
  --lime: #e6f51a;
  --forest: #16392b;
  --voltio-page: #e9eaec;
  --voltio-ink: #0c0c0c;
  --forest-ink: #e9efe5;
  --forest-muted: #a9bba9;
  --night: #131418;
  --night-ink: #efeee9;
  --night-muted: #9a9ca3;
  --night-line: #2b2d33;
  --ok: #0a7a4c;
  --focus: #3d5afe;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 44px);
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101113;
    --paper-deep: #17181b;
    --surface: #17181b;
    --ink: #ecebe6;
    --ink-soft: #cfcfca;
    --muted: #a2a5ab;
    --line: #2a2c31;
    --line-strong: #3b3e44;
    --dot: rgba(255, 255, 255, 0.09);
    --sel: #8c9eff;
    --sel-ink: #b0bdff;
    --sel-wash: rgba(140, 158, 255, 0.12);
    --night: #1a1b1f;
    --ok: #4cc38a;
    --focus: #b0bdff;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--sel-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--sel);
  color: #fff;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* ---- Labels: the editor's frame tag ---- */
.eyebrow,
.chip-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 4px 10px 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--sel);
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.12s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn-lg {
  min-height: 54px;
  padding: 0 22px;
  font-size: 16.5px;
  border-radius: 12px;
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.btn-ink:hover {
  background: var(--sel);
  color: #fff;
}

.btn-ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-lime {
  background: var(--lime);
  color: #111;
}

.btn-lime:hover {
  background: #f3ff6b;
}

.arr {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .arr,
.link-arrow:hover .arr {
  transform: translateY(2px);
}

.link-arrow:hover .arr {
  transform: translate(2px, -2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}

.link-arrow:hover {
  text-decoration-color: var(--sel);
}

/* ---- Header ---- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current] {
  background: var(--paper-deep);
  color: var(--ink);
}

.lang {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  text-decoration: none;
}

.lang:hover {
  border-color: var(--ink);
}

.top .btn {
  gap: 0;
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .lang {
    margin-left: auto;
  }
}

@media (max-width: 420px) {
  .btn-label-long {
    display: none;
  }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 0 0 clamp(56px, 8vw, 110px);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.3px);
  background-size: 20px 20px;
  background-position: -10px -10px;
}

.ruler {
  position: relative;
  height: 24px;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, var(--line-strong) 1px, transparent 1px),
    linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: 100px 11px, 10px 5px;
  background-position: 0 100%, 0 100%;
  background-repeat: repeat-x;
  overflow: hidden;
}

.ruler-n {
  position: absolute;
  top: 3px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  transform: translateX(3px);
}

.ruler-mark {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 24px;
  background: var(--sel);
  opacity: 0;
  transition: opacity 0.2s;
}

.ruler-mark::after {
  content: attr(data-x);
  position: absolute;
  left: 5px;
  top: 3px;
  padding: 0 4px;
  border-radius: 3px;
  background: var(--sel);
  color: #fff;
  font: 500 9.5px/14px var(--mono);
  font-style: normal;
}

.hero:hover .ruler-mark {
  opacity: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  padding-top: clamp(40px, 7vw, 92px);
}

.hero-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 32px);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}

.chip-tag {
  margin: 0;
  color: var(--ink);
}

.chip-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent);
}

.display {
  grid-column: 1 / -1;
  position: relative;
  font-size: clamp(44px, 9.6vw, 142px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.ln {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.06em 0.1em;
  margin: -0.04em -0.06em -0.1em;
}

.w {
  display: inline-block;
}

.ln:nth-child(2) .w {
  color: var(--sel);
}

@media (prefers-reduced-motion: no-preference) {
  .w {
    animation: rise 0.9s var(--ease) both;
  }

  .ln:nth-child(2) .w {
    animation-delay: 0.09s;
  }

  .ln:nth-child(3) .w {
    animation-delay: 0.18s;
  }

  .hero-side {
    animation: fade-up 0.9s 0.3s var(--ease) both;
  }
}

@keyframes rise {
  from {
    transform: translateY(105%);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* The selection box the script moves over the title's lines. */
.sel-box {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border: 2px solid var(--sel);
  pointer-events: none;
  opacity: 0;
  transition: left 0.55s var(--ease), top 0.55s var(--ease), width 0.55s var(--ease), height 0.55s var(--ease), opacity 0.3s;
}

.sel-box.on {
  opacity: 1;
}

.sel-box b {
  position: absolute;
  width: 11px;
  height: 11px;
  background: var(--paper);
  border: 2px solid var(--sel);
}

.sel-box b:nth-child(1) { left: -6.5px; top: -6.5px; }
.sel-box b:nth-child(2) { right: -6.5px; top: -6.5px; }
.sel-box b:nth-child(3) { left: -6.5px; bottom: -6.5px; }
.sel-box b:nth-child(4) { right: -6.5px; bottom: -6.5px; }

.sel-box span {
  position: absolute;
  left: -2px;
  bottom: calc(100% + 8px);
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--sel);
  color: #fff;
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-side {
  grid-column: 7 / -1;
  margin-top: clamp(28px, 4vw, 48px);
}

.lead {
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.55;
  color: var(--ink-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 28px;
}

.note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-side {
    grid-column: 1 / -1;
  }
}

/* ---- The film controls (the stage is in film.css) ---- */
.film-bar {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 12px;
}

.film-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 0 14px 0 10px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: 600 14px/1 var(--sans);
  cursor: pointer;
}

.film-toggle svg {
  width: 18px;
  height: 18px;
}

.film-toggle .i-play,
.is-paused .film-toggle .i-pause {
  display: none;
}

.is-paused .film-toggle .i-play {
  display: block;
}

.chapters {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chapters button {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: 500 14px/1.2 var(--sans);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.chapters button:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.chapters button[aria-current] {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--surface);
}

.ch-n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--sel);
}

.ch-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
}

.ch-bar i {
  display: block;
  height: 100%;
  background: var(--sel);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.film-note {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .film-bar {
    flex-wrap: wrap;
  }

  .film-toggle {
    order: 2;
  }

  .chapters {
    flex-basis: 100%;
  }

  .chapters button {
    justify-content: center;
    padding: 0 4px 4px;
    font-size: 0;
  }

  .ch-n {
    font-size: 12px;
  }
}

/* ---- Sections ---- */
.section {
  padding: clamp(72px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
}

.sec-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.sec-head h2 {
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.sec-head > p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 58ch;
  font-size: 18px;
  color: var(--muted);
}

/* The measure the script draws under a heading: its width, like a redline. */
.measure {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 18px;
  margin-top: 14px;
  color: var(--sel);
  font: 500 11px/1 var(--mono);
}

.measure i {
  position: relative;
  flex: none;
  height: 1px;
  background: currentColor;
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 0.9s var(--ease);
}

.measure i::before,
.measure i::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 1px;
  height: 11px;
  background: currentColor;
}

.measure i::before {
  left: 0;
}

.measure i::after {
  right: 0;
}

.measure b {
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.4s 0.6s;
}

.measure.in i {
  transform: scaleX(1);
}

.measure.in b {
  opacity: 1;
}

/* ---- Tour: the four steps ---- */
.tour {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tour-step + .tour-step {
  margin-top: 56px;
}

.tour-n {
  display: block;
  font-family: var(--display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--sel);
}

.tour-n i {
  font: 400 14px var(--mono);
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 6px;
}

.tour-text h3 {
  margin-top: 14px;
  font-size: clamp(26px, 2.6vw, 34px);
}

.tour-text p {
  margin-top: 12px;
  color: var(--ink-soft);
  max-width: 40ch;
}

.tour-shot {
  margin: 22px 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(19, 20, 24, 0.5);
}

.tour-shot::before {
  /* A Windows title bar: minimise and close. */
  content: "";
  display: block;
  height: 26px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(var(--muted), var(--muted)) right 44px center / 9px 1.5px no-repeat,
    linear-gradient(45deg, transparent 46%, var(--muted) 46%, var(--muted) 54%, transparent 54%) right 14px center / 9px 9px no-repeat,
    linear-gradient(-45deg, transparent 46%, var(--muted) 46%, var(--muted) 54%, transparent 54%) right 14px center / 9px 9px no-repeat;
}

@media (min-width: 960px) {
  .tour-step {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 56px;
    min-height: 92vh;
    align-items: start;
  }

  .tour-step + .tour-step {
    margin-top: 0;
  }

  .tour-text {
    position: sticky;
    top: 34vh;
    padding-top: 8px;
    transition: opacity 0.4s;
  }

  .js .tour-step:not(.is-on) .tour-text {
    opacity: 0.32;
  }

  .tour-shot {
    position: sticky;
    top: 14vh;
    margin: 0;
  }
}

/* ---- The second demo: the Voltio band (the pack the screenshots wear) ---- */
.demo {
  position: relative;
  padding: clamp(72px, 10vw, 140px) 0 clamp(80px, 11vw, 160px);
  background-color: var(--voltio-page);
  background-image: radial-gradient(rgba(12, 12, 12, 0.13) 1px, transparent 1.3px);
  background-size: 20px 20px;
  color: var(--voltio-ink);
  overflow: hidden;
}

.demo .eyebrow {
  background: var(--voltio-ink);
  border-color: var(--voltio-ink);
  color: var(--lime);
}

.demo .eyebrow::before {
  border-color: var(--lime);
}

.demo .sec-head > p:not(.eyebrow) {
  color: #4a4c52;
}

.demo .measure {
  color: var(--voltio-ink);
}

.demo a {
  color: var(--voltio-ink);
}

.phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 7vw, 120px);
  margin: 0;
  padding: 0 clamp(0px, 3vw, 40px);
  list-style: none;
}

.phone {
  position: relative;
}

.phone-2 {
  margin-top: clamp(30px, 6vw, 90px);
}

.phone figure {
  margin: 0;
}

.phone img {
  width: 100%;
  /* The screenshots have a grey margin around the phone: cut it off. */
  clip-path: inset(0.75% 1.03% 0.19% 1.03% round 8.4% / 4%);
}

.phone figure {
  filter: drop-shadow(0 34px 34px rgba(12, 12, 12, 0.22));
}

.phone figcaption {
  margin-top: 18px;
  font: 500 13px var(--mono);
  color: #4a4c52;
  text-align: center;
}

.pnotes {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  aspect-ratio: 776 / 1614;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* A tag, a line and a dot on the piece it names. The dot sits at the
   note's left/top; tags hang off the left (or, with .pn-r, the right). */
.pn {
  position: absolute;
  display: flex;
  align-items: center;
  transform: translate(-100%, -50%);
  font: 500 11.5px/1 var(--mono);
  white-space: nowrap;
  color: var(--lime);
  pointer-events: none;
}

.demo .pn span {
  background: var(--voltio-ink);
  border-color: var(--voltio-ink);
}

.demo .pn span::after {
  background: var(--voltio-ink);
}

.demo .pn::after {
  box-shadow: 0 0 0 2px var(--voltio-ink), 0 0 0 6px rgba(230, 245, 26, 0.35);
}

.pn::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: -4.5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(230, 245, 26, 0.25);
}

.pn span {
  position: relative;
  margin-right: 30px;
  padding: 4px 7px;
  border: 1px solid rgba(230, 245, 26, 0.6);
  border-radius: 5px;
  background: var(--forest);
}

.pn span::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 30px;
  height: 1px;
  background: rgba(230, 245, 26, 0.75);
}

.pn-r {
  flex-direction: row-reverse;
  transform: translate(0, -50%);
}

.pn-r::after {
  margin: 0 0 0 -4.5px;
}

.pn-r span {
  margin: 0 0 0 30px;
}

.pn-r span::after {
  left: auto;
  right: 100%;
}

.phone-1 .pn-1 { left: 7.7%; top: 31.6%; }
.phone-1 .pn-2 { left: 7.7%; top: 51.4%; }
.phone-1 .pn-3 { left: 7.7%; top: 93.5%; }
.phone-2 .pn-1 { left: 7.7%; top: 33.5%; }
.phone-2 .pn-2 { left: 92%; top: 86.4%; }
.phone-3 .pn-1 { left: 92%; top: 18.7%; }
.phone-3 .pn-2 { left: 93%; top: 93.5%; }

@media (max-width: 900px) {
  .phones {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    gap: 18px;
  }

  .phone {
    scroll-snap-align: center;
  }

  .phone-2 {
    margin-top: 0;
  }

  .pnotes {
    display: none;
  }
}

/* ---- Spec sheet: the Properties panel ---- */
@media (min-width: 960px) {
  .spec-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: start;
  }

  .spec-grid .sec-head {
    position: sticky;
    top: 110px;
  }
}

.panel {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
}

.panel-head svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.props {
  margin: 0;
}

.prop {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.prop:last-child {
  border-bottom: 0;
}

.prop dt {
  grid-row: span 2;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding-top: 6px;
}

.prop dd {
  margin: 0;
}

.prop-desc {
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 560px) {
  .prop {
    grid-template-columns: 1fr;
  }

  .prop dt {
    grid-row: auto;
    padding-top: 0;
  }
}

/* The little controls, drawn like the app's. */
.ctl {
  display: inline-flex;
  align-items: center;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.ctl-drop {
  gap: 30px;
  padding: 0 12px;
}

.ctl-drop i {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.ctl-step i {
  width: 34px;
  text-align: center;
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}

.ctl-step b {
  min-width: 42px;
  height: 100%;
  display: grid;
  place-items: center;
  border-inline: 1px solid var(--line);
  font-family: var(--mono);
  font-weight: 500;
}

.ctl-seg {
  padding: 3px;
  gap: 3px;
  background: var(--paper-deep);
  border-color: var(--line);
}

.ctl-seg b {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 100%;
  padding: 0 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}

.ctl-seg b:first-child {
  background: var(--surface);
  color: var(--sel-ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.ctl-icons b svg {
  width: 16px;
  height: 16px;
}

.ctl-packs {
  gap: 5px;
  padding: 0 7px;
}

.ctl-packs i {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.pk-grafito { background: linear-gradient(135deg, #111111 55%, #0a8754 55%); }
.pk-bosque { background: linear-gradient(135deg, #16392b 55%, #2e8b57 55%); }
.pk-brasa { background: linear-gradient(135deg, #c93a0c 55%, #1b100d 55%); }
.pk-hoja { background: linear-gradient(135deg, #0e0e0e 55%, #5fa046 55%); }
.pk-plata { background: linear-gradient(135deg, #16181d 55%, #e8742b 55%); }
.pk-consulta { background: linear-gradient(135deg, #151515 55%, #f5a25d 55%); }
.pk-editorial { background: linear-gradient(135deg, #f6f2eb 55%, #b23a2e 55%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.pk-voltio { background: linear-gradient(135deg, #0c0c0c 55%, #e6f51a 55%); }

.ctl-toggle {
  width: 50px;
  height: 28px;
  padding: 3px;
  border-radius: 14px;
  border: 0;
  background: var(--sel);
}

.ctl-toggle i {
  width: 22px;
  height: 22px;
  margin-left: auto;
  border-radius: 50%;
  background: #fff;
}

/* ---- Pricing ---- */
.billing {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-deep);
}

html:not(.js) .billing {
  display: none;
}

.billing button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: 600 14.5px/1 var(--sans);
  cursor: pointer;
}

.billing button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.save {
  padding: 3px 6px;
  border-radius: 5px;
  background: var(--lime);
  color: #111;
  font: 500 11.5px/1 var(--mono);
}

.save:empty {
  display: none;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 760px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface);
}

.plan header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}

.plan h3 {
  font-size: 30px;
}

.plan header p {
  font-size: 15px;
  color: var(--muted);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 26px;
  min-height: 72px;
}

.amount {
  font-family: var(--display);
  font-size: clamp(54px, 6vw, 76px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.per {
  font: 500 15px var(--mono);
  color: var(--muted);
}

.plan-bill {
  min-height: 3em;
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
}

.ticks {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 12px;
  margin: 22px 0 28px;
  padding: 22px 0 0;
  border-top: 1px dashed var(--line-strong);
  list-style: none;
  font-size: 15.5px;
}

.ticks li {
  display: flex;
  gap: 12px;
}

.ticks li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 6px;
  margin-top: 8px;
  border-left: 2px solid var(--sel);
  border-bottom: 2px solid var(--sel);
  transform: rotate(-45deg);
}

.plan .btn {
  align-self: flex-start;
}

.plan-pro {
  border-color: var(--night);
  background-color: var(--night);
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.3px);
  background-size: 20px 20px;
  color: var(--night-ink);
}

.plan-pro header p,
.plan-pro .per,
.plan-pro .plan-bill {
  color: var(--night-muted);
}

.plan-pro .ticks {
  border-color: var(--night-line);
}

.plan-pro .ticks li::before {
  border-color: var(--lime);
}

.plan-pro h3::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: middle;
}

.more {
  margin-top: 26px;
}

/* ---- Questions ---- */
@media (min-width: 960px) {
  .faq-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: start;
  }

  .faq-grid .sec-head {
    position: sticky;
    top: 110px;
  }
}

.faq {
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line-strong);
}

.faq summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary i {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: -2px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}

.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  margin: -0.75px 0 0 -5.5px;
  background: currentColor;
}

.faq summary i::after {
  transform: rotate(90deg);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary i {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.faq details[open] summary i::after {
  transform: rotate(0deg);
}

.faq summary:hover i {
  border-color: var(--ink);
}

.faq details p {
  max-width: 60ch;
  padding: 0 52px 24px 0;
  color: var(--ink-soft);
}

@supports (interpolate-size: allow-keywords) {
  .faq {
    interpolate-size: allow-keywords;
  }

  .faq details::details-content {
    height: 0;
    overflow: hidden;
    transition: height 0.35s var(--ease), content-visibility 0.35s allow-discrete;
  }

  .faq details[open]::details-content {
    height: auto;
  }
}

/* ---- Download band ---- */
.band {
  padding: clamp(80px, 11vw, 150px) 0;
  background-color: var(--night);
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.3px);
  background-size: 20px 20px;
  color: var(--night-ink);
}

.band .eyebrow {
  background: transparent;
  border-color: var(--night-line);
  color: var(--night-ink);
}

.band .eyebrow::before {
  border-color: var(--lime);
}

.band-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: end;
}

.band h2 {
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.band-grid > div > p:not(.eyebrow) {
  max-width: 52ch;
  margin: 22px 0 32px;
  color: var(--night-muted);
}

.specs {
  margin: 0;
  border-top: 1px solid var(--night-line);
}

.specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--night-line);
}

.specs dt {
  font: 500 12.5px/1.6 var(--mono);
  color: var(--night-muted);
}

.specs dd {
  margin: 0;
  text-align: right;
}

@media (max-width: 860px) {
  .band-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Footer ---- */
.foot {
  padding: 56px 0 36px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

.foot-grid p {
  margin-top: 12px;
  max-width: 28ch;
  color: var(--muted);
}

.foot h2 {
  margin-bottom: 12px;
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot ul a {
  color: var(--ink);
  text-decoration: none;
}

.foot ul a:hover {
  text-decoration: underline;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .foot-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

/* ---- Inner pages: pricing, legal, contact ---- */
.page-head {
  padding: clamp(48px, 8vw, 104px) 0 clamp(32px, 5vw, 56px);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.3px);
  background-size: 20px 20px;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  max-width: 18ch;
  font-size: clamp(42px, 6.4vw, 92px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.page-head .lead {
  max-width: 60ch;
  margin-top: 22px;
}

.prose-meta {
  margin-top: 18px;
  font: 500 12.5px var(--mono);
  color: var(--muted);
}

.prose {
  max-width: 70ch;
  padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 120px);
}

.prose h2 {
  margin: 48px 0 14px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 650;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose li::marker {
  color: var(--sel);
}

.prose strong {
  color: var(--ink);
}

/* Pricing page */
.price-top {
  padding-top: clamp(40px, 5vw, 64px);
}

.compare-wrap {
  margin-top: clamp(64px, 8vw, 110px);
}

.table-scroll {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
}

.compare {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15.5px;
}

.compare th,
.compare td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare tr:last-child > * {
  border-bottom: 0;
}

.compare thead th {
  font: 500 12.5px var(--mono);
  color: var(--muted);
}

.compare thead th:not(:first-child),
.compare td {
  width: 22%;
}

.compare tbody th {
  font-weight: 400;
}

@media (max-width: 560px) {
  .compare {
    min-width: 0;
    font-size: 14.5px;
  }

  .compare th,
  .compare td {
    padding: 12px 10px;
  }

  .compare thead th:not(:first-child),
  .compare td {
    width: 25%;
  }
}

.compare .pro-col {
  background: var(--sel-wash);
}

.compare .mark {
  font-weight: 600;
}

.compare .yes .mark {
  color: var(--sel);
}

.compare .no .mark {
  color: var(--muted);
}

.buy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: buy;
}

.buy li {
  counter-increment: buy;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink-soft);
}

.buy li::before {
  content: "0" counter(buy);
  display: block;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--sel);
}

@media (max-width: 860px) {
  .buy {
    grid-template-columns: 1fr;
  }
}

.path {
  display: inline-flex;
  vertical-align: 1px;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 13px;
}

.path span {
  padding: 0 6px;
  line-height: 1.7;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  white-space: nowrap;
}

.path i {
  font-style: normal;
  color: var(--muted);
}

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.callout b {
  color: var(--ink);
}

.ruled {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  margin: 0;
}

.ruled > div {
  padding: 24px 0;
  border-top: 1px solid var(--line-strong);
}

.ruled dt {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.ruled dd {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

@media (max-width: 760px) {
  .ruled {
    grid-template-columns: 1fr;
  }
}

/* 404 */
.lost {
  padding: clamp(64px, 10vw, 140px) 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.3px);
  background-size: 20px 20px;
}

.lost-code {
  font: 500 13px var(--mono);
  color: var(--sel);
}

.lost h1 {
  margin: 14px 0 16px;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.lost h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.lost .lead {
  margin-bottom: 24px;
}

.lost hr {
  margin: 48px 0;
  border: 0;
  border-top: 1px dashed var(--line-strong);
}

/* ---- Entrances on scroll (only with the script) ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
  }

  .js .rv.in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---- Downloads: one card per platform (descargas / downloads). ---- */
.platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(28px, 4vw, 48px);
}

.platform-main {
  grid-column: 1 / -1;
}

@media (max-width: 860px) {
  .platforms {
    grid-template-columns: 1fr;
  }
}

.platform {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface);
}

.platform header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}

.platform h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.platform p {
  max-width: 62ch;
  color: var(--ink-soft);
}

.platform-status {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: 600 12.5px/1.2 var(--mono);
  color: var(--muted);
}

.platform-status.is-ready {
  border-color: var(--ok);
  color: var(--ok);
}

.platform.is-soon {
  border-style: dashed;
  background: transparent;
}

.platform-note {
  font: 500 12.5px var(--mono);
  color: var(--muted);
}

.platform.is-soon .btn {
  align-self: flex-start;
  margin-top: auto;
}

.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.platform-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

.platform-help summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.platform-help p {
  margin-top: 10px;
}

.platforms-foot {
  max-width: 70ch;
  margin-top: 28px;
  color: var(--muted);
}

/* ---- Features page: one card per capability (funciones / features). ---- */
.fn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 860px) {
  .fn-grid {
    grid-template-columns: 1fr;
  }
}

.fn {
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
}

.fn-wide {
  grid-column: 1 / -1;
}

.fn h3 {
  font-size: clamp(22px, 2.2vw, 28px);
}

.fn p {
  margin-top: 10px;
  max-width: 68ch;
  color: var(--ink-soft);
}

.fn code {
  font: 500 0.92em var(--mono);
}

.fn-cat {
  margin-top: 20px;
  font: 600 12.5px/1.2 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.fn-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding: 0;
  list-style: none;
}

.fn-tags li {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  font: 500 13px/1.25 var(--mono);
  color: var(--ink);
}

.fn-foot {
  max-width: 64ch;
  margin-bottom: 28px;
  font-size: 18px;
  color: var(--muted);
}

/* ---- Documentation: a side menu and the reference cards (documentacion / docs). ---- */
.docs {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding-block: 8px 96px;
}

@media (max-width: 860px) {
  .docs {
    grid-template-columns: 1fr;
  }
}

.docs-nav {
  align-self: start;
  position: sticky;
  top: 88px;
}

.docs-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-nav a {
  display: block;
  padding: 8px 12px;
  border-left: 2px solid var(--line);
  color: var(--ink-soft);
  text-decoration: none;
}

.docs-nav a:hover {
  color: var(--ink);
}

.docs-nav a[aria-current="page"] {
  border-left-color: var(--ink);
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 860px) {
  .docs-nav {
    position: static;
  }

  .docs-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .docs-nav a {
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 6px 14px;
  }

  .docs-nav a[aria-current="page"] {
    background: var(--ink);
    color: var(--paper);
  }
}

.docs-body > p {
  max-width: 68ch;
  margin-top: 14px;
  color: var(--ink-soft);
}

.docs-body h2 {
  margin-top: 48px;
  font-size: clamp(24px, 2.6vw, 32px);
}

.docs-body > h2:first-child {
  margin-top: 0;
}

.docs-body code {
  font: 500 0.92em var(--mono);
}

.docs-body pre {
  max-width: 100%;
  margin-top: 16px;
  padding: 16px 18px;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  font: 400 13px/1.55 var(--mono);
  color: var(--ink);
}

.docs-body pre code {
  font: inherit;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.doc-grid-tall {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.doc {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
}

.doc-shot {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.doc-shot img {
  display: block;
  max-width: 100%;
  height: auto;
}

.doc-shot-wide {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.doc-body h3 {
  font-size: 20px;
}

.doc-body p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.doc-body {
  padding: 18px 20px 22px;
}

.doc-changes {
  font-size: 15px;
}

.doc-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 40px;
}

.doc-step-n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font: 600 15px var(--mono);
}

.doc-step h2 {
  margin-top: 2px;
  font-size: 24px;
}

.doc-step p {
  max-width: 62ch;
  margin-top: 8px;
  color: var(--ink-soft);
}

.doc-list {
  max-width: 68ch;
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--ink-soft);
}

.doc-list li {
  margin-top: 6px;
}
