:root {
  --green-900: #14532d;
  --green-700: #1e6b3c;
  --mint-100: #eef7f0;
  --paper: #f7fbf5;
  --ink: #233b30;
  --muted: #5f7268;
  --line: #e2ece4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans Armenian", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green-700); text-underline-offset: 4px; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 3px solid #2fa24c; outline-offset: 4px; border-radius: 4px; }
.container { width: min(860px, calc(100% - 40px)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand-name { font-size: 21px; font-weight: 800; color: var(--green-900); }
.lang { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--mint-100); }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 5px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; }
.lang a[aria-current="page"] { background: var(--green-900); color: #fff; }
.back-link { display: inline-block; margin-block: 24px 8px; font-size: 15px; font-weight: 600; }
main { padding-bottom: 56px; overflow-wrap: anywhere; }
h1, h2, h3 { color: var(--green-900); line-height: 1.35; }
h1 { margin-block: 20px 32px; font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -0.025em; }
h2 { margin-block: 0 20px; font-size: clamp(22px, 3vw, 27px); }
h3 { margin-block: 28px 12px; font-size: 19px; }
p { margin-block: 0 18px; }
p:last-child { margin-bottom: 0; }
ul { padding-inline-start: 24px; margin-block: 0 20px; }
li { padding-inline-start: 3px; margin-block: 10px; }
.summary { padding: clamp(20px, 4vw, 32px); background: var(--mint-100); border: 1px solid #cde9d2; border-radius: 22px; }
.summary p:last-child { color: #465f50; font-size: 15px; }
.toc { margin-block: 32px 48px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.toc h2 { font-size: 20px; margin-bottom: 12px; }
.toc ol { column-count: 2; column-gap: 28px; list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0 0 8px; padding: 0; break-inside: avoid; font-size: 14px; line-height: 1.6; }
.toc li:nth-child(9) { break-before: column; }
.toc a { display: block; padding-block: 4px; }
.terms-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
table { width: 100%; border-collapse: collapse; margin-block: 24px; font-size: 16px; line-height: 1.6; }
caption { text-align: left; font-weight: 700; color: var(--green-900); margin-bottom: 12px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border: 1px solid #cde9d2; }
thead { color: var(--green-900); background: #e1f1e4; }
tbody { background: #fff; }
tbody th { font-weight: 600; }
.site-footer { background: var(--green-900); color: #fff; padding-block: 24px; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer a { color: #fff; font-size: 15px; }
@media (max-width: 580px) {
  body { font-size: 16px; line-height: 1.8; }
  .container { width: calc(100% - 32px); }
  .header-inner { gap: 12px; }
  .lang a { padding-inline: 12px; }
  .toc ol { column-count: 1; }
  .toc li:nth-child(9) { break-before: auto; }
  table { display: block; font-size: 16px; }
  caption { display: block; }
  /* Retain the column headers for assistive technology while showing each
     plan as a compact card with its labels repeated beside the amounts. */
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  tbody { display: grid; gap: 14px; background: transparent; }
  tbody tr { display: block; border: 1px solid #cde9d2; border-radius: 12px; overflow: hidden; background: #fff; }
  tbody th { display: block; border: 0; padding: 12px 16px; background: #e1f1e4; }
  tbody td { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px 16px; border: 0; border-top: 1px solid var(--line); }
  tbody td::before { content: attr(data-label); font-weight: 600; color: var(--green-900); }
  .terms-section { margin-top: 32px; padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .container { width: 100%; }
  .lang, .back-link, .site-footer, .toc { display: none; }
  .summary { background: #fff; }
  h2, h3 { break-after: avoid; }
  tr { break-inside: avoid; }
}
