/* Atoosa LLC. Plain CSS, system monospace fonts only, mobile-first. Styled as a terminal session. */
:root {
  --bg: #000;
  --text: #e6e6e6;
  --dim: #8a8f98;
  --green: #5fd38d;
  --cyan: #5ac8fa;
  --magenta: #c792ea;
  --font: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;
  --gutter: 1.25rem;
  --max: 50rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: .9rem/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font: inherit; margin: 0; }
p { margin: 0; }
a { color: var(--cyan); text-underline-offset: .2em; }
a:hover { color: #fff; }
::selection { background: var(--cyan); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.skip { position: absolute; left: var(--gutter); top: -4rem; background: var(--cyan); color: var(--bg); padding: .5rem 1rem; font-weight: 700; z-index: 30; }
.skip:focus { top: .75rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: 0; padding-inline: var(--gutter); }

/* Header */
.nav .wrap, .topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem 0; }
.brand { flex: none; display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; text-decoration: none; }
.brand img { width: 1.75rem; height: 1.75rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .9rem; }
.nav li a { color: var(--dim); text-decoration: none; font-size: .8rem; }
.nav li a:hover { color: var(--cyan); }

/* Terminal blocks */
main { padding-top: 2rem; }
.intro h1 { color: #fff; font-weight: 700; }
.intro .lede { color: var(--dim); margin-top: .25rem; max-width: 42rem; }

.section { margin-top: 2rem; }
.section h2 { color: var(--cyan); font-weight: 700; margin-bottom: .35rem; }
.section h2::before { content: "\279C"; color: var(--green); margin-right: .7ch; }

/* Prompt-style link */
.btn { display: inline-block; margin-top: 1.25rem; color: var(--cyan); text-decoration: none; }
.btn::before { content: "\279C"; color: var(--green); margin-right: .7ch; }
.btn:hover { color: #fff; text-decoration: underline; }

/* Output lines */
.services { margin: 0; }
.services div { margin-bottom: .6rem; }
.services dt { color: var(--text); font-weight: 700; }
.services dt::before { content: "\2713"; color: var(--green); margin-right: .7ch; }
.services dd { margin: 0; padding-left: 2.2ch; color: var(--dim); }
.steps { counter-reset: step; }
.steps dt::before { counter-increment: step; content: "[" counter(step) "/4]"; color: var(--magenta); margin-right: .7ch; }
.steps dd { padding-left: 6.3ch; }

.closing h2 { color: var(--text); font-weight: 400; margin-bottom: 0; }
.closing h2::before { content: none; }
.closing .addr { margin-top: .25rem; }

/* Email address is drawn by CSS so it is not in the page HTML */
.mail::after { content: "hi" "\40" "atoosa.dev"; }

/* Final prompt with a cursor */
.cursor { margin-top: 2rem; }
.cursor::before { content: "\279C"; color: var(--green); margin-right: .7ch; }
.cursor::after { content: "\2588"; color: var(--text); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Footer */
.footer { color: var(--dim); font-size: .8rem; padding-block: 2rem 2.5rem; }
.footer a { color: var(--dim); }
.footer a:hover { color: var(--cyan); }
.footer p { margin-bottom: .5rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.5rem; }

/* Legal pages */
.doc { padding-block: 2rem 4rem; max-width: 46rem; }
.doc h1 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.doc h1::before { content: "\279C"; color: var(--green); margin-right: .7ch; }
.doc h2 { color: var(--cyan); font-weight: 700; margin: 1.75rem 0 .35rem; }
.doc p, .doc li { margin-bottom: .6rem; }
.draft { display: inline-block; color: var(--magenta); margin-bottom: 1rem; }
.draft::before { content: "["; }
.draft::after { content: "]"; }

@media (min-width: 48rem) {
  :root { --gutter: 2rem; }
  body { font-size: .95rem; }
  main { padding-top: 3rem; }
  .section { margin-top: 2.5rem; }
  .nav .wrap, .topbar .wrap { justify-content: flex-start; gap: 2.5rem; }
  .nav ul { gap: 1.5rem; }
  .nav li a { font-size: .9rem; }
  .footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
  .footer p, .footer ul { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor::after { animation: none; }
}
