:root {
  --navy: #06172d;
  --navy-2: #0a2d5d;
  --blue: #1268e8;
  --cyan: #25c7d9;
  --white: #fff;
  --ink: #17243a;
  --muted: #52647a;
  --paper: #f4f8fc;
  --line: #dbe6f1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; }
button { font: inherit; }
.shell { width: min(980px, 92%); margin: auto; }

header {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgba(37,199,217,.2), transparent 26%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}
.mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
}
.mark::before {
  content: "";
  position: absolute;
  inset: 9px 9px 11px;
  border: 3px solid #fff;
  border-top: 0;
  border-radius: 3px 3px 7px 7px;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 15px; }
.brand-copy span {
  margin-top: 4px;
  color: #8feaf4;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.lang {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 8px 13px;
  cursor: pointer;
  font-weight: 800;
}

.hero {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  padding: 52px 0 56px;
}
.crumb {
  display: inline-block;
  color: #a5f7ff;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 17px;
}
.hero h1 {
  max-width: 800px;
  font-size: clamp(35px, 6vw, 58px);
  line-height: 1.04;
  letter-spacing: -1.8px;
}
.hero p {
  max-width: 720px;
  color: #c8d8e9;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 18px;
}
.ai-label {
  display: inline-flex;
  color: #a5f7ff;
  background: rgba(37,199,217,.1);
  border: 1px solid rgba(37,199,217,.28);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .55px;
  margin-bottom: 15px;
}

main { padding: 42px 0 58px; }
.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 34px;
  align-items: start;
}
.content {
  display: grid;
  gap: 27px;
}
.content section {
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(17,56,96,.06);
}
.content h2 {
  color: #0b3268;
  font-size: 21px;
  margin-bottom: 11px;
}
.content p,
.content li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.content ul { padding-left: 19px; display: grid; gap: 7px; }
.content p + p { margin-top: 10px; }

.side {
  position: sticky;
  top: 20px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(145deg, #0a2d5d, #0c4b9e);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(17,56,96,.2);
}
.side strong { display: block; font-size: 17px; margin-bottom: 9px; }
.side p { color: #c8d8e9; font-size: 12px; line-height: 1.55; }
.cta {
  display: block;
  margin-top: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #3488ff);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.guide-card {
  display: grid;
  gap: 9px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(17,56,96,.05);
  transition: transform .18s ease, border-color .18s ease;
}
.guide-card:hover { transform: translateY(-2px); border-color: #8bbcff; }
.guide-card span { color: var(--blue); font-size: 11px; font-weight: 900; }
.guide-card strong { color: #0b3268; font-size: 17px; }
.guide-card p { color: var(--muted); font-size: 13px; line-height: 1.5; }

footer {
  color: #6c7e92;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  font-size: 11px;
}
.foot { display: flex; justify-content: space-between; gap: 18px; }
.lang-en { display: none; }
html[data-language="en"] .lang-es { display: none; }
html[data-language="en"] .lang-en { display: block; }
html[data-language="en"] span.lang-en,
html[data-language="en"] a.lang-en { display: inline; }

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(18,104,232,.45);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .article { grid-template-columns: 1fr; }
  .side { position: static; }
  .guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .shell { width: 94%; }
  .hero { padding: 38px 0 42px; }
  .hero h1 { font-size: 38px; letter-spacing: -1px; }
  .content section { padding: 21px; }
  .foot { flex-direction: column; gap: 6px; }
}
