@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-500-cyrillic.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-600-cyrillic.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-600-i-cyrillic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("/fonts/golos-text-400-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("/fonts/golos-text-600-cyrillic.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f2eb;
  --paper: #faf8f3;
  --ink: #161614;
  --muted: #5b5850;
  --subtle: #7c786e;
  --rule: #ddd7ca;
  --accent: #b54d2b;
  --dark: #161614;
  --dark-ink: #f5f2eb;
  --dark-muted: #b8b3a8;
  --dark-rule: #2e2d29;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Golos Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
header.site-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(245, 242, 235, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  transform: translateY(-2px);
}
nav.top-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}
nav.top-nav a { transition: color 0.15s ease; }
nav.top-nav a:hover { color: var(--ink); }

/* Hero */
.hero {
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--rule);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}
.hero p.lead {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 520px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--subtle);
}
.hero-meta strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Interactive live editor mock (signature visual piece) */
.editor-stage {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 22px 24px 24px;
  box-shadow: 0 20px 50px rgba(22, 22, 20, 0.06);
}
.editor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  color: var(--subtle);
}
.editor-dots {
  display: flex;
  gap: 6px;
}
.editor-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rule);
}
.editor-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.editor-preview-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 8px;
  padding: 4px 6px;
  border-radius: 6px;
  outline: none;
  transition: background 0.15s ease;
}
.editor-preview-title:hover,
.editor-preview-title:focus {
  background: rgba(181, 77, 43, 0.08);
}
.editor-preview-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 18px;
  padding: 4px 6px;
  border-radius: 6px;
  outline: none;
}
.editor-preview-sub:hover,
.editor-preview-sub:focus {
  background: rgba(181, 77, 43, 0.08);
}
.editor-rows {
  border-top: 1px solid var(--rule);
}
.editor-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 6px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.editor-row span[contenteditable] {
  padding: 2px 6px;
  border-radius: 5px;
  outline: none;
}
.editor-row span[contenteditable]:hover,
.editor-row span[contenteditable]:focus {
  background: rgba(181, 77, 43, 0.09);
}
.editor-foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--subtle);
}
.editor-save {
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.editor-save:hover { background: var(--accent); }

/* Services index (no boxed cards, editorial rules) */
section.services {
  padding: 80px 0;
}
.sec-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 44px;
}
.sec-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.sec-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 480px;
}

.service-list {
  border-top: 1px solid var(--ink);
}
.service-row {
  display: grid;
  grid-template-columns: 72px 1fr 1.35fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.s-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}
.s-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.s-desc {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* Dark contrast band — Process & Guarantees */
section.principles {
  background: var(--dark);
  color: var(--dark-ink);
  padding: 84px 0;
}
.principles .eyebrow { color: #e07a57; }
.principles h2 {
  margin: 0 0 44px;
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 600;
  line-height: 1.06;
  max-width: 680px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  border-top: 1px solid var(--dark-rule);
  padding-top: 32px;
}
.step-k {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e07a57;
  margin-bottom: 10px;
}
.step h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
}
.step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--dark-muted);
}

/* Legal subpages */
.doc-body {
  padding: 56px 0 80px;
  max-width: 740px;
}
.doc-body h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 600;
  line-height: 1.08;
}
.doc-meta {
  color: var(--subtle);
  font-size: 14px;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.doc-body h2 {
  margin: 30px 0 10px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}
.doc-body p, .doc-body li {
  font-size: 15.5px;
  color: #2c2b27;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--rule);
  padding: 30px 0 42px;
  font-size: 13.5px;
  color: var(--subtle);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; }
  .service-row { grid-template-columns: 44px 1fr; gap: 8px 16px; }
  .s-desc { grid-column: 2; }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .header-inner { flex-wrap: wrap; padding: 12px 0; min-height: auto; gap: 8px 14px; }
  .brand { font-size: 20px; white-space: nowrap; }
  nav.top-nav { gap: 14px; font-size: 13px; white-space: nowrap; }
  .editor-stage { padding: 18px; }
  .editor-bar { flex-wrap: wrap; gap: 6px; }
}
