/* etho.ai — Tom Roseberry */

:root {
  --bg: #fff;
  --ink: #000;
  --soft: #6e6e73;
  --line: #d9d9d9;
  --accent: #2b50ff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: calc(1.0625rem + 1pt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding: clamp(3rem, 12vh, 7rem) 1.25rem 4rem clamp(1.25rem, 14vw, 12rem);
}

body > * { max-width: 40rem; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

h1 { font-size: calc(1.0625rem + 1pt); font-weight: 700; margin-bottom: 1.75rem; }
h1 a:hover { text-decoration: none; }

section { border-top: 1px solid var(--line); padding: 1.5rem 0; }
section > h2 { font-size: inherit; font-weight: 700; margin-bottom: 0.6rem; }

ul { list-style: none; }

li { display: grid; grid-template-columns: 12rem 1fr; gap: 0 1rem; }
li + li { margin-top: 0.3rem; }
li span { color: var(--soft); }

@media (max-width: 34rem) {
  li { grid-template-columns: 1fr; }
  li + li { margin-top: 0.5rem; }
  li span { font-size: calc(0.92rem + 1pt); }
}

/* text pages */
h2 { font-size: calc(1.6rem + 1pt); font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; }
.text p + p { margin-top: 1em; }
.text a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 0.2em; }
.text a:hover { text-decoration-color: currentColor; }
.soft { color: var(--soft); }
