/* VerTrai — сайт. Без сборки: обычные HTML + CSS, как и интерфейс программы.
   Светлый всюду, как и программа: мятный #3fb98c из логотипа, мятная дымка и
   тёплый песок для «полос». Тёмных секций на сайте нет. */

:root {
  --ink: #0f1a15;
  --ink-2: #33433b;
  --muted: #5a6962;
  --line: #e2e8e4;
  --bg: #fbfcfb;
  --surface: #ffffff;
  --sand: #f5f1e9;
  --deep: #0c2f24;
  --deep-2: #14493a;
  --mint: #3fb98c;
  --mint-ink: #15694a;
  --mint-soft: #e2f5ec;
  --on-deep: #e8f3ee;
  --bad: #b0402b;

  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --font: "Onest", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --wrap: 1120px;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgb(15 26 21 / 5%), 0 12px 32px -12px rgb(15 26 21 / 18%);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
/* Android paints a blue box over anything tapped; the pressed states here
   already show the tap. */
* { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(34px, 6vw, 62px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 22px); letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }

.lead { font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---- header ------------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(251 252 251 / 88%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-head.stuck { border-bottom-color: var(--line); }
.head-in { display: flex; align-items: center; gap: 18px; padding: 14px 0; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 19px; text-decoration: none; letter-spacing: -0.01em; }
.logo img { width: 30px; height: 30px; }
/* «BETA» after the name: the product is still in beta. */
.beta { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; margin-left: 2px; border-radius: 999px; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1; color: var(--mint-ink); background: var(--mint-soft); border: 1px solid color-mix(in srgb, var(--mint) 35%, transparent); vertical-align: middle; }


.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: var(--mint-ink); }
.site-nav a[aria-current="page"] { color: var(--ink); }
/* A button in the menu keeps the button's own colours: the rule above is more
   specific than .btn-primary and would otherwise paint its text dark. */
.site-nav a.btn-primary { color: #fff; }
.site-nav a.btn-mint { color: #05291b; }
.site-nav a.btn-ghost { color: var(--ink); }
/* The way into the cabinet: a plain link, a touch stronger than the rest. */
.site-nav a.nav-login { color: var(--ink); font-weight: 600; }

.burger { display: none; }

/* ---- buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15px var(--font);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgb(15 26 21 / 60%); }
.btn-primary:hover { background: #17271f; }
.btn-mint { background: var(--mint); color: #05291b; }
.btn-mint:hover { filter: brightness(1.05); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--surface); color: var(--ink); border-color: #cfe8dc; }
.btn-light:hover { border-color: var(--mint); }
:focus-visible { outline: 3px solid rgb(63 185 140 / 55%); outline-offset: 2px; border-radius: 6px; }

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

.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero::before {
  content: "";
  position: absolute;
  inset: -200px 0 auto -10%;
  height: 620px;
  background:
    radial-gradient(48% 60% at 22% 30%, rgb(63 185 140 / 18%), transparent 70%),
    radial-gradient(40% 50% at 78% 12%, rgb(20 73 58 / 10%), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--mint-ink);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.eyebrow b { background: var(--mint); color: #05291b; border-radius: 999px; padding: 2px 8px; font-weight: 700; }
.hero h1 span { color: var(--mint-ink); }
.hero .lead { margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* the product loop: rule → journal → result */
.loop { display: grid; gap: 12px; }
.loop-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.loop-card + .loop-card { margin-left: clamp(0px, 3vw, 34px); }
.loop-card .tag { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.loop-card h3 { font-family: var(--font); font-size: 16px; font-weight: 600; margin-top: 6px; }
.loop-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; font-size: 14px; color: var(--ink-2); }
.loop-list li { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; }
.tick { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-ink); font-size: 11px; font-weight: 700; margin-top: 1px; }
.loop-result { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.loop-result b { font-family: var(--mono); font-size: 20px; color: var(--mint-ink); }

/* ---- sections ----------------------------------------------------------- */

section { padding: clamp(54px, 7vw, 96px) 0; }
.section-head { max-width: 70ch; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint-ink); margin-bottom: 12px; }
.section-head p { margin-top: 14px; }

/* Bands set the ground apart, never by going dark: the site is light
   throughout, like the program. */
.band-sand { background: var(--sand); }
.band-deep { background: linear-gradient(165deg, #f0faf5, var(--mint-soft)); color: var(--ink); }
.band-deep h2, .band-deep h3 { color: var(--ink); }
.band-deep .lead, .band-deep p { color: var(--ink-2); }
.band-deep .kicker { color: var(--mint-ink); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.card p { color: var(--ink-2); font-size: 15.5px; }
.band-deep .card { background: var(--surface); border-color: #cfe8dc; }
.band-deep .card p { color: var(--ink-2); }

.step-no { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--mint-ink); background: var(--mint-soft); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.band-deep .step-no { background: #d6f0e4; color: var(--mint-ink); }

/* screens: the program's own look, in miniature */
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.screen { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #f7faf8; }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8e2dd; display: block; }
.screen-bar span { margin-left: 6px; font-size: 12px; color: var(--muted); }
.screen-body { padding: 16px; display: grid; gap: 10px; font-size: 13.5px; }
.kpi-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kpi { background: #f7faf8; border-radius: var(--r-sm); padding: 10px 12px; }
.kpi span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.kpi b { font-family: var(--mono); font-size: 16px; font-weight: 500; }
.kpi b.up { color: var(--mint-ink); }
.row-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.row-line:last-child { border-bottom: 0; }
.pill { font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--mint-soft); color: var(--mint-ink); }
.pill.grey { background: #eef2f0; color: var(--muted); }
.new-pill { justify-self: start; text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; }

/* ---- facts / honesty ---------------------------------------------------- */

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.fact { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid #cfe8dc; }
.fact b { display: block; font-family: var(--mono); font-size: clamp(22px, 3vw, 30px); color: var(--mint-ink); }
.fact span { font-size: 14px; color: var(--ink-2); }

.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.honest ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.honest li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.mark { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.mark.yes { background: var(--mint-soft); color: var(--mint-ink); }
.mark.no { background: #fae6e1; color: var(--bad); }

/* ---- pricing ------------------------------------------------------------ */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; }
.plan.featured { border-color: var(--mint); box-shadow: 0 18px 40px -22px rgb(63 185 140 / 70%); }
.plan h3 { font-family: var(--font); font-size: 18px; }
.price { font-family: var(--mono); font-size: 26px; }
.price small { font-family: var(--font); font-size: 14px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.plan-tag { align-self: start; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mint-ink); background: var(--mint-soft); border-radius: 999px; padding: 4px 12px; justify-self: start; }
.plan-year { font-size: 14px; color: var(--muted); margin-top: -6px; }
.band-deep .card .price { font-family: var(--mono); font-size: 24px; color: var(--mint-ink); }

/* ---- faq ---------------------------------------------------------------- */

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--mint-ink); }
.faq details[open] summary::after { content: "–"; }
.faq p { padding-bottom: 16px; color: var(--ink-2); font-size: 15.5px; }

/* ---- cta + footer ------------------------------------------------------- */

.cta-box { border-radius: var(--r); padding: clamp(28px, 5vw, 52px); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; justify-items: start; box-shadow: var(--shadow); }

.site-foot { background: var(--sand); color: var(--ink-2); border-top: 1px solid var(--line); padding: 56px 0 34px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.site-foot h4 { margin: 0 0 12px; font: 600 13px var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-note { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: grid; gap: 8px; }

/* ---- reveal on scroll --------------------------------------------------- */

/* Прячем блоки до появления только если JavaScript работает: иначе без него
   страница осталась бы пустой. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- narrow screens ----------------------------------------------------- */

@media (max-width: 900px) {
  .cards, .cards.two, .screens, .plans, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .honest { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The menu folds into a button before the links stop fitting in one row
   (seven of them since «Библиотека» and «Войти»). site.js uses the same width. */
@media (max-width: 1020px) {
  .burger { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-left: auto; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
  .burger span { display: block; width: 18px; height: 2px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
  .site-nav {
    position: fixed;
    inset: 64px 12px auto 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    margin-left: 0;
  }
  .site-nav[hidden] { display: none; }
  .site-nav a { padding: 12px 10px; border-radius: var(--r-sm); font-size: 16px; }
  .site-nav .btn { margin-top: 6px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  /* A phone gets one column and shorter sections — nothing side by side. */
  section { padding: 40px 0; }
  .hero { padding: 28px 0 36px; }
  h1 { font-size: 34px; line-height: 1.06; }
  h2 { font-size: 25px; }
  h3 { font-size: 18px; }
  .lead { font-size: 16.5px; }
  .section-head { margin-bottom: 22px; }
  .card { padding: 20px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { width: 100%; padding: 15px 22px; font-size: 16px; }
  .cta-box { padding: 24px 20px; }
  .cta-box .hero-cta { width: 100%; }
  .cards, .cards.two, .screens, .plans, .facts { grid-template-columns: minmax(0, 1fr); }
  .cards.two { margin-top: 12px !important; }
  .loop-card + .loop-card { margin-left: 0; }
  .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

/* scrollbars: invisible until used, as in the program */
* { scrollbar-width: thin; scrollbar-color: transparent transparent; }
:not(html):hover, .is-scrolling { scrollbar-color: rgb(15 26 21 / 26%) transparent; }
::-webkit-scrollbar { width: 6px; height: 6px; background: transparent; }
::-webkit-scrollbar-thumb { background: transparent; border-radius: 999px; }
:not(html):hover::-webkit-scrollbar-thumb, .is-scrolling::-webkit-scrollbar-thumb { background: rgb(15 26 21 / 26%); }

/* ---- библиотека правил ---------------------------------------------------- */

.lib-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 34px; }
.lib-how > div { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.lib-how p { margin: 0; font-size: 15px; color: var(--ink-2); }
.lib-how .step-no { flex: none; }
.lib-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.lib-tabs { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--sand); }
.lib-tab { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; font: 500 14px var(--font); color: var(--ink-2); cursor: pointer; }
.lib-tab.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgb(15 26 21 / 10%); }
.lib-tab:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; align-items: start; }
.lib-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.lib-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lib-head h2 { font: 600 18px/1.3 var(--font); margin: 0; text-wrap: balance; }
.lib-side { flex: none; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.lib-side.long { background: var(--mint-soft); color: var(--mint-ink); }
.lib-side.short { background: #fae6e1; color: var(--bad); }
.lib-by { margin: -6px 0 0; }
.lib-when { margin: 4px 0 0; color: var(--ink-2); }
.lib-conds { margin: 0; padding-left: 20px; display: grid; gap: 5px; font-size: 15px; }
.lib-conds li::marker { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.lib-exit { margin: 0; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--line); }
.lib-note { margin: 0; padding: 10px 14px; border-left: 3px solid var(--mint); background: #f7faf8; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 15px; color: var(--ink-2); }
.lib-foot { display: flex; margin-top: 4px; }
.lib-copy { font-size: 14px; padding: 10px 18px; }
.lib-hint { margin: 0; }
.lib-code { display: block; width: 100%; margin-top: 8px; font: 12px var(--mono); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px; resize: vertical; }
.lib-empty-big { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--r); }
.lib-empty-big h2 { font: 600 20px var(--font); margin: 0 0 8px; }
.lib-empty-big p { max-width: 56ch; margin: 0 auto; }
@media (max-width: 760px) { .lib-how { grid-template-columns: minmax(0, 1fr); } }

/* Legal documents: long text, so a narrow column and quiet headings. */
.legal-head { padding: clamp(36px, 6vw, 64px) 0 8px; }
.legal-wrap { max-width: 780px; }
.legal-back { font-size: 14px; margin: 0 0 18px; }
.legal-back a { color: var(--mint-ink); text-decoration: none; }
.legal-head h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.15; }
.legal-meta { margin-top: 14px; color: var(--muted); font-size: 14px; }
.legal-body { padding: 18px 0 clamp(48px, 7vw, 88px); }
.legal { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.legal-sec { padding: 22px 0; border-top: 1px solid var(--line); }
.legal-sec:first-child { border-top: 0; padding-top: 6px; }
.legal h2 { font-family: var(--font); font-size: 19px; font-weight: 700; color: var(--ink); margin: 0 0 12px; letter-spacing: 0; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--mint-ink); }
.legal b { color: var(--ink); font-weight: 600; }
.legal-table { overflow-x: auto; margin: 4px 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.legal-table table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 14px; line-height: 1.5; }
.legal-table th { text-align: left; background: #f7faf8; color: var(--ink); font-weight: 600; }
.legal-table th, .legal-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-req { display: grid; gap: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.legal-req > div { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.legal-req > div:last-child { border-bottom: 0; }
.legal-req dt { color: var(--muted); font-size: 14px; }
.legal-req dd { margin: 0; color: var(--ink); }
.legal-card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.legal-card:hover { border-color: var(--mint); transform: translateY(-2px); }
.foot-legal a { color: inherit; }
@media (max-width: 720px) {
  .legal-req > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal-table { border: 0; background: none; overflow: visible; }
  .legal-table table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; min-width: 0; }
  .legal-table thead { display: none; }
  .legal-table tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px; padding: 4px 0; }
  .legal-table td { border: 0; padding: 6px 14px; }
  .legal-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
  .legal-table td:first-child { font-weight: 600; color: var(--ink); }
  .legal { font-size: 15.5px; }
}
@media print {
  .site-head, .site-foot, .legal-back { display: none; }
  .legal-table table { min-width: 0; }
}
