/* =========================================================
   Solviera Crédito — Sitio corporativo
   Tokens alineados con la app H5 (src/assets/styles/meli.less)
   ========================================================= */

:root {
  /* Marca */
  --yellow: #FFE600;
  --yellow-soft: #FFF8B8;
  --yellow-tint: #FFFBDE;
  --yellow-press: #F0D800;
  --blue: #3483FA;
  --blue-dark: #2968DC;
  --blue-soft: #E5F0FF;

  /* Tinta */
  --ink-900: #1F2937;
  --ink-800: #111827;
  --ink-700: #374151;
  --ink-500: #6B7280;
  --ink-400: #9CA3AF;
  --ink-300: #E5E7EB;
  --ink-200: #F1F1F1;
  --ink-100: #F3F4F6;

  --bg: #F5F5F5;
  --surface: #FFFFFF;
  --success: #00A650;
  --success-soft: #DCFCE7;

  /* Forma */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-hero: 32px;
  --shadow-card: 0 2px 8px rgba(31, 41, 55, 0.06);
  --shadow-lift: 0 6px 20px rgba(31, 41, 55, 0.08);
  --shadow-status: 0 12px 28px rgba(31, 41, 55, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Avenir,
    Helvetica, Arial, sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }

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

/* La franja inclinada (ticker) es más ancha que la pantalla */
main { overflow-x: hidden; overflow-x: clip; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--ink-500); }
.small { font-size: 0.875rem; }

/* ---------- Top accent bar ---------- */
.top-accent { height: 4px; background: var(--ink-900); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--ink-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-900);
}
.brand:hover { text-decoration: none; color: var(--ink-900); }
.brand-logo { display: inline-flex; width: 40px; height: 40px; }
.brand-logo img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 4px 10px rgba(31, 41, 55, 0.12); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.08rem; font-weight: 900; letter-spacing: -0.01em; }
.brand-text small { color: var(--ink-500); font-size: 0.72rem; font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: var(--ink-700);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover { color: var(--ink-900); text-decoration: none; }
.main-nav a.active { color: var(--ink-900); border-bottom-color: var(--yellow); }

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--ink-900);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}
.header-cta:hover { background: #000; color: #fff; text-decoration: none; }

.nav-toggle {
  display: none;
  background: rgba(0, 0, 0, 0.06);
  border: 0;
  border-radius: 999px;
  width: 40px; height: 40px;
  padding: 12px 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink-900); border-radius: 2px; }

/* ---------- Hero (bloque amarillo como la home de la app) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 80px;
  background: var(--yellow);
  border-radius: 0 0 var(--radius-hero) var(--radius-hero);
}
.hero::before {
  /* anillo blanco arriba a la derecha */
  content: "";
  position: absolute;
  top: -160px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
}
.hero::after {
  /* retícula de puntos abajo a la izquierda */
  content: "";
  position: absolute;
  left: -20px; bottom: 40px;
  width: 200px; height: 200px;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.08) 1.5px, transparent 2px);
  background-size: 12px 12px;
  opacity: 0.6;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: var(--ink-900);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  font-weight: 900;
}
.hero h1 .accent {
  display: inline;
  background: linear-gradient(transparent 62%, rgba(255, 255, 255, 0.75) 62%, rgba(255, 255, 255, 0.75) 92%, transparent 92%);
  padding: 0 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-700);
  font-weight: 500;
  margin: 0 0 28px;
  max-width: 560px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border: 0;
  cursor: pointer;
  transition: background .15s ease, transform .12s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.99); }
/* CTA principal sobre amarillo: píldora negra */
.btn-primary { background: var(--ink-900); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; }
/* Secundario: píldora blanca */
.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--ink-900); }
.btn-ghost:hover { background: #fff; color: var(--ink-900); }
/* Botón azul para fondos blancos */
.btn-blue { background: var(--blue); color: #fff; height: 48px; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 8px;
}
.pill {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-700);
  line-height: 1.25;
}
.pill b { color: var(--ink-900); font-size: 1rem; font-weight: 900; }

/* Hero phone */
.hero-phone { display: flex; justify-content: center; position: relative; }
.hero-phone .phone-frame { width: 330px; animation: heroFloat 0.8s ease-out both; }

/* Los PNG ya incluyen el marco del teléfono */
.phone-frame {
  position: relative;
  width: 260px;
  z-index: 1;
}
/* Sombra suave bajo el teléfono (sin filter, más ligero de renderizar) */
.phone-frame::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  bottom: -4%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(31, 41, 55, 0.30) 0%, rgba(31, 41, 55, 0) 70%);
  z-index: -1;
}
.phone-frame img { width: 100%; height: auto; position: relative; }
@keyframes heroFloat {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero extras: blob + chips flotantes ---------- */
.hero-blob {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: rgba(255, 255, 255, 0.45);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: blob 14s ease-in-out infinite;
}
@keyframes blob {
  0%, 100% { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; transform: translate(-50%, -50%) rotate(0deg); }
  50%      { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; transform: translate(-50%, -50%) rotate(12deg); }
}
.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-status);
  animation: bob 4.5s ease-in-out infinite;
}
.float-chip b { display: block; font-size: 0.9rem; font-weight: 900; line-height: 1.2; }
.float-chip small { display: block; font-size: 0.72rem; font-weight: 600; color: var(--ink-500); }
.chip-dot {
  width: 34px; height: 34px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900;
}
.chip-dot.ok { background: var(--success-soft); color: var(--success); }
.chip-dot.cash { background: var(--ink-900); color: var(--yellow); }
.chip-top { top: 18%; left: -6%; }
.chip-bottom { bottom: 14%; right: -4%; animation-delay: -2.2s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--ink-900);
  color: var(--yellow);
  margin: 28px 0 0;
  padding: 16px 0;
  transform: rotate(-1.2deg);
  width: 104%;
  margin-left: -2%;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track i { font-style: normal; color: #fff; opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0 72px; }
.section-white { background: var(--surface); }

.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-900);
  background: var(--yellow);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.12;
  margin: 0 0 14px;
  letter-spacing: -0.025em;
  font-weight: 900;
}
.section-text { color: var(--ink-500); margin: 0; font-size: 1.04rem; font-weight: 500; }

/* ---------- Stats bento ---------- */
.bento-stats {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.bstat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 150px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--ink-200);
  transition: transform .2s ease;
}
.bstat:hover { transform: translateY(-4px) rotate(-0.5deg); }
.bstat-label { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); }
.bstat-value { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.bstat-value small { font-size: 0.45em; font-weight: 800; letter-spacing: 0; }
.bstat-foot { font-size: 0.88rem; font-weight: 700; color: var(--ink-700); }
.bstat-yellow { grid-row: span 2; background: var(--yellow); border-color: var(--yellow); }
.bstat-yellow .bstat-label { color: var(--ink-700); }
.bstat-yellow .bstat-value { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.bstat-dark { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.bstat-dark .bstat-label { color: var(--ink-400); }
.bstat-dark .bstat-value { color: var(--yellow); }
.bstat-blue { grid-column: span 2; background: var(--blue-soft); border-color: var(--blue-soft); }
.bstat-blue .bstat-value { color: var(--blue-dark); }

/* ---------- Timeline (pasos) ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4%; right: 4%;
  top: 74px;
  border-top: 2px dashed var(--ink-300);
}
.tl-item { position: relative; padding: 0 4px; }
.tl-num {
  display: block;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink-900);
  margin-bottom: 8px;
}
.tl-item:hover .tl-num { color: var(--yellow); }
.tl-dot {
  position: relative;
  display: block;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--yellow);
  border: 4px solid var(--ink-900);
  margin-bottom: 18px;
}
.tl-item h3 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 900; }
.tl-item p { margin: 0; color: var(--ink-500); font-size: 0.94rem; }

/* ---------- Showcase zig-zag ---------- */
.showcase { display: flex; flex-direction: column; gap: 28px; }
.show-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border-radius: 28px;
  padding: 40px 56px;
  overflow: hidden;
}
.show-row.reverse .show-media { order: 2; }
.show-media {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 28px 0 8px;
  border-radius: 24px;
}
.show-media .phone-frame { width: 230px; }
.show-media::before {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 999px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.media-yellow::before { background: var(--yellow); }
.media-dark::before { background: rgba(255, 230, 0, 0.16); }
.media-green::before { background: var(--success-soft); }

.show-index {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 10px;
}
.show-copy h3 { margin: 0 0 12px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }
.show-copy p { margin: 0 0 20px; color: var(--ink-500); font-size: 1.02rem; max-width: 460px; }
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ink-100);
  font-size: 0.84rem;
  font-weight: 800;
}
.show-dark { background: var(--ink-900); color: #fff; }
.show-dark .show-index { color: var(--yellow); }
.show-dark .show-copy p { color: var(--ink-400); }
.show-dark .chip-list li { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ---------- About bento ---------- */
.about-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 30px;
}
.about-card h3 { margin: 0 0 16px; font-size: 1.15rem; font-weight: 900; }
.about-yellow { background: var(--yellow-tint); border: 1px solid rgba(255, 230, 0, 0.6); }

.data-list { list-style: none; padding: 0; margin: 0; }
.data-list li {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-300);
  font-size: 0.95rem;
}
.data-list li:last-child { border-bottom: 0; }
.data-list li span { flex: 0 0 38%; color: var(--ink-500); font-weight: 600; }
.data-list li strong { flex: 1; font-weight: 800; word-break: break-word; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 9px 0 9px 42px; position: relative; font-size: 0.97rem; font-weight: 600; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--ink-900) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5 L8.5 14 L15 6.5' stroke='%23FFE600' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/14px no-repeat;
}

/* Tarjeta del aliado tecnológico: oscura, ancho completo */
.tech-card {
  grid-column: 1 / -1;
  background: var(--ink-900);
  color: #fff;
  border-radius: 28px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.tech-card::after {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 150px; height: 120px;
  background-image: radial-gradient(circle, rgba(255, 230, 0, 0.3) 1.5px, transparent 2px);
  background-size: 14px 14px;
  pointer-events: none;
}
.tech-card a { color: var(--yellow); }
.tech-header { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; position: relative; z-index: 1; }
.tech-logo {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--yellow);
  color: var(--ink-900);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.tech-kicker { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.tech-header h3 { margin: 2px 0; font-weight: 900; font-size: 1.3rem; }
.tech-header p { margin: 0; font-size: 0.9rem; color: var(--ink-400); }
.tech-card .data-list { position: relative; z-index: 1; }
.tech-card .data-list li { border-bottom-color: rgba(255, 255, 255, 0.10); }
.tech-card .data-list li span { color: var(--ink-400); }
.tech-note {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  padding: 16px 18px 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius-md);
  font-size: 0.94rem;
  color: var(--ink-300);
}

/* ---------- CTA banner ---------- */
.cta-wrap { padding: 0; background: linear-gradient(var(--surface) 50%, var(--bg) 50%); }
.cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--yellow);
  border-radius: 28px;
  padding: 44px 48px;
}
.cta-banner::before {
  content: "$";
  position: absolute;
  right: 28%;
  top: -40px;
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 0, 0, 0.06);
  transform: rotate(14deg);
  pointer-events: none;
}
.cta-banner h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 900; letter-spacing: -0.02em; }
.cta-banner p { margin: 0; color: var(--ink-700); font-weight: 600; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ---------- Contact ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-split .section-head { margin: 0; }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: transform .18s ease, border-color .18s ease;
}
.contact-card:hover { transform: translateX(6px); border-color: var(--yellow); }
.contact-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--ink-900);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-card h3 { margin: 0 0 2px; font-size: 1rem; font-weight: 900; }
.contact-card p { margin: 1px 0; font-weight: 600; }

.doc-links { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.doc-links a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--ink-300);
  color: var(--ink-900);
  font-weight: 800;
  font-size: 0.86rem;
}
.doc-links a:hover { background: var(--ink-900); color: var(--yellow); text-decoration: none; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .float-chip, .hero-blob, .hero-phone .phone-frame { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Legal pages ---------- */
.legal { background: var(--bg); padding: 0 0 80px; }
.legal::before {
  content: "";
  display: block;
  height: 120px;
  background: var(--yellow);
  border-radius: 0 0 var(--radius-hero) var(--radius-hero);
}
.legal-container { max-width: 920px; margin: -72px auto 0; padding: 0 24px; position: relative; }
.legal-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 44px clamp(20px, 5vw, 56px);
  box-shadow: var(--shadow-status);
}
.legal h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 8px; letter-spacing: -0.02em; font-weight: 900; }
.legal .updated {
  display: inline-block;
  color: var(--ink-700);
  background: var(--ink-100);
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 0 24px;
  font-size: 0.82rem;
  font-weight: 700;
}
.legal h2 { font-size: 1.2rem; margin: 32px 0 12px; display: flex; align-items: center; gap: 12px; font-weight: 900; }
.legal h2 .num {
  color: var(--ink-900);
  background: var(--yellow);
  width: 32px; height: 32px;
  border-radius: 999px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}
.legal h3 { font-size: 1.05rem; margin: 20px 0 8px; font-weight: 800; }
.legal p { margin: 10px 0; color: var(--ink-700); }
.legal ul { padding-left: 20px; margin: 10px 0; color: var(--ink-700); }
.legal li { margin: 6px 0; }
.legal strong { color: var(--ink-900); }
.legal .callout {
  position: relative;
  background: var(--yellow-tint);
  padding: 16px 18px 16px 20px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  overflow: hidden;
}
.legal .callout::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--yellow);
}
.legal .info-block {
  background: var(--bg);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-200);
  margin: 16px 0;
  font-size: 0.95rem;
}
.legal .info-block p { margin: 4px 0; }

.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.95rem; }
.legal-table th, .legal-table td { padding: 10px 12px; border: 1px solid var(--ink-300); text-align: left; }
.legal-table th { background: var(--ink-100); font-weight: 800; }

.signature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.signature-block .sign { padding: 18px; border: 1px dashed var(--ink-300); border-radius: var(--radius-md); }
.signature-block .line { border-top: 1px solid var(--ink-900); margin: 30px 0 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-800); color: var(--ink-400); padding: 56px 0 28px; }
.site-footer strong { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand { max-width: 360px; }
.footer-brand p { margin: 12px 0; font-size: 0.9rem; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-brand .footer-logo img { width: 44px; height: 44px; border-radius: 12px; }
.footer-brand .footer-logo strong { font-size: 1.1rem; font-weight: 900; }
.footer-brand .footer-contact a { color: var(--yellow); }
.footer-brand .footer-contact a:hover { color: #fff; }

.footer-col h4 { margin: 0 0 14px; font-size: 0.74rem; font-weight: 900; color: #fff; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 8px 0; }
.footer-col a { color: var(--ink-300); font-size: 0.92rem; }
.footer-col a:hover { color: var(--yellow); text-decoration: none; }

.copyright {
  grid-column: 1 / -1;
  color: var(--ink-500);
  font-size: 0.82rem;
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .chip-top { left: 2%; }
  .chip-bottom { right: 2%; }
  .bento-stats { grid-template-columns: 1fr 1fr; }
  .bstat-yellow { grid-row: auto; grid-column: 1 / -1; }
  .bstat-blue { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
  .show-row { grid-template-columns: 1fr; padding: 32px 28px; gap: 24px; }
  .show-row.reverse .show-media { order: 0; }
  .about-bento { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--ink-200);
    padding: 12px 24px 18px;
    flex-direction: column;
    gap: 8px;
  }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { position: relative; }
  .brand-text small { display: none; }
  .hero { padding: 40px 0 64px; }
  .hero-phone .phone-frame { width: 250px; }
  .hero-blob { width: 300px; height: 300px; }
  .float-chip { padding: 8px 12px 8px 8px; }
  .float-chip small { display: none; }
  .hero-highlights { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 60px 0; }
  .timeline { grid-template-columns: 1fr; }
  .show-media .phone-frame { width: 200px; }
  .cta-banner { padding: 32px 24px; }
  .tech-card { padding: 26px 20px; }
  .data-list li { flex-direction: column; gap: 2px; }
  .footer-inner { grid-template-columns: 1fr; }
  .signature-block { grid-template-columns: 1fr; }
}
