/* atori.tech start page. Same palette as the MoneroBox guide's cypherpunk
   theme (docs/stylesheets/cypherpunk.css). System fonts only: the
   Content-Security-Policy allows no web fonts or third-party files. */

:root {
  --bg:      #07090a;
  --surface: #0c1110;
  --line:    #1d3a2c;
  --text:    #b8f5c8;
  --muted:   #6fa585;
  --green:   #39ff88;
  --orange:  #ff7a1a;
  --magenta: #ff3df2;
  --mono: ui-monospace, "JetBrains Mono", "Fira Code", "Cascadia Code",
          "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--mono);
}

.wrap {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 16px;
}

a { color: var(--green); }
a:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }

header.wrap { padding-top: clamp(3rem, 12vh, 7rem); padding-bottom: 2.5rem; }

.prompt { margin: 0 0 .75rem; color: var(--muted); font-size: .9rem; }
.prompt b { color: var(--green); font-weight: 400; }

.cursor {
  display: inline-block;
  width: .6em;
  height: 1.1em;
  vertical-align: -.2em;
  background: var(--green);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 9vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--green);
  text-shadow: 0 0 18px rgba(57, 255, 136, .35);
}
h1 .tld { color: var(--orange); text-shadow: 0 0 18px rgba(255, 122, 26, .3); }

.lede { max-width: 40rem; margin: 1rem 0 0; }

.quote {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--magenta);
  color: var(--magenta);
  font-size: .9rem;
}
.quote blockquote,
.quote p { margin: 0; }
.quote figcaption { margin-top: .3rem; color: var(--muted); }

main.wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
  padding-bottom: 3rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover,
.card:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 0 28px rgba(57, 255, 136, .14);
}
.card .path { color: var(--orange); font-size: .85rem; }
.card h2 { margin: 0; color: var(--green); font-size: 1.35rem; }
.card p { margin: 0; font-size: .95rem; }
.card .go { margin-top: auto; padding-top: .5rem; color: var(--green); font-size: .9rem; }
.card:hover .go { text-decoration: underline; }

/* Text pages (/node/): one narrower column, centred, for header, content and footer */
.narrow .wrap { max-width: 50rem; }
main.wrap.doc { display: block; }
.doc h2 { margin: 2.5rem 0 .75rem; color: var(--green); font-size: 1.2rem; }
.doc h2::before { content: "## "; color: var(--muted); }
.doc h3 { margin: 1.5rem 0 .4rem; font-size: 1rem; }
.doc p { margin: 0 0 .9rem; }
.doc strong { color: var(--green); font-weight: 700; }

code { font-family: var(--mono); color: var(--green); font-size: .92em; }
pre {
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  /* One-line commands: wrap visually instead of scrolling sideways (copying still gives one line) */
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: .85rem;
  line-height: 1.5;
}
pre code { color: var(--text); font-size: inherit; }

.addr { display: grid; gap: .75rem; margin-bottom: 1rem; }
.addr-row {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 6px;
}
.addr-row .label { color: var(--orange); font-size: .85rem; }
.addr-row code { font-size: 1.05rem; overflow-wrap: anywhere; user-select: all; }
.note { color: var(--muted); font-size: .9rem; }

footer {
  margin-top: auto;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}
footer p { margin: .25rem 0; }
footer a { overflow-wrap: anywhere; }
