:root {
  
  --bg: #F6F5F4;
  --surface: #FFFFFF;
  --obsidian: #02093A;
  --ink: #000000;
  --slate: #615D59;
  --muted: #757575;
  --line: rgba(0, 0, 0, 0.08);
  --emerald: #0075DE;
  --emerald-bright: #FFB110;
  --emerald-soft: #E6F3FE;
  --notion-blue: #0075DE;
  --sky-tint: #E6F3FE;
  --marigold: #FFB110;
  --coral: #F64932;
  --saffron: #E89D01;
  --sky-wash: #62AEF0;
  --midnight: #02093A;
  --peach-pill: #F6D5B8;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--slate);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.tabular, input, select, .res-num, table {
  font-family: 'JetBrains Mono', 'Inter', monospace;
  font-variant-numeric: tabular-nums;
}
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 24px; }


.at-ribbon {
  background: var(--obsidian);
  color: #CBD5E1;
  font-size: 12.5px;
  padding: 0;
  border-bottom: 1px solid #1E293B;
  overflow: hidden;
  position: relative;
}
.at-ticker-bar {
  display: flex;
  align-items: center;
  height: 36px;
}
.at-ticker-badge {
  background: #0B1120;
  z-index: 2;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid #1E293B;
  flex-shrink: 0;
}
.at-pill-live {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(16, 185, 129, 0.16); color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 10px; border-radius: 999px; font-weight: 800; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em;
}
.at-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: atPulseDot 1.8s infinite;
}
@keyframes atPulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.at-ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.at-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  padding-left: 20px;
  animation: atMarquee 38s linear infinite;
  will-change: transform;
}
.at-ticker-track:hover { animation-play-state: paused; }
@keyframes atMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.at-tick-item {
  display: inline-flex; align-items: center; gap: 7px;
  color: #CBD5E1; text-decoration: none; font-size: 12.5px;
}
.at-tick-item img { width: 16px; height: 16px; border-radius: 4px; }
.at-tick-item b { color: #FFFFFF; font-family: 'JetBrains Mono', monospace; }
.at-tick-up { color: #34D399; font-weight: 800; font-family: 'JetBrains Mono', monospace; }


.at-header {
  background: rgba(246, 245, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0px 0.7px 1.462px 0px rgba(0,0,0,0.015), 0px 3px 9px 0px rgba(0,0,0,0.03);
  position: sticky; top: 0; z-index: 40;
}
.at-nav-row { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.at-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #000000; }
.at-logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.at-brand-name { font-size: 20px; font-weight: 700; letter-spacing: -0.035em; color: #000000; display: block; line-height: 1; }
.at-brand-name span { color: var(--notion-blue); }
.at-brand-sub { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: #757575; display: block; margin-top: 3px; }

.at-nav { display: flex; gap: 6px; align-items: center; }
.at-nav a { text-decoration: none; color: rgba(0, 0, 0, 0.58); font-size: 14px; font-weight: 500; padding: 8px 13px; border-radius: 8px; transition: all .2s ease; }
.at-nav a:hover, .at-nav a.active { background: #E6F3FE; color: #0075DE; font-weight: 600; }

.at-cta-btn {
  background: #0075DE; color: #FFFFFF; text-decoration: none;
  font-size: 14px; font-weight: 500; padding: 8px 15px; border-radius: 8px;
  transition: background .2s ease, transform .2s ease; white-space: nowrap;
}
.at-cta-btn:hover { background: #097FE8; transform: translateY(-1px); }


.at-hero {
  padding: 44px 0 40px;
  background: var(--bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nt-char-row {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap;
}
.nt-char-mark {
  width: 42px; height: 42px; border-radius: 9999px; background: #FFFFFF;
  border: 2px solid var(--cm-color, #0075DE);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 180ms ease;
}
.nt-char-mark:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 6px 14px rgba(2, 9, 58, 0.12);
}
.nt-char-mark img { width: 100%; height: 100%; border-radius: 9999px; object-fit: cover; }
.nt-pill-word {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pill-bg, #F6D5B8);
  color: #000000;
  border-radius: 9999px;
  padding: 2px 20px 5px 16px;
  font-weight: 600;
  line-height: 1.05;
  vertical-align: baseline;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
.nt-pill-dot {
  width: 9px; height: 9px; border-radius: 9999px; background: #F64932; display: inline-block;
}
.at-hero-split {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 36px;
  align-items: center;
}
.at-hero-art {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #02093A;
  box-shadow: 0 12px 32px rgba(2, 9, 58, 0.10);
  position: relative;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease;
}
.at-hero-art:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(2, 9, 58, 0.14);
}
.at-ico { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.85; fill: none; vertical-align: -2px; margin-right: 5px; flex-shrink: 0; }
.tc-thumb { position: relative; }
.tc-spec-chip {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(2, 9, 58, 0.88); color: #F8FAFC;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 600;
  padding: 3px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.14);
  letter-spacing: 0.02em; backdrop-filter: blur(6px);
}
.at-colophon-wrap { margin: 28px auto 44px; }
.at-colophon { background: #FFFFFF; border: 1px solid rgba(0,0,0,0.10); border-radius: 14px; padding: 24px 28px; }
.at-colophon-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #E5E7EB; }
.at-colophon-tag { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #0075DE; background: #E6F3FE; padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.at-colophon-title { margin: 0; font-size: 19px; color: #191918; }
.at-colophon-meta { font-size: 13px; color: #615D59; text-align: right; }
.at-colophon-meta a { color: #0075DE; font-weight: 600; text-decoration: none; }
.at-colophon-meta a:hover { text-decoration: underline; }
.at-colophon-body { margin: 0; font-size: 14px; line-height: 1.6; color: #374151; }
.at-hero-live-hud {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 12px;
  padding: 9px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  color: #FFFFFF; font-size: 12px; z-index: 3;
}
.at-hud-val {
  color: #34D399; font-weight: 800; font-family: 'JetBrains Mono', monospace; font-size: 13.5px;
}


.at-live-odometer {
  background: linear-gradient(90deg, rgba(16,185,129,0.14) 0%, rgba(15,23,42,0.6) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.at-odo-label {
  font-size: 11.5px; color: #A7F3D0; font-weight: 700; display: flex; align-items: center; gap: 7px;
}
.at-odo-num {
  font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 800; color: #34D399;
}
.at-hero-art img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.at-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFB110; color: #000000;
  padding: 4px 12px; border-radius: 9999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em; margin-bottom: 14px;
}
h1 {
  font-size: clamp(2.35rem, 4.3vw, 3.65rem);
  font-weight: 600; color: #000000; letter-spacing: -0.038em;
  line-height: 1.06; margin: 0 0 16px; max-width: 22ch;
}
.lede {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18.5px; color: #615D59; max-width: 58ch; line-height: 1.56; margin: 0;
}


.workbench {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  margin: 32px 0 44px;
  align-items: start;
}
.wb-inputs {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 24px;
  box-shadow: none;
}
.wb-inputs h2 { font-size: 22px; font-weight: 700; color: #000000; letter-spacing: -0.015em; margin: 0 0 20px; }
.field-group { margin-bottom: 18px; }
.field-group label { display: block; font-size: 13.5px; font-weight: 600; color: #000000; margin-bottom: 6px; }
.field-group small { display: block; font-size: 12px; color: #757575; margin-top: 4px; }
.at-input, .at-select {
  width: 100%; padding: 11px 14px; font-size: 16.5px; font-weight: 600;
  color: #000000; background: #F6F5F4; border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px; transition: border-color .2s ease, background .2s ease;
}
.at-input:focus, .at-select:focus { outline: none; border-color: #0075DE; background: #FFFFFF; box-shadow: 0 0 0 3px #E6F3FE; }
.at-auto-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: #E2E8F0; outline: none; margin: 10px 0 4px; display: block; }
.at-auto-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #0075DE; border: 3px solid #FFFFFF; cursor: grab; box-shadow: 0 2px 6px rgba(2,9,58,0.28); }
.bento-cockpit { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; margin: 28px 0 40px; }
.bento-tile { background: #FFFFFF; border: 1px solid rgba(0,0,0,0.09); border-radius: 16px; padding: 24px; }
.bento-tile-dark { background: #02093A; color: #FFFFFF; border-radius: 16px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 920px) { .bento-cockpit { grid-template-columns: 1fr; } }
.quick-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.q-chip {
  font: inherit; font-size: 12px; font-weight: 500; padding: 5px 12px;
  border-radius: 9999px; border: 1px solid rgba(0, 0, 0, 0.10); background: #FFFFFF;
  color: #111111; cursor: pointer; transition: all .2s ease;
}
.q-chip:hover { border-color: #0075DE; color: #0075DE; background: #E6F3FE; }


.wb-results {
  background: #02093A;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.10);
  position: sticky; top: 84px;
}
.res-badge {
  display: inline-block; background: #FFB110; color: #000000;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 4px 12px; border-radius: 9999px; margin-bottom: 12px;
}
.res-label { font-size: 13.5px; color: rgba(255, 255, 255, 0.72); margin-bottom: 4px; }
.res-main { font-size: clamp(2.2rem, 3.8vw, 3.1rem); font-weight: 700; color: #FFB110; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 18px; }
.res-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 14px; }
.res-table tr { border-top: 1px solid rgba(255,255,255,0.12); }
.res-table td { padding: 10px 0; color: rgba(255,255,255,0.82); }
.res-table td:last-child { text-align: right; font-weight: 700; color: #FFFFFF; }
.res-note {
  font-size: 13px; color: #FFFFFF; background: rgba(255,255,255,0.08);
  padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; line-height: 1.45;
}
.btn-wa {
  width: 100%; padding: 12px 18px; border: 0; border-radius: 8px;
  background: #0075DE; color: #FFFFFF; font: inherit;
  font-size: 14px; font-weight: 600; cursor: pointer; text-align: center; display: block; text-decoration: none;
  transition: background .2s ease;
}
.btn-wa:hover { background: #097FE8; }


.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 56px; }
.tool-card {
  background: var(--card-bg, #FFFFFF); border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: none;
  transition: transform .2s ease, border-color .2s ease;
}
.tool-card:hover { border-color: rgba(0, 0, 0, 0.28); transform: translateY(-3px); }
.tc-thumb {
  height: 164px; background: #02093A; overflow: hidden; position: relative; border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.tc-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease;
}
.tool-card:hover .tc-thumb img { transform: scale(1.03); }
.tc-body { padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
.tc-cat {
  display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 10px;
  border-radius: 9999px; background: var(--cat-pill, #E6F3FE); color: #000000; margin-bottom: 10px; width: fit-content;
}
.tool-card h3 { font-size: 21px; font-weight: 700; color: #000000; letter-spacing: -0.015em; margin: 0 0 8px; line-height: 1.24; }
.tool-card p { font-size: 14.5px; color: #615D59; margin: 0 0 18px; line-height: 1.5; }
.tc-go {
  font-size: 13.5px; font-weight: 600; color: #0075DE; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px; background: #E6F3FE; width: fit-content;
}


.seo-content {
  max-width: 840px; background: #FFFFFF; border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px; padding: 32px 36px; margin-bottom: 48px;
}
.seo-content h2 { font-size: 26px; font-weight: 700; color: #000000; letter-spacing: -0.02em; margin: 28px 0 12px; }
.seo-content h2:first-child { margin-top: 0; }
.seo-content p, .seo-content li { font-size: 16px; color: #615D59; line-height: 1.65; margin-bottom: 12px; }
.seo-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.seo-content th, .seo-content td { padding: 10px 12px; border: 1px solid rgba(0, 0, 0, 0.08); text-align: left; }
.seo-content th { background: #F6F5F4; color: #000000; font-weight: 600; }


.at-ad-slot {
  margin: 22px auto; text-align: center;
}
.at-ad-label {
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: #757575; display: block; margin-bottom: 4px;
}
ins.adsbygoogle[data-ad-status="unfilled"], ins.adsbygoogle:empty { display: none !important; }
.at-sponsor-bridge {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #FFB110;
  color: #000000; padding: 18px 24px; border-radius: 12px; text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08); margin: 24px 0; transition: transform .2s ease;
}
.at-sponsor-bridge:hover { transform: translateY(-2px); }
.at-sb-badge {
  background: #000000; color: #FFFFFF; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 9999px;
  display: inline-block; margin-bottom: 4px;
}
.at-sb-cta {
  background: #0075DE; color: #FFFFFF; font-size: 13.5px; font-weight: 600;
  padding: 9px 16px; border-radius: 8px; white-space: nowrap;
}


.inst-selector-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px;
}
.inst-btn {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 12px; border: 1.5px solid var(--line); background: #FFFFFF;
  cursor: pointer; text-align: left; font: inherit; transition: all .14s ease;
}
.inst-btn img { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.inst-btn-name { font-size: 13.5px; font-weight: 800; color: var(--obsidian); display: block; line-height: 1.15; }
.inst-btn-rate { font-size: 11.5px; font-weight: 700; color: var(--emerald); display: block; margin-top: 2px; }
.inst-btn.active {
  border-color: var(--brand-color, var(--emerald));
  background: var(--brand-soft, var(--emerald-soft));
  box-shadow: 0 0 0 2px var(--brand-color, var(--emerald));
}
.plazo-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.plazo-pill {
  flex: 1; min-width: 78px; padding: 9px 10px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #F8FAFC; font: inherit;
  font-size: 12.5px; font-weight: 700; color: var(--slate); cursor: pointer; text-align: center;
}
.plazo-pill.active { background: var(--obsidian); color: #FFFFFF; border-color: var(--obsidian); }

.sofipo-league {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px; margin-bottom: 40px; overflow-x: auto;
}
.sofipo-league h2 { font-size: 22px; font-weight: 800; color: var(--obsidian); margin: 0 0 6px; }
.league-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.league-table th {
  text-align: left; padding: 12px 10px; background: #F1F5F9; color: var(--obsidian);
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 2px solid var(--line);
}
.league-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.league-row-win { background: #ECFDF5; }
.nicap-pill {
  display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: #DCFCE7; color: #166534;
}
.imor-warn { color: #DC2626; font-weight: 700; }
.imor-ok { color: #059669; font-weight: 700; }


.at-footer {
  background: var(--obsidian); color: #94A3B8; padding: 56px 0 36px; margin-top: 64px; font-size: 14px;
}
.at-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.at-footer h4, .at-footer .foot-h { color: #FFFFFF; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; }
.at-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.at-footer ul { list-style: none; padding: 0; margin: 0; }
.at-footer li { margin-bottom: 8px; }
.at-footer a { color: #CBD5E1; text-decoration: none; }
.at-footer a:hover { color: #34D399; }

@media (max-width: 960px) {
  .at-hero-split { grid-template-columns: 1fr; }
  .workbench { grid-template-columns: 1fr; }
  .wb-results { position: static; }
  .tools-grid { grid-template-columns: 1fr; }
  .at-nav { display: none; }
  .at-footer-grid { grid-template-columns: 1fr 1fr; }
}