:root {
  --latixo-navy: #061d31;
  --latixo-ink: #102a43;
  --latixo-muted: #657b8f;
  --latixo-line: #dbe5ec;
  --latixo-soft: #f4f8fa;
  --latixo-lime: #b8f53c;
  --latixo-green: #176b4d;
  --latixo-white: #ffffff;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.site-header nav a,
.nav-placeholder {
  white-space: nowrap;
}

.nav-placeholder {
  color: var(--latixo-muted);
  cursor: default;
}

.nav-placeholder small {
  margin-left: 4px;
  padding: 2px 6px;
  border: 1px solid rgba(184, 245, 60, 0.42);
  border-radius: 999px;
  color: var(--latixo-lime);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.method-note a,
.text-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(16, 42, 67, 0.28);
  text-underline-offset: 4px;
}

.trust-overview,
.limits-strip {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) clamp(24px, 6vw, 88px);
}

.trust-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 7vw, 100px);
  background: var(--latixo-white);
}

.trust-intro h2,
.limits-strip h2 {
  max-width: 760px;
  margin: 12px 0 24px;
  color: var(--latixo-ink);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.trust-intro > p:not(.section-label) {
  max-width: 660px;
  color: var(--latixo-muted);
  font-size: 17px;
  line-height: 1.75;
}

.trust-intro .text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 12px;
  color: var(--latixo-ink);
}

.trust-cards {
  display: grid;
  gap: 14px;
}

.trust-cards article {
  position: relative;
  padding: 26px 28px 26px 84px;
  border: 1px solid var(--latixo-line);
  border-radius: 18px;
  background: var(--latixo-soft);
}

.trust-cards article > span {
  position: absolute;
  top: 26px;
  left: 24px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--latixo-navy);
  color: var(--latixo-lime);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-cards h3 {
  margin: 0 0 7px;
  color: var(--latixo-ink);
  font-size: 20px;
}

.trust-cards p {
  margin: 0;
  color: var(--latixo-muted);
  line-height: 1.62;
}

.limits-strip {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(32px, 6vw, 86px);
  max-width: none;
  background: var(--latixo-navy);
  color: var(--latixo-white);
}

.limits-strip > * {
  max-width: 640px;
}

.limits-strip .section-label,
.limits-strip .text-link {
  color: var(--latixo-lime);
}

.limits-strip h2 {
  color: var(--latixo-white);
}

.limits-strip ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.limits-strip li {
  position: relative;
  padding: 0 0 18px 28px;
  color: #c8d5df;
  line-height: 1.65;
}

.limits-strip li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--latixo-lime);
  content: "";
}

.limits-strip > .text-link {
  grid-column: 2;
  margin-top: -58px;
  justify-self: start;
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

footer .footer-links a {
  color: inherit;
  text-decoration: none;
}

footer .footer-links a:hover,
footer .footer-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Standalone trust and policy pages */
.trust-page {
  margin: 0;
  background: var(--latixo-soft);
  color: var(--latixo-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.trust-page *,
.trust-page *::before,
.trust-page *::after {
  box-sizing: border-box;
}

.trust-page a {
  color: inherit;
}

.trust-page-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(22px, 5vw, 72px);
  border-bottom: 1px solid rgba(219, 229, 236, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.trust-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--latixo-ink);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.trust-brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--latixo-navy);
  color: var(--latixo-lime);
}

.trust-page-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 24px;
}

.trust-page-header nav a {
  color: #3e566b;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.trust-page-header nav a:hover,
.trust-page-header nav a[aria-current="page"] {
  color: var(--latixo-ink);
}

.trust-page-header .test-link {
  padding: 10px 15px;
  border-radius: 10px;
  background: var(--latixo-lime);
  color: var(--latixo-navy);
}

.trust-page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) clamp(22px, 5vw, 72px) 96px;
}

.trust-page-hero {
  max-width: 850px;
  margin-bottom: clamp(52px, 7vw, 90px);
}

.trust-kicker {
  margin: 0 0 16px;
  color: var(--latixo-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust-page h1 {
  margin: 0 0 24px;
  color: var(--latixo-ink);
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.trust-page .lede {
  max-width: 760px;
  margin: 0;
  color: #526b80;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.55;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  color: #71869a;
  font-size: 13px;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.trust-content {
  max-width: 760px;
}

.trust-content section {
  scroll-margin-top: 110px;
  margin: 0 0 54px;
}

.trust-content h2 {
  margin: 0 0 16px;
  color: var(--latixo-ink);
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.035em;
}

.trust-content h3 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.trust-content p,
.trust-content li,
.trust-content dd {
  color: #4f687d;
  font-size: 16px;
  line-height: 1.78;
}

.trust-content ul,
.trust-content ol {
  padding-left: 22px;
}

.trust-content li + li {
  margin-top: 8px;
}

.trust-content strong,
.trust-content dt {
  color: var(--latixo-ink);
}

.trust-content dl {
  display: grid;
  gap: 20px;
}

.trust-content dt {
  font-weight: 800;
}

.trust-content dd {
  margin: 4px 0 0;
}

.trust-callout {
  padding: 24px 26px;
  border-left: 4px solid var(--latixo-lime);
  border-radius: 0 14px 14px 0;
  background: var(--latixo-navy);
}

.trust-callout p,
.trust-callout strong {
  margin: 0;
  color: var(--latixo-white);
}

.trust-toc {
  position: sticky;
  top: 108px;
  padding: 22px;
  border: 1px solid var(--latixo-line);
  border-radius: 16px;
  background: var(--latixo-white);
}

.trust-toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-toc a {
  display: block;
  padding: 7px 0;
  color: #60778b;
  font-size: 14px;
  text-decoration: none;
}

.trust-toc a:hover {
  color: var(--latixo-ink);
}

.trust-page-footer {
  padding: 34px clamp(22px, 5vw, 72px);
  background: var(--latixo-navy);
  color: #c5d2dc;
}

.trust-page-footer-inner {
  display: flex;
  max-width: 1040px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.trust-page-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.trust-page-footer a {
  color: inherit;
  font-size: 13px;
}

@media (max-width: 1040px) {
  .site-header nav a:nth-of-type(2),
  .site-header nav a:nth-of-type(3),
  .nav-placeholder {
    display: none;
  }

  .trust-overview,
  .limits-strip,
  .trust-layout {
    grid-template-columns: 1fr;
  }

  .limits-strip > .text-link {
    grid-column: 1;
    margin-top: 0;
  }

  .trust-toc {
    position: static;
    order: -1;
  }
}

@media (max-width: 720px) {
  .site-header nav a:not(:first-child),
  .nav-placeholder {
    display: none;
  }

  .trust-page-header {
    position: static;
    align-items: flex-start;
  }

  .trust-page-header nav a:not(.test-link) {
    display: none;
  }

  .trust-cards article {
    padding: 76px 22px 24px;
  }

  .trust-page-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-page *,
  .trust-page *::before,
  .trust-page *::after {
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Latixo V1.7.1 Stable — homepage-only layout + stability layer
   ============================================================ */

/* Visible Cloudflare Turnstile */
.test-console{
  grid-template-columns:minmax(260px,1fr) 300px 240px 190px;
  align-items:stretch;
}
.turnstile-slot{
  min-width:300px;
  border-left:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:4px 0;
  overflow:hidden;
}
#latixo-turnstile{
  width:300px;
  max-width:100%;
  min-height:65px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Legacy selector label styles retained for compatibility with older result markup. */
.node-select > span{
  font-size:0 !important;
  line-height:1.1;
}
.node-select > span > small{
  display:block;
  font-size:11px !important;
  line-height:1.2;
}
.node-select > span::after{
  content:"Virginia, USA";
  display:block;
  margin-top:3px;
  font-size:16px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
}

/* Homepage polish — wider location selector, full-width footer */
@media (min-width:1060px){
  .test-console{
    grid-template-columns:minmax(260px,1fr) 300px 240px 190px;
  }
  .node-select{
    min-width:260px;
  }
  .node-select > span{
    min-width:0;
    white-space:nowrap;
  }

  footer{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:clamp(24px,4vw,72px) !important;
    padding-right:clamp(24px,4vw,72px) !important;
    box-sizing:border-box;
    grid-template-columns:auto minmax(220px,1fr) auto auto !important;
    column-gap:clamp(24px,3vw,48px) !important;
    align-items:center;
  }
  footer > p{
    max-width:360px;
  }
  footer .footer-links{
    flex-wrap:nowrap !important;
    white-space:nowrap;
  }
  footer > span:last-child{
    justify-self:end;
    white-space:nowrap;
    text-transform:none !important;
    letter-spacing:.04em;
  }
}

@media (max-width:1059px) and (min-width:821px){
  .test-console{
    grid-template-columns:minmax(260px,1fr) 300px;
  }
  .url-field,
  .device-selector{
    grid-column:1 / -1;
  }
  .node-select{
    grid-column:1;
    min-width:0;
  }
  .turnstile-slot{
    grid-column:2;
  }
  .test-console > button[type="submit"]{
    grid-column:1;
    min-height:64px;
  }
  .test-duration-hint{
    grid-column:2;
    border-top:1px solid var(--line);
  }
}

@media (max-width:1200px) and (min-width:821px){
  footer{
    grid-template-columns:auto minmax(180px,1fr) auto !important;
    row-gap:18px;
  }
  footer .footer-links{
    justify-self:end;
  }
  footer > span:last-child{
    grid-column:1 / -1;
    justify-self:end;
  }
}

@media (max-width:820px){
  .test-console{grid-template-columns:1fr}
  .turnstile-slot{
    min-width:0;
    width:100%;
    border-left:0;
    border-top:1px solid var(--line);
    padding:10px 7px;
  }
  #latixo-turnstile{
    width:100%;
    max-width:300px;
  }
  .node-select,
  .node-select > span{
    width:100%;
    min-width:0;
  }
  .node-select > span{
    white-space:nowrap;
  }
  footer{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:22px !important;
    padding-right:22px !important;
    box-sizing:border-box;
  }
  footer > span:last-child{
    text-transform:none !important;
  }
}


/* Latixo V1.7.2 — clearer performance/result grading */
[data-latixo-performance-card],
[data-latixo-load-card] {
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

[data-latixo-performance-card] [data-latixo-grade] {
  display: inline-grid !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  place-items: center !important;
  border-radius: 14px !important;
  font-size: 32px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  letter-spacing: -.03em !important;
}

[data-latixo-performance-card] [data-latixo-score-value] {
  font-size: clamp(58px, 6vw, 76px) !important;
  font-weight: 850 !important;
  line-height: .95 !important;
  letter-spacing: -.055em !important;
  font-variant-numeric: tabular-nums;
}

[data-latixo-performance-caption],
[data-latixo-load-caption] {
  font-weight: 650 !important;
}

.latixo-performance-a [data-latixo-grade] { background:#dcfce7 !important; color:#15803d !important; }
.latixo-performance-a [data-latixo-score-value], .latixo-performance-a [data-latixo-performance-caption] { color:#15803d !important; }
.latixo-performance-b [data-latixo-grade] { background:#ecfccb !important; color:#4d7c0f !important; }
.latixo-performance-b [data-latixo-score-value], .latixo-performance-b [data-latixo-performance-caption] { color:#4d7c0f !important; }
.latixo-performance-c [data-latixo-grade] { background:#fef3c7 !important; color:#b45309 !important; }
.latixo-performance-c [data-latixo-score-value], .latixo-performance-c [data-latixo-performance-caption] { color:#b45309 !important; }
.latixo-performance-d [data-latixo-grade] { background:#ffedd5 !important; color:#c2410c !important; }
.latixo-performance-d [data-latixo-score-value], .latixo-performance-d [data-latixo-performance-caption] { color:#c2410c !important; }
.latixo-performance-f [data-latixo-grade] { background:#fee2e2 !important; color:#991b1b !important; }
.latixo-performance-f [data-latixo-score-value], .latixo-performance-f [data-latixo-performance-caption] { color:#991b1b !important; }

[data-latixo-load-card] {
  position: relative;
  overflow: hidden;
  color: #fff !important;
  border-color: transparent !important;
}

[data-latixo-load-card]::after {
  position:absolute;
  top:-62px;
  right:-48px;
  width:170px;
  height:170px;
  border:24px solid rgba(255,255,255,.07);
  border-radius:50%;
  content:"";
  pointer-events:none;
}

[data-latixo-load-card] > * { position:relative; z-index:1; }
[data-latixo-load-card] [data-latixo-load-value] {
  color:#fff !important;
  font-size: clamp(58px, 6vw, 78px) !important;
  font-weight: 850 !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
  font-variant-numeric: tabular-nums;
}
[data-latixo-load-card] [data-latixo-load-caption] { color:rgba(255,255,255,.82) !important; }

.latixo-load-excellent { background:linear-gradient(135deg,#0f5132 0%,#0b3d2b 52%,#071f27 100%) !important; box-shadow:0 18px 42px rgba(15,81,50,.15); }
.latixo-load-fast { background:linear-gradient(135deg,#176b4d 0%,#14563f 52%,#08242e 100%) !important; box-shadow:0 18px 42px rgba(23,107,77,.14); }
.latixo-load-moderate { background:linear-gradient(135deg,#8a6508 0%,#725009 52%,#2e2b18 100%) !important; box-shadow:0 18px 42px rgba(138,101,8,.14); }
.latixo-load-slow { background:linear-gradient(135deg,#9a4f0c 0%,#74380c 52%,#302318 100%) !important; box-shadow:0 18px 42px rgba(154,79,12,.15); }
.latixo-load-poor { background:linear-gradient(135deg,#8f1d1d 0%,#6f171b 52%,#2f171d 100%) !important; box-shadow:0 18px 42px rgba(143,29,29,.16); }
.latixo-load-very-poor { background:linear-gradient(135deg,#5b0f14 0%,#451015 52%,#260f16 100%) !important; box-shadow:0 18px 42px rgba(91,15,20,.18); }

@media (max-width:820px) {
  [data-latixo-performance-card] [data-latixo-grade] {
    width:52px !important;
    height:52px !important;
    min-width:52px !important;
    font-size:28px !important;
  }
  [data-latixo-performance-card] [data-latixo-score-value],
  [data-latixo-load-card] [data-latixo-load-value] {
    font-size:clamp(48px, 14vw, 66px) !important;
  }
}

/* Latixo V1.8.4 — native Desktop/Mobile form and compact result layout */
.device-selector {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto auto minmax(220px, 1fr);
  align-items: center;
  gap: 10px 14px;
  min-width: 0;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #dbe5ec;
  border-radius: 12px;
  background: #f7fafc;
}

.device-selector legend {
  padding: 0 3px;
  color: #526b80;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.device-options {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #d2dde5;
  border-radius: 10px;
  background: #fff;
}

.device-options button {
  min-width: 92px;
  padding: 8px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #526b80;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.device-options button.is-active,
.device-options button[aria-pressed="true"] {
  background: #061d31;
  color: #fff;
  box-shadow: 0 1px 2px rgba(6, 29, 49, .18);
}

.device-options button:focus-visible {
  outline: 3px solid rgba(184, 245, 60, .52);
  outline-offset: 2px;
}

.device-selector > small {
  overflow: hidden;
  color: #657b8f;
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-selector input[type="hidden"] {
  display: none;
}

.test-duration-hint {
  min-width: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 9px 12px;
  border-left: 1px solid #dbe5ec;
  background: #f7fafc;
  color: #526b80;
  text-align: center;
}

.test-duration-hint > span {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  white-space: nowrap;
}

.test-duration-hint > strong {
  color: #102a43;
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
}

.test-duration-hint > small {
  color: #657b8f;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.test-duration-hint b {
  display: inline-block;
  margin-left: 3px;
  color: #176b4d;
  font-size: 17px;
  line-height: .7;
  transform: translateY(2px);
}

.result-profile {
  grid-column: 1 / -1;
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  width: 100%;
  margin: 0 0 4px;
  padding: 17px 19px;
  border: 1px solid #dbe5ec;
  border-left: 4px solid #b8f53c;
  border-radius: 14px;
  background: #f7fafc;
  color: #102a43;
}

.result-profile-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 3px 12px;
  min-width: 0;
}

.result-profile-heading > span {
  display: block;
  grid-column: 1 / -1;
  margin-bottom: 1px;
  color: #176b4d;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}

.result-profile-heading h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.1;
}

.result-profile-heading p {
  min-width: 0;
  margin: 0 0 1px;
  color: #657b8f;
  font-size: 11px;
  line-height: 1.35;
}

.result-profile-data {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-profile-data li {
  min-width: 0;
}

.result-profile-data span,
.result-profile-data strong {
  display: block;
}

.result-profile-data span {
  margin-bottom: 3px;
  color: #71869a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.result-profile-data strong {
  color: #102a43;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.result-profile-note {
  grid-column: 1 / -1;
  color: #657b8f;
  font-size: 10px;
  line-height: 1.35;
}

/* The original result split favored the capture. Give profile data enough room. */
@media (min-width:821px) {
  .results-grid {
    grid-template-columns: minmax(340px, .82fr) minmax(0, 1.18fr) !important;
    align-items: start !important;
    gap: 16px !important;
  }

  .latixo-result-metrics {
    min-width: 0;
    align-self: start;
  }

  .results-section[data-latixo-device="mobile"] .screenshot-card {
    align-self: start;
  }

  .results-section[data-latixo-device="mobile"] .browser-frame {
    flex: 0 0 680px;
    min-height: 0;
    max-height: 680px;
  }

  .results-section[data-latixo-device="mobile"] .capture-media,
  .results-section[data-latixo-device="mobile"] .capture-media video,
  .results-section[data-latixo-device="mobile"] .browser-frame > img {
    min-height: 0;
    height: 100%;
  }

  .results-section[data-latixo-device="mobile"] .capture-media video,
  .results-section[data-latixo-device="mobile"] .browser-frame > img {
    object-fit: contain;
    background: #eef3f5;
  }
}

@media (max-width: 820px) {
  .device-selector {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .device-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .device-options button {
    min-width: 0;
  }

  .device-selector > small {
    white-space: normal;
  }

  .test-duration-hint {
    min-height: 68px;
    border-top: 1px solid #dbe5ec;
    border-left: 0;
  }

  .result-profile {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .result-profile-heading {
    grid-template-columns: 1fr;
  }

  .result-profile-data {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .result-profile-data {
    grid-template-columns: 1fr;
  }
}

/* Latixo V1.9 — native multi-location selector */
.node-select > span {
  font-size: inherit !important;
  line-height: 1.1;
  min-width: 0;
  flex: 1 1 auto;
}

.node-select > span::after {
  content: none !important;
  display: none !important;
}

.node-select select {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 2px 0 0;
  padding: 0 24px 0 0;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}

.node-select:focus-within {
  box-shadow: inset 0 0 0 2px rgba(50, 103, 227, .28);
}

.node-select > svg:last-child {
  pointer-events: none;
  flex: 0 0 auto;
}

@media (max-width: 820px) {
  .node-select select {
    font-size: 16px;
  }
}

/* ============================================================
   Latixo V1.10 final homepage UI
   Functional behavior remains in the accepted V1.10 controller.
   ============================================================ */

.site-header {
  position: relative;
  isolation: isolate;
  width: min(1440px, calc(100% - 40px));
  height: 76px;
  margin: 16px auto 0;
  padding: 0 28px;
  border: 1px solid rgba(145, 181, 204, .16);
  border-radius: 16px;
  background: rgba(5, 25, 43, .92);
  box-shadow: none;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  top: -16px;
  bottom: -18px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--latixo-navy);
  content: "";
}

.site-header nav a:first-child {
  color: var(--latixo-lime);
}

.hero {
  min-height: 820px;
  margin-top: -1px;
  background:
    radial-gradient(circle at 76% 32%, rgba(42, 125, 160, .18), transparent 36%),
    linear-gradient(180deg, #061d31 0%, #041725 100%);
}

.hero-inner {
  width: min(1440px, calc(100% - 48px));
  padding: 88px 0 52px;
}

.hero h1 {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(52px, 4.2vw, 66px);
  line-height: .99;
}

.hero-copy {
  max-width: 650px;
  font-size: 18px;
}

.network-map {
  top: 18px;
  right: max(12px, calc((100vw - 1540px) / 2));
  width: min(790px, 56vw);
  height: 470px;
  opacity: .86;
}

.network-map::before {
  background: linear-gradient(90deg, var(--latixo-navy) 0%, rgba(6, 29, 49, .78) 13%, transparent 48%);
}

.network-routes {
  stroke-width: 2;
  stroke-linecap: round;
}

.network-routes .route-live {
  stroke: rgba(184, 245, 60, .8);
  stroke-dasharray: 4 12;
  animation: latixo-route-flow 2.8s linear infinite;
  filter: drop-shadow(0 0 5px rgba(184, 245, 60, .48));
}

.network-routes .route-2 { animation-delay: -.4s; }
.network-routes .route-3 { animation-delay: -.8s; }
.network-routes .route-4 { animation-delay: -1.2s; }
.network-routes .route-5 { animation-delay: -1.6s; }
.network-routes .route-6 { animation-delay: -2s; }

.network-routes .route-planned {
  stroke: rgba(95, 166, 255, .55);
  stroke-dasharray: 7 11;
  animation: latixo-route-flow 5.2s linear infinite;
}

@keyframes latixo-route-flow {
  to { stroke-dashoffset: -64; }
}

.map-node.node-active > i,
.map-node.node-live-map > i {
  width: 11px;
  height: 11px;
  border-color: var(--latixo-lime);
  background: var(--latixo-lime);
  animation: map-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 5px rgba(184, 245, 60, .12), 0 0 18px rgba(184, 245, 60, .48);
}

.map-node.node-active > span,
.map-node.node-live-map > span {
  border-color: rgba(184, 245, 60, .22);
  background: rgba(5, 25, 43, .88);
}

.map-node.node-active small,
.map-node.node-live-map small {
  color: var(--latixo-lime);
}

.node-seattle { top: 39%; left: 14%; }
.node-virginia { top: 38%; left: 29%; }
.node-nuremberg { top: 32%; left: 50%; }
.node-beijing { top: 38%; left: 70%; }
.node-tokyo { top: 34%; left: 84%; }
.node-singapore { top: 60%; left: 75%; }
.node-sao-paulo { top: 73%; left: 31%; }
.node-sydney { top: 78%; left: 88%; }

.node-tokyo,
.node-sydney {
  flex-direction: row-reverse;
}

.node-tokyo > span,
.node-sydney > span {
  text-align: right;
}

.test-console {
  position: relative;
  z-index: 4;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 14px;
  width: 100%;
  max-width: 1440px;
  margin-top: 54px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 22px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 28px 74px rgba(0, 0, 0, .42), 0 0 30px rgba(90, 176, 212, .16);
}

.url-field {
  position: relative;
  grid-column: 1;
  min-height: 76px;
  padding: 21px 18px 5px;
  border: 1px solid #d7e2e9;
  border-radius: 13px;
  background: #fbfdfe;
}

.url-field::before {
  position: absolute;
  top: 8px;
  left: 18px;
  color: #526b80;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
  content: "Enter URL";
}

.url-field input {
  padding: 14px 0 7px;
  font-size: 17px;
}

.device-selector {
  grid-column: 2 !important;
  grid-row: 1;
  grid-template-columns: 1fr !important;
  gap: 7px;
  min-height: 76px;
  padding: 7px 0 0;
  border: 0;
  background: transparent;
}

.device-selector legend,
.location-picker legend {
  padding: 0;
  color: #526b80;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.device-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  padding: 3px;
}

.device-options button {
  min-height: 43px;
}

.device-selector > small {
  padding-left: 3px;
  font-size: 11px;
}

.location-picker {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  color: #102a43;
}

.location-picker > input[type="hidden"] {
  display: none;
}

.location-options {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  margin-top: 9px;
}

.test-console .location-options button {
  position: relative;
  justify-content: flex-start;
  min-width: 0;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid #d8e2e9;
  border-radius: 12px;
  background: #fff;
  color: #102a43;
  box-shadow: none;
  font-weight: 700;
}

.test-console .location-options button:hover:not(:disabled) {
  border-color: #9bcf35;
  background: #fbfff4;
  transform: translateY(-1px);
}

.test-console .location-options button.is-active,
.test-console .location-options button[aria-checked="true"] {
  border-color: #8fd021;
  background: #fbfff5;
  box-shadow: 0 0 0 2px rgba(143, 208, 33, .12);
}

.test-console .location-options button.is-active > i,
.test-console .location-options button[aria-checked="true"] > i {
  display: block;
}

.test-console .location-options button > i {
  display: none;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: #54ae18;
  box-shadow: 0 0 0 4px rgba(84, 174, 24, .1);
}

img.location-flag {
  display: block;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  object-fit: cover;
  border: 1px solid #e1e8ed;
  border-radius: 50%;
  background: #f7fafc;
}

.location-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  text-align: left;
}

.location-copy strong {
  overflow: hidden;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.location-copy small {
  color: #4d8c13;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.test-console .location-options button.is-planned {
  opacity: .82;
  border-style: dashed;
  background: #f6f9fb;
  color: #617789;
}

.test-console .location-options button.is-planned small {
  color: #4b79aa;
}

.turnstile-slot {
  grid-column: 1;
  min-width: 0;
  min-height: 76px;
  justify-content: flex-end;
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.test-console > button[type="submit"] {
  grid-column: 2;
  min-height: 76px;
  border-radius: 13px;
  background: linear-gradient(135deg, #b8f53c 0%, #97e821 100%);
  font-size: 20px;
  letter-spacing: -.01em;
  box-shadow: 0 12px 28px rgba(111, 177, 15, .24);
}

.test-duration-hint {
  grid-column: 1 / -1;
  grid-template-columns: auto auto 1fr;
  justify-content: start;
  justify-items: start;
  gap: 8px 14px;
  min-height: 0;
  padding: 8px 4px 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.test-duration-hint > small {
  justify-self: end;
}

.quick-tests {
  position: relative;
  z-index: 3;
  margin: 12px 0 0 4px;
}

.trust-row {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 1180px;
  margin: 30px auto 0;
}

.trust-row > span {
  justify-content: center;
  min-height: 44px;
  padding: 0 26px;
  border-right: 1px solid rgba(174, 202, 219, .22);
  color: #b8cbd8;
  font-size: 13px;
}

.trust-row > span:last-child {
  border-right: 0;
}

@media (max-width: 1350px) {
  .location-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .network-map {
    right: -45px;
    width: 720px;
  }
}

@media (max-width: 1059px) {
  .site-header {
    width: min(100% - 28px, 1000px);
    padding: 0 20px;
  }

  .hero-inner {
    width: min(100% - 36px, 1000px);
    padding-top: 64px;
  }

  .hero h1,
  .hero-copy {
    max-width: 58%;
  }

  .test-console {
    grid-template-columns: minmax(0, 1fr) 320px !important;
  }

  .url-field,
  .device-selector {
    grid-column: auto;
  }

  .turnstile-slot,
  .test-console > button[type="submit"] {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 68px;
    margin-top: 10px;
    border-radius: 13px;
    box-shadow: none;
  }

  .site-header nav {
    display: none;
  }

  .node-pill {
    font-size: 10px;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    width: min(100% - 28px, 760px);
    padding: 54px 0 38px;
  }

  .hero h1,
  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(44px, 11vw, 62px);
  }

  .network-map,
  .hero-orbit {
    display: none;
  }

  .test-console {
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-top: 36px;
    padding: 16px;
    border-radius: 18px;
  }

  .url-field,
  .device-selector,
  .location-picker,
  .turnstile-slot,
  .test-console > button[type="submit"],
  .test-duration-hint {
    grid-column: 1 !important;
    grid-row: auto;
  }

  .device-selector {
    min-height: 0;
    padding-top: 2px;
  }

  .location-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .turnstile-slot {
    justify-content: center;
    width: 100%;
    padding: 8px 0;
    border: 0;
    background: transparent;
  }

  .test-console > button[type="submit"] {
    min-height: 62px;
  }

  .test-duration-hint {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 3px;
    min-height: 0;
    border: 0;
    text-align: center;
  }

  .test-duration-hint > small {
    justify-self: center;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 24px;
  }

  .trust-row > span {
    justify-content: flex-start;
    min-height: 38px;
    padding: 0;
    border: 0;
  }
}

@media (max-width: 480px) {
  .site-header {
    width: calc(100% - 20px);
    padding: 0 14px;
  }

  .site-header .brand {
    font-size: 20px;
  }

  .site-header .brand-mark {
    width: 33px;
    height: 33px;
  }

  .node-pill {
    padding: 7px 9px;
  }

  .hero-inner {
    width: calc(100% - 22px);
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .test-console {
    padding: 13px;
  }

  .location-options {
    gap: 8px;
  }

  .test-console .location-options button {
    min-height: 66px;
    padding: 9px;
  }

  .location-flag {
    width: 28px;
    height: 28px;
    font-size: 19px;
  }

  .location-copy strong {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .network-routes .route-live,
  .network-routes .route-planned,
  .map-node.node-active > i {
    animation: none !important;
  }
}


/* ============================================================
   Latixo V1.10.1 — Browser translation stability fix
   Keep React-controlled test UI stable while allowing surrounding
   editorial/SEO content to remain browser-translatable.
   ============================================================ */
.test-console.notranslate,
.quick-tests.notranslate,
.loading-section.notranslate,
.results-section.notranslate {
  unicode-bidi: isolate;
}

.test-console > button[type="submit"] .submit-label {
  display: inline-block;
}

.test-console > button[type="submit"][data-running="true"] svg {
  display: none;
}

.test-console > button[type="submit"][data-running="true"]::before {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  animation: latixo-submit-spin .8s linear infinite;
}

@keyframes latixo-submit-spin {
  to { transform: rotate(360deg); }
}

.test-console > .error-message {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 0;
  max-height: 0;
  margin: 0;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fff7f7;
  color: #9b2c2c;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: max-height .18s ease, padding .18s ease, opacity .18s ease;
}

.test-console > .error-message.is-visible {
  max-height: 76px;
  padding: 10px 12px;
  border-color: #f1c5c5;
  opacity: 1;
  visibility: visible;
}

.test-console > .error-message svg {
  flex: 0 0 auto;
}

@media (max-width: 820px) {
  .test-console > .error-message {
    grid-column: 1 !important;
  }
}

/* ============================================================
   Latixo V1.10.2 — Validation message placement fix
   Desktop action row: error | Turnstile | Run speed test.
   Keeps V1.10.1 browser-translation stability protections intact.
   ============================================================ */
@media (min-width: 1060px) {
  .test-console {
    grid-template-columns: minmax(0, 1fr) 300px 360px !important;
  }

  .test-console > .url-field {
    grid-column: 1 / 3 !important;
    grid-row: 1;
  }

  .test-console > .device-selector {
    grid-column: 3 !important;
    grid-row: 1;
  }

  .test-console > .location-picker {
    grid-column: 1 / -1 !important;
    grid-row: 2;
  }

  .test-console > .error-message {
    grid-column: 1 !important;
    grid-row: 3;
    align-self: center;
  }

  .test-console > .error-message.is-visible {
    min-height: 58px;
    max-height: 76px;
    padding: 12px 16px;
  }

  .test-console > .turnstile-slot {
    grid-column: 2 !important;
    grid-row: 3;
    justify-content: center;
  }

  .test-console > button[type="submit"] {
    grid-column: 3 !important;
    grid-row: 3;
  }

  .test-console > .test-duration-hint {
    grid-column: 1 / -1 !important;
    grid-row: 4;
  }
}

@media (max-width: 1059px) and (min-width: 821px) {
  .test-console {
    grid-template-columns: minmax(0, 1fr) 320px !important;
  }

  .test-console > .url-field {
    grid-column: 1 !important;
    grid-row: 1;
  }

  .test-console > .device-selector {
    grid-column: 2 !important;
    grid-row: 1;
  }

  .test-console > .location-picker {
    grid-column: 1 / -1 !important;
    grid-row: 2;
  }

  .test-console > .error-message {
    grid-column: 1 / -1 !important;
    grid-row: 3;
  }

  .test-console > .error-message:not(.is-visible) {
    display: none;
  }

  .test-console > .turnstile-slot {
    grid-column: 1 !important;
    grid-row: 4;
    justify-content: flex-end;
  }

  .test-console > button[type="submit"] {
    grid-column: 2 !important;
    grid-row: 4;
  }

  .test-console > .test-duration-hint {
    grid-column: 1 / -1 !important;
    grid-row: 5;
  }
}

@media (max-width: 820px) {
  .test-console > .url-field { grid-row: 1; }
  .test-console > .device-selector { grid-row: 2; }
  .test-console > .location-picker { grid-row: 3; }

  .test-console > .error-message {
    grid-column: 1 !important;
    grid-row: 4;
  }

  .test-console > .error-message:not(.is-visible) {
    display: none;
  }

  .test-console > .turnstile-slot { grid-row: 5; }
  .test-console > button[type="submit"] { grid-row: 6; }
  .test-console > .test-duration-hint { grid-row: 7; }
}
