/* pockets.tools — shared stylesheet.
   No external requests: no web fonts, no CDN, no analytics.
   That is what lets the privacy policy say "nothing is collected" without an asterisk. */

:root {
  color-scheme: light dark;
  --bg:      #ffffff;
  --surface: #fafafa;
  --text:    #16181d;
  --muted:   #5f6672;
  --line:    #e6e8ec;
  --accent:  #1a56c4;
  --accent-soft: #eef3fd;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg:      #101215;
    --surface: #171a1f;
    --text:    #e9ebef;
    --muted:   #9aa2af;
    --line:    #262a31;
    --accent:  #7fb0ff;
    --accent-soft: #172230;
  }
}

* { box-sizing: border-box; }

body {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* ---- masthead: same on every page, so the three pages read as one site ---- */
.masthead {
  display: flex; align-items: baseline; gap: .75rem;
  padding: 1.5rem 0; margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}
.masthead .wordmark {
  font-weight: 650; letter-spacing: -.01em; color: var(--text); text-decoration: none;
}
.masthead nav { margin-left: auto; display: flex; gap: 1.25rem; }
.masthead nav a { color: var(--muted); text-decoration: none; }
.masthead nav a:hover { color: var(--text); }

/* ---- hero ---- */
.hero { padding: .5rem 0 2rem; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.15; letter-spacing: -.025em;
  margin: 0 0 1rem; font-weight: 680;
}
.hero p {
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  color: var(--muted); max-width: 34rem; margin: 0;
}

/* section headings sit on a hairline so the page reads as blocks, not a wall */
h2 {
  font-size: .8rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted);
  margin: 3.25rem 0 1.15rem; padding-bottom: .6rem;
  border-bottom: 1px solid var(--line);
}
h3 { font-size: 1rem; margin: 0 0 .4rem; letter-spacing: -.005em; }
p  { margin: 0 0 1rem; }
ul { padding-left: 1.15rem; }
li { margin-bottom: .4rem; }

/* ---- product cards ---- */
/* auto-fill + a max width so a single card does not stretch across the page */
.cards { display: grid; gap: .875rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 21rem)); }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 1.25rem 1.35rem 1.35rem;
}
.card p { color: var(--muted); font-size: .93rem; margin: 0 0 1rem; }
.card .meta { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin: 0; }

.pill {
  display: inline-block; font-size: .72rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .22rem .55rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.pill.neutral { background: transparent; color: var(--muted); border: 1px solid var(--line); }

/* ---- principles ---- */
.principles { display: grid; gap: 2rem 1.75rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.principles .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; margin-bottom: .85rem;
  border-radius: 9px; background: var(--accent-soft); color: var(--accent);
}
.principles p { color: var(--muted); font-size: .91rem; margin: 0; }

/* ---- legal pages ---- */
.updated { color: var(--muted); font-size: .875rem; margin: 0 0 2rem; }
.note { color: var(--muted); font-size: .875rem; }

table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
th, td {
  text-align: left; padding: .6rem .55rem;
  border-bottom: 1px solid var(--line); vertical-align: top; font-size: .93rem;
}
th { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
code { font-size: .875em; background: var(--surface); border: 1px solid var(--line); padding: .08em .35em; border-radius: 4px; }

/* wide tables must scroll inside themselves, never the page */
.scroll { overflow-x: auto; }

footer {
  margin-top: 4rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .875rem; color: var(--muted);
}
footer a { color: var(--muted); }
