@import url("/seo/light.css");

:root {
  color-scheme: dark;
  --bg: #09090b;
  --fg: #fafafa;
  --muted: #a1a1aa;
  --line: #27272a;
  --cyan: #22d3ee;
  --accent: #22d3ee;
  --accent-ink: #083344;
  --accent-text: #22d3ee;
  --card: rgba(24, 24, 27, 0.85);
  --good: #6ee7b7;
  --bad: #fda4af;
  --input: #18181b;
  --ghost: rgba(24, 24, 27, 0.8);
  --footer-link: #e4e4e7;
  --code-bg: #18181b;
  --code-fg: #fafafa;
  --hero-border: #27272a;
  --chart-line: #22d3ee;
  --chart-grid: #27272a;
  --chart-label: #a1a1aa;
  --chart-good: #6ee7b7;
  --chart-bad: #fda4af;
}
.accent-cyan { --accent: #22d3ee; --accent-ink: #083344; --accent-text: #22d3ee; }
.accent-mint { --accent: #6ee7b7; --accent-ink: #064e3b; --accent-text: #6ee7b7; }
.accent-amber { --accent: #fbbf24; --accent-ink: #451a03; --accent-text: #fbbf24; }
.accent-violet { --accent: #c4b5fd; --accent-ink: #2e1065; --accent-text: #c4b5fd; }
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  overflow-wrap: anywhere;
  background:
    radial-gradient(1000px 520px at 18% -10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 55%),
    var(--bg);
  color: var(--fg);
  font-family: Montserrat, system-ui, sans-serif;
}
a { color: inherit; }
.wrap {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}
/* Square icon only. The EDGE wordmark (.edge-mark) stays 32px tall in light.css. */
.brand img:not(.edge-mark) { width: 36px; height: 36px; border-radius: 10px; }
.kicker {
  margin: 1.5rem 0 0;
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.byline {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}
.byline time { color: inherit; }
h1 {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(1.9rem, 5.5vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.lead, .explain p, .example {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}
.example {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(24, 24, 27, 0.65);
  border-radius: 0 0.9rem 0.9rem 0;
}
.cta-row, .nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost {
  border-color: var(--line);
  background: var(--ghost);
  color: var(--fg);
}
.cards { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--card);
  padding: 1.05rem 1.1rem;
}
.card h2 { margin: 0 0 0.35rem; font-size: 1.05rem; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.tone {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--accent-text);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pills li + li { margin-top: 0; }
.author-bio {
  margin-top: 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
}
.prose pre,
.prose code,
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.prose code,
code {
  font-size: 0.88em;
  background: var(--code-bg);
  color: var(--code-fg);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 0.1em 0.35em;
}
.prose pre {
  overflow: auto;
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  background: var(--code-bg);
  color: var(--code-fg);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.prose pre code {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 0.86rem;
}
section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
section h2 { margin: 0 0 0.65rem; font-size: 1.1rem; font-weight: 700; }
section p, section li { margin: 0; color: var(--muted); line-height: 1.55; font-size: 0.95rem; }
.prose h2 { margin: 1.35rem 0 0.65rem; }
.prose p + p { margin-top: 0.85rem; }
.prose a { color: var(--accent-text); overflow-wrap: anywhere; }
.prose img { max-width: 100%; height: auto; border-radius: 1rem; border: 1px solid var(--line); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
.table-scroll { overflow-x: auto; max-width: 100%; margin: 1rem 0; }
.prose table { width: 100%; max-width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); text-align: left; padding: 0.45rem 0.4rem; vertical-align: top; overflow-wrap: anywhere; }
.prose th { color: var(--fg); font-size: 0.75rem; letter-spacing: 0.03em; text-transform: uppercase; }
.fact-list { display: grid; gap: 0.75rem; margin: 1rem 0; min-width: 0; }
.fact-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
  padding: 0.95rem 1rem 0.25rem;
}
.prose .fact-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--fg);
}
.prose .fact-card p {
  margin: 0 0 0.7rem;
  color: var(--fg);
  overflow-wrap: anywhere;
}
.prose .fact-card p.fact-label {
  margin: 0.15rem 0 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.calc-link { margin: 1.25rem 0 0; }
.calc-link a { color: var(--accent-text); font-weight: 700; }
.newsletter-slot { margin-top: 1.25rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 1rem; }
.newsletter-slot p { margin: 0; }
[data-post-link]:empty, [data-newsletter-mount]:empty { display: none; }
.faq h3 {
  margin: 1.15rem 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
.faq h3 + p { margin-top: 0; }
ul, ol { margin: 0.5rem 0 0; padding-left: 1.15rem; }
li + li { margin-top: 0.35rem; }
form { margin-top: 1.35rem; }
.fields { display: grid; gap: 0.75rem; }
.fields.two { grid-template-columns: 1fr 1fr; }
label.field, legend {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
fieldset { border: 0; margin: 0.9rem 0 0; padding: 0; }
input, select {
  width: 100%;
  min-height: 2.75rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: var(--input);
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0 0.8rem;
}
input:focus, select:focus, .seg input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.seg { display: flex; gap: 0.45rem; margin-top: 0.35rem; }
.seg label {
  position: relative;
  flex: 1;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fg);
}
.seg input { position: absolute; opacity: 0; }
.seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--input);
}
.seg input:checked + span {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.out { margin-top: 1rem; }
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.result {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
  padding: 0.8rem 0.9rem;
}
.result span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.result b { display: block; margin-top: 0.2rem; font-size: 1.15rem; font-weight: 800; }
.result.tone-accent b { color: var(--accent-text); }
.result.tone-good b { color: var(--good); }
.result.tone-bad b { color: var(--bad); }
.hint { margin: 0 0 0.75rem; color: var(--muted); line-height: 1.5; font-size: 0.92rem; }
.hint.warn { color: var(--bad); }
.fine { margin-top: 0.85rem; color: var(--muted); font-size: 0.85rem; line-height: 1.45; }
/* Shared SEO footer: two quiet lines of small muted text. The html body prefix
   outranks older per-page inline footer rules and light.css. */
html body footer {
  margin-top: 2.25rem;
  padding: 0.5rem 0 0.25rem;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}
html body footer a,
html.light body footer a {
  color: inherit;
  text-decoration: none;
}
html body footer a:hover,
html body footer a:focus-visible,
html.light body footer a:hover,
html.light body footer a:focus-visible {
  color: var(--accent-text);
  text-decoration: underline;
}
html body footer p { display: inline; margin: 0; }
html body footer .edge-privacy::before,
html body footer .edge-disclaimer::before,
html body footer .edge-rg::before { content: " \00b7  "; }
html body footer .owner::before,
html body footer .edge-privacy + .edge-disclaimer::before { content: ""; display: block; margin-top: 0.15rem; }
html body footer .owner { opacity: 0.85; }
html body footer .owner ~ p { opacity: 0.85; }
.owner { margin: 0; }
.shot { margin: 1.35rem 0 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--hero-border);
  border-radius: 1.25rem;
  background: var(--bg);
}
.shot figcaption {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}
@media (max-width: 560px) {
  .fields.two, .results { grid-template-columns: 1fr; }
}
