/* =========================================================================
   WhatIP -- main stylesheet
   Vanilla CSS, no build step. Organized as:
   1. Design tokens   2. Reset & base   3. Layout utilities
   4. Header / nav    5. Buttons & pills   6. Hero & IP card
   7. Sections & cards   8. Tools grid   9. FAQ   10. Tool pages
   11. Exposure check   12. Footer   13. Responsive
   ========================================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
	--ink: #1c2b36;
	--muted: #5f7686;
	--muted-2: #8a9aa8;
	--border: #d6dfe5;
	--bg: #f1f5f8;
	--card: #ffffff;
	--primary: #214e6e;
	--primary-dark: #17394f;
	--primary-tint: #e7eef3;
	--secondary: #def1f2;
	--secondary-ink: #20425b;
	--accent: #f9c148;
	--accent-ink: #13212b;
	--success: #1a9c6b;
	--danger: #c8402f;
	--danger-tint: #fbeae8;
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-xl: 30px;
	--shadow-card: 0 1px 2px rgba(28, 43, 54, 0.04), 0 16px 40px -24px rgba(28, 43, 54, 0.22);
	--shadow-card-lg: 0 24px 70px -32px rgba(33, 78, 110, 0.35);
	--font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-display: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
	--max-width: 1152px;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
hr { border: none; border-top: 1px solid var(--border); margin: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap;
}
.skip-link {
	position: absolute; top: -100px; left: 12px; z-index: 1000;
	background: var(--primary); color: #fff; padding: 10px 16px;
	border-radius: var(--radius-sm); transition: top .15s ease;
}
.skip-link:focus { top: 12px; width: auto; height: auto; overflow: visible; clip: auto; }

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: 4px;
}

.icon { width: 1em; height: 1em; font-size: 18px; flex-shrink: 0; }

/* ---------- 3. Layout utilities ---------- */
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head p:last-child { color: var(--muted); font-size: 16px; line-height: 1.7; margin-top: 14px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--primary); background: var(--secondary);
	border: 1px solid rgba(32, 66, 91, 0.12);
	border-radius: 999px; padding: 7px 14px;
	font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	margin: 0 0 16px;
}
.eyebrow-center { justify-content: center; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.data-label {
	display: block; color: var(--muted-2); font-size: 11px; font-weight: 600;
	text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px;
}

.card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

/* ---------- 5. Buttons & pills ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border-radius: 999px; font-weight: 700; font-size: 14px;
	padding: 12px 20px; border: 1px solid transparent;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
	white-space: nowrap;
}
.btn .icon { font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -12px rgba(33, 78, 110, 0.55); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--secondary); color: var(--secondary-ink); }
.btn-secondary:hover { background: #cdebec; }
.btn-ghost { background: var(--primary-tint); color: var(--primary); }
.btn-ghost:hover { background: #dbe6ec; }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

.link-button { color: var(--primary); font-weight: 700; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

.pill {
	display: inline-flex; align-items: center; border-radius: 999px;
	background: var(--accent-ink); color: #fff;
	font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
	padding: 6px 12px;
}
.pill-muted { background: var(--primary-tint); color: var(--primary); }

.back-link {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 700; font-size: 14px; color: var(--primary);
	margin-top: 28px;
}
.back-link .icon { transition: transform .15s ease; }
.back-link:hover .icon { transform: translateX(-3px); }

/* ---------- 4. Header / nav ---------- */
.site-header {
	position: sticky; top: 0; z-index: 40;
	background: rgba(241, 245, 248, 0.85);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; }

.primary-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-list a { font-size: 14px; font-weight: 600; color: var(--muted); transition: color .15s ease; }
.nav-list a:hover { color: var(--primary); }

.header-cta { display: none; }
.menu-toggle { padding: 8px; border-radius: 10px; color: var(--ink); }
.menu-toggle .icon { font-size: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav { border-top: 1px solid var(--border); background: var(--card); padding: 18px 0; }
.mobile-nav-list { display: grid; gap: 4px; margin-bottom: 14px; }
.mobile-nav-list a { display: block; padding: 12px 6px; font-weight: 600; border-radius: 10px; }
.mobile-nav-list a:hover { background: var(--bg); }

/* ---------- 6. Hero & IP card ---------- */
.hero { padding: 56px 0 24px; position: relative; overflow: hidden; }
.hero::before {
	content: ''; position: absolute; inset: -20% -10% auto -10%; height: 480px;
	background: radial-gradient(600px 300px at 30% 0%, rgba(249, 193, 72, 0.16), transparent 70%),
	            radial-gradient(500px 260px at 85% 10%, rgba(33, 78, 110, 0.10), transparent 70%);
	pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 760px; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); letter-spacing: -0.04em; margin: 0 0 18px; }
.hero-lead { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 600px; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--muted); font-size: 13px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .icon { color: var(--primary); font-size: 16px; }

.hero-panels { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-top: 44px; }

.ip-card { position: relative; overflow: hidden; padding: 28px 30px; box-shadow: var(--shadow-card-lg); border-color: rgba(33, 78, 110, 0.1); }
.ip-card-top { display: flex; align-items: center; justify-content: space-between; }
.live-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.live-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(26, 156, 107, 0.15); animation: whatip-pulse 2.4s ease-in-out infinite; }
@keyframes whatip-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

.ip-value {
	font-family: var(--font-mono); font-weight: 700;
	font-size: clamp(28px, 5vw, 44px); letter-spacing: -0.02em;
	margin: 30px 0 12px; word-break: break-word; color: var(--primary-dark);
}
.ip-caption { color: var(--muted); font-size: 14px; }
.ip-divider { margin: 24px 0 20px; }
.ip-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.details-card { padding: 26px 28px; }
.details-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.details-head h2 { font-size: 20px; margin-top: 6px; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--border); gap: 1px; }
.detail-cell { background: var(--card); padding: 14px 16px; min-width: 0; }
.detail-cell strong { display: block; font-size: 13.5px; font-weight: 700; word-break: break-word; }
.details-footnote { color: var(--muted-2); font-size: 12px; margin-top: 16px; }

.hero-lookup {
	display: flex; align-items: center; gap: 10px;
	max-width: 720px; margin: 24px auto 0;
	background: var(--card); border: 1px solid var(--border);
	border-radius: 999px; padding: 6px 6px 6px 20px;
	box-shadow: var(--shadow-card);
}
.hero-lookup .icon { color: var(--muted-2); }
.hero-lookup input { flex: 1; min-width: 0; border: none; background: transparent; padding: 12px 6px; outline: none; font-family: var(--font-mono); font-size: 14px; }
.hero-lookup input::placeholder { color: var(--muted-2); font-family: var(--font-body); }

/* ---------- 7. Sections & content ---------- */
.content-wrap { }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-card); }
.feature-card .step { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 13px; letter-spacing: 0.08em; }
.feature-card h3 { font-size: 18px; margin: 14px 0 8px; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

.prose-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 40px; margin-top: 8px; }
.prose h3 { font-size: 19px; margin-bottom: 10px; }
.prose p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.prose { color: var(--muted); }
.prose h2 { color: var(--ink); font-size: 24px; margin: 32px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tool-content-list { margin: 0 0 16px; padding-left: 20px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.tool-content-list li { margin-bottom: 8px; }
.tool-content-list strong { color: var(--ink); }

/* ---------- 8. Tools grid ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool-card {
	position: relative; display: block; background: var(--card);
	border: 1px solid var(--border); border-radius: var(--radius-md);
	padding: 22px; box-shadow: var(--shadow-card);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-lg); border-color: rgba(33,78,110,0.18); }
.tool-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.icon-box {
	width: 36px; height: 36px; border-radius: 11px;
	background: var(--secondary); color: var(--primary);
	display: grid; place-items: center;
}
.icon-box-lg { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 18px; }
.icon-box-lg .icon { font-size: 26px; }
.tool-status { font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--success); }
.tool-status-soon { color: var(--muted-2); }
.tool-card h3 { font-size: 15.5px; margin: 16px 0 6px; }
.tool-card p { color: var(--muted); font-size: 13px; line-height: 1.6; min-height: 52px; }
.tool-card-arrow { display: inline-flex; margin-top: 14px; color: var(--primary); transition: transform .15s ease; }
.tool-card:hover .tool-card-arrow { transform: translateX(3px); }

/* ---------- 8b. Infinite tools ticker ---------- */
.tools-ticker {
	position: relative;
	overflow: hidden;
	padding: 16px 0;
	background: rgba(255, 255, 255, .025);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tools-ticker-track {
	display: flex;
	width: max-content;
	animation: whatip-ticker-scroll 34s linear infinite;
}
.tools-ticker:hover .tools-ticker-track { animation-play-state: paused; }
.tools-ticker-group { display: flex; align-items: center; flex-shrink: 0; }
.tools-ticker-item {
	display: inline-flex; align-items: center;
	padding: 0 20px;
	font-family: var(--font-display);
	font-size: 12.5px; font-weight: 600;
	letter-spacing: .12em; text-transform: uppercase;
	white-space: nowrap;
	color: #cfdcf2;
}
.tools-ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: #4c8dff; flex-shrink: 0; box-shadow: 0 0 6px rgba(76,141,255,.7); }
@keyframes whatip-ticker-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* ---------- 9. FAQ ---------- */
.faq-section { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-wrap { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 60px; }
.faq-intro p:last-child { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 320px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	padding: 20px 4px; text-align: left; font-weight: 700; font-size: 15.5px;
}
.faq-chevron { transition: transform .2s ease; color: var(--muted-2); }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 32px 20px 4px; }
.faq-answer p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }

/* ---------- 10. Tool pages ---------- */
.tool-page { padding: 60px 0 100px; max-width: 780px; }
.tool-page-head { text-align: center; margin-bottom: 36px; }
.tool-page-head .eyebrow { display: none; }
.tool-page-head h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 12px; }
.tool-page-head .lead { color: var(--muted); font-size: 16px; max-width: 520px; margin: 0 auto; }

.tool-card-interactive { padding: 28px; }
.tool-form { display: flex; gap: 10px; }
.tool-form input {
	flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: var(--radius-sm);
	padding: 13px 16px; font-family: var(--font-mono); font-size: 14px; outline: none;
	background: #ffffff; color: #142033; -webkit-text-fill-color: #142033;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.tool-form input::placeholder { color: #8794a8; opacity: 1; -webkit-text-fill-color: #8794a8; }
.tool-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(33,78,110,0.1); }
.tool-example { margin: 14px 2px 0; font-size: 12.5px; color: var(--muted-2); }

.tool-result { margin-top: 24px; }
.tool-result-placeholder { color: var(--muted-2); font-size: 13.5px; padding: 30px 0; text-align: center; }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--border); gap: 1px; }
.result-error { background: var(--danger-tint); color: var(--danger); border-radius: var(--radius-md); padding: 24px; font-size: 14px; text-align: center; }
.result-loading { text-align: center; padding: 30px 0; color: var(--muted); font-size: 13.5px; }
.dns-record-table, .whois-output { margin-top: 10px; }
.dns-record-row { display: grid; grid-template-columns: 90px 1fr 70px; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--border); font-size: 13px; align-items: baseline; }
.dns-record-row:last-child { border-bottom: none; }
.dns-record-type { font-weight: 800; color: var(--primary); }
.dns-record-value { font-family: var(--font-mono); word-break: break-all; }
.dns-record-ttl { color: var(--muted-2); text-align: right; }
.whois-pre { background: var(--ink); color: #d9e6ee; border-radius: var(--radius-md); padding: 20px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }

.soon-card { text-align: center; padding: 46px 30px; }
.soon-badge { display: inline-block; background: var(--secondary); color: var(--secondary-ink); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 6px 14px; margin-bottom: 16px; }
.soon-card h2 { font-size: 22px; margin-bottom: 10px; }
.soon-card p { color: var(--muted); font-size: 14.5px; max-width: 400px; margin: 0 auto 22px; }

.tool-back { text-align: center; margin-top: 30px; }

/* ---------- 11. Exposure check ---------- */
.exposure-card { padding: 28px; }
.exposure-note { text-align: center; color: var(--muted-2); font-size: 12.5px; margin-bottom: 22px; }
.exposure-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.exposure-score { text-align: center; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 20px; }
.exposure-score-ring {
	width: 120px; height: 120px; border-radius: 50%; margin: 0 auto;
	border: 10px solid var(--secondary); display: grid; place-items: center;
	background: var(--card);
}
.exposure-score-ring span { font-family: var(--font-mono); font-weight: 700; font-size: 30px; color: var(--primary); }
.exposure-score-label { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-2); margin: 16px 0 8px; }
.exposure-score-note { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.exposure-details { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--border); gap: 1px; }
.exposure-details .detail-cell strong { font-family: var(--font-mono); font-size: 13px; }

/* ---------- 12. Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--secondary); margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding: 56px 0 32px; }
.footer-tagline { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin: 16px 0; max-width: 320px; }
.footer-copyright { color: rgba(32,66,91,0.55); font-size: 11.5px; }
.footer-heading { font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--secondary-ink); margin-bottom: 14px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--secondary-ink); opacity: 0.75; font-size: 14px; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(32,66,91,0.12); padding: 18px 0; }
.footer-legal p { color: rgba(32,66,91,0.6); font-size: 11.5px; }

/* ---------- Standard content pages ---------- */
.page-content { padding: 64px 0 90px; }
.standard-page { max-width: 720px; }
.standard-page h1 { font-size: clamp(28px, 4vw, 40px); margin: 14px 0 26px; }
.not-found-page { text-align: center; max-width: 560px; }
.not-found-page h1 { margin: 12px 0 16px; font-size: 32px; }
.not-found-page .lead { color: var(--muted); margin-bottom: 28px; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- CTA section ---------- */
.cta-wrap { text-align: center; max-width: 620px; }
.cta-wrap h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.cta-wrap p { color: var(--muted); font-size: 16px; margin-bottom: 30px; }

/* ---------- 13. Responsive ---------- */
@media (min-width: 860px) {
	.primary-nav { display: flex; }
	.header-cta { display: inline-flex; }
	.menu-toggle { display: none; }
	.mobile-nav { display: none !important; }
}

@media (max-width: 1023px) {
	.hero-panels { grid-template-columns: 1fr; }
	.prose-columns { grid-template-columns: 1fr; }
	.tools-grid { grid-template-columns: repeat(2, 1fr); }
	.faq-wrap { grid-template-columns: 1fr; gap: 30px; }
	.exposure-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.wrap { padding: 0 18px; }
	.section { padding: 60px 0; }
	.steps-grid { grid-template-columns: 1fr; }
	.details-grid, .exposure-details, .result-grid { grid-template-columns: 1fr 1fr; }
	.footer-inner { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 26px; }
	.hero { padding: 36px 0 18px; }
	.hero-lookup { flex-wrap: wrap; border-radius: var(--radius-md); padding: 14px; }
	.hero-lookup input { width: 100%; order: 2; }
	.hero-lookup button { order: 3; width: 100%; }
	.hero-lookup .icon { order: 1; }
	.tool-form { flex-direction: column; }
	.tool-form button { width: 100%; }
	.dns-record-row { grid-template-columns: 1fr; gap: 2px; }
	.dns-record-ttl { text-align: left; }
}

@media (max-width: 480px) {
	.tools-grid { grid-template-columns: 1fr; }
	.details-grid, .exposure-details, .result-grid { grid-template-columns: 1fr; }
	.ip-value { font-size: 30px; }
}


/* =========================================================================
   WhatIP 1.1 -- Modern dark dashboard homepage
   Keeps the original WordPress architecture and tool-page styling while
   giving the homepage a compact, premium network-dashboard presentation.
   ========================================================================= */
:root {
	--ink: #f4f7ff;
	--muted: #9aa9c0;
	--muted-2: #72829a;
	--border: rgba(112, 143, 190, .20);
	--bg: #030817;
	--card: #0b1427;
	--primary: #4c8dff;
	--primary-dark: #2867dd;
	--primary-tint: rgba(76, 141, 255, .12);
	--secondary: #0d1a30;
	--secondary-ink: #cbd8ef;
	--accent: #24f0c4;
	--accent-ink: #06111e;
	--success: #19e7a6;
	--danger: #ff5f72;
	--danger-tint: rgba(255, 95, 114, .12);
	--shadow-card: 0 20px 60px rgba(0, 0, 0, .28);
	--shadow-card-lg: 0 28px 90px rgba(0, 0, 0, .42);
	--radius-sm: 12px;
	--radius-md: 18px;
	--radius-lg: 22px;
	--radius-xl: 28px;
}
body { background: #030817; color: var(--ink); }
a { color: inherit; }
.site-header { background: rgba(3, 8, 23, .78); border-bottom-color: rgba(105, 137, 185, .18); }
.nav-list a { color: #aebbd0; }
.nav-list a:hover { color: #fff; }
.header-cta { background: linear-gradient(135deg, #477cff, #7449f5); box-shadow: 0 12px 30px rgba(73, 91, 255, .25); }
.header-cta:hover { background: linear-gradient(135deg, #5b8aff, #825cff); }
.menu-toggle { color: #fff; }
.hero { padding: 38px 0 48px; min-height: 0; background: radial-gradient(800px 430px at 78% 8%, rgba(50, 88, 255, .18), transparent 68%), radial-gradient(620px 360px at 18% 12%, rgba(0, 235, 202, .07), transparent 70%); }
.hero::before { display: none; }
.hero-inner { position: relative; }
.hero-copy { max-width: 760px; padding: 0 0 4px; }
.eyebrow { color: #27e6c0; background: rgba(20, 219, 184, .08); border-color: rgba(20, 219, 184, .18); padding: 7px 14px; margin-bottom: 14px; }
.eyebrow-dot { background: #21e6bb; box-shadow: 0 0 12px rgba(33,230,187,.8); }
.hero h1 { font-size: clamp(38px, 5vw, 58px); color: #f7f9ff; margin-bottom: 10px; max-width: 650px; }
.hero-lead { color: #aab7ca; font-size: 17px; line-height: 1.55; max-width: 590px; }
.hero-trust { margin-top: 17px; gap: 24px; color: #aab7ca; }
.hero-trust span { gap: 7px; }
.hero-trust .icon { color: #4e8cff; }
.hero-glow { position: absolute; pointer-events: none; filter: blur(10px); border-radius: 50%; }
.hero-glow-one { width: 420px; height: 420px; right: -160px; top: -100px; background: radial-gradient(circle, rgba(73,92,255,.18), transparent 68%); }
.hero-glow-two { width: 360px; height: 360px; right: 190px; top: -120px; background: radial-gradient(circle, rgba(18,230,190,.09), transparent 68%); }

/* ---------- Animated globe (inline SVG, CSS-only motion) ---------- */
.hero-globe { position: absolute; right: 40px; top: 4px; width: 220px; height: 220px; opacity: .85; pointer-events: none; z-index: 0; }
.globe-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.globe-sphere { filter: drop-shadow(0 18px 40px rgba(10, 30, 90, .45)); }
.globe-graticule { transform-origin: 110px 110px; }
.globe-meridians { transform-origin: 110px 110px; animation: whatip-globe-spin 22s linear infinite; }
.globe-edge { opacity: .9; }
.globe-node { fill: var(--globe-node, #7fd8ff); filter: drop-shadow(0 0 5px var(--globe-node, #7fd8ff)); animation: whatip-orbit-twinkle 3.2s ease-in-out infinite; animation-delay: var(--node-delay, 0s); transform-origin: center; }
.globe-ring { position: absolute; inset: -18px; border-radius: 50%; border: 1px solid rgba(120, 165, 255, .22); box-shadow: 0 0 60px rgba(64, 91, 255, .08); animation: whatip-ring-spin 34s linear infinite; }

/* Widen the ellipses on the X axis as the group rotates, so a 2D SVG
   trick reads as meridian lines sweeping around a 3D sphere without any
   WebGL: each ellipse's rx eases toward 0 at the "poles" of the spin. */
@keyframes whatip-globe-spin {
	0%   { transform: rotate(0deg)   scaleX(1); }
	25%  { transform: rotate(90deg)  scaleX(.35); }
	50%  { transform: rotate(180deg) scaleX(1); }
	75%  { transform: rotate(270deg) scaleX(.35); }
	100% { transform: rotate(360deg) scaleX(1); }
}
@keyframes whatip-ring-spin { from { transform: rotate(-18deg); } to { transform: rotate(342deg); } }
@keyframes whatip-orbit-twinkle {
	0%, 100% { opacity: .55; transform: scale(.85); }
	50% { opacity: 1; transform: scale(1.25); }
}
.modern-panel { background: linear-gradient(145deg, rgba(13, 24, 45, .94), rgba(6, 14, 29, .94)); border: 1px solid rgba(76, 141, 255, .30); border-radius: 22px; box-shadow: 0 24px 70px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.025); }
.ip-card { margin-top: 28px; padding: 27px 34px; border-color: rgba(18, 232, 196, .65); }
.ip-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 180px at 8% 50%, rgba(22, 215, 193, .05), transparent 70%); pointer-events: none; }
.ip-card-top, .ip-main-row, .details-head, .panel-title { position: relative; z-index: 1; }
.live-dot { color: #25e6c0; }
.pill { background: rgba(22, 232, 195, .09); color: #28e8c3; border: 1px solid rgba(22,232,195,.14); }
.pill-muted { background: rgba(119, 144, 180, .13); color: #b8c6da; border-color: rgba(119,144,180,.15); }
.ip-main-row { display: grid; grid-template-columns: 1fr 300px; gap: 34px; align-items: center; margin-top: 13px; }
.ip-value-row { display: flex; align-items: center; gap: 14px; }
.ip-value { color: #f7fbff; font-size: clamp(34px, 5vw, 50px); margin: 8px 0 5px; text-shadow: 0 0 25px rgba(86,145,255,.12); }
.copy-icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(120,145,190,.25); background: rgba(255,255,255,.035); color: #dbe7fa; border-radius: 12px; transition: .2s ease; }
.copy-icon-btn:hover { transform: translateY(-1px); border-color: rgba(76,141,255,.6); background: rgba(76,141,255,.1); }
.ip-caption { color: #9daec5; }
.ip-location::before { content: '⌖'; color: #5a9aff; margin-right: 7px; }
.ip-divider { border-color: rgba(105, 136, 182, .18); }
.ip-actions { margin-top: 17px; }
.btn-primary { background: linear-gradient(135deg, #398cff, #6256f4); box-shadow: 0 12px 30px rgba(54, 105, 244, .28); }
.btn-primary:hover { background: linear-gradient(135deg, #4a97ff, #735ff8); }
.btn-ghost { background: rgba(107, 132, 169, .12); color: #d9e5f7; border-color: rgba(107,132,169,.12); }
.btn-ghost:hover { background: rgba(107,132,169,.2); }
.connection-status { border-left: 1px solid rgba(110, 139, 181, .18); padding-left: 34px; display: grid; gap: 12px; color: #8f9eb5; font-size: 14px; }
.status-live { color: #e8f4ff; font-weight: 600; }
.status-live span, .signal-badge span { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #19e7a6; box-shadow: 0 0 12px rgba(25,231,166,.8); margin-right: 8px; }
.details-card { padding: 25px 28px 23px; margin-top: 18px; }
.panel-title { display: flex; align-items: center; gap: 12px; }
.panel-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(0, 221, 255, .09); color: #25d9ff; font-size: 20px; border: 1px solid rgba(37,217,255,.14); }
.panel-icon-purple { color: #b95cff; background: rgba(173,73,255,.09); border-color: rgba(173,73,255,.18); }
.details-head h2 { color: #f4f7ff; font-size: 20px; margin-top: 3px; }
.details-grid, .exposure-details { border: 0; background: transparent; gap: 9px; }
.modern-details-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 20px; }
.detail-cell { background: rgba(24, 38, 63, .62); border: 1px solid rgba(104, 135, 180, .12); border-radius: 11px; padding: 13px 14px; min-width: 0; }
.detail-cell .data-label { color: #8192aa; margin-bottom: 4px; }
.detail-cell strong { color: #eef4ff; font-size: 13.5px; word-break: break-word; }
.details-footnote { color: #71839e; font-size: 12px; margin-top: 13px; }
.browser-panel { margin-top: 18px; padding: 25px 28px 27px; border-color: rgba(168, 72, 255, .62); }
.signal-badge { display: inline-flex; align-items: center; background: rgba(20, 221, 169, .08); color: #c9d9eb; padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid rgba(20,221,169,.13); }
.signal-badge strong { color: #27e9b4; margin-left: 4px; }
.exposure-note { text-align: left; color: #71839e; margin: 15px 0 14px; }
.modern-exposure-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.modern-exposure-grid .detail-cell strong { font-family: var(--font-mono); font-size: 13px; }
.modern-lookup { margin-top: 18px; background: rgba(12, 22, 40, .72); border-color: rgba(88,122,172,.2); box-shadow: none; }
.modern-lookup input { background: transparent; color: #f5f8ff; -webkit-text-fill-color: #f5f8ff; }
.modern-lookup input::placeholder { color: #667991; }
.section { padding: 76px 0; }
.exposure-teaser-section { display: none; }
.site-footer { background: #020715; border-top-color: rgba(105,137,185,.18); }
.footer-tagline, .footer-copyright, .footer-heading, .footer-links a { color: #7f91aa; }
.footer-heading { color: #a9b9cf; }
.footer-legal { border-top-color: rgba(105,137,185,.14); }
.footer-legal p { color: #62758f; }
.mobile-nav { background: #071124; border-top-color: rgba(105,137,185,.18); }
.mobile-nav-list a { color: #dce6f5; }
.mobile-nav-list a:hover { background: rgba(76,141,255,.08); }

@media (max-width: 1100px) {
	.hero-globe { right: -30px; opacity: .55; width: 180px; height: 180px; }
	.modern-details-grid, .modern-exposure-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.hero-globe { width: 128px; height: 128px; top: -6px; right: 6px; opacity: .4; }
	.ip-main-row { grid-template-columns: 1fr; }
	.connection-status { border-left: 0; border-top: 1px solid rgba(110,139,181,.18); padding: 15px 0 0; grid-template-columns: 1fr 1fr; }
	.modern-details-grid, .modern-exposure-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.hero { padding-top: 28px; }
	.hero h1 { font-size: 38px; }
	.hero-trust { flex-wrap: wrap; gap: 12px 18px; }
	.ip-card, .details-card, .browser-panel { padding: 21px 18px; }
	.ip-main-row { gap: 20px; }
	.ip-value { font-size: 31px; }
	.modern-details-grid, .modern-exposure-grid { grid-template-columns: 1fr 1fr; }
	.connection-status { grid-template-columns: 1fr; }
	.details-head { gap: 12px; }
	.signal-badge { font-size: 10px; padding: 7px 9px; }
	.modern-lookup { padding: 10px; }
}
@media (max-width: 480px) {
	.hero h1 { font-size: 34px; }
	.hero-lead { font-size: 15px; }
	.hero-globe { width: 96px; height: 96px; opacity: .3; }
	.ip-value-row { gap: 9px; }
	.copy-icon-btn { width: 38px; height: 38px; }
	.modern-details-grid, .modern-exposure-grid { grid-template-columns: 1fr; }
	.details-head { align-items: flex-start; }
	.panel-icon { width: 30px; height: 30px; }
}


/* WhatIP 1.2.1 -- force readable tool inputs on WordPress/shared-host themes */
.tool-card-interactive .tool-form input[type="text"],
.tool-card-interactive .tool-form input[type="search"],
.tool-card-interactive .tool-form input:not([type]),
.tool-form input {
    background-color: #ffffff !important;
    color: #142033 !important;
    -webkit-text-fill-color: #142033 !important;
    caret-color: #142033 !important;
    opacity: 1 !important;
}
.tool-card-interactive .tool-form input::placeholder,
.tool-form input::placeholder {
    color: #8794a8 !important;
    -webkit-text-fill-color: #8794a8 !important;
    opacity: 1 !important;
}
.tool-card-interactive .tool-form input:focus,
.tool-form input:focus {
    color: #142033 !important;
    -webkit-text-fill-color: #142033 !important;
}


/* WhatIP 1.3.1 homepage hierarchy + compact navigation */
.hero { padding-top: 24px; padding-bottom: 34px; }
.hero-copy { padding-bottom: 0; }
.hero h1 { font-size: clamp(34px, 4.2vw, 48px); margin-bottom: 8px; max-width: 620px; }
.hero-trust { margin-top: 12px; }
.ip-card { margin-top: 20px; padding: 23px 30px; }
.ip-value { font-size: clamp(30px, 4vw, 42px); margin: 5px 0 4px; }
.details-card { margin-top: 14px; padding: 21px 25px 20px; }
.browser-panel { margin-top: 14px; padding: 21px 25px 23px; }
.modern-lookup { margin-top: 14px; }
#tools { padding-top: 42px; padding-bottom: 54px; }
#tools .section-head { margin-bottom: 24px; }
.nav-list { gap: 22px; }
.nav-tools-dropdown { position: relative; }
.nav-tools-toggle { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: #aebbd0; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.nav-tools-toggle:hover, .nav-tools-dropdown.is-open .nav-tools-toggle { color: #fff; }
.nav-chevron { width: 14px; height: 14px; transition: transform .15s ease; }
.nav-tools-dropdown.is-open .nav-chevron { transform: rotate(180deg); }
.nav-tools-menu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, -6px); width: 240px; padding: 8px; border: 1px solid rgba(76,141,255,.24); border-radius: 14px; background: rgba(7,17,36,.98); box-shadow: 0 20px 45px rgba(0,0,0,.38); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, transform .15s ease, visibility .15s ease; z-index: 50; }
.nav-tools-menu::before { content: ''; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; background: #071124; border-left: 1px solid rgba(76,141,255,.24); border-top: 1px solid rgba(76,141,255,.24); transform: translateX(-50%) rotate(45deg); }
.nav-tools-dropdown.is-open .nav-tools-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav-tools-menu a { display: block; padding: 10px 12px; border-radius: 9px; color: #dce6f5; font-size: 13px; font-weight: 600; }
.nav-tools-menu a:hover { background: rgba(76,141,255,.10); color: #fff; }
.mobile-nav-list li { list-style: none; }
.modern-lookup input { color: #f5f8ff !important; -webkit-text-fill-color: #f5f8ff !important; caret-color: #fff !important; }
.modern-lookup input::placeholder { color: #7184a0 !important; -webkit-text-fill-color: #7184a0 !important; }
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .hero { padding-top: 22px; }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 720px) {
  .hero h1 { font-size: 36px; }
  .ip-card { padding: 20px 18px; }
  .ip-value { font-size: 30px; }
  #tools { padding-top: 34px; }
}

/* WhatIP 1.3.2 navigation + learn hub */
.primary-nav { display: flex; flex: 1; justify-content: center; }
.nav-list { align-items: center; gap: 22px; }
.nav-list > li > a { white-space: nowrap; }
.desktop-header-cta-spacer { display: none; }
.nav-tools-dropdown { position: relative; }
.nav-tools-toggle.header-cta { border: 0; padding: 10px 16px; margin: 0; color: #fff; border-radius: 999px; }
.nav-tools-toggle.header-cta:hover { color: #fff; }
.nav-tools-toggle .nav-chevron { margin-left: 2px; }
.nav-tools-menu { width: 410px; padding: 14px; left: 50%; }
.nav-tools-menu-title { color: #8fa6c5; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 2px 8px 10px; }
.nav-tools-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px; }
.nav-tools-menu-grid a { padding: 11px 12px; }
.mobile-tools-heading { margin-top: 8px; padding: 10px 6px 4px; color: #7188a8; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.learn-intro { max-width: 760px; color: var(--muted); font-size: 18px; line-height: 1.7; margin-bottom: 34px; }
.learn-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.learn-card { display: block; padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.learn-card:hover { transform: translateY(-2px); border-color: rgba(76,141,255,.4); box-shadow: 0 14px 35px rgba(0,0,0,.12); }
.learn-card h2 { margin: 8px 0 8px; font-size: 22px; }
.learn-card p { margin: 0; color: var(--muted); line-height: 1.65; }
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .header-cta { display: none; }
  .learn-grid { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------------------
 * Site-wide scroll-reveal animation. whatip.js adds ".reveal-up" to key
 * content blocks and toggles ".is-visible" via IntersectionObserver as
 * each one scrolls into view. Elements are visible by default so content
 * is never hidden if JavaScript fails to load.
 * --------------------------------------------------------------------- */
.reveal-up {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .6s cubic-bezier(.16,.8,.24,1), transform .6s cubic-bezier(.16,.8,.24,1);
	will-change: opacity, transform;
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible { transition-delay: var(--reveal-delay, 0ms); }

/* Small animated hover accent under the primary nav links. */
.nav-list > li > a { position: relative; }
.primary-nav .nav-list > li > a::after {
	content: '';
	position: absolute;
	left: 0; right: 100%;
	bottom: -6px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	opacity: .8;
	transition: right .25s ease;
}
.primary-nav .nav-list > li > a:hover::after,
.primary-nav .nav-list > li > a:focus-visible::after { right: 0; }

/* Gentle continuous lift on the live "public IP" pulse dot's parent card. */
.ip-card { transition: box-shadow .4s ease, border-color .4s ease; }
.ip-card:hover { box-shadow: 0 30px 80px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.03); }

/* Animated fade/slide for the mobile menu and the tools dropdown. */
.mobile-nav[hidden] { display: none; }
.mobile-nav { animation: whatip-fade-in .2s ease; }
.nav-tools-menu { transform-origin: top center; }
@keyframes whatip-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* FAQ answers ease open instead of snapping. */
.faq-answer:not([hidden]) { animation: whatip-faq-open .25s ease; }
@keyframes whatip-faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
	.reveal-up { opacity: 1 !important; transform: none !important; transition: none !important; }
	.globe-meridians,
	.globe-ring,
	.globe-node,
	.live-pulse,
	.mobile-nav,
	.faq-answer,
	*, *::before, *::after { transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   WhatIP 1.4 -- Blog architecture (breadcrumb, archive grid, single post,
   related posts). Shares tokens/panels with the rest of the theme so it
   never reads as a bolted-on default WordPress blog.
   ========================================================================= */
.breadcrumb-trail { margin-bottom: 14px; }
.breadcrumb-trail ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: 12.5px; color: var(--muted); }
.breadcrumb-trail li { display: flex; align-items: center; gap: 6px; }
.breadcrumb-trail li:not(:last-child)::after { content: '/'; color: rgba(148, 170, 200, .4); }
.breadcrumb-trail a { color: var(--muted); text-decoration: none; }
.breadcrumb-trail a:hover { color: var(--ink); }
.breadcrumb-trail span[aria-current] { color: var(--ink); font-weight: 600; }

.blog-hero { position: relative; padding: 48px 0 34px; overflow: hidden; }
.blog-hero h1 { font-size: clamp(30px, 4vw, 42px); color: var(--ink); margin: 4px 0 10px; }
.blog-hero-lead { max-width: 620px; color: var(--muted); font-size: 16px; line-height: 1.6; }

.blog-content { padding-bottom: 80px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 8px; }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.blog-card:hover { transform: translateY(-3px); border-color: rgba(76,141,255,.4); box-shadow: var(--shadow-card-lg); }
.blog-card-media { display: block; aspect-ratio: 16 / 10; background: var(--secondary); overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-media-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--muted-2); }
.blog-card-media-fallback .icon { width: 34px; height: 34px; }
.blog-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-cat { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: rgba(20, 219, 184, .08); border: 1px solid rgba(20,219,184,.18); border-radius: 999px; padding: 4px 10px; text-decoration: none; }
.blog-card-title { margin: 0; font-size: 18px; line-height: 1.35; }
.blog-card-title a { color: var(--ink); text-decoration: none; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 12px; margin-top: 4px; }

.blog-pagination { margin-top: 40px; display: flex; justify-content: center; }
.blog-pagination .nav-links { display: flex; gap: 12px; }
.blog-pagination a, .blog-pagination span.current { padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; }
.blog-pagination span.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.blog-pagination a:hover { border-color: var(--primary); }

.blog-empty { text-align: center; padding: 48px 24px; display: grid; gap: 16px; justify-items: center; }
.blog-tool-cta { margin-top: 48px; padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--secondary); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.blog-tool-cta p { margin: 0; color: var(--ink); font-weight: 600; }

/* Single post */
.blog-post-header { padding: 40px 0 0; }
.blog-post-header h1 { font-size: clamp(28px, 4vw, 40px); color: var(--ink); margin: 10px 0 14px; max-width: 820px; }
.blog-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.blog-post-thumb { margin-top: 24px; }
.blog-post-thumb img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.blog-post-body { max-width: 760px; margin: 0 auto; padding-top: 34px; }
.blog-post-body .prose { font-size: 16px; }
.blog-post-body .prose img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.blog-post-tool-cta { margin: 40px 0; padding: 22px 26px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--secondary); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.blog-post-tool-cta p { margin: 0; color: var(--ink); font-weight: 600; max-width: 480px; }
.blog-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.blog-post-tags a { font-size: 12.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; text-decoration: none; }
.blog-post-tags a:hover { color: var(--primary); border-color: var(--primary); }

.related-posts { padding: 20px 0 70px; }
.related-posts h2 { font-size: 22px; color: var(--ink); margin-bottom: 18px; }

@media (max-width: 900px) {
	.blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.blog-grid { grid-template-columns: 1fr; }
	.blog-tool-cta, .blog-post-tool-cta { flex-direction: column; align-items: flex-start; }
}

/* ---------- 1.4.3 visual polish: blue brand + screenshot-matched tools ---------- */
.brand { gap: 9px; align-items: center; }
.brand-logo { width: 170px; height: 42px; display: block; object-fit: contain; }
.brand-custom-logo, .brand-custom-logo .custom-logo-link { display: flex; align-items: center; }
.brand-custom-logo img.custom-logo { width: auto; max-width: 180px; max-height: 42px; height: auto; }

.hero { padding-top: 28px; padding-bottom: 30px; }
.hero h1 { margin-bottom: 8px; }
.hero-trust { margin-top: 12px; }
.ip-card { margin-top: 18px; }

/* Tool cards intentionally mirror the provided reference: compact icon at top,
   consistent title/description rhythm, and a bottom-aligned Open tool CTA. */
.tools-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tool-card {
	min-height: 198px;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 20px;
	background: #080f1b;
	border: 1px solid rgba(102,133,176,.24);
	border-radius: 12px;
	box-shadow: none;
}
.tool-card:hover {
	transform: translateY(-2px);
	border-color: rgba(76,141,255,.48);
	box-shadow: 0 18px 44px rgba(0,0,0,.26);
}
.tool-card-top { min-height: 44px; display: flex; align-items: flex-start; }
.icon-box {
	width: 40px;
	height: 40px;
	border-radius: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(76,141,255,.08);
	border: 1px solid rgba(76,141,255,.34);
	color: #4c8dff;
	box-shadow: none;
}
.tool-svg { width: 25px; height: 25px; display: block; filter: none; }
.tool-card h3 { font-size: 16px; line-height: 1.25; margin: 16px 0 6px; color: #f4f7ff; }
.tool-card p { color: #8fa3c2; font-size: 13px; line-height: 1.6; min-height: 42px; margin: 0; }
.tool-card-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 14px;
	color: #4c8dff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	transition: transform .15s ease, color .15s ease;
}
.tool-card-arrow .icon { width: 17px; height: 17px; }
.tool-card:hover .tool-card-arrow { transform: translateX(2px); color: #79adff; }

@media (max-width: 900px) {
	.tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
	.brand-logo { width: 148px; height: 37px; }
	.hero { padding-top: 22px; padding-bottom: 24px; }
	.ip-card { margin-top: 14px; }
	.tools-grid { grid-template-columns: 1fr; gap: 14px; }
}


/* ========================================================================
 * WhatIP 1.5.2 — FINAL visual fixes
 * These rules intentionally come last so older homepage overrides cannot
 * override the requested blue branding and compact tools layout.
 * ======================================================================== */
:root {
	--whatip-blue: #4c8dff;
	--whatip-blue-hover: #6fa6ff;
	--whatip-blue-soft: rgba(76, 141, 255, .10);
	--whatip-blue-border: rgba(76, 141, 255, .34);
}

/* Global brand/action color: match the animated globe. */
.btn-primary,
.header-cta {
	background: #4c8dff !important;
	background-image: none !important;
	color: #fff !important;
	border-color: #4c8dff !important;
	box-shadow: 0 10px 28px rgba(76, 141, 255, .24) !important;
}
.btn-primary:hover,
.header-cta:hover {
	background: #6fa6ff !important;
	background-image: none !important;
	border-color: #6fa6ff !important;
}
.btn-secondary,
.btn-ghost {
	color: #dce9ff !important;
	background: rgba(76, 141, 255, .10) !important;
	border-color: rgba(76, 141, 255, .24) !important;
}
.btn-secondary:hover,
.btn-ghost:hover {
	background: rgba(76, 141, 255, .18) !important;
	border-color: rgba(76, 141, 255, .42) !important;
}
.copy-icon-btn:hover,
.link-button:hover,
.back-link:hover { color: #6fa6ff; }

/* Remove decorative underlines from navigation and general UI links. */
.primary-nav .nav-list > li > a::after { display: none !important; }
.primary-nav .nav-list > li > a,
.link-button,
.back-link,
.footer-links a,
#tools a { text-decoration: none !important; }

/* Compact tools section, closely matching the supplied screenshot. */
#tools.section { padding-top: 54px; padding-bottom: 70px; }
#tools .section-head {
	max-width: 760px;
	margin: 0 0 28px;
}
#tools .section-head .eyebrow {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 0 12px !important;
	color: #4c8dff !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	letter-spacing: .16em !important;
}
#tools .section-head .eyebrow-dot { display: none; }
#tools .section-head h2 {
	font-size: 30px !important;
	line-height: 1.12 !important;
	margin: 0 !important;
	color: #f5f8ff !important;
}
#tools .section-head > p:last-child {
	font-size: 13px !important;
	line-height: 1.55 !important;
	margin-top: 12px !important;
	color: #8fa3c2 !important;
}

#tools .tools-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 16px !important;
}
#tools .tool-card {
	min-width: 0 !important;
	min-height: 198px !important;
	height: 198px !important;
	display: flex !important;
	flex-direction: column !important;
	padding: 20px !important;
	background: #080f1b !important;
	border: 1px solid rgba(102, 133, 176, .24) !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	text-decoration: none !important;
}
#tools .tool-card:hover {
	transform: translateY(-2px) !important;
	border-color: rgba(76, 141, 255, .55) !important;
	box-shadow: 0 18px 44px rgba(0,0,0,.26) !important;
}
#tools .tool-card-top {
	min-height: 40px !important;
	height: 40px !important;
	margin: 0 !important;
}
#tools .icon-box {
	width: 40px !important;
	height: 40px !important;
	border-radius: 11px !important;
	background: rgba(76, 141, 255, .08) !important;
	border: 1px solid rgba(76, 141, 255, .38) !important;
	color: #4c8dff !important;
	box-shadow: 0 0 18px rgba(76, 141, 255, .05) !important;
}
#tools .tool-svg,
#tools .tool-svg * {
	color: #4c8dff !important;
	stroke: currentColor;
}
#tools .tool-svg { width: 24px !important; height: 24px !important; }
#tools .tool-card h3 {
	font-size: 15px !important;
	line-height: 1.25 !important;
	margin: 14px 0 5px !important;
	color: #f4f7ff !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}
#tools .tool-card p {
	color: #8fa3c2 !important;
	font-size: 12px !important;
	line-height: 1.55 !important;
	margin: 0 !important;
	min-height: 37px !important;
	height: 37px !important;
	max-height: 37px !important;
	overflow: hidden !important;
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	line-clamp: 2 !important;
	text-decoration: none !important;
}
#tools .tool-card-arrow {
	margin-top: auto !important;
	padding-top: 12px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	font-size: 12px !important;
	line-height: 1 !important;
	font-weight: 700 !important;
	color: #4c8dff !important;
	text-decoration: none !important;
}
#tools .tool-card-arrow .icon {
	width: 16px !important;
	height: 16px !important;
	color: #4c8dff !important;
}
#tools .tool-card:hover .tool-card-arrow { color: #6fa6ff !important; }

/* The ticker: fixed seamless two-copy track. Do not disable its animation;
 * it is intentionally requested as an always-moving decorative strip. */
.tools-ticker {
	width: 100% !important;
	overflow: hidden !important;
	position: relative !important;
	padding: 13px 0 !important;
	background: rgba(255,255,255,.018) !important;
	border-top: 1px solid rgba(105,137,185,.14) !important;
	border-bottom: 1px solid rgba(105,137,185,.14) !important;
	mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%) !important;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%) !important;
}
.tools-ticker-track {
	display: flex !important;
	width: max-content !important;
	max-width: none !important;
	will-change: transform !important;
	animation: whatip-ticker-scroll-1_5_2 28s linear infinite !important;
}
.tools-ticker-group {
	display: flex !important;
	align-items: center !important;
	flex: 0 0 auto !important;
	width: max-content !important;
}
.tools-ticker-item {
	padding: 0 20px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: .18em !important;
	color: #7183a0 !important;
	white-space: nowrap !important;
}
.tools-ticker-dot {
	width: 4px !important;
	height: 4px !important;
	background: #4c8dff !important;
	box-shadow: 0 0 7px rgba(76,141,255,.65) !important;
}
@keyframes whatip-ticker-scroll-1_5_2 {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 900px) {
	#tools .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 620px) {
	#tools.section { padding-top: 42px; }
	#tools .section-head h2 { font-size: 26px !important; }
	#tools .section-head > p:last-child { font-size: 12px !important; }
	#tools .tools-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
	#tools .tool-card { height: 190px !important; min-height: 190px !important; }
}


/* ========================================================================
 * WhatIP 1.6.0 — supplied logo + performance/SEO polish
 * ======================================================================== */
.brand picture { display:block; line-height:0; }
.brand-logo { width:190px !important; height:auto !important; max-height:48px !important; object-fit:contain; display:block; }
.footer-brand-logo .brand-logo { width:190px !important; max-height:48px !important; }
@media (max-width: 900px) { .brand-logo { width:165px !important; max-height:42px !important; } }
@media (max-width: 520px) { .brand-logo { width:150px !important; max-height:38px !important; } }
/* Avoid expensive translucent blur on low-power/mobile devices. */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .site-header { backdrop-filter:none; -webkit-backdrop-filter:none; background:rgba(3,8,23,.97); }
}

/* WhatIP 1.6.0 -- editorial hub / internal-linking polish */
.section-head-row { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }
.text-link { color:var(--primary); font-size:13px; font-weight:700; text-decoration:none; white-space:nowrap; }
.text-link:hover { color:var(--ink); }
.recent-posts-section { border-top:1px solid var(--border); }
.recent-posts-grid { margin-top:22px; }
.learn-page .learn-grid { margin-bottom:38px; }
.learn-page .learn-card h2 { font-size:20px; }
.learn-page .learn-card p { font-size:14px; }
.learn-article-links { margin-top:42px; padding-top:28px; border-top:1px solid var(--border); }
.learn-article-links h2 { margin-bottom:16px; }
@media (max-width:640px) {
  .section-head-row { align-items:flex-start; flex-direction:column; }
  .text-link { white-space:normal; }
}


/* WhatIP 1.7.2: eight-tool grid + editable tool SEO content */
#tools .tools-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tool-seo-section { padding-top: 18px; }
.tool-seo-intro { max-width: 820px; margin-bottom: 22px; }
.tool-seo-intro h2 { margin: 4px 0 0; }
.tool-seo-image-wrap { margin: 0 0 30px; }
.tool-seo-image { display: block; width: 100%; max-width: 900px; height: auto; border: 1px solid var(--border); border-radius: 18px; }
.tool-custom-content { max-width: 900px; margin-bottom: 34px; }
.tool-custom-content h2, .tool-custom-content h3 { margin-top: 30px; }
.tool-custom-content img { max-width: 100%; height: auto; border-radius: 14px; }
.tool-default-content { margin-top: 10px; }
@media (max-width: 1050px) { #tools .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { #tools .tools-grid { grid-template-columns: 1fr; } .tool-seo-image { border-radius: 14px; } }
