/* Helpnyx IPAM Enterprise website.
   Light, centred and brand-led: colours, gradient, fonts and curved shapes follow the Helpnyx Brand Guidelines. */

@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --cyan: #0CC0DF;
  --yellow: #FFDE59;
  --gradient: linear-gradient(90deg, #0CC0DF, #FFDE59);
  --deep-cyan: #087E9B;
  --cyan-shadow: #07566B;
  --amber: #C49E20;
  --white: #FFFFFF;
  --soft: #F7FBFC;
  --pale: #E7F5F8;
  --navy: #142B38;
  --body: #3B5261;
  --muted: #52697A;
  --line: #D5E7EC;
  --error: #B42318;
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 2px 4px rgba(20, 43, 56, 0.04), 0 14px 34px rgba(20, 43, 56, 0.08);
  --shadow-lg: 0 6px 14px rgba(20, 43, 56, 0.06), 0 30px 64px rgba(20, 43, 56, 0.14);
  --heading: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(12, 192, 223, 0.18); scroll-padding-top: 92px; }
body { margin: 0; background: var(--white); color: var(--body); font: 400 1.0313rem/1.65 var(--text); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan-shadow); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--deep-cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-family: var(--heading); letter-spacing: -0.02em; line-height: 1.16; }
h1 { font-size: clamp(2.35rem, 1.5rem + 3vw, 3.55rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 1.45rem + 1.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); font-size: 0.94em; white-space: nowrap; }
.h3-size { font-size: 1.2rem; font-weight: 700; }
.small { font-size: 0.9375rem; }
.note { color: var(--muted); }
.hl { color: var(--cyan-shadow); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hl { background: linear-gradient(90deg, #07566B, #087E9B 60%, #0A8FAE); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}

/* A centred column on every screen */
.wrap { width: min(100% - 40px, 1200px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 40; padding: 10px 16px; background: var(--navy); color: var(--white); border-radius: 8px; }
.skip:focus { left: 8px; color: var(--white); }
.needs-js { display: none; }
.js .needs-js { display: grid; }
.js noscript { display: none; }
.needs-js-inline { display: none; }
.js .needs-js-inline { display: block; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid transparent; transition: box-shadow 0.25s ease, border-color 0.25s ease; }
.site-head.scrolled { border-color: var(--line); box-shadow: 0 8px 24px rgba(20, 43, 56, 0.07); }
.head-row { position: relative; display: flex; align-items: center; gap: 28px; min-height: 76px; transition: min-height 0.2s ease; }
.site-head.scrolled .head-row { min-height: 64px; }
.brand { display: block; flex: none; padding: 6px 0; }
.brand img { width: auto; height: 50px; transition: height 0.2s ease; }
.site-head.scrolled .brand img { height: 42px; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--gradient); transform: scaleX(0); transform-origin: left; }
.nav-links-wrap { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { display: block; padding: 9px 13px; border-radius: 999px; color: var(--navy); font: 600 0.9531rem var(--heading); text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease; }
.nav-links a:hover { background: var(--pale); }
.nav-links a[aria-current="page"] { background: var(--pale); color: var(--cyan-shadow); }
.head-actions { display: flex; align-items: center; gap: 8px; }
.menu { display: none; margin-left: auto; }
.menu summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--deep-cyan); border-radius: 999px; color: var(--navy); font: 600 0.9375rem var(--heading); cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: -20px; right: -20px; top: 100%; max-height: calc(100vh - 80px); overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 22px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 34px rgba(20, 43, 56, 0.12); }
.menu-panel a:not(.btn) { display: block; padding: 12px 2px; border-bottom: 1px solid var(--pale); color: var(--navy); font: 600 1.0625rem var(--heading); text-decoration: none; }
.menu-panel a[aria-current="page"] { color: var(--cyan-shadow); }
.menu-panel .btn { margin-top: 12px; width: 100%; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 26px; border-radius: 999px; font: 700 1rem var(--heading); text-align: center; text-decoration: none; transition: transform 0.18s var(--ease), box-shadow 0.18s ease, background-color 0.15s ease, color 0.15s ease; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:disabled { opacity: 0.42; cursor: not-allowed; }
button.btn { border: 0; cursor: pointer; }
.btn-primary { background: var(--gradient); color: var(--navy); box-shadow: 0 8px 20px rgba(12, 192, 223, 0.25); }
.btn-primary:hover { color: var(--navy); }
@media (hover: hover) { .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(12, 192, 223, 0.34); } }
.btn-outline, button.btn-outline { border: 1.5px solid var(--deep-cyan); background: var(--white); color: var(--cyan-shadow); }
.btn-outline:hover { background: var(--pale); color: var(--navy); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: 0.9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-dark { background: var(--navy); color: var(--white); box-shadow: 0 10px 24px rgba(20, 43, 56, 0.25); }
.btn-dark:hover { background: var(--cyan-shadow); color: var(--white); transform: translateY(-2px); }

/* Sections */
.section { padding-block: clamp(60px, 7vw, 96px); }
.section-soft { background: var(--soft); }
.section-pale { background: var(--pale); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 5px 14px 5px 11px; border-radius: 999px; background: var(--pale); color: var(--cyan-shadow); font: 700 0.8125rem var(--heading); letter-spacing: 0.02em; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gradient); }
.section-pale .eyebrow, .section-soft .eyebrow { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.intro { max-width: 780px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.intro > p:not(.eyebrow) { margin-top: 14px; font-size: 1.0938rem; }
.bar { display: none; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.6; }
.center-link { display: flex; justify-content: center; margin-top: 32px; }

/* Home hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFFFFF, #F7FBFC); }
.hero::before { content: ""; position: absolute; top: 0; right: 0; width: min(760px, 60%); height: 300px; background: url("img/swoosh.svg") top right / 100% 100% no-repeat; pointer-events: none; animation: drift 10s ease-in-out infinite alternate; transform-origin: top right; }
.hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(520px, 50%); height: 150px; background: url("img/swoosh.svg") top right / 100% 100% no-repeat; transform: rotate(180deg); opacity: 0.55; pointer-events: none; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(16px) scaleY(1.05); } }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 68px); align-items: center; padding-block: clamp(36px, 5vw, 64px) clamp(84px, 9vw, 116px); }
.hero .lead { margin-top: 18px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-points li { display: flex; flex-direction: column; min-width: 128px; flex: 1 1 128px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.hero-points b { color: var(--navy); font: 800 1.0625rem var(--heading); letter-spacing: -0.01em; }
.hero-points span { font-size: 0.8125rem; line-height: 1.35; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.7s var(--ease) both; }
.r2 { animation-delay: 0.07s; } .r3 { animation-delay: 0.14s; } .r4 { animation-delay: 0.21s; } .r5 { animation-delay: 0.28s; }

/* Layered hero graphic */
.stage { position: relative; padding: 14px 0 44px 28px; }
.stage::before { content: ""; position: absolute; inset: 44px -22px 16px 56px; border-radius: 30px; background: var(--gradient); opacity: 0.9; transform: rotate(2.4deg); }
.panel { position: relative; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--muted); font-size: 0.875rem; }
.panel .legend { margin: 0 0 12px; }
.panel-head b { color: var(--navy); font-family: var(--mono); font-weight: 600; }
.panel-tag { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--pale); color: var(--cyan-shadow); font: 700 0.6875rem var(--heading); letter-spacing: 0.04em; text-transform: uppercase; }
.float { position: absolute; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.record { left: -6px; bottom: 0; width: 268px; padding: 14px 16px; }
.record-state { display: flex; align-items: center; gap: 8px; color: var(--navy); font: 800 1rem var(--heading); }
.record-state i { flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 0 3px var(--pale); }
.record dl { margin: 8px 0 0; font-size: 0.8438rem; line-height: 1.35; }
.record dl div { display: flex; justify-content: space-between; gap: 14px; padding-block: 4px; border-top: 1px solid var(--pale); }
.record dt { color: var(--muted); }
.record dd { margin: 0; color: var(--navy); font-weight: 600; text-align: right; }
.record.flash .record-state, .record.flash dd { animation: settle 0.4s ease both; }
@keyframes settle { from { opacity: 0.25; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.chip-float { right: -10px; top: -2px; display: flex; align-items: center; gap: 9px; padding: 9px 14px; color: var(--navy); font: 700 0.8438rem var(--heading); animation-delay: -3s; }
.chip-float svg { width: 18px; height: 18px; color: var(--deep-cyan); }

/* Address maps */
.map { display: grid; grid-template-columns: 2.1em repeat(16, minmax(0, 1fr)); gap: 3px; align-items: center; font-family: var(--mono); }
.map > i { font-style: normal; font-size: 0.625rem; line-height: 1; color: var(--muted); text-align: right; padding-right: 4px; }
.map > i.col { padding: 0 0 3px; text-align: center; }
.map > span { aspect-ratio: 1; border-radius: 3px; transition: background-color 0.45s ease, box-shadow 0.3s ease; }
.map .f, .legend .f { background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.map .a, .legend .a { background: var(--cyan); }
.map .k, .legend .k { background: var(--deep-cyan); }
.map .l, .legend .l { background: var(--navy); }
.map .r, .legend .r { background: var(--yellow); }
.map .c, .legend .c { background: repeating-linear-gradient(45deg, #C49E20 0 2px, #E9CF76 2px 4px); }
.map .p, .legend .p { background: #E98A2B; }
.map .h { background: var(--gradient); box-shadow: 0 0 0 1.5px var(--cyan-shadow); }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
.map.enter > span { animation: pop 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.15) both; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; font-size: 0.75rem; }
.legend li { display: flex; align-items: center; gap: 5px; }
.legend i { display: block; width: 11px; height: 11px; border-radius: 3px; }

/* Facts card, overlapping the hero */
.facts { position: relative; z-index: 2; margin-top: clamp(-68px, -6vw, -44px); }
.facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.facts li { padding: 22px 26px; border-left: 1px solid var(--pale); }
.facts li:first-child { border-left: 0; }
.facts b { display: block; color: var(--cyan-shadow); font: 800 clamp(1.6rem, 1.3rem + 1vw, 2.25rem)/1.1 var(--heading); letter-spacing: -0.03em; }
.facts span { font-size: 0.9375rem; line-height: 1.4; }

/* Spreadsheet against the portal */
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.versus > div { min-width: 0; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); }
.versus > div:first-child { background: var(--soft); border: 1px solid var(--line); }
.versus > div:last-child { border: 2px solid transparent; background: linear-gradient(var(--white), var(--white)) padding-box, var(--gradient) border-box; box-shadow: var(--shadow); }
.sheet { border: 1px solid #C9D3D8; border-radius: 8px; background: var(--white); overflow: hidden; font: 400 0.8125rem/1.3 var(--text); }
.sheet-title { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: #EEF2F4; border-bottom: 1px solid #C9D3D8; color: var(--navy); font-weight: 600; }
.sheet-title span { color: var(--muted); font-weight: 400; white-space: nowrap; }
.sheet-scroll { overflow-x: auto; }
.sheet table { width: 100%; min-width: 430px; border-collapse: collapse; }
.sheet th, .sheet td { padding: 7px 10px; border: 1px solid #DDE4E8; text-align: left; font-weight: 400; color: var(--navy); white-space: nowrap; }
.sheet thead th { background: #F4F6F7; color: var(--muted); font-size: 0.75rem; }
.sheet .bad { background: #FDECEA; }
.sheet .bad b { color: var(--error); font-weight: 600; }
.sheet .warn { background: #FFF8DC; }
.sheet td.gone { color: var(--muted); text-decoration: line-through; }
.side-title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--navy); font: 800 1.1875rem var(--heading); }
.side-title svg { width: 24px; height: 24px; flex: none; color: var(--deep-cyan); }
.side-title.was svg { color: var(--error); }
.sheet-notes { margin-top: 14px; }
.sheet-notes li { position: relative; margin-top: 8px; padding-left: 22px; font-size: 0.9844rem; line-height: 1.45; }
.sheet-notes li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 2px; background: var(--error); }
.conflict { margin-bottom: 14px; padding: 13px 15px; border-left: 4px solid var(--error); border-radius: 8px; background: #FDECEA; color: #7A1C13; font: 500 0.8125rem/1.45 var(--mono); }
.conflict b { display: block; margin-bottom: 2px; font: 700 0.9063rem var(--heading); }
.sheet-notes.good li { color: var(--navy); }
.sheet-notes.good li::before { top: 0.34em; width: 14px; height: 14px; left: 0; border-radius: 50%; background: var(--gradient); }

/* Block finder: built as it nears the screen, with its space held so nothing jumps */
#finder-map:empty { aspect-ratio: 1; }
#finder-list:empty { min-height: 190px; }
#finder-used:empty { min-height: 1.5em; }
.map-img { width: 100%; height: auto; }
.finder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding: clamp(18px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.finder-map-wrap, .finder-side { min-width: 0; }
.finder-side { display: flex; flex-direction: column; }
.ruler { height: 16px; background: var(--pale); margin-top: 12px; overflow: hidden; border-radius: 4px; }
.ticks-row { display: flex; justify-content: space-between; margin-top: 3px; color: var(--muted); font: 500 0.6875rem var(--mono); }
.finder-label { color: var(--navy); font: 700 0.9375rem var(--heading); }
.sizes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.sizes button { min-height: 44px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--navy); font: 700 0.9375rem var(--mono); cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease; }
.sizes button:hover { border-color: var(--deep-cyan); transform: translateY(-1px); }
.sizes button[aria-pressed="true"] { border-color: transparent; background: var(--gradient); }
.finder-out { min-height: 4.6em; margin-top: 14px; padding: 12px 15px; border-radius: var(--r-sm); background: var(--pale); color: var(--navy); font-size: 0.9844rem; line-height: 1.5; }
.finder-out strong { font-family: var(--mono); }
.finder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.link-btn { min-height: 44px; padding: 8px; border: 0; background: none; color: var(--cyan-shadow); font: 600 0.9375rem var(--heading); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.meter { height: 8px; margin-top: 16px; border-radius: 8px; background: var(--pale); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--gradient); transform-origin: left; transition: transform 0.45s ease; }
.finder-side .small { margin-top: 6px; }
.finder-list-title { margin-top: 16px; color: var(--navy); font: 700 0.9375rem var(--heading); }
.finder-list { margin-top: 6px; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; font-size: 0.8125rem; }
.finder-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 12px; border-top: 1px solid var(--pale); font-family: var(--mono); color: var(--navy); }
.finder-list li:first-child { border-top: 0; background: var(--pale); }
.finder-list em { font: 500 0.75rem var(--text); color: var(--muted); text-align: right; }
.finder-list li:first-child em { color: var(--cyan-shadow); font-weight: 700; }
.finder-list li.empty { background: none; font-family: var(--text); color: var(--muted); }

/* Feature tiles with working product details */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile { grid-column: span 4; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); min-width: 0; transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease; }
@media (hover: hover) { .tile:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-lg); } }
.tile.s5 { grid-column: span 5; } .tile.s7 { grid-column: span 7; } .tile.s6 { grid-column: span 6; }
.tile > p { margin-top: 5px; font-size: 0.9688rem; line-height: 1.5; }
.frag { margin-top: auto; padding-top: 16px; font-size: 0.8125rem; line-height: 1.35; }
.tile .map { grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 2px; }
.tile .map > span { aspect-ratio: 1.9; border-radius: 2px; }
.searchbox { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1.5px solid var(--deep-cyan); border-radius: var(--r-sm); color: var(--navy); font: 500 0.875rem var(--mono); }
.searchbox svg { width: 16px; height: 16px; color: var(--deep-cyan); flex: none; }
.caret { width: 1.5px; height: 1em; margin-left: -6px; background: var(--navy); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.rows { margin-top: 6px; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 12px; border-radius: 8px; font-family: var(--mono); color: var(--navy); }
.rows li.on { background: var(--pale); }
.rows em { font: 500 0.75rem var(--text); color: var(--muted); text-align: right; }
.rows li.on em { color: var(--cyan-shadow); font-weight: 700; }
.kv-table { width: 100%; border-collapse: collapse; font-family: var(--mono); }
.kv-table td { padding: 6px 8px; border-bottom: 1px solid var(--pale); color: var(--navy); }
.kv-table td + td { font-family: var(--text); text-align: right; }
.kv-table tr:last-child td { border-bottom: 0; }
.kv-table tr.fixed td { color: var(--muted); }
.kv-table strong { color: var(--cyan-shadow); }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr); align-items: center; gap: 4px; }
.flow > div { padding: 10px 4px; border-radius: var(--r-sm); background: var(--pale); text-align: center; color: var(--navy); font: 700 0.75rem var(--mono); }
.flow small { display: block; color: var(--muted); font: 400 0.6875rem var(--text); }
.flow svg { width: 18px; height: 18px; color: var(--deep-cyan); animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(-1px); opacity: 0.55; } 50% { transform: translateX(2px); opacity: 1; } }
.chain { display: grid; font-family: var(--mono); font-size: 0.75rem; }
.chain li { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; padding: 6px 0 6px 18px; color: var(--navy); }
.chain li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--gradient); }
.chain li:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 19px; bottom: -10px; width: 1.5px; background: var(--line); }
.chain span { color: var(--deep-cyan); }
.chain b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 12px; border-radius: var(--r-sm); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.queue p { color: var(--navy); }
.queue small { display: block; color: var(--muted); }
.queue-acts { display: flex; gap: 4px; font: 700 0.75rem var(--heading); }
.queue-acts span { padding: 6px 10px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--body); }
.queue-acts span + span { background: var(--gradient); box-shadow: none; color: var(--navy); }
.gauge { position: relative; height: 14px; margin-top: 22px; background: var(--pale); border-radius: 8px; }
.gauge > i { position: absolute; left: 0; top: 0; bottom: 0; width: 84%; background: var(--gradient); border-radius: 8px; transform-origin: left; animation: fillup 1.6s var(--ease) both; }
@keyframes fillup { from { transform: scaleX(0.1); } to { transform: none; } }
.gauge b { position: absolute; top: -18px; bottom: 0; border-left: 1.5px solid var(--navy); padding-left: 4px; color: var(--navy); font: 700 0.6875rem/1 var(--text); }
.gauge .w { left: 80%; } .gauge .c { left: 90%; }
.gauge-note { margin-top: 8px; color: var(--navy); }
.dots { width: 100%; border-collapse: collapse; }
.dots th, .dots td { padding: 6px 4px; border-bottom: 1px solid var(--pale); text-align: center; color: var(--navy); font-weight: 500; }
.dots tr:last-child > * { border-bottom: 0; }
.dots thead th { color: var(--muted); font-size: 0.75rem; }
.dots th:first-child { text-align: left; }
.dots i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--deep-cyan); }
.dots i.part { background: linear-gradient(90deg, var(--deep-cyan) 50%, var(--line) 50%); }
.dots i.none { background: var(--pale); box-shadow: inset 0 0 0 1px var(--line); }
.xl { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.75rem; }
.xl th, .xl td { padding: 5px 8px; border: 1px solid #DDE4E8; text-align: left; font-weight: 400; color: var(--navy); white-space: nowrap; }
.xl th { background: #F4F6F7; color: var(--muted); }
.xl .ok { color: var(--cyan-shadow); font-weight: 600; }
.xl .err { background: #FDECEA; color: var(--error); font-weight: 600; }
.frag-scroll { overflow-x: auto; }
.also { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin-top: 10px; }
.also li { position: relative; padding: 6px 0 6px 18px; color: var(--navy); font-size: 0.9375rem; }
.also li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 9px; height: 9px; border-radius: 50%; background: var(--gradient); }
.tile .center-link { justify-content: flex-start; margin-top: auto; padding-top: 14px; }

/* Cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.card p { margin-top: 6px; font-size: 0.9844rem; line-height: 1.55; }
.lift { transition: opacity 0.6s var(--ease) var(--delay, 0ms), transform 0.3s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease; }
@media (hover: hover) { .lift:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-lg); } }
.card .ticks { margin-top: 12px; }
.icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; background: var(--gradient); color: var(--navy); box-shadow: 0 6px 14px rgba(12, 192, 223, 0.22); }
.icon svg { width: 24px; height: 24px; }
.tag { align-self: flex-start; margin-bottom: 8px; padding: 3px 11px; border-radius: 999px; background: var(--pale); color: var(--cyan-shadow); font: 700 0.75rem var(--heading); }
.ticks li { position: relative; margin-top: 9px; padding-left: 28px; font-size: 0.9844rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.1em; width: 19px; height: 19px; border-radius: 50%; background: var(--pale); }
.ticks li::after { content: ""; position: absolute; left: 5.5px; top: 0.34em; width: 8px; height: 4.5px; border-left: 2px solid var(--cyan-shadow); border-bottom: 2px solid var(--cyan-shadow); transform: rotate(-45deg); }

/* Inner page heroes */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 5.5vw, 72px); background: linear-gradient(180deg, #FFFFFF, #F1F9FB); }
.page-hero::before { content: ""; position: absolute; top: 0; right: 0; width: min(620px, 55%); height: 200px; background: url("img/swoosh.svg") top right / 100% 100% no-repeat; pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.has-art { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2.15rem, 1.5rem + 2.4vw, 3.15rem); }
.page-hero .lead { margin-top: 14px; max-width: 42em; }
.page-hero .btn-row { margin-top: 24px; }
.art { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); font-size: 0.8438rem; line-height: 1.35; animation: bob 7s ease-in-out infinite alternate; }
.art-title { margin-bottom: 10px; color: var(--navy); font: 800 0.9688rem var(--heading); }
.art .map { grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 2px; }
.art .map > span { aspect-ratio: 1.45; border-radius: 2px; }
.art-price { color: var(--cyan-shadow); font: 800 2rem/1.1 var(--heading); letter-spacing: -0.03em; }

/* Real portal screens */
.shot { position: relative; margin: 0; min-width: 0; isolation: isolate; }
.shot::before { content: ""; position: absolute; z-index: -1; inset: 18px -12px 22px 22px; border-radius: var(--r-lg); background: var(--gradient); opacity: 0.85; }
.shot-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: #F4F8FC; box-shadow: var(--shadow-lg); }
.shot img { width: 100%; }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: 0.8125rem; }
.shot-narrow { max-width: 420px; margin-inline: auto; }

/* Split rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split > div > p:not(.eyebrow) { margin-top: 14px; }
.split .ticks { margin-top: 14px; }
.split.flip { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.flip > :first-child { order: 2; }
.split.top { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }

/* Numbered steps */
.steps { counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.steps > li::before { content: counter(step); display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; background: var(--gradient); color: var(--navy); font: 800 1.125rem var(--heading); }
.steps p { margin-top: 6px; font-size: 0.9844rem; line-height: 1.55; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); }
.table-wrap table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.9688rem; }
.table-wrap th, .table-wrap td { padding: 13px 18px; border-bottom: 1px solid var(--pale); text-align: left; vertical-align: top; }
.table-wrap thead th { background: var(--pale); color: var(--navy); font: 700 0.875rem var(--heading); }
.table-wrap tbody th { color: var(--navy); font: 600 0.9688rem var(--heading); }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.table-wrap tbody tr:hover > * { background: var(--soft); }
.fit { display: block; width: 100%; min-width: 120px; height: 12px; margin-top: 5px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--cyan) 0 calc(var(--w) - 1px), var(--white) calc(var(--w) - 1px) var(--w)); }
.fit-25 { --w: 50%; } .fit-26 { --w: 25%; } .fit-27 { --w: 12.5%; } .fit-28 { --w: 6.25%; } .fit-29 { --w: 3.125%; }
.fit-30 { --w: 1.5625%; } .fit-31 { --w: 0.78125%; } .fit-32 { background: var(--cyan); }

/* The life of a block */
.life { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.life li { position: relative; text-align: center; padding-inline: 6px; }
.life li:not(:last-child)::after { content: ""; position: absolute; top: 31px; left: calc(50% + 38px); right: calc(-50% + 30px); height: 3px; border-radius: 3px; background: var(--line); }
.node { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); color: var(--cyan-shadow); animation: nodepulse 12.5s linear infinite; }
.node svg { width: 27px; height: 27px; }
.life li:nth-child(2) .node { animation-delay: 2.5s; } .life li:nth-child(3) .node { animation-delay: 5s; } .life li:nth-child(4) .node { animation-delay: 7.5s; } .life li:nth-child(5) .node { animation-delay: 10s; }
@keyframes nodepulse { 0%, 20%, 100% { background: var(--white); box-shadow: inset 0 0 0 2px var(--line); color: var(--cyan-shadow); } 2%, 16% { background: linear-gradient(90deg, #0CC0DF, #FFDE59); box-shadow: 0 10px 22px rgba(12, 192, 223, 0.32); color: var(--navy); } }
.life p { margin-top: 5px; font-size: 0.9375rem; line-height: 1.5; }
.after-life { margin-top: 36px; }

/* Features page */
.jump { position: sticky; top: 64px; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.jump-row { display: flex; gap: 4px; padding-block: 8px; overflow-x: auto; scrollbar-width: none; }
.jump a { flex: none; padding: 7px 13px; border-radius: 999px; color: var(--navy); font: 600 0.875rem var(--heading); text-decoration: none; transition: background-color 0.15s ease; }
.jump a:hover { background: var(--pale); }
.jump a.on { background: var(--gradient); }
.features-list { padding-block: clamp(16px, 3vw, 32px) clamp(32px, 5vw, 56px); }
.feature { padding-block: clamp(40px, 5.5vw, 72px); scroll-margin-top: 124px; }
.feature + .feature { border-top: 1px solid var(--pale); }
.feature > div > p:not(.eyebrow) { margin-top: 14px; }

/* Numbered text list */
.numbered { margin-top: 18px; counter-reset: n; }
.numbered li { position: relative; counter-increment: n; margin-top: 14px; padding-left: 46px; font-size: 0.9844rem; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--gradient); color: var(--navy); font: 800 0.9375rem var(--heading); }
.numbered strong { color: var(--navy); }

/* Records model */
.model { display: grid; grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr); gap: 8px; align-items: stretch; }
.model-2 { margin-top: 16px; }
.model-box { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.model-box .icon { width: 40px; height: 40px; margin-bottom: 10px; border-radius: 11px; box-shadow: none; }
.model-box .icon svg { width: 20px; height: 20px; }
.model-box h3 { font-size: 1.0625rem; }
.model-box p { margin-top: 3px; font-size: 0.9219rem; line-height: 1.45; }
.model-arrow { display: grid; place-items: center; color: var(--deep-cyan); }
.model-arrow svg { width: 20px; height: 20px; animation: nudge 1.8s ease-in-out infinite; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: stretch; }
.price { padding: clamp(24px, 3vw, 38px); border: 2px solid transparent; border-radius: var(--r-lg); background: linear-gradient(var(--white), var(--white)) padding-box, var(--gradient) border-box; box-shadow: var(--shadow); }
.price-figure { margin-top: 8px; color: var(--navy); font: 800 clamp(2.8rem, 2.2rem + 2vw, 3.75rem)/1 var(--heading); letter-spacing: -0.04em; }
.price-unit { margin-top: 6px; color: var(--navy); font: 600 1.0313rem var(--heading); }
.price .ticks { margin-top: 14px; }
.calc { padding: clamp(24px, 3vw, 38px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--soft); }
.calc-label { display: block; margin-top: 14px; color: var(--navy); font: 600 0.9375rem var(--heading); }
.calc-input { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.calc-input input[type="range"] { flex: 1; min-width: 0; height: 44px; accent-color: var(--deep-cyan); }
.calc-input input[type="number"] { width: 92px; min-height: 46px; padding: 8px; border: 1.5px solid var(--deep-cyan); border-radius: var(--r-sm); background: var(--white); color: var(--navy); font: 700 1.0625rem var(--heading); text-align: center; }
.calc-out { margin: 12px 0 0; }
.calc-out > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-bottom: 1px solid var(--line); }
.calc-out dd { margin: 0; color: var(--navy); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-out .total { border-bottom: 0; align-items: baseline; }
.calc-out .total dt { color: var(--navy); font: 700 1.0625rem var(--heading); }
.calc-out .total dd { font: 800 clamp(1.6rem, 1.3rem + 1vw, 2.1rem) var(--heading); letter-spacing: -0.02em; color: var(--cyan-shadow); }
.calc .small { margin-top: 6px; }

/* Home pricing band in the signature gradient */
.price-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4.5vw, 56px); border-radius: 28px; background: var(--gradient); color: var(--navy); box-shadow: 0 24px 50px rgba(12, 192, 223, 0.22); }
.price-band .eyebrow { background: var(--white); }
.price-band p:not(.eyebrow) { margin-top: 10px; }
.price-band .price-figure { font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem); }
.price-band .price-unit { font-size: 1.0938rem; }
.band-card { padding: 24px 26px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.band-card .ticks { margin-top: 0; }
.band-card .ticks li:first-child { margin-top: 0; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 880px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq details:hover { border-color: var(--deep-cyan); }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary { position: relative; padding: 16px 52px 16px 20px; color: var(--navy); font: 700 1.0313rem/1.4 var(--heading); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pale); color: var(--cyan-shadow); font: 700 1.125rem/1 var(--heading); }
.faq details[open] summary::after { content: "\2212"; background: var(--gradient); color: var(--navy); }
.faq details > p { padding: 0 20px 18px; font-size: 0.9844rem; animation: settle 0.25s ease both; }
.faq-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.faq-nav { position: sticky; top: 92px; }
.faq-nav a { display: block; padding: 9px 14px; border-radius: var(--r-sm); color: var(--navy); font: 600 0.9531rem var(--heading); text-decoration: none; }
.faq-nav a:hover { background: var(--pale); }
.faq-group { scroll-margin-top: 92px; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h2 { margin-bottom: 14px; font-size: 1.5rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips + .chips { margin-top: 18px; }
.chips li { padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); font: 600 0.9375rem var(--heading); }

/* Screen gallery */
.gallery { display: block; max-width: 1060px; margin-inline: auto; }
.tabs { display: none; }
.js .tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 26px; }
.tabs button { min-height: 44px; padding: 9px 17px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); font: 600 0.9375rem var(--heading); cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease; }
.tabs button:hover { border-color: var(--deep-cyan); }
.tabs button[aria-selected="true"] { border-color: transparent; background: var(--gradient); }
.tab-panel { animation: settle 0.4s ease both; }
.tab-panel[hidden] { display: none; }
.tab-panel + .tab-panel { margin-top: 24px; }
.js .tab-panel + .tab-panel { margin-top: 0; }
.stage-frame img, .stage img { width: 100%; }
.tab-cap { margin-top: 14px; text-align: center; font-size: 0.9688rem; }
.tab-cap span { display: block; color: var(--muted); font-size: 0.8125rem; }

/* Call to action */
.cta { padding-block: clamp(36px, 5vw, 64px); }
.cta-box { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 36px; padding: clamp(30px, 5vw, 56px); overflow: hidden; border-radius: 28px; background: linear-gradient(90deg, #07566B, #087E9B); color: #EAF6F9; box-shadow: 0 24px 50px rgba(7, 86, 107, 0.28); }
.cta-box::after { content: ""; position: absolute; top: 0; right: 0; width: 46%; height: 100%; background: url("img/swoosh.svg") top right / 100% 100% no-repeat; opacity: 0.55; pointer-events: none; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { max-width: 660px; color: var(--white); }
.cta-box p { max-width: 620px; margin-top: 8px; }
.cta-box .btn-dark { background: var(--white); color: var(--cyan-shadow); }
.cta-box .btn-dark:hover { background: var(--pale); color: var(--navy); }

/* Contact */
.contact-card { text-decoration: none; color: inherit; }
.contact-card:hover { color: inherit; }
.contact-value { margin-top: 4px; color: var(--cyan-shadow); font: 700 1.0938rem var(--heading); }

/* Legal pages */
.prose { max-width: 800px; }
.prose h2 { margin-top: 32px; font-size: 1.375rem; }
.prose p, .prose ul { margin-top: 10px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose li { margin-top: 5px; }

/* Fixed contact strip: phone, email, website, in that order, as the guide sets it */
.contact-strip { background: var(--pale); }
.contact-strip ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-block: 14px; }
.contact-strip li:nth-child(2) { justify-self: center; }
.contact-strip li:nth-child(3) { justify-self: end; }
.contact-strip a { display: flex; align-items: center; gap: 11px; min-height: 44px; color: var(--navy); font: 700 1rem var(--heading); text-decoration: none; }
.contact-strip a:hover { color: var(--cyan-shadow); }
.contact-strip svg { width: 21px; height: 21px; flex: none; color: var(--deep-cyan); }

/* Footer */
.site-foot { padding-block: 44px 24px; background: var(--soft); font-size: 0.9688rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-grid img { width: auto; height: 50px; margin-bottom: 10px; }
.foot-about p { max-width: 24em; }
.foot-grid h2 { margin-bottom: 8px; font: 700 0.9375rem var(--heading); letter-spacing: 0; }
.foot-grid li a { display: inline-block; min-height: 26px; padding-block: 2px; color: var(--body); text-decoration: none; }
.foot-grid li a:hover { color: var(--cyan-shadow); text-decoration: underline; }
.legal-line { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.875rem; }

/* Animations rest while their section is off screen */
.offscreen, .offscreen * { animation-play-state: paused !important; }

/* Scroll reveal */
.pending { opacity: 0; transform: translateY(20px); }
.reveal, .split > *, .faq > *, .table-wrap, .steps > *, .grid > *, .bento > *, .versus > *, .finder, .gallery { transition: opacity 0.6s var(--ease) var(--delay, 0ms), transform 0.6s var(--ease) var(--delay, 0ms), box-shadow 0.25s ease, border-color 0.25s ease; }

@media (max-width: 1120px) {
  .nav-links-wrap, .head-actions { display: none; }
  .menu { display: block; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .hero-grid, .has-art { grid-template-columns: minmax(0, 1fr); }
  .stage { max-width: 620px; width: 100%; margin-inline: auto; }
  .art { max-width: 560px; }
  .tile, .tile.s5, .tile.s7 { grid-column: span 6; }
  .tile.s6 { grid-column: span 12; }
  .life { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .life li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; padding: 0 0 22px; text-align: left; }
  .life li:not(:last-child)::after { top: 68px; bottom: 4px; left: 31px; right: auto; width: 3px; height: auto; }
  .node { grid-row: 1 / span 2; margin: 0; }
  .life p { grid-column: 2; }
  .model { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-arrow { display: none; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .faq-nav { position: static; }
  .faq-nav ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .faq-nav a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.875rem; }
}
@media (max-width: 860px) {
  .split, .split.flip, .split.top, .versus, .finder, .price-grid, .price-band { grid-template-columns: minmax(0, 1fr); }
  .flip > :first-child { order: 0; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--pale); }
  .contact-strip ul { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 8px; }
  .contact-strip li:nth-child(n) { justify-self: start; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, 1200px); }
  .map { grid-template-columns: repeat(16, minmax(0, 1fr)); }
  .map > i { display: none; }
  .g2, .g3, .g4, .model { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile.s5, .tile.s7, .tile.s6 { grid-column: span 12; }
  .stage { padding: 0; }
  .stage::before { inset: 20px -6px -6px 16px; }
  .float { position: static; animation: none; }
  .record { width: 100%; margin-top: 12px; position: relative; }
  .chip-float { display: none; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn-row .btn { width: 100%; }
  .brand img { height: 42px; }
  .head-row { min-height: 66px; }
  .menu-panel { left: -16px; right: -16px; padding-inline: 16px; }
  .finder-actions .btn { width: 100%; }
  .sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc-input { flex-direction: column; align-items: stretch; gap: 6px; }
  .calc-input input[type="range"] { flex: none; width: 100%; }
  .calc-input input[type="number"] { width: 100%; }
  .shot::before { inset: 14px -8px 22px 14px; }
  html { scroll-padding-top: 80px; }
  .jump { top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Everything important fits the window height, however short the screen is */
.shot img { max-height: calc(100vh - 120px); object-fit: contain; object-position: top center; }
.gallery { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 24px; max-width: none; align-items: start; }
.js .tabs { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 4px; margin: 0; }
.tabs button { width: 100%; padding: 10px 16px; border-color: transparent; background: transparent; border-radius: var(--r-sm); text-align: left; }
.tabs button:hover { background: var(--white); border-color: var(--line); }
.tabs button[aria-selected="true"] { background: var(--gradient); }
.tab-panel { grid-column: 2; grid-row: 1; min-width: 0; }
.stage-frame { height: min(calc(100vh - 176px), 640px); min-height: 340px; }
.stage-frame img { width: 100%; height: 100%; object-fit: contain; object-position: top center; }
.tab-cap { margin-top: 10px; text-align: left; font-size: 0.9375rem; line-height: 1.45; }
.tab-cap span { display: inline; }
html:not(.js) .gallery { grid-template-columns: minmax(0, 1fr); }
html:not(.js) .tab-panel { grid-column: 1; grid-row: auto; margin-bottom: 24px; }
.finder-map-wrap { width: 100%; max-width: max(320px, calc(100vh - 262px)); justify-self: center; }
@media (min-width: 1001px) {
  h1 { font-size: min(3.55rem, max(2.3rem, 7vh)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 60px); padding-block: clamp(12px, 3vh, 36px) clamp(56px, 8vh, 96px); }
  .stage { width: clamp(390px, calc(100vh - 226px), 640px); padding: 10px 0 34px 22px; }
  .panel { padding: 14px 16px; }
  .panel-head { margin-bottom: 8px; }
  .panel .legend { margin-bottom: 8px; }
  .hero .lead { margin-top: 14px; font-size: min(1.1875rem, max(1rem, 2.5vh)); }
  .hero .btn-row { margin-top: min(28px, 3vh); }
  .hero-points { margin-top: min(28px, 3vh); }
  .record { width: 248px; left: -30px; padding: 11px 14px; }
}
@media (min-width: 1001px) and (max-height: 700px) {
  .hero-points li { padding: 7px 12px; }
  .record dl div:nth-child(2) { display: none; }
  .brand img { height: 44px; }
  .head-row { min-height: 66px; }
  .section { padding-block: 52px; }
}
@media (max-width: 1000px) {
  .gallery { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .js .tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .tabs button { flex: none; width: auto; border-color: var(--line); background: var(--white); border-radius: 999px; }
  .tab-panel { grid-column: 1; grid-row: auto; }
  .stage-frame { height: auto; min-height: 0; }
  .stage-frame img { height: auto; max-height: calc(100vh - 170px); }
  .tab-cap { text-align: center; }
}
@media (max-height: 480px) and (orientation: landscape) {
  .stage-frame img, .shot img { max-height: none; }
}

@media (max-height: 760px) and (min-width: 861px) {
  .finder { padding: 18px 22px; }
  .finder-out { min-height: 3.2em; margin-top: 10px; padding: 9px 13px; font-size: 0.9375rem; }
  .finder-actions { margin-top: 10px; }
  .meter { margin-top: 10px; }
  .finder-list-title { margin-top: 8px; }
  .finder-list li:nth-child(n+4) { display: none; }
  #finder-list:empty { min-height: 104px; }
  .finder-side .note { font-size: 0.8125rem; line-height: 1.35; }
  .ruler { margin-top: 8px; height: 12px; }
  .finder-map-wrap .legend { margin-top: 6px; }
}
@media (max-width: 640px) {
  .price-band { padding: 22px 18px; gap: 16px; }
  .price-band .price-figure { font-size: 2.75rem; margin-top: 6px; }
  .price-band .btn-row { margin-top: 14px; }
  .band-card { padding: 14px 16px; }
  .band-card .ticks li { margin-top: 5px; font-size: 0.9375rem; }
  .stage-frame img { max-height: calc(100vh - 200px); }
}

/* Hero details: nothing overlaps, and the facts card sits clear of the floating card */
.panel-head { justify-content: flex-start; gap: 10px; }
.chip-float { top: -18px; right: -12px; }
.feature { padding-block: clamp(28px, 5vh, 60px); }
.feature .shot img, .split .shot img { max-height: calc(100vh - 226px); }
.shot-narrow .shot-frame { background: var(--white); }
@media (min-width: 1001px) {
  .hero-grid { padding-block: clamp(22px, 3.4vh, 40px) 44px; }
  .facts { margin-top: -24px; }
  .stage { padding-top: 12px; }
}
@media (max-width: 1000px) {
  .chip-float { top: -8px; }
  .feature .shot img, .split .shot img { max-height: none; }
}

/* Older browsers without aspect-ratio still get square map cells */
@supports not (aspect-ratio: 1) {
  .map > span { height: 0; padding-bottom: 100%; }
  .tile .map > span, .art .map > span { padding-bottom: 55%; }
}
/* Phones held sideways: keep the screen for content */
@media (max-height: 480px) and (orientation: landscape) {
  .site-head { position: static; }
  .jump { position: static; }
  .head-row, .site-head.scrolled .head-row { min-height: 58px; }
  html { scroll-padding-top: 12px; }
  .feature { scroll-margin-top: 12px; }
  .menu-panel { max-height: calc(100vh - 62px); }
  .faq-nav { position: static; }
}
/* Windows high-contrast and similar modes */
@media (forced-colors: active) {
  .btn, .eyebrow, .tag, .sizes button, .tabs button, .card, .tile, .price, .calc, .faq details, .float, .panel { border: 1px solid; }
  .map > span, .legend i, .ruler { forced-color-adjust: none; }
  .hl { -webkit-text-fill-color: currentColor; background: none; }
}
@media print {
  .site-head, .contact-strip, .cta, .jump, .finder { display: none; }
  .pending { opacity: 1 !important; transform: none !important; }
  .float, .art, .node { animation: none !important; }
}

/* ===== Tools menu (header dropdown and phone menu) ===== */
.nav-drop { position: relative; }
.nav-drop summary { display: flex; align-items: center; gap: 4px; padding: 9px 11px 9px 13px; border-radius: 999px; color: var(--navy); font: 600 0.9531rem var(--heading); cursor: pointer; list-style: none; transition: background-color 0.15s ease, color 0.15s ease; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.nav-drop summary:hover, .nav-drop details[open] summary { background: var(--pale); }
.nav-drop summary.on { background: var(--pale); color: var(--cyan-shadow); }
.nav-drop details[open] summary svg { transform: rotate(180deg); }
.drop-panel { position: absolute; top: calc(100% + 10px); right: -120px; z-index: 40; width: 600px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); animation: settle 0.18s ease both; }
.drop-panel::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.drop-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.nav-links .drop-list a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 14px; font: 400 0.875rem/1.4 var(--text); color: var(--body); white-space: normal; }
.nav-links .drop-list a:hover, .nav-links .drop-list a[aria-current="page"] { background: var(--soft); }
.drop-list b { display: block; color: var(--navy); font: 700 0.9375rem/1.3 var(--heading); }
.drop-list small { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--muted); }
.drop-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--pale); color: var(--cyan-shadow); }
.drop-ic svg { width: 19px; height: 19px; }
.nav-links .drop-list a:hover .drop-ic, .nav-links .drop-list a[aria-current="page"] .drop-ic { background: var(--gradient); color: var(--navy); }
.nav-links .drop-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; padding: 11px; border-radius: 14px; background: var(--soft); color: var(--cyan-shadow); font: 700 0.9063rem var(--heading); }
.nav-links .drop-all:hover { background: var(--pale); color: var(--navy); }
.drop-all svg { width: 16px; height: 16px; }
@media (max-width: 1240px) { .nav-links a, .nav-drop summary { padding-inline: 10px; } .head-row { gap: 18px; } }
.menu-tools details > summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid var(--pale); color: var(--navy); font: 600 1.0625rem var(--heading); cursor: pointer; list-style: none; }
.menu-tools details > summary::-webkit-details-marker { display: none; }
.menu-tools summary svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.menu-tools details[open] > summary svg { transform: rotate(180deg); }
.menu-tools ul { padding: 4px 0 6px 14px; border-left: 2px solid var(--pale); margin: 6px 0 4px 4px; }
.menu-panel .menu-tools ul a:not(.btn) { padding: 10px 2px; font-size: 1rem; font-weight: 500; }

/* ===== Free tool pages ===== */
.tool [hidden], .tool-section [hidden] { display: none !important; }
.field-input::placeholder { color: #8BA2AF; opacity: 1; }
.tool-hero { padding-block: clamp(18px, 2.6vw, 34px) clamp(16px, 2vw, 24px); }
.tool-hero h1 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); }
.tool-hero .lead { margin-top: 10px; font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0938rem); max-width: 52em; }
.tool-hero .tool-private { margin-top: 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; color: var(--muted); font: 600 0.875rem var(--heading); }
.crumbs a { color: var(--cyan-shadow); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.tool-private { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--navy); font: 600 0.875rem var(--heading); }
.tool-private svg { width: 16px; height: 16px; color: var(--deep-cyan); flex: none; }
.tool-scope { margin-top: 12px; max-width: 46em; color: var(--muted); font-size: 0.9375rem; }
.tool-section { padding-block: 8px clamp(48px, 6vw, 80px); }
.tool { padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.tool-form { display: grid; gap: 14px; }
.tool-fields { display: grid; gap: 14px; align-items: end; }
.f-v4 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; }
.f-v6 { grid-template-columns: minmax(0, 1fr) auto; }
.f-plan { grid-template-columns: minmax(0, 360px); }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { color: var(--navy); font: 700 0.9375rem var(--heading); }
.field.inline { display: flex; align-items: center; gap: 10px; }
.field.inline > span { white-space: nowrap; font-size: 0.875rem; }
.field-input { width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--navy); font: 500 1rem var(--text); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.field-input:hover { border-color: #B8D8E0; }
.field-input:focus { outline: none; border-color: var(--deep-cyan); box-shadow: 0 0 0 4px rgba(12, 192, 223, 0.16); }
select.field-input { padding-right: 36px; appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23087E9B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; cursor: pointer; }
.field.inline .field-input { min-height: 44px; width: auto; }
textarea.field-input { resize: vertical; line-height: 1.5; }
.mono-input { font-family: var(--mono); font-size: 0.9688rem; }
.tool-fields .btn { min-height: 50px; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 0.875rem; }
.examples button, .chip-btn { min-height: 36px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); color: var(--cyan-shadow); font: 600 0.8438rem var(--mono); cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease; }
.chip-btn { font-family: var(--heading); }
.examples button:hover, .chip-btn:hover { border-color: var(--deep-cyan); background: var(--pale); }
.tool-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--navy); font-size: 0.9375rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--deep-cyan); }
.tool-out { margin-top: 22px; }
.tool-out:empty { display: none; }
.tool-hint { color: var(--muted); font-size: 0.9375rem; }
.tool-error { padding: 12px 16px; border-left: 4px solid var(--error); border-radius: var(--r-sm); background: #FDECEA; color: #7A1C13; font-size: 0.9375rem; }
.tool-error b, .tool-note b { display: block; margin-bottom: 4px; font-family: var(--heading); }
.tool-error ul, .tool-note ul { padding-left: 18px; list-style: disc; }
.tool-error + *, .tool-note + * { margin-top: 14px; }
.tool-note { padding: 12px 16px; border-left: 4px solid var(--amber); border-radius: var(--r-sm); background: #FFF8DC; color: #5C4A0A; font-size: 0.9375rem; }
.tool-ok { margin-top: 14px; padding: 12px 16px; border-left: 4px solid #1E8E5A; border-radius: var(--r-sm); background: #E8F6EE; color: #155C3B; font-weight: 600; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.res-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.res-grid.two > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.res-card { min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); }
.tool-out > .res-card + .res-card { margin-top: 16px; }
.res-card h3 { margin-bottom: 8px; font-size: 1.0313rem; }
.res-card h4 { margin: 18px 0 6px; color: var(--navy); font: 700 0.9688rem var(--heading); }
.kv { margin: 0; }
.kv > div { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.6fr); gap: 4px 12px; align-items: start; padding: 8px 0; border-top: 1px solid var(--line); }
.kv > div:first-child { border-top: 0; }
.kv dt { color: var(--muted); font-size: 0.875rem; line-height: 1.4; padding-top: 3px; }
.kv dd { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 8px; margin: 0; color: var(--navy); font-size: 0.9375rem; line-height: 1.45; }
.kv dd > .copy { grid-column: 2; grid-row: 1; align-self: start; }
.kv dd > span, .kv dd > strong { min-width: 0; overflow-wrap: anywhere; }
.kv dd.mono-wrap > span, .kv dd.mono-wrap > strong { font-family: var(--mono); font-size: 0.9063rem; }
.kv dd strong { color: var(--cyan-shadow); font-weight: 700; }
.kv dd small { grid-column: 1 / -1; color: var(--muted); font-size: 0.8125rem; line-height: 1.4; }
.copy { flex: none; min-height: 30px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--cyan-shadow); font: 600 0.75rem var(--heading); cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease; }
.copy:hover { border-color: var(--deep-cyan); background: var(--pale); }
.copy.copied { border-color: transparent; background: var(--gradient); color: var(--navy); }
.tool-actions .copy { min-height: 44px; padding: 8px 18px; font-size: 0.9375rem; }
.sr-copy { position: fixed; top: -100px; opacity: 0; }
.tool-split { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.split-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 12px; }
.split-head h2 { margin-right: auto; }
.tool-split .tool-hint { margin-bottom: 10px; }
.res-scroll { overflow: auto; max-height: min(70vh, 640px); border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.res-table { width: 100%; border-collapse: collapse; font-size: 0.9063rem; }
.res-table th { position: sticky; top: 0; z-index: 1; padding: 10px 14px; background: var(--pale); color: var(--navy); font: 700 0.8438rem var(--heading); text-align: left; white-space: nowrap; }
.res-table td { padding: 9px 14px; border-top: 1px solid var(--pale); color: var(--navy); vertical-align: top; }
.res-table tbody tr:hover td { background: var(--soft); }
.mono-table td { font-family: var(--mono); font-size: 0.875rem; white-space: nowrap; }
.mono-table td .name-cell, .mono-table td .plain { font-family: var(--text); white-space: normal; }
.cidr-list { display: flex; flex-wrap: wrap; gap: 4px; white-space: normal; }
.cidr-list code, .chip-list li { padding: 2px 8px; border-radius: 6px; background: var(--pale); color: var(--navy); font: 500 0.8438rem var(--mono); }
.cidr-list code.best { background: var(--gradient); font-weight: 700; }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.miss { color: var(--error); font-family: var(--text); font-weight: 600; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; justify-self: start; padding: 4px; border-radius: 999px; background: var(--pale); }
.seg button { min-height: 42px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--navy); font: 700 0.9375rem var(--heading); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--white); box-shadow: 0 2px 8px rgba(20, 43, 56, 0.12); color: var(--cyan-shadow); }
.is-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
/* Planner */
.plan-head, .plan-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr) minmax(0, 1.2fr) 44px; gap: 10px; align-items: center; }
.plan-head { color: var(--muted); font: 700 0.8125rem var(--heading); }
.plan-rows { display: grid; gap: 8px; }
.plan-row .field-input { min-height: 46px; }
.row-x { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--muted); font: 600 1.375rem/1 var(--heading); cursor: pointer; }
.row-x:hover { border-color: var(--error); color: var(--error); }
.plan-add { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.plan-add .link-btn { margin-left: auto; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.plan-map-wrap { width: 100%; max-width: max(300px, calc(100vh - 250px)); }
.plan-stat { color: var(--navy); }
.plan-stat b { font: 800 1.5rem var(--heading); color: var(--cyan-shadow); }
.plan-side .meter { margin-top: 8px; }
.plan-side .tool-error { margin-top: 14px; }
.plan-sub { margin: 20px 0 8px; font-size: 1.0313rem; }
.swatch { display: inline-block; width: 11px; height: 11px; margin-right: 8px; border-radius: 3px; vertical-align: -1px; }
/* Spreadsheet checker */
.sc-inputs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: stretch; }
.sc-or { align-self: center; color: var(--muted); font: 700 0.875rem var(--heading); }
.drop-zone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 180px; padding: 20px; border: 2px dashed #B8D8E0; border-radius: var(--r); background: var(--soft); text-align: center; cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease; }
.drop-zone:hover, .drop-zone.over, .drop-zone:focus-within { border-color: var(--deep-cyan); background: var(--pale); }
.drop-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-zone svg { width: 30px; height: 30px; margin-bottom: 4px; color: var(--deep-cyan); }
.drop-zone b { color: var(--navy); font: 700 1rem var(--heading); }
.drop-zone span { color: var(--muted); font-size: 0.875rem; }
.drop-zone em { margin-top: 6px; color: var(--cyan-shadow); font: 600 0.875rem var(--mono); font-style: normal; overflow-wrap: anywhere; }
.drop-zone em:empty { display: none; }
.sc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 10px 0 16px; }
.sc-tiles li { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.sc-tiles b { display: block; color: var(--navy); font: 800 1.5rem/1.1 var(--heading); }
.sc-tiles span { color: var(--muted); font-size: 0.8125rem; }
.sc-tiles .bad { border-color: #F4B4AD; background: #FDECEA; }
.sc-tiles .bad b { color: var(--error); }
.sc-tiles .warn { border-color: #EBD48A; background: #FFF8DC; }
.sc-tiles .warn b { color: #80640B; }
.sc-tiles .info { background: var(--pale); }
.sc-tiles .good { background: #E8F6EE; border-color: #B5DFC6; }
.sc-tiles .good b { color: #1E7A4E; }
.sc-table td:nth-child(1), .sc-table td:nth-child(2) { white-space: nowrap; }
.pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font: 700 0.6875rem/1.6 var(--heading); letter-spacing: 0.03em; text-transform: uppercase; vertical-align: 1px; }
.pill-invalid, .pill-duplicate, .pill-overlap { background: #FDECEA; color: var(--error); }
.pill-hostbits { background: #FFF8DC; color: #80640B; }
.pill-special { background: var(--pale); color: var(--cyan-shadow); }
tr.is-miss td { background: #FFFAF0; }
/* Explanations and tool cards */
.tool-about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.tool-about h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.tool-about .faq { margin-top: 18px; max-width: none; }
.tool-about .numbered li { font-size: 1rem; }
.tool-cards .card { padding: 22px; }
.tool-cards h2, .tool-cards h3 { font-size: 1.125rem; }
.card-link { color: var(--navy); text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.tool-card:focus-within { outline: 3px solid var(--deep-cyan); outline-offset: 3px; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; color: var(--cyan-shadow); font: 700 0.9063rem var(--heading); }
.card-more svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.tool-card:hover .card-more svg { transform: translateX(3px); }
.cta-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.cta-link { color: #EAF6F9; font: 700 1rem var(--heading); text-underline-offset: 4px; }
.cta-link:hover { color: var(--white); }
.foot-grid { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }

@media (max-width: 1120px) {
  .foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-about { grid-template-columns: minmax(0, 1fr); }
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-map-wrap { max-width: 520px; justify-self: center; }
}
@media (max-width: 860px) {
  .f-v4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .f-v4 .btn { grid-column: 1 / -1; }
  .sc-inputs { grid-template-columns: minmax(0, 1fr); }
  .sc-or { justify-self: center; }
  .is-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .res-grid { grid-template-columns: minmax(0, 1fr); }
  .f-v4, .f-v6, .f-plan { grid-template-columns: minmax(0, 1fr); }
  .kv > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv dt { padding-top: 0; }
  .plan-head { display: none; }
  .plan-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 44px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--soft); }
  .plan-row input[type="text"] { grid-column: 1 / 3; grid-row: 1; }
  .plan-row .row-x { grid-column: 3; grid-row: 1; }
  .plan-row input[type="number"] { grid-column: 1; grid-row: 2; }
  .plan-row select { grid-column: 2 / 4; grid-row: 2; }
  .mono-table td:first-child .name-cell { display: inline-block; min-width: 150px; }
  .plan-add .link-btn { margin-left: 0; }
  .field.inline { flex-direction: column; align-items: stretch; gap: 6px; }
  .field.inline .field-input { width: 100%; }
  .split-head { flex-direction: column; align-items: stretch; }
  .split-head .btn { width: 100%; }
  .tool-actions .btn, .tool-actions .copy { flex: 1 1 100%; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-private { font-size: 0.8125rem; }
  .res-table { font-size: 0.8438rem; }
  .res-table th, .res-table td { padding: 8px 10px; }
  .res-grid.two { grid-template-columns: minmax(0, 1fr); }
  .res-grid.two > :last-child:nth-child(odd) { grid-column: auto; }
  /* Results tables become labelled cards, one per row, so nothing runs off the screen. */
  .res-scroll { overflow-x: hidden; }
  .res-table thead { display: none; }
  .res-table, .res-table tbody, .res-table tr, .res-table td { display: block; width: 100%; }
  .res-table tr { padding: 8px 12px; border-top: 1px solid var(--line); }
  .res-table tr:first-child { border-top: 0; }
  .res-table td { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; text-align: right; white-space: normal; overflow-wrap: anywhere; }
  .res-table td::before { content: attr(data-label); flex: none; max-width: 42%; color: var(--muted); font: 600 0.75rem/1.6 var(--heading); text-align: left; white-space: normal; }
  .res-table tbody tr:hover td { background: none; }
  .res-table .cidr-list { justify-content: flex-end; }
  .cidr-list code, .mono-table td .mono { white-space: nowrap; }
  .mono-table td:first-child .name-cell { min-width: 0; }
}
@media print {
  .tool-form, .tool-private, .copy, .tool-actions, .tool-cards { display: none !important; }
  .tool { box-shadow: none; }
}

/* ===== Calculator results: summary, range bar, detail rows ===== */
.sum { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 22px 36px; align-items: center; padding: clamp(18px, 2.4vw, 26px); border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(120deg, #EFFAFC 0%, #FFFFFF 55%, #FFFCEB 100%); }
.sum-label { color: var(--muted); font: 700 0.75rem var(--heading); letter-spacing: 0.08em; text-transform: uppercase; }
.sum-value { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.sum-cidr { min-width: 0; overflow-wrap: normal; color: var(--navy); font: 700 clamp(1.6rem, 1.25rem + 1.2vw, 2.15rem)/1.15 var(--mono); letter-spacing: -0.02em; }
.sum-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sum-chips li { padding: 5px 12px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--body); font-size: 0.875rem; line-height: 1.35; }
.sum-chips li b { color: var(--navy); font-weight: 700; }
.sum-chips li b.mono { font-size: 0.875rem; }
.sum-chips li.k-public { background: #E8F6EE; box-shadow: inset 0 0 0 1px #B5DFC6; color: #155C3B; font-weight: 600; }
.sum-chips li.k-special { background: var(--pale); box-shadow: inset 0 0 0 1px #BFE3EB; color: var(--cyan-shadow); font-weight: 600; }
.rb { min-width: 0; }
.rb-bar { display: grid; gap: 4px; }
.rb.c3 .rb-bar, .rb.c3 .rb-caps { grid-template-columns: minmax(96px, 20%) minmax(0, 1fr) minmax(96px, 20%); }
.rb.c1 .rb-bar { grid-template-columns: 1fr; }
.rb.c1 .rb-caps { grid-template-columns: 1fr 1fr; }
.rb.c1.caps1 .rb-caps { grid-template-columns: 1fr; }
.rb-seg { display: grid; place-items: center; min-height: 46px; padding: 4px 10px; border-radius: 10px; color: var(--navy); font: 700 0.875rem/1.25 var(--heading); text-align: center; }
.rb-seg.u { background: var(--gradient); }
.rb-seg.nb { background: #DCEFF4; color: var(--cyan-shadow); font-weight: 600; }
.rb-caps { display: grid; gap: 4px; margin: 10px 0 0; }
.rb-caps > div { min-width: 0; }
.rb-caps dt { color: var(--muted); font-size: 0.75rem; line-height: 1.3; }
.rb-caps dd { margin: 2px 0 0; color: var(--navy); font-size: 0.875rem; font-weight: 600; white-space: normal; overflow-wrap: normal; }
.rb-caps .mid { text-align: center; }
.rb-caps .end { text-align: right; }
.tool-out > .sum + .res-grid, .tool-out > .sum + * { margin-top: 16px; }
.tool-out > .res-grid + .more-details { margin-top: 16px; }

/* Detail cards: label, value and a quiet copy icon on one line */
.res-grid.two .res-card, .more-body { background: var(--white); }
.res-card h3 { margin-bottom: 4px; color: var(--navy); font: 700 0.8125rem var(--heading); letter-spacing: 0.06em; text-transform: uppercase; }
.kv > div { grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1.4fr); padding: 10px 0; border-top: 1px solid var(--pale); }
.kv dt { padding-top: 6px; color: var(--muted); font-size: 0.9063rem; }
.kv dd { grid-template-columns: minmax(0, 1fr) 34px; column-gap: 6px; }
.kv dd > span, .kv dd > strong { padding-top: 5px; color: var(--navy); }
.kv dd.mono-wrap > span, .kv dd.mono-wrap > strong { font-size: 0.9688rem; font-weight: 600; }
.kv dd small { padding-top: 2px; }
.icopy { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #7C95A3; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.icopy svg { width: 17px; height: 17px; }
.icopy .i-done { display: none; }
.icopy:hover, .icopy:focus-visible { border-color: var(--line); background: var(--pale); color: var(--cyan-shadow); }
.icopy.copied { background: #E8F6EE; color: #1E7A4E; }
.icopy.copied .i-copy { display: none; }
.icopy.copied .i-done { display: block; }
.sum-value .icopy { flex: none; }

/* Folded technical details */
.more-details { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.more-details > summary { position: relative; display: flex; align-items: center; min-height: 50px; padding: 12px 52px 12px 18px; color: var(--cyan-shadow); font: 700 0.9375rem var(--heading); cursor: pointer; list-style: none; }
.more-details > summary::-webkit-details-marker { display: none; }
.more-details > summary::after { content: "+"; position: absolute; right: 14px; top: 50%; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--pale); font: 700 1.0625rem/1 var(--heading); }
.more-details[open] > summary::after { content: "\2212"; }
.more-details[open] > summary { border-bottom: 1px solid var(--pale); }
.more-body { padding: 4px 18px 10px; border-radius: 0 0 var(--r) var(--r); }

@media (max-width: 1000px) {
  .sum { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .res-grid.two { grid-template-columns: minmax(0, 1fr); }
  .kv > div { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 8px 0; }
  .kv dt { padding-top: 0; font-size: 0.8125rem; }
  .kv dd > span, .kv dd > strong { padding-top: 3px; }
  .rb-seg { min-height: 42px; font-size: 0.8125rem; padding: 4px 6px; }
  .rb.c3 .rb-bar { grid-template-columns: minmax(72px, 25%) minmax(0, 1fr) minmax(72px, 25%); }
  .rb-caps, .rb.c3 .rb-caps, .rb.c1 .rb-caps { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 8px; }
  .rb-caps > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); text-align: left; }
  .rb-caps > div:first-child { border-top: 0; }
  .rb-caps .mid, .rb-caps .end { text-align: left; }
  .rb-caps dt { font-size: 0.8125rem; }
  .rb-caps dd { margin: 0; text-align: right; }
  .sum-cidr { font-size: 1.3rem; }
  .rb-caps dd { font-size: 0.8125rem; }
  .more-body { padding: 2px 14px 8px; }
}

/* ===== Tools menu with 13 tools: three columns, anchored to the header row ===== */
.nav-drop { position: static; }
.drop-panel { right: 0; left: auto; width: min(940px, 100%); top: calc(100% - 4px); }
.drop-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nav-links .drop-list a { padding: 9px 10px; gap: 10px; }
.drop-ic { width: 34px; height: 34px; }
@media (max-width: 1240px) { .drop-list small { display: none; } .nav-links .drop-list a { align-items: center; } }

/* ===== Lookup tools ===== */
.pill-ok { background: #E8F6EE; color: #1E7A4E; }
.muted-cell { color: var(--muted); }
.f-dns { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; }
.fc-list { display: grid; gap: 12px; }
.fc-card { padding: 16px 18px; border: 1px solid var(--line); border-left-width: 4px; border-radius: var(--r); background: var(--white); }
.fc-card.ok { border-left-color: #1E8E5A; }
.fc-card.fail { border-left-color: var(--error); }
.fc-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 1.0625rem; }
.fc-card h3 .mono { font-size: 1.0625rem; }
.fc-reason { margin-top: 6px; color: var(--navy); }
.fc-steps { margin: 10px 0 0; padding-left: 20px; list-style: decimal; }
.fc-steps li { margin-top: 6px; font-size: 0.9375rem; overflow-wrap: anywhere; }
.fc-steps .mono { white-space: normal; }
.dl-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dl-groups .res-card { background: var(--white); }
.dl-help { margin-left: 6px; color: var(--muted); font: 500 0.8125rem var(--text); letter-spacing: 0; text-transform: none; }
.dl-list li { display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 2px 8px; align-items: start; padding: 9px 0; border-top: 1px solid var(--pale); }
.dl-list li:first-child { border-top: 0; }
.dl-data { color: var(--navy); font-weight: 600; white-space: normal; overflow-wrap: anywhere; padding-top: 5px; }
.dl-list small { grid-column: 1; color: var(--muted); font-size: 0.8125rem; }
.dl-list .icopy { grid-row: 1; }
.il-owner { min-width: 0; }
.il-org { margin-top: 4px; color: var(--navy); font: 800 clamp(1.15rem, 1rem + 0.6vw, 1.5rem)/1.25 var(--heading); overflow-wrap: anywhere; }
.il-net { margin-top: 6px; color: var(--muted); font-size: 0.9375rem; }
.il-src { margin-top: 14px; font-size: 0.875rem; }
td .found { color: var(--navy); font-weight: 600; }
.cheat-scroll { max-height: none; }
.cheat th[scope="row"] { color: var(--cyan-shadow); font: 700 0.9375rem var(--mono); text-align: left; padding: 9px 14px; border-top: 1px solid var(--pale); }
.cheat tr.hl-row > * { background: #FFF8DC; }
.cheat td.plain { font-family: var(--text); white-space: normal; }
@media (max-width: 1000px) { .dl-groups { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .f-dns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .f-dns .btn { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .f-dns { grid-template-columns: minmax(0, 1fr); }
  .cheat th[scope="row"] { display: block; padding: 4px 0; border: 0; }
}
@media print {
  .cheat-scroll { max-height: none; overflow: visible; border: 0; }
  .tool-hero .tool-private, .tool-about, .tool-cards, .cta, .site-foot, .contact-strip { display: none !important; }
}

/* ===== Tools menu grouped by purpose: one column per group ===== */
.drop-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 10px; }
.drop-col { min-width: 0; }
.drop-col + .drop-col { padding-left: 10px; border-left: 1px solid var(--pale); }
.drop-head { margin: 4px 10px 6px; color: var(--muted); font: 700 0.75rem var(--heading); letter-spacing: 0.08em; text-transform: uppercase; }
.drop-cols .drop-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.menu-tools .menu-group { margin: 10px 0 2px; padding: 0 2px; color: var(--muted); font: 700 0.75rem var(--heading); letter-spacing: 0.08em; text-transform: uppercase; }
.hub-group + .hub-group { margin-top: clamp(32px, 4vw, 48px); }
.hub-head { margin-bottom: 16px; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem); }

/* ===== Network tests (ping, traceroute, what is my IP) ===== */
.drop-col .drop-list + .drop-head { margin-top: 14px; }
.pg-list { display: grid; gap: 6px; margin: 10px 0 14px; }
.pg-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); animation: settle 0.25s ease both; }
.pg-list li b { min-width: 64px; color: var(--navy); font: 700 0.9063rem var(--heading); }
.pg-list li .mono { color: var(--cyan-shadow); font-weight: 700; }
.pg-list li small { color: var(--muted); }
.pg-list li.lost { background: #FFF8DC; border-color: #EBD48A; }
.tr-table tbody tr { animation: settle 0.25s ease both; }
.mi-out { margin-top: 0; }
.mi-out + .tool-actions { margin-top: 12px; }
/* Short laptop windows: compact Tools menu; scroll as a last resort */
@media (max-height: 700px) { .drop-list small { display: none; } .nav-links .drop-list a { align-items: center; padding-block: 7px; } .drop-ic { width: 30px; height: 30px; } }
.drop-panel { max-height: calc(100vh - 90px); overflow-y: auto; overscroll-behavior: contain; }

/* Tools menu: four columns, one per group */
.drop-panel { width: min(1200px, 100%); }
.drop-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ===== Footer: brand and main links, free tools by group, legal bar ===== */
.site-foot { padding-block: clamp(40px, 5vw, 56px) 22px; background: var(--soft); border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 28px 40px; align-items: start; }
.foot-about img { width: auto; height: 46px; margin-bottom: 12px; }
.foot-about p { max-width: 26em; color: var(--body); font-size: 0.9688rem; line-height: 1.6; }
.foot-about .btn { margin-top: 16px; }
.site-foot h2 { margin-bottom: 12px; color: var(--navy); font: 700 0.8125rem var(--heading); letter-spacing: 0.08em; text-transform: uppercase; }
.foot-col li + li { margin-top: 2px; }
.site-foot a:not(.btn) { color: var(--body); text-decoration: none; transition: color 0.15s ease; }
.site-foot a:not(.btn):hover { color: var(--cyan-shadow); text-decoration: underline; text-underline-offset: 3px; }
.site-foot a[aria-current="page"] { color: var(--cyan-shadow); font-weight: 600; }
.foot-col a { display: inline-block; padding-block: 5px; font-size: 0.9688rem; }
.foot-tools { margin-top: clamp(28px, 4vw, 40px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line); }
.foot-tools-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 14px; }
.foot-tools-head h2 { margin: 0; }
.site-foot .foot-tools-head a { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan-shadow); font: 700 0.875rem var(--heading); }
.foot-tools-head svg { width: 15px; height: 15px; }
.foot-tools-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 40px; }
.foot-group h3 { margin-bottom: 6px; color: var(--muted); font: 700 0.75rem var(--heading); letter-spacing: 0.06em; text-transform: uppercase; }
.foot-group a { display: inline-block; padding-block: 4px; font-size: 0.9063rem; }
.site-foot .legal-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: clamp(28px, 4vw, 40px); padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-foot .legal-links a { color: var(--muted); font-size: 0.875rem; }
@media (max-width: 1000px) {
  .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; }
  .foot-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .foot-about .btn { width: 100%; }
  .foot-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
  .site-foot .legal-line { flex-direction: column; align-items: flex-start; }
}

/* Globalping credit under ping and traceroute */
.gp-credit { margin-top: 18px; color: var(--muted); font-size: 0.8125rem; }
.gp-credit a { color: var(--cyan-shadow); }
