/* crossd.me: pagina "in arrivo". Palette e font dell'app (DESIGN.md). */
:root {
  --paper: #E4E7E1;
  --panel: #F2F3EF;
  --ink: #1C2024;
  --slate: #5E656B;
  --line: #C9CEC6;
  --you: #226A71;
  --other: #5FA79B;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E1115;
    --panel: #161B21;
    --ink: #ECEEE9;
    --slate: #97A0A8;
    --line: #2A313A;
    --you: #4E9CA2;
    --other: #A8DCCF;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--you); outline-offset: 3px; border-radius: 4px; }

.soon {
  min-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0;
  padding: max(28px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom));
  text-align: center;
}
.brand { font-weight: 600; letter-spacing: .3em; font-size: 15px; margin-right: -.3em; color: var(--slate); }
.scope { position: relative; width: min(58vh, 78vw, 460px); aspect-ratio: 1; margin: clamp(20px, 5vh, 44px) 0 clamp(18px, 4vh, 36px); }
.scope canvas { display: block; width: 100%; height: 100%; }
.readout {
  position: absolute; left: 0; right: 0; bottom: -4px; margin: 0;
  font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums;
  transition: opacity .6s ease;
}
.readout.dim { opacity: 0; }
h1 { margin: 0; font-weight: 500; font-size: clamp(40px, 7.4vw, 96px); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.line { margin: 18px 0 0; font-size: clamp(17px, 1.6vw, 21px); color: var(--slate); }
.contact { margin: clamp(28px, 6vh, 56px) 0 0; font-size: 14px; color: var(--slate); }

@media (prefers-reduced-motion: reduce) { .readout { transition: none; } }
.nf { font-size: clamp(34px, 5vw, 60px); margin-top: 28px; }
