/* The public site and the docs, on top of dezzi.css. */
.site { font-size: 17px; background: var(--gray-1); }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: 999px; z-index: 20; font-weight: 700; }
.skip:focus { left: 8px; }

/* The pastel and tomato blocks the page is built from. Each also carries .on-color, which keeps its text ink. */
.site .sky { background: var(--sky); }
.site .mint { background: var(--mint); }
.site .butter { background: var(--butter); }
.site .lilac { background: var(--lilac); }
.site .tomato { background: var(--tomato); }

/* Header. */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--gray-1); border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.site-nav { display: flex; gap: 4px; margin-right: auto; }
.site-nav a, .sign-in { font-size: 15.5px; font-weight: 600; color: var(--gray-10); text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover, .sign-in:hover { background: var(--gray-3); }
.site-nav a[aria-current='page'] { text-decoration: underline; text-decoration-color: var(--tomato); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.bar-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 860px) { .site-nav { display: none; } .bar { justify-content: space-between; } }

/* Shared section rhythm. */
.band { padding: clamp(40px, 5vw, 72px) 0 0; }
/* A link to a section stops below the sticky header (76px and its 2px border), so the band's top padding shows as space under it. */
.band[id] { scroll-margin-top: 78px; }
.kicker { display: inline-flex; padding: 3px 12px; margin-bottom: 14px; border-radius: 999px; border: 2px solid #1a1a2e; color: #1a1a2e; font-weight: 700; font-size: 14px; }
.section-title { font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 16px; max-width: 18ch; }
.section-lead { font-size: 19px; color: var(--gray-9); max-width: 62ch; margin: 0 0 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero. */
.hero { padding: clamp(24px, 4vw, 48px) 0 clamp(24px, 3vw, 40px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--gray-10); text-decoration: none; padding: 4px 14px 4px 4px; border: 2px solid var(--line); border-radius: 999px; background: var(--surface); margin-bottom: 26px; }
.pill:hover { box-shadow: 3px 3px 0 var(--hard); }
/* When the pill wraps on a phone, a full-round border would squeeze two lines between half-circles: give it a card's
   corners, room above and below the text, and keep the badge and arrow from shrinking. */
.pill .badge, .pill > span[aria-hidden] { flex-shrink: 0; }
/* The pill's newest features, one at a time: each spins down out of the window as the next drops in from above. All
   of them share one grid cell, so the pill is always as wide and tall as the longest and never jumps. */
.ticker { display: grid; min-width: 0; overflow: hidden; perspective: 300px; }
.ticker-item { grid-area: 1 / 1; align-self: center; visibility: hidden; backface-visibility: hidden; }
.ticker-item.is-on, .ticker-item.is-out { visibility: visible; }
/* One after the other, never both at once: the old line spins out in 0.3s, and only then does the new one drop in. */
.ticker-item.is-out { animation: tick-out 0.3s cubic-bezier(0.5, 0, 0.75, 0) both; }
.ticker-item.is-on.is-in { animation: tick-in 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.3s both; }
@keyframes tick-out { to { opacity: 0; transform: translateY(70%) rotateX(-70deg); } }
@keyframes tick-in { from { opacity: 0; transform: translateY(-70%) rotateX(70deg); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .pill { align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; line-height: 1.35; font-size: 14px; margin-bottom: 22px; } }
.hero h1 { font-size: clamp(50px, 7vw, 92px); line-height: 0.94; letter-spacing: -0.045em; font-weight: 800; margin: 0 0 24px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--gray-9); max-width: 46ch; margin: 0 0 30px; line-height: 1.5; }
.assurances { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; color: var(--gray-9); }
.assurances li { display: inline-flex; align-items: center; gap: 8px; }
.assurances li::before, ul.check li::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #1a1a2e; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%231a1a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* The hero's demo, drawn as two overlapping cards: the chat in the customer's app and the refund waiting in Dezzi's
   inbox. */
.demo { position: relative; min-height: 700px; }
.window { position: absolute; border: 2px solid #1a1a2e; border-radius: var(--r-xl); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px 4px; font-size: 15px; }
.count { margin-left: auto; background: #1a1a2e; color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 1px 8px; }
.demo-chat { left: 0; top: 0; width: min(420px, 82%); background: var(--sky); transform: rotate(-2deg); }
.thread { display: flex; flex-direction: column; gap: 10px; padding: 12px 18px 20px; min-height: 300px; font-size: 15px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 20px; margin: 0; line-height: 1.45; border: 2px solid #1a1a2e; }
.msg.me { align-self: flex-end; background: #1a1a2e; color: #fff; border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; }
.msg.done { background: var(--mint); }
.tool { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; }
.tool code { background: #fff; }
.spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgb(26 26 46 / 0.25); border-top-color: #1a1a2e; animation: spin 0.8s linear 4; }
.demo-inbox { right: 0; top: 390px; width: min(380px, 76%); background: var(--butter); transform: rotate(2.2deg); box-shadow: 6px 6px 0 #1a1a2e; z-index: 1; }
.proposal { padding: 8px 18px 20px; }
.proposal .small { margin: 0 0 4px; }
.proposal-title { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.checks span { font-size: 12.5px; font-weight: 600; background: #fff; border: 1.5px solid #1a1a2e; border-radius: 999px; padding: 2px 10px; }
.state { position: relative; height: 26px; margin-bottom: 12px; }
.state .badge { position: absolute; left: 0; top: 0; background-color: #fff; }
.state .badge.ok { background: var(--mint); }
.decide { display: flex; gap: 8px; }
.fake-btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; border-radius: 999px; border: 2px solid #1a1a2e; font-size: 14px; font-weight: 700; background: #fff; color: #1a1a2e; }
.fake-btn.approve { background: #1a1a2e; color: #fff; }
@media (max-width: 560px) {
  .demo { min-height: 0; display: grid; gap: 16px; }
  .window { position: static; width: 100%; transform: none; }
}

/* The demo plays once: the customer writes, the assistant looks up and proposes, the team approves, the customer hears. */
.demo .d1, .demo .d2, .demo .d3, .demo .d6, .demo-inbox { opacity: 0; animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.demo .d1 { animation-delay: 0.5s; }
.demo .d2 { animation-delay: 1.4s; }
.demo .d3 { animation-delay: 2.6s; }
.demo-inbox { animation-delay: 3.4s; }
.demo .s-done { opacity: 0; animation: swap-in 0.35s ease forwards 5.6s; }
.demo .s-wait { animation: swap-out 0.25s ease forwards 5.5s; }
.demo .approve { animation: press 0.4s ease 5.1s; }
.demo .d6 { animation-delay: 6.3s; }
@keyframes rise { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@keyframes swap-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes swap-out { to { opacity: 0; transform: translateY(-4px); } }
@keyframes press { 40% { transform: scale(0.94); box-shadow: 0 0 0 4px var(--tomato); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .demo .d1, .demo .d2, .demo .d3, .demo .d6, .demo-inbox, .demo .s-done { opacity: 1; animation: none; }
  .demo .s-wait { opacity: 0; animation: none; }
}

/* Facts under the hero: four small coloured cards. */
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.facts-grid p { margin: 0; padding: 18px 20px; border: 2px solid #1a1a2e; border-radius: var(--r-lg); font-size: 15px; line-height: 1.45; }
.facts-grid p:nth-child(1) { background: var(--sky); }
.facts-grid p:nth-child(2) { background: var(--butter); }
.facts-grid p:nth-child(3) { background: var(--mint); }
.facts-grid p:nth-child(4) { background: var(--lilac); }
.facts-grid strong { display: block; font-family: var(--display); font-size: 19px; font-weight: 800; margin-bottom: 2px; }
@media (max-width: 900px) { .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts-grid { grid-template-columns: minmax(0, 1fr); } }

/* What it does alone and what waits for you. */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.compare-col { border: 2px solid #1a1a2e; border-radius: var(--r-xl); padding: 30px 32px; }
.compare-col h3 { font-size: 32px; font-weight: 800; margin: 0 0 18px; }
ul.check { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
ul.check li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
ul.check li::before { margin-top: 3px; }
.compare-col.tomato ul.check li::before { background-color: #fff; }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } }

/* Steps. */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps li { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-xl); padding: 24px; display: flex; flex-direction: column; }
.steps h3 { font-size: 21px; margin: 16px 0 6px; }
.steps p { color: var(--gray-9); font-size: 15.5px; }
.steps pre { margin: auto 0 0; font-size: 11.5px; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--gray-1); border-width: 1.5px; }
.step-n { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #1a1a2e; color: #1a1a2e; font-family: var(--display); font-weight: 800; font-size: 21px; display: grid; place-items: center; }
.mini-inbox { margin-top: auto; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 10px; border: 2px solid #1a1a2e; border-radius: var(--r-lg); background: var(--butter); }
.mini-inbox .badge { background: #fff; padding: 4px 8px; }
.mini-inbox .fake-btn { min-height: 28px; padding: 0 10px; font-size: 13px; }
.mini-inbox > * { flex: none; white-space: nowrap; }
@media (max-width: 1200px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Feature blocks. */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-xl); padding: 30px; }
.tile.on-color { border-color: #1a1a2e; }
.tile h3 { font-size: 26px; font-weight: 800; line-height: 1.05; margin: 0 0 10px; }
.tile p { color: var(--gray-9); margin: 0; }
.tile.wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
.inbox-art { display: flex; flex-direction: column; gap: 10px; }
.inbox-art div { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 2px solid #1a1a2e; border-radius: var(--r-md); background: #fff; font-size: 14.5px; font-weight: 600; }
.inbox-art div:first-child { box-shadow: 4px 4px 0 #1a1a2e; }
.inbox-art div:nth-child(2) { margin-left: 18px; }
.inbox-art div:nth-child(3) { margin-left: 36px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 700; padding: 5px 13px; border: 2px solid var(--line); border-radius: 999px; background: var(--gray-1); }
.chips li:nth-child(4n + 1) { background: var(--sky); color: #1a1a2e; border-color: #1a1a2e; }
.chips li:nth-child(4n + 2) { background: var(--mint); color: #1a1a2e; border-color: #1a1a2e; }
.chips li:nth-child(4n + 3) { background: var(--butter); color: #1a1a2e; border-color: #1a1a2e; }
.chips li:nth-child(4n + 4) { background: var(--lilac); color: #1a1a2e; border-color: #1a1a2e; }
.bento .tile.wide:last-child { grid-column: 1 / -1; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile.wide { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento .tile.wide, .bento .tile.wide:last-child { grid-column: auto; grid-template-columns: minmax(0, 1fr); } }

/* The developers block: ink, inside the page's width. */
.dev-block { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); background: #1a1a2e; color: #fff7ec; border: 2px solid #1a1a2e;
  --gray-10: #fff7ec; --gray-9: #c9c9d9; --gray-5: #3b3b5e; --gray-2: #262642; --line: #3b3b5e; --surface: #262642; }
@media (prefers-color-scheme: dark) { .dev-block { border-color: var(--line); } }
.dev-block .section-title { color: #fff7ec; }
.dev-block :not(pre) > code { background: #262642; border-color: #3b3b5e; color: #fff7ec; }
.plain-list { margin-bottom: 28px !important; }
.code-tabs { border: 2px solid #3b3b5e; border-radius: var(--r-lg); background: #262642; overflow: hidden; }
.tab-list { display: flex; gap: 4px; padding: 8px; border-bottom: 2px solid #3b3b5e; overflow-x: auto; }
.tab-list button { background: transparent; border-color: transparent; color: #c9c9d9; font-weight: 600; min-height: 34px; }
.tab-list button:hover { background: #31314f; color: #fff; box-shadow: none; transform: none; }
.tab-list button[aria-selected='true'] { background: var(--mint); border-color: var(--mint); color: #1a1a2e; }
.code-tabs pre { background: transparent; border: 0; border-radius: 0; margin: 0; padding: 22px 24px; color: #e6e6f2; font-size: 13px; line-height: 1.7; min-height: 300px; tab-size: 2; }
/* The examples' highlighting, in the site's own colours on the dark panel: keywords lilac, functions sky, strings mint,
   numbers butter, JSX tags tomato, comments quiet. */
.code-tabs .k { color: #c8b6ff; }
.code-tabs .f { color: #8fd3ff; }
.code-tabs .s { color: #a6ebc4; }
.code-tabs .n { color: #ffd97a; }
.code-tabs .t { color: #ff8a6b; }
.code-tabs .a { color: #ffd97a; }
.code-tabs .c { color: #8a8aa6; font-style: italic; }
.code-tabs .c a { color: #a6ebc4; text-underline-offset: 3px; }
@media (max-width: 900px) { .dev-block { grid-template-columns: minmax(0, 1fr); } }

/* Pricing. */
.estimator { max-width: 760px; margin: 0 0 28px; padding: 22px 26px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-xl); }
.est-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.est-label { font-family: var(--display); font-weight: 700; font-size: 20px; }
#volume-out { font-family: var(--display); font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
input[type='range'] { padding: 0; min-height: 0; height: 8px; border: 0; border-radius: 999px; background: var(--gray-4); accent-color: var(--tomato); box-shadow: none; appearance: auto; }
.est-result { margin: 16px 0 0; padding: 10px 14px; border: 2px solid #1a1a2e; border-radius: var(--r-md); background: var(--butter); }
.est-result strong, .est-result span { font-weight: 800; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; border: 2px solid #1a1a2e; border-radius: var(--r-xl); padding: 26px 24px; display: flex; flex-direction: column; gap: 4px; transition: transform 0.2s, box-shadow 0.2s; }
.plan h3 { margin: 0; font-size: 24px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan h3 .tag { font-family: var(--sans); font-size: 12px; }
.plan .price { margin: 10px 0 2px; display: flex; align-items: baseline; gap: 4px; }
.plan .price strong { font-family: var(--display); font-size: 48px; letter-spacing: -0.04em; font-weight: 800; line-height: 1; }
.plan .price span { color: var(--gray-9); }
.plan > .muted { min-height: 2.9em; font-size: 15px; }
.plan .button { margin: 6px 0 18px; }
.plan ul.check { font-size: 15px; gap: 10px; }
.plan ul.check li::before { background-color: #fff; }
.plan.featured { box-shadow: 6px 6px 0 #1a1a2e; }
.plan.recommended { transform: translateY(-6px); box-shadow: 8px 8px 0 #1a1a2e; }
.ribbon { display: none; position: absolute; top: -15px; left: 20px; background: #1a1a2e; color: #fff; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 4px 12px; }
.plan.recommended .ribbon { display: block; }
@media (prefers-color-scheme: dark) { .plan.featured, .plan.recommended { box-shadow: 6px 6px 0 #07070f; } .plan, .compare-col, .tile.on-color, .facts-grid p, .window, .final-inner { border-color: #07070f; } }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 560px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* Security. */
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 24px; }
.sec-grid > div { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-xl); padding: 24px; }
.sec-grid h3 { font-size: 19px; margin: 0 0 8px; }
.sec-grid p { color: var(--gray-9); font-size: 15.5px; margin: 0; }
.more a { font-weight: 700; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sec-grid { grid-template-columns: minmax(0, 1fr); } }

/* FAQ. */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.faq-grid .section-lead { margin-bottom: 0; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: var(--r-lg); }
.faq summary { padding: 18px 22px; font-family: var(--display); font-size: 19px; font-weight: 700; }
.faq details p { color: var(--gray-9); margin: 0 22px 18px 39px; }

/* Closing call: a tomato block. */
.final { padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 5vw, 64px); }
.final-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: clamp(40px, 6vw, 80px) 24px; background: var(--tomato); border: 2px solid #1a1a2e; border-radius: var(--r-xl); box-shadow: 8px 8px 0 #1a1a2e; }
.final-mark { width: 72px; height: 72px; }
.final h2 { font-size: clamp(38px, 5.5vw, 68px); letter-spacing: -0.04em; line-height: 0.98; max-width: 16ch; margin: 0; font-weight: 800; }
.final .small { margin: 0; font-weight: 500; }

/* Footer. */
.site-footer { border-top: 2px solid var(--line); padding: 48px 0 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid h4 { margin: 0 0 4px; font-size: 15px; color: var(--gray-10); }
.footer-grid nav a { color: var(--gray-9); text-decoration: none; font-size: 15px; }
.footer-grid nav a:hover { color: var(--gray-10); text-decoration: underline; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Docs and legal pages: a sidebar of pages and readable prose. */
.docs-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding: 32px 0 96px; }
.docs-nav { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 2px; font-size: 15px; max-height: calc(100vh - 116px); overflow-y: auto; }
.docs-nav h4 { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--gray-8); margin: 18px 12px 6px; letter-spacing: 0; }
.docs-nav h4:first-child { margin-top: 0; }
.docs-nav a { text-decoration: none; color: var(--gray-9); padding: 7px 12px; border-radius: var(--r-md); border: 2px solid transparent; font-weight: 500; }
.docs-nav a:hover { background: var(--surface); color: var(--gray-10); }
.docs-nav a[aria-current='page'] { background: var(--tomato); border-color: var(--hard); color: var(--on-color); font-weight: 700; }
.doc { max-width: 760px; font-size: 17px; line-height: 1.7; }
.doc h1 { font-size: clamp(36px, 4.4vw, 52px); letter-spacing: -0.04em; margin: 0 0 16px; line-height: 1; }
.doc > h1 + p { font-size: 19px; color: var(--gray-9); }
.doc h2 { font-size: 26px; margin: 48px 0 12px; padding-top: 8px; scroll-margin-top: 96px; }
.doc h3 { font-size: 19px; margin: 28px 0 8px; scroll-margin-top: 96px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--gray-7); }
.doc pre { font-size: 13px; }
.doc table { margin: 0 0 20px; }
.doc > table { border: 2px solid var(--line); border-radius: var(--r-lg); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.doc .card { margin: 16px 0; }
.doc blockquote { margin: 18px 0; padding: 14px 18px; border: 2px solid #1a1a2e; background: var(--butter); color: #1a1a2e; border-radius: var(--r-lg); }
.doc blockquote a { color: #1a1a2e; }
.crumbs { font-size: 14px; font-weight: 600; color: var(--gray-9); margin: 0 0 14px; }
.crumbs a { text-decoration: none; }
.docs-menu { display: none; }
@media (max-width: 860px) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 20px; }
  .docs-nav { display: none; }
  .docs-menu { display: block; }
  .docs-menu .docs-nav { display: flex; position: static; max-height: none; padding: 8px 4px 12px; }
}
.doc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0; }
.doc-card { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 2px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; transition: transform 0.12s, box-shadow 0.12s; }
.doc-card:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--hard); }
.doc-card strong { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 18px; font-weight: 800; }
.doc-card span { color: var(--gray-9); font-size: 15px; line-height: 1.5; }
.doc-card .badge { font-family: var(--sans); font-size: 11.5px; padding: 3px 8px; }
@media (max-width: 600px) { .doc-cards { grid-template-columns: minmax(0, 1fr); } }
