:root { --ink:#172033; --muted:#5e6a7f; --brand:#0369a1; --brand-dark:#075985; --surface:#fff; --page:#f6f9fc; --line:#dce5ee; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--page); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height:1.55; }
a { color:var(--brand-dark); }
.site-header { background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:20; }
.nav-wrap { max-width:1120px; min-height:68px; margin:auto; padding:0 20px; display:flex; justify-content:space-between; align-items:center; gap:20px; }
.brand { display:flex; align-items:center; gap:9px; color:var(--ink); font-weight:800; text-decoration:none; letter-spacing:-.03em; }
.brand-mark { width:31px; height:31px; display:grid; place-items:center; background:#e0f2fe; color:var(--brand); border-radius:8px; font-size:19px; }
.brand em { color:var(--brand); font-style:normal; }
.nav-links { display:flex; align-items:center; gap:22px; font-size:.93rem; font-weight:650; }
.nav-links a, .tools-menu summary { color:#435166; text-decoration:none; cursor:pointer; list-style:none; }
.tools-menu { position:relative; }
.tools-menu summary::-webkit-details-marker { display:none; }
.tools-menu summary::after { content:'⌄'; margin-left:5px; color:var(--brand); }
.tools-menu[open] .tool-popover { display:grid; }
.tool-popover { display:none; position:absolute; right:0; top:30px; width:238px; padding:8px; background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:0 14px 35px rgba(23,32,51,.14); }
.tool-popover a { padding:9px 10px; border-radius:7px; }
.tool-popover a:hover { background:#eef8ff; color:var(--brand-dark); }
.page { max-width:980px; margin:auto; padding:54px 20px 72px; }
.eyebrow { margin:0 0 8px; color:var(--brand-dark); font-size:.78rem; font-weight:800; letter-spacing:.09em; }
.page-hero { max-width:760px; margin-bottom:32px; }
.page-hero h1 { font-size:clamp(2rem,5vw,3.35rem); line-height:1.07; letter-spacing:-.045em; margin:0 0 15px; }
.page-hero p { margin:0; color:var(--muted); font-size:1.1rem; }
.card { background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:0 8px 26px rgba(23,32,51,.05); padding:26px; }
.tool-card label { display:block; margin-bottom:8px; font-weight:750; font-size:.9rem; }
.tool-grid { display:grid; grid-template-columns:1fr auto; gap:10px; }
input, select { width:100%; border:1px solid #bac9d8; border-radius:9px; padding:13px; font:inherit; color:var(--ink); background:#fff; }
button { border:0; border-radius:9px; padding:13px 17px; background:var(--brand); color:#fff; font:inherit; font-weight:750; cursor:pointer; }
button:hover { background:var(--brand-dark); }
.result-box { margin-top:18px; padding:18px; border-radius:10px; background:#edf8ff; border:1px solid #c8e9fb; }
.result-box span { display:block; font-size:.75rem; letter-spacing:.08em; font-weight:800; color:var(--brand-dark); margin-bottom:5px; }
.result-box p { margin:0; font-size:1.1rem; font-weight:650; }
.result-actions { margin-top:10px; display:flex; justify-content:flex-end; }
.copy-button { padding:8px 11px; font-size:.82rem; }
.content { margin-top:42px; }
.content h2 { margin:36px 0 12px; font-size:1.55rem; letter-spacing:-.025em; }
.content h3 { margin:25px 0 7px; font-size:1.12rem; }
.content p, .content li { color:#4b5a70; }
.content li { margin:7px 0; }
.examples { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:12px; margin-top:16px; }
.example { border:1px solid var(--line); padding:14px; border-radius:10px; background:#fff; }
.example b { display:block; margin-bottom:4px; }
.faq { margin-top:46px; }
.faq h2 { margin-bottom:12px; }
.faq details { background:#fff; border:1px solid var(--line); border-radius:10px; margin:9px 0; padding:0 16px; }
.faq summary { cursor:pointer; padding:15px 25px 15px 0; font-weight:750; }
.faq p { margin:0 0 16px; color:var(--muted); }
.related { margin-top:36px; padding:20px; background:#eaf6fd; border-radius:14px; }
.related a { margin-right:15px; font-weight:700; }
.site-footer { background:#111c2b; color:#c7d3e0; padding:36px 20px; }
.footer-wrap { max-width:1120px; margin:auto; display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.footer-wrap strong { color:#fff; display:block; margin-bottom:7px; }.footer-wrap a { color:#d8efff; text-decoration:none; margin-right:15px; font-size:.9rem; }
.privacy-note { font-size:.85rem; color:#b7c7d7; max-width:360px; }
@media(max-width:640px) { .nav-wrap { min-height:60px; padding:0 15px; }.brand { font-size:.92rem; }.nav-links { gap:13px; font-size:.84rem; }.tool-popover { right:-55px; }.page { padding:38px 16px 55px; }.card { padding:18px; }.tool-grid { grid-template-columns:1fr; }.page-hero h1 { font-size:2.2rem; } }
