/* Auregild minimal static site. Tokens aligned with existing frontend
   (#060607 / #d9b46a / #f0eadb). No JS. System fonts + optional local Geist. */
:root {
  --void: #060607;
  --panel: #0f0f11;
  --bone: #f0eadb;
  --ash: #a8a190;
  --gold: #d9b46a;
  --line: #6b654f;
  --font-ui: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-brand: "Cinzel Decorative", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --t-display: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  --t-h2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --t-lede: 1.1875rem;
  --t-body: 1.0625rem;
  --t-small: 1rem;
  --t-numeral: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  --lh-tight: 1.1;
  --lh-head: 1.2;
  --lh-body: 1.65;
  --s2: .5rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.5rem;
  --s6: 4rem;
  --s7: 6.5rem;
  --w-page: 72rem;
  --w-text: 40rem;
  --pad-x: clamp(1.25rem, 4vw, 2rem);
  --hit: 3rem; /* 48px */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font: 400 var(--t-body)/var(--lh-body) var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: var(--lh-head); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--t-display); line-height: var(--lh-tight); }
h2 { font-size: var(--t-h2); }
h3 { font-size: 1.125rem; }
a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
a:hover { color: var(--bone); }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: var(--pad-x);
  top: -100px;
  background: var(--gold);
  color: var(--void);
  padding: 0.5rem 1rem;
  min-height: var(--hit);
  display: inline-flex;
  align-items: center;
  z-index: 10;
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 0.5rem; }

.wrap {
  width: min(var(--w-page), 100% - var(--pad-x) * 2);
  margin-inline: auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2) var(--s4);
  min-height: 4.5rem;
  padding-block: var(--s2);
}
.wordmark {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--hit);
}
.wordmark:hover { color: var(--bone); }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.25rem;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--hit);
  padding-inline: 0.6rem;
  color: var(--ash);
  text-decoration: none;
  font-size: var(--t-small);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }

/* Hero */
.hero {
  position: relative;
  padding: var(--s6) 0 var(--s7);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(217, 180, 106, 0.12), transparent 70%),
    radial-gradient(ellipse 40% 30% at 10% 80%, rgba(217, 180, 106, 0.05), transparent 70%);
}
.hero .wrap { position: relative; max-width: 46rem; margin-left: auto; margin-right: auto; }
.eyebrow {
  color: var(--gold);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--s3);
}
.lede {
  margin-top: var(--s4);
  font-size: var(--t-lede);
  color: var(--ash);
  max-width: var(--w-text);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4);
  margin-top: var(--s5);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--hit);
  min-width: 10rem;
  padding: 0 var(--s4);
  font: 600 var(--t-small)/1 var(--font-ui);
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--void);
  text-decoration: none;
  border-radius: 0;
}
.btn[disabled] {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--ash);
  cursor: not-allowed;
}
.price-inline .amount {
  font-size: var(--t-numeral);
  line-height: 1;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.price-inline .amount small {
  font-size: var(--t-small);
  color: var(--ash);
  font-weight: 400;
  margin-left: 0.25rem;
}
.price-inline .hint {
  color: var(--ash);
  font-size: var(--t-small);
  margin-top: 0.35rem;
}

/* Sections */
.section {
  padding: var(--s6) 0;
  border-top: 1px solid var(--line);
}
.section-kicker {
  color: var(--gold);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--s3);
}
.section .lede, .section p + p { margin-top: var(--s3); }
.section p { max-width: var(--w-text); color: var(--ash); }
.section h2 { margin-bottom: var(--s4); max-width: 22ch; }
.grid-2 {
  display: grid;
  gap: var(--s5);
}
@media (min-width: 56rem) {
  .grid-2 { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
  .grid-2 h2 { margin-bottom: 0; }
}
.list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: var(--w-text);
}
.list li {
  position: relative;
  padding: var(--s3) 0 var(--s3) 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ash);
}
.list li:last-child { border-bottom: 1px solid var(--line); }
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--gold);
}
.note {
  margin-top: var(--s4);
  color: var(--ash);
  font-size: var(--t-small);
}

.price-panel {
  display: grid;
  gap: var(--s5);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: var(--s5);
}
.price-big {
  font-size: var(--t-numeral);
  color: var(--gold);
  line-height: 1;
}
.price-big span {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--t-small);
  color: var(--ash);
}
@media (min-width: 56rem) {
  .price-panel { grid-template-columns: 16rem 1fr; align-items: start; }
}

.steps {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  padding: var(--s4) 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  color: var(--gold);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.step h3 { color: var(--bone); margin-bottom: 0.35rem; }
.step p { color: var(--ash); max-width: none; }
@media (min-width: 56rem) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .step { border-top: 0; border-bottom: 0; border-left: 1px solid var(--line); padding: 0 var(--s4); }
  .step:first-child { border-left: 0; padding-left: 0; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--s5) 0;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  gap: var(--s5);
}
@media (min-width: 48rem) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
}
.footer-brand p, .copyright {
  color: var(--ash);
  font-size: var(--t-small);
  margin-top: 0.35rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--hit);
  color: var(--ash);
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold); }
.copyright { margin-top: var(--s2); color: var(--ash); }

/* Policy pages */
.policy-page .page-main { padding: var(--s6) 0 var(--s7); }
.policy-body { max-width: var(--w-text); }
.policy-body > header { margin-bottom: var(--s5); }
.policy-body .meta {
  margin-top: var(--s3);
  color: var(--ash);
  font-size: var(--t-small);
}
.policy-body .meta + .meta { margin-top: 0.35rem; }
.policy-body h2 {
  margin-top: var(--s6);
  margin-bottom: var(--s3);
  max-width: none;
  scroll-margin-top: 1rem;
}
.policy-body h3 {
  margin-top: var(--s4);
  margin-bottom: var(--s2);
}
.policy-body p { color: var(--ash); margin-top: var(--s3); max-width: none; }
.policy-body p:first-child { margin-top: 0; }
.policy-body ul {
  margin: var(--s3) 0 0;
  padding-left: 1.25rem;
  color: var(--ash);
}
.policy-body li + li { margin-top: 0.4rem; }
.policy-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--s5) 0;
}
.table-wrap {
  margin-top: var(--s4);
  overflow-x: auto;
  border: 1px solid var(--line);
}
.policy-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-small);
}
.policy-body th, .policy-body td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ash);
}
.policy-body th {
  color: var(--bone);
  font-weight: 600;
  background: var(--panel);
}
.policy-body tr:last-child td { border-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
