:root {
  --paper: #f7f3ed;
  --paper-2: #eee8e0;
  --ink: #2c2425;
  --muted: #6d6263;
  --coffee: #4c2725;
  --coffee-deep: #351918;
  --sage: #7f8762;
  --sage-soft: #b4b79b;
  --white: #fffdfa;
  --line: rgba(53, 45, 49, .13);
  --shadow: 0 22px 70px rgba(67, 49, 58, .12);
  --radius-lg: 34px;
  --radius-md: 22px;
  --shell: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: var(--shell); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0,0,0,.05);
  background: rgba(247, 243, 237, .9);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -.02em;
  font-size: 19px;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 12px rgba(53,25,24,.13);
}
.nav-links { display: flex; gap: 27px; }
.nav-links a {
  text-decoration: none;
  font-size: 13.5px;
  color: var(--muted);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--ink); }

.button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  background: var(--coffee);
  color: white;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(76, 39, 37, .15);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(76,39,37,.22); }
.button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(127,135,98,.45);
  outline-offset: 3px;
}
.button-small { min-height: 42px; padding: 0 18px; font-size: 13px; }
.button-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.button-light { background: var(--white); color: var(--coffee-deep); }

.hero { padding: 80px 0 60px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 64px;
}
.eyebrow, .kicker {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
  color: var(--sage);
}
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }

.hero h1 {
  margin: 0;
  max-width: 790px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 500;
}
.hero h1 span { color: var(--coffee); font-style: italic; font-weight: 400; }

.hero-lede {
  max-width: 680px;
  font-size: 19px;
  color: var(--muted);
  margin: 28px 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.telegram-handle {
  margin-top: 20px;
  display: inline-block;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.45);
  font-size: 13px;
}
.telegram-handle strong { color: var(--coffee); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 17px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 12.5px;
}
.trust-row span::before {
  content: "✓";
  color: var(--sage);
  font-weight: 900;
  margin-right: 6px;
}

.hero-card {
  position: relative;
  min-height: 540px;
  border-radius: 44px;
  padding: 34px;
  background: linear-gradient(150deg, #efe7dc 0%, #f9f4ec 60%, #e7e2d4 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(76,39,37,.08);
}
.hero-card::before {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(127,135,98,.11);
  right: -90px;
  top: -70px;
}
.hero-logo {
  width: min(74%, 350px);
  margin: 6px auto 20px;
  display: block;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 18px 45px rgba(53,25,24,.14);
}
.hero-card-copy { position: relative; }
.hero-card-text {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 3.2vw, 43px);
  line-height: 1.13;
  letter-spacing: -.03em;
  color: var(--coffee-deep);
}
.hero-card-divider {
  width: 54px;
  height: 1px;
  background: var(--sage);
  margin: 24px 0 18px;
}
.hero-card-note { margin: 0; color: var(--muted); font-size: 14px; }

.proof { padding: 14px 0 58px; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-item {
  border-top: 1px solid var(--line);
  padding: 24px 8px 0 0;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
}
.icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--sage);
  font-weight: 800;
}
.proof-item h2 { font-size: 15px; margin: 0 0 6px; }
.proof-item p { font-size: 13.5px; line-height: 1.58; color: var(--muted); margin: 0; }

.section { padding: 105px 0; }
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-heading.left { text-align: left; margin: 0; }
.section-heading .kicker { margin: 0 0 10px; }
.section-heading h2, .boundary-copy h2, .cta-inner h2, .why-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 59px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 0 0 18px;
}
.section-heading > p:not(.kicker), .boundary-copy p, .why-card p { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  min-height: 260px;
}
.step-number { color: var(--sage); font-weight: 800; font-size: 13px; letter-spacing: .12em; }
.step-card h3 { margin: 50px 0 8px; font-size: 21px; }
.step-card p { margin: 0; color: var(--muted); font-size: 15px; }

.tint { background: var(--paper-2); }
.topic-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 74px;
  align-items: center;
}
.topic-list {
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: var(--radius-lg);
  padding: 12px 30px;
}
.topic-list div {
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}
.topic-list div:last-child { border-bottom: 0; }

.why-section { padding-top: 90px; }
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 55px;
  align-items: stretch;
}
.why-card {
  border-radius: var(--radius-lg);
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--line);
}
.why-card .kicker { margin: 0 0 10px; }
.quote-card {
  margin: 0;
  border-radius: var(--radius-lg);
  background: var(--coffee-deep);
  color: white;
  padding: 48px;
  display: flex;
  align-items: flex-end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.5vw, 43px);
  line-height: 1.15;
  letter-spacing: -.025em;
  box-shadow: var(--shadow);
}

.boundaries {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 78px;
  align-items: start;
}
.boundary-copy .kicker { margin: 0 0 10px; }
.boundary-copy p { max-width: 660px; }
.boundary-card {
  border-radius: var(--radius-lg);
  background: var(--coffee);
  color: white;
  padding: 40px;
  box-shadow: var(--shadow);
}
.boundary-card h3 {
  margin-top: 0;
  font-family: Georgia,serif;
  font-size: 28px;
  font-weight: 500;
}
.boundary-card ul { margin: 20px 0 0; padding: 0; list-style: none; }
.boundary-card li {
  padding: 11px 0 11px 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  position: relative;
  color: rgba(255,255,255,.87);
}
.boundary-card li::before { content: "✓"; position: absolute; left: 2px; color: #d8d9c7; }

.faq-section { padding-top: 90px; }
.faq-wrap { display: grid; grid-template-columns: .64fr 1.36fr; gap: 80px; }
.faq-list details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  font-weight: 750;
  list-style: none;
  position: relative;
  padding-right: 38px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  top: -5px;
  font-size: 26px;
  font-weight: 400;
  color: var(--sage);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { color: var(--muted); max-width: 780px; margin: 12px 0 2px; }

.cta-band { background: var(--coffee); color: white; padding: 74px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner .kicker { color: #d8d9c7; margin: 0 0 10px; }
.cta-inner h2 { margin-bottom: 7px; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.78); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cta-small { font-size: 12px; color: rgba(255,255,255,.65); }

.site-footer { padding: 56px 0 28px; background: #261918; color: white; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-brand .brand-logo { box-shadow: none; }
.footer-note { color: rgba(255,255,255,.6); max-width: 440px; font-size: 13px; }
.footer-telegram { color: rgba(255,255,255,.6); font-size: 13px; margin-bottom: 0; }
.footer-telegram a { color: white; text-decoration: none; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.footer-links a { color: rgba(255,255,255,.74); text-decoration: none; font-size: 13px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 54px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.42);
  font-size: 12px;
}

.legal-page { min-height: 72vh; padding: 90px 0; }
.legal-content { max-width: 820px; }
.legal-content h1 {
  font-family: Georgia,serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -.04em;
  margin: 0 0 12px;
}
.legal-content h2 { margin: 38px 0 9px; font-size: 22px; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { padding-left: 20px; }
.legal-meta { font-size: 13px; color: var(--sage); font-weight: 700; }

@media (max-width: 950px) {
  :root { --shell: min(100% - 30px, 760px); }
  .nav-links { display: none; }
  .hero { padding-top: 58px; }
  .hero-grid, .topic-layout, .boundaries, .faq-wrap, .why-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-card { min-height: 500px; }
  .proof-grid, .steps { grid-template-columns: 1fr; }
  .proof-item { padding-right: 0; }
  .section { padding: 84px 0; }
  .section-heading.left { max-width: 720px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .cta-actions { align-items: flex-start; }
}

@media (max-width: 560px) {
  .site-header .button-small { display: none; }
  .nav-wrap { min-height: 66px; }
  .brand { font-size: 17px; }
  .brand-logo { width: 38px; height: 38px; }
  .hero h1 { font-size: 52px; }
  .hero-lede { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-card { padding: 28px; border-radius: 30px; min-height: 455px; }
  .hero-logo { width: 84%; }
  .trust-row { gap: 10px 14px; }
  .step-card { min-height: 220px; }
  .boundary-card, .why-card, .quote-card { padding: 30px; }
  .topic-list { padding: 8px 22px; }
  .topic-list div { font-size: 18px; }
  .footer-grid, .footer-bottom { flex-direction: column; }
  .footer-bottom { gap: 8px; }
}
