:root {
  --bg: #ffffff;
  --ink: #000000;
  --muted: #555555;
  --line: #000000;
  --soft: #f7f7f3;
  --accent: #4ade80;
  --focus: #16a34a;
  --sans: "Bricolage Grotesque", Arial, Helvetica, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  font-family: var(--sans);
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
}

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

.page {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 22px 18px 56px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding-bottom: 42px;
  font-family: var(--mono);
  font-size: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav a,
.topbar a {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.nav a.current {
  background: linear-gradient(180deg, transparent 62%, var(--accent) 62%);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 0 0 64px;
  border-bottom: 2px solid var(--line);
}

.eyebrow,
.label,
.micro {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.4;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
}

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

h1 {
  max-width: 100%;
  margin-bottom: 24px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 16px;
  font-size: 31px;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.1;
}

.lead {
  max-width: 100%;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: #ffffff;
}

.button[disabled] {
  border-color: #a0a09a;
  background: #e7e7e0;
  color: #6c6c66;
  cursor: not-allowed;
  opacity: 1;
}

#soluciones {
  scroll-margin-top: 24px;
}

.reason,
.section-intro {
  color: var(--muted);
  line-height: 1.35;
}

.reason {
  margin: 0;
  font-size: 18px;
}

.section-intro {
  margin-bottom: 28px;
  font-size: 19px;
}

.box,
.callout,
.panel,
.route-card {
  border: 2px solid var(--line);
  border-radius: 8px;
}

.box,
.callout {
  background: var(--soft);
  padding: 22px;
}

.box p,
.panel p,
.route-card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.3;
}

.box p:last-child,
.panel p:last-child,
.route-card p:last-child {
  margin-bottom: 0;
}

.box strong,
.callout strong,
.row strong {
  color: var(--ink);
  font-weight: 700;
}

.section {
  padding: 42px 0;
  border-bottom: 2px solid var(--line);
}

.rows {
  display: grid;
  border-top: 1px solid var(--line);
}

.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.row span {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.45;
}

.row p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.28;
  overflow-wrap: break-word;
}

.split,
.routes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.panel,
.route-card {
  padding: 22px;
}

.panel-soft,
.route-card {
  background: var(--soft);
}

.route-card {
  display: block;
  text-decoration: none;
}

.route-card:hover,
.route-card:focus-visible {
  background: #ffffff;
}

.callout p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.25;
}

.ps {
  padding-top: 28px;
  font-size: 20px;
  line-height: 1.35;
}

.ps strong {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
}

.button:focus-visible,
.topbar a:focus-visible,
.route-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

@media (max-width: 380px) {
  h1 {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
