/* frame.css: the page frame for the small pages (the home page carries the same rules inline) */
:root {
  --bg: #030303; --fg: #ecebe6; --dim: #8a8983; --violet: #7846ff; --violet-light: #b79cff;
  --pad: clamp(16px, 2.4vw, 36px);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--fg); }
body { font: 400 14px/1.4 var(--sans); -webkit-font-smoothing: antialiased;
       background: radial-gradient(60% 55% at 50% 38%, rgba(120, 70, 255, .10), rgba(120, 70, 255, 0) 70%), var(--bg); }
.ui { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto;
      padding: calc(var(--pad) + env(safe-area-inset-top, 0px)) max(var(--pad), env(safe-area-inset-right, 0px))
               calc(var(--pad) + env(safe-area-inset-bottom, 0px)) max(var(--pad), env(safe-area-inset-left, 0px)); }
.top { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16.5px; }
nav li { display: flex; }
nav a { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--fg); text-decoration: none;
        display: inline-flex; gap: 12px; padding-block: 8px; margin-block: -8px; }
nav a .n { color: var(--dim); transition: color .35s ease; }
nav a .t { line-height: 1.25; text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 1px;
           text-underline-offset: 4px; transition: text-decoration-color .35s ease; }
nav a[aria-current="page"] .n { color: var(--violet-light); }
nav a[aria-current="page"] .t { text-decoration-color: var(--violet); }
@media (hover: hover) { nav a:hover .n { color: var(--violet-light); } nav a:hover .t { text-decoration-color: var(--violet); } }
nav a:focus-visible .n { color: var(--violet-light); }
nav a:focus-visible .t { text-decoration-color: var(--violet); }
nav a:focus-visible, .home:focus-visible { outline: 1px solid var(--fg); outline-offset: 6px; }
.clock { font: 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
h1 { margin: 0; font: 600 clamp(48px, 9.2vw, 168px)/.84 var(--sans); letter-spacing: -.045em; overflow-wrap: anywhere; }
.side { display: grid; justify-items: end; gap: 14px; text-align: right; }
.line { margin: 0; max-width: 23ch; font: 400 15px/1.35 var(--sans); text-wrap: balance; }
.home { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); text-decoration: none; padding-block: 8px; }
@media (hover: hover) { .home:hover { color: var(--violet-light); } }
@media (max-width: 640px) {
  .bottom { flex-direction: column-reverse; align-items: start; gap: 18px; }
  .side { justify-items: start; text-align: left; }
}
@media (max-width: 380px) { .top { gap: 14px; } nav a, .clock { letter-spacing: .05em; } }
/* the legal pages: one calm column of text */
.legal .bottom { display: block; }
.legal h1 { font-size: clamp(40px, 6vw, 96px); margin: 12vh 0 36px; }
.legal .text { max-width: 62ch; font: 400 15px/1.6 var(--sans); color: var(--fg); }
.legal .text h2 { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin: 34px 0 10px; }
.legal .text p { margin: 0 0 12px; }
.legal .text a { color: var(--fg); text-decoration-color: var(--violet); text-underline-offset: 3px; }
.legal .text address { font-style: normal; }
.legal .home { display: inline-block; margin-top: 40px; }
/* the small legal links under the clock */
.meta { display: grid; justify-items: end; gap: 10px; }
.legal-links { display: flex; gap: 14px; }
.legal-links a { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); text-decoration: none; padding-block: 6px; }
@media (hover: hover) { .legal-links a:hover { color: var(--violet-light); } }
.legal-links a:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
