/* Redactron — shared article/site styles (paper & ink)
   Fonts: self-hosted under /fonts/ (same files as the app). These pages load
   no third-party font files (the Privacy Policy says so). Do not re-add the
   Google Fonts <link>. */

@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/fonts/newsreader-roman-latin.01817351.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader"; font-style: italic; font-weight: 400 800; font-display: swap;
  src: url("/fonts/newsreader-italic-latin.a99fb127.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/publicsans-latin.c1b6da51.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/plexmono-400-latin.c36f509c.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/fonts/plexmono-500-latin.a76f53ca.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/plexmono-600-latin.ad4580d8.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #F7F5F0;
  --paper-deep: #EFECE3;
  --card: #FFFFFF;
  --ink: #131210;
  --ink-soft: #2E2C28;
  --mute: #6F6A61;
  --line: #E3E0D6;
  --line-strong: #CFCBBF;
  --red: #B42318;
  --red-deep: #8E1B12;
  --red-soft: rgba(180, 35, 24, 0.11);
  --green: #1F7A4D;
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-card: 0 1px 1px rgba(19, 18, 16, 0.03), 0 6px 18px rgba(19, 18, 16, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--paper); }

/* header */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 900px; margin: 0 auto; padding: 1.1rem 1.5rem;
}
.logo { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); }
.logo-block { width: 1.05rem; height: 1.05rem; background: var(--ink); border-radius: 3px; display: inline-block; position: relative; }
.logo-block::after { content: ""; position: absolute; left: 22%; right: 22%; top: 42%; height: 16%; background: var(--paper); }
.logo-word { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; letter-spacing: -0.01em; }
.logo-word b { font-weight: 750; }
.head-cta {
  font-family: var(--font-body); font-weight: 600; font-size: 0.88rem;
  background: var(--ink); color: var(--paper); text-decoration: none;
  border-radius: 999px; padding: 0.55rem 1.15rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.head-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }

/* article body */
.article { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.crumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); margin-bottom: 1.4rem; }
.crumb a { color: var(--mute); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.crumb span { margin: 0 0.35em; }

.article h1 {
  font-family: var(--font-display); font-weight: 550;
  font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.12;
  letter-spacing: -0.018em; text-wrap: balance; margin-bottom: 0.9rem;
}
.byline { font-family: var(--font-mono); font-size: 11.5px; color: var(--mute); letter-spacing: 0.04em; margin-bottom: 2.2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }

.article h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.55rem; line-height: 1.2; letter-spacing: -0.01em;
  margin: 2.6rem 0 0.8rem; text-wrap: balance;
}
.article h3 {
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem;
  margin: 1.8rem 0 0.5rem;
}
.article p { color: var(--ink-soft); margin-bottom: 1rem; }
.article p strong, .article li strong { color: var(--ink); }
.article ul, .article ol { margin: 0.4rem 0 1.2rem 1.4rem; color: var(--ink-soft); }
.article li { margin-bottom: 0.5rem; }
.article li::marker { color: var(--mute); }
.article a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: text-decoration-color 0.3s var(--ease); }
.article a:hover { text-decoration-color: var(--red); }
.article blockquote {
  border-left: 3px solid var(--line-strong); padding: 0.2rem 0 0.2rem 1.2rem;
  margin: 1.2rem 0; color: var(--mute); font-style: italic;
}
.article code { font-family: var(--font-mono); font-size: 0.85em; background: var(--paper-deep); border-radius: 4px; padding: 0.1em 0.4em; }

/* tables */
.tbl-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: 0.9rem;
  background: var(--card); box-shadow: var(--shadow-card); margin: 1.4rem 0;
}
.tbl-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.92rem; }
.tbl-wrap th {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute);
  text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line-strong);
}
.tbl-wrap td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.tbl-wrap tr:last-child td { border-bottom: none; }

/* CTA card */
.cta-card {
  background: var(--ink); color: var(--paper);
  border-radius: 1.25rem; padding: 2rem 2rem 1.8rem;
  margin: 3rem 0 0; text-align: center; box-shadow: var(--shadow-card);
}
.cta-card h2 { font-family: var(--font-display); font-weight: 550; font-size: 1.6rem; margin: 0 0 0.5rem; }
.cta-card p { color: rgba(247, 245, 240, 0.8); margin-bottom: 1.2rem; max-width: 46ch; margin-inline: auto; }
.cta-btn {
  display: inline-block; background: var(--paper); color: var(--ink);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border-radius: 999px; padding: 0.85rem 1.8rem;
  transition: transform 0.4s var(--ease);
}
.cta-btn:hover { transform: translateY(-2px); }
.cta-fine { font-family: var(--font-mono); font-size: 10.5px; color: rgba(247, 245, 240, 0.55); margin: 0.9rem 0 0; letter-spacing: 0.04em; }

/* footer */
.site-foot {
  border-top: 1px solid var(--line);
  max-width: 900px; margin: 0 auto; padding: 2.2rem 1.5rem 3rem;
}
.foot-tag { font-family: var(--font-display); font-style: italic; color: var(--ink-soft); margin-bottom: 1rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-bottom: 1.2rem; }
.foot-links a { font-size: 0.85rem; font-weight: 500; color: var(--mute); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.fine { font-family: var(--font-mono); font-size: 10.5px; color: var(--mute); letter-spacing: 0.03em; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; margin-bottom: 0.9rem; font-size: 0.8rem; color: var(--mute); }
.foot-legal a { color: var(--mute); text-decoration: none; }
.foot-legal a:hover { color: var(--ink); text-decoration: underline; }

/* legal pages (privacy, terms, refunds) */
.legal-summary { background: var(--card); border: 1px solid var(--line); border-radius: 0.9rem; padding: 1.1rem 1.3rem; margin: 0 0 2rem; box-shadow: var(--shadow-card); }
.legal-summary p:last-child, .legal-summary ul:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .article { padding-top: 1.2rem; }
}
