:root {
  --bg: #ffffff; --sunk: #f7f5f0; --ink: #16181b; --muted: #5f646b; --line: #e6e2d8;
  --gold: #b8862b; --gold2: #d9ab4a; --goldS: #fbf4e4;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-text-size-adjust: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1, h2 { font-family: Cinzel, serif; letter-spacing: .03em; }
a { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.emblem { width: 46px; height: 32px; background: url(/logo.webp) no-repeat; background-size: 101px auto; background-position: -28px -6px; }
.word { font-family: Cinzel, serif; font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 13px 20px; border-radius: 12px; font-weight: 600; text-decoration: none; font-size: 16px; }
.btn:hover { border-color: #b9bcc0; }
.btn.gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); border-color: var(--gold); color: #fff; }
.btn.sm { padding: 8px 12px; font-size: 14px; border-radius: 10px; white-space: nowrap; }

main { display: block; }
section { padding: 48px 16px; }
section > * { max-width: 960px; margin-left: auto; margin-right: auto; }
.hero { text-align: center; padding-top: 24px; }
.logo { display: block; width: min(460px, 100%); height: auto; margin: 0 auto 4px; }
.hero h1 { font-size: clamp(28px, 6vw, 44px); margin-top: 4px; }
.lede { font-size: 18px; color: var(--muted); max-width: 640px; margin: 14px auto 0; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

.band h2, .contact h2 { font-size: clamp(22px, 4.5vw, 30px); text-align: center; margin-bottom: 24px; }
.band.alt { background: var(--sunk); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); }
.steps { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 12px; max-width: 680px; }
.steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 16px 60px; color: var(--muted); }
.steps li b { color: var(--ink); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--goldS); color: var(--gold); font-weight: 700; display: grid; place-items: center; }

.contact { text-align: center; background: var(--ink); color: #fff; }
.contact p { color: #c9ccd0; }
.contact .btn:not(.gold) { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.note { font-size: 14px; margin-top: 16px; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 20px 16px calc(20px + var(--safe-b)); font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.foot a { color: var(--muted); }

.doc { max-width: 720px; margin: 0 auto; padding: 32px 16px 48px; }
.doc h1 { font-size: 30px; }
.doc h2 { font-size: 19px; margin: 28px 0 6px; font-family: Inter, sans-serif; letter-spacing: 0; }
.doc p { color: #33373c; }
.psub { color: var(--muted); font-size: 14px; }

@media (max-width: 720px) {
  .grid3 { grid-template-columns: 1fr; }
  section { padding: 36px 16px; }
  .word { font-size: 16px; }
  .ctas .btn { flex: 1 1 100%; }
}
