/* Venomia – one stylesheet, no external fonts or scripts. */
:root {
  /* Same palette as the CryptStorage web UI: dark, green accent. */
  --bg: #0a0a0f;
  --surface: #12121a;
  --text: #e8e8f0;
  --muted: #8a8aa2;
  --line: #1e1e2e;
  --accent: #00e5a0;
  --accent-ink: #04130d;
  --accent-soft: #0b2a20;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 10px;
  --max: 68rem;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .55rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.brand svg { width: 28px; height: 28px; color: var(--accent); }
.nav { display: flex; gap: 1.1rem; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.lang { font-size: .9rem; border: 1px solid var(--line); border-radius: 999px; padding: .1rem .65rem; }

/* Sections */
.hero { padding: 4.5rem 0 3.5rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.15; margin: 0 0 1rem; max-width: 20ch; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; margin: 0 0 1.75rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--accent); margin: 0 0 .75rem; }
section { padding: 2.5rem 0; }
section h2 { font-size: 1.6rem; margin: 0 0 1rem; }
.muted { color: var(--muted); }

.btn { display: inline-block; padding: .65rem 1.15rem; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.btn.secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.card h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.card.product { border-color: var(--accent); }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: .1rem .55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-bottom: .6rem; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.steps li { counter-increment: step; position: relative; padding: .9rem 1rem .9rem 3.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; left: 1rem; top: .9rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; text-align: center; line-height: 1.6rem; font-size: .9rem; }

.note { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: .9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; padding: 2rem 0; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; gap: 1rem 2rem; flex-wrap: wrap; justify-content: space-between; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { box-shadow: 0 0 0 1px var(--accent); }

/* Placeholder text still to be written; remove the class when filled in. */
.todo { background: #ffb020; color: #1a1200; border-radius: 4px; padding: 0 .2em; }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.timeline li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline .when { color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline p { margin: .25rem 0 0; color: var(--muted); }
@media (max-width: 34rem) { .timeline li { grid-template-columns: 1fr; gap: .2rem; } }

/* Monospace details, as in the CryptStorage web UI. */
.eyebrow, .badge, .timeline .when, .lang { font-family: var(--mono); }
.brand svg rect { fill: var(--accent); }
.brand svg path { stroke: var(--accent-ink); }
.btn:hover { box-shadow: 0 0 12px rgba(0, 229, 160, .35); }

.status { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .25rem .75rem; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); font-size: .9rem; font-weight: 600; }
.status .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.grid-wide { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }

/* Screenshots of the product */
.shots { display: grid; gap: 1.25rem; grid-template-columns: 2fr 1fr; align-items: start; }
.shots figure { margin: 0; }
.shots img { display: block; border: 1px solid var(--line); border-radius: var(--radius); }
.shots figcaption { margin-top: .5rem; color: var(--muted); font-size: .92rem; }
@media (max-width: 48rem) { .shots { grid-template-columns: 1fr; } .shots figure:last-child { max-width: 24rem; } }
