/* ==== Homepage (mockup-accurate) ==== */
.hp { --c: 1240px; }
.hp .container { max-width: var(--c); }
/* hero */
.hp-hero { position: relative; overflow: hidden; background: #F7F9FD; border-bottom: 1px solid var(--border); }
.hp-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 520px at 78% 40%, #DCE8FF 0%, rgba(220,232,255,0) 62%), radial-gradient(500px 300px at 8% 100%, #E8F1FF 0%, rgba(232,241,255,0) 70%); }
.hp-hero .hero-grid { position: relative; display: grid; grid-template-columns: 520px 1fr; gap: 30px; align-items: center; padding-top: 40px; padding-bottom: 36px; }
.hp-hero .results-wrap { position: relative; }
.hp-hero .eyebrow { font-size: .72rem; letter-spacing: .14em; color: #5B6B8A; font-weight: 600; margin-bottom: 14px; }
.hp-hero h1 { font-size: 2.85rem; line-height: 1.12; letter-spacing: -.03em; margin: 0 0 18px; font-weight: 800; }
.hp-hero h1 em { font-style: normal; color: var(--blue); }
.hp-hero .lead { font-size: 1.02rem; color: var(--text-2); margin: 0 0 22px; max-width: 470px; line-height: 1.55; }
.hp-search { display: flex; background: #fff; border: 1px solid var(--border-strong); border-radius: 8px; padding: 4px; box-shadow: var(--shadow-sm); max-width: 620px; }
.hp-search select { border: 0; border-right: 1px solid var(--border); border-radius: 0; width: auto; padding: 8px 30px 8px 14px; font-weight: 600; font-size: .9rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B1F4B' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; -webkit-appearance: none; }
.hp-search select:focus { box-shadow: none; }
.hp-search input { border: 0; flex: 1; font-size: .92rem; padding: 8px 14px; } .hp-search input:focus { box-shadow: none; }
.hp-search .btn { border-radius: 6px; padding: 9px 20px; }
.hp-popular { margin-top: 12px; font-size: .74rem; color: #5B6B8A; display: flex; gap: 11px; white-space: nowrap; }
.hp-popular a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #9DB7F5; }
.hp-map { position: relative; height: 400px; }
.hp-map .world { position: absolute; left: 0; top: 10px; width: 660px; height: 380px; background: url('/assets/img/world-dots.svg') no-repeat center / contain; }
.hp-map .glow { position: absolute; left: 60px; top: 30px; width: 560px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(29,78,216,.12), rgba(29,78,216,0)); }
.pin { position: absolute; display: flex; align-items: flex-start; gap: 6px; font-size: .68rem; line-height: 1.25; color: var(--navy); white-space: nowrap; }
.pin b { display: block; font-size: .74rem; font-weight: 700; }
.pin span { color: #6B7A99; }
.pin .dot { width: 18px; height: 18px; border-radius: 50%; background: #16A34A; display: grid; place-items: center; color: #fff; flex: none; box-shadow: 0 0 0 3px rgba(22,163,74,.18); }
.pin .dot svg { width: 10px; height: 10px; }
.pin .ms { display: block; font-size: .68rem; color: #6B7A99; }
.pulse { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 6px rgba(34,197,94,.2); }
.hp-card { position: absolute; left: 245px; top: 118px; width: 210px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 44px rgba(11,31,75,.14); padding: 14px 16px; }
.hp-card b { display: block; font-size: .95rem; color: var(--navy); margin-bottom: 1px; }
.hp-card small { display: block; font-size: .68rem; color: #6B7A99; margin-bottom: 10px; }
.hp-card .row { display: flex; gap: 12px; align-items: center; }
.ring { --v: 98; width: 62px; height: 62px; border-radius: 50%; background: conic-gradient(#16A34A calc(var(--v) * 1%), #E2E8F0 0); display: grid; place-items: center; position: relative; flex: none; }
.ring::before { content: ''; position: absolute; inset: 6px; background: #fff; border-radius: 50%; }
.ring b { position: relative; font-size: 1.05rem; font-weight: 800; color: var(--navy); margin: 0; }
.checklist { list-style: none; margin: 0; padding: 0; flex: 1; }
.checklist li { display: flex; justify-content: space-between; font-size: .7rem; color: var(--text-2); padding: 2px 0; }
.checklist li i { color: #16A34A; font-style: normal; font-weight: 800; }
.hand { position: absolute; right: -14px; bottom: -14px; font-family: 'Caveat', cursive; font-size: 1.15rem; line-height: 1.15; color: #4B5A78; transform: rotate(-8deg); width: 150px; text-align: left; }
/* stats */
.hp-stats { background: #fff; border-bottom: 1px solid var(--border); }
.hp-stats .container { display: grid; grid-template-columns: repeat(4, 1fr) 1.15fr; }
.hp-stat { display: flex; align-items: center; gap: 12px; padding: 22px 0; border-right: 1px solid var(--border); padding-right: 12px; }
.hp-stat + .hp-stat { padding-left: 22px; }
.hp-stat svg { width: 28px; height: 28px; color: var(--blue); flex: none; stroke-width: 1.6; }
.hp-stat b { display: block; font-size: 1.35rem; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.hp-stat span { font-size: .78rem; color: #6B7A99; }
.hp-stats .trusted { padding: 22px 0 22px 26px; font-size: .78rem; color: #6B7A99; line-height: 1.4; display: flex; align-items: center; }
/* toolkit */
.hp-toolkit { padding: 44px 0 40px; background: #F7F9FD; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.sec-head .eyebrow { font-size: .7rem; letter-spacing: .14em; color: var(--blue); margin-bottom: 6px; }
.sec-head h2 { margin: 0; font-size: 1.9rem; letter-spacing: -.02em; }
.sec-head a { font-weight: 600; font-size: .85rem; }
.tk-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tk { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px 14px 14px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tk .ic { width: 26px; height: 26px; color: var(--blue); margin-bottom: 8px; }
.tk h3 { font-size: .88rem; margin: 0 0 6px; }
.tk p { font-size: .72rem; color: #5B6B8A; line-height: 1.45; margin: 0 0 12px; }
.tk .mini { margin-top: auto; }
.mini { border: 1px solid var(--border); border-radius: 8px; background: #FAFBFE; padding: 10px; font-size: .68rem; }
.mini .r { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; color: var(--text-2); white-space: nowrap; gap: 6px; }
.mini .r .p { color: #16A34A; font-weight: 700; }
.mini .r .ok { width: 14px; height: 14px; border-radius: 50%; background: #16A34A; color: #fff; display: inline-grid; place-items: center; margin-right: 6px; font-size: .55rem; font-weight: 800; }
.mini-bl b { font-size: 1.15rem; color: var(--navy); display: block; letter-spacing: -.02em; }
.mini-bl .lbl { color: #6B7A99; font-size: .66rem; }
.mini-bl .nl { display: flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; margin-top: 8px; font-size: .7rem; }
.mini-bl .bars { display: flex; align-items: flex-end; gap: 2px; height: 26px; margin-top: 6px; justify-content: flex-end; }
.mini-bl .bars i { width: 5px; background: var(--blue); border-radius: 2px 2px 0 0; display: block; }
.mini-dns .tabs2 { display: flex; gap: 8px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--border); padding-bottom: 5px; margin-bottom: 4px; font-size: .64rem; }
.mini-dns .tabs2 span:first-child { color: var(--blue); }
.mini-dns .r { font-family: var(--mono); font-size: .62rem; }
.mini-dns .r b { font-family: var(--font); color: var(--navy); width: 24px; }
.mini-score { display: flex; gap: 8px; align-items: center; }
.mini-score .checklist { min-width: 0; } .mini-score .checklist li { font-size: .64rem; }
.mini-score .ring { width: 50px; height: 50px; } .mini-score .ring b { font-size: .95rem; } .mini-score .ring small { position: relative; font-size: .5rem; color: #6B7A99; margin-top: -2px; }
.mini-score .ring::before { inset: 5px; }
.mini-alerts .r { padding: 2px 0; font-size: .64rem; }
.tog { width: 24px; height: 14px; border-radius: 999px; background: var(--blue); position: relative; flex: none; }
.tog::after { content: ''; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.mini-api { min-width: 0; background: #0B1F4B; color: #C7D2E8; font-family: var(--mono); font-size: .53rem; line-height: 1.5; padding: 10px; border-radius: 8px; white-space: pre; overflow: hidden; border: 0; }
.mini-api .k { color: #93B4FF; }
.tk .more { font-size: .72rem; font-weight: 600; margin-top: 10px; }
/* monitoring */
.hp-mon { padding: 44px 0 40px; background: #fff; }
.hp-mon .container { display: grid; grid-template-columns: 340px 1fr; gap: 34px; align-items: center; }
.hp-mon h2 { font-size: 1.95rem; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 12px; }
.hp-mon p { font-size: .88rem; color: var(--text-2); line-height: 1.5; }
.checks-list { list-style: none; padding: 0; margin: 14px 0 20px; }
.checks-list li { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: var(--text-2); padding: 4px 0; }
.checks-list li i { width: 16px; height: 16px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.checks-list li i svg { width: 9px; height: 9px; stroke-width: 3; }
.btn-play svg { width: 18px; height: 18px; }
.dash { display: grid; grid-template-columns: 124px 1fr; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 44px rgba(11,31,75,.12); background: #F3F6FB; font-size: .66rem; }
.dash-side { background: #0B1F4B; color: #B6C2DC; padding: 12px 10px; }
.dash-side .lg { color: #fff; font-weight: 800; font-size: .74rem; display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.dash-side .lg svg { width: 14px; height: 14px; color: #60A5FA; }
.dash-side div.i { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 5px; font-size: .6rem; white-space: nowrap; }
.dash-side div.i svg { width: 10px; height: 10px; opacity: .8; }
.dash-side div.i.on { background: rgba(255,255,255,.12); color: #fff; }
.dash-main { padding: 12px; }
.dash-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.dash-top b { font-size: .92rem; color: var(--navy); }
.dash-top .h { background: #DCFCE7; color: #15803D; border-radius: 999px; padding: 2px 8px; font-weight: 700; font-size: .6rem; display: inline-flex; align-items: center; gap: 4px; }
.dash-top .h::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #16A34A; }
.dash-top .lc { color: #6B7A99; font-size: .6rem; }
.dash-top a { margin-left: auto; font-weight: 600; font-size: .62rem; }
.dash-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
.dt { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; min-height: 76px; }
.dt .t { font-weight: 700; color: var(--navy); font-size: .64rem; margin-bottom: 6px; }
.dt .big { font-size: 1.05rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.dt .big small { font-size: .58rem; color: #6B7A99; font-weight: 500; }
.dt .bar { height: 4px; background: #E2E8F0; border-radius: 2px; margin-top: 6px; } .dt .bar i { display: block; height: 100%; width: 98%; background: #16A34A; border-radius: 2px; }
.dt .ubars { display: flex; gap: 2px; align-items: flex-end; height: 16px; margin-top: 6px; } .dt .ubars i { flex: 1; background: #16A34A; height: 100%; border-radius: 1px; }
.dt .chip { display: inline-flex; align-items: center; gap: 4px; background: #DCFCE7; color: #15803D; border-radius: 4px; padding: 2px 6px; font-weight: 700; font-size: .6rem; }
.dt .sub { color: #6B7A99; font-size: .58rem; margin-top: 5px; }
.dt .ring { width: 40px; height: 40px; } .dt .ring::before { inset: 4px; } .dt .ring b { font-size: .75rem; }
.dash-bottom { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; }
.dp { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; }
.dp .t { font-weight: 700; color: var(--navy); font-size: .64rem; display: flex; justify-content: space-between; }
.dp .t a { font-weight: 600; }
.dp .sub { color: #6B7A99; font-size: .58rem; margin: 2px 0 8px; }
.dchart { display: flex; align-items: flex-end; gap: 3px; height: 62px; border-left: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0 2px 0 4px; position: relative; }
.dchart i { flex: 1; background: var(--blue); border-radius: 2px 2px 0 0; opacity: .85; }
.dchart i.z { background: #DBE6FF; }
.dax { display: flex; justify-content: space-between; color: #6B7A99; font-size: .55rem; margin-top: 3px; padding-left: 4px; }
.dev { list-style: none; margin: 0; padding: 0; }
.dev li { display: flex; align-items: center; gap: 6px; padding: 3px 0; font-size: .6rem; color: var(--text-2); }
.dev li i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.dev li span { margin-left: auto; color: #6B7A99; }
/* brand band */
.hp-brand { position: relative; color: #fff; background: linear-gradient(120deg, #0B1F4B 0%, #143A8C 100%); overflow: hidden; }
.hp-brand::after { content: ''; position: absolute; right: -60px; top: -30px; width: 560px; height: 340px; background: url('/assets/img/world-dots.svg') no-repeat center / contain; opacity: .35; filter: brightness(3); }
.hp-brand .container { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.hp-brand .eyebrow { color: #9DB7F5; font-size: .68rem; letter-spacing: .14em; }
.hp-brand h2 { color: #fff; font-size: 1.8rem; letter-spacing: -.025em; line-height: 1.15; max-width: 560px; margin-bottom: 12px; }
.hp-brand p { color: #DCE4F5; max-width: 560px; font-size: .9rem; margin-bottom: 18px; }
.hp-brand .badges { display: flex; gap: 20px; font-size: .74rem; font-weight: 600; flex-wrap: wrap; }
.hp-brand .badges span { display: flex; align-items: center; gap: 6px; } .hp-brand .badges svg { width: 15px; height: 15px; } .hp-brand .badges a { color: #fff; }
.brand-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 14px 18px; backdrop-filter: blur(4px); }
.kv-line { display: grid; grid-template-columns: 100px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .78rem; } .kv-line:last-child { border-bottom: 0; }
.kv-line span { color: #9DB7F5; } .kv-line b { color: #fff; font-weight: 600; } .kv-line a { color: #fff; text-decoration: underline; }
@media (max-width: 900px) { .hp-brand .container { grid-template-columns: 1fr; } }
/* pricing */
.hp-pricing { padding: 40px 0 36px; background: #F7F9FD; }
.hp-pricing .container { display: grid; grid-template-columns: 300px repeat(4, 1fr); gap: 14px; align-items: stretch; }
.hp-pricing .intro .eyebrow { font-size: .7rem; letter-spacing: .14em; color: var(--blue); margin-bottom: 6px; }
.hp-pricing .intro h2 { font-size: 1.95rem; letter-spacing: -.025em; line-height: 1.12; margin: 0; }
.pp { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px 16px 14px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-sm); }
.pp.feat { border: 2px solid var(--blue); }
.pp .rib { position: absolute; top: 12px; right: 12px; background: var(--blue); color: #fff; font-size: .58rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.pp h3 { font-size: .95rem; margin: 0 0 2px; }
.pp .tag { font-size: .68rem; color: #6B7A99; margin-bottom: 12px; }
.pp .pr { font-size: 1.6rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; margin-bottom: 12px; }
.pp .pr small { font-size: .66rem; color: #6B7A99; font-weight: 500; letter-spacing: 0; margin-left: 2px; }
.pp ul { list-style: none; margin: 0 0 14px; padding: 0; flex: 1; }
.pp li { font-size: .7rem; color: var(--text-2); padding: 3px 0; display: flex; align-items: center; gap: 6px; }
.pp li svg { width: 11px; height: 11px; color: #16A34A; stroke-width: 3; flex: none; }
.pp .btn { font-size: .74rem; padding: 7px 10px; }
/* testimonials */
.hp-testi { padding: 34px 0 30px; background: #fff; border-top: 1px solid var(--border); }
.hp-testi .container { display: grid; grid-template-columns: 250px repeat(3, 1fr); gap: 22px; align-items: start; }
.hp-testi .intro .eyebrow { font-size: .7rem; letter-spacing: .14em; color: var(--blue); margin-bottom: 6px; }
.hp-testi .intro h2 { font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.tq { display: flex; gap: 12px; align-items: flex-start; }
.tq img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(11,31,75,.15); }
.tq p { font-size: .76rem; color: var(--text-2); line-height: 1.5; margin: 0 0 8px; }
.tq b { font-size: .74rem; color: var(--navy); display: block; } .tq span { font-size: .66rem; color: #6B7A99; }
/* cta */
.hp-cta { position: relative; background: #F7F9FD; border-top: 1px solid var(--border); overflow: hidden; }
.hp-cta::after { content: ''; position: absolute; right: -40px; top: -20px; width: 420px; height: 260px; background: url('/assets/img/world-dots.svg') no-repeat center / contain; opacity: .5; }
.hp-cta .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.hp-cta h2 { font-size: 1.6rem; letter-spacing: -.02em; margin: 0 0 4px; }
.hp-cta p { margin: 0; font-size: .82rem; color: var(--text-2); } .hp-cta p a { text-decoration: underline; }
.hp-cta .acts { display: flex; gap: 12px; }
@media (max-width: 1100px) { .tk-grid { grid-template-columns: repeat(3, 1fr); } .hp-stats .container { grid-template-columns: 1fr 1fr; } .hp-stats .trusted { display: none; } .hp-pricing .container { grid-template-columns: 1fr 1fr; } .hp-pricing .intro { grid-column: 1 / -1; } .hp-testi .container { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .hp-hero .hero-grid { grid-template-columns: 1fr; } .hp-map { display: none; } .hp-mon .container { grid-template-columns: minmax(0, 1fr); } .hp-mon .flex, .hp-cta .acts { flex-wrap: wrap; } .hp-hero h1 { font-size: 2.2rem; } .hp-popular { white-space: normal; flex-wrap: wrap; gap: 8px; } .dash { display: none; } .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; } .hp-hero .lead { font-size: .95rem; } .hp-photo .badges { flex-wrap: wrap; gap: 12px; } }
@media (max-width: 640px) { .hp { overflow-x: hidden; } .tk-grid, .hp-pricing .container { grid-template-columns: 1fr; } .hp-search .btn { width: 100%; margin-top: 4px; } .hp-search input { min-width: 0; } .hp-stats .container { grid-template-columns: 1fr; } .hp-stat { border-right: 0; padding: 12px 0; } .hp-cta .container { flex-direction: column; align-items: flex-start; } .hp-search { flex-wrap: wrap; } .hp-search select { border-right: 0; } }
/* ---- From the Playbook (homepage strip) ---- */
.hp-guides { padding: 44px 0 40px; background: #fff; border-top: 1px solid var(--border); }
.hg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hg-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; color: inherit; transition: .15s; }
.hg-card:hover { border-color: var(--blue-200); box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.hg-art { background: linear-gradient(160deg, #F2F6FF 0%, #EAF1FF 100%); border-bottom: 1px solid var(--border); padding: 10px 12px; }
.hg-art .hg-svg { width: 100%; height: auto; display: block; max-height: 128px; }
.hg-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.hg-meta { display: flex; align-items: center; gap: 8px; font-size: .68rem; color: var(--muted); margin-bottom: 7px; }
.hg-cat { background: var(--blue-50); color: var(--blue-700); border-radius: 999px; padding: 2px 9px; font-weight: 700; }
.hg-card h3 { font-size: .98rem; line-height: 1.3; margin: 0 0 6px; }
.hg-card p { font-size: .8rem; color: #5B6B8A; line-height: 1.5; margin: 0 0 10px; flex: 1; }
.hg-more { font-size: .78rem; font-weight: 700; color: var(--blue); }
@media (max-width: 900px) { .hg-grid { grid-template-columns: 1fr; } }
