/* Obsedian Systems site. One visual world: black, silver and gold from the logo and invoices.
   Layout idea: a dark page with a slim header, wide-gutter sections, cards on a grid, gold used only for marks and actions. */
:root {
  --ink: #0B0B0D;
  --panel: #151518;
  --panel-2: #1c1c20;
  --line: #2a2a30;
  --gold: #DBA742;
  --gold-deep: #7A5C1C;
  --silver: #c9c9ce;
  --text: #ecebe8;
  --muted: #9a9aa0;
  --paper: #F6F4F0;
  --ok: #5fb37a;
  --test: #DBA742;
  --soon: #8a8a92;
  --display: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--ink); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.label { font-family: var(--display); font-size: 0.74rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 14px; }
.label::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.lede { color: var(--silver); font-size: 1.15rem; max-width: 62ch; }
.muted { color: var(--muted); }

/* header */
.site-head { border-bottom: 1px solid var(--line); background: rgba(11,11,13,0.94); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(6px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; flex-wrap: wrap; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { color: var(--silver); font-family: var(--display); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 12px; border-radius: 6px; }
.nav a:hover { color: var(--text); text-decoration: none; background: var(--panel); }
.nav a[aria-current="page"] { color: var(--gold); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; display: grid; gap: 22px; }
.ring { position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%; border: 38px solid #1a1a1e; border-right-color: transparent; transform: rotate(-30deg); pointer-events: none; }
.ring::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 0; height: 0; border-left: 34px solid transparent; border-right: 34px solid transparent; border-bottom: 56px solid var(--gold-deep); transform: translateX(-50%) rotate(30deg); opacity: 0.55; }
.hero h1 { max-width: 20ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; padding: 13px 20px; border-radius: 8px; border: 1px solid var(--gold); color: var(--ink); background: var(--gold); cursor: pointer; }
.btn:hover { text-decoration: none; background: #e7b955; }
.btn.small { padding: 8px 14px; font-size: 0.74rem; }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: rgba(219,167,66,0.1); }

/* sections */
section.band { padding: 64px 0; border-bottom: 1px solid var(--line); }
section.band .head { display: grid; gap: 12px; margin-bottom: 32px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.card p { color: var(--silver); font-size: 0.97rem; }
.card ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.93rem; display: grid; gap: 4px; }
.card .top { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
.pill { font-family: var(--display); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.pill.live { color: var(--ok); }
.pill.testing { color: var(--test); }
.pill.coming { color: var(--soon); }

/* call block */
.call { background: linear-gradient(135deg, #17171a 0%, #101012 100%); border: 1px solid var(--gold-deep); border-radius: 14px; padding: 30px; display: grid; gap: 18px; }
.lines { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.line { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 4px; }
.line .num { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.line .num:hover { color: var(--gold); text-decoration: none; }
.line small { color: var(--muted); font-size: 0.9rem; }

/* steps */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.step { border-left: 2px solid var(--gold-deep); padding: 4px 0 4px 18px; display: grid; gap: 6px; }
.step b { font-family: var(--display); color: var(--gold); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; }
.step p { color: var(--silver); font-size: 0.97rem; }

/* updates */
.updates { display: grid; gap: 0; border-top: 1px solid var(--line); }
.update { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.update time { color: var(--gold); font-family: var(--display); font-size: 0.82rem; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.update p { color: var(--silver); }

/* legend */
.legend { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; align-items: center; }

/* form */
form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
label { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--silver); }
input, textarea, select { font: inherit; color: var(--text); background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%; }
textarea { min-height: 130px; resize: vertical; }
.form-note, .form-hint { color: var(--muted); font-size: 0.9rem; }

/* footer */
.site-foot { padding: 40px 0 48px; color: var(--muted); font-size: 0.92rem; }
.site-foot .wrap { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-foot h3 { font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-foot a { color: var(--silver); }
.version { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; font-size: 0.82rem; }

@media (max-width: 560px) {
  .brand img { height: 38px; }
  .site-head { position: static; }
  .update { grid-template-columns: 1fr; gap: 2px; }
  .ring { width: 340px; height: 340px; right: -160px; top: -120px; border-width: 26px; }
  .hero { padding: 48px 0 44px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Privacy and Terms pages */
.prose { padding: 48px 24px 64px; max-width: 760px; }
.prose h1 { margin-bottom: 8px; }
.prose h2 { margin: 28px 0 8px; font-size: 1.15rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.site-foot .version a { color: inherit; text-decoration: underline; }

/* English / Spanish toggle in the header (the other language's name) */
.nav a.lang { border: 1px solid var(--line); text-transform: none; letter-spacing: 0.02em; font-size: 0.86rem; color: var(--silver); }
.nav a.lang:hover { border-color: var(--gold-deep); color: var(--text); }
/* contact form (v0.2.0): hidden trap field, field errors */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-error { display: block; font-size: .9em; }
[aria-invalid="true"] { outline: 2px solid currentColor; outline-offset: 1px; }
