/* Shared styles for Base 10 tool pages, matching the main site (DM Sans / Bebas Neue, accent #E88200). */
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/bebas-neue.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/dm-sans.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/dm-sans-italic.woff2') format('woff2'); }

:root {
  --accent: #E88200; --accent-hover: #cf7400; --brand-gray: #6C767F;
  --white: #1a1a1a; --text: #3a3a3a; --text-muted: #5a5a5a; --text-dim: #8a8a8a;
  --bg: #fafafa; --card-bg: #ffffff; --card-border: #e2e6ea; --divider: #e2e6ea;
  --nav-bg: rgba(250, 250, 250, 0.92); --tag-bg: rgba(108, 118, 127, 0.06);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; background: rgba(0,0,0,0.05); padding: 1px 5px; border-radius: 4px; }

nav { position: sticky; top: 0; z-index: 100; padding: 0 2rem; height: 68px; display: flex; align-items: center; justify-content: space-between; background: var(--nav-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--divider); }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 32px; width: auto; display: block; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { background: var(--accent); color: #fff !important; padding: 0.45rem 1.2rem; border-radius: 6px; font-weight: 700 !important; font-size: 0.82rem !important; transition: background 0.2s; }
.nav-cta:hover { background: var(--accent-hover); }

main { max-width: 1000px; margin: 0 auto; padding: 3.5rem 2rem 4rem; }
.label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-gray); margin-bottom: 1rem; }
h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.4rem, 6vw, 3.8rem); color: var(--white); line-height: 1.08; letter-spacing: 0.01em; }
h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--white); line-height: 1.15; margin: 2.6rem 0 0.8rem; }
h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
.lead { font-size: 1.15rem; color: var(--text); max-width: 660px; line-height: 1.7; margin-top: 1.2rem; }
p { max-width: 660px; }
.muted { color: var(--text-muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; margin-top: 2.5rem; }
.card { display: flex; flex-direction: column; padding: 1.8rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; text-decoration: none; color: inherit; position: relative; overflow: hidden; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); opacity: 0.6; pointer-events: none; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); border-color: #d4dae1; }
.card-thumb { display: block; width: calc(100% + 3.6rem); height: 168px; margin: -1.8rem -1.8rem 1.4rem; object-fit: cover; object-position: top; border-bottom: 1px solid var(--card-border); background: #f3f4f6; }
.card .tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem; }
.card p { color: var(--text); font-size: 0.97rem; margin-top: 0.3rem; }
.card-actions { margin-top: auto; padding-top: 1.1rem; display: flex; align-items: center; gap: 1.3rem; }
.card .go { color: var(--accent); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.card .go::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card .go-sub { position: relative; z-index: 1; color: var(--text-muted); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.card .go-sub:hover { color: var(--accent); }

.downloads { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.dl { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1.3rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; text-decoration: none; color: inherit; min-width: 250px; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.dl:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.05); }
.dl svg { flex: none; color: var(--white); }
.dl-main { font-weight: 700; color: var(--white); font-size: 0.98rem; display: block; }
.dl-sub { font-size: 0.78rem; color: var(--text-muted); }

.privacy { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.6rem; font-size: 0.92rem; color: var(--text-muted); max-width: 660px; }
.privacy svg { color: var(--accent); flex: none; }
.note-box { margin-top: 1.4rem; padding: 1.3rem 1.5rem; background: var(--tag-bg); border: 1px solid var(--card-border); border-radius: 10px; font-size: 0.92rem; color: var(--text-muted); max-width: 660px; }
.note-box strong { color: var(--white); }
.note-box p { margin-bottom: 0.6rem; }
.note-box p:last-child { margin-bottom: 0; }
.feature-list { margin-top: 0.8rem; columns: 2; column-gap: 2.4rem; max-width: 660px; }
.feature-list li { margin: 0 0 0.5rem 1.1rem; font-size: 0.95rem; break-inside: avoid; }

.cta-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent); color: #fff; padding: 0.75rem 1.8rem; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: background 0.2s, transform 0.15s; }
.cta-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.cta-btn svg { transition: transform 0.2s; }
.cta-btn:hover svg { transform: translateX(3px); }
.softcta { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--divider); }
.softcta p { margin-bottom: 1rem; color: var(--text); font-size: 1.05rem; }

footer { border-top: 1px solid var(--divider); padding: 2rem; max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; color: var(--text-dim); }
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--white); }

@media (max-width: 600px) { .feature-list { columns: 1; } .nav-links { gap: 1rem; } main { padding-top: 2.5rem; } }
