:root {
  --ink: #100d09;
  --panel: #17120d;
  --bone: #eee2ca;
  --muted: #aaa08f;
  --brass: #d8ad55;
  --ember: #b84d2d;
  --line: rgba(216, 173, 85, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bone);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  min-height: 72px;
  padding: 12px max(20px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 13, 9, 0.94);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 800 13px/1 Georgia, serif; letter-spacing: .14em; }
.site-brand img { width: 38px; height: 38px; border-radius: 9px; }
nav { display: flex; gap: 26px; }
nav a { color: #c8bda8; font-size: 13px; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: #fff; }

.hero {
  min-height: 610px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 40%, rgba(184, 77, 45, .18), transparent 25%),
    radial-gradient(circle at 78% 40%, transparent 0 20%, rgba(216, 173, 85, .13) 20.2% 20.6%, transparent 20.8% 31%, rgba(216, 173, 85, .08) 31.2% 31.5%, transparent 31.7%),
    linear-gradient(118deg, #090807 0%, #18120b 62%, #25170e 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(216,173,85,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(216,173,85,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
}
.hero-orbit { position: absolute; width: 420px; height: 420px; right: max(30px, calc((100vw - 1120px) / 2)); border: 1px solid rgba(216,173,85,.28); border-radius: 50%; box-shadow: 0 0 90px rgba(184,77,45,.14), inset 0 0 70px rgba(216,173,85,.08); }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; inset: 48px; border: 1px dashed rgba(216,173,85,.24); border-radius: 50%; transform: rotate(22deg); }
.hero-orbit::after { inset: 132px; background: rgba(216,173,85,.06); border-style: solid; }
.hero-content { position: relative; z-index: 2; padding: 80px 0; }
.brand-mark { width: 70px; height: 70px; border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.35); margin-bottom: 26px; }
.eyebrow { color: var(--brass); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 800; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
.hero h1 { margin: 14px 0 20px; max-width: 760px; font-size: clamp(48px, 7vw, 88px); line-height: .95; letter-spacing: -.035em; text-transform: uppercase; }
.hero h1 span { color: var(--brass); }
.hero-copy { color: #c5baa5; max-width: 610px; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { min-height: 50px; padding: 0 20px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; text-transform: uppercase; letter-spacing: .09em; font-size: 11px; font-weight: 900; }
.button-primary { background: var(--brass); color: #171109; }
.button-primary:hover { background: #ecc66e; }
.button-secondary { border: 1px solid rgba(216,173,85,.36); color: #eee4cf; }
.button-secondary:hover { border-color: var(--brass); background: rgba(216,173,85,.06); }
.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-block: 52px 90px; background: var(--line); border: 1px solid var(--line); }
.route-card { background: #15110d; padding: 34px; display: grid; grid-template-columns: 50px 1fr auto; align-items: start; gap: 20px; text-decoration: none; transition: .2s; }
.route-card:hover { background: #1d160f; }
.route-number { color: var(--brass); font: 700 12px Georgia, serif; }
.route-card h2 { margin: 0 0 9px; text-transform: uppercase; font-size: 21px; }
.route-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.arrow { color: var(--brass); font-size: 22px; }

.document-page { min-height: calc(100vh - 72px); background: linear-gradient(90deg, #0e0c09 0 28%, #15110d 28%); padding: 72px 0 110px; }
.document-shell { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 72px; justify-content: center; }
.document-index { position: sticky; top: 118px; align-self: start; display: flex; flex-direction: column; gap: 15px; padding-top: 12px; }
.document-index p { color: var(--brass); text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 800; margin: 0 0 8px; }
.document-index a { text-decoration: none; color: #8f877a; font-size: 13px; }
.document-index a:hover { color: #fff; }
.document h1, .narrow-shell > h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.05; text-transform: uppercase; margin: 15px 0 22px; }
.lead { font-size: 19px; color: #c7bca7; line-height: 1.7; margin: 0 0 54px; }
.document section { scroll-margin-top: 110px; padding: 30px 0 34px; border-top: 1px solid var(--line); }
.document h2, .narrow-shell h2 { font-size: 22px; text-transform: uppercase; letter-spacing: .025em; margin: 0 0 16px; color: #f4e8ce; }
.document h3 { margin: 24px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .11em; color: var(--brass); }
.document p, .data-scope p, .method-block p, .method-block li, .small-print { color: var(--muted); line-height: 1.75; font-size: 15px; }
.document p { margin: 0; }
.document a, .small-print a { color: #e0b85d; }
.deletion-page { background: radial-gradient(circle at 90% 10%, rgba(184,77,45,.13), transparent 28%), var(--ink); }
.narrow-shell { max-width: 820px; }
.method-block { display: grid; grid-template-columns: 58px 1fr; gap: 26px; padding: 34px 0; border-top: 1px solid var(--line); }
.method-icon { width: 52px; height: 52px; display: grid; place-items: center; background: rgba(216,173,85,.08); color: var(--brass); border: 1px solid rgba(216,173,85,.24); font-size: 25px; }
.step-label { margin: 0 0 4px !important; color: var(--brass) !important; font-size: 10px !important; text-transform: uppercase; letter-spacing: .15em; font-weight: 900; }
.method-block h2 { margin-bottom: 12px; }
.method-block ol { padding-left: 21px; margin: 0; }
.method-block li { padding-left: 6px; margin: 5px 0; }
.external-method { margin-bottom: 24px; }
.delete-link { margin-top: 18px; }
.data-scope { padding: 38px; background: #0d0b09; border: 1px solid var(--line); }
.data-scope ul { list-style: none; padding: 0; margin: 0 0 20px; }
.data-scope li { display: flex; gap: 12px; color: #d6cab4; margin: 13px 0; line-height: 1.45; }
.check { color: var(--brass); font-weight: 900; }
.small-print { font-size: 12px; margin-top: 28px; }
footer { border-top: 1px solid var(--line); color: #80786c; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.footer-row { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }

@media (max-width: 760px) {
  nav { gap: 14px; }
  .site-brand span { display: none; }
  .hero { min-height: 570px; }
  .hero-orbit { right: -220px; opacity: .55; }
  .hero h1 { font-size: 50px; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { padding: 25px; grid-template-columns: 35px 1fr auto; }
  .document-page { background: #15110d; padding-top: 46px; }
  .document-shell { display: block; }
  .document-index { display: none; }
  .method-block { grid-template-columns: 1fr; }
  .footer-row { align-items: flex-start; flex-direction: column; justify-content: center; }
  .data-scope { padding: 25px; }
  .lead { font-size: 17px; }
}
