@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-600-latin.woff2) format("woff2"); }
:root {
  --ink: #191a1b;
  --muted: #5f6368;
  --line: #e7e7ef;
  --bg: #ffffff;
  --lav: #efeffb;
  --lav-2: #e3e0fa;
  --purple: #543cc3;
  --purple-dark: #4330a3;
  --max: 1140px;
  --head: Poppins, Inter, Arial, sans-serif;
  --shadow: 0 30px 70px rgba(44, 32, 120, 0.16);
  --card-shadow: 0 6px 24px rgba(25, 26, 27, 0.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: 52px; line-height: 1.12; margin: 0 0 20px; }
h2 { font-size: 44px; line-height: 1.18; margin: 0 0 14px; }
h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 18px; margin: 0 auto 56px; max-width: 620px; }

/* top bar */
.top {
  position: sticky; top: 0; z-index: 30; background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(84, 60, 195, 0.06);
}
.top-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--head); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand svg { flex: none; }
.brand b { color: var(--purple); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-size: 15px; }
.nav a:hover { color: var(--purple); text-decoration: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--purple); color: #fff !important; border-radius: 6px;
  min-height: 44px; padding: 0 20px; font-weight: 500; font-size: 15px; border: 0;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--purple-dark); text-decoration: none; }
.btn.lg { min-height: 60px; padding: 0 30px; font-size: 18px; font-weight: 600; border-radius: 8px; box-shadow: 0 12px 28px rgba(84, 60, 195, .28); }
.btn.lg:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(84, 60, 195, .34); }
.btn svg { flex: none; }
.fine { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.fine a { color: var(--muted); text-decoration: underline; }

/* hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.lead { font-size: 19px; line-height: 1.6; margin: 0 0 26px; max-width: 520px; }
.checks { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.checks svg { flex: none; color: var(--purple); }
.stage { position: relative; }
.stage::before {
  content: ""; position: absolute; inset: -12% -18% -14% 6%; z-index: -1;
  background: radial-gradient(closest-side, var(--lav-2), rgba(239, 239, 251, 0));
}
.hero-grid { grid-template-columns: 0.92fr 1.3fr; }
.hero-stage { margin-right: -170px; }
.chip {
  position: absolute; left: -40px; bottom: -30px; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 12px; padding: 14px 20px 14px 14px;
  box-shadow: 0 16px 40px rgba(44, 32, 120, .18); font-size: 15px; line-height: 1.35;
}
.chip strong { display: block; font-weight: 600; }
.chip small { color: var(--muted); font-size: 13px; }
.chip-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; }
.window { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(84, 60, 195, .10); }
.window img { width: 100%; }

/* 1-2-3 */
.easy { padding: 88px 0 120px; }
.path { --step-gap: 110px; position: relative; display: grid; grid-template-columns: repeat(3, 230px); justify-content: center; gap: 0 var(--step-gap); }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px 28px; text-align: left; height: max-content; }
.step-connector { position: absolute; left: calc(100% - 1px); top: 50%; width: calc(var(--step-gap) + 2px); height: 64px; overflow: visible; pointer-events: none; color: #b7a8e4; }
.step:nth-of-type(2) .step-connector { transform: scaleY(-1); transform-origin: top; }
.step-connector .connector-line { display: none; }
.step:nth-of-type(2) { margin-top: 84px; }
.step .ico { color: var(--purple); margin-bottom: 22px; }
.step h3 { font-family: Inter, Arial, sans-serif; font-size: 17px; font-weight: 700; letter-spacing: 0; margin: 0 0 8px; }
.step p { margin: 0; font-size: 15px; line-height: 1.6; }

/* feature accordion */
.does { padding: 40px 0 120px; overflow-x:clip; }
.does-grid { display: grid; grid-template-columns: 460px 1fr; gap: 56px; align-items: start; }
.acc { border: 1px solid var(--line); border-radius: 4px; }
.acc details { border-top: 1px solid var(--line); }
.acc details:first-child { border-top: 0; }
.acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px;
  padding: 18px 24px; font-weight: 600; font-size: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { color: var(--ink); flex: none; display: flex; }
.acc summary::after {
  content: ""; margin-left: auto; width: 8px; height: 8px; flex: none;
  border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.acc details[open] { box-shadow: var(--card-shadow); position: relative; z-index: 1; background: #fff; }
.acc details[open] summary { font-family: var(--head); font-size: 24px; padding-top: 24px; letter-spacing: -0.02em; }
.acc details[open] summary .i { color: var(--purple); }
.acc details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.acc .body { padding: 0 32px 26px 66px; font-size: 16px; line-height: 1.65; }
.acc .body p { margin: 0; }
.acc .body img { display: none; margin-top: 18px; border-radius: 8px; border: 1px solid var(--line); }
.does-stage { position: sticky; top: 110px; }
.does-stage .window img { transition: opacity .25s; }

/* use cases */
.lav { background: var(--lav); }
.uses { padding: 96px 0 104px; }
.uses .sub { margin-bottom: 48px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; gap: 16px; background: #fff; border-radius: 8px; padding: 12px; color: var(--ink); box-shadow: 0 1px 0 rgba(25, 26, 27, .03); transition: box-shadow .2s, transform .2s; }
.card:hover { text-decoration: none; box-shadow: var(--card-shadow); transform: translateY(-2px); }
.tile { flex: none; width: 96px; height: 96px; border-radius: 6px; display: grid; place-items: center; color: #fff; }
.t1 { background: linear-gradient(135deg, #7b5cff, #d24fd1); }
.t2 { background: linear-gradient(135deg, #1d2b64, #4b6cb7); }
.t3 { background: linear-gradient(135deg, #0f9b8e, #59d7b6); }
.t4 { background: linear-gradient(135deg, #f7971e, #f75b5b); }
.t5 { background: linear-gradient(135deg, #2b1f6b, #6a4dfb); }
.t6 { background: linear-gradient(135deg, #10304f, #2a7cc7); }
.card h3 { font-family: Inter, Arial, sans-serif; font-size: 16px; font-weight: 600; letter-spacing: 0; margin: 4px 0 4px; }
.card p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; }
.more { font-size: 14px; color: var(--purple); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }

/* numbers */
.facts { padding: 104px 0; }
.fact-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
.fact { text-align: center; padding: 8px 12px; }
.fact strong { display: block; font-family: var(--head); font-weight: 600; font-size: 50px; line-height: 1.1; letter-spacing: -0.03em; color: var(--purple); }
.fact span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }

/* download */
.dl { padding: 40px 0 112px; }
.dl-card { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-top: 3px solid var(--purple); border-radius: 10px; box-shadow: var(--card-shadow); padding: 44px 48px 36px; text-align: center; }
.os { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; padding: 0 0 18px; margin-bottom: 22px; border-bottom: 2px solid var(--purple); }
.dl-card .meta { color: var(--muted); font-size: 15px; margin: 0 0 26px; }
.ticks { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 26px 0 0; font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { color: var(--purple); }
.req { text-align: left; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; }
.req summary { cursor: pointer; font-weight: 600; }
.req ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }

/* tour */
.tour { padding: 72px 0; }
.tour-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tour-card { background: #fff; border-radius: 8px; padding: 26px 26px 24px; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.tour-card:hover { text-decoration: none; box-shadow: var(--card-shadow); transform: translateY(-2px); }
.tour-card h3 { font-size: 20px; margin: 0 0 6px; }
.tour-card p { margin: 0 0 14px; font-size: 15px; color: var(--muted); }

/* resources */
.res { padding: 96px 0 104px; }
.tabs { display: flex; justify-content: center; gap: 36px; border-bottom: 1px solid var(--line); margin: 0 auto 36px; max-width: 820px; }
.tabs button { background: none; border: 0; font: inherit; font-size: 16px; font-weight: 600; color: var(--muted); padding: 0 4px 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--purple); border-color: var(--purple); }
.panel { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--purple); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: -6px 0 22px; color: #3c4043; font-size: 16px; }
.guides { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.guides a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 16px; }
.guides a:hover { color: var(--purple); text-decoration: none; }

/* final cta */
.final { padding: 96px 0; text-align: center; background: linear-gradient(180deg, #fff, var(--lav)); }
.final .sub { margin-bottom: 32px; }

/* article pages */
.ahero { padding: 64px 0 72px; }
.ahero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.ahero h1 { font-size: 46px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.article { padding: 8px 0 80px; }
.prose { max-width: 740px; margin: 0 auto; font-size: 18px; }
.prose h2 { font-size: 30px; margin: 44px 0 12px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 22px; }
.prose li { margin: 0 0 10px; }
.prose ol { counter-reset: s; list-style: none; padding: 0; }
.prose ol li { counter-increment: s; position: relative; padding-left: 52px; min-height: 36px; margin-bottom: 18px; }
.prose ol li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--lav); color: var(--purple); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.prose code { background: var(--lav); padding: 2px 6px; border-radius: 4px; font-size: 15px; }
.prose .window { margin: 34px 0; }
.related { padding: 72px 0; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: var(--max); }
.gallery figure { margin: 0; }
.gallery img { border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.gallery figcaption { padding: 12px 2px 0; font-size: 15px; color: var(--muted); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 44px; color: var(--muted); font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; align-items: center; }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer a { color: var(--muted); }
.footer p { margin: 18px 0 0; }

/* Auto Shutdown: keep the reference's spacious rhythm and use official Lucide icons. */
.logo { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--purple); color: white; flex: none; }
.brand { font-size: 18px; gap: 9px; white-space: nowrap; }
.nav { gap: 25px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--purple); margin: 0 0 18px; }
.hero { padding-top: 76px; padding-bottom: 106px; }
.hero h1 { font-size: 51px; line-height: 1.18; letter-spacing: -.035em; }
.hero .lead { font-size: 18px; }
.hero .checks { gap: 8px; margin-bottom: 30px; }
.hero .checks li { font-size: 16px; }
.text-link { display: inline-flex; gap: 9px; align-items: center; margin-top: 19px; font-size: 14px; font-weight: 500; }
.hero-grid { gap: 64px; }
.hero-stage { margin-right: -160px; }
.hero-stage .window { border-radius: 13px; background: #191a22; }
.easy { padding-top: 68px; }
.path { --step-gap: 90px; grid-template-columns: repeat(3,250px); }
.step { min-height: 224px; }
.step:nth-of-type(2) { margin-top: 64px; }
.does-grid { grid-template-columns: 440px minmax(0,1fr); }
.does-grid>* { min-width:0; }
.acc summary { font-size: 15px; gap: 13px; padding: 18px 20px; }
.acc summary>svg:last-child { margin-left: auto; flex: none; }
.acc details[open] summary>svg:last-child { transform: rotate(180deg); }
.acc summary::after { display: none; }
.acc details[open] summary { font-size: 20px; }
.acc .body { padding-left: 57px; padding-right: 22px; font-size: 15px; }
.acc .body .window { display: none; }
.does-stage { top: 115px; }
.card { text-align: left; padding: 18px 15px; align-items: center; }
.tile { width: 66px; height: 76px; border-radius: 10px; }
.card p { font-size: 13px; }
.card h3 { font-size: 15px; }
.offer-note { max-width: 570px; font-size: 14px; line-height: 1.65; color: var(--muted); margin: 24px auto 0; }
.req summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; list-style: none; }
.req summary::-webkit-details-marker { display: none; }
.req[open] summary svg { transform: rotate(180deg); }
.faq summary::after { display: none; }
.faq summary>svg { flex: none; color: var(--purple); margin-top: 4px; }
.faq details[open] summary>svg { transform: rotate(45deg); }
.faq summary { align-items: start; }
.faq details p { max-width: 750px; }
.tour h2 { font-size: 34px; margin-bottom: 36px; }
.footer .brand { font-size: 16px; }
.footer-note { font-size: 12px; }
.footer-row { gap: 10px 18px; font-size: 13px; }
.notice { display: flex; align-items: start; gap: 14px; padding: 20px; border-left: 3px solid var(--purple); background: var(--lav); border-radius: 0 8px 8px 0; margin: 28px 0; font-size: 16px; }
.notice svg { color: var(--purple); flex: none; margin-top: 3px; }
.notice p { margin: 0; }
.prose { overflow-wrap: break-word; }
.prose code { overflow-wrap: anywhere; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .btn { text-decoration: none; }
.prose .article-guides { padding-left: 20px; }
.prose .article-guides li { margin-bottom: 16px; }
.prose .window { margin-top: 28px; margin-bottom: 42px; }
.license-text { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 15px; line-height: 1.7; padding: 24px; background: #f8f7fc; border: 1px solid var(--line); border-radius: 8px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: white; color: var(--purple); padding: 12px 20px; box-shadow: var(--card-shadow); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #9a88ed; outline-offset: 4px; border-radius: 3px; }
.not-found { min-height: 65vh; }
[hidden] { display: none !important; }
@media (max-width: 1100px) {
 .nav { gap: 16px; }
 .hero-grid { gap: 35px; }
 .hero h1 { font-size: 44px; }
 .hero-stage { margin-right: -100px; }
 .path { --step-gap: 55px; grid-template-columns: repeat(3,230px); }
}
@media (max-width: 1000px) {
 .does-grid { grid-template-columns: 1fr; }
 .acc .body .window { display: block; margin-top: 22px; }
 .path { grid-template-columns: 1fr; gap: 18px; }
 .step { min-height: 0; }
 .step:nth-of-type(2) { margin-top: 0; }
}

@media (max-width: 1000px) {
  .does-grid { grid-template-columns: 1fr; }
  .does-stage { display: none; }
  .acc details[open] .body img { display: block; }
  .path { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 28px; }
  .step .step-connector { left: 50%; top: 100%; width: 2px; height: 28px; transform: none; }
  .step:nth-of-type(2) .step-connector { transform: none; }
  .step-connector .connector-curve { display: none; }
  .step-connector .connector-line { display: initial; }
  .step:nth-of-type(2) { margin-top: 0; }
}
@media (max-width: 900px) {
  h1, .ahero h1 { font-size: 38px; }
  h2 { font-size: 32px; }
  .hero { padding: 40px 0 64px; }
  .hero-grid, .ahero-grid, .cards, .tour-row, .guides, .gallery { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr 1fr; }
  .fact strong { font-size: 40px; }
  .nav a.hide-sm { display: none; }
  .top-inner { height: 64px; }
  .btn { white-space: nowrap; }
  .btn.lg { width: 100%; font-size: 16px; padding: 0 16px; }
  .hero-stage { margin-right: 0; }
  .chip { left: 12px; bottom: -22px; }
  .dl-card { padding: 32px 22px 28px; }
  .easy, .uses, .facts, .res, .final { padding-top: 64px; padding-bottom: 72px; }
  .hero h1 { font-size: 42px; }
  .hero-grid { gap: 50px; }
  .card { padding: 18px; }
  .tile { width: 80px; height: 80px; }
  .hero-stage { margin-right: 0; }
  .hero { padding-top: 43px; padding-bottom: 64px; }
  .ahero { padding-top: 42px; padding-bottom: 45px; }
  .ahero-grid { gap: 36px; }
  .prose { font-size: 17px; }
}
@media (max-width: 600px) {
 .wrap { width: calc(100% - 36px); }
 .brand { font-size: 13px; gap: 7px; letter-spacing: -.025em; }
 .logo { width: 30px; height: 30px; border-radius: 9px; }
 .logo svg { width: 20px; height: 20px; }
 .top-inner { gap: 9px; }
 .nav { gap: 0; }
 .nav .btn { min-height: 40px; font-size: 12px; padding: 0 12px; gap: 6px; }
 .nav .btn svg { width: 16px; height: 16px; }
 .hero h1 { font-size: 40px; }
 h1,.ahero h1 { font-size: 35px; }
 h2 { font-size: 29px; }
 .hero .lead { font-size: 17px; }
 .hero .checks li { font-size: 15px; }
 .fine { font-size: 12px; }
 .chip { left: 10px; bottom: -24px; font-size: 12px; padding: 11px 13px; gap: 9px; }
 .chip small { font-size: 10px; }
 .chip-ico { width: 30px; height: 30px; }
 .chip-ico svg { width: 19px; height: 19px; }
 .window { border-radius: 9px; }
 .sub { font-size: 16px; margin-bottom: 36px; }
 .acc summary { font-size: 14px; padding: 18px 16px; gap: 12px; }
 .acc details[open] summary { font-size: 18px; }
 .acc .body { padding: 0 18px 22px 18px; }
 .does { padding-bottom: 64px; }
 .facts { padding-top: 58px; padding-bottom: 64px; }
 .fact-row { gap: 34px 12px; }
 .fact strong { font-size: 35px; }
 .fact span { font-size: 13px; }
 .dl { padding-bottom: 65px; }
 .dl-card { padding: 30px 20px; }
 .ticks { flex-direction: column; align-items: center; gap: 12px; }
 .offer-note { font-size: 13px; }
 .req { font-size: 14px; }
 .tour h2 { font-size: 29px; }
 .faq summary { font-size: 16px; gap: 14px; }
 .faq details p { font-size: 15px; }
 .tabs { gap: 25px; }
 .tabs button { font-size: 15px; }
 .notice { padding: 17px; font-size: 15px; gap: 10px; }
 .notice svg { width: 18px; }
 .footer .brand { font-size: 15px; }
 .prose h2 { font-size: 26px; }
 .final .btn { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *,*::before,*::after { transition: none !important; }
}

/* Keep language navigation compact at mobile widths. */
.language-menu { position:relative; font-size:14px; }
.language-menu summary { display:flex; align-items:center; gap:7px; cursor:pointer; list-style:none; padding:10px 0; }
.language-menu summary::-webkit-details-marker { display:none; }
.language-menu summary svg { flex:none; }
.language-menu nav { position:absolute; inset-inline-end:0; top:100%; width:220px; padding:10px; background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:var(--card-shadow); max-height:70vh; overflow:auto; }
.language-menu nav a { display:block; padding:8px 12px; border-radius:5px; }
.language-menu nav a:hover,.language-menu nav a[aria-current] { background:var(--lav); color:var(--purple); }
.prose table { display:block; overflow:auto; border-collapse:collapse; max-width:100%; font-size:16px; }
.prose th,.prose td { padding:12px 16px; border:1px solid var(--line); text-align:start; }
.prose label { display:block; margin-bottom:18px; font-weight:600; }
.prose input { display:block; margin-top:8px; width:min(100%,420px); font:inherit; padding:11px 14px; border:1px solid #c9c6d9; border-radius:6px; }
.prose output { display:block; margin-top:22px; padding:18px; background:var(--lav); border-radius:8px; }
.prose code,.prose a { overflow-wrap:anywhere; }
[dir="rtl"] .hero-stage { margin-right:0; margin-left:-170px; }
[dir="rtl"] .chip { left:auto; right:-40px; }
[dir="rtl"] .step .step-connector { left:auto; right:100%; transform:scaleX(-1); }
[dir="rtl"] .step:nth-of-type(2) .step-connector { transform:scale(-1,-1); }
@media(max-width:1100px) { .nav { gap:16px; } .language-label { max-width:95px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } }
@media(max-width:1000px) { [dir="rtl"] .step .step-connector,[dir="rtl"] .step:nth-of-type(2) .step-connector { right:50%; transform:none; } }
@media(max-width:900px) { [dir="rtl"] .hero-stage { margin-left:0; } [dir="rtl"] .chip { right:12px; } }
@media(max-width:600px) {
 .language-label { display:none; }
 .language-menu summary { padding:10px 7px; gap:3px; }
 .language-menu summary>svg:last-child { display:none; }
 .nav .nav-download { max-width:142px; font-size:11px; padding-inline:10px; white-space:normal; text-align:center; line-height:1.25; }
 .nav { gap:5px; }
 .brand { flex-shrink:0; }
 .language-menu nav { inset-inline-end:-120px; }
 .checks li { align-items:flex-start; }
 .checks svg { margin-top:4px; }
 .tabs { flex-wrap:wrap; }
}

/* The original PNG is used in the page and dialog; no raster resampling. */
.screenshot-link { position: relative; display: block; cursor: zoom-in; color: #fff; }
.screenshot-link:hover { text-decoration: none; }
.screenshot-link:focus-visible { outline-offset: -4px; }
.screenshot-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 6px; background: rgba(20, 20, 30, .86); color: #fff; font: 500 12px/1.4 Inter, Arial, sans-serif; opacity: 0; transition: opacity .15s; pointer-events: none; }
.screenshot-hint svg { flex: none; }
.screenshot-link:is(:hover,:focus-visible) .screenshot-hint { opacity: 1; }
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; padding: 0; border: 0; margin: 0; color: #f5f5fa; background: rgba(12, 12, 20, .95); overflow: hidden; }
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: rgba(12, 12, 20, .88); }
.lightbox-shell { display: flex; flex-direction: column; height: 100%; height: 100dvh; min-width: 0; padding: max(12px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
.lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; flex: none; gap: 16px; padding: 0 0 12px; }
.lightbox-toolbar p { margin: 0; color: #e8e8f2; font-size: 15px; font-weight: 600; }
.lightbox-actions { display: flex; align-items: center; gap: 8px; }
.lightbox-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(255,255,255,.06); color: #f9f9ff; font: 500 14px/1.3 Inter, Arial, sans-serif; cursor: pointer; white-space: nowrap; }
.lightbox-button:hover { color: #fff; background: rgba(255,255,255,.15); text-decoration: none; }
.lightbox-button[aria-pressed="true"] { background: #543cc3; border-color: #ac9af5; }
.lightbox-button:focus-visible { outline-color: #c4b5fd; outline-offset: 3px; }
.lightbox-button svg { flex: none; }
.lightbox-close { padding: 0; }
.lightbox-stage { flex: 1; min-height: 0; min-width: 0; display: flex; align-items: center; justify-content: center; overflow: auto; overscroll-behavior: contain; scrollbar-color: #7d7d90 #1c1c29; touch-action: pan-x pan-y pinch-zoom; }
.lightbox-image { flex: none; display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
.lightbox-stage.is-original-size { display: block; }
.lightbox-stage.is-original-size .lightbox-image { width: var(--image-width); height: var(--image-height); max-width: none; max-height: none; margin: 0 auto; cursor: zoom-out; }
.lightbox-caption { flex: none; color: #d0d0df; font-size: 13px; line-height: 1.5; text-align: center; overflow-wrap: anywhere; margin: 10px 0 0; }
@media (hover: none) { .screenshot-hint { opacity: 1; } }
@media (max-width: 600px) {
 .lightbox-shell { padding-right: max(10px, env(safe-area-inset-right)); padding-left: max(10px, env(safe-area-inset-left)); }
 .lightbox-toolbar { gap: 8px; padding-bottom: 10px; }
 .lightbox-toolbar p { font-size: 13px; }
 .lightbox-actions { gap: 6px; }
 .lightbox-button { font-size: 12px; padding: 0 9px; gap: 5px; }
 .lightbox-close { padding: 0; }
 .lightbox-original span { display: none; }
 .lightbox-caption { font-size: 12px; }
 .screenshot-hint { right: 8px; bottom: 8px; padding: 6px 8px; font-size: 11px; }
}
