@import url("https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@700,800,900&f[]=satoshi@300,400,500,700,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --ink: #09090B;
  --ink-soft: #18181B;
  --muted: #52525B;
  --line: #E4E4E7;
  --radar: #FF4500;
  --radar-600: #E63E00;
  --radar-700: #B83100;
  --radar-50: #FFF1EB;
  --good: #16A34A;
  --display: "Cabinet Grotesk", Outfit, Inter, sans-serif;
  --body: Satoshi, Inter, ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow-card: 0 18px 60px -44px rgba(9, 9, 11, 0.42);
  --shadow-radar: 0 18px 38px -22px rgba(255, 69, 0, 0.7);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  text-rendering: geometricPrecision;
}

::selection { background: var(--radar); color: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.grid-bg {
  background-image:
    linear-gradient(to right, rgba(9, 9, 11, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 9, 11, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(9, 9, 11, 0.18) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px, 18px 18px;
}

.reveal { animation: fade-up .7s ease-out both; }
.reveal-2 { animation: fade-up .7s ease-out .12s both; }
.reveal-3 { animation: fade-up .7s ease-out .24s both; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(250, 250, 250, 0.82);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(9, 9, 11, 0.06);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
}

.brand-mark svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.brand em { color: var(--radar); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(9, 9, 11, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(9, 9, 11, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(9, 9, 11, 0.1);
  border-radius: 999px;
  background: var(--surface);
}

.language-switch button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}

.client-link {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(9, 9, 11, 0.1);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.client-link:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  transform: translateY(-1px);
}

.client-link:active { transform: scale(.97); }

.client-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.flag-es { background: linear-gradient(#c60b1e 0 25%, #ffc400 25% 75%, #c60b1e 75%); }
.flag-en {
  background: #012169 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 36'%3E%3Cpath fill='%23012169' d='M0 0h60v36H0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='M0 0l60 36M60 0 0 36'/%3E%3Cpath stroke='%23c8102e' stroke-width='4' d='M0 0l60 36M60 0 0 36'/%3E%3Cpath stroke='%23fff' stroke-width='10' d='M30 0v36M0 18h60'/%3E%3Cpath stroke='%23c8102e' stroke-width='6' d='M30 0v36M0 18h60'/%3E%3C/svg%3E") center / cover no-repeat;
}

.button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--radar);
  color: white;
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-radar);
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.button:hover { background: var(--radar-600); transform: translateY(-1px); }
.button:active { transform: scale(.97); }
.button.secondary { background: var(--ink); color: white; box-shadow: none; }
.button.secondary:hover { background: var(--ink-soft); }
.button.ghost {
  border: 1px solid rgba(9,9,11,.1);
  background: white;
  color: var(--ink);
  box-shadow: none;
}
.button.full { width: 100%; }

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 50%;
  background: white;
  place-items: center;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(9,9,11,.08);
  padding: 10px 24px 22px;
  background: rgba(255,255,255,.95);
}

.mobile-panel a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(9,9,11,.07);
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
  padding-top: 56px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(12px);
  padding: 9px 12px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dot-radar {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--radar);
  box-shadow: 0 0 0 5px rgba(255,69,0,.12);
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.04em;
  color: var(--ink);
}

h1 {
  margin-top: 24px;
  font-size: clamp(58px, 10vw, 118px);
  line-height: .92;
  font-weight: 900;
}

h2 {
  font-size: clamp(42px, 6vw, 80px);
  line-height: .94;
  font-weight: 900;
}

h3 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
  font-weight: 900;
}

.accent { color: var(--radar); }
.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(9,9,11,.7);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-microcopy {
  margin: 16px 0 0;
  max-width: 660px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.55;
  text-transform: uppercase;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
  max-width: 760px;
}

.metric {
  border-left: 3px solid var(--radar);
  padding-left: 14px;
}

.metric strong {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.preview-wrap {
  position: relative;
  min-height: 560px;
}

.radar-rings {
  position: absolute;
  top: -26px;
  left: -28px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(255,69,0,.3);
  animation: radar-pulse 2.4s ease-in-out infinite;
}
.radar-rings::before,
.radar-rings::after {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: inherit;
  border: 1px solid rgba(255,69,0,.22);
}
.radar-rings::after { inset: 72px; }

.preview-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 32px;
  background: white;
  box-shadow: 0 36px 90px -45px rgba(9, 9, 11, .55);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(9,9,11,.08);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
}

.browser-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #28c840; margin-right: 8px; }

.preview-body { padding: 22px; }
.preview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.overline {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--radar-50);
  color: var(--radar-700);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.preview-title {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.mini-card,
.stat-tile {
  border: 1px solid rgba(9,9,11,.08);
  border-radius: 22px;
  background: #FAFAFA;
  padding: 15px;
}
.mini-card span,
.stat-tile span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.mini-card strong,
.stat-tile strong {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.mini-card small,
.stat-tile small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.score-line {
  margin-top: 22px;
  border: 1px solid rgba(9,9,11,.08);
  border-radius: 20px;
  padding: 14px;
}
.score-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.score-track {
  height: 10px;
  border-radius: 999px;
  margin-top: 12px;
  background: #ECECEF;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  width: 84%;
  border-radius: inherit;
  background: var(--radar);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip {
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 999px;
  padding: 8px 10px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.floating-signal {
  position: absolute;
  right: -10px;
  bottom: 50px;
  max-width: 300px;
  transform: rotate(2deg);
  border-radius: 24px;
  background: var(--ink);
  color: white;
  padding: 18px;
  box-shadow: 0 24px 60px -34px rgba(0,0,0,.6);
}
.floating-signal span {
  display: block;
  margin-bottom: 6px;
  color: var(--radar);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.floating-signal p {
  margin: 0;
  font-weight: 800;
  line-height: 1.25;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(9,9,11,.1);
  background: white;
}
.marquee-track {
  width: max-content;
  display: flex;
  gap: 26px;
  padding: 20px 0;
  animation: marquee 40s linear infinite;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .25em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section { padding: 112px 0; }
.section.compact { padding: 78px 0; }
.section.dark {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: white;
}
.section.dark h2,
.section.dark h3 { color: white; }
.section.dark .lead { color: rgba(255,255,255,.7); }
.section.dark .pricing-card h2,
.section.dark .pricing-card h3 { color: var(--ink); }

.section-head {
  display: grid;
  grid-template-columns: minmax(120px, 2fr) minmax(0, 7fr) minmax(0, 3fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 48px;
}
.section-label {
  color: var(--radar);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.section-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.section-action.dual {
  margin-top: 28px;
}

.section-action.compact-action {
  margin-top: 24px;
}

.section-action .button {
  max-width: 100%;
}

.portal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 30px;
  background: rgba(9,9,11,.1);
}

.portal-strip span {
  min-height: 92px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.browser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.browser-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: start;
  gap: 16px;
  position: relative;
  min-height: 194px;
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 30px;
  background: white;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.browser-logo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--ink);
  color: white;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
}

.browser-card h3 {
  font-size: 28px;
}

.browser-card p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.status-pill {
  grid-column: 1 / -1;
  width: max-content;
  align-self: end;
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 999px;
  padding: 8px 11px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.status-pill.available { background: var(--radar); color: white; border-color: var(--radar); }
.status-pill.compatible { background: #ECFDF3; color: #087443; border-color: #A6F4C5; }
.status-pill.beta { background: #FFF7ED; color: #B45309; border-color: #FED7AA; }
.status-pill.manual { background: #F4F4F5; color: var(--ink); border-color: #D4D4D8; }

.comparison-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.comparison-panel {
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 34px;
  background: white;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}

.comparison-panel.with-radar {
  background: var(--ink);
  color: white;
}

.comparison-panel.with-radar h3 { color: white; }
.comparison-panel.with-radar li { color: rgba(255,255,255,.76); }

.comparison-kicker {
  display: inline-flex;
  color: var(--radar);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.comparison-panel h3 {
  margin-top: 14px;
  font-size: clamp(34px, 4vw, 54px);
}

.comparison-panel ul {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.comparison-panel li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  color: rgba(9,9,11,.72);
  line-height: 1.5;
}

.comparison-panel li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--radar);
}

.trust-card,
.final-cta-card {
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 36px;
  background: white;
  padding: clamp(30px, 5vw, 56px);
  box-shadow: var(--shadow-card);
}

.trust-card {
  display: grid;
  grid-template-columns: minmax(120px, 2fr) minmax(0, 7fr) minmax(0, 3fr);
  gap: 28px;
  align-items: start;
}

.trust-card h2,
.final-cta-card h2 {
  grid-column: span 1;
}

.trust-card .lead {
  margin-top: 0;
}

.final-cta {
  padding-top: 88px;
}

.final-cta-card {
  text-align: center;
}

.final-cta-card .lead {
  margin-left: auto;
  margin-right: auto;
}

.final-actions {
  justify-content: center;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.card {
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 32px;
  background: white;
  box-shadow: var(--shadow-card);
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 28px 80px -48px rgba(9,9,11,.62); }
.card.large { grid-column: span 7; }
.card.side { grid-column: span 5; }
.card.wide { grid-column: span 12; }
.card.dark-card {
  background: var(--ink);
  color: white;
}
.card.dark-card h3 { color: white; }
.card p { color: var(--muted); line-height: 1.55; }
.card.dark-card p { color: rgba(255,255,255,.72); }

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--radar-50);
  color: var(--radar);
  margin-bottom: 22px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}
.signal-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.signal-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 12px;
}
.signal-row strong { color: white; }
.signal-row span { color: rgba(255,255,255,.6); }

.compare-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 24px;
}
.compare-table th,
.compare-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(9,9,11,.08);
  text-align: left;
}
.compare-table th {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.control-room {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(9,9,11,.1);
  gap: 1px;
}
.control-card {
  min-height: 300px;
  background: white;
  padding: 28px;
}
.control-meta {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.control-meta div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(9,9,11,.08);
  padding-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}
.control-meta strong { color: var(--ink); }

.premium-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 42px;
  align-items: center;
}
.premium-copy { grid-column: span 6; }
.pricing-card {
  grid-column: span 6;
  border-radius: 34px;
  background: white;
  color: var(--ink);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 34px 90px -44px rgba(0,0,0,.7);
}
.price {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 20px 0 12px;
}
.price strong {
  font-family: var(--display);
  font-size: clamp(72px, 8vw, 118px);
  line-height: .82;
  letter-spacing: -0.05em;
}
.price span {
  color: var(--muted);
  font-size: 18px;
  padding-bottom: 12px;
}
.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(9,9,11,.74);
  line-height: 1.4;
}
.section.dark .premium-copy .check-list li {
  color: rgba(255,255,255,.78);
}
.premium-install-first {
  display: grid;
  gap: 10px;
  margin: 24px 0 14px;
  padding: 18px;
  border: 1px solid rgba(255, 69, 0, .24);
  border-radius: 22px;
  background: rgba(255, 69, 0, .07);
}
.premium-install-first strong { font-family: var(--display); font-size: 20px; }
.premium-install-first p { margin: 0; color: var(--muted); line-height: 1.45; }

.check-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--radar);
  background-image: linear-gradient(135deg, transparent 48%, rgba(255,255,255,.9) 49% 53%, transparent 54%);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.article-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 30px;
  background: white;
  padding: 24px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.article-card.large { grid-column: span 2; min-height: 360px; }
.article-card h3 {
  margin-top: 16px;
  font-size: clamp(25px, 3vw, 42px);
}
.article-card:not(.large) h3 { font-size: 26px; }
.article-card p { color: var(--muted); line-height: 1.45; }
.seo-guide-card {
  color: inherit;
  min-height: 230px;
  text-decoration: none;
}
.seo-guide-card .article-meta { justify-content: flex-start; }
.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-pill {
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 800;
}
.filter-pill.active { background: var(--ink); color: white; border-color: var(--ink); }

.faq-wrap {
  max-width: 960px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(9,9,11,.1);
}
.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-align: left;
}
.faq-trigger[aria-expanded="true"] { color: var(--radar); }
.faq-panel {
  display: none;
  max-width: 760px;
  padding-bottom: 28px;
  color: rgba(9,9,11,.7);
  font-size: 18px;
  line-height: 1.6;
}
.faq-panel.open { display: block; }

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 52px;
  align-items: start;
}
.contact-card {
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 32px;
  background: white;
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field { display: grid; gap: 8px; }
.field span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-radius: 20px;
  background: #F4F4F5;
  color: var(--ink);
  padding: 16px 18px;
  outline: none;
}
.field input:focus,
.field textarea:focus { box-shadow: 0 0 0 2px var(--radar); }
.topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.topic-pill {
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 800;
}
.topic-pill.active { background: var(--ink); color: white; border-color: var(--ink); }
.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.contact-point {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
}
.contact-point span:first-child {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
}

.page-header {
  padding: 136px 0 76px;
}
.page-header h1 {
  max-width: 900px;
  font-size: clamp(58px, 9vw, 112px);
}

.spec-grid,
.axis-grid,
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.spec-card,
.axis-card {
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 28px;
  background: white;
  padding: 24px;
}
.endpoint-block {
  border-radius: 32px;
  background: var(--ink);
  color: white;
  padding: 32px;
}
.endpoint-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  font-family: var(--mono);
}
.endpoint-row code { color: white; }
.endpoint-row span { color: var(--radar); }

.status-hero {
  padding: 96px 0 44px;
}

.status-hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 7vw, 86px);
}

.status-hero .lead {
  max-width: 760px;
}

.status-section {
  padding-top: 48px;
}

.status-layout {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
}

.status-overview,
.status-service-card {
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow-card);
}

.status-overview {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
}

.status-overview h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .96;
}

.status-overview p,
.status-service-card p,
.status-json-note p {
  margin: 0;
}

.status-overview[data-state="operational"] h2 { color: #15803d; }
.status-overview[data-state="degraded"] h2 { color: #b45309; }
.status-overview[data-state="down"] h2 { color: #b91c1c; }

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.status-service-list {
  display: grid;
  gap: 14px;
}

.status-service-card {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.status-service-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-service-card span::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #a1a1aa;
}

.status-service-card small {
  margin-left: auto;
  color: rgba(9,9,11,.45);
  font-family: var(--mono);
  font-size: 10px;
}

.status-service-card h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
}

.status-service-card p {
  color: var(--muted);
  line-height: 1.55;
}

.status-service-card[data-state="operational"] span::before { background: #22c55e; }
.status-service-card[data-state="degraded"] span::before { background: #f59e0b; }
.status-service-card[data-state="down"] span::before { background: #ef4444; }
.status-service-card[data-state="unknown"] span::before,
.status-service-card[data-state="loading"] span::before { background: #a1a1aa; }

.status-json-note {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.status-json-note pre {
  margin: 0;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  padding: 22px;
  color: white;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
}

.article-layout {
  max-width: 820px;
  margin: 0 auto;
}
.article-body {
  color: rgba(9,9,11,.75);
  font-size: 19px;
  line-height: 1.7;
}
.article-body h2 {
  margin-top: 50px;
  font-size: 42px;
}
.article-summary {
  font-family: var(--display);
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}
.number-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}
.number-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
}
.number-list span {
  color: var(--radar);
  font-family: var(--mono);
  font-weight: 800;
}
.article-conversion-cta {
  display: grid;
  gap: 12px;
  margin: 44px 0;
  padding: 28px;
  border: 1px solid rgba(255, 69, 0, .22);
  border-radius: 28px;
  background: rgba(255, 69, 0, .06);
  color: var(--ink);
}
.article-conversion-cta strong { font-family: var(--display); font-size: clamp(28px, 4vw, 42px); line-height: 1; }
.article-conversion-cta p { margin: 0; color: var(--muted); }
.article-conversion-cta .button { width: fit-content; }

.callout {
  margin: 42px 0;
  border-radius: 28px;
  background: var(--ink);
  color: white;
  padding: 28px;
}

.legal-main {
  padding: 132px 0 84px;
  background-image:
    linear-gradient(to right, rgba(9, 9, 11, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 9, 11, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.legal-doc {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 32px;
  background: white;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-card);
}
.legal-doc h1 {
  margin: 16px 0 18px;
  font-family: var(--display);
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -0.045em;
}
.legal-doc h2 {
  margin: 42px 0 12px;
  font-size: clamp(24px, 3vw, 36px);
}
.legal-doc p,
.legal-doc li {
  color: rgba(9,9,11,.72);
  font-size: 18px;
  line-height: 1.7;
}
.legal-doc a {
  color: var(--radar);
  font-weight: 900;
}
.legal-doc a.button {
  color: white;
  text-decoration: none;
}
.legal-doc a.button.ghost {
  color: var(--ink);
}
.billing-form.compact {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.billing-form.compact input {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 18px;
  background: #f4f4f5;
  padding: 16px 18px;
}

.portal-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.portal-status[data-tone="success"] { color: var(--good); }
.portal-status[data-tone="error"] { color: var(--radar-700); }

.site-footer {
  overflow: hidden;
  padding: 96px 0 48px;
  background: var(--ink);
  color: white;
}
.footer-top {
  display: grid;
  grid-template-columns: 5fr repeat(3, 2fr) 1fr;
  gap: 28px;
}
.site-footer .brand { color: white; }
.footer-tagline {
  max-width: 400px;
  margin: 18px 0 24px;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}
.footer-col h4 {
  margin: 0 0 14px;
  color: rgba(255,255,255,.44);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,.78);
}
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 10px 12px;
  color: rgba(255,255,255,.78);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: radar-pulse 1.6s infinite;
}
.footer-word {
  margin-top: 72px;
  padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-family: var(--display);
  font-size: min(18vw, 220px);
  font-weight: 900;
  line-height: .85;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,.95);
}
.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  color: rgba(255,255,255,.55);
  font-family: var(--mono);
  font-size: 11px;
}
.footer-social-row {
  display: flex;
  justify-content: center;
  margin: 14px 0 0;
}
.site-footer .container > .footer-social-row:first-child {
  justify-content: flex-start;
  margin: 0 0 18px;
}
.footer-social-row + .footer-meta {
  margin-top: 16px;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.footer-social a {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.76);
  padding: 0;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.footer-social a:hover {
  border-color: rgba(255,69,0,.48);
  background: rgba(255,69,0,.12);
  color: #ffffff;
  transform: translateY(-1px);
}
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.footer-social span {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

body.launch-modal-open { overflow: hidden; }

[data-launch-waitlist-modal] {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.launch-modal-backdrop {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 9, 11, 0.58);
  backdrop-filter: blur(14px);
}

.launch-modal {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(9, 9, 11, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 69, 0, 0.12), transparent 34%),
    var(--surface);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 34px 120px -48px rgba(0, 0, 0, 0.65);
}

.launch-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(9, 9, 11, 0.08);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 0;
  line-height: 1;
}

.launch-modal-close::before {
  content: "\00d7";
  font-size: 24px;
}

.launch-modal-head {
  max-width: 660px;
  padding-right: 38px;
}

.launch-modal-head h2,
.launch-success h2 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: .92;
  letter-spacing: -0.045em;
}

.launch-modal-head p,
.launch-success p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.launch-modal-head strong {
  display: inline-flex;
  margin-top: 10px;
  border: 1px solid rgba(255, 69, 0, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--radar-50);
  color: var(--radar-700);
  font-size: .9rem;
}

.launch-browser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.launch-browser-card {
  appearance: none;
  width: 100%;
  min-height: 152px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(9, 9, 11, 0.1);
  border-radius: 24px;
  background: white;
  padding: 18px;
  text-align: left;
  color: var(--muted);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.launch-browser-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 69, 0, 0.35);
  box-shadow: 0 18px 44px -34px rgba(9, 9, 11, 0.55);
}

.launch-browser-card.selected {
  border-color: var(--radar);
  box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.12);
}

.launch-browser-card-top {
  display: grid;
  gap: 9px;
}

.launch-browser-card strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.launch-browser-store {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--radar);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.launch-browser-store svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.launch-browser-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.launch-browser-badge {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(9, 9, 11, 0.08);
  border-radius: 999px;
  padding: 5px 8px;
  background: #F4F4F5;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.launch-browser-badge.detected {
  border-color: rgba(255, 69, 0, 0.25);
  background: var(--radar-50);
  color: var(--radar-700);
}

.launch-other-browsers,
.launch-privacy,
.launch-error {
  font-size: .92rem;
  line-height: 1.45;
}

.launch-other-browsers {
  margin: 14px 0 0;
  color: var(--muted);
}

.launch-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  border: 1px solid rgba(9, 9, 11, 0.08);
  border-radius: 24px;
  background: rgba(250, 250, 250, 0.82);
  padding: 18px;
}

.launch-selected-browser {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.launch-selected-browser strong {
  color: var(--ink);
}

.launch-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.launch-form .button:disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
}

.launch-privacy {
  margin: 0;
  color: var(--muted);
}

.launch-privacy a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.launch-error {
  margin: 0;
  color: var(--radar-700);
  font-weight: 800;
}

.launch-success {
  min-height: 420px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.launch-success-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--radar);
  color: white;
  box-shadow: var(--shadow-radar);
}

.launch-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.launch-modal-actions.left {
  justify-content: flex-start;
}

.status-pill.soon {
  background: var(--radar-50);
  color: var(--radar-700);
  border-color: rgba(255, 69, 0, 0.22);
}

.browser-note {
  margin: 16px 0 0;
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  max-width: 360px;
  border-radius: 18px;
  background: var(--ink);
  color: white;
  padding: 14px 16px;
  box-shadow: 0 24px 70px -38px rgba(0,0,0,.7);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: var(--radar-700); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes radar-pulse {
  0%, 100% { opacity: .9; }
  50% { opacity: .4; }
}

@media (max-width: 1060px) {
  .nav-links, .nav-actions .button { display: none; }
  .client-link { width: 38px; min-width: 38px; min-height: 38px; }
  .client-link svg { width: 17px; height: 17px; }
  .mobile-toggle { display: grid; }
  .mobile-panel.open { display: block; }
  .hero-layout,
  .premium-grid,
  .contact-grid,
  .status-layout,
  .status-json-note,
  .section-head,
  .trust-card {
    grid-template-columns: 1fr;
  }
  .status-overview { position: static; }
  .preview-wrap { min-height: auto; }
  .card.large, .card.side, .card.wide, .premium-copy, .pricing-card { grid-column: 1 / -1; }
  .control-room, .article-grid, .spec-grid, .axis-grid, .browser-grid, .portal-strip { grid-template-columns: 1fr 1fr; }
  .comparison-panels { grid-template-columns: 1fr; }
  .article-card.large { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, 1280px); }
  .nav { min-height: 66px; }
  .hero { padding-top: 44px; }
  .metrics, .mini-grid, .stat-grid, .control-room, .article-grid, .spec-grid, .axis-grid, .field-grid, .browser-grid, .portal-strip {
    grid-template-columns: 1fr;
  }
  .status-actions .button { width: 100%; }
  .status-json-note pre { font-size: 12px; }
  .browser-card { grid-template-columns: 48px 1fr; }
  .section-action .button { width: 100%; }
  .launch-modal-backdrop {
    align-items: end;
    padding: 12px;
  }
  .launch-modal {
    max-height: min(92vh, 760px);
    border-radius: 28px 28px 20px 20px;
    padding: 24px;
  }
  .launch-modal-head { padding-right: 32px; }
  .launch-browser-grid { grid-template-columns: 1fr; }
  .launch-browser-card { min-height: 124px; }
  .article-card.large { grid-column: auto; }
  .section { padding: 78px 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-word { font-size: 21vw; }
  .footer-meta { flex-direction: column; }
  .floating-signal { position: relative; right: auto; bottom: auto; margin-top: 18px; transform: none; }
}

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

.saved-report-hero {
  padding-bottom: 56px;
}

.saved-report-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 32px;
  align-items: end;
}

.saved-report-summary {
  border: 1px solid rgba(9, 9, 11, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
  padding: 22px;
}

.saved-report-summary span {
  display: block;
  color: var(--radar);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.saved-report-summary strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
}

.saved-report-summary p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.saved-report-side {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.saved-report-share-card {
  border: 1px solid rgba(9, 9, 11, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
  max-width: 100%;
  padding: 14px;
}

.saved-report-share {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.saved-report-share[hidden] {
  display: none;
}

.saved-report-share label {
  display: grid;
  gap: 8px;
  margin: 0;
}

.saved-report-share label span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.saved-report-share input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #FAF8F6;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 14px 16px;
}

.saved-report-share p {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.saved-report-share p[data-tone="good"] {
  color: var(--good);
}

.saved-report-share p[data-tone="bad"] {
  color: #BE123C;
}

.saved-report-section {
  padding-top: 44px;
}

.saved-report-state {
  margin-bottom: 24px;
}

.saved-report-state[data-tone="bad"] h2 {
  color: #BE123C;
}

.saved-report-state[data-tone="good"] h2 {
  color: var(--good);
}

.saved-report-grid {
  display: block;
}

.saved-report-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.saved-report-table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.saved-report-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 17px 14px 15px;
  border-bottom: 1px solid var(--line);
  background: #FAF8F6;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.saved-report-table td {
  padding: 17px 12px;
  border-bottom: 1px solid rgba(9, 9, 11, 0.08);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  vertical-align: top;
}

.saved-report-table th:nth-child(1),
.saved-report-table td:nth-child(1) {
  width: 31%;
}

.saved-report-table th:nth-child(2),
.saved-report-table td:nth-child(2) {
  width: 9%;
}

.saved-report-table th:nth-child(3),
.saved-report-table td:nth-child(3) {
  width: 16%;
}

.saved-report-table th:nth-child(4),
.saved-report-table td:nth-child(4),
.saved-report-table th:nth-child(6),
.saved-report-table td:nth-child(6) {
  width: 6%;
}

.saved-report-table th:nth-child(5),
.saved-report-table td:nth-child(5),
.saved-report-table th:nth-child(8),
.saved-report-table td:nth-child(8) {
  width: 7%;
}

.saved-report-table th:nth-child(7),
.saved-report-table td:nth-child(7) {
  width: 8%;
}

.saved-report-table th:nth-child(9),
.saved-report-table td:nth-child(9) {
  width: 9%;
}

.saved-report-table tbody tr:last-child td {
  border-bottom: 0;
}

.saved-report-table tbody tr:hover td {
  background: #FAF8F6;
}

.saved-report-property-cell {
  min-width: 0;
}

.saved-report-property {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.saved-report-rank {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: #FFF;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.saved-report-property-cell h3 {
  margin: 7px 0 5px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0;
  line-height: .95;
}

.saved-report-property-cell p,
.saved-report-table small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.saved-report-signal,
.saved-report-notes {
  margin-top: 8px !important;
}

.saved-report-signal strong,
.saved-report-notes strong {
  color: var(--ink);
}

.saved-report-number {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: 19px;
  line-height: .95;
  white-space: nowrap;
}

.saved-report-date {
  white-space: nowrap;
}

.saved-report-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 150px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.saved-report-badge[data-tone="good"] {
  border: 1px solid #CBE8D6;
  background: #EAF6EE;
  color: #14723B;
}

.saved-report-badge[data-tone="neutral"] {
  border: 1px solid rgba(9, 9, 11, 0.1);
  background: #F7F5F3;
  color: #48433F;
}

.saved-report-badge[data-tone="warning"] {
  border: 1px solid #F4D28E;
  background: #FFF3D6;
  color: #8A5A00;
}

.saved-report-badge[data-tone="danger"] {
  border: 1px solid #FFB8AA;
  background: #FFE4DF;
  color: #AA2C10;
}

.saved-report-action-cell {
  text-align: right;
  white-space: nowrap;
}

.saved-report-action-cell .button {
  padding: 11px 12px;
  font-size: 13px;
  white-space: nowrap;
}

.saved-report-action-cell .button[disabled] {
  cursor: not-allowed;
  opacity: .55;
}

.saved-report-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

.saved-report-empty h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 30px;
  line-height: .95;
}

.saved-report-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .saved-report-hero-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .saved-report-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .saved-report-share-card .button {
    min-height: 48px;
    padding-inline: 16px;
    white-space: normal;
  }

  .saved-report-table,
  .saved-report-table tbody,
  .saved-report-table tr,
  .saved-report-table td {
    display: block;
    width: 100% !important;
    min-width: 0;
  }

  .saved-report-table thead {
    display: none;
  }

  .saved-report-table tr {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-card);
    padding: 16px;
  }

  .saved-report-table td {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border-bottom: 0;
    padding: 9px 0;
  }

  .saved-report-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .saved-report-property-cell {
    display: block !important;
    min-width: 0;
    padding-top: 0 !important;
  }

  .saved-report-property {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .saved-report-property-cell::before {
    display: none;
  }

  .saved-report-property-cell h3 {
    font-size: 24px;
  }

  .saved-report-action-cell {
    display: block !important;
    text-align: left;
  }

  .saved-report-action-cell::before {
    display: none;
  }
}
