 





* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ar-page {
  --ar-header: var(--lf-header-height, 72px);
  --ar-tocbar: 0px;
  --ar-gap: 24px;
  --ar-glow-lime: #c5f270;
  --ar-glow-sky: #48a8ef;
  --ar-glow-mint: #5bcda7;
  --ar-glow-butter: #ffd84d;
  --ar-glow-peach: #ffab87;
  --ar-glow-lilac: #b9a1ff;
  --ar-glow-rose: #ff9cc2;
  margin: 0;
  background: var(--lf-bg-canvas);
  color: var(--lf-text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
:where(.ar-main, .ar-tocbar, .ar-sheet, .ar-mbar) :where(p, h1, h2, h3, ul, ol, figure, table) { margin: 0; }
.ar-main [id] { scroll-margin-top: calc(var(--ar-header) + var(--ar-tocbar) + 24px); }
.ar-main img { display: block; max-width: 100%; height: auto; }
.ar-icon, .ar-brand { flex: none; display: block; }
.ar-nowrap { white-space: nowrap; }
.ar-js-only { display: none !important; }
.ar-ready .ar-js-only { display: flex !important; }
.ar-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ar-label { color: var(--lf-text-tertiary); font-family: var(--lf-font-mono); font-size: 11px; font-weight: 500; line-height: 16px; letter-spacing: 0.12em; }
.ar-main :is(h1, h2) { text-wrap: balance; }

 
.ar-hero { padding: 8px 16px 0; }
.ar-hero__scene {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(55% 95% at 4% 0%, var(--ar-glow-a) 0%, color-mix(in srgb, var(--ar-glow-a) 45%, transparent) 38%, transparent 72%),
    radial-gradient(48% 100% at 100% 0%, var(--ar-glow-b) 0%, color-mix(in srgb, var(--ar-glow-b) 40%, transparent) 45%, transparent 78%),
    radial-gradient(30% 60% at 46% 0%, color-mix(in srgb, var(--lf-mint-300) 70%, transparent) 0%, transparent 70%),
    var(--lf-bg-canvas);
}
.ar-hero__scene::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(to bottom, transparent, var(--lf-bg-canvas)); pointer-events: none; }
.ar-hero__wing { position: absolute; top: 44px; right: 72px; width: 160px; height: 160px; }
.ar-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 664px) minmax(0, 560px);
  justify-content: space-between;
  gap: 56px;
  max-width: 1408px;
  margin: 0 auto;
  padding: 80px 64px 64px;
}
.ar-hero__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.ar-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0; list-style: none; color: var(--lf-text-secondary); font-size: 14px; line-height: 20px; }
.ar-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.ar-crumbs li[aria-current] { color: var(--lf-text-primary); font-weight: 500; }
.ar-crumbs a { color: inherit; text-decoration: none; }
.ar-crumbs a:hover { color: var(--lf-text-primary); text-decoration: underline; }
.ar-crumbs__short { display: none; }
.ar-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ar-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--lf-radius-full); font-size: 13px; font-weight: 500; line-height: 20px; text-decoration: none; }
.ar-badge--lime { background: var(--lf-tone-lime-bg); color: var(--lf-tone-lime-text); }
.ar-badge--sky { background: var(--lf-tone-sky-bg); color: var(--lf-tone-sky-text); }
.ar-badge--mint { background: var(--lf-tone-mint-bg); color: var(--lf-tone-mint-text); }
.ar-badge--lilac { background: var(--lf-tone-lilac-bg); color: var(--lf-tone-lilac-text); }
.ar-badge--peach { background: var(--lf-tone-peach-bg); color: var(--lf-tone-peach-text); }
.ar-badge--butter { background: var(--lf-tone-butter-bg); color: var(--lf-tone-butter-text); }
.ar-badge--rose { background: var(--lf-tone-rose-bg); color: var(--lf-tone-rose-text); }
.ar-service { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-full); background: var(--lf-bg-surface); color: var(--lf-text-primary); font-size: 13px; font-weight: 500; line-height: 20px; text-decoration: none; }
.ar-service:hover { border-color: var(--lf-border-default); }
.ar-hero h1 { font-size: 44px; font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; }
.ar-h1-muted, .ar-h2-muted { color: var(--lf-text-secondary); }
.ar-lead { color: var(--lf-text-secondary); font-size: 18px; line-height: 1.55; }
.ar-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; align-self: stretch; padding-top: 8px; }
.ar-byline { display: flex; align-items: center; gap: 12px; }
.ar-avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; border-radius: 50%; background: var(--lf-tone-lilac-bg); color: var(--lf-tone-lilac-text); font-weight: 600; }
.ar-avatar--l { width: 40px; height: 40px; font-size: 14px; }
.ar-avatar--xl { width: 56px; height: 56px; font-size: 18px; }
.ar-byline__name { font-size: 15px; font-weight: 600; line-height: 20px; }
.ar-byline__date { color: var(--lf-text-tertiary); font-size: 13px; line-height: 18px; }
.ar-checked { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-full); background: var(--lf-bg-glass); color: var(--lf-text-primary); font-size: 13px; font-weight: 500; line-height: 18px; }
.ar-checked .ar-icon { color: var(--lf-status-success); }
.ar-hero__aside { min-width: 0; align-self: start; margin-top: 48px; }

 
.ar-shell {
  display: grid;
  grid-template-columns: 180px minmax(0, 720px) 236px;
  column-gap: 32px;
  align-items: start;
  max-width: 1232px;
  margin: 0 auto;
  padding: 40px 0 96px;
}
.ar-left, .ar-rail { align-self: stretch; }
.ar-left__sticky, .ar-rail__sticky { position: sticky; top: calc(var(--ar-header) + 24px); }
.ar-rail__sticky { display: flex; flex-direction: column; gap: 20px; }
.ar-center { display: flex; flex-direction: column; gap: 32px; min-width: 0; }

 
.ar-share { display: flex; flex-direction: column; gap: 12px; }
.ar-share__list { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0; list-style: none; }
.ar-share__item { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-sm); background: var(--lf-bg-surface); color: var(--lf-text-primary); font: inherit; font-size: 13px; font-weight: 500; line-height: 18px; text-decoration: none; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.ar-share__item:focus-visible { outline: none; box-shadow: var(--lf-focus-ring); }
.ar-share__item[data-state="done"] { border-color: var(--lf-tone-lime-bg); background: var(--lf-bg-brand-soft); color: var(--lf-text-brand); }
@media (hover: hover) { .ar-share__item:hover { border-color: var(--lf-border-default); background: var(--lf-bg-subtle); } }
.ar-share--row { display: none; }
.ar-share__note { color: var(--lf-text-tertiary); font-size: 12px; line-height: 17px; }

 
.ar-toc { display: flex; flex-direction: column; gap: 10px; }
.ar-toc ol { display: flex; flex-direction: column; gap: 2px; padding: 0; list-style: none; }
.ar-toc a { display: block; padding: 6px 10px; border-radius: var(--lf-radius-sm); color: var(--lf-text-secondary); font-size: 13px; line-height: 18px; text-decoration: none; transition: background 0.15s ease, color 0.15s ease; }
.ar-toc a:hover { color: var(--lf-text-primary); background: var(--lf-bg-hover); }
.ar-toc a[aria-current="true"] { background: var(--lf-bg-brand-soft); color: var(--lf-text-brand); font-weight: 500; }
.ar-progress { position: relative; display: block; height: 3px; overflow: hidden; border-radius: 2px; background: var(--lf-border-subtle); }
.ar-progress > span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--lf-status-success); }

 
.ar-bonus { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; border-radius: var(--lf-radius-xl); background: var(--lf-bg-inverse); color: var(--lf-text-on-inverse); }
.ar-bonus::before { content: ""; position: absolute; right: -60px; bottom: -70px; width: 220px; height: 180px; background: radial-gradient(closest-side, color-mix(in srgb, var(--lf-status-success) 85%, transparent), transparent); pointer-events: none; }
.ar-bonus > * { position: relative; }
.ar-bonus__label { color: var(--lf-graphite-400); font-size: 12px; line-height: 16px; }
.ar-bonus__sum { color: var(--lf-action-lime); font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.ar-bonus__text { color: var(--lf-graphite-300); font-size: 14px; line-height: 20px; }
.ar-bonus .lf-btn { margin-top: 6px; align-self: stretch; }
.ar-bonus__note { align-self: center; color: var(--lf-graphite-400); font-size: 12px; line-height: 16px; }
.ar-rail__docs { display: inline-flex; align-items: center; gap: 6px; color: var(--lf-text-link); font-size: 13px; font-weight: 500; line-height: 18px; text-decoration: none; }
.ar-rail__docs:hover span { text-decoration: underline; }

 
.ar-tocbar, .ar-sheet, .ar-mbar { display: none; }
@media (max-width: 1119.98px) {
  body.ar-page { --ar-header: var(--lf-header-height, 56px); }
  .ar-hero__inner { grid-template-columns: minmax(0, 1fr); max-width: 784px; padding: 56px 32px 40px; gap: 32px; }
  .ar-hero__wing { top: 24px; right: 24px; width: 112px; height: 112px; }
  .ar-hero__aside { margin-top: 0; }
}
@media (max-width: 1279.98px) {
  body.ar-page { --ar-tocbar: 46px; }
  .ar-shell { grid-template-columns: minmax(0, 1fr); max-width: 784px; padding: 32px 32px 72px; }
  .ar-left, .ar-rail { display: none; }
  .ar-share--row { display: block; margin: 0 -32px; }
  .ar-share--row .ar-share__list { flex-direction: row; gap: 6px; overflow-x: auto; padding: 0 32px 4px; scrollbar-width: none; }
  .ar-share--row .ar-share__list::-webkit-scrollbar { display: none; }
  .ar-share--row .ar-share__item { flex: none; white-space: nowrap; border-radius: 10px; padding: 6px 12px; }

  .ar-tocbar { position: sticky; top: var(--ar-header); z-index: 900; display: block; background: var(--lf-bg-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: top 0.2s ease; }
  .ar-page:has(.lf-header.is-hidden:not([data-menu-open])) .ar-tocbar { top: 0; }
  .ar-page:has(.lf-header.is-hidden:not([data-menu-open])) .ar-sheet:not([hidden]) { top: var(--ar-tocbar); }
  .ar-tocbar__button { display: flex; align-items: center; gap: 8px; width: 100%; height: 43px; padding: 0 16px; border: 0; background: none; color: var(--lf-text-primary); font: inherit; text-align: left; cursor: pointer; }
  .ar-tocbar__button:focus-visible { outline: 2px solid var(--lf-border-focus); outline-offset: -2px; }
  .ar-tocbar__label { flex: none; font-size: 14px; font-weight: 600; }
  .ar-tocbar__current { flex: 1; min-width: 0; overflow: hidden; color: var(--lf-text-tertiary); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .ar-tocbar__chevron { color: var(--lf-text-secondary); transition: transform 0.2s ease; }
  .ar-tocbar__button[aria-expanded="true"] .ar-tocbar__chevron { transform: rotate(180deg); }
  .ar-progress--bar { border-radius: 0; }

  .ar-sheet:not([hidden]) { position: fixed; inset: calc(var(--ar-header) + var(--ar-tocbar)) 0 0; z-index: 950; display: block; }
  .ar-sheet__scrim { position: absolute; inset: 0; background: rgb(28 27 30 / 0.32); }
  .ar-sheet__panel { position: relative; display: flex; flex-direction: column; gap: 16px; max-height: calc(100% - 40px); overflow-y: auto; padding: 8px 16px 20px; border-radius: 0 0 24px 24px; background: var(--lf-bg-surface); box-shadow: var(--lf-shadow-elevation-3); overscroll-behavior: contain; }
  .ar-toc--sheet a { padding: 11px 12px; color: var(--lf-text-primary); font-size: 15px; line-height: 20px; }
  .ar-share--sheet { padding-top: 16px; border-top: 1px solid var(--lf-border-subtle); }
  .ar-share--sheet .ar-share__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ar-share--sheet .ar-share__item { justify-content: center; width: 100%; min-height: 40px; background: var(--lf-bg-subtle); }
}
@media (max-width: 767.98px) {
  .ar-hero { padding: 0; }
  .ar-hero__scene { border-radius: 0 0 24px 24px; }
  .ar-hero__inner { padding: 24px 16px 32px; gap: 24px; }
  .ar-hero__wing { top: 12px; right: -12px; width: 96px; height: 96px; opacity: 0.9; }
  .ar-crumbs__long { display: none; }
  .ar-crumbs__short { display: inline; }
  .ar-crumbs ol { font-size: 13px; }
  .ar-hero h1 { font-size: 30px; line-height: 1.15; }
  .ar-lead { font-size: 16px; }
  .ar-meta { padding-top: 0; }
  .ar-shell { padding: 24px 16px 56px; }
  .ar-center { gap: 28px; }
  .ar-share--row { margin: 0 -16px; }
  .ar-share--row .ar-share__list { padding: 0 16px 4px; }

  .ar-mbar:not([hidden]) { position: fixed; right: 0; bottom: 0; left: 0; z-index: 900; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--lf-border-subtle); background: var(--lf-bg-surface); box-shadow: var(--lf-shadow-glass-drop); }
  .ar-page:has(.ar-mbar:not([hidden])) .lidfly-footer { padding-bottom: 80px; }
  .ar-mbar__text { flex: 1; min-width: 0; }
  .ar-mbar__title { font-size: 14px; font-weight: 600; line-height: 20px; }
  .ar-mbar__note { color: var(--lf-text-tertiary); font-size: 12px; line-height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ar-tocbar, .ar-tocbar__chevron, .ar-share__item, .ar-toc a { transition: none; }
}
