/* Self-hosted fonts (latin subset). Variable fonts cover the whole weight range in one file. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/bricolage-grotesque.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/instrument-sans.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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/ibm-plex-mono-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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/ibm-plex-mono-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* Self-hosted fonts (latin subset). Variable fonts cover the whole weight range in one file. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/bricolage-grotesque.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/instrument-sans.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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/ibm-plex-mono-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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/ibm-plex-mono-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Layout: one visual language for every indicator. Hero over a drawn candlestick chart, a filterable catalogue of identical cards, a slide-over guide panel per card, then trust, follow and FAQ. Free and premium differ only by their label. */
:root {
  --bg: #f2f4f7; --fg: #0d1520; --muted: #566272; --line: #d3d9e1; --surface: #ffffff;
  --accent: #1f56d6; --accent-fg: #ffffff; --accent-soft: rgba(31,86,214,.10);
  --panel: rgba(255,255,255,.82); --shade: rgba(13,21,32,.45);
  --premium: #0a8a5c; --premium-2: #19b37c; --premium-soft: rgba(10,138,92,.10); --premium-fg: #ffffff;
  --f-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #090d13; --fg: #e8edf4; --muted: #8b97a8; --line: #1d2633; --surface: #0e1520;
    --accent: #7db4ff; --accent-fg: #07101d; --accent-soft: rgba(125,180,255,.12);
    --panel: rgba(14,20,30,.82); --shade: rgba(3,6,10,.6);
    --premium: #3ecf8e; --premium-2: #8af0c4; --premium-soft: rgba(62,207,142,.13); --premium-fg: #05261a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #090d13; --fg: #e8edf4; --muted: #8b97a8; --line: #1d2633; --surface: #0e1520;
  --accent: #7db4ff; --accent-fg: #07101d; --accent-soft: rgba(125,180,255,.12);
  --panel: rgba(14,20,30,.82); --shade: rgba(3,6,10,.6);
    --premium: #3ecf8e; --premium-2: #8af0c4; --premium-soft: rgba(62,207,142,.13); --premium-fg: #05261a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; transition: background-color .35s ease, color .35s ease; }
body.locked { overflow: hidden; }
.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -.03em; line-height: 1.02; margin: 0; text-wrap: balance; }
.eyebrow { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 20; background: var(--panel); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.mark { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 700; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.mark svg { width: 26px; height: 26px; }
nav { display: flex; align-items: center; gap: 6px; }
nav a.nl { padding: 8px 12px; text-decoration: none; font-size: .95rem; color: var(--muted); border-radius: 6px; transition: color .2s; }
nav a.nl:hover { color: var(--fg); }
.follow-sm { padding: 10px 16px; border-radius: 8px; background: var(--fg); color: var(--bg); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; transition: transform .2s; }
.follow-sm:hover { transform: translateY(-1px); }
.toggle { width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--fg); transition: border-color .2s, transform .2s; }
.toggle:hover { border-color: var(--accent); transform: rotate(18deg); }
.toggle svg { width: 18px; height: 18px; } .toggle .sun { display: none; }
:root[data-theme="dark"] .toggle .sun { display: block; } :root[data-theme="dark"] .toggle .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .toggle .sun { display: block; } :root:not([data-theme="light"]) .toggle .moon { display: none; } }
.bar.scrolled { box-shadow: 0 8px 30px -18px rgba(0,0,0,.35); }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.glow { position: absolute; width: 46rem; height: 46rem; right: -14rem; top: -10rem; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, var(--accent-soft), transparent 65%); filter: blur(10px); }
#chart { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 75% 75% at 18% 48%, var(--bg) 30%, transparent 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(64px, 12vw, 140px) clamp(48px, 8vw, 96px); }
.hero h1 { font-size: clamp(2.9rem, 9.5vw, 7.2rem); font-weight: 700; margin-bottom: 28px; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { max-width: 36rem; color: var(--muted); font-size: clamp(1.0625rem, 2vw, 1.25rem); margin: 0 0 36px; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 24px; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; font-family: inherit; cursor: pointer; transition: transform .2s, box-shadow .25s, border-color .2s; }
.btn.primary { background: var(--accent); color: var(--accent-fg); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px var(--accent); }
.btn.ghost { border-color: var(--line); background: var(--panel); color: var(--fg); }
.btn.ghost:hover { border-color: var(--fg); }
.proof { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 52px 0 0; padding: 0; list-style: none; }
.proof li { display: flex; align-items: baseline; gap: 10px; font-family: var(--f-mono); font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.proof b { font-family: var(--f-display); font-size: 2.3rem; letter-spacing: -.03em; color: var(--fg); text-transform: none; font-weight: 700; }

/* sections */
section { padding-block: clamp(64px, 10vw, 112px); }
.head { margin-bottom: clamp(32px, 5vw, 52px); }
.head h2 { font-size: clamp(2rem, 5.5vw, 3.6rem); max-width: 16ch; margin-bottom: 16px; }
.head p { margin: 0; max-width: 38rem; color: var(--muted); text-wrap: pretty; }

/* catalogue controls */
.legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { cursor: pointer; font: inherit; font-size: .95rem; font-weight: 500; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); transition: all .2s; }
.filters button:hover { color: var(--fg); border-color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.filters .count { font-family: var(--f-mono); font-size: .75rem; margin-left: 8px; opacity: .65; }
.how { margin: 0; font-size: .92rem; color: var(--muted); max-width: 34rem; }
.how b { font-weight: 600; color: var(--fg); }
[data-hide="true"] { display: none !important; }

/* cards: one design for every indicator */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 16px; }
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-width: 0; padding: 0 28px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 24px 54px -30px var(--accent); }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 70%); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.strip { display: block; width: calc(100% + 56px); height: 76px; margin: 0 -28px 22px; }
.strip .area { fill: url(#sg); opacity: .9; }
.strip .ln { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.tier { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tier::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.tier.free { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); } .tier.free::before { background: var(--accent); }
.tier.paid { color: var(--fg); }
.new { margin-left: 8px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); }
.card .cat { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 1.7rem; }
.card .sub { display: block; margin-top: 6px; font-size: .92rem; color: var(--muted); }
.card .desc { margin: 16px 0 14px; font-size: 1rem; text-wrap: pretty; }
.card .good { margin: 0 0 22px; font-size: .94rem; color: var(--muted); text-wrap: pretty; }
.card .good b { color: var(--fg); font-weight: 600; margin-right: 4px; }
.card .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.card .row .btn { padding: 13px 18px; font-size: .94rem; flex: 1 1 auto; }
.card .meta { margin: 0 0 14px; font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.card.lead { grid-column: 1 / -1; padding: 0; flex-direction: row; background: linear-gradient(135deg, var(--accent-soft), transparent 55%), var(--surface); border-color: var(--accent); }
.card.lead .lead-body { display: flex; flex-direction: column; flex: 1 1 52%; padding: clamp(28px, 4vw, 48px); min-width: 0; }
.card.lead h3 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.card.lead .desc { font-size: 1.12rem; max-width: 34rem; }
.card.lead .row { max-width: 26rem; }
.card.lead .viz { flex: 1 1 48%; position: relative; min-height: 18rem; border-left: 1px solid var(--line); overflow: hidden; }
.card.lead .viz svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 800px) { .card.lead { flex-direction: column; } .card.lead .viz { min-height: 11rem; border-left: 0; border-top: 1px solid var(--line); order: -1; } }

/* guide panel (slide-over) */
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; width: min(38rem, 100vw); max-width: none; height: 100dvh; max-height: none; border: 0; border-left: 1px solid var(--line); background: var(--bg); color: var(--fg); transform: translateX(100%); transition: transform .38s cubic-bezier(.2,.8,.2,1); box-shadow: -30px 0 80px -30px rgba(0,0,0,.45); }
.drawer[open] { display: flex; flex-direction: column; }
.drawer.in { transform: none; }
.drawer::backdrop { background: var(--shade); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .38s; }
.drawer.in::backdrop { opacity: 1; }
.dr-head { flex: none; padding: 22px 28px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.dr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dr-close { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--fg); cursor: pointer; transition: border-color .2s, transform .2s; }
.dr-close:hover { border-color: var(--fg); transform: rotate(90deg); }
.dr-close svg { width: 16px; height: 16px; }
.dr-head h2 { font-size: clamp(2rem, 6vw, 2.8rem); margin-bottom: 8px; }
.dr-head p { margin: 0 0 18px; color: var(--muted); text-wrap: pretty; }
.tabs { display: flex; gap: 4px; margin: 0 -28px; padding: 0 28px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; cursor: pointer; font: inherit; font-size: .95rem; font-weight: 500; padding: 12px 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); transition: color .2s, border-color .2s; }
.tabs button:hover { color: var(--fg); }
.tabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--accent); }
.dr-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 28px; }
.panel[hidden] { display: none; }
.panel > .lead-p { margin: 0 0 24px; font-size: 1.1rem; line-height: 1.55; text-wrap: pretty; }
.panel h3 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.items { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.items li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: .98rem; text-wrap: pretty; }
.items li b { display: block; margin-bottom: 3px; color: var(--fg); font-family: var(--f-display); font-size: 1.08rem; font-weight: 500; letter-spacing: -.01em; }
.items.use li { position: relative; padding-left: 52px; counter-increment: step; }
.items.use { counter-reset: step; }
.items.use li::before { content: counter(step); position: absolute; left: 16px; top: 16px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-family: var(--f-mono); font-size: .75rem; font-weight: 500; }
.items.settings li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 4px 16px; }
.items.settings li b { margin: 0; font-family: var(--f-mono); font-size: .82rem; letter-spacing: 0; }
@media (max-width: 520px) { .items.settings li { grid-template-columns: 1fr; } }
.items.know li { background: transparent; border-style: dashed; }
.dr-foot { flex: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 28px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dr-foot .btn { flex: 1 1 auto; padding: 14px 18px; font-size: .95rem; }
.dr-foot .help { flex: 1 0 100%; margin: 4px 0 0; font-size: .88rem; color: var(--muted); }
.dr-foot .help a { color: var(--accent); font-weight: 600; }
@media (max-width: 640px) {
  .drawer { inset: auto 0 0 0; width: 100%; height: 92dvh; border-left: 0; border-top: 1px solid var(--line); border-radius: 20px 20px 0 0; transform: translateY(100%); }
  .dr-head, .dr-body, .dr-foot { padding-inline: 20px; } .tabs { margin: 0 -20px; padding: 0 20px; }
}

/* trust: decade timeline and pillars */
.why { background: var(--surface); border-block: 1px solid var(--line); }
.decade { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: clamp(40px, 6vw, 72px); padding-top: 30px; }
.decade .line { position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--line)); }
.decade .dot { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.decade .dot.end { left: auto; right: 0; background: var(--bg); border: 2px solid var(--accent); }
.d-item { display: flex; flex-direction: column; gap: 6px; }
.d-k { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.d-item b { font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
@media (max-width: 720px) { .decade { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: clamp(24px, 4vw, 48px); }
.pillar h3 { font-size: 1.5rem; margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--muted); text-wrap: pretty; }
.pillar .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 18px; background: var(--accent-soft); color: var(--accent); }
.pillar .ico svg { width: 22px; height: 22px; }

/* follow */
.follow .box { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding: clamp(32px, 6vw, 72px); border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(135deg, var(--accent-soft), transparent 55%), var(--surface); }
@media (max-width: 800px) { .follow .box { grid-template-columns: 1fr; } }
.follow h2 { font-size: clamp(2.1rem, 5.5vw, 3.8rem); margin-bottom: 16px; }
.follow p { margin: 0 0 24px; color: var(--muted); max-width: 32rem; text-wrap: pretty; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.perks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent); }
.perks b { display: block; font-weight: 600; }
.perks span { color: var(--muted); font-size: .95rem; }

/* faq and footer */
.faq { max-width: 48rem; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--f-mono); font-size: 1.4rem; color: var(--muted); transition: transform .25s; flex: none; }
details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
details p { margin: 0 0 22px; color: var(--muted); max-width: 40rem; text-wrap: pretty; }
footer { border-top: 1px solid var(--line); padding-block: 48px 56px; color: var(--muted); font-size: .9rem; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
footer p { margin: 0 0 10px; max-width: 42rem; }
footer .legal { font-family: var(--f-mono); font-size: .72rem; line-height: 1.7; }


/* premium uses the same components with a different accent: green instead of blue */
.card.paid, .drawer.paid, .g-hero.paid, .g-layout.paid, .g-cta.paid, .mini.paid { --accent: var(--premium); --accent-soft: var(--premium-soft); --accent-fg: var(--premium-fg); }
.card.paid .strip .area { fill: url(#sg2); }
.tier.paid { color: var(--premium); border-color: var(--premium); background: var(--premium-soft); }
.tier.paid::before { background: var(--premium); }
.card.paid .btn.primary, .drawer.paid .btn.primary, .g-cta.paid .btn.primary, .g-hero.paid .btn.primary { background: linear-gradient(135deg, var(--premium), var(--premium-2)); }

/* motion */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(18px); animation: up .8s cubic-bezier(.2,.8,.2,1) forwards; }
  .rise:nth-child(2) { animation-delay: .1s; } .rise:nth-child(3) { animation-delay: .2s; } .rise:nth-child(4) { animation-delay: .3s; } .rise:nth-child(5) { animation-delay: .4s; }
}
@keyframes up { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } .js-reveal .reveal { opacity: 1; transform: none; } }
@media (max-width: 720px) { nav a.nl { display: none; } .proof b { font-size: 2rem; } }
@media (max-width: 420px) { .follow-sm { display: none; } }
/* tools hub and home section */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 16px; }
.tcard { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; overflow: hidden; min-width: 0; }
.tcard:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 24px 54px -30px var(--accent); }
.tcard .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--accent-soft); color: var(--accent); }
.tcard .ico svg { width: 24px; height: 24px; }
.tcard h3 { font-size: 1.45rem; margin-bottom: 8px; } .tcard p { margin: 0 0 18px; color: var(--muted); font-size: .95rem; text-wrap: pretty; }
.tcard .go { margin-top: auto; font-weight: 600; color: var(--accent); font-size: .92rem; }
.tcard .tag3 { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.how-it-fits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 14px; }
.how-it-fits div { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.how-it-fits b { display: block; font-family: var(--f-display); font-size: 1.3rem; margin-bottom: 6px; } .how-it-fits p { margin: 0; color: var(--muted); font-size: .95rem; }


/* guide pages: same visual language as the home page */
body.guide { background: var(--bg); }
.crumb { display: inline-block; margin-bottom: 28px; font-family: var(--f-mono); font-size: .78rem; color: var(--muted); text-decoration: none; }
.crumb:hover { color: var(--fg); }
.g-hero { position: relative; border-bottom: 1px solid var(--line); background: radial-gradient(56rem 24rem at 88% -20%, var(--accent-soft), transparent 62%), var(--bg); color: var(--fg); }
.g-hero .wrap { padding-block: clamp(40px, 7vw, 88px) clamp(36px, 6vw, 72px); }
.g-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.g-badges .cat { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.g-hero h1 { font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 700; margin-bottom: 20px; max-width: 16ch; }
.g-tag { max-width: 36rem; margin: 0 0 32px; color: var(--muted); font-size: clamp(1.1rem, 2.2vw, 1.35rem); text-wrap: pretty; }
.g-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 24px 0 0; font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.g-meta b { color: var(--fg); font-weight: 500; }
.g-layout { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding-block: clamp(40px, 7vw, 88px); align-items: start; }
.toc { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; }
.toc a { padding: 8px 0 8px 14px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--fg); border-color: var(--accent); }
@media (max-width: 860px) { .g-layout { grid-template-columns: 1fr; } .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; } .toc .eyebrow { width: 100%; margin: 0; } .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; } }
.g-body { max-width: 46rem; }
.g-sec { margin-bottom: clamp(44px, 7vw, 72px); }
.g-sec h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 20px; }
.lead-p { margin: 0; font-size: 1.2rem; line-height: 1.55; text-wrap: pretty; }
.g-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin: 0 0 clamp(44px, 7vw, 72px); padding: clamp(24px, 4vw, 36px); border: 1px solid var(--accent); border-radius: 18px; background: linear-gradient(135deg, var(--accent-soft), transparent 70%), var(--surface); }
.g-cta h2 { font-size: 1.8rem; margin: 0 0 6px; } .g-cta p { margin: 0; color: var(--muted); max-width: 26rem; }
.minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 12px; }
.mini { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .25s; }
.mini:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 18px 44px -28px var(--accent); }
.mini b { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: -.02em; } .mini span:last-child { color: var(--muted); font-size: .92rem; }
.legal { font-family: var(--f-mono); font-size: .72rem; line-height: 1.7; color: var(--muted); }
.g-cta .ask { margin-top: 10px; font-size: .92rem; } .g-cta .ask a { color: var(--accent); font-weight: 600; }

/* tools: calculators, landing-page content and the tools hub */
:root { --good: #0a8a5c; --bad: #d03a3a; --warn: #b7791f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --good: #3ecf8e; --bad: #ff7070; --warn: #f5b942; } }
:root[data-theme="dark"] { --good: #3ecf8e; --bad: #ff7070; --warn: #f5b942; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-family: var(--f-mono); font-size: .76rem; color: var(--muted); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--fg); } .crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.t-hero { border-bottom: 1px solid var(--line); background: radial-gradient(52rem 20rem at 90% -30%, var(--accent-soft), transparent 62%), var(--bg); }
.t-hero .wrap { padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.t-hero h1 { font-size: clamp(2.2rem, 6.4vw, 4.6rem); font-weight: 700; max-width: 18ch; margin-bottom: 18px; }
.t-lede { max-width: 44rem; margin: 0 0 18px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.22rem); text-wrap: pretty; }
.t-badges { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.t-badges li { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); }

.t-app { padding-block: clamp(24px, 4vw, 44px) 0; }
.t-grid { display: grid; grid-template-columns: minmax(17rem, 22rem) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 920px) { .t-grid { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 22px; }
.t-inputs { position: sticky; top: 76px; }
@media (max-width: 920px) { .t-inputs { position: static; } }
.panel h2, .panel h3.ph { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 500; line-height: 1.2; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.presets button, .btn-s { font: inherit; font-size: .82rem; font-weight: 500; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); cursor: pointer; transition: border-color .2s, background .2s; }
.presets button:hover, .btn-s:hover { border-color: var(--accent); }
.presets button.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.field { margin: 0 0 16px; }
.field label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field .inp { position: relative; }
.field input[type="number"], .field select { width: 100%; font: inherit; font-family: var(--f-mono); font-size: 1rem; padding: 11px 44px 11px 12px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s, box-shadow .2s; -moz-appearance: textfield; appearance: textfield; }
.field select { padding-right: 12px; appearance: auto; }
.field input[type="number"]::-webkit-outer-spin-button, .field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.bad input[type="number"] { border-color: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 18%, transparent); }
.field .unit { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: .82rem; color: var(--muted); pointer-events: none; }
.field .pre { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); color: var(--muted); pointer-events: none; }
.field.has-pre input[type="number"] { padding-left: 26px; }
.field input[type="range"] { --fill: 50%; width: 100%; height: 22px; margin: 6px 0 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.field input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--fill), var(--line) var(--fill)); }
.field input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
.field input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent); }
.field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .15s; }
.field input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.field input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.18); }
.field .help { margin: 6px 0 0; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 8px 6px; border-radius: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .2s; }
.seg input:checked + span { background: var(--accent); color: var(--accent-fg); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .88rem; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.t-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.t-actions .btn-s { flex: 1 1 auto; text-align: center; }
.t-note { margin: 14px 0 0; font-size: .76rem; color: var(--muted); line-height: 1.45; }

.t-results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.t-results > * { min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 12px; }
.kpi { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); min-width: 0; }
.kpi .k { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.kpi .v { font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin: 0; overflow-wrap: anywhere; transition: color .25s; }
.kpi .s { margin: 6px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.kpi.feat { grid-column: 1 / -1; background: linear-gradient(135deg, var(--accent-soft), transparent 65%), var(--surface); border-color: var(--accent); }
.kpi.feat .v { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.kpi.good .v { color: var(--good); } .kpi.bad .v { color: var(--bad); } .kpi.warn .v { color: var(--warn); }
.verdict { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--muted); border-radius: 12px; background: var(--surface); font-size: .96rem; text-wrap: pretty; }
.verdict b { display: block; font-family: var(--f-display); font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: 2px; }
.verdict p { margin: 0; color: var(--muted); }
.verdict.good { border-left-color: var(--good); } .verdict.bad { border-left-color: var(--bad); } .verdict.warn { border-left-color: var(--warn); }
.verdict.good b { color: var(--good); } .verdict.bad b { color: var(--bad); } .verdict.warn b { color: var(--warn); }
.chart-card { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 18px 18px 14px; min-width: 0; }
.chart-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.chart-head h3 { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -.02em; margin: 0; line-height: 1.2; }
.tabs2 { display: flex; flex-wrap: wrap; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.tabs2 button { font: inherit; font-size: .8rem; font-weight: 600; padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.tabs2 button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.cwrap { position: relative; width: 100%; min-width: 0; }
.chart-card canvas { display: block; }
.chart-card [role="tabpanel"][hidden] { display: none; }
.legend2 { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .78rem; color: var(--muted); }
.legend2 i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.chart-cap { margin: 8px 0 0; font-size: .82rem; color: var(--muted); text-wrap: pretty; }
.tip { position: absolute; z-index: 5; pointer-events: none; min-width: 9rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 12px 30px -10px rgba(0,0,0,.35); font-size: .78rem; line-height: 1.5; }
.tip b { display: block; margin-bottom: 4px; font-family: var(--f-display); font-size: .92rem; }
.tip .r { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); } .tip .r i { font-style: normal; font-family: var(--f-mono); color: var(--fg); }
.tip .dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--accent); text-decoration: none; }
table.st { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.st th, table.st td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
table.st th:first-child, table.st td:first-child { text-align: left; }
table.st th { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
table.st tr.me td { background: var(--accent-soft); font-weight: 600; }
.tbl-wrap { overflow-x: auto; }

/* position size price ladder */
.ladder { position: relative; height: 92px; margin: 10px 4px 6px; }
.ladder .bar-l, .ladder .bar-g { position: absolute; top: 38px; height: 14px; border-radius: 7px; }
.ladder .bar-l { background: var(--bad); opacity: .85; } .ladder .bar-g { background: var(--good); opacity: .85; }
.ladder .pin { position: absolute; top: 28px; width: 2px; height: 34px; background: var(--fg); }
.ladder .tag { position: absolute; transform: translateX(-50%); text-align: center; font-size: .72rem; line-height: 1.3; white-space: nowrap; }
.ladder .tag b { display: block; font-family: var(--f-mono); font-size: .8rem; }
.ladder .tag.top { top: 0; } .ladder .tag.bot { top: 66px; }
.ladder .amt-l { color: var(--bad); } .ladder .amt-g { color: var(--good); }
.gauge { height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--good), var(--warn) 55%, var(--bad)); position: relative; margin: 14px 0 6px; }
.gauge i { position: absolute; top: -5px; width: 4px; height: 20px; border-radius: 2px; background: var(--fg); box-shadow: 0 0 0 3px var(--surface); transition: left .35s cubic-bezier(.2,.8,.2,1); }

/* landing page content */
.t-content { padding-block: clamp(48px, 7vw, 88px) 0; }
.t-content .cols { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .t-content .cols { grid-template-columns: 1fr; } }
.t-toc { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; }
.t-toc a { padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; font-size: .93rem; } .t-toc a:hover { color: var(--fg); border-color: var(--accent); }
@media (max-width: 860px) { .t-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; } .t-toc .eyebrow { width: 100%; margin: 0; } .t-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; } }
.prose { max-width: 46rem; min-width: 0; }
.prose section { padding: 0; margin: 0 0 clamp(40px, 6vw, 64px); }
.prose h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 18px; max-width: 22ch; }
.prose h3 { font-size: 1.3rem; margin: 28px 0 10px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--muted); text-wrap: pretty; } .prose p { margin: 0 0 14px; } .prose strong { color: var(--fg); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 16px; display: grid; gap: 8px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.formula { margin: 16px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-family: var(--f-mono); font-size: .92rem; line-height: 1.7; color: var(--fg); overflow-x: auto; }
.formula small { display: block; margin-top: 6px; color: var(--muted); font-family: var(--f-body); font-size: .82rem; line-height: 1.45; }
.example { margin: 18px 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.example h3 { margin: 0 0 10px; font-size: 1.2rem; }
.example p { margin: 0 0 10px; }
.example .res { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 10px; margin: 14px 0; }
.example .res div { padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.example .res b { display: block; font-family: var(--f-display); font-size: 1.3rem; color: var(--fg); letter-spacing: -.02em; }
.example .res span { font-size: .74rem; color: var(--muted); }
.example .btn-s { margin-top: 4px; border-color: var(--accent); color: var(--accent); }
.t-faq details { border-bottom: 1px solid var(--line); } .t-faq summary { font-size: 1.12rem; padding: 18px 0; }
.t-faq details p { margin: 0 0 18px; }
.bridge2 { margin: 0 0 clamp(40px, 6vw, 64px); padding: clamp(22px, 4vw, 36px); border: 1px solid var(--accent); border-radius: 20px; background: linear-gradient(135deg, var(--accent-soft), transparent 65%), var(--surface); }
.bridge2 h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); max-width: 24ch; margin-bottom: 12px; }
.bridge2 > p { color: var(--muted); margin: 0 0 18px; max-width: 38rem; }
.minis2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); gap: 12px; margin-bottom: 18px; }
.mini2 { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); text-decoration: none; transition: transform .2s, border-color .2s; }
.mini2:hover { transform: translateY(-3px); border-color: var(--accent); }
.mini2 b { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -.02em; } .mini2 span:last-child { color: var(--muted); font-size: .88rem; }
.mini2.paid .tier { color: var(--premium); border-color: var(--premium); background: var(--premium-soft); } .mini2.paid .tier::before { background: var(--premium); }
.relgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 12px; }
.author { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.author .av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-fg); font-family: var(--f-display); font-weight: 700; }
.author p { margin: 0; font-size: .92rem; }
.upd { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); margin: 18px 0 0; }

/* tools hub and home section */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 16px; }
.tcard { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; overflow: hidden; min-width: 0; }
.tcard:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 24px 54px -30px var(--accent); }
.tcard .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--accent-soft); color: var(--accent); }
.tcard .ico svg { width: 24px; height: 24px; }
.tcard h3 { font-size: 1.45rem; margin-bottom: 8px; } .tcard p { margin: 0 0 18px; color: var(--muted); font-size: .95rem; text-wrap: pretty; }
.tcard .go { margin-top: auto; font-weight: 600; color: var(--accent); font-size: .92rem; }
.tcard .tag3 { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.how-it-fits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 14px; }
.how-it-fits div { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.how-it-fits b { display: block; font-family: var(--f-display); font-size: 1.3rem; margin-bottom: 6px; } .how-it-fits p { margin: 0; color: var(--muted); font-size: .95rem; }

/* footer used on tool pages */
.sitefoot { border-top: 1px solid var(--line); padding-block: 48px 56px; color: var(--muted); font-size: .9rem; margin-top: clamp(56px, 8vw, 96px); }
.fgrid { display: grid; grid-template-columns: 2fr 1.4fr 1.4fr; gap: 28px 40px; }
@media (max-width: 760px) { .fgrid { grid-template-columns: 1fr; } }
.fcol { display: flex; flex-direction: column; gap: 8px; } .fcol b { color: var(--fg); font-family: var(--f-display); font-size: 1.05rem; margin-bottom: 4px; } .fcol a { text-decoration: none; } .fcol a:hover { color: var(--fg); }
.sitefoot p { margin: 0 0 10px; max-width: 42rem; } .sitefoot .legal { font-family: var(--f-mono); font-size: .72rem; line-height: 1.7; }
.hubguide { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hubguide a { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--fg); text-decoration: none; font-weight: 500; transition: border-color .2s, transform .2s; }
.hubguide a:hover { border-color: var(--accent); transform: translateX(4px); }
