@import url("assets/fonts.css");

:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --ink: #272a24;
  --muted: #555b51;
  --green: #344c3c;
  --leaf: #dce6d7;
  --clay: #a3543b;
  --border: #d8d5ca;
  --body: Inter, system-ui, sans-serif;
  --display: "Playfair Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--body);
}

a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 5px;
}
img { display: block; width: 100%; height: auto; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
section[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - 7rem, 1220px); margin-inline: auto; }

.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  transform: translateY(-160%);
  padding: .6rem 1rem;
  background: var(--green);
  color: white;
}
.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--border); }
.header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.header-inner { min-height: 80px; }
.header-inner > .button { flex: none; white-space: nowrap; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: -.04em;
}
.mark {
  display: grid;
  flex: none;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 2px dashed var(--green);
  border-radius: 50%;
}
.mark::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}
nav { display: flex; align-items: center; gap: 2.1rem; }
nav a {
  padding: .5rem 0;
  font-size: .9rem;
  text-decoration: none;
}
nav a:hover { text-decoration: underline; text-underline-offset: .22em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.button span { font-size: 1.15rem; line-height: 1; }
.button-outline { padding: .72rem 1rem; border-color: #a7ada2; color: var(--green); }
.button-outline:hover { background: var(--leaf); }
.button-primary { padding: 1rem 1.3rem; background: var(--green); color: #fff; }
.button-primary:hover { background: #263b2d; }
.button-light { padding: .8rem 1rem; background: var(--paper); color: var(--green); }
.button-light:hover { background: var(--leaf); }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: clamp(2.75rem, 5vw, 5rem);
  padding-bottom: 2.55rem;
}
.hero-copy { padding-bottom: 1.4rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--green);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); flex: none; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.045em; }
h1 {
  margin-block: 1.25rem 1.4rem;
  font-size: clamp(2.9rem, 5.15vw, 4.95rem);
  line-height: 1.08;
}
h1 em, h2 em { color: var(--green); font-weight: inherit; }
h2 { font-size: clamp(2.25rem, 4.25vw, 4rem); line-height: 1.1; }
h3 { font-size: 1.08rem; line-height: 1.45; letter-spacing: -.025em; }
.lead { max-width: 37ch; margin-bottom: 1.8rem; color: var(--muted); font-size: 1.05rem; }
.hero-figure img {
  aspect-ratio: 1.25;
  object-fit: cover;
  border-radius: 8px;
  background: #e4d8c6;
}
.hero-figure figcaption {
  margin-top: .5rem;
  color: var(--muted);
  font-size: .72rem;
  text-align: right;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 1.4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.facts div { padding-left: 1.6rem; border-left: 1px solid var(--border); }
.facts div:first-child { padding-left: 0; border: 0; }
.facts dt { font: 500 clamp(1.3rem, 2.45vw, 2rem)/1.2 var(--display); }
.facts dd { margin-top: .28rem; color: var(--muted); font-size: .87rem; }

.support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 7vw, 6rem);
  padding-block: clamp(3rem, 7vw, 6rem);
}
.support p { max-width: 36ch; margin-top: 1rem; color: var(--muted); }
.support-list div { padding-block: .9rem; border-bottom: 1px solid var(--border); }
.support-list div:first-child { border-top: 1px solid var(--border); }
.support-list dt { font-weight: 700; line-height: 1.4; }
.support-list dd { margin-top: .35rem; color: var(--muted); }

.format { background: #efe7dc; padding-block: clamp(3rem, 7vw, 6rem); }
.section-intro { display: grid; grid-template-columns: 1fr minmax(240px, 34%); gap: 2rem; align-items: end; }
.section-intro p, .steps p, .agreements p, .faq p, .moderators p { color: var(--muted); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.3rem, 3vw, 3rem);
  margin-top: 2.6rem;
  list-style: none;
}
.steps li { padding-top: 1.2rem; border-top: 1px solid #cdbfb0; }
.step-time {
  display: block;
  margin-bottom: .6rem;
  color: #73422f;
  font-size: .82rem;
  font-weight: 700;
}
.steps p { margin-top: .5rem; font-size: .94rem; }
.meeting-example {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: clamp(1.15rem, 3vw, 2rem);
  border-left: 3px solid var(--clay);
  background: var(--paper);
}
.meeting-example p { max-width: 66ch; }
.meeting-example p + p { margin-top: .7rem; color: var(--muted); }

.agreements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(1.75rem, 7vw, 6rem);
  padding-block: clamp(3rem, 7vw, 6rem);
}
.agreements p { max-width: 34ch; margin-top: 1rem; }
.agreements ul { list-style: none; }
.agreements li { display: flex; gap: .9rem; padding-block: .75rem; border-bottom: 1px solid var(--border); }
.agreements li:first-child { border-top: 1px solid var(--border); }
.agreements li::before { content: "·"; color: var(--clay); font-weight: 700; }

.moderators {
  padding-block: clamp(2.4rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
}
.moderator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 1.75rem;
}
.moderators p { max-width: 37ch; margin-top: .5rem; }
.moderator-profile {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.moderator-portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}
.artem-portrait img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 190%;
}
.mikhail-portrait img { height: 100%; object-fit: cover; }
.moderator-links {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  font-size: .9rem;
}
.moderator-links a { color: var(--green); text-underline-offset: .2em; }

.first-group { padding-block: clamp(3rem, 7vw, 5.5rem); background: var(--green); color: #fbf9f3; }
.first-inner {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: clamp(1.75rem, 7vw, 6rem);
}
.first-group .eyebrow { margin-bottom: .7rem; color: #e6eddf; }
.first-group .dot { background: #e2ad95; }
.first-group p:not(.eyebrow) { margin-top: .8rem; color: #ebf0e6; }
.first-status { padding: 1.5rem; border: 1px solid #819283; border-radius: 6px; }
.first-links { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: 1.2rem; }
.first-links .text-link { margin: 0; }
.text-link { display: inline-block; margin-top: 1rem; font-weight: 600; text-underline-offset: .2em; }
.text-link:hover { text-decoration-thickness: 2px; }
.first-group a:focus-visible { outline-color: #e2ad95; }

.faq {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(1.5rem, 6vw, 4rem);
  padding-block: clamp(3rem, 7vw, 6rem);
}
.faq-list { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .95rem 0;
  list-style: none;
  font-weight: 600;
  cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 1.2rem; }
details[open] summary::after { content: "−"; }
details p { padding: 0 2rem 1rem 0; }
.footer { border-top: 1px solid var(--border); }
.footer-inner { min-height: 86px; }
.footer p { color: var(--muted); font-size: .8rem; }

@media (max-width: 980px) {
  .wrap { width: calc(100% - 4rem); }
  .hero { gap: 2rem; }
  h1 { font-size: clamp(2.5rem, 5.6vw, 4.15rem); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moderator-profile { grid-template-columns: 1fr; }
  .moderator-portrait { max-width: 320px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 2.4rem); }
  .header-inner { min-height: 67px; gap: .6rem; }
  .header nav { display: none; }
  .header-cta { gap: .55rem; }
  .hero, .support, .section-intro, .agreements, .moderator-grid, .first-inner, .faq, .meeting-example { grid-template-columns: 1fr; }
  .hero { gap: 1.5rem; padding-bottom: 1.65rem; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(2.8rem, 9.2vw, 4rem); margin-block: 1rem; }
  .lead { margin-bottom: 1.3rem; }
  .hero-figure img { aspect-ratio: 1.42; }
  .facts div { padding-left: .65rem; }
  .facts dd { font-size: .75rem; }
  .section-intro { gap: 1rem; }
  .steps { grid-template-columns: 1fr; gap: 1.15rem; margin-top: 1.5rem; }
  .footer-inner { min-height: auto; align-items: flex-start; flex-direction: column; gap: .55rem; padding-block: 1.25rem; }
}

@media (max-width: 370px) {
  .wrap { width: calc(100% - 2rem); }
  .brand { gap: .45rem; font-size: 1rem; }
  .header-cta { padding: .6rem .65rem; font-size: .8rem; }
  .facts dt { font-size: 1.12rem; }
}

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