/* Harrox client pages, in the updated Harrox look (web/tokens.css and the access page on main):
   the warm brown ground, parchment words, slate cards with no borders, the ember accent, 12px
   buttons that press in, and the moon mark. One calm column, made for phones. */
:root {
  --parchment: #EFE3C8; --label2: rgba(239, 227, 200, .72); --label3: rgba(239, 227, 200, .4);
  --accent: #E0915A; --on-accent: #1E1612; --accent-text: #F7E4D6; --accent-glyph: #E9B28C;
  --tint: color-mix(in srgb, #E0915A 18%, rgba(15, 17, 22, .4));
  --surface: rgba(26, 30, 40, .82); --raised: rgba(52, 58, 72, .9); --fill: rgba(15, 17, 22, .2);
  --sep: rgba(255, 255, 255, .1); --glass-edge: rgba(255, 255, 255, .14);
  --bad: #E5867A;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --press: transform 160ms cubic-bezier(.2, .8, .2, 1), background-color 160ms ease-out;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #171310; }
body { margin: 0; min-height: 100vh; background: linear-gradient(160deg, #25201C, #171310) fixed;
  color: var(--parchment); font: 17px/1.4 var(--font); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* top: the mark, then whose page this is */
.bar { display: flex; align-items: center; gap: 10px; padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 12px; }
.hxmark { width: 30px; height: 30px; flex: none; }
.name { font-weight: 700; font-size: 17px; letter-spacing: -.01em; line-height: 1.15; }
.sub { font-size: 13px; color: var(--label2); }
.dot { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }

main { max-width: 480px; margin: 0 auto; padding: 18px 16px 44px; }
h1 { font-size: 34px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 6px 0 8px; }
.lead { color: var(--label2); margin: 0 0 22px; font-size: 15px; }
h2 { font-size: 13px; font-weight: 600; color: var(--label2); margin: 28px 4px 8px; }

/* buttons: ember primary, slate secondary; both press in */
.btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px;
  padding: 0 18px; border: none; border-radius: 12px; background: var(--raised); color: var(--parchment);
  font: inherit; font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; transition: var(--press); }
.btn.gold { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 18px -6px var(--accent); }
.btn.big { min-height: 54px; }
.btn:active { transform: scale(.97); }
.btn.gold:active { filter: brightness(.92); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* the code screen */
.lock { text-align: center; padding-top: 10px; }
.lock h1 { font-size: 28px; }
.pins { display: flex; gap: 10px; justify-content: center; margin: 8px 0 8px; }
.pin { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--label3); transition: background-color 120ms; }
.pin.f { background: var(--accent); box-shadow: none; }
.err { min-height: 22px; color: var(--bad); font-size: 15px; margin-bottom: 10px; }
.keys { display: grid; grid-template-columns: repeat(3, 76px); gap: 14px 22px; justify-content: center; margin-bottom: 22px; }
.key { height: 76px; border-radius: 50%; background: var(--surface); border: none; font: inherit; font-size: 28px; font-weight: 400;
  color: var(--parchment); cursor: pointer; transition: var(--press); font-variant-numeric: tabular-nums; }
.key:active { transform: scale(.92); background: var(--raised); }
.key.ghost { background: none; font-size: 15px; color: var(--label2); }
.remember { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--label2); margin-bottom: 14px; }
.remember input { width: 20px; height: 20px; accent-color: var(--accent); }
.small { font-size: 15px; color: var(--label2); }
.link { color: var(--accent-text); text-decoration: none; background: none; border: none; font: inherit; font-weight: 600; cursor: pointer; padding: 0; }

/* the page: opaque slate cards, no borders */
video { width: 100%; border-radius: 20px; background: #000; display: block; }
.step, .news, .card { background: var(--surface); border-radius: 20px; }
.step { padding: 16px; margin-bottom: 10px; }
.step .top { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; }
.num { width: 29px; height: 29px; border-radius: 7px; background: var(--tint); color: var(--accent-glyph); display: grid; place-items: center;
  font-size: 15px; font-weight: 700; flex: none; }
.step p { margin: 6px 0 14px 41px; font-size: 15px; color: var(--label2); }
.step .btn { width: calc(100% - 41px); margin-left: 41px; }
.step ol { margin: 14px 0 0 41px; padding-left: 18px; font-size: 15px; line-height: 1.5; }
.step li { margin-bottom: 6px; }
.news { padding: 0 16px; }
.news .it { padding: 14px 0; border-bottom: 1px solid var(--sep); font-size: 17px; }
.news .it:last-child { border-bottom: none; }
.news .d { color: var(--label2); font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.pill { display: inline-block; font-size: 13px; font-weight: 500; color: var(--accent-text); background: var(--tint); border-radius: 999px;
  padding: 2px 9px; margin-left: 6px; vertical-align: 1px; }
.card { padding: 16px; margin-bottom: 10px; }
.card .t { font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 10px; }
.card .t span { color: var(--accent-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.card p { margin: 6px 0 14px; font-size: 15px; color: var(--label2); }
.two { display: flex; gap: 10px; }
.thanks { font-size: 17px; font-weight: 600; }
.foot { text-align: center; margin-top: 24px; }

@media (prefers-reduced-motion: reduce) { .btn, .key { transition: none; } .btn:active, .key:active { transform: none; } }
