:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dfe7f1;
  --blue: #0b5fff;
  --blue-dark: #0847bf;
  --blue-soft: #eaf1ff;
  --cyan: #0891b2;
  --green: #15803d;
  --green-soft: #eaf8ef;
  --amber: #b45309;
  --amber-soft: #fff7e6;
  --red: #dc2626;
  --red-soft: #fff0f0;
  --shadow: 0 26px 76px -38px rgba(15, 36, 72, .34);
  --shadow-soft: 0 14px 38px -28px rgba(15, 36, 72, .32);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% -8%, rgba(11, 95, 255, .13), transparent 34rem),
    radial-gradient(circle at 92% 20%, rgba(8, 145, 178, .07), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Segoe UI Variable Text", "Segoe UI", "Noto Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
svg { display: block; width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid rgba(11, 95, 255, .35); outline-offset: 2px; }
::selection { background: rgba(11, 95, 255, .18); }

.skip-link { position: fixed; left: 16px; top: -64px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.shell { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(211, 222, 236, .82); background: rgba(255, 255, 255, .88); backdrop-filter: blur(18px) saturate(150%); }
.header-inner { width: min(1360px, calc(100% - 32px)); min-height: 70px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 320px) minmax(0, 1fr); align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 10px; font-size: 1.125rem; font-weight: 760; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--blue); color: white; box-shadow: 0 8px 22px rgba(11, 95, 255, .22); }
.brand-mark svg { width: 24px; height: 24px; stroke-width: 2; }
.brand-mark .brand-dot { fill: #67e8f9; stroke: none; }
.desktop-nav { display: flex; align-items: center; gap: 10px; color: #475569; font-size: .91rem; font-weight: 650; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--blue); }
.header-lookup { position: relative; width: 100%; min-width: 0; grid-column: 2; grid-row: 1; }
.header-lookup input { width: 100%; min-width: 0; min-height: 46px; padding: 9px 50px 9px 14px; border: 1px solid #c6d2e1; border-radius: 12px; background: white; color: #24334b; font: 600 .88rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; box-shadow: 0 5px 16px rgba(15, 44, 84, .05); }
.header-lookup input::placeholder { color: #8794a7; font-weight: 500; opacity: 1; }
.header-lookup input:focus { position: relative; z-index: 1; border-color: var(--blue); outline: 3px solid rgba(11, 95, 255, .14); }
.header-lookup button { position: absolute; z-index: 2; top: 1px; right: 1px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 11px; background: transparent; color: #526783; cursor: pointer; transition: color .18s ease, background .18s ease; }
.header-lookup button:hover { background: #edf3ff; color: var(--blue); }
.header-lookup button:focus-visible { outline: 3px solid rgba(11, 95, 255, .24); outline-offset: -3px; }
.header-lookup button svg { width: 19px; height: 19px; }
.header-tools { min-width: 0; grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.language-menu { position: relative; }
.language-button { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: .875rem; font-weight: 700; list-style: none; cursor: pointer; }
.language-button::-webkit-details-marker { display: none; }
.language-options { position: absolute; right: 0; top: 48px; width: 150px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: var(--shadow); }
.language-options a { display: block; padding: 8px 10px; border-radius: 7px; font-size: .86rem; font-weight: 650; }
.language-options a:hover, .language-options a[aria-current="page"] { background: var(--blue-soft); color: var(--blue-dark); }
.language-options a { min-height: 44px; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { width: 44px; height: 44px; display: grid; align-content: center; gap: 4px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: white; list-style: none; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { display: block; height: 2px; border-radius: 2px; background: #475569; }
.mobile-menu nav { position: absolute; right: 0; top: 48px; width: 210px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
.mobile-menu nav a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 650; }
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); }
.mobile-menu-label { display: block; margin: 6px 10px 2px; color: #94a3b8; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.home-intro { position: relative; padding-block: 62px 34px; }
.intro-copy { max-width: 760px; margin-bottom: 24px; }
.eyebrow { margin: 0; color: var(--blue-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: #081225; line-height: 1.14; letter-spacing: -.035em; }
h1 { margin-bottom: 12px; font-size: clamp(2.15rem, 5vw, 3.45rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.05rem; letter-spacing: -.018em; }
.intro-copy > p:last-child { margin: 0; color: #526177; font-size: clamp(1rem, 2vw, 1.125rem); }

.ip-card { position: relative; overflow: hidden; border: 1px solid rgba(173, 195, 226, .75); border-radius: 22px; background: var(--surface); box-shadow: 0 34px 90px -48px rgba(15, 47, 94, .55); }
.ip-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--blue), #38bdf8 58%, #67e8f9); }
.ip-card-main { padding: clamp(24px, 4vw, 38px); background: linear-gradient(135deg, rgba(255,255,255,.98) 46%, rgba(237,245,255,.92)); }
.ip-label-row, .ip-value-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ip-label-row h2 { margin: 0; color: #526177; font-size: .9rem; font-weight: 750; letter-spacing: 0; }
.public-ip-heading { display: flex; align-items: center; gap: 9px; }
.public-ip-heading svg, [data-details-toggle-icon] { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge { display: inline-flex; align-items: center; min-height: 25px; padding: 1px 9px; border: 1px solid #bdd1ff; border-radius: 999px; background: #edf4ff; color: #164fa7; font-size: .75rem; font-weight: 800; }
.ip-value-row { margin-top: 8px; }
.ip-value { max-width: 78%; padding: 0; border: 0; background: transparent; color: var(--blue-dark); font: 700 clamp(1.85rem, 6vw, 3.55rem)/1.18 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; letter-spacing: -.055em; overflow-wrap: anywhere; text-align: left; cursor: copy; }
.ip-value:hover { color: var(--blue); }
.ip-value { min-height: 44px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 17px; border: 1px solid transparent; border-radius: 9px; font-size: .91rem; font-weight: 750; line-height: 1.2; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .62; cursor: wait; transform: none; }
.button-primary { background: var(--blue); color: white; box-shadow: 0 8px 22px rgba(11, 95, 255, .18); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { border-color: #cdd8e6; background: white; color: #243147; }
.button-secondary:hover { border-color: #99b2d1; background: #f8fbff; }
.copy-button svg { width: 18px; height: 18px; }
.connection-list { margin: 0; }
.connection-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; border-block: 1px solid #e1e9f3; }
.connection-list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; gap: 12px 24px; padding: 13px 0; border-bottom: 1px solid #e1e9f3; }
.connection-list dt { min-width: 0; color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }
.connection-list dd { min-width: 0; margin: 0; color: #243147; font-size: .91rem; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.connection-summary > div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 14px 18px; border-right: 1px solid #e1e9f3; border-bottom: 0; }
.connection-summary > div:first-child { padding-left: 0; }
.connection-summary > div:last-child { padding-right: 0; border-right: 0; }
.connection-summary dd { width: 100%; text-align: left; }
.detail-label { display: flex; align-items: center; gap: 7px; }
.label-icon { width: 26px; height: 26px; flex: 0 0 26px; padding: 5px; border-radius: 8px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-blue { color: #2563eb; background: #eaf1ff; }
.icon-cyan { color: #087f9b; background: #e4f7fb; }
.icon-green { color: #15803d; background: #eaf8ef; }
.icon-amber { color: #b45309; background: #fff4df; }
.icon-violet { color: #7c3aed; background: #f1eafe; }
.connection-list .detail-value { display: flex; align-items: flex-start; justify-content: flex-end; gap: 6px; }
.detail-value [data-location] { min-width: 0; }
.country-flag { flex: 0 0 auto; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 1.1rem; line-height: 1.3; }
.client-value { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
.client-value-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.client-value > span { min-width: 0; }
.fine-print { margin: 18px 0 0; color: var(--muted); font-size: .78rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }
.connection-details { padding: 14px clamp(22px, 4vw, 34px) 22px; border-top: 1px solid #edf1f6; }
.connection-details-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.connection-details-list > div { min-width: 0; }
.location-map { margin-top: 24px; }
.location-map h3 { margin-bottom: 6px; font-size: .95rem; }
.location-map p { margin: 0 0 12px; color: var(--muted); font-size: .8rem; }
.location-map iframe { display: block; width: 100%; height: 280px; border: 0; border-radius: 10px; background: #edf1f6; }
.location-map .map-attribution { margin: 8px 0 0; font-size: .75rem; }
.map-attribution a { text-decoration: underline; text-underline-offset: 2px; }
.map-actions { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; }
.map-fallback-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-top: 8px; padding: 6px 10px; border: 1px solid #c9d8ea; border-radius: 8px; background: #f8fbff; color: var(--blue-dark); font-size: .78rem; font-weight: 750; }
.map-fallback-link:hover { border-color: #98b5dc; background: var(--blue-soft); }
.map-fallback-link svg { width: 16px; height: 16px; flex: 0 0 16px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 22px; color: #526177; font-size: .875rem; }
.trust-row span::first-letter { color: var(--green); }

.context-section { padding-block: 46px 64px; }
.context-heading { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 40px; margin-bottom: 24px; }
.context-heading h2 { max-width: 720px; margin: 8px 0 0; }
.context-heading > p { margin: 0 0 4px; color: var(--muted); font-size: .95rem; }
.context-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.context-card { min-width: 0; padding: 22px; border: 1px solid #dbe5f0; border-radius: 18px; background: rgba(255,255,255,.88); box-shadow: var(--shadow-soft); }
.context-card-header { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.context-card-header h3 { margin: 1px 0 0; font-size: 1rem; }
.context-icon { position: relative; width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #cfe0fa; border-radius: 12px; background: #edf5ff; color: var(--blue-dark); }
.context-icon::before, .context-icon::after { content: ""; position: absolute; }
.context-icon-device::before { width: 21px; height: 14px; border: 2px solid currentColor; border-radius: 3px; }
.context-icon-device::after { width: 12px; height: 2px; bottom: 8px; border-radius: 3px; background: currentColor; }
.context-icon-time::before { width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 50%; }
.context-icon-time::after { width: 6px; height: 7px; margin: -4px 0 0 4px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.context-icon-weather::before { width: 17px; height: 11px; bottom: 10px; border: 2px solid currentColor; border-radius: 10px; background: #edf5ff; }
.context-icon-weather::after { width: 11px; height: 11px; top: 8px; right: 8px; border: 2px solid #f59e0b; border-radius: 50%; }
.context-list { display: grid; gap: 0; margin: 0; }
.context-list div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid #edf1f6; }
.context-list dt { color: var(--muted); font-size: .79rem; }
.context-list dd { max-width: 65%; margin: 0; color: #20304a; font-size: .82rem; font-weight: 760; text-align: right; overflow-wrap: anywhere; }
.clock-value { margin: 8px 0 3px; color: #10213b; font: 720 clamp(2rem, 4vw, 2.75rem)/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: -.06em; }
.clock-date { min-height: 48px; margin: 0 0 13px; color: #526177; font-size: .88rem; text-transform: capitalize; }
.context-list-compact div { padding-bottom: 0; }
.weather-primary { min-height: 72px; display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 3px 0 12px; }
.weather-primary strong { color: #10213b; font-size: clamp(2.15rem, 4vw, 3rem); line-height: 1; letter-spacing: -.06em; }
.weather-primary span { max-width: 55%; color: #526177; font-size: .82rem; font-weight: 700; text-align: right; }
.context-card-weather[data-status="unavailable"] .context-icon { filter: grayscale(1); opacity: .72; }
.context-note { margin: 15px 0 0; color: #8190a4; font-size: .68rem; line-height: 1.45; }
.context-note a { color: #526177; text-decoration: underline; text-underline-offset: 2px; }

.tools-section { padding-block: 72px; border-block: 1px solid var(--line); background: rgba(255,255,255,.9); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2 { max-width: 720px; margin: 7px 0 0; }
.section-heading > a, .text-link { color: var(--blue-dark); font-weight: 750; }
.section-heading > a:hover, .text-link:hover { text-decoration: underline; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.tool-card { min-height: 235px; display: flex; flex-direction: column; align-items: flex-start; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(155deg, #fff, #f9fbff); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.tool-card:first-child { border-color: #c6d9f8; background: linear-gradient(145deg, #fafdff, #eef5ff); }
.tool-card:hover { transform: translateY(-3px); border-color: #9ebbea; background: #fff; box-shadow: 0 22px 44px -30px rgba(15, 53, 108, .5); }
.tool-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #cfe0f7; border-radius: 13px; background: #edf4ff; color: #175cc8; box-shadow: 0 7px 18px rgba(26, 75, 143, .08); }
.tool-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool-icon-radio { border-color: #d8d0f6; background: #f3efff; color: #7352bd; }
.tool-icon-globe { border-color: #bfe5df; background: #eaf8f5; color: #087b69; }
.tool-icon-activity { border-color: #f4d6b5; background: #fff4e8; color: #b35d11; }
.tool-icon-shield { border-color: #c8e5d0; background: #edf9f0; color: #1c8141; }
.tool-icon-eye { border-color: #e4cde2; background: #fbf0fa; color: #9a4a92; }
.tool-icon-gauge { border-color: #c7dce9; background: #edf7fb; color: #21708f; }
.tool-card h3 { margin: 18px 0 7px; }
.tool-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.tool-link { margin-top: auto; padding-top: 17px; color: var(--blue-dark); font-size: .84rem; font-weight: 750; }
.ad-slot { height: 110px; display: grid; place-items: center; margin-block: 32px; border: 1px dashed #ccd7e5; border-radius: 11px; background: rgba(255, 255, 255, .52); color: #94a3b8; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.ad-slot .adsbygoogle { width: 100%; min-height: 90px; }
.learn-section { padding-block: 42px 72px; }
.learn-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 90px); align-items: start; }
.learn-grid h2 { margin: 8px 0 14px; }
.learn-grid > div:first-child > p:not(.eyebrow) { color: #526177; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 18px 28px 18px 0; color: #243147; font-weight: 750; cursor: pointer; }
.faq-list p { margin: 0 0 18px; color: var(--muted); font-size: .92rem; }

.page-hero { padding-block: 48px 30px; }
.page-hero-inner { max-width: 780px; }
.page-hero h1 { margin: 8px 0 12px; }
.page-hero p:last-child { margin: 0; color: #526177; font-size: 1.08rem; }
.work-card { overflow: hidden; margin-bottom: 42px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.work-card-header { padding: clamp(22px, 4vw, 32px); border-bottom: 1px solid var(--line); background: linear-gradient(135deg, white, #f4f8ff); }
.work-card-header h2 { margin-bottom: 8px; }
.work-card-header p { margin: 0; color: var(--muted); }
.work-card-body { padding: clamp(22px, 4vw, 32px); }
.status-line { display: flex; align-items: center; gap: 10px; min-height: 28px; margin-bottom: 20px; color: #475569; font-weight: 650; }
.status-dot { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: #94a3b8; box-shadow: 0 0 0 4px #f1f5f9; }
.status-dot.running { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); animation: pulse 1.3s ease-in-out infinite; }
.status-dot.good, .status-dot.passed { background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.status-dot.attention { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.status-dot.unknown { background: #64748b; }
@keyframes pulse { 50% { transform: scale(.65); opacity: .65; } }
.result-panel { min-height: 110px; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: #f8fafc; }
.result-panel[hidden] { display: none; }
.result-title { margin: 0 0 4px; color: var(--ink); font-size: 1rem; font-weight: 800; }
.result-copy { margin: 0; color: var(--muted); font-size: .9rem; }
.result-list { display: grid; gap: 8px; margin: 15px 0 0; padding: 0; list-style: none; }
.result-list li { display: flex; justify-content: space-between; gap: 20px; padding-top: 8px; border-top: 1px solid var(--line); font-size: .88rem; }
.result-list strong { text-align: right; overflow-wrap: anywhere; }
.result-actions { margin-top: 22px; }
.lookup-form label { display: block; margin-bottom: 8px; color: #334155; font-size: .88rem; font-weight: 750; }
.lookup-input-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.lookup-input-row input { width: 100%; min-width: 0; height: 46px; padding: 9px 13px; border: 1px solid #cbd7e5; border-radius: 9px; background: white; color: var(--ink); font: 650 .96rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.lookup-input-row input:focus { border-color: var(--blue); outline: 3px solid rgba(11, 95, 255, .14); }
.lookup-status { margin: 20px 0 0; }
.lookup-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 15px 0 0; }
.lookup-result-grid div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.lookup-result-grid dt { color: var(--muted); font-size: .84rem; }
.lookup-result-grid dd { margin: 0; max-width: 65%; font-size: .86rem; font-weight: 750; text-align: right; overflow-wrap: anywhere; }
.lookup-note { margin-bottom: 0; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 72px; }
.info-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.info-card h2 { margin-bottom: 10px; font-size: 1.12rem; letter-spacing: -.018em; }
.info-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.progress-track { height: 9px; overflow: hidden; border-radius: 999px; background: #e8eef6; }
.progress-bar { width: 0; height: 100%; border-radius: inherit; background: var(--blue); transition: width .25s ease; }
.check-list { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.check-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid #edf1f6; }
.check-state { width: 20px; height: 20px; display: grid; place-items: center; border: 2px solid #cbd5e1; border-radius: 50%; color: white; font-size: .7rem; font-weight: 900; }
.check-row[data-status="running"] .check-state { border-color: var(--blue); border-top-color: transparent; animation: spin .8s linear infinite; }
.check-row[data-status="passed"] .check-state { border-color: var(--green); background: var(--green); }
.check-row[data-status="attention"] .check-state { border-color: var(--amber); background: var(--amber); }
.check-row[data-status="unknown"] .check-state { border-color: #64748b; background: #64748b; }
.check-row small { color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }
.summary-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid #f3d7a7; border-radius: 11px; background: var(--amber-soft); }
.summary-banner[hidden] { display: none; }
.summary-banner.good { border-color: #b9e3c5; background: var(--green-soft); }
.summary-banner h3, .summary-banner p { margin: 0; }
.summary-banner p { color: var(--muted); font-size: .85rem; }

.article-shell { width: min(820px, calc(100% - 32px)); margin: 0 auto; padding: 50px 0 80px; display: grid; gap: 18px; }
.article-shell, .info-grid, .info-card, .notice, .article-shell *, .info-grid > * { min-width: 0; max-width: 100%; }
.article-shell h1 { margin-bottom: 12px; }
.article-shell h2 { margin: 36px 0 10px; font-size: 1.35rem; }
.article-shell p, .article-shell li { color: #526177; }
.article-shell .info-card h2 { margin: 0 0 10px; }
.article-shell .info-card p + p { margin-top: 12px; }
.article-shell pre { max-width: 100%; overflow-x: auto; white-space: pre; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #0f172a; color: #dbeafe; font-size: .84rem; }
.article-shell code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.article-shell :not(pre) > code { overflow-wrap: anywhere; word-break: break-word; padding: 2px 5px; border-radius: 5px; background: var(--blue-soft); color: var(--blue-dark); }
.notice { padding: 16px 18px; border-left: 4px solid var(--blue); border-radius: 8px; background: var(--blue-soft); color: #24456e; }
.notice p { margin: 6px 0 0; }

.site-footer { border-top: 1px solid var(--line); background: white; }
.footer-inner { width: min(1180px, calc(100% - 32px)); min-height: 170px; margin-inline: auto; display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: center; gap: 30px; }
.footer-brand { font-size: 1rem; }
.footer-brand .brand-mark { width: 22px; height: 22px; border-radius: 7px; box-shadow: none; }
.footer-brand .brand-mark svg { width: 14px; height: 14px; }
.footer-inner > div p { margin: 8px 0 0; color: var(--muted); font-size: .84rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px 20px; color: #526177; font-size: .85rem; }
.footer-inner nav a:hover { color: var(--blue); }
.copyright { color: #94a3b8; font-size: .8rem; white-space: nowrap; }

@media (min-width: 1161px) and (max-width: 1240px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) clamp(263px, calc(100vw - 898px), 280px) minmax(0, 1fr); gap: 14px; }
  .desktop-nav { gap: 4px; }
  .header-tools, .header-actions { gap: 4px; }
  .language-button { gap: 5px; padding-inline: 7px; }
}

@media (max-width: 1160px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
}

@media (max-width: 820px) {
  .connection-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .connection-summary > div:nth-child(2) { padding-right: 0; border-right: 0; }
  .connection-summary > div:nth-child(3) { padding-left: 0; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .context-heading { grid-template-columns: 1fr; gap: 12px; }
  .context-grid { grid-template-columns: 1fr; }
  .learn-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding-block: 36px; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 0; grid-template-columns: minmax(0, 1fr) auto; padding-block: 10px; gap: 9px 12px; }
  .brand { grid-column: 1; grid-row: 1; }
  .header-tools { grid-column: 2; grid-row: 1; }
  .header-lookup { width: 100%; grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 720px) {
  .connection-details-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .info-card p { font-size: .9rem; }
  .connection-list dt, .context-list dt, .context-list dd,
  .weather-primary span, .location-map p:not(.map-attribution),
  .tool-link, .lookup-result-grid dt, .lookup-result-grid dd,
  .summary-banner p, .footer-inner > div p, .footer-inner nav { font-size: .875rem; }
  .fine-print, .context-note { font-size: .78rem; }
  .ad-slot, .mobile-menu-label { font-size: .75rem; }
  .shell, .header-inner, .footer-inner, .article-shell { width: min(100% - 24px, 1180px); }
  .home-intro { padding-top: 34px; }
  .ip-label-row { align-items: flex-start; }
  .ip-value-row { align-items: flex-start; flex-direction: column; }
  .ip-value { max-width: 100%; font-size: clamp(1.7rem, 10vw, 2.4rem); }
  .copy-button { width: 100%; }
  .tool-grid, .info-grid { grid-template-columns: 1fr; }
  .connection-list > div { grid-template-columns: 1fr; gap: 6px; }
  .connection-summary { grid-template-columns: 1fr; }
  .connection-summary > div { display: flex; padding-inline: 0; border-right: 0; }
  .connection-list dd { text-align: left; }
  .connection-list .detail-value { justify-content: flex-start; }
  .context-list div { gap: 10px; }
  .context-list dt { min-width: 0; flex: 0 1 40%; overflow-wrap: anywhere; }
  .context-list dd { min-width: 0; max-width: 60%; }
  .map-actions { align-items: flex-start; flex-direction: column; gap: 2px; }
  .button-row { flex-direction: column; }
  .button-row .button { width: 100%; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .tool-card { min-height: 215px; }
  .ad-slot { height: 90px; }
  .summary-banner { align-items: flex-start; flex-direction: column; }
  .check-row { grid-template-columns: 22px 1fr; }
  .check-row small { grid-column: 2; }
  .lookup-input-row, .lookup-result-grid { grid-template-columns: 1fr; }
  .lookup-input-row .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.speed-test-hero { padding-block: 24px 16px; }
.speed-test-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.speed-test-card { padding: 20px 24px; margin-bottom: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.speed-test-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.speed-test-heading h2 { margin: 0; font-size: 1.12rem; }
.speed-test-heading p { margin: 0; color: var(--muted); font-size: .86rem; }
.speedometer { --speed-angle: -90deg; --speed-progress: 0; width: min(100%, 310px); margin: 12px auto 10px; padding: 8px 12px 10px; border: 1px solid rgba(190, 207, 230, .72); border-radius: 18px; background: linear-gradient(180deg, #fff, #f2f7ff); box-shadow: inset 0 1px 0 #fff; }
.speedometer svg { display: block; width: 100%; height: auto; overflow: visible; }
.speedometer-track-halo, .speedometer-track, .speedometer-progress { fill: none; stroke-linecap: round; }
.speedometer-track-halo { stroke: rgba(68, 118, 194, .1); stroke-width: 17; }
.speedometer-track { stroke: #dce7f5; stroke-width: 9; }
.speedometer-progress { stroke: url(#speedometer-gradient); stroke-width: 9; stroke-dasharray: var(--speed-progress) 100; filter: drop-shadow(0 2px 3px rgba(11, 95, 255, .2)); transition: stroke-dasharray .7s cubic-bezier(.22, .9, .28, 1); }
.speedometer-ticks path { fill: none; stroke: #8ca0ba; stroke-width: 2; }
.speedometer-scale text { fill: #7b8ca3; stroke: none; font: 700 10px/1 "Segoe UI", sans-serif; text-anchor: middle; }
.speedometer-scale-ping { opacity: 0; }
.speedometer[data-phase="ping"] .speedometer-scale-speed { opacity: 0; }
.speedometer[data-phase="ping"] .speedometer-scale-ping { opacity: 1; }
.speedometer-needle { color: var(--blue); transform: rotate(var(--speed-angle)); transform-origin: 120px 120px; transition: transform .72s cubic-bezier(.22, .9, .28, 1); }
.speedometer-needle path { fill: none; stroke: currentColor; stroke-width: 3.5; filter: drop-shadow(0 4px 4px rgba(11, 95, 255, .22)); }
.speedometer-needle circle { fill: white; stroke: currentColor; stroke-width: 3.5; }
.speedometer-needle .speedometer-needle-cap { fill: currentColor; stroke: none; }
.speedometer-readout-panel { margin-top: 6px; text-align: center; }
.speedometer-readout-panel > span { display: block; margin-bottom: 1px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.speedometer-readout-panel strong { color: #082f73; font-size: clamp(2rem, 5vw, 2.65rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.055em; }
.speedometer-readout-panel small { color: #526783; font-size: .9rem; font-weight: 700; }
.speedometer[data-phase="upload"] .speedometer-needle { color: var(--green); }
.speedometer[data-phase="ping"] .speedometer-needle { color: var(--cyan); }
.speedometer[data-active="true"] .speedometer-needle { animation: speedometer-sweep 1.25s ease-in-out infinite alternate; }
@keyframes speedometer-sweep { from { transform: rotate(-72deg); } to { transform: rotate(72deg); } }
.speed-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.speed-metrics article { min-width: 0; padding: 13px 15px; background: var(--blue-soft); border: 1px solid var(--line); border-radius: 11px; }
.speed-metrics article:nth-child(2) { background: #f2efff; }
.speed-metrics article:nth-child(3) { background: #ecf9fa; }
.speed-metrics article:nth-child(4) { background: var(--green-soft); }
.speed-metrics h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 5px; color: #40516a; font-size: .82rem; font-weight: 750; letter-spacing: 0; }
.speed-metric-icon { width: 22px; height: 22px; display: inline-grid; place-items: center; flex: 0 0 22px; border-radius: 7px; background: rgba(255, 255, 255, .72); color: var(--blue); }
.speed-metric-icon svg { width: 14px; height: 14px; }
.speed-metric-value { display: flex; align-items: baseline; gap: 6px; }
.speed-metrics strong { display: block; color: var(--blue-dark); font-size: clamp(1.45rem, 3vw, 2.05rem); line-height: 1.1; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.speed-unit { color: var(--muted); font-size: .78rem; font-weight: 700; }
.speed-controls { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 5px 18px; }
.speed-controls [data-speed-status] { min-height: 1.45em; margin: 0; font-size: .88rem; }
.speed-controls progress { display: block; width: 100%; height: 8px; margin: 0; accent-color: var(--blue); }
.speed-controls button { grid-column: 2; grid-row: 1 / 3; }
.speed-test-card[data-state="running"] progress { animation: speed-progress-pulse 1.5s ease-in-out infinite; }
@keyframes speed-progress-pulse { 50% { opacity: .55; } }
.speed-controls button { max-width: 100%; white-space: normal; }
.speed-controls button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.speed-controls button:disabled { cursor: wait; opacity: .65; }
.speed-caveat { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; line-height: 1.5; }
.speed-metrics .speed-metric-unavailable { background: var(--amber-soft); border-color: #e9ce99; }
.speed-metric-unavailable strong { color: var(--amber); font-size: 1.35rem; }
.speed-error { margin: 10px 0 0; color: var(--amber); font-size: .85rem; }
.speed-metrics .speed-error { margin-top: 5px; font-size: .72rem; line-height: 1.3; }
.speed-metrics .speed-note { color: var(--muted); }
@media (max-width: 720px) {
  .speed-test-hero { padding-block: 28px 18px; }
  .speed-test-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .speed-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .speed-test-card { padding: 16px; }
  .speed-metrics article { padding: 11px 12px; }
  .speedometer { width: min(100%, 250px); margin-block: 12px 10px; padding: 7px 8px 9px; border-radius: 18px; }
  .speedometer-readout-panel strong { font-size: clamp(1.85rem, 11vw, 2.4rem); }
  .speed-controls { grid-template-columns: 1fr; grid-template-rows: auto; gap: 9px; }
  .speed-controls button { width: 100%; grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .speed-test-card[data-state="running"] progress { animation: none; }
  .speedometer[data-active="true"] .speedometer-needle { animation: none; }
}
