/*
 * Vuto Lilt developer docs.
 *
 * Same warm paper system as the rest of Vuto: near-black ink, one vermilion
 * accent, hairline rules, 4px/3px radii. No gradients, blur, glow or boxed
 * icons. Structure comes from ruled columns and mono labels.
 */

:root {
  color-scheme: light;
  font-family: var(--font-ui);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --paper: #f6f2ea;
  --paper-deep: #ece5d8;
  --paper-sunk: #f0ebe0;
  --card: #fffdf9;
  --ink: #14120f;
  --ink-soft: #2e2a24;
  --muted: #554f45;
  --subtle: #6f675b;
  --line: rgb(20 18 15 / 0.13);
  --line-strong: rgb(20 18 15 / 0.26);
  --rule: rgb(20 18 15 / 0.82);
  --accent: #dd3311;
  --accent-strong: #b8260a;
  --accent-wash: rgb(221 51 17 / 0.08);
  --accent-ink: #fffaf8;
  --warn: #8a5a00;
  --warn-wash: rgb(216 152 24 / 0.13);
  --danger: #a81f13;
  --danger-bg: rgb(168 31 19 / 0.07);
  --panel-radius: 4px;
  --control-radius: 3px;
  --frame: min(1280px, calc(100% - 64px));
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Iowan Old Style", Charter, "Palatino Linotype", Palatino,
    Georgia, serif;
  --font-ui: ui-sans-serif, system-ui, "Segoe UI", "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    monospace;
  --topbar-height: 60px;
  --sidebar-width: 256px;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-height) + 14px);
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

::selection {
  background: var(--accent-strong);
  color: var(--accent-ink);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a,
[tabindex],
button,
input {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

a,
button {
  transition:
    color 160ms var(--ease-out),
    border-color 160ms var(--ease-out),
    background-color 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}

a:active,
button:active {
  transform: translateY(1px) scale(0.99);
}

a:focus-visible,
[tabindex]:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
ul,
table {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

code,
pre,
kbd {
  font-family: var(--font-mono);
}

.frame {
  width: var(--frame);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 60;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: var(--control-radius);
  background: var(--accent-strong);
  color: var(--accent-ink);
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------------------------------------------------------------- topbar - */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--topbar-height);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.topbar-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  font-size: 1.02rem;
  font-weight: 760;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 2px solid var(--accent-strong);
  border-radius: 46% 54% 62% 38% / 42% 38% 62% 58%;
  transform: rotate(-18deg);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  min-width: 0;
}

.topbar-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar-nav a:hover {
  color: var(--accent-strong);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  margin-left: auto;
  gap: 16px;
}

.topbar-talk {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar-talk:hover {
  color: var(--accent-strong);
}

.topbar-key-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: var(--control-radius);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.topbar-key-action:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--accent-ink);
}

/* --------------------------------------------------------------- layout - */

.docs-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  align-items: start;
  width: var(--frame);
  margin-inline: auto;
}

.docs-sidebar {
  position: sticky;
  top: var(--topbar-height);
  height: calc(100dvh - var(--topbar-height));
  overflow-y: auto;
  padding: 26px 20px 40px 0;
  border-right: 1px solid var(--line);
}

.sidebar-scrim {
  display: none;
}

.nav-search {
  position: relative;
  margin-bottom: 22px;
}

.nav-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 40px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  background: var(--card);
  color: var(--ink);
  font-size: 0.84rem;
}

.nav-search input::placeholder {
  color: var(--subtle);
}

.nav-search kbd {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  min-width: 18px;
  padding: 1px 5px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--paper-deep);
  color: var(--subtle);
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

.nav-group {
  margin-bottom: 22px;
}

.nav-group-label {
  margin: 0 0 8px;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-group li {
  margin: 0;
}

.nav-group a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--control-radius);
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}

.nav-group a:hover {
  color: var(--ink);
  background: var(--paper-sunk);
}

.nav-group a[aria-current="true"] {
  background: var(--accent-wash);
  color: var(--accent-strong);
  font-weight: 620;
}

.nav-empty {
  margin: 6px 10px;
  color: var(--subtle);
  font-size: 0.82rem;
}

.docs-main {
  min-width: 0;
  padding-left: clamp(28px, 4vw, 56px);
}

/* ------------------------------------------------------------------ hero - */

.hero {
  padding-block: clamp(48px, 7vw, 84px);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 76px);
}

.hero-copy {
  max-width: 640px;
}

.kicker {
  margin-bottom: 20px;
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 620px;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.hero-lede {
  max-width: 54ch;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding-inline: 18px;
  border: 1px solid transparent;
  border-radius: var(--control-radius);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.button-primary {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--accent-ink);
}

.button-primary:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--card);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.trial-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.trial-status[data-state="success"] {
  color: var(--ink);
}

.trial-status[data-state="error"] {
  color: var(--danger);
}

.key-reveal {
  max-width: 640px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--accent);
  border-radius: var(--panel-radius);
  background: var(--accent-wash);
}

.key-reveal[hidden] {
  display: none;
}

.key-reveal strong,
.key-reveal span {
  display: block;
}

.key-reveal strong {
  font-size: 0.88rem;
}

.key-reveal span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.77rem;
}

.secret-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 13px;
}

.secret-row output {
  display: flex;
  min-width: 0;
  min-height: 46px;
  flex: 1 1 auto;
  align-items: center;
  overflow: auto;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  background: var(--paper-sunk);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  white-space: nowrap;
}

.copy-button {
  min-width: 88px;
  min-height: 44px;
  padding-inline: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 720;
}

.copy-button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

/* --------------------------------------------------------- code shells - */

.code-shell {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--panel-radius);
  background: var(--paper-sunk);
}

.code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 8px 0 16px;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 680;
}

.code-heading > span:first-child {
  color: var(--ink);
}

.tab-list {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
}

.tab-list [role="tab"] {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--control-radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 620;
  white-space: nowrap;
}

.tab-list [role="tab"]:hover {
  color: var(--ink);
}

.tab-list [role="tab"][aria-selected="true"] {
  border-color: var(--line-strong);
  background: var(--card);
  color: var(--accent-strong);
}

.tab-panel[hidden] {
  display: none;
}

pre {
  max-width: 100%;
  margin: 0;
  overflow: auto;
  padding: clamp(16px, 3vw, 26px);
  color: var(--ink-soft);
  font-size: clamp(0.7rem, 1vw, 0.83rem);
  line-height: 1.68;
  tab-size: 2;
}

pre code {
  display: inline-block;
  min-width: 100%;
}

/* ---------------------------------------------------------------- guides - */

.section {
  padding-block: clamp(56px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 640px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.section-heading p {
  max-width: 62ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: clamp(30px, 5vw, 48px);
}

.guide-card {
  display: block;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--panel-radius);
  background: var(--accent-wash);
  color: inherit;
  text-decoration: none;
}

.guide-card:nth-child(even) {
  background: var(--paper-sunk);
}

.guide-card:hover {
  border-color: var(--accent);
}

.guide-icon {
  display: block;
  width: 22px;
  height: 22px;
  margin-bottom: 14px;
  color: var(--accent-strong);
}

.guide-card h3 {
  font-size: 1.02rem;
  letter-spacing: -0.015em;
}

.guide-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ------------------------------------------------------------- use cases - */

.usecase-list {
  margin: clamp(30px, 5vw, 48px) 0 0;
  border-top: 1px solid var(--line-strong);
}

.usecase-list > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  gap: 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.usecase-list h3 {
  font-size: 0.98rem;
}

.usecase-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --------------------------------------------------------- quickstart -- */

.quickstart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 36px);
  margin-top: clamp(30px, 5vw, 48px);
}

/* -------------------------------------------------------------- callout - */

.callout {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  background: var(--card);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.callout-label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.callout code {
  color: var(--accent-strong);
  font-size: 0.92em;
}

.callout p {
  margin: 0;
}

.callout p + p {
  margin-top: 8px;
}

/* -------------------------------------------------------------- reference - */

.ref-block {
  margin-top: clamp(40px, 6vw, 64px);
}

.ref-block:first-of-type {
  margin-top: clamp(30px, 5vw, 48px);
}

.ref-block h3 {
  font-size: 1.35rem;
}

.ref-endpoint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.ref-method {
  padding: 2px 8px;
  border-radius: var(--control-radius);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ref-endpoint code {
  color: var(--accent-strong);
}

.ref-block p.ref-lede {
  max-width: 62ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.table-scroll {
  overflow-x: auto;
  margin-top: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--panel-radius);
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.84rem;
}

caption {
  padding: 12px 14px 0;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

th,
td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--paper-sunk);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

td code,
th code {
  color: var(--accent-strong);
  font-size: 0.92em;
}

td p {
  margin: 0;
}

td p + p {
  margin-top: 6px;
}

.field-required {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field-optional {
  color: var(--subtle);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ limits - */

.limits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: clamp(30px, 5vw, 48px);
}

.limit-card {
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--panel-radius);
  background: var(--card);
}

.limit-card h3 {
  font-size: 0.98rem;
}

.limit-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.limit-figure {
  display: block;
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 620;
}

/* ------------------------------------------------------------------ access - */

.access {
  border-bottom: 0;
  background: var(--paper-deep);
}

.access-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: start;
  gap: clamp(48px, 8vw, 96px);
}

.access-copy {
  max-width: 600px;
}

.access-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.access-copy p {
  max-width: 60ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.access-facts {
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.access-facts > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.access-facts dt,
.access-facts dd {
  margin: 0;
  font-size: 0.84rem;
}

.access-facts dt {
  color: var(--muted);
}

.access-facts dd {
  color: var(--ink);
  text-align: right;
}

.access-facts code {
  color: var(--accent-strong);
}

/* ---------------------------------------------------------------- footer - */

.site-footer {
  padding-top: 30px;
  /* Reserves clearance below the footer's own content so the fixed
     feedback pin never sits on top of the return link at the end of
     the page, however far the document scrolls. */
  padding-bottom: calc(30px + 44px + 16px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
  color: var(--subtle);
  font-size: 0.78rem;
}

.footer-inner a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ------------------------------------------------------------- feedback pin - */

.feedback-pin {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 620;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.feedback-pin:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

/* ------------------------------------------------------------- responsive - */

@media (max-width: 1080px) {
  :root {
    --sidebar-width: 224px;
  }

  .docs-main {
    padding-left: clamp(24px, 3vw, 40px);
  }
}

@media (max-width: 900px) {
  :root {
    --sidebar-width: 272px;
  }

  .docs-shell {
    display: block;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .topbar-nav {
    display: none;
  }

  .docs-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 51;
    width: var(--sidebar-width);
    height: 100dvh;
    padding: 18px 18px 32px;
    border-right: 1px solid var(--line-strong);
    background: var(--paper);
    transform: translateX(-100%);
    transition: transform 220ms var(--ease-out);
  }

  .docs-sidebar[data-open="true"] {
    transform: translateX(0);
  }

  .sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: block;
    background: rgb(20 18 15 / 0.32);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms var(--ease-out);
  }

  .sidebar-scrim[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
  }

  .docs-main {
    padding-left: 0;
  }

  .hero-grid,
  .access-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    gap: 48px;
  }

  .access-inner {
    gap: 40px;
  }
}

@media (max-width: 720px) {
  :root {
    --frame: calc(100% - 32px);
  }

  .topbar-talk {
    display: none;
  }

  .hero {
    padding-block: 56px;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .usecase-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 430px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .access-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .access-facts dd {
    text-align: left;
  }

  .code-heading {
    flex-wrap: wrap;
    height: auto;
    min-height: 50px;
    padding-block: 8px;
  }

  .secret-row {
    align-items: stretch;
    flex-direction: column;
  }

  .copy-button {
    width: 100%;
  }

  .feedback-pin {
    right: 12px;
    bottom: 12px;
    padding: 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
