:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --primary: #0f766e;
  --primary-hover: #115e59;
  --tint: #e6f3f0;
  --text: #172b35;
  --muted: #52636b;
  --line: rgba(23, 43, 53, 0.12);
  --line-strong: rgba(23, 43, 53, 0.2);
  --shadow: 0 18px 48px rgba(23, 43, 53, 0.06);
  --serif: "Literata", "Iowan Old Style", Palatino, "Palatino Linotype", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1160px;
  --header: 72px;
  --measure: 66ch;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

html:not(.i18n-ready) body {
  visibility: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-hover);
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.16;
  text-wrap: balance;
}

p,
.lede,
.card p,
.fine {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.send:focus-visible,
.btn-primary:focus-visible,
.tab[aria-selected="true"]:focus-visible,
.account-primary:focus-visible {
  outline-color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 80;
  transform: translateY(-140%);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

.skip:focus {
  transform: none;
}

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

.eyebrow {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 248, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  text-decoration: none;
  min-height: 44px;
}

.brand:hover {
  color: var(--primary-hover);
}

.brand-symbol {
  width: 32px;
  height: 32px;
  flex: none;
}

.brand-word {
  height: 28px;
  width: auto;
  display: block;
}

.footer-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 4px;
}

.footer-lockup .brand-symbol {
  width: 36px;
  height: 36px;
}

.footer-lockup .brand-word {
  height: 32px;
}

.nav {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0 14px;
  margin-left: auto;
  min-width: max-content;
  flex: 1 1 auto;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="true"],
.nav a[aria-current="page"] {
  color: var(--primary);
}

.nav-fold {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.nav-drop-btn .chevron {
  display: block;
  flex: none;
}

.nav-fold.is-open .nav-drop-btn,
.nav-drop-btn:hover {
  color: var(--primary);
}

.nav-fold.is-open .chevron,
.lang-drop.is-open .chevron {
  transform: rotate(180deg);
}

.nav-fold-panel,
.lang-panel {
  display: none;
}

.lang-drop.is-open .lang-panel {
  display: flex;
}

.slot {
  display: inline-grid;
  align-items: center;
  justify-items: start;
}

.slot-sizer,
.slot-label {
  grid-area: 1 / 1;
  white-space: nowrap;
}

.slot-sizer {
  display: grid;
  visibility: hidden;
}

.slot-sizer > span {
  grid-area: 1 / 1;
}

.nav a.nav-slot {
  display: inline-grid;
  align-items: center;
  justify-items: start;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.brand,
.header-tools,
.menu-btn {
  flex: none;
}

.lang-drop {
  position: relative;
}

.lang-trigger {
  display: inline-grid;
  justify-items: center;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
}

.lang-trigger:hover,
.lang-drop.is-open .lang-trigger {
  border-color: var(--primary);
  color: var(--primary);
}

.lang-face,
.lang-sizer {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.lang-sizer {
  visibility: hidden;
}

.lang-trigger .flag-ru {
  display: none;
}

.lang-trigger[data-lang="ru"] .flag-kk {
  display: none;
}

.lang-trigger[data-lang="ru"] .flag-ru {
  display: block;
}

.flag {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(23, 43, 53, 0.18);
}

.flag-ru {
  background: linear-gradient(#fff 0 33.34%, #1d4e89 33.34% 66.67%, #d52b1e 66.67%);
}

.flag-kk {
  background: url("../brand/flag-kz.svg") center / cover no-repeat;
}

.lang-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  min-width: 100%;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: 2px;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.lang-option:hover,
.lang-option[aria-pressed="true"] {
  background: var(--tint);
}

.lang-option[aria-pressed="true"] {
  font-weight: 700;
}

.account-link,
.account-primary {
  white-space: nowrap;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.account-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--primary);
}

.account-link:hover {
  background: #d7efe9;
  color: var(--primary-hover);
}

.account-icon {
  display: block;
  flex: none;
}

.account-link .slot,
.account-primary .slot {
  justify-items: center;
}

.account-primary {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
}

.account-primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

.account-menu {
  font-weight: 700;
}

@media (min-width: 641px) {
  .mobile-nav .account-menu {
    display: none;
  }
}

@media (max-width: 640px) {
  .account-link {
    display: none;
  }
}

.menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  position: relative;
  border-radius: 2px;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -5px;
}

.menu-btn span::after {
  top: 5px;
}

.menu-btn[aria-expanded="true"] span {
  background: transparent;
}

.menu-btn[aria-expanded="true"] span::before,
.menu-btn[aria-expanded="true"] span::after {
  top: 0;
}

.menu-btn[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 0 16px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a[aria-current="true"],
.mobile-nav a[aria-current="page"] {
  color: var(--primary);
}

.mobile-nav .nav-fold {
  display: block;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .nav-drop-btn {
  width: 100%;
  justify-content: space-between;
  min-height: 48px;
  padding: 0;
  font-weight: 650;
}

.mobile-nav .nav-fold-panel a {
  min-height: 44px;
  padding-left: 16px;
  border-bottom: 0;
  color: var(--muted);
  font-weight: 600;
}

.mobile-nav .nav-fold.is-open .nav-fold-panel {
  display: flex;
  flex-direction: column;
  padding-bottom: 6px;
}

.hero {
  padding: 28px 0 8px;
}

.hero-top {
  display: grid;
  gap: 22px;
  align-items: start;
}

.hero-copy {
  max-width: 40rem;
}

.hero h1 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 5vw, 2.45rem);
  line-height: 1.12;
  max-width: 16em;
}

.lede {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: var(--measure);
}

.ask {
  margin-top: 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
}

.ask-field {
  position: relative;
  overflow: hidden;
}

.ask textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  border: 0;
  background: transparent;
  padding: 8px 8px 0;
  line-height: 1.45;
  font-size: 1.0625rem;
}

.ask textarea::placeholder {
  color: transparent;
}

.ask-field:focus-within textarea::placeholder {
  color: var(--muted);
}

.rotator {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  color: var(--muted);
  pointer-events: none;
  line-height: 1.45;
}

.ask-field.has-value .rotator,
.ask-field:focus-within .rotator {
  opacity: 0;
}

.ask-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 4px 2px;
}

.modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mode-btn {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.mode-btn[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--tint);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.send {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  padding: 0 16px 0 18px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
}

.send:hover {
  background: var(--primary-hover);
}

.send svg {
  width: 18px;
  height: 18px;
}

.mode-hint {
  margin: 8px 8px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.examples {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.examples button {
  text-align: left;
  border: 1px solid transparent;
  background: var(--tint);
  color: var(--text);
  border-radius: 14px;
  min-height: 48px;
  padding: 10px 12px;
  line-height: 1.35;
  font-weight: 600;
}

.examples button:hover,
.examples button[aria-pressed="true"] {
  border-color: var(--primary);
  color: var(--primary-hover);
}

.demo-answer {
  margin-top: 14px;
  border-top: 3px solid var(--primary);
  background: var(--tint);
  border-radius: 16px;
  padding: 16px 16px 14px;
}

.demo-answer h3 {
  margin-top: 8px;
  font-size: 1.25rem;
}

.demo-answer p + p,
.demo-answer .answer-body {
  margin-top: 10px;
}

.answer-body {
  white-space: pre-wrap;
}

.clamp {
  --clamp-limit: 7.25rem;
}

.example-panel.clamp {
  --clamp-limit: 15rem;
}

.clamp:not(.is-open):not(.is-measuring) .clamp-body.is-clipped,
.example-panel.clamp:not(.is-open):not(.is-measuring) article.is-clipped {
  max-height: var(--clamp-limit);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 62%, transparent);
  mask-image: linear-gradient(#000 62%, transparent);
}

.clamp.is-measuring .clamp-body,
.clamp.is-measuring article {
  max-height: none;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.clamp-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  padding: 8px 2px;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  text-align: left;
}

.clamp-toggle:hover {
  color: var(--primary-hover);
}

.clamp-less,
.clamp.is-open .clamp-more {
  display: none;
}

.clamp.is-open .clamp-less {
  display: inline;
}

.example-panel .clamp-toggle {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.demo-sources {
  margin-top: 12px;
  font-weight: 700;
}

.fine {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.proof {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof li {
  list-style: none;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 0;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}

.proof li {
  margin: 0;
}

.proof li:nth-child(odd) {
  padding-right: 12px;
}

.proof li:nth-child(even) {
  border-left: 1px solid var(--line);
  padding-left: 12px;
}

.proof li:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex: none;
}

.hero-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 70ch;
}

.section {
  padding: 56px 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 24px;
}

.section-head h1,
.section-head h2,
.block-title,
.cta-band h2 {
  margin-top: 8px;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  line-height: 1.18;
}

.section-head p,
.sub {
  margin-top: 12px;
  color: var(--muted);
}

.scenario-grid,
.source-grid,
.audience-grid,
.guide-grid,
.access-grid {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card h3 {
  margin-top: 8px;
  font-size: 1.28rem;
}

.card h3:first-child {
  margin-top: 0;
}

.card p {
  margin-top: 8px;
  color: var(--muted);
}

.card .price {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 650;
  font-size: 0.98rem;
}

.plan-pro {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.card .plan-price {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.card .plan-contact {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0;
}

.card .btn {
  margin-top: 16px;
  align-self: flex-start;
}

.method {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.tab {
  border: 0;
  background: transparent;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--muted);
}

.tab[aria-selected="true"] {
  background: var(--primary);
  color: #fff;
}

.example-panel {
  margin-top: 16px;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  border-top: 3px solid var(--primary);
}

.example-panel article {
  padding: 22px 20px;
}

.example-panel article + article {
  border-top: 1px solid var(--line);
}

.example-panel h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  text-transform: none;
}

.example-panel .question,
.example-panel .answer-body {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.45;
  color: var(--text);
}

.example-panel .answer-body {
  font-family: var(--sans);
  font-size: 1.02rem;
  white-space: pre-wrap;
}

.bases {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  padding: 0;
}

.bases li {
  list-style: none;
  background: var(--bg);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 650;
}

.cite-card {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary);
  border-radius: 14px;
  padding: 22px 22px 18px;
}

.cite-card p {
  max-width: var(--measure);
}

.cite-card h3 {
  margin-top: 8px;
  font-size: 1.35rem;
}

.cite-card p {
  margin-top: 8px;
}

.audience {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calc-layout {
  display: grid;
  gap: 22px;
  align-items: start;
}

.calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary-hover);
}

.calc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.calc-card h3 {
  font-size: 1.45rem;
}

.calc-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

label span,
.field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}

input[type="number"] {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  padding: 0 12px;
  font-size: 1.0625rem;
}

.sex {
  display: flex;
  gap: 8px;
}

.sex button {
  flex: 1;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-weight: 700;
}

.sex button[aria-pressed="true"] {
  background: var(--tint);
  border-color: var(--primary);
  color: var(--primary-hover);
}

.result {
  margin-top: 16px;
  background: var(--tint);
  border-radius: 16px;
  padding: 14px;
}

.value-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.value-line span {
  color: var(--muted);
  font-weight: 650;
}

.result strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.result strong span {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--muted);
}

.cta {
  padding: 8px 0 12px;
}

.cta-band {
  background: var(--tint);
  border-radius: 20px;
  padding: 32px 22px;
}

.cta-band h2 {
  margin-top: 8px;
  max-width: 18em;
}

.cta-band .sub {
  max-width: var(--measure);
}

.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.note-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.note-list a,
.note-list article {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.note-list h3 {
  font-size: 1.15rem;
}

.note-list p {
  margin-top: 6px;
  color: var(--muted);
}

.featured-note {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 8px;
  max-width: 46rem;
}

.note-list {
  max-width: 46rem;
}

.featured-note h3 {
  margin-top: 8px;
  font-size: 1.55rem;
}

.featured-note p {
  margin-top: 10px;
  color: var(--muted);
}

.price {
  margin-top: 14px;
  color: var(--text);
  font-weight: 650;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  min-height: 52px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--primary);
  border-bottom: 1.5px solid var(--primary);
  transform: rotate(45deg);
  flex: none;
  margin-top: 6px;
}

.faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 8px;
}

section[id]:focus {
  outline: none;
}

.faq details p {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 74ch;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  color: var(--muted);
  font-size: 0.98rem;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--text);
  letter-spacing: 0;
}

.site-footer p,
.site-footer a {
  margin-top: 8px;
}

.site-footer nav {
  display: grid;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer a:hover {
  color: var(--primary);
}

.footer-base {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 639px) {
  .hero {
    padding-top: 18px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-top {
    gap: 12px;
  }

  .hero h1 {
    margin-top: 0;
  }

  .ask {
    order: 2;
  }

  .lede {
    order: 3;
    margin-top: 2px;
  }

  .ask textarea {
    min-height: 118px;
  }

  .ask-bar {
    align-items: stretch;
  }

  .mode-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .send {
    width: 100%;
  }

  .calc-actions .btn {
    flex: 1 1 100%;
  }

  .proof {
    grid-template-columns: 1fr;
  }

  .proof li,
  .proof li:nth-child(odd),
  .proof li:nth-child(even) {
    border-left: 0;
    padding-left: 0;
    padding-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .proof li:last-child {
    border-bottom: 0;
  }
}

@media (min-width: 640px) {
  .hero {
    padding-top: 40px;
  }

  .examples {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 760px) {
  .audience-grid,
  .guide-grid,
  .access-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bases,
  .calc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-base {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 980px) {
  .hero {
    padding: 52px 0 24px;
  }

  .hero-top {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 3vw, 3.2rem);
  }

  .hero-top .examples {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 84px 0;
  }

  .proof {
    grid-template-columns: repeat(4, 1fr);
  }

  .proof li,
  .proof li:nth-child(odd),
  .proof li:nth-child(even),
  .proof li:nth-child(-n + 2) {
    border: 0;
    border-left: 1px solid var(--line);
    padding: 16px 14px;
  }

  .proof li:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .scenario-grid,
  .source-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .example-panel {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.16fr) minmax(0, 0.92fr);
  }

  .example-panel article + article {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .calc-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 48px;
  }

  .calc-grid label:last-of-type {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1240px) {
  .nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: space-between;
    margin-left: 0;
    min-width: max-content;
    gap: 12px;
  }

  .nav .nav-fold:has(a[aria-current="page"]) .nav-drop-btn {
    color: var(--primary);
  }

  .nav .nav-fold-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0;
    min-width: 16.5rem;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .nav .nav-fold.is-open .nav-fold-panel {
    display: flex;
  }

  .nav .nav-fold-panel a {
    min-height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    white-space: nowrap;
  }

  .nav .nav-fold-panel a:hover,
  .nav .nav-fold-panel a[aria-current="page"] {
    background: var(--tint);
  }

  .menu-btn {
    display: none;
  }

  .header-tools {
    margin-left: 8px;
  }
}

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

@media (max-width: 420px) {
  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand-symbol {
    width: 28px;
    height: 28px;
  }

  .brand-word {
    height: 22px;
  }

  .header-inner {
    gap: 6px;
  }

  .header-tools {
    gap: 4px;
  }

  .lang-trigger {
    gap: 6px;
    padding: 0 6px;
  }

  .account-link {
    padding: 0 4px;
  }

  .account-primary {
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .menu-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 359px) {
  :root {
    --header: 108px;
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    padding-block: 8px;
    row-gap: 6px;
  }

  .header-tools {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
}

p.eyebrow {
  color: var(--primary);
}
