/* Light theme: pale sage paper, forest green, lime highlights. Written phone-first. */
:root {
  --paper: #f3f5ee;
  --card: #ffffff;
  --ink: #14251d;
  --muted: #53645a;
  --rule: #d4dbcd;
  --leaf: #1f5a41;
  --leaf-deep: #123828;
  --lime: #d6f15b;
  --lime-soft: #ecf7bd;
  --clay: #b8431f;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --sans: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --shade: 0 1px 2px rgba(20, 37, 29, .06), 0 12px 32px -12px rgba(20, 37, 29, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
html[data-lex="wait"] body { visibility: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--leaf); text-underline-offset: 3px; }
a:hover { color: var(--leaf-deep); }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: 4px; }

.vr-wrap { width: min(100% - 40px, 1120px); margin-inline: auto; }
.vr-skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r-s); }
.vr-skip:focus { top: 12px; color: #fff; }

/* type */
.vr-kicker { font: 600 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--leaf); }
.vr-h1 { font-size: clamp(2.1rem, 7.4vw, 3.7rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.vr-h2 { font-size: clamp(1.6rem, 4.6vw, 2.4rem); line-height: 1.14; letter-spacing: -.02em; font-weight: 750; }
.vr-h3 { font-size: 1.14rem; line-height: 1.3; font-weight: 700; }
.vr-lede { font-size: 1.1rem; color: var(--muted); max-width: 58ch; }
.vr-fine, .vr-note { font-size: .86rem; color: var(--muted); }
.vr-note { margin-top: 18px; font-family: var(--mono); }

/* buttons */
.vr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border: 2px solid transparent; border-radius: 999px; font-weight: 650; text-decoration: none; cursor: pointer; transition: background-color .16s, border-color .16s, translate .16s; }
.vr-btn:active { translate: 0 1px; }
.vr-btn[disabled] { opacity: .6; cursor: progress; }
.vr-btn-solid { background: var(--leaf); color: #fff; }
.vr-btn-solid:hover { background: var(--leaf-deep); color: #fff; }
.vr-btn-line { border-color: var(--leaf); color: var(--leaf); background: transparent; }
.vr-btn-line:hover { background: var(--lime-soft); }
.vr-btn-lime { background: var(--lime); color: var(--leaf-deep); }
.vr-btn-lime:hover { background: #e4f98a; color: var(--leaf-deep); }
.vr-btn-big { min-height: 54px; padding-inline: 30px; font-size: 1.05rem; }
.vr-btn-small { min-height: 40px; padding: 6px 16px; font-size: .92rem; }
.vr-btn-full { width: 100%; }
.vr-textbtn { padding: 0; border: 0; background: none; color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* header */
.vr-top { position: sticky; top: 0; z-index: 30; background: var(--card); border-bottom: 1px solid var(--rule); }
.vr-top-row { display: flex; align-items: center; gap: 12px; min-height: 66px; }
.vr-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; color: var(--ink); text-decoration: none; }
.vr-brand-mark { flex: none; }
.vr-brand-text { font-weight: 750; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vr-menu { display: none; position: absolute; inset: 100% 0 auto 0; padding: 14px 20px 22px; background: var(--card); border-bottom: 1px solid var(--rule); box-shadow: var(--shade); }
.vr-top[data-menu="open"] .vr-menu { display: block; }
.vr-menu-links a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--rule); color: var(--ink); font-weight: 600; text-decoration: none; }
.vr-menu-acts { display: grid; gap: 10px; margin-top: 18px; }
.vr-menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: var(--r-s); background: var(--card); cursor: pointer; }
.vr-menu-btn svg { width: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

.vr-lang { position: relative; }
.vr-lang summary { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: var(--r-s); font: 600 14px/1 var(--mono); cursor: pointer; list-style: none; }
.vr-lang summary::-webkit-details-marker { display: none; }
.vr-lang summary::after { content: ""; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -2px; }
.vr-lang-list { position: absolute; right: 0; top: calc(100% + 6px); display: grid; min-width: 170px; padding: 6px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-m); box-shadow: var(--shade); }
.vr-lang-list button { padding: 9px 12px; border: 0; border-radius: var(--r-s); background: none; text-align: left; cursor: pointer; }
.vr-lang-list button:hover { background: var(--paper); }
.vr-lang-list button[aria-current] { background: var(--lime-soft); font-weight: 650; }

/* hero */
.vr-hero { padding: 44px 0 56px; }
.vr-hero-grid { display: grid; gap: 40px; }
.vr-hero-copy > * + * { margin-top: 18px; }
.vr-hero-acts { display: grid; gap: 12px; margin-top: 28px; }

.vr-sheet { padding: 22px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-l); box-shadow: var(--shade); }
.vr-sheet-top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px dashed var(--rule); }
.vr-sheet-face { border-radius: 20px; }
.vr-sheet-tag, .vr-sheet-label { font: 600 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vr-sheet-name { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.vr-sheet-label { margin: 18px 0 8px; }
.vr-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.vr-preset { min-height: 40px; padding: 6px 16px; border: 1.5px solid var(--rule); border-radius: 999px; background: var(--card); font-weight: 600; cursor: pointer; }
.vr-preset[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.vr-gauges { display: grid; gap: 10px; margin-top: 18px; }
.vr-gauge { display: grid; grid-template-columns: minmax(84px, 34%) 1fr; align-items: center; gap: 12px; font-size: .94rem; }
.vr-gauge dd { height: 10px; background: var(--paper); border-radius: 999px; overflow: hidden; }
.vr-gauge-bar { display: block; height: 100%; background: var(--leaf); border-radius: inherit; transition: width .45s cubic-bezier(.3, .8, .3, 1); }
.vr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.vr-chip { padding: 4px 12px; background: var(--lime-soft); border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--leaf-deep); }
.vr-hello { margin-top: 4px; }
.vr-hello-text { padding: 14px 16px; background: var(--paper); border-left: 4px solid var(--lime); border-radius: 4px var(--r-s) var(--r-s) 4px; min-height: 5.4em; }

/* page bands */
.vr-band { padding: 64px 0; }
.vr-band-tint { background: #e9eee0; }
.vr-band-dark { background: var(--leaf-deep); color: #f1f6ea; }
.vr-band-dark .vr-kicker { color: var(--lime); }
.vr-band-head { margin-bottom: 34px; }
.vr-band-head > * + * { margin-top: 12px; }

.vr-specs { border-top: 2px solid var(--ink); }
.vr-spec { display: grid; grid-template-columns: 44px 1fr; gap: 6px 12px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.vr-spec-num { font: 600 15px/1.9 var(--mono); color: var(--clay); }
.vr-spec-body p { margin-top: 4px; color: var(--muted); }
.vr-spec-eg { grid-column: 2; margin-top: 8px; }

.vr-day { display: grid; gap: 18px; }
.vr-moment { padding: 22px; background: var(--card); border-radius: var(--r-m); border: 1px solid var(--rule); }
.vr-moment-time { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; font: 600 13px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.vr-moment-time span:first-child { padding: 3px 9px; background: var(--ink); color: var(--lime); border-radius: 6px; letter-spacing: 0; }
.vr-line { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--rule); }
.vr-line-who { font: 600 13px/1.9 var(--mono); color: var(--muted); }
.vr-line-ai .vr-line-who { color: var(--clay); }

.vr-steps { display: grid; gap: 14px; counter-reset: none; }
.vr-step { position: relative; padding: 22px 22px 22px 78px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-m); }
.vr-step-n { position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 42px; height: 42px; background: var(--lime); border-radius: 14px; font: 700 17px/1 var(--mono); color: var(--leaf-deep); }
.vr-step p { margin-top: 4px; color: var(--muted); }

.vr-facts { display: grid; gap: 28px; }
.vr-fact { padding-left: 18px; border-left: 3px solid var(--lime); }
.vr-fact p { margin-top: 6px; color: #c9d6c8; }

.vr-qa { display: grid; gap: 0 48px; border-top: 2px solid var(--ink); }
.vr-qa-item { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.vr-qa-item dt { font-weight: 700; font-size: 1.08rem; }
.vr-qa-item dd { margin-top: 6px; color: var(--muted); }

.vr-close { padding: 0 0 72px; }
.vr-close-box { display: grid; gap: 22px; padding: 34px 26px; background: var(--leaf); color: #fff; border-radius: var(--r-l); }
.vr-close-box p { margin-top: 8px; color: #dbe8d6; }

/* footer */
.vr-base { padding: 48px 0 110px; background: var(--card); border-top: 1px solid var(--rule); font-size: .95rem; }
.vr-base-slim { padding-top: 22px; }
.vr-base-grid { display: grid; gap: 30px; }
.vr-base-about { margin-top: 12px; color: var(--muted); max-width: 32ch; }
.vr-base-head { margin-bottom: 10px; font: 600 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vr-base-list { display: grid; gap: 8px; }
.vr-base-end { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); }
.vr-base-slim .vr-base-end { margin-top: 0; padding-top: 0; border-top: 0; }

/* account pages */
.vr-auth { display: grid; place-items: start center; padding: 34px 20px 64px; }
.vr-panel { width: min(100%, 460px); padding: 26px 22px 30px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-l); box-shadow: var(--shade); }
.vr-panel-face { margin-bottom: 16px; border-radius: 22px; }
.vr-panel-sub { margin-top: 8px; color: var(--muted); }
.vr-track { display: flex; gap: 6px; margin-bottom: 26px; font: 600 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.vr-track-item { flex: 1; padding-top: 10px; border-top: 4px solid var(--rule); }
.vr-track-item[aria-current] { border-color: var(--leaf); color: var(--leaf-deep); }
.vr-form { display: grid; gap: 18px; margin-top: 24px; }
.vr-field-label { display: block; margin-bottom: 6px; font-weight: 650; font-size: .95rem; }
.vr-field-row { position: relative; }
.vr-input { width: 100%; min-height: 50px; padding: 10px 14px; background: var(--paper); border: 1.5px solid var(--rule); border-radius: var(--r-s); }
.vr-input::placeholder { color: #8a988e; }
.vr-input:focus { outline: none; border-color: var(--leaf); background: var(--card); box-shadow: 0 0 0 3px var(--lime-soft); }
.vr-input[aria-invalid="true"] { border-color: var(--clay); }
.vr-field-row .vr-input { padding-right: 82px; }
.vr-peek { position: absolute; right: 6px; top: 6px; height: 38px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--card); font: 600 13px/1 var(--mono); color: var(--leaf); cursor: pointer; }
.vr-help { margin-top: 6px; font-size: .86rem; color: var(--muted); }
.vr-err { font-size: .88rem; color: var(--clay); font-weight: 600; }
.vr-err:not(:empty) { margin-top: 6px; }
.vr-agree { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .93rem; cursor: pointer; }
.vr-agree input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--leaf); }
.vr-banner { padding: 12px 14px; background: #fbe6de; border-radius: var(--r-s); color: #7c2a11; font-weight: 600; font-size: .93rem; }
.vr-banner[data-tone="calm"] { background: var(--lime-soft); color: var(--leaf-deep); }
.vr-swap { margin-top: 22px; text-align: center; color: var(--muted); }
.vr-sent { text-align: center; }
.vr-sent > * + * { margin-top: 12px; }
.vr-sent-icon { width: 60px; margin-inline: auto; padding: 10px; background: var(--lime); border-radius: 18px; fill: none; stroke: var(--leaf-deep); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.vr-sent-addr { padding: 10px 14px; background: var(--paper); border-radius: var(--r-s); font: 600 .98rem/1.4 var(--mono); }
.vr-sent-state { min-height: 1.5em; font-size: .9rem; color: var(--leaf); font-weight: 600; }
.vr-sent-state[data-tone="bad"] { color: var(--clay); }

/* documents */
.vr-doc { max-width: 760px; padding: 44px 0 72px; }
.vr-doc-date { margin-top: 14px; font: 600 13px/1.3 var(--mono); color: var(--muted); }
.vr-doc-lead { margin-top: 20px; font-size: 1.1rem; }
.vr-doc-part { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--rule); scroll-margin-top: 84px; }
.vr-doc-part h2 { font-size: 1.36rem; line-height: 1.25; letter-spacing: -.01em; }
.vr-doc-part h3 { margin-top: 18px; font-size: 1.02rem; }
.vr-doc-part p, .vr-doc-part ul { margin-top: 12px; }
.vr-doc-part ul { padding-left: 22px; list-style: square; }
.vr-doc-part li + li { margin-top: 6px; }
.vr-doc-part li::marker { color: var(--leaf); }

/* cookies */
.vr-ck { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; gap: 12px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--ink); color: #eef3e8; font-size: .9rem; line-height: 1.45; }
.vr-ck a { color: var(--lime); }
.vr-ck-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.vr-ck .vr-btn-line { border-color: #7f9186; color: #fff; }
.vr-ck .vr-btn-line:hover { background: #24382e; }
.vr-ck .vr-btn-solid { background: var(--lime); color: var(--leaf-deep); }
.vr-ckd { width: min(100% - 32px, 440px); padding: 24px; border: 0; border-radius: var(--r-l); background: var(--card); color: var(--ink); box-shadow: var(--shade); }
.vr-ckd::backdrop { background: rgba(20, 37, 29, .55); }
.vr-ckd-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); cursor: pointer; }
.vr-ckd-row b, .vr-ckd-row small { display: block; }
.vr-ckd-row small { color: var(--muted); font-size: .86rem; }
.vr-switch { appearance: none; flex: none; position: relative; width: 46px; height: 26px; margin: 0; background: #b9c4b8; border-radius: 999px; cursor: pointer; transition: background-color .16s; }
.vr-switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: translate .16s; }
.vr-switch:checked { background: var(--leaf); }
.vr-switch:checked::after { translate: 20px 0; }
.vr-switch:disabled { opacity: .55; cursor: not-allowed; }
.vr-ckd .vr-ck-acts { justify-content: flex-end; margin-top: 20px; }

@media (min-width: 560px) {
  .vr-hero-acts { display: flex; flex-wrap: wrap; }
  .vr-menu-acts { grid-template-columns: 1fr 1fr; }
  .vr-steps { grid-template-columns: 1fr 1fr; }
  .vr-facts { grid-template-columns: 1fr 1fr; }
  .vr-base-grid { grid-template-columns: 1fr 1fr; }
  .vr-panel { padding: 34px 34px 38px; }
  .vr-close-box { padding: 44px; }
}

@media (min-width: 760px) {
  .vr-day { grid-template-columns: repeat(3, 1fr); }
  .vr-qa { grid-template-columns: 1fr 1fr; }
  .vr-spec { grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
  .vr-spec-eg { grid-column: auto; margin-top: 0; justify-content: flex-end; }
  .vr-ck { grid-template-columns: 1fr auto; align-items: center; padding-inline: max(20px, calc((100% - 1120px) / 2)); }
  .vr-close-box { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 940px) {
  .vr-menu-btn { display: none; }
  .vr-menu { display: flex; align-items: center; gap: 26px; position: static; padding: 0; border: 0; box-shadow: none; }
  .vr-menu-links { display: flex; gap: 24px; }
  .vr-menu-links a { padding: 6px 0; border: 0; }
  .vr-menu-links a:hover { color: var(--leaf); }
  .vr-menu-acts { display: flex; margin: 0; }
  .vr-menu-acts .vr-btn { min-height: 42px; padding: 6px 18px; }
  .vr-hero { padding: 76px 0 88px; }
  .vr-hero-grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; }
  .vr-band { padding: 92px 0; }
  .vr-steps { grid-template-columns: repeat(4, 1fr); }
  .vr-step { padding: 76px 22px 24px; }
  .vr-facts { grid-template-columns: repeat(4, 1fr); }
  .vr-base-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
