/* Abonis marketing pages — "Registry" direction (run/2-brand-directions.md §4).
   One stylesheet for /, /ru/, /privacy/, /terms/. Fonts are self-hosted (assets/fonts/abonis-fonts.css).
   Motion: toolkit techniques 1 (hero rise), 2 (reveal), 10 (split headings, 3 max), 8 (hairline links). */

:root {
  --ink: #14171C;
  --paper: #FFFFFF;
  --surface: #F1F2F4;
  --surface-2: #E8EAED;
  --accent: #C7361F;
  --accent-text: #B02E19;
  --muted: #565E6B;
  --line: #D4D8DE;
  --success: #17703F;
  --alert: #A8261A;
  --fg-rgb: 20 23 28;

  --font: "Google Sans", "Noto Sans Armenian", "Noto Sans", Sylfaen, "Mshtakan", system-ui, sans-serif;
  --font-mono: "Iosevka Charon Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1240px;
  --gutter: 32px;
  --radius: 2px;
  --header-h: 68px;

  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-split: cubic-bezier(0.2, 0.7, 0.2, 1);
  --rise-distance: 18px;
  --rise-duration: 1.1s;
  --reveal-distance: 10px;
}
@media (max-width: 759px) { :root { --gutter: 16px; --header-h: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.num, .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.nb { white-space: nowrap; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 1px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* review markers.
   Visible for the founder's review; set data-review="off" on <html> to hide them for judging or deploy. */
.todo {
  display: inline-block;
  margin-left: 6px;
  padding: 0 5px;
  border: 1px dashed #9AA1AC;
  border-radius: 2px;
  color: #6A717D;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 17px;
  letter-spacing: 0.02em;
  vertical-align: 2px;
  white-space: nowrap;
}
html[data-review="off"] .todo { display: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(255 255 255 / 0.97);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.brand svg { width: 24px; height: 24px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink); padding: 6px 0; }
.nav a:hover { color: var(--accent-text); }
.lang { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-mono); font-size: 13px; }
.lang a, .lang span { padding: 5px 9px; text-decoration: none; line-height: 1.2; }
.lang [aria-current] { background: var(--ink); color: #fff; }
.lang a:hover { background: var(--surface); }
.header-cta { font-size: 15px; }
@media (max-width: 1059px) { .nav { display: none; } .lang { margin-left: auto; } }
@media (max-width: 759px) { .header-cta { display: none; } .site-header .wrap { gap: 16px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
  font: inherit; font-size: 16px; font-weight: 500; line-height: 1.25;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--surface); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-text); border-color: var(--accent-text); }
.btn-small { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn .arrow { font-family: var(--font-mono); }

/* ---------- section scaffolding ---------- */
.section { padding: 112px 0; border-top: 1px solid var(--line); }
.section.tight { padding: 88px 0; }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; margin-bottom: 56px; }
.sec-label { grid-column: 1 / span 3; font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 12px; letter-spacing: 0.02em; }
.sec-label b { color: var(--accent-text); font-weight: 500; margin-right: 10px; }
.sec-title { grid-column: 4 / span 9; }
.sec-title h2 { font-size: clamp(30px, 3.6vw, 46px); max-width: 24ch; }
.sec-title .lead { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 60ch; }
@media (max-width: 899px) {
  .section { padding: 72px 0; } .section.tight { padding: 64px 0; }
  .sec-head { display: block; margin-bottom: 36px; }
  .sec-label { padding: 0 0 14px; }
  .sec-title .lead { font-size: 17px; }
}

/* ---------- hero ---------- */
.hero { padding: 64px 0 0; }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; align-items: end; }
.hero-head { grid-column: 1 / span 7; }
.hero-side { grid-column: 8 / span 5; padding-bottom: 6px; }
.eyebrow { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--accent); flex: none; }
.hero h1 { margin-top: 22px; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.07; letter-spacing: -0.02em; }
.hero .lead { font-size: 18px; color: #2E343D; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-terms { margin-top: 20px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.hero-terms li { list-style: none; padding-left: 18px; position: relative; }
.hero-terms li + li { margin-top: 4px; }
.hero-terms li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 1px; background: var(--ink); }
.hero-media { margin-top: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 48px 24px; }
.hero-media picture { display: block; max-width: 1080px; margin: 0 auto; }
.hero-media img { width: 100%; height: auto; }
@media (max-width: 1059px) {
  .hero { padding-top: 44px; }
  .hero-grid { display: block; }
  .hero-side { margin-top: 24px; }
  .hero-media { margin-top: 36px; padding: 16px 8px 8px; }
}

/* the register: four offer terms in a hairline grid */
.register { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.register > div { padding: 22px 24px 24px 0; }
.register > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.register .k { display: block; font-family: var(--font-mono); font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; line-height: 1.1; white-space: nowrap; }
.register .k.acc { color: var(--accent-text); }
.register .v { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.45; }
@media (max-width: 759px) {
  .register { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .register > div { padding: 18px 12px 18px 0; }
  .register > div + div { padding-left: 0; border-left: 0; }
  .register > div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .register > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- product rows ---------- */
.rows { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; padding-top: 8px; }
.row-text { grid-column: 1 / span 5; }
.row-media { grid-column: 7 / span 6; }
.row.flip .row-text { grid-column: 8 / span 5; order: 2; }
.row.flip .row-media { grid-column: 1 / span 6; order: 1; }
.row-index { font-family: var(--font-mono); font-size: 13px; color: var(--accent-text); }
.row h3 { margin-top: 12px; font-size: clamp(24px, 2.3vw, 30px); }
.row p { margin-top: 16px; color: #2E343D; }
.rule-list { margin-top: 20px; border-top: 1px solid var(--line); }
.rule-list li { list-style: none; display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rule-list .rk { font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 2px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; display: flex; justify-content: center; align-items: center; }
.panel.phone img { width: min(340px, 100%); height: auto; }
.panel.wide { padding: 20px; }
.row.wide .row-text { grid-column: 1 / span 4; }
.row.wide .row-media { grid-column: 5 / span 8; }
.row.wide.flip .row-text { grid-column: 9 / span 4; }
.row.wide.flip .row-media { grid-column: 1 / span 8; }
.panel.wide img { width: 100%; height: auto; }
.row.textonly .row-text { grid-column: 1 / span 5; }
.row.textonly .row-media { grid-column: 7 / span 6; }
@media (max-width: 899px) {
  .row, .row.flip { display: block; padding: 48px 0; }
  .row-media { margin-top: 28px; }
  .panel { padding: 24px 16px; }
  .panel.wide { padding: 12px; }
  .rule-list li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); counter-reset: step; row-gap: 0; }
.timeline li { list-style: none; position: relative; padding: 26px 28px 36px 0; }
.timeline li:nth-child(n+4) { border-top: 1px solid var(--ink); }
.timeline li:nth-child(3n+1) { padding-left: 0 !important; border-left: 0 !important; }
.timeline li:nth-child(3n+1)::before { left: 0 !important; }
.timeline li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--ink); }
.timeline li + li::before { left: -5px; }
.timeline li.key::before { background: var(--accent); }
.timeline .when { font-family: var(--font-mono); font-size: 14px; color: var(--muted); }
.timeline li.key .when { color: var(--accent-text); }
.timeline h3 { margin-top: 6px; font-size: 21px; }
.timeline p { margin-top: 10px; font-size: 16px; color: #2E343D; line-height: 1.55; max-width: 34ch; }
@media (max-width: 1059px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--ink); margin-left: 4px; }
  .timeline li, .timeline li + li, .timeline li:nth-child(3n+1) { padding: 0 0 32px 28px !important; border-left: 0 !important; border-top: 0 !important; }
  .timeline li::before, .timeline li + li::before, .timeline li:nth-child(3n+1)::before { top: 6px; left: -5px !important; }
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; background: var(--paper); }
.plan.core { border-color: var(--ink); box-shadow: inset 0 3px 0 var(--accent); }
.plan .pname { font-size: 15px; font-family: var(--font-mono); color: var(--muted); }
.plan .price { margin-top: 18px; font-family: var(--font-mono); font-weight: 500; font-size: 40px; line-height: 1.05; white-space: nowrap; }
.plan .unit { margin-top: 8px; font-size: 15px; color: var(--muted); min-height: 2.9em; }
.plan .note { margin-top: 14px; padding: 10px 12px; background: var(--surface); font-size: 14px; line-height: 1.5; }
.plan ul { margin-top: 22px; border-top: 1px solid var(--line); }
.plan li { list-style: none; padding: 10px 0 10px 20px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; line-height: 1.5; }
.plan li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 9px; height: 9px; border: 1px solid var(--ink); }
.plan.core li::before { background: var(--ink); }
@media (max-width: 1059px) { .plans { grid-template-columns: 1fr; } .plan .unit { min-height: 0; } }

.calc { margin-top: 32px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.calc-in { grid-column: 1 / span 4; }
.calc-out { grid-column: 5 / span 8; }
.calc label { display: block; font-size: 15px; font-weight: 500; }
.calc .hint { margin-top: 6px; font-size: 14px; color: var(--muted); }
.calc input[type="number"] {
  margin-top: 14px; width: 100%; max-width: 260px; height: 56px; padding: 0 16px;
  border: 1px solid var(--ink); border-radius: var(--radius); background: #fff;
  font-family: var(--font-mono); font-size: 26px; color: var(--ink);
}
.calc input[type="range"] { margin-top: 18px; width: 100%; max-width: 320px; accent-color: var(--accent); }
.calc table { width: 100%; border-collapse: collapse; }
.calc caption { text-align: left; font-size: 14px; color: var(--muted); padding-bottom: 10px; }
.calc th, .calc td { text-align: left; padding: 14px 0; border-top: 1px solid var(--line); vertical-align: baseline; font-weight: 400; font-size: 15px; }
.calc td { text-align: right; font-family: var(--font-mono); font-size: 20px; white-space: nowrap; padding-left: 16px; }
.calc tr.strong td { color: var(--ink); font-weight: 500; font-size: 24px; }
.calc .sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.calc-foot { margin-top: 18px; font-size: 13px; color: var(--muted); line-height: 1.5; }
@media (max-width: 899px) {
  .calc { display: block; padding: 22px 16px; }
  .calc-out { margin-top: 28px; }
  .calc td { font-size: 17px; } .calc tr.strong td { font-size: 19px; }
}

/* ---------- guarantee (dark band, document frame) ---------- */
.band { background: var(--ink); color: #fff; border-top: 0; }
.band .sec-label { color: #A9B0BB; }
.band .sec-label b { color: #F0806C; }
.band .sec-title .lead { color: #C9CED6; }
.band a { color: #fff; }
.charter { border: 1px solid #3A414C; border-radius: var(--radius); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.charter-main { grid-column: 1 / span 7; padding: 40px; border-right: 1px solid #3A414C; }
.charter-side { grid-column: 8 / span 5; padding: 40px; }
.clause-k { font-family: var(--font-mono); font-size: 13px; color: #A9B0BB; letter-spacing: 0.02em; }
.charter blockquote { margin: 14px 0 0; font-size: clamp(21px, 2vw, 26px); line-height: 1.4; font-weight: 400; }
.charter .counting { margin-top: 32px; padding-top: 24px; border-top: 1px solid #3A414C; }
.charter .counting p { margin-top: 10px; color: #DDE1E6; }
.conds { margin-top: 16px; counter-reset: c; }
.conds li { list-style: none; counter-increment: c; display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 16px 0; border-top: 1px solid #3A414C; color: #EEF0F3; }
.conds li::before { content: "0" counter(c); font-family: var(--font-mono); color: #F0806C; }
.charter-side .small { margin-top: 20px; font-size: 14px; color: #A9B0BB; }
@media (max-width: 899px) {
  .charter { display: block; }
  .charter-main, .charter-side { padding: 24px 18px; border-right: 0; }
  .charter-side { border-top: 1px solid #3A414C; }
}

/* ---------- founding ---------- */
.founding { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; }
.founding-k { grid-column: 1 / span 4; border-top: 1px solid var(--ink); padding-top: 22px; }
.founding-k .big { font-family: var(--font-mono); font-size: 96px; line-height: 1; font-weight: 500; }
.founding-k .cap { margin-top: 10px; color: var(--muted); font-size: 15px; }
.places { margin-top: 24px; display: flex; gap: 8px; }
.places span { width: 28px; height: 28px; border: 1.5px solid var(--ink); }
.founding-terms { grid-column: 5 / span 8; border-top: 1px solid var(--ink); }
.founding-terms li { list-style: none; display: grid; grid-template-columns: 56px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.founding-terms .i { font-family: var(--font-mono); font-size: 13px; color: var(--accent-text); padding-top: 4px; }
.founding-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 899px) {
  .founding { display: block; }
  .founding-k .big { font-size: 72px; }
  .founding-terms { margin-top: 32px; }
  .founding-terms li { grid-template-columns: 40px 1fr; }
}

/* ---------- evidence ---------- */
.evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.ev { padding: 32px 32px 36px 0; border-bottom: 1px solid var(--line); }
.ev:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line); }
.ev .fig { font-family: var(--font-mono); font-size: 40px; font-weight: 500; line-height: 1; }
.ev .fig small { font-size: 15px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.ev.limit .fig { color: var(--muted); }
.ev h3 { margin-top: 18px; font-size: 20px; }
.ev p { margin-top: 10px; color: #2E343D; font-size: 16px; }
.ev .src { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.ev .src a { color: var(--ink); }
.ev .scope { display: inline-block; margin-top: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 1px 6px; }
@media (max-width: 899px) {
  .evidence { grid-template-columns: 1fr; }
  .ev, .ev:nth-child(even) { padding: 28px 0; border-left: 0; }
  .ev .fig { font-size: 34px; }
}

/* ---------- data / definitions ---------- */
.deflist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--ink); }
.deflist > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.deflist dt { font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.deflist dd { margin: 0; font-size: 16px; }
.after-list { margin-top: 28px; font-size: 15px; }
@media (max-width: 899px) {
  .deflist { grid-template-columns: 1fr; }
  .deflist > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- who ---------- */
.who { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; }
.who-text { grid-column: 4 / span 6; font-size: 19px; line-height: 1.6; }
.who-text p + p { margin-top: 16px; }
.who-facts { grid-column: 10 / span 3; border-top: 1px solid var(--ink); }
.who-facts li { list-style: none; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.who-label { grid-column: 1 / span 3; }
@media (max-width: 899px) {
  .who { display: block; }
  .who-text { font-size: 17px; }
  .who-facts { margin-top: 28px; }
}

/* ---------- contact / form ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; }
.contact-text { grid-column: 1 / span 5; }
.contact-form { grid-column: 7 / span 6; }
.steps { margin-top: 28px; border-top: 1px solid var(--line); counter-reset: s; }
.steps li { list-style: none; counter-increment: s; display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.steps li::before { content: "0" counter(s); font-family: var(--font-mono); font-size: 13px; color: var(--accent-text); padding-top: 3px; }
.contact-direct { margin-top: 28px; font-size: 15px; color: var(--muted); }
.contact-direct a { color: var(--ink); }
form.apply { border: 1px solid var(--ink); border-radius: var(--radius); padding: 32px; background: var(--paper); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input {
  margin-top: 8px; height: 48px; padding: 0 14px;
  border: 1px solid #8C939E; border-radius: var(--radius); background: #fff;
  font: inherit; font-size: 16px; color: var(--ink);
}
.field input:hover { border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--alert); box-shadow: inset 0 0 0 1px var(--alert); }
.field-error { margin-top: 6px; font-size: 13px; color: var(--alert); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.form-foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.form-note { font-size: 13px; color: var(--muted); max-width: 46ch; }
.form-status { margin-top: 14px; font-size: 14px; min-height: 1px; }
.form-status[data-state="error"] { color: var(--alert); }
.form-success { border: 1px solid var(--ink); border-left: 4px solid var(--success); padding: 32px; }
.form-success h3 { font-size: 22px; }
.form-success p { margin-top: 10px; color: #2E343D; }
.form-success:focus { outline: none; }
@media (max-width: 899px) {
  .contact { display: block; }
  .contact-form { margin-top: 36px; }
  form.apply { padding: 20px 16px; }
  .fgrid { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: #2E343D; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 32px; }
.foot-brand { grid-column: 1 / span 4; }
.foot-brand .brand { font-size: 18px; }
.foot-brand p { margin-top: 14px; color: var(--muted); max-width: 34ch; }
.foot-col { grid-column: span 2; }
.foot-col h4 { font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 12px; }
.foot-col li { list-style: none; padding: 3px 0; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }
.foot-wide { grid-column: span 4; }
.foot-legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
@media (max-width: 899px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col, .foot-wide { grid-column: span 1; }
  .foot-wide { grid-column: 1 / -1; }
}

/* ---------- document pages (privacy, terms) ---------- */
.doc { padding: 72px 0 112px; }
.doc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; }
.doc-aside { grid-column: 1 / span 3; }
.doc-aside nav { position: sticky; top: calc(var(--header-h) + 24px); border-top: 1px solid var(--ink); }
.doc-aside li { list-style: none; border-bottom: 1px solid var(--line); }
.doc-aside a { display: block; padding: 8px 0; font-size: 14px; text-decoration: none; color: var(--muted); }
.doc-aside a:hover { color: var(--ink); }
.doc-body { grid-column: 4 / span 8; }
.doc-body h1 { font-size: clamp(32px, 3.6vw, 46px); }
.doc-meta { margin-top: 18px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 24px; }
.doc-intro { margin-top: 28px; font-size: 18px; color: #2E343D; padding: 20px 22px; border-left: 3px solid var(--accent); background: var(--surface); }
.clause { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.clause h2 { font-size: 22px; display: flex; gap: 16px; }
.clause h2 .n { font-family: var(--font-mono); font-size: 15px; color: var(--accent-text); padding-top: 5px; min-width: 2.2em; }
.clause p, .clause li { margin-top: 12px; font-size: 16px; color: #23282F; }
.clause ol, .clause ul { padding-left: 0; }
.clause li { list-style: none; display: grid; grid-template-columns: 3.4em 1fr; }
.clause li .n { font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.clause table { margin-top: 14px; width: 100%; border-collapse: collapse; font-size: 15px; }
.clause th, .clause td { text-align: left; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.clause th { color: var(--muted); font-family: var(--font-mono); font-size: 13px; width: 38%; }
@media (max-width: 899px) {
  .doc { padding: 40px 0 72px; }
  .doc-grid { display: block; }
  .doc-aside { display: none; }
  .clause th { width: 42%; }
}

@media print {
  .site-header, .site-footer, .doc-aside, .skip { display: none; }
  .doc-body { grid-column: 1 / -1; }
}
.lead-p { font-size: 19px; color: #2E343D; }
@media (max-width: 899px) { .lead-p { font-size: 17px; } }

/* Text labels: Google Sans (Armenian in the mono face reads letter-spaced); mono is kept for figures only. */
.eyebrow, .sec-label, .clause-k, .plan .pname, .timeline .when, .rule-list .rk, .deflist dt,
.foot-col h4, .ev .scope, .doc-meta, .calc caption, .lang, .doc-aside a {
  font-family: var(--font);
  letter-spacing: 0;
}
.eyebrow, .sec-label, .clause-k, .rule-list .rk, .deflist dt, .foot-col h4, .timeline .when { font-weight: 500; }
.sec-label b, .row-index, .founding-terms .i, .steps li::before, .conds li::before { font-family: var(--font-mono); }
.lang { font-size: 13px; font-weight: 500; }

.foot-legal { font-family: var(--font); }
.ev .src a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: #9AA1AC; }
.ev .src a:hover { text-decoration-color: var(--ink); }
.clause th { font-family: var(--font); font-weight: 500; }

/* ---------- ֏ motif (round 2): the mono dram sign recurs in vermilion on every figure and section numeral ---------- */
.cur { font-family: var(--font-mono); color: var(--accent-text); font-weight: 500; }
.band .cur { color: #F0806C; }
.fig { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sec-label b { display: inline-flex; gap: 6px; align-items: baseline; }
.sec-label b .cur { font-size: 15px; }
.register .k .cur, .plan .price .cur { margin-left: 2px; }
.ev .fig { white-space: normal; }
/* guarantee formula */
.charter blockquote.formula { margin: 14px 0 0; font-size: clamp(21px, 2vw, 26px); line-height: 1.4; }
.charter .example { margin-top: 16px; padding: 14px 16px; border: 1px dashed #4A525E; color: #DDE1E6; font-size: 16px; }
.charter .g-out { margin-top: 20px; }
.charter .g-out li { list-style: none; position: relative; padding: 10px 0 10px 22px; border-top: 1px solid #3A414C; color: #EEF0F3; }
.charter .g-out li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 10px; height: 10px; background: var(--accent); }
