:root {
  color-scheme: dark;
  font-family: 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  color: #f3f7ff;
  background: #070918;
  --ink: #f3f7ff;
  --muted: #b8c5df;
  --low: #9aaccb;
  --cyan: #81e5ff;
  --blue: #80a7ff;
  --line: #293451;
  --red: #ffb6c1;
  --mono: 'SFMono-Regular', ui-monospace, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .58; }
#run:disabled { cursor: wait; }
a { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.shell { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }

.topbar {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid #37487580;
  background: #070b19;
}
.topbar-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; }
.brand img { display: block; object-fit: contain; }
.topbar nav { display: flex; align-items: center; gap: 22px; }
.topbar nav > a { color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 650; }
.topbar nav > a:hover { color: var(--cyan); }
.language-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid #354365; border-radius: 8px; background: #11182c; }
.language-switch button {
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  min-width: 32px;
  min-height: 32px;
  padding: 2px 4px;
  font: 700 .78rem var(--mono);
}
.language-switch button[aria-pressed='true'] { background: #29426a; color: #f3fdff; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .94rem;
  font-weight: 750;
  line-height: 1.28;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s, border-color .18s, box-shadow .18s;
}
.button-primary {
  background: linear-gradient(105deg, #83e6ff, #829dff);
  color: #080f26;
  border-color: #a0e5ff;
  box-shadow: 0 6px 26px #534cdd53, inset 0 1px #e4f9ffa6;
}
.button-primary:hover:not(:disabled) { box-shadow: 0 6px 33px #64b8ff82, inset 0 1px #e4f9ffa6; }
.button-outline { background: #111d36; color: #def2ff; border-color: #485c87; }
.button-outline:hover:not(:disabled) { background: #202f51; border-color: #779cce; }
.button-small { min-height: 38px; padding: 8px 12px; font-size: .87rem; }

main {
  padding-bottom: 46px;
  background:
    radial-gradient(ellipse at 10% 42%, #21204c66, transparent 49%),
    radial-gradient(ellipse at 92% 64%, #10467b3d, transparent 51%), #070918;
}
.hero { position: relative; isolation: isolate; overflow: hidden; background: #060a19; }
.hero-inner { display: flex; align-items: center; min-height: clamp(370px, 36vw, 490px); }
.hero-copy { width: min(700px, 64%); padding-block: 56px 82px; }
.hero h1 {
  max-width: 10ch;
  font-size: clamp(4.8rem, 7.8vw, 7.4rem);
  font-weight: 770;
  line-height: .91;
  letter-spacing: -.085em;
  text-wrap: balance;
  text-shadow: 0 3px 20px #02081c9c;
}
.hero h1 em { font-style: normal; color: #8febff; text-shadow: 0 0 33px #49a9ffb3; }
.hero-copy > p { max-width: 38rem; margin-top: 20px; line-height: 1.38; text-wrap: balance; }
.hero-invitation > span { display: block; }
.hero-description {
  color: #d7e5ff;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  font-weight: 550;
}
.hero-europe { color: var(--cyan); font-weight: 750; white-space: nowrap; }
.hero-copy > .hero-invitation {
  margin-top: clamp(18px, 2vw, 24px);
  color: #ff6878;
  font-size: clamp(1.08rem, 1.65vw, 1.38rem);
  font-weight: 750;
  text-shadow: 0 1px 3px #060a19, 0 0 22px #ff304f5c;
}
.hero-visual { position: absolute; z-index: -1; inset: 0 0 0 10%; }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 49%; }
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 56% 11%, #6251ff22, transparent 65%),
    linear-gradient(90deg, #060a19, #071126eb 18%, #0a112b44 50%, transparent 72%),
    linear-gradient(0deg, #070918, transparent 37%);
}

.experience { position: relative; margin-top: -24px; }
.destination-check {
  position: relative;
  scroll-margin-top: 20px;
  padding: 24px 26px 23px;
  border: 1px solid #865364;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 0 0, #7c294956, transparent 65%),
    linear-gradient(115deg, #301e2d, #201621 56%, #19161e);
  box-shadow: 0 18px 64px #05030db3, 0 0 35px #a8404b25, inset 0 1px #f0afbc26;
}
.section-heading, .results-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.section-heading { margin-bottom: 17px; }
.step-heading { min-width: 0; padding-inline-start: clamp(2.55rem, 3.8vw, 3.3rem); }
.step-number {
  position: absolute;
  z-index: 1;
  inset-block-start: -9px;
  inset-inline-start: -5px;
  display: grid;
  place-items: center;
  inline-size: clamp(2.85rem, 4.1vw, 3.5rem);
  aspect-ratio: 1;
  border: 2px solid #80ffa5;
  border-radius: 11px;
  background: #113122;
  color: #a4ffc1;
  box-shadow: 0 0 20px #5aff954d, inset 0 0 12px #62ff8726, 0 3px 9px #050d09a3;
  font: 750 clamp(1.45rem, 2.2vw, 1.9rem)/1 var(--mono);
  transform: rotate(-7deg);
}
h2 { font-size: clamp(1.8rem, 3.3vw, 2.64rem); line-height: 1.06; letter-spacing: -.055em; }
.section-heading p, .sales p { margin-top: 7px; color: var(--muted); line-height: 1.5; }
.mode {
  flex-shrink: 0;
  align-self: flex-start;
  padding: 6px 8px;
  border: 1px solid #43587e;
  border-radius: 6px;
  background: #142849;
  color: #c6e5ff;
  font: 600 .78rem/1.35 var(--mono);
}
.mode:empty { display: none; }
.destination-check form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 11px; }
.destination-check .section-heading p { color: #e0c5d0; }
.destination-check .mode { border-color: #815261; background: #482638; color: #ffdce2; }
.destination-check .field input { border-color: #785363; background: #180e18; }
.destination-check .button-primary {
  border-color: #ffc4b1;
  background: linear-gradient(108deg, #ffc3a1, #ff8791);
  color: #2a1221;
  box-shadow: 0 6px 24px #b64e6566, inset 0 1px #fff0e3b3;
}
.destination-check .button-primary:hover:not(:disabled) { box-shadow: 0 6px 30px #d4637980, inset 0 1px #fff0e3b3; }
.destination-check :focus-visible { outline-color: #ffb6af; }
.field label, .local-fields > label { display: block; margin-bottom: 6px; color: #e4edff; font-size: .89rem; font-weight: 650; }
.field input, .field select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid #44577e;
  border-radius: 8px;
  background: #080f23;
  color: var(--ink);
  font-size: .95rem;
}
.field input, textarea { font-family: var(--mono); }
.field input::placeholder { color: #a2b4d5; }
.field select {
  appearance: none;
  padding-right: 33px;
  background:
    linear-gradient(45deg, transparent 50%, #abcdf7 50%) calc(100% - 17px) 53% / 5px 5px no-repeat,
    linear-gradient(135deg, #abcdf7 50%, transparent 50%) calc(100% - 12px) 53% / 5px 5px no-repeat,
    #080f23;
}
.query-coverage { max-width: 86ch; margin-top: 15px; color: #dfc6d0; font-size: .94rem; line-height: 1.5; }
.query-coverage > strong { display: block; color: #ffe8df; font-weight: 650; }
.form-status { color: var(--low); font-size: .82rem; line-height: 1.45; }
.form-status:not(:empty) { margin-top: 7px; color: var(--cyan); }
.form-status[data-error] { color: var(--red); }

.comparison { margin-top: clamp(17px, 2vw, 23px); scroll-margin-top: 20px; }
.results-header { margin-bottom: 11px; }
.results-header:has(#result-target:empty):has(#result-description:empty):has(.difference[hidden]) { display: none; }
.results-header h3 { font-size: 1.26rem; overflow-wrap: anywhere; }
.results-header p:not(.difference) { margin-top: 4px; color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
.difference { padding: 7px 10px; border: 1px solid #388bad; border-radius: 7px; background: #10374d; color: #caf6ff; text-align: center; font: 650 .81rem/1.4 var(--mono); }
.difference[data-alert] { border-color: #c4647a; background: #34172b; color: var(--red); }

.terminals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.terminal {
  position: relative;
  min-width: 0;
  block-size: 36.25rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #3c496a;
  border-radius: 12px;
  background: #071021;
  box-shadow: 0 12px 35px #0305128f;
}
.projected { border-color: #4780ae; box-shadow: 0 0 31px #168ce225, 0 12px 35px #0305128f; }
.terminal-top { display: flex; flex: 0 0 auto; justify-content: space-between; align-items: center; gap: 10px; min-height: 72px; padding: 12px 15px; border-radius: 11px 11px 0 0; background: linear-gradient(120deg, #1d2644, #10192f); border-bottom: 1px solid #3b496d; }
.projected .terminal-top { background: linear-gradient(120deg, #153953, #11223c); border-color: #446c8e; }
.terminal h4 { font-size: 1.08rem; letter-spacing: -.025em; line-height: 1.15; }
.terminal-top p { color: var(--muted); font-size: .83rem; line-height: 1.3; }
.terminal-heading p:not(:empty) { margin-top: 4px; }
.count { display: flex; align-items: baseline; gap: 5px; flex-shrink: 0; text-align: right; }
.count strong { color: #e6ecff; font: 700 1.55rem/1 var(--mono); }
.projected .count strong { color: var(--cyan); }
.terminal-content { position: relative; flex: 1; min-height: 0; overflow: auto; }
.terminal-content:focus-visible { outline-offset: -3px; }
.terminal-body {
  min-height: 100%;
  padding: 13px 15px 16px;
  background: linear-gradient(172deg, #091023, #071020 64%, #081325);
}
.terminal-body:empty::before { content: '_'; color: var(--cyan); font: .95rem var(--mono); }
.terminal-chrome { display: flex; align-items: center; gap: 6px; margin-bottom: 11px; color: var(--low); font: .78rem var(--mono); }
.terminal-chrome i { border-radius: 50%; width: 8px; height: 8px; background: #ed7789; }
.terminal-chrome i:nth-child(2) { background: #f1bf78; }
.terminal-chrome i:nth-child(3) { background: #73d8aa; }
.terminal-chrome span { margin-left: 4px; }
.terminal-command { margin-bottom: 9px; color: #a6edff; font: .86rem/1.45 var(--mono); overflow-wrap: anywhere; }
.terminal-command span { margin-right: 6px; color: #8fe4b8; }
.terminal-command::after {
  content: '';
  display: inline-block;
  height: .92em;
  width: .5em;
  margin-left: 6px;
  vertical-align: -.13em;
  background: #92d9ff;
  animation: cursor 1.05s step-end 5;
}
.route-context, .terminal-source { margin-bottom: 7px; color: #b6cbe9; font: .8rem/1.5 var(--mono); overflow-wrap: anywhere; }
.terminal-source { padding-bottom: 8px; border-bottom: 1px solid #2c3a57; }
.terminal-table + .route-context { margin-top: 8px; padding-top: 8px; border-top: 1px solid #2c3a57; }
.terminal-table { width: 100%; border-collapse: collapse; text-align: left; font: .83rem/1.5 var(--mono); }
.terminal-table th, .terminal-table td { padding: 4px 8px 4px 0; vertical-align: top; }
.terminal-table th { color: #9eafd0; font-weight: 600; }
.terminal-table td:last-child, .terminal-table th:last-child { padding-right: 0; }
.terminal-table td:first-child { width: 4ch; color: #a6b8d8; }
.terminal-table td:nth-child(2) { overflow-wrap: anywhere; }
.terminal-table .time-cell { white-space: nowrap; }
.terminal-table tr[data-peer] td { color: #a2edff; }
.terminal-table tr[data-unanswered] td { color: var(--muted); }
.terminal-table .vlayer-segment td {
  padding-block: 0 4px;
  color: #76ff9d;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.3;
  text-shadow: 0 0 8px #46ff8266;
}
.vlayer-segment-arrow { margin-inline-end: .45em; }
.vlayer-segment-cursor {
  display: inline-block;
  width: .47em;
  height: .84em;
  margin-inline-start: .5em;
  vertical-align: -.12em;
  background: currentColor;
  box-shadow: 0 0 7px #46ff8280;
  animation: cursor 1.25s step-end infinite;
}
.terminal-table .measurement-divider th {
  padding: 8px 9px;
  border-block: 1px solid #304c6c;
  color: #b4edff;
  background: #11233a;
  font-weight: 650;
}
.backs { display: block; color: #adbedc; font-size: .79rem; }
.transport { display: block; padding: 5px 8px; margin-block: 3px; border-left: 2px solid #68c8f5; border-radius: 0 4px 4px 0; color: #cbf2ff; background: #122b45; }
.terminal-line, .empty-terminal { color: #b7c9e7; font: .84rem/1.55 var(--mono); overflow-wrap: anywhere; }
.terminal-line { padding-block: 4px; }
.empty-terminal { padding-block: 8px; max-width: 53ch; }
.terminal-alert { margin-top: 7px; padding: 9px 10px; border-left: 2px solid #fb879b; background: #35192c; color: var(--red); }
.terminal-foot { flex: 0 0 auto; min-height: 40px; padding: 9px 14px; border-radius: 0 0 11px 11px; border-top: 1px solid #2b3a5c; background: #0d172b; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.destination-rtt { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 3px 12px; color: #d6e6ff; }
.destination-rtt strong { color: var(--cyan); font: 700 1.05rem/1.25 var(--mono); white-space: nowrap; }
.latency-values { display: flex; flex-wrap: wrap; gap: 5px 14px; }

.local-measurement { border-bottom: 1px solid #2b3a5c; background: #101b32; }
.local-fields { display: grid; justify-items: start; gap: 8px; padding: 14px; }
.local-fields > p:not(.form-status) { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.local-fields .form-status:empty { display: none; }
.local-fields > label { margin: 0; }
.local-fields textarea { min-width: 0; resize: vertical; }
.local-platform select { min-height: 38px; }
.local-command-line { display: flex; width: 100%; align-items: center; gap: 8px; }
.local-command-line code { flex: 1; padding: 7px 0; color: var(--cyan); font: .8rem/1.4 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.local-command-line code:empty { display: none; }

.client-terminal {
  --client-line: #654d84;
  --client-accent: #e2c2ff;
  border-color: #8965b1;
  background: #180f27;
  box-shadow: 0 0 28px #9d6bdf29, 0 12px 35px #0503108f;
}
.client-terminal .terminal-top {
  border-color: var(--client-line);
  background: linear-gradient(120deg, #3a2455, #221933);
}
.client-terminal .local-measurement, .client-terminal .terminal-foot {
  border-color: var(--client-line);
  background: #211631;
}
.client-terminal .terminal-foot:empty { display: none; }
.client-terminal:has(.terminal-foot:empty) .terminal-content { border-radius: 0 0 11px 11px; }
.client-terminal .terminal-body { background: linear-gradient(165deg, #171025, #100d1c); }
.client-terminal .local-platform select, .client-terminal .local-fields textarea {
  border-color: var(--client-line);
  background-color: #170f24;
}
.client-terminal .local-fields > .local-intro { color: #f0e4fa; }
.client-terminal .terminal-command, .client-terminal .local-command-line code,
.client-terminal .count strong, .client-terminal .destination-rtt strong { color: var(--client-accent); }
.client-terminal .terminal-command::after { background: var(--client-accent); }
.client-terminal .button-outline { border-color: #9674ba; background: #2c1c42; color: #f2e6ff; }
.client-terminal .button-outline:hover:not(:disabled) { background: #412958; }
.client-terminal .button-primary {
  border-color: #e3c8ff;
  background: linear-gradient(105deg, #e9c9ff, #bc9afa);
  color: #241434;
  box-shadow: 0 6px 23px #9880ea44, inset 0 1px #f8edffa6;
}
.client-terminal .button-primary:hover:not(:disabled) { box-shadow: 0 6px 30px #a48deb66, inset 0 1px #f8edffa6; }
.client-terminal :focus-visible { outline-color: var(--client-accent); }

.comparison-note {
  margin-top: 14px;
  color: #d8e4fa;
  font-size: clamp(1.06rem, 1.65vw, 1.28rem);
  font-weight: 620;
  line-height: 1.5;
}
.comparison-note:empty, .source-note:empty { display: none; }
.comparison-summary {
  position: relative;
  margin-top: 23px;
  padding: clamp(15px, 2vw, 23px);
  border: 1px solid #a07c3c;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 5% 0, #77562259, transparent 70%),
    linear-gradient(115deg, #32271a, #241d17 58%, #1e1818);
  color: #fff0d4;
  box-shadow: 0 14px 36px #08050482, inset 0 1px #ffdd9b2b;
}
.comparison-summary h4 { font-size: clamp(1.46rem, 2.8vw, 2.1rem); letter-spacing: -.035em; line-height: 1.15; }
.summary-context, .summary-status, .summary-metric > p { color: #f0d8ad; font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.5; }
.summary-context { margin-top: 7px; }
.summary-context:empty, .summary-metrics:empty { display: none; }
.summary-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.summary-metric {
  display: grid;
  justify-items: start;
  gap: 6px;
  min-width: 0;
  padding: clamp(12px, 1.65vw, 18px);
  border: 1px solid #a67e3c73;
  border-radius: 9px;
  background: #19110d80;
}
.summary-metric > span:first-child { color: #f3d79d; font-size: clamp(1rem, 1.35vw, 1.13rem); font-weight: 680; }
.summary-metric > strong { color: #ffdd91; font: 700 clamp(1.32rem, 2.95vw, 2.14rem)/1.18 var(--mono); overflow-wrap: anywhere; }
.summary-status { grid-column: 1 / -1; font-weight: 620; }

.exchange-section { margin-top: clamp(24px, 3vw, 36px); }
.exchange-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.exchange-item { min-width: 0; }
.exchange-card {
  --exchange-line: #806170;
  --exchange-accent: #f6c4ce;
  --exchange-tint: #352330;
  --flag-offset: -7%;
  display: grid;
  grid-template-columns: min(59%, 15rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(4px, .55vw, 9px);
  height: 100%;
  padding-block: clamp(8px, .85vw, 12px);
  padding-inline: 0 clamp(10px, 1.15vw, 16px);
  overflow: clip;
  border: 1px solid var(--exchange-line);
  border-radius: 14px;
  color: var(--ink);
  background: linear-gradient(120deg, var(--exchange-tint), #111522);
  box-shadow: 0 10px 25px #05081769, inset 0 1px #ebf4ff0f;
  text-decoration: none;
}
.exchange-card[data-market='sp'] {
  --exchange-line: #47796d;
  --exchange-accent: #a4ebce;
  --exchange-tint: #183a36;
}
.exchange-card[data-market='mia'] { --flag-offset: -9%; }
.exchange-card[data-market='ams'] {
  --exchange-line: #526e9c;
  --exchange-accent: #bfd6ff;
  --exchange-tint: #202f58;
}
a.exchange-card { transition: border-color .18s, box-shadow .18s; }
a.exchange-card:hover, a.exchange-card:focus-visible {
  border-color: var(--exchange-accent);
  box-shadow: 0 10px 25px #05081769, inset 0 1px #ebf4ff24;
}
a.exchange-card:focus-visible { outline-color: var(--exchange-accent); }
.exchange-flag {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  translate: var(--flag-offset) 0;
  filter: drop-shadow(0 4px 8px #03071085) drop-shadow(0 0 5px #a4bce728);
}
.exchange-copy { min-width: 0; display: grid; gap: 4px; }
.exchange-city { font-size: clamp(1.03rem, 1.7vw, 1.45rem); line-height: 1.15; letter-spacing: -.025em; }
.exchange-name, .exchange-action { font-size: clamp(.84rem, 1.12vw, .95rem); line-height: 1.35; overflow-wrap: anywhere; }
.exchange-name { color: #d9e4f7; font-weight: 600; text-wrap: balance; }
.exchange-action { color: var(--exchange-accent); font-weight: 680; }
a.exchange-card .exchange-action { text-decoration: underline; text-underline-offset: .2em; }
.source-note { margin-top: 13px; color: #cfddf3; font-size: clamp(1.02rem, 1.48vw, 1.2rem); line-height: 1.5; }
.expansion-section { margin-top: clamp(28px, 4vw, 46px); }
.expansion-section h3 {
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  line-height: 1.35;
  text-wrap: pretty;
}
.expansion-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px clamp(10px, 1.4vw, 18px);
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}
.expansion-card {
  position: relative;
  min-width: 0;
  min-height: 74px;
  padding: 27px 16px 13px;
  border: 1px solid #66e8ff;
  border-radius: 12px;
  color: #f8fdff;
  background:
    radial-gradient(ellipse at 0 0, #104676aa, transparent 74%),
    linear-gradient(125deg, #10294b, #091529 78%);
  box-shadow: 0 0 18px #29d7ff55, inset 0 0 13px #29d7ff25, 0 8px 24px #040d248a;
}
.step-number.expansion-badge {
  inset-block-start: -11px;
  inset-inline-start: 14px;
  inline-size: max-content;
  aspect-ratio: auto;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: .73rem;
  line-height: 1.15;
}
.expansion-name {
  display: block;
  font-size: clamp(.98rem, 1.5vw, 1.15rem);
  line-height: 1.3;
}
.benefits-section { margin-block: clamp(42px, 6.5vw, 80px) clamp(32px, 5vw, 64px); }
.benefits-heading { max-width: 68ch; margin-bottom: clamp(19px, 2.8vw, 31px); }
.benefits-heading h2 {
  color: #f5faff;
  font-size: clamp(2rem, 4.1vw, 3.35rem);
  text-wrap: balance;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefit-card {
  --benefit-stagger: 0ms;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #3c648e;
  border-radius: 16px;
  background: radial-gradient(ellipse at 0 100%, #18375983, transparent 70%), #0e1a30;
  box-shadow: 0 14px 36px #0309168c;
}
.benefit-card:nth-child(2) { --benefit-stagger: 70ms; }
.benefit-card:nth-child(3) { --benefit-stagger: 140ms; }
.benefit-card:nth-child(4) { --benefit-stagger: 210ms; }
.benefit-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-bottom: 1px solid #63cfff57;
  background: #101d34;
}
.benefit-copy { padding: clamp(17px, 2.4vw, 28px); }
.benefit-copy h3 {
  color: #f3faff;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.benefit-copy p {
  margin-top: 8px;
  color: #ccd9ee;
  font-size: clamp(.98rem, 1.35vw, 1.08rem);
  line-height: 1.54;
  max-width: 58ch;
}
@media (prefers-reduced-motion: no-preference) {
  .benefit-card.benefits-visible { animation: benefit-arrival .5s ease-out var(--benefit-stagger) backwards; }
  @keyframes benefit-arrival {
    from { opacity: .45; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .benefit-card { transition: border-color .22s, box-shadow .22s, transform .22s; }
  .benefit-card:hover {
    transform: translateY(-3px);
    border-color: #76ddff;
    box-shadow: 0 16px 36px #020a17a3, 0 0 22px #33c8ff27;
  }
}
.approach {
  --approach-bg: #39141e;
  --approach-copper: #ffc092;
  --approach-copy: #f0d8ce;
  color: #fff6ec;
  background: radial-gradient(ellipse 970px 660px at 9% 0, #692b33, transparent 88%), var(--approach-bg);
  border-block: 1px solid #ab674c;
}
.approach-content { padding-block: clamp(44px, 7.2vw, 104px) clamp(12px, 2vw, 24px); }
.approach-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(20px, 4.7vw, 68px);
}
.approach-heading h2 {
  max-width: 18ch;
  font-size: clamp(2.55rem, 5.6vw, 5.1rem);
  font-weight: 770;
  letter-spacing: -.06em;
  line-height: .99;
  text-wrap: balance;
}
.approach-heading p {
  max-width: 42ch;
  color: var(--approach-copy);
  font-size: clamp(1.06rem, 1.7vw, 1.3rem);
  line-height: 1.5;
}
.approach-formula {
  display: flex;
  flex-wrap: wrap;
  gap: .38em .8em;
  margin-top: clamp(30px, 4vw, 58px);
  color: var(--approach-copper);
  font: 650 clamp(.87rem, 2.2vw, 1.45rem)/1.45 var(--mono);
}
.approach-formula strong { color: #fff6ec; }
.approach-formula span { white-space: nowrap; }
.approach-components {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  margin: 15px 0 0;
  padding-top: clamp(15px, 2vw, 27px);
  border-top: 1px solid #a36d61;
}
.approach-components dt {
  margin-bottom: 6px;
  font-size: clamp(1.08rem, 1.8vw, 1.36rem);
  font-weight: 750;
  letter-spacing: -.02em;
}
.approach-components dd {
  margin: 0;
  max-width: 41ch;
  color: var(--approach-copy);
  font-size: clamp(.98rem, 1.35vw, 1.07rem);
  line-height: 1.55;
}
.approach-example, .approach-policy {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr);
  gap: 12px clamp(26px, 4vw, 58px);
}
.approach-example {
  margin-top: clamp(34px, 6vw, 78px);
  padding-top: clamp(20px, 3vw, 34px);
  border-top: 1px solid #a36d61;
}
.approach-example h3 {
  max-width: 19ch;
  color: #fff6ec;
  font-weight: 750;
  font-size: clamp(1.7rem, 3.6vw, 3.15rem);
  letter-spacing: -.042em;
  line-height: 1.05;
  text-wrap: balance;
}
.approach-example p, .approach-policy p {
  max-width: 66ch;
  color: var(--approach-copy);
  font-size: clamp(1rem, 1.55vw, 1.17rem);
  line-height: 1.55;
}
.approach-policy {
  margin-top: clamp(22px, 4vw, 48px);
}
.approach-policy h3 {
  max-width: 20ch;
  color: var(--approach-copper);
  font-size: clamp(1.55rem, 3.15vw, 2.7rem);
  letter-spacing: -.025em;
  line-height: 1.15;
  text-wrap: balance;
}
.approach-conclusion { display: grid; }
.approach-conclusion > * { grid-area: 1 / 1; }
.approach-conclusion-copy {
  z-index: 1;
  align-self: start;
  padding-top: clamp(14px, 3vw, 40px);
}
.approach-conclusion-copy p {
  max-width: 69ch;
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.55;
  text-shadow: 0 1px 8px #210c16, 0 2px 20px #210c16;
}
.approach-visual { position: relative; isolation: isolate; }
.approach-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.approach-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(var(--approach-bg), #29101aa1 16%, #29101a72 32%, transparent 49%, transparent 77%, #190c12bc);
}
.approach-legend {
  position: absolute;
  z-index: 1;
  inset-inline: 0;
  bottom: clamp(14px, 3vw, 44px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  align-items: end;
  gap: 8px;
}
.approach-legend span {
  padding: .5em .85em;
  border: 1px solid #ce9881;
  border-radius: 5px;
  color: #fff5e9;
  background: #231418ed;
  font: 700 clamp(.7rem, 1.4vw, .92rem)/1.3 var(--mono);
  text-align: center;
}
.sales {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 150px;
  margin-top: clamp(28px, 5vw, 64px);
  padding: 21px 25px;
  border: 1px solid #486a9b;
  border-radius: 14px;
  background: linear-gradient(90deg, #101830, #101830ea 64%, #10183070), url('./virtual-layer-fibra.jpg') center 46% / cover;
}
.sales h2 { font-size: clamp(1.52rem, 2.8vw, 1.94rem); }
.sales .button { flex-shrink: 0; }
.site-footer {
  color-scheme: light;
  padding-block: clamp(32px, 5vw, 60px);
  border-top: 1px solid #dce4ef;
  color: #334760;
  background: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr) minmax(0, .95fr);
}
.footer-panel {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 13px;
  min-width: 0;
}
.footer-panel + .footer-panel {
  padding-inline-start: clamp(18px, 3.2vw, 42px);
  margin-inline-start: clamp(18px, 3.2vw, 42px);
  border-inline-start: 1px solid #e1e8f1;
}
.footer-contact {
  color: #18508a;
  font-weight: 650;
  line-height: 1.55;
  text-underline-offset: .22em;
  overflow-wrap: anywhere;
}
.footer-contact:hover { color: #0c3664; }
.footer-contact:focus-visible, .footer-logo-link:focus-visible { outline-color: #18508a; }
.footer-logo-link { display: block; width: 100%; border-radius: 4px; }
.footer-logo {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: contain;
  object-position: left center;
}
.footer-logo-america { max-width: 226px; }
.footer-logo-saas { max-width: 228px; }
.footer-logo-holding { max-width: 184px; }
.footer-panel p { max-width: 35ch; font-size: .95rem; line-height: 1.55; }

.contact-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  padding: clamp(20px, 5vw, 36px);
  border: 1px solid #5498bd;
  border-radius: 19px;
  color: var(--ink);
  background: radial-gradient(ellipse at 0 0, #173550, transparent 60%), #0e162b;
  box-shadow: 0 26px 80px #00091cd9, 0 0 34px #38b5ef2e, inset 0 1px #96ddff3b;
  overscroll-behavior: contain;
}
.contact-dialog::backdrop { background: #030815cc; backdrop-filter: blur(5px); }
.contact-dialog h2 {
  margin-bottom: 24px;
  padding-right: 36px;
  font-size: clamp(1.7rem, 5vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.contact-close { position: absolute; top: 12px; right: 12px; }
.contact-close button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #415a7b;
  border-radius: 10px;
  background: #14233e;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}
.contact-close button:hover { border-color: #76bfe4; background: #20395a; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 15px; }
.contact-field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.contact-field label { color: #e4eeff; font-size: .94rem; font-weight: 700; }
.contact-field input, .contact-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #456181;
  border-radius: 9px;
  color: var(--ink);
  background: #080f21;
  font: inherit;
}
.contact-field input:focus, .contact-field textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
}
.contact-hint { color: var(--muted); font-size: .79rem; }
.contact-message, .contact-actions { grid-column: 1 / -1; }
.contact-field textarea { resize: vertical; min-height: 108px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.contact-actions p { flex: 1; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.contact-actions p[data-error] { color: var(--red); }
.contact-actions .button { min-width: 124px; margin-left: auto; }
.contact-success {
  margin-block: 30px 12px;
  color: #e8f7ff;
  font-size: clamp(1.38rem, 4vw, 1.75rem);
  font-weight: 650;
  line-height: 1.32;
  text-wrap: balance;
}

.reveal { animation: reveal-line .22s ease-out backwards; animation-delay: var(--line-delay, 0ms); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes reveal-line { from { opacity: 0; transform: translateX(-5px); } to { opacity: 1; transform: translateX(0); } }
@keyframes cursor { 50% { opacity: 0; } }

@media (max-width: 900px) {
  .approach-conclusion { display: block; }
  .approach-conclusion-copy { position: relative; }
  .approach-visual { margin-top: calc(-1 * clamp(42px, 13vw, 64px)); }
  .approach-visual::after {
    bottom: auto;
    height: 115px;
    background: linear-gradient(var(--approach-bg), #29101ac4 52%, transparent);
  }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 34px); }
  .hero-inner { min-height: 370px; }
  .hero h1 { font-size: clamp(3.5rem, 9.4vw, 5.55rem); }
  .hero-copy { width: 83%; }
  .hero-visual { left: 0; }
  .hero-visual img { object-position: 61% center; }
  .hero-visual::after { background: linear-gradient(90deg, #060a19f2, #0711269e 47%, #07112642), linear-gradient(0deg, #070918, transparent 36%); }
  .destination-check { padding: 18px; }
  .section-heading { flex-wrap: wrap; gap: 8px; }
  .terminals { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .summary-metrics { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .exchange-cards, .expansion-cards, .benefits-grid { grid-template-columns: minmax(0, 1fr); }
  .approach-heading, .approach-example, .approach-policy { grid-template-columns: minmax(0, 1fr); }
  .approach-components { gap: 15px; }
  .sales { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-panel { gap: 8px; }
  .footer-panel + .footer-panel {
    margin: 20px 0 0;
    padding: 20px 0 0;
    border: 0;
    border-top: 1px solid #e1e8f1;
  }
  .footer-logo { height: 60px; }
  .footer-logo-holding .footer-logo { height: 76px; }
}
@media (max-width: 455px) {
  .shell { width: calc(100% - 26px); }
  .topbar-inner { min-height: 63px; gap: 7px; }
  .topbar nav { gap: 6px; }
  .topbar nav > a { display: none; }
  .brand img { width: 139px; height: 40px; }
  .hero-inner { min-height: 342px; }
  .hero-copy { width: 92%; padding-block: 43px 58px; }
  .hero-copy > p { margin-top: 17px; }
  .destination-check { padding: 15px 12px; }
  .destination-check form { grid-template-columns: minmax(0, 1fr); }
  .destination-check form .button { width: 100%; }
  .results-header { flex-direction: column; gap: 7px; }
  .terminal { block-size: 34rem; }
  .terminal-top, .terminal-body, .terminal-foot { padding-inline: 10px; }
  .terminal-table { font-size: .77rem; }
  .approach-components { grid-template-columns: minmax(0, 1fr); }
  .approach-components > div + div { padding-top: 11px; border-top: 1px solid #855158; }
  .approach-legend { position: relative; bottom: auto; padding-block: 10px; }
  .sales { padding: 16px; }
  .contact-dialog h2 { margin-bottom: 18px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .contact-field textarea { min-height: 88px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions p:empty { position: absolute; }
  .contact-actions .button { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .terminal-command::after, .vlayer-segment-cursor { animation: none; }
  .button, a.exchange-card { transition: none; }
}
