:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #10171a;
  color: #eef5ef;
  --muted: #bbc8c6;
  --accent: #a8f0ce;
  --border: #36494c;
}
* { box-sizing: border-box; }
body { margin: 0 auto; width: min(100% - 2.5rem, 68rem); }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip { position: absolute; top: .5rem; left: -100rem; }
.skip:focus { left: 1.25rem; background: #10171a; }
header, footer { padding: 1.5rem 0; }
header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--border); }
nav { display: flex; gap: clamp(.75rem, 3vw, 2rem); }
.marca, .acento, .stack { font-family: ui-monospace, monospace; }
.marca, .acento, h1 span { color: var(--accent); }
.marca, nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { padding: clamp(3rem, 9vw, 7rem) 0; }
h1 { font-size: clamp(3.75rem, 12vw, 9rem); line-height: .88; letter-spacing: -.075em; margin: .25em 0; }
.subtitulo { font-size: clamp(1.2rem, 3vw, 1.65rem); }
.boton { display: inline-block; background: var(--accent); color: #10171a; padding: .75rem 1.25rem; font-weight: 700; text-decoration: none; border-radius: .3rem; }
.boton:hover { background: #d8f9e9; color: #10171a; }
.bloque { padding: clamp(2rem, 6vw, 4rem) 0; border-top: 1px solid var(--border); }
h2 { margin: 0 0 1rem; font-size: clamp(1.55rem, 4vw, 2.25rem); }
h3 { font-size: 1.32rem; line-height: 1.3; }
p { line-height: 1.65; color: var(--muted); }
.perfil, .notas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.stack { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.stack li { border: 1px solid var(--border); padding: .4rem .6rem; border-radius: .25rem; }
.notas article { padding: 1.35rem; background: #182326; border: 1px solid var(--border); border-radius: .5rem; }
.notas article p:first-child { margin-top: 0; }
.contacto a { color: var(--accent); overflow-wrap: anywhere; }
footer { color: var(--muted); border-top: 1px solid var(--border); }
.lectura { max-width: 44rem; padding: 3rem 0; }
.lectura h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: 1; letter-spacing: -.055em; }
.lectura h2 { margin-top: 2rem; }
@media (max-width: 42rem) { .perfil, .notas { grid-template-columns: 1fr; gap: 1rem; } }
