:root {
  --ink: #14181f;
  --ink-soft: #3a424f;
  --muted: #6b7380;
  --line: #e3e0d9;
  --paper: #fbfaf7;
  --panel: #f3f1ec;
  --night: #121821;
  --night-soft: #1c2430;
  --ember: #b4532a;
  --ember-soft: #d9895f;
  --max: 1120px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ember); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: 0.01em; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ember); }

/* Hero */
.hero { background: var(--night); color: #eef0f3; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -180px; top: -120px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(180, 83, 42, 0.32) 0%, rgba(180, 83, 42, 0) 65%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-top: 112px; padding-bottom: 112px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember-soft); margin: 0 0 20px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.1; margin: 0 0 28px; max-width: 22ch; letter-spacing: -0.01em; }
.hero p.lead { font-size: 19px; color: #c5cad3; max-width: 60ch; margin: 0 0 40px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.12); margin: 0; }
.hero-facts div { min-width: 140px; }
.hero-facts dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #8b93a0; }
.hero-facts dd { margin: 4px 0 0; font-size: 16px; color: #eef0f3; }

/* Sections */
section { padding: 96px 0; scroll-margin-top: 72px; }
section + section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-bottom: 56px; }
.section-head .eyebrow { color: var(--ember); margin-top: 10px; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; margin: 0 0 18px; letter-spacing: -0.005em; }
h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.3; margin: 0 0 10px; }
.section-head p { color: var(--ink-soft); margin: 0; max-width: 62ch; }
.section-head p + p { margin-top: 14px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--paper); padding: 36px 32px 40px; }
.service .num { font-family: var(--serif); color: var(--ember); font-size: 15px; margin-bottom: 18px; }
.service p { color: var(--ink-soft); margin: 0; font-size: 16px; }

/* Structure */
.structure { background: var(--panel); }
.structure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.diagram { background: var(--paper); border: 1px solid var(--line); padding: 36px 32px; }
.node { border: 1px solid var(--line); background: #fff; padding: 16px 20px; }
.node.primary { border-color: var(--ember); box-shadow: inset 3px 0 0 var(--ember); }
.node strong { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.node span { font-size: 14px; color: var(--muted); }
.link { display: flex; align-items: center; gap: 14px; padding: 10px 0 10px 22px; font-size: 13px; color: var(--muted); }
.link::before { content: ""; width: 1px; height: 30px; background: var(--ink-soft); opacity: 0.4; }
.points { list-style: none; padding: 0; margin: 0; }
.points li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.points li:first-child { padding-top: 0; }
.points-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.points-grid li:nth-child(-n+2) { padding-top: 0; }
.points strong { display: block; font-weight: 600; margin-bottom: 4px; }
.points span { color: var(--ink-soft); font-size: 16px; }

/* Scope */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.scope-col { border-top: 2px solid var(--ink); padding-top: 24px; }
.scope-col.not { border-top-color: var(--ember); }
.scope-col ul { margin: 0; padding: 0; list-style: none; }
.scope-col li { padding: 12px 0 12px 30px; position: relative; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.scope-col li::before { position: absolute; left: 0; top: 12px; font-weight: 700; }
.scope-col.do li::before { content: "✓"; color: var(--ink); }
.scope-col.not li::before { content: "—"; color: var(--ember); }

/* Corporate info */
.corp-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.corp-table th, .corp-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.corp-table th { width: 34%; font-weight: 500; color: var(--muted); padding-right: 24px; }

/* Contact */
.contact { background: var(--night); color: #eef0f3; border-top: none; }
.contact .section-head p { color: #c5cad3; }
.contact .eyebrow { color: var(--ember-soft); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.contact-grid h3 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8b93a0; margin-bottom: 10px; }
.contact-grid p { margin: 0; color: #eef0f3; }
.contact a { color: #f0b48f; }
.contact a:hover { color: #fff; }

/* Footer */
.site-footer { background: #0c1117; color: #8b93a0; font-size: 14px; padding: 40px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-footer a { color: #c5cad3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer nav { display: flex; gap: 24px; }
.disclaimer { max-width: var(--max); margin: 24px auto 0; padding: 24px 24px 0; border-top: 1px solid #1e2631; font-size: 13px; line-height: 1.6; color: #6b7380; }

/* Legal page */
.legal { padding: 80px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 44px); margin: 0 0 8px; }
.legal .updated { color: var(--muted); font-size: 15px; margin: 0 0 48px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }

@media (max-width: 900px) {
  .section-head, .structure-grid, .scope, .points-grid { grid-template-columns: 1fr; gap: 24px; }
  .points-grid { gap: 0; }
  .points-grid li:nth-child(2) { padding-top: 18px; }
  .services { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .site-header .wrap { height: 64px; }
  .hero .wrap { padding-top: 72px; padding-bottom: 72px; }
  .hero p.lead { font-size: 17px; }
  section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 28px 22px 32px; }
  .diagram { padding: 24px 18px; }
  .corp-table th, .corp-table td { display: block; width: 100%; padding: 0; border: none; }
  .corp-table th { padding-top: 16px; font-size: 14px; }
  .corp-table td { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .disclaimer { padding: 24px 16px 0; }
}
