:root { --bg: #f8fafc; --bg-strong: #eef4ff; --card: #ffffff; --card-soft: #f8fafc; --text: #1e293b; --muted: #64748b; --border: rgba(15, 23, 42, 0.08); --shadow: 0 18px 40px rgba(15, 23, 42, 0.08); --primary: #2563eb; --primary-soft: rgba(37, 99, 235, 0.12); --success: #16a34a; --warning: #f59e0b; --danger: #dc2626; --radius: 22px; --nav-height: 76px; }
:root[data-theme="dark"] { --bg: #0b1220; --bg-strong: #111827; --card: #111827; --card-soft: #0f172a; --text: #e5eefb; --muted: #94a3b8; --border: rgba(148, 163, 184, 0.15); --shadow: 0 18px 40px rgba(2, 6, 23, 0.42); --primary: #60a5fa; --primary-soft: rgba(96, 165, 250, 0.15); --success: #4ade80; --warning: #fbbf24; --danger: #f87171; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(248, 250, 252, 0.9); border-bottom:1px solid var(--border); }
:root[data-theme="dark"] .site-header { background: rgba(11, 18, 32, 0.85); }
.header-inner { display:flex; align-items:center; justify-content:space-between; min-height: var(--nav-height); gap:18px; }
.brand { display:inline-flex; align-items:center; gap:10px; font-weight:700; font-size:1.1rem; letter-spacing:-0.03em; }
.brand-mark { width:36px; height:36px; border-radius:12px; background: linear-gradient(135deg, var(--primary), #1d4ed8); display:grid; place-items:center; color:#fff; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25); }
.brand-mark svg { width:18px; height:18px; }
.site-nav { display:flex; align-items:center; gap:24px; font-size:0.97rem; }
.site-nav a { color: var(--muted); transition: color 0.2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }
.nav-actions { display:flex; align-items:center; gap:12px; }
.icon-button, .primary-button, .secondary-button, .tiny-button { border: 1px solid var(--border); background: var(--card); color: var(--text); border-radius: 12px; cursor:pointer; transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.icon-button:hover, .primary-button:hover, .secondary-button:hover, .tiny-button:hover { transform: translateY(-1px); }
.icon-button { width:42px; height:42px; display:grid; place-items:center; background: var(--card); box-shadow: var(--shadow); }
.nav-toggle { display:none; }
main { display:block; }
.hero { padding: 64px 0 36px; }
.hero-inner { display:grid; grid-template-columns:1.2fr 0.8fr; gap:30px; align-items:center; }
.hero-copy h1 { font-size: clamp(2.4rem, 4vw, 4.2rem); line-height:1.05; letter-spacing:-0.06em; margin:0 0 18px; }
.hero-copy p { color: var(--muted); font-size:1.08rem; margin-bottom:20px; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px; background: var(--primary-soft); color: var(--primary); font-weight:600; font-size:0.74rem; margin-bottom:18px; letter-spacing:0.02em; text-transform:uppercase; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.primary-button, .secondary-button { padding:0 18px; min-height:48px; display:inline-flex; align-items:center; justify-content:center; gap:8px; font-weight:600; border-radius:14px; }
.primary-button { background: var(--primary); color:#fff; border-color: transparent; box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28); }
.secondary-button { background: var(--card); }
.privacy-note { margin-top:18px; font-size:0.9rem; color: var(--muted); display:inline-flex; align-items:center; gap:8px; }
.hero-panel { background: linear-gradient(180deg, var(--card), var(--card-soft)); border:1px solid var(--border); box-shadow: var(--shadow); border-radius: var(--radius); padding:18px; position:relative; overflow:hidden; }
.panel-stack { display:grid; gap:12px; }
.status-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; border:1px solid var(--border); border-radius:16px; background: rgba(37, 99, 235, 0.03); }
.status-row strong { font-size:0.9rem; }
.pill { display:inline-flex; align-items:center; gap:8px; background: rgba(22, 163, 74, 0.12); color: var(--success); border-radius:999px; padding:6px 10px; font-size:0.75rem; font-weight:700; }
.pill .dot { width:8px; height:8px; border-radius:999px; background: var(--success); }
.hero-figure { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:12px; margin-top:10px; }
.metric-mini { background: var(--card-soft); border:1px solid var(--border); border-radius:16px; padding:16px 14px; }
.metric-mini .label { color: var(--muted); font-size:0.72rem; text-transform:uppercase; letter-spacing:0.08em; }
.metric-mini .value { margin-top:8px; font-size:1.15rem; font-weight:700; }
.section { padding:28px 0; }
.section-header { margin-bottom:20px; }
.kicker { color: var(--primary); text-transform:uppercase; letter-spacing:0.12em; font-size:0.74rem; font-weight:700; }
.section-header h2 { margin:8px 0 10px; font-size: clamp(2rem, 2vw, 2.8rem); letter-spacing:-0.05em; }
.section-header p { color: var(--muted); margin:0; max-width:700px; }
.cards-grid { display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap:18px; }
.card { background: var(--card); border:1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding:18px; position:relative; }
.card-header { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.card-icon { width:40px; height:40px; border-radius:12px; background: var(--primary-soft); color: var(--primary); display:grid; place-items:center; }
.card-icon svg { width:18px; height:18px; }
.tiny-button { padding:9px 10px; min-width:52px; font-size:0.78rem; font-weight:600; background: rgba(148,163,184,0.08); }
.metric-title { margin:16px 0 8px; font-size:0.9rem; color: var(--muted); }
.metric-value { margin:0; font-size: clamp(1.05rem, 2vw, 1.55rem); font-weight:700; letter-spacing:-0.04em; overflow-wrap:anywhere; }
.card small { display:block; color: var(--muted); margin-top:8px; line-height:1.5; }
.tools-layout { display:grid; grid-template-columns:1.2fr 0.8fr; gap:22px; align-items:start; }
.info-panel { background: var(--card); border:1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding:24px; }
.info-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; margin-top:18px; }
.info-item { padding:14px; border:1px solid var(--border); border-radius:16px; background: var(--card-soft); }
.info-item strong { display:block; font-size:0.8rem; color: var(--muted); text-transform:uppercase; letter-spacing:0.08em; }
.info-item span { display:block; margin-top:8px; font-size:1.1rem; font-weight:700; overflow-wrap:anywhere; }
.loading-box { display:inline-flex; align-items:center; gap:10px; border-radius:999px; background: rgba(245, 158, 11, 0.12); color: var(--warning); padding:8px 12px; font-weight:600; font-size:0.84rem; }
.spinner { width:12px; height:12px; border-radius:999px; border:2px solid rgba(245, 158, 11, 0.35); border-top-color: var(--warning); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:start; }
.screen-visual { position:relative; height:220px; border:1px solid var(--border); border-radius:20px; background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(148,163,184,0.06)); overflow:hidden; margin-top:18px; }
.screen-visual .viewport { position:absolute; left:50%; top:50%; transform: translate(-50%, -50%); background: var(--card); border:2px solid var(--primary); border-radius:18px; box-shadow: 0 12px 25px rgba(37, 99, 235, 0.18); display:flex; align-items:center; justify-content:center; font-weight:700; color: var(--primary); transition: width 0.2s ease, height 0.2s ease; }
.utility-links { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; margin-top:16px; }
.utility-links a { display:block; padding:16px 18px; border-radius:16px; background: var(--card-soft); border:1px solid var(--border); color: var(--text); font-weight:600; }
.faq-list { display:grid; gap:14px; }
.faq-item { border:1px solid var(--border); border-radius:18px; background: var(--card); }
.faq-item summary { list-style:none; cursor:pointer; font-weight:700; padding:18px 20px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item p { color: var(--muted); padding: 0 20px 18px; margin:0; }
.page-hero { padding: 52px 0 18px; }
.page-hero .container { max-width:980px; }
.page-hero h1 { font-size: clamp(2.2rem, 3vw, 3.4rem); letter-spacing:-0.06em; margin:0 0 10px; }
.page-hero p { color: var(--muted); font-size:1.1rem; margin:0; }
.page-section { padding:24px 0; }
.ad-slot { border:1px dashed var(--border); border-radius:18px; background: rgba(148,163,184,0.04); color: var(--muted); text-align:center; padding:24px 18px; display:grid; place-items:center; min-height:120px; margin:28px auto; }
.ad-slot span { font-size:0.8rem; text-transform:uppercase; letter-spacing:0.14em; }
.ad-slot strong { display:block; font-size:1.2rem; margin-top:8px; color: var(--text); }
.site-footer { border-top:1px solid var(--border); padding:28px 0 38px; margin-top:42px; background: rgba(148,163,184,0.02); }
.footer-inner { display:flex; justify-content:space-between; gap:14px; align-items:center; flex-wrap:wrap; }
.footer-links, .legal-links { display:flex; flex-wrap:wrap; gap:16px; color: var(--muted); }
.toast { position:fixed; right:18px; bottom:18px; background: rgba(15,23,42,0.98); color:white; border-radius:12px; padding:12px 15px; font-size:0.9rem; box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22); opacity:0; pointer-events:none; transform:translateY(12px); transition: opacity 0.2s ease, transform 0.2s ease; z-index:200; }
.toast.visible { opacity:1; transform:translateY(0); }
@media (max-width: 920px) { .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-inner, .tools-layout, .two-col { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .site-nav { position:absolute; top: calc(100% + 10px); left:0; right:0; margin:0 16px; background: var(--card); border:1px solid var(--border); border-radius:18px; box-shadow: var(--shadow); padding:12px; display:none; flex-direction:column; align-items:flex-start; }
.site-nav.open { display:flex; }
.nav-toggle { display:inline-flex; }
.cards-grid, .info-grid, .utility-links { grid-template-columns:1fr; }
.footer-inner { align-items:flex-start; flex-direction:column; }
}
@media print {
  .site-header, .nav-actions, .toast, button, .hero-actions, .ad-slot { display: none !important; }
  body { background: #fff; color: #111827; }
  .card, .info-panel, .hero-panel { box-shadow: none; border-color: rgba(15, 23, 42, 0.2); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } *, *::before, *::after { animation:none !important; transition:none !important; } }
