/* Encruelecerias Cloud Node — production theme (no scripts). Policy: omit disallowed ad-copy tokens in shipped text/CSS. */
:root {
  --ink: #0b1220;
  --ink-soft: #1e293b;
  --muted: #475569;
  --faint: #64748b;
  --line: rgba(15, 23, 42, 0.09);
  --line-strong: rgba(37, 99, 235, 0.14);
  --accent: #2563eb;
  --accent-deep: #1d4ed8;
  --indigo: #4f46e5;
  --cyan: #06b6d4;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --glass: rgba(255, 255, 255, 0.58);
  --glass-2: rgba(255, 255, 255, 0.82);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 28px 80px rgba(30, 64, 175, 0.14);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --max: 1180px;
  --font: "Segoe UI", Inter, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-soft);
  background-color: #f6f8ff;
  background-image:
    radial-gradient(900px 520px at 8% -8%, rgba(147, 197, 253, 0.55), transparent 58%),
    radial-gradient(760px 480px at 92% 4%, rgba(196, 181, 253, 0.45), transparent 52%),
    radial-gradient(520px 420px at 50% 108%, rgba(125, 211, 252, 0.22), transparent 55%),
    linear-gradient(180deg, #fbfdff, #f3f6ff 42vh, #f8fafc);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

img { max-inline-size: min(1120px, 92vw); height: auto; display: block; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--indigo); }

.wrap {
  width: min(var(--max), 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.brand-text { display: flex; flex-direction: column; gap: 2px; }

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-text span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

nav.primary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  justify-content: flex-end;
}

nav.primary a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.94rem;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid transparent;
}

nav.primary a:hover {
  color: var(--accent-deep);
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.12);
}

nav.primary a[aria-current="page"] {
  color: var(--accent-deep);
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.16);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(79, 70, 229, 0.1));
  color: var(--indigo);
  font-weight: 750;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn:hover { filter: brightness(0.98); }

.btn-solid {
  border-color: rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
}

.hero {
  padding: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 48px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(22px, 4vw, 40px);
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  nav.primary { justify-content: flex-start; }
}

h1, h2, h3, h4 {
  font-family: var(--font);
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 12px;
}

h1 { font-size: clamp(2.05rem, 4vw, 2.85rem); font-weight: 820; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 780; }
h3 { font-size: 1.18rem; font-weight: 760; }
h4 { font-size: 1.05rem; font-weight: 720; }

.lede {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--accent));
  box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.12);
}

.glass {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.glass-tight {
  background: var(--glass-2);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.section {
  padding: clamp(44px, 7vw, 88px) 0;
}

.section-tight { padding: clamp(36px, 5vw, 64px) 0; }

.section-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(238, 242, 255, 0.72));
  border-block: 1px solid var(--line);
}

.section-deep {
  background: radial-gradient(900px 500px at 20% 0%, rgba(37, 99, 235, 0.12), transparent 55%),
    linear-gradient(180deg, #eef2ff, #f8fafc);
  border-block: 1px solid var(--line);
}

.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 0.95rem; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.card { padding: 20px; }

.card h3 { margin-bottom: 8px; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.bento > * { min-width: 0; }

.span-5 { grid-column: span 5; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-12 { grid-column: span 12; }

@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr; }
  .span-5, .span-6, .span-7, .span-12 { grid-column: span 1; }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 980px) {
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.stat {
  padding: 16px 14px;
  text-align: center;
  border-radius: var(--radius-sm);
}

.stat b {
  display: block;
  font-size: 1.2rem;
  color: var(--indigo);
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.35;
}

.divider-wave {
  display: block;
  margin: 0;
  color: rgba(37, 99, 235, 0.18);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pill {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 14px;
}

.tl-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.tl-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--indigo));
  box-shadow: var(--shadow-sm);
}

.quote {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(6, 182, 212, 0.06));
}

.quote blockquote {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.quote figcaption {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 650;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.logo-strip span {
  font-weight: 800;
  color: var(--faint);
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.cta-band {
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(224, 231, 255, 0.75));
  box-shadow: var(--shadow-lg);
}

.table-wrap { overflow: auto; border-radius: var(--radius); }

table.data {
  inline-size: -webkit-fill-available;
  inline-size: stretch;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
}

table.data th,
table.data td {
  padding: 14px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
  vertical-align: top;
}

table.data thead th {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--faint);
  background: rgba(255, 255, 255, 0.85);
}

table.data tbody tr:last-child td { border-bottom: 0; }

.tag {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.08);
  color: var(--indigo);
  font-weight: 850;
  font-size: 0.8rem;
}

details.faq {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

details.faq + details.faq { margin-top: 10px; }

details.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
}

.prose {
  max-width: 78ch;
}

.prose p { margin: 0 0 14px; }

.prose h2 { margin-top: 28px; }

.prose ul { padding-left: 1.2em; }

.prose li { margin: 8px 0; }

.footer {
  padding: clamp(44px, 6vw, 72px) 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer h3 {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li { margin: 9px 0; }

.footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.footer a:hover { color: var(--accent); }

.fineprint {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.figure {
  margin: 0;
  padding: 14px;
}

.figure figcaption {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-art {
  border-radius: calc(var(--radius) + 6px);
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(224, 231, 255, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-lg);
}

.hero-art svg {
  display: block;
  inline-size: stretch;
  inline-size: -webkit-fill-available;
  height: auto;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 4px solid rgba(37, 99, 235, 0.35);
  padding-left: 14px;
  margin: 14px 0 0;
}
