/* Style 10 "Тишина" (Quiet): only words, light Raleway, no boxes, green as a signal dot/link. */
:root {
  --bg: #ffffff;
  --ink: #1f1f1f;
  --mu: #6b6b6b;
  --ln: #ededed;
  --ac: #1f9d55;   /* signal dot only (below AA as text) */
  --at: #17803f;   /* text/link green, AA on white */
  --as: #eaf7ef;
  --r-pill: 999px;
  --pad: 32px;
  --max-width: 1120px;
  --prose-width: 720px;
  --f-display: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --f-text: "PT Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --space-section: clamp(5rem, 3rem + 8vw, 11rem);
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

html[data-lang="en"] .lang-ru { display: none !important; }
html[data-lang="ru"] .lang-en { display: none !important; }

a {
  color: var(--at);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--at);
  outline-offset: 4px;
}

::selection { background: var(--as); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.container--prose { max-width: calc(var(--prose-width) + var(--pad) * 2); }

/* Header: a word and three words, nothing else */
.site-header { padding-top: 12px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand-link:hover { color: var(--ink); }

.brand-mark {
  display: inline-grid;
  place-items: center;
  color: var(--at);
  flex-shrink: 0;
}
.brand-mark svg { display: block; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--mu);
  font-size: 0.95rem;
}
.nav-link:hover, .nav-link.is-current { color: var(--ink); }
.nav-link.is-current::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ac);
  margin-right: 8px;
}

.lang-switch { display: inline-flex; align-items: center; gap: 2px; }

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mu);
  font-family: var(--f-text);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active { color: var(--ink); font-weight: 700; }

main { flex: 1; }

/* Hero: one huge light sentence, centered */
.hero { padding: clamp(4rem, 2rem + 8vw, 9rem) 0 var(--space-section); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(4rem, 2rem + 6vw, 8rem);
  justify-items: center;
  text-align: center;
}
.hero-grid > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mu);
  font-size: 0.95rem;
  margin-bottom: 40px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ac);
  flex-shrink: 0;
}

h1, h2, h3 { font-family: "Raleway", "Helvetica Neue", Arial, sans-serif; color: var(--ink); }

h1 {
  margin: 0 0 40px;
  font-size: clamp(2.5rem, 1.2rem + 6.4vw, 6rem);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 16ch;
  overflow-wrap: break-word;

}

.hero-subtitle {
  margin: 0 0 48px;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--mu);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 36px;
  margin-bottom: 72px;
}

/* Buttons are words */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.btn-primary { color: var(--at); }
.btn-primary:hover { color: var(--ink); }
.btn-secondary { color: var(--mu); }
.btn-secondary:hover { color: var(--ink); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 64px;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.hero-meta-label { font-size: 0.9rem; color: var(--mu); }
.hero-meta-value {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 1.35rem;
  color: var(--ink);
}

/* Architecture overview: plain lines of words, no card */
.spec-card { width: 100%; max-width: 760px; text-align: center; }

.spec-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}
.spec-title { font-size: 0.95rem; color: var(--mu); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-text);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--at);
}
.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ac);
}

.spec-rows { display: flex; flex-direction: column; gap: 40px; }

.spec-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.spec-row-left { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.spec-row-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.spec-row-sub { font-size: 0.98rem; color: var(--mu); max-width: 46ch; }
.spec-tag { font-size: 0.9rem; color: var(--at); letter-spacing: 0.02em; }

.spec-footer {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-size: 0.9rem;
  color: var(--mu);
}

/* Sections */
.section { padding: var(--space-section) 0 0; }
main > .section:last-child { padding-bottom: var(--space-section); }

.section-header { max-width: 760px; margin: 0 0 clamp(3rem, 2rem + 4vw, 6rem); }

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--mu);
  margin-bottom: 28px;
}
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ac);
  flex-shrink: 0;
}

h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.section-lead { margin: 0; color: var(--mu); font-size: 1.1rem; max-width: 56ch; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3.5rem, 2rem + 4vw, 6rem) clamp(3rem, 2rem + 6vw, 8rem);
}

.feature-card { padding: 0; }

.feature-icon { color: var(--ink); margin-bottom: 24px; display: block; }
.feature-icon svg { display: block; }

.feature-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.feature-card p { margin: 0; color: var(--mu); font-size: 1.02rem; max-width: 44ch; }

/* Pledge: a single large quotation, centered */
.pledge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}
.pledge-quote {
  margin: 0 0 28px;
  font-family: var(--f-display);
  font-weight: 200;
  font-size: clamp(1.8rem, 1rem + 3vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 22ch;
  margin-inline: auto;
}
.pledge-sub { margin: 0 auto; font-size: 1.02rem; color: var(--mu); max-width: 56ch; }

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3.5rem, 2rem + 4vw, 6rem) clamp(3rem, 2rem + 6vw, 8rem);
}
.platform-card { padding: 0; }
.platform-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.platform-name {
  font-family: var(--f-display);
  font-weight: 200;
  font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.platform-api { font-size: 0.9rem; color: var(--mu); }

.clean-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.clean-list li { position: relative; padding-left: 22px; color: var(--mu); font-size: 1.02rem; }
.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ac);
}

/* Legal & support prose */
.page-hero { padding: clamp(3rem, 2rem + 5vw, 7rem) 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-hero h1 { max-width: none; font-size: clamp(2.4rem, 1.2rem + 5vw, 5rem); margin-bottom: 24px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 0.95rem; color: var(--mu); }

.prose-section { padding: clamp(2rem, 1.5rem + 2vw, 3rem) 0 var(--space-section); }

.compliance-callout { margin: 0 0 clamp(3rem, 2rem + 3vw, 5rem); }
.compliance-callout-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--mu);
  margin-bottom: 16px;
}
.compliance-callout-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ac);
}
.compliance-callout p {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin: clamp(3rem, 2rem + 3vw, 5rem) 0 16px;
}
.prose h2:first-of-type { margin-top: 0; }

.prose h3 { font-weight: 300; font-size: 1.35rem; letter-spacing: -0.02em; margin: 32px 0 10px; }

.prose p { margin: 0 0 16px; color: var(--mu); font-size: 1.05rem; line-height: 1.75; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul { margin: 0 0 20px; padding-left: 22px; color: var(--mu); }
.prose li { margin-bottom: 10px; line-height: 1.7; }
.prose li::marker { color: var(--ac); }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose code, .email-code, .platform-api { font-family: var(--f-text); }
.prose code { color: var(--ink); }

/* Tables: words in columns; one hairline between rows for legibility */
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0 32px; font-size: 0.98rem; }
.data-table th, .data-table td { text-align: left; padding: 16px 20px 16px 0; vertical-align: top; border-bottom: 1px solid var(--ln); }
.data-table th { color: var(--mu); font-weight: 400; font-size: 0.9rem; }
.data-table td { color: var(--ink); }
.data-table tr:last-child td { border-bottom: 0; }

/* Support */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 2rem + 4vw, 6rem);
  margin-bottom: clamp(3.5rem, 2rem + 5vw, 7rem);
}
.support-card { padding: 0; }
.support-card h3 { margin: 0 0 12px; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); font-weight: 300; letter-spacing: -0.02em; }
.support-card p { margin: 0 0 20px; color: var(--mu); font-size: 1.02rem; }

.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.email-code { font-size: 1.1rem; color: var(--ink); overflow-wrap: anywhere; }

.copy-btn {
  appearance: none;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--at);
  font-family: var(--f-text);
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.25s var(--ease);
}
.copy-btn:hover { color: var(--ink); }
.copy-btn .copied-label { display: none; }
.copy-btn.is-copied .default-label { display: none; }
.copy-btn.is-copied .copied-label { display: inline; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: transparent; }

.faq-trigger {
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-align: left;
  min-height: 64px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
}
.faq-trigger > span { flex: 1; }

.faq-chevron { width: 20px; height: 20px; color: var(--mu); flex-shrink: 0; transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); color: var(--at); }

.faq-panel { display: none; padding: 0 0 28px; color: var(--mu); font-size: 1.02rem; line-height: 1.75; max-width: 62ch; }
.faq-item.is-open .faq-panel { display: block; }

/* Footer */
.site-footer { margin-top: auto; padding: 0 0 56px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.footer-left { display: flex; flex-direction: column; gap: 4px; }
.footer-copy { font-size: 0.95rem; color: var(--mu); }
.footer-sub { font-size: 0.95rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; font-size: 0.95rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mu); }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .features-grid, .platforms-grid, .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --pad: 24px; }
  html { font-size: 16px; }
  .header-inner { flex-wrap: wrap; padding-block: 8px; gap: 0 16px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 12px; }
  .nav-links { gap: 16px; }
  .nav-link { font-size: 0.9rem; }
  h1 { max-width: none; font-size: clamp(2rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .pledge-quote { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .data-table { display: block; overflow-x: auto; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 360px) {
  :root { --pad: 20px; }
  .nav-links { gap: 12px; }
}

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