/* Matches bluehour.vip: Inter on near-black, JetBrains Mono uppercase labels, hairline white/10 rules. */
:root {
  --bg: #050507; --fg: #f5f5f4; --muted: #8a8a93; --faint: rgba(245,245,244,.4);
  --line: rgba(255,255,255,.10); --line-soft: rgba(255,255,255,.08);
  --accent: #85a1ff; --accent-deep: #153498;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { font-size: 16px; line-height: 1.625; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 720px; margin: 0 auto; padding-block: 28px 0; }

header { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding-bottom: 22px; border-bottom: 0.5px solid var(--line); }
.brand { font-weight: 700; letter-spacing: -0.04em; font-size: 22px; line-height: 1; color: var(--fg); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 14px 22px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
nav a { color: var(--fg); opacity: .55; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: opacity .25s ease, background-size .35s cubic-bezier(.2,.7,.1,1); }
nav a:hover, nav a:focus-visible, nav a[aria-current] { opacity: 1; background-size: 100% 1px; outline: none; }

.eyebrow { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
h1 { font-weight: 300; letter-spacing: -0.04em; font-size: clamp(40px, 8vw, 64px); line-height: .95; margin: 0 0 14px; text-wrap: balance; }
h2 { font-weight: 500; letter-spacing: -0.025em; font-size: 22px; line-height: 1.2; margin: 44px 0 8px; text-wrap: balance; }
h2 span { color: var(--faint); margin-right: 10px; font-weight: 300; }
h3 { font-weight: 500; font-size: 15px; margin: 22px 0 4px; }
section { padding-top: 64px; margin-top: 64px; border-top: 0.5px solid var(--line); scroll-margin-top: 24px; }
section:first-of-type { border-top: 0; margin-top: 0; padding-top: 72px; }
p, li { color: rgba(245,245,244,.85); max-width: 65ch; }
p { margin: 8px 0; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
ul, ol { padding-left: 1.2em; display: grid; gap: 8px; margin: 8px 0 0; }
li::marker { color: var(--faint); }
b { font-weight: 500; color: var(--fg); }
.rules { list-style: none; padding: 0; counter-reset: rule; display: grid; gap: 18px; }
.rules li { padding-left: 44px; position: relative; }
.rules li::before { counter-increment: rule; content: counter(rule, lower-roman) "."; position: absolute; left: 0; top: .15em; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.zero { margin-top: 28px; padding: 18px 20px; border: 0.5px solid var(--line); border-radius: 16px; }
.contact { display: inline-block; margin: 10px 0 6px; padding: 12px 22px; border-radius: 999px; background: #f5f5f4; color: #050507; font-weight: 500; font-size: 15px; letter-spacing: -0.01em; text-decoration: none; user-select: all; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 10px 30px rgba(21,52,152,.25); }
.contact:hover { background: #fff; }
.caps { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
table { border-collapse: collapse; width: 100%; font-size: 14px; margin-top: 10px; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 0.5px solid var(--line-soft); vertical-align: top; }
th { font-family: var(--mono); font-weight: 500; color: var(--muted); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
.scroll { overflow-x: auto; }
a { color: var(--fg); text-decoration-color: rgba(245,245,244,.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--fg); }

footer { margin-top: 96px; padding: 28px 0 40px; border-top: 0.5px solid var(--line); display: grid; grid-template-columns: minmax(0,1.25fr) repeat(2, minmax(0,1fr)); gap: 24px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; line-height: 1.75; }
footer strong { display: block; font-weight: 500; }
footer .dim { opacity: .45; }
footer h4 { margin: 0; font: inherit; opacity: .4; font-weight: 500; }
footer ul { list-style: none; margin: 0; padding: 0; display: block; }
footer a { color: inherit; text-decoration: none; opacity: .78; background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: opacity .25s ease, background-size .35s cubic-bezier(.2,.7,.1,1); }
footer a:hover { opacity: 1; background-size: 100% 1px; }
.mark { margin: 0 calc(-1 * max(20px, env(safe-area-inset-left, 0px))) 0 calc(-1 * max(20px, env(safe-area-inset-right, 0px))); overflow: hidden; }
.mark div { font-weight: 700; letter-spacing: -0.04em; line-height: .82; font-size: min(19svh, 25vw); text-align: center; opacity: .95; white-space: nowrap; transform: translateY(.1em); }
@media (max-width: 720px) { footer { grid-template-columns: 1fr 1fr; row-gap: 18px; } footer .brandcol { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
