:root {
  --tinta: #111111;
  --grafito: #151515;
  --grafito-2: #202020;
  --papel: #f7f6f2;
  --papel-2: #ece9df;
  --blanco: #ffffff;
  --indigo: #2563ff;
  --indigo-dark: #1649d8;
  --coral: #ff5a3c;
  --verde: #00b37a;
  --ambar: #ffb800;
  --rojo: #ff2d55;
  --ink-70: rgba(17, 17, 17, 0.7);
  --ink-52: rgba(17, 17, 17, 0.52);
  --ink-12: rgba(17, 17, 17, 0.12);
  --ink-08: rgba(17, 17, 17, 0.08);
  --white-72: rgba(255, 255, 255, 0.72);
  --white-14: rgba(255, 255, 255, 0.14);
  --white-08: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.16);
  --shadow-dark: 0 30px 90px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --radius-sm: 4px;
  --shell: 1180px;
  --header-h: 76px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "STIX Two Text", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.icon-sprite {
  display: none;
}

.content-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.section-dark {
  background: var(--grafito);
  color: var(--blanco);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  background: rgba(247, 246, 242, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--ink-08);
  box-shadow: 0 12px 34px rgba(17, 17, 17, 0.08);
  background: rgba(247, 246, 242, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 154px;
  height: 40px;
}

.brand img {
  width: 154px;
  height: auto;
}

.nav-panel {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--ink-08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.nav-panel a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-70);
  font-size: 13px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.nav-panel a:hover,
.nav-panel a.is-active {
  background: var(--tinta);
  color: var(--blanco);
}

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

.btn,
.icon-button {
  border: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.btn svg,
.icon-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.btn {
  padding: 0 18px;
}

.btn-primary {
  background: var(--indigo);
  color: var(--blanco);
  box-shadow: 0 14px 30px rgba(37, 99, 255, 0.28);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn-primary:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(37, 99, 255, 0.34);
}

.btn-ghost {
  background: transparent;
  color: var(--tinta);
  border: 1px solid var(--ink-12);
}

.btn-on-dark {
  color: var(--blanco);
  border: 1px solid var(--white-14);
  background: var(--white-08);
}

.btn-compact {
  min-height: 38px;
  color: var(--blanco);
  background: var(--tinta);
  padding-inline: 14px;
}

.icon-button {
  width: 44px;
  padding: 0;
  color: var(--tinta);
  background: var(--blanco);
  border: 1px solid var(--ink-08);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 24px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 42px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(21, 21, 21, 0), var(--grafito));
  z-index: -1;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.96) 0%, rgba(21, 21, 21, 0.88) 40%, rgba(21, 21, 21, 0.44) 100%),
    url("../assets/graphics/legalops-data-field.svg") center / cover no-repeat,
    var(--grafito);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.56;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 88%, transparent 100%);
}

.signal-route {
  position: absolute;
  right: 6%;
  border: 1px solid rgba(37, 99, 255, 0.54);
  border-left: 0;
  border-bottom: 0;
}

.route-a {
  top: 18%;
  width: 360px;
  height: 220px;
}

.route-b {
  top: 43%;
  width: 520px;
  height: 170px;
  border-color: rgba(255, 90, 60, 0.42);
}

.hero-dashboard {
  position: absolute;
  right: 7%;
  top: 18%;
  width: 560px;
  max-width: 46%;
  padding: 18px;
  border: 1px solid var(--white-14);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.74);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(14px);
}

.dashboard-topline,
.case-line,
.table-row,
.invoice-line,
.invoice-head {
  font-variant-numeric: tabular-nums;
}

.dashboard-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white-72);
  font-family: var(--font-mono);
  font-size: 12px;
}

.dashboard-topline strong {
  color: var(--verde);
  font-weight: 800;
}

.dashboard-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.metric-panel {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid var(--white-14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

.metric-primary {
  border-color: rgba(37, 99, 255, 0.46);
  background: rgba(37, 99, 255, 0.14);
}

.metric-panel span,
.metric-panel i {
  color: var(--white-72);
  font-size: 12px;
  font-style: normal;
}

.metric-panel strong {
  font-family: var(--font-serif);
  font-size: 44px;
  line-height: 0.95;
}

.chart-strip {
  height: 126px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 8px;
  padding: 18px 4px 4px;
  border-bottom: 1px solid var(--white-14);
}

.chart-strip span {
  display: block;
  min-height: 18px;
  border-radius: 4px 4px 0 0;
  background: var(--indigo);
}

.chart-strip span:nth-child(3n) {
  background: var(--coral);
}

.case-line {
  display: grid;
  grid-template-columns: 84px 18px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border-bottom: 1px solid var(--white-08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.case-line:last-child {
  border-bottom: 0;
}

.case-line em {
  color: var(--white-72);
  font-style: normal;
}

.hero-content {
  position: relative;
  padding-top: 90px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--indigo);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.hero .eyebrow {
  color: #8fb0ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  max-width: 830px;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  margin-bottom: 24px;
  font-size: 82px;
}

h2 {
  margin-bottom: 20px;
  font-size: 54px;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 820px;
  margin: 72px 0 0;
  border-top: 1px solid var(--white-14);
  border-left: 1px solid var(--white-14);
}

.hero-proof div {
  min-height: 104px;
  padding: 18px;
  border-right: 1px solid var(--white-14);
  border-bottom: 1px solid var(--white-14);
}

.hero-proof dt {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 900;
}

.hero-proof dd {
  margin: 6px 0 0;
  color: var(--white-72);
  font-size: 13px;
}

.signal-bar {
  overflow: hidden;
  background: var(--tinta);
  border-top: 1px solid var(--white-08);
  border-bottom: 1px solid var(--white-08);
}

.signal-track {
  width: max-content;
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
}

.signal-track span {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 34px;
  color: rgba(255, 255, 255, 0.74);
  border-right: 1px solid var(--white-08);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow),
.compare-copy p,
.report-copy p,
.transparency-copy p,
.diagnostic-copy p {
  max-width: 690px;
  color: var(--ink-70);
  font-size: 18px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink-12);
  border-left: 1px solid var(--ink-12);
}

.value-card {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid var(--ink-12);
  border-bottom: 1px solid var(--ink-12);
  background: rgba(255, 255, 255, 0.38);
}

.icon-box {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 56px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-sm);
  background: var(--blanco);
  color: var(--indigo);
}

.icon-box svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.value-card p,
.service-card p,
.timeline-item p,
.faq-list p {
  color: var(--ink-70);
}

.compare-section,
.method-section {
  background: var(--papel-2);
}

.compare-shell,
.report-shell,
.transparency-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: center;
}

.comparison-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.comparison-column {
  min-height: 360px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-12);
}

.comparison-column.muted {
  background: rgba(255, 255, 255, 0.44);
  color: var(--ink-70);
}

.comparison-column.accent {
  background: var(--grafito);
  color: var(--blanco);
  box-shadow: var(--shadow);
}

.column-label {
  display: inline-flex;
  margin-bottom: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
}

.comparison-column ul,
.service-card ul,
.tab-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-column li,
.service-card li,
.tab-panel li {
  position: relative;
  padding-left: 24px;
}

.comparison-column li::before,
.service-card li::before,
.tab-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--indigo);
  transform: translateY(-50%);
}

.comparison-column.muted li::before {
  background: var(--ink-52);
}

.product-console {
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: var(--blanco);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.console-tabs {
  display: flex;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--ink-08);
  background: #fbfaf7;
}

.console-tabs button,
.tab-list button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-70);
  font-size: 13px;
  font-weight: 900;
}

.console-tabs button.is-active,
.tab-list button.is-active {
  background: var(--tinta);
  color: var(--blanco);
}

.console-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
}

.console-sidebar {
  min-height: 520px;
  padding: 28px;
  background:
    linear-gradient(rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.82)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 30px);
  color: var(--blanco);
}

.console-sidebar img {
  width: 72px;
  height: 72px;
  margin-bottom: 96px;
}

.console-sidebar span {
  display: block;
  margin-bottom: 10px;
  color: var(--white-72);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.console-sidebar strong {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 500;
}

.console-sidebar p {
  color: var(--white-72);
}

.console-main {
  padding: 28px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.kpi-row article {
  min-height: 158px;
  padding: 20px;
  border: 1px solid var(--ink-08);
  border-radius: var(--radius-sm);
  background: var(--papel);
}

.kpi-row span,
.report-bento span,
.invoice-line span,
.invoice-head span,
.table-head span {
  color: var(--ink-52);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.kpi-row strong {
  display: block;
  margin: 18px 0 8px;
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
}

.kpi-row small {
  color: var(--ink-70);
  font-size: 13px;
}

.decision-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  padding: 24px;
  border: 1px solid var(--ink-08);
  border-radius: var(--radius-sm);
  background: var(--blanco);
}

.decision-card h3 {
  max-width: 590px;
  margin: 14px 0 8px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
}

.decision-card p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--ink-70);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-pill.is-green {
  background: rgba(0, 179, 122, 0.12);
  color: #007c55;
}

.status-pill.is-amber {
  background: rgba(255, 184, 0, 0.16);
  color: #8a6200;
}

.status-pill.is-red {
  background: rgba(255, 45, 85, 0.12);
  color: #c41037;
}

.table-card {
  margin-top: 12px;
  border: 1px solid var(--ink-08);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.9fr 0.9fr;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--ink-08);
  font-size: 14px;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-head {
  background: var(--papel);
}

.status-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 999px;
}

.table-row .status-dot {
  margin-right: 8px;
}

.is-green {
  background: var(--verde);
}

.is-amber {
  background: var(--ambar);
}

.is-red {
  background: var(--rojo);
}

.services-section {
  background: var(--grafito);
  color: var(--blanco);
}

.services-section .section-heading p:not(.eyebrow) {
  color: var(--white-72);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--white-14);
  border-left: 1px solid var(--white-14);
}

.service-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-right: 1px solid var(--white-14);
  border-bottom: 1px solid var(--white-14);
  background: rgba(255, 255, 255, 0.03);
}

.service-index {
  margin-bottom: 52px;
  color: #8fb0ff;
  font-family: var(--font-mono);
  font-weight: 900;
}

.service-card p,
.service-card li {
  color: var(--white-72);
}

.service-card ul {
  margin-top: auto;
  padding-top: 24px;
}

.report-section {
  background: var(--papel);
}

.report-preview {
  padding: 28px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent 0, transparent 70%, rgba(37, 99, 255, 0.08) 70%, rgba(37, 99, 255, 0.08) 100%),
    var(--blanco);
  box-shadow: var(--shadow);
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--ink-08);
}

.report-header img {
  width: 148px;
}

.report-header span {
  color: var(--ink-52);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.report-title {
  padding: 34px 0 28px;
}

.report-title h3 {
  margin: 18px 0 10px;
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.report-title p {
  max-width: 590px;
  color: var(--ink-70);
}

.report-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.report-bento div {
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--ink-08);
  border-radius: var(--radius-sm);
  background: var(--papel);
}

.report-bento strong {
  display: block;
  margin-top: 22px;
  line-height: 1.22;
}

.audience-tabs {
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: var(--blanco);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tab-list {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--ink-08);
  background: #fbfaf7;
}

.tab-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  padding: 42px;
}

.tab-panel[hidden] {
  display: none;
}

.panel-code {
  display: block;
  margin-bottom: 22px;
  color: var(--indigo);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
}

.tab-panel h3 {
  max-width: 680px;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.tab-panel p {
  max-width: 660px;
  color: var(--ink-70);
  font-size: 18px;
}

.tab-panel ul {
  align-self: end;
  padding: 26px;
  border: 1px solid var(--ink-08);
  border-radius: var(--radius-sm);
  background: var(--papel);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink-12);
  border-left: 1px solid var(--ink-12);
}

.timeline-item {
  min-height: 320px;
  padding: 24px;
  border-right: 1px solid var(--ink-12);
  border-bottom: 1px solid var(--ink-12);
  background: rgba(255, 255, 255, 0.28);
}

.timeline-item span {
  display: block;
  margin-bottom: 92px;
  color: var(--indigo);
  font-family: var(--font-mono);
  font-weight: 900;
}

.transparency-section {
  background: var(--tinta);
  color: var(--blanco);
}

.transparency-copy p {
  color: var(--white-72);
}

.invoice-card {
  border: 1px solid var(--white-14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}

.invoice-head,
.invoice-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 0 24px;
  border-bottom: 1px solid var(--white-14);
}

.invoice-head {
  min-height: 96px;
  background: rgba(255, 255, 255, 0.08);
}

.invoice-head strong {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
}

.invoice-line span,
.invoice-head span {
  color: var(--white-72);
}

.invoice-line strong {
  font-family: var(--font-mono);
}

.invoice-total {
  border-bottom: 0;
  background: var(--indigo);
}

.invoice-total span,
.invoice-total strong {
  color: var(--blanco);
}

.diagnostic-card {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: 34px;
  padding: 34px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: var(--blanco);
  box-shadow: var(--shadow);
}

.diagnostic-copy h2 {
  font-size: 44px;
}

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

.diagnostic-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-70);
  font-size: 13px;
  font-weight: 900;
}

.diagnostic-form input,
.diagnostic-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: var(--papel);
  color: var(--tinta);
  font-variant-numeric: tabular-nums;
}

.diagnostic-form button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
}

.diagnostic-result {
  grid-column: 2;
  padding: 24px;
  border: 1px solid var(--ink-08);
  border-radius: var(--radius-sm);
  background: var(--papel);
}

.diagnostic-result strong {
  display: block;
  margin: 16px 0 8px;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.diagnostic-result p {
  margin-bottom: 0;
  color: var(--ink-70);
}

.faq-list {
  border-top: 1px solid var(--ink-12);
}

.faq-list details {
  border-bottom: 1px solid var(--ink-12);
}

.faq-list summary {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 28px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 20px;
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--tinta);
  color: var(--blanco);
}

.faq-list p {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: 18px;
}

.site-footer {
  background: var(--grafito);
  color: var(--blanco);
  padding: 56px 0;
}

.footer-shell {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.footer-shell img {
  width: 210px;
  margin-bottom: 24px;
}

.footer-shell p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--white-72);
}

.footer-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-cta span {
  color: var(--white-72);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Mobile First Overrides */
.compare-shell,
  .report-shell,
  .transparency-shell,
  .diagnostic-card {
  grid-template-columns: 1fr;
}

.diagnostic-result {
  grid-column: auto;
}

.console-layout,
  .tab-panel {
  grid-template-columns: 1fr;
}

.content-shell {
  width: min(calc(100% - 32px), var(--shell));
}

.hero-copy,
  .section-heading p:not(.eyebrow),
  .compare-copy p,
  .report-copy p,
  .transparency-copy p,
  .diagnostic-copy p,
  .tab-panel p,
  .faq-list p {
  font-size: 16px;
}

.tab-panel,
  .diagnostic-card,
  .report-preview {
  padding: 22px;
}

.faq-list summary {
  font-size: 22px;
}

.hero-content {
  padding-top: 0;
}

.hero-proof {
  margin-top: 46px;
}

.console-sidebar {
  min-height: auto;
}

.timeline {
  grid-template-columns: repeat(2, 1fr);
}

.diagnostic-result strong {
  font-size: 28px;
}

.table-row {
  grid-template-columns: 1fr;
  gap: 4px;
  padding-block: 12px;
}

.header-link {
  display: none;
}

.kpi-row,
  .diagnostic-form,
  .report-bento {
  grid-template-columns: 1fr;
}

.case-line em {
  grid-column: 3;
}

.hero {
  min-height: auto;
  padding-top: 124px;
}

.value-grid,
  .service-grid {
  grid-template-columns: repeat(2, 1fr);
}

:root {
  --header-h: 68px;
}

body.menu-open .nav-panel {
  display: flex;
}

.console-sidebar img {
  margin-bottom: 38px;
}

.hero-dashboard {
  position: relative;
  right: 3%;
  width: calc(100% - 32px);
  max-width: none;
  padding: 12px;
  opacity: 1;
  inset: auto;
  margin: 0 auto 36px;
}

.tab-list,
  .console-tabs {
  overflow-x: auto;
}

h2 {
  font-size: 31px;
}

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

.invoice-head strong {
  font-size: 30px;
}

.nav-panel {
  display: none;
  align-items: stretch;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--blanco);
  position: fixed;
  inset: var(--header-h) 16px auto 16px;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.nav-panel a {
  min-height: 44px;
  justify-content: center;
}

.hero-actions,
  .footer-cta {
  align-items: stretch;
  flex-direction: column;
}

.hero-proof,
  .dashboard-main,
  .comparison-board,
  .value-grid,
  .service-grid,
  .timeline {
  grid-template-columns: 1fr;
}

.icon-box,
  .service-index,
  .timeline-item span {
  margin-bottom: 32px;
}

.chart-strip {
  height: 92px;
}

.hero-visual {
  display: flex;
  align-items: flex-end;
  padding-bottom: 420px;
}

h1 {
  font-size: 40px;
}

.site-header {
  height: 68px;
  padding-inline: 20px;
}

.metric-panel strong,
  .kpi-row strong {
  font-size: 36px;
}

.brand,
  .brand img {
  width: 132px;
}

.menu-button {
  display: inline-flex;
}

.case-line {
  grid-template-columns: 72px 14px 1fr;
}

.value-card,
  .service-card,
  .timeline-item {
  min-height: auto;
}

.tab-panel h3,
  .report-title h3 {
  font-size: 32px;
}

.invoice-head,
  .invoice-line {
  grid-template-columns: 1fr;
  gap: 6px;
  padding-block: 18px;
}

.section {
  padding: 76px 0;
}

.hero-actions .btn,
  .footer-cta .btn {
  width: 100%;
}

.decision-card,
  .footer-shell {
  align-items: stretch;
  flex-direction: column;
}

@media (min-width: 461px) {
  .hero {
    padding-top: 150px;
  }

  :root {
    --header-h: 76px;
  }

  h2 {
    font-size: 36px;
  }

  h1 {
    font-size: 48px;
  }

  .site-header {
    height: var(--header-h);
  }

}

@media (min-width: 721px) {
  .content-shell {
    width: min(calc(100% - 48px), var(--shell));
  }

  .faq-list summary {
    font-size: 28px;
  }

  .diagnostic-result strong {
    font-size: 34px;
  }

  .table-row {
    grid-template-columns: 1fr 1.1fr 0.9fr 0.9fr;
    gap: 12px;
  }

  .hero-dashboard {
    width: min(calc(100% - 48px), 620px);
    padding: 18px;
  }

  h2 {
    font-size: 44px;
  }

  .decision-card h3 {
    font-size: 32px;
  }

  .invoice-head strong {
    font-size: 34px;
  }

  .chart-strip {
    height: 126px;
  }

  h1 {
    font-size: 64px;
  }

  .case-line {
    grid-template-columns: 84px 18px 1fr auto;
  }

  .section {
    padding: 112px 0;
  }

}

@media (min-width: 921px) {
  .hero-content {
    padding-top: 90px;
  }

  .console-sidebar {
    min-height: 520px;
  }

  .hero {
    min-height: calc(100svh - 24px);
  }

  .console-sidebar img {
    margin-bottom: 96px;
  }

  .hero-dashboard {
    position: absolute;
    width: 560px;
    max-width: 54%;
    opacity: 0.78;
  }

  .nav-panel {
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
  }

  .nav-panel a {
    min-height: 34px;
  }

  .menu-button {
    display: none;
  }

}

@media (min-width: 1121px) {
  .diagnostic-result {
    grid-column: 2;
  }

  .timeline {
    grid-template-columns: repeat(5, 1fr);
  }

  .hero-dashboard {
    right: 7%;
    max-width: 46%;
  }

  h2 {
    font-size: 54px;
  }

  h1 {
    font-size: 82px;
  }

}

