:root {
  --bg: #181411;
  --bg-2: #13100d;
  --surface: #27211b;
  --amber: #f27f0d;
  --amber-soft: #f9a64e;
  --cream: #f7efe2;
  --cream-dim: #cfc4b2;
  --olive: #7c8a55;
  --line: rgba(247, 239, 226, 0.1);
  --line-strong: rgba(247, 239, 226, 0.18);
  --app-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--app-font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 1;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.035;
  pointer-events: none;
}

.page-hero {
  position: relative;
  padding: 140px clamp(20px, 5vw, 64px) 72px;
  background:
    radial-gradient(700px 400px at 80% 20%, rgba(122, 38, 50, 0.14), transparent 60%),
    radial-gradient(500px 400px at 10% 80%, rgba(242, 127, 13, 0.1), transparent 62%),
    var(--bg);
}

.page-hero-inner,
.doc-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 7px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  color: var(--amber-soft);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 10px var(--olive);
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.page-hero .meta {
  color: var(--cream-dim);
  font-size: 14px;
}

.page-hero .meta a,
.doc-section a {
  color: var(--amber);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.page-hero .meta a:hover,
.doc-section a:hover { text-decoration: underline; }

.doc-wrap {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 5vw, 64px) 100px;
}

.doc-intro {
  margin-bottom: 56px;
  padding: 24px 28px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  background: var(--surface);
  color: var(--cream-dim);
  font-size: 15px;
  line-height: 1.65;
}

.doc-section { margin-bottom: 52px; }
.doc-section:last-child { margin-bottom: 0; }

.sec-num {
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.doc-section h2 {
  margin-bottom: 18px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.1;
}

.doc-section p {
  margin-bottom: 14px;
  color: var(--cream-dim);
  font-size: 15.5px;
  line-height: 1.75;
}

.doc-section p:last-child { margin-bottom: 0; }

.doc-section strong {
  color: var(--cream);
  font-weight: 600;
}

.doc-section ol,
.doc-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}

.doc-section ol { padding-left: 22px; }

.doc-section ul {
  list-style: none;
}

.doc-section ol li,
.doc-section ul li {
  color: var(--cream-dim);
  font-size: 15.5px;
  line-height: 1.65;
}

.doc-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.doc-section li::before {
  width: 6px;
  height: 6px;
  flex: none;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.doc-divider {
  height: 1px;
  margin: 52px 0;
  background: var(--line);
}

.note {
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--cream-dim);
  font-size: 14px;
  line-height: 1.65;
}

.contact-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  flex-wrap: wrap;
}

.contact-block a {
  color: var(--amber);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

footer {
  padding: 64px clamp(20px, 5vw, 64px) 36px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.foot-brand .logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--cream);
  font-size: 22px;
  font-weight: 700;
}

.foot-brand .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
}

.foot-brand p {
  max-width: 280px;
  margin-top: 16px;
  color: var(--cream-dim);
  font-size: 14px;
}

.foot-title {
  margin: 0 0 18px;
  color: var(--cream-dim);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.foot-col a {
  display: block;
  margin-bottom: 11px;
  color: var(--cream);
  font-size: 14.5px;
  opacity: 0.78;
  text-decoration: none;
}

.foot-col a:hover { color: var(--amber); opacity: 1; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--cream-dim);
  font-size: 13px;
  flex-wrap: wrap;
}

.foot-bottom a { text-decoration: none; }

@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .page-hero { padding-top: 84px; }
  .foot-grid { grid-template-columns: 1fr; }
  .contact-block { padding: 22px; }
}
