:root{
  /* Paleta Sol.ia (paleta.txt) */
  --bg: #0B101A;
  --surface: #101C2D;
  --surface2: #0E1726;
  --ink: #EAF6FF;
  --ink2: rgb(234 246 255 / 82%);
  --muted: #7DA6C7;
  --primary: #2BB3FF;
  --primary2: #1E79FF;
  --ice: #CFE8FF;
  --line: rgb(234 246 255 / 14%);
  --shadow: 0 16px 40px rgb(0 0 0 / 35%);
  --radius: 22px;

  --max: 1100px;
  --pad: clamp(16px, 3vw, 28px);
  --headerH: 62px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
button{font:inherit}

.noScroll{overflow:hidden}

.container{
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline:auto;
}

.header{
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--headerH);
  z-index: 100;
  background: rgb(11 16 26 / 72%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.headerInner{
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}

.brandLogo{
  width: 34px;
  height: 34px;
}

.brandName{
  font-weight: 650;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  opacity: .9;
}

.menuBtn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgb(234 246 255 / 6%);
  border: 1px solid rgb(234 246 255 / 12%);
  color: var(--ink);
  cursor:pointer;
  transition: transform .12s ease, background .2s ease, border-color .2s ease;
}

.menuBtn:hover{
  background: rgb(234 246 255 / 9%);
  border-color: rgb(43 179 255 / 35%);
}

.menuBtn:active{transform: scale(.98)}

.menuDot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
}

.menuOverlay{
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgb(11 16 26 / 85%);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.menuOverlay.open{
  opacity: 1;
  pointer-events: auto;
}

.menuPanel{
  width: min(520px, calc(100% - (var(--pad) * 2)));
  margin: calc(var(--headerH) + 18px) auto 0;
  background: rgb(16 28 45 / 88%);
  border: 1px solid rgb(234 246 255 / 12%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.menuTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.menuTitle{
  font-weight: 650;
  letter-spacing: .2px;
}

.closeBtn{
  background: transparent;
  color: var(--ink);
  border: 1px solid rgb(234 246 255 / 12%);
  border-radius: 999px;
  padding: 8px 12px;
  cursor:pointer;
}

.menuList{
  list-style:none;
  padding: 8px;
  margin: 0;
  display:grid;
  gap: 6px;
}

.menuItem a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgb(234 246 255 / 4%);
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}

.menuItem a:hover{
  background: rgb(234 246 255 / 7%);
  border-color: rgb(43 179 255 / 30%);
}

.menuItem small{
  color: var(--muted);
}

main{padding-top: var(--headerH)}

/* HERO */
.hero{
  min-height: calc(100svh - var(--headerH));
  display:grid;
  place-items:center;
  padding: 54px 0 10px;
}

.heroInner{
  display:grid;
  justify-items:center;
  gap: 14px;
  text-align:center;
}

.heroLogo{
  width: min(360px, 70vw);
  height: auto;
  filter: drop-shadow(0 18px 34px rgb(0 0 0 / 40%));
}

.heroTag{
  margin: 0;
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--ink2);
  max-width: 58ch;
}

.heroHint{
  margin: 0;
  font-size: 13px;
  color: rgb(234 246 255 / 70%);
}

/* SECTIONS */
.section{
  padding: 56px 0;
  border-top: 1px solid rgb(234 246 255 / 10%);
}

.sectionTitle{
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: -.3px;
  margin: 0 0 10px;
}

.sectionLead{
  margin: 0 0 26px;
  max-width: 70ch;
  color: var(--ink2);
}

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

.card{
  grid-column: span 12;
  background: rgb(11 16 26 / 50%);
  border: 1px solid rgb(234 246 255 / 10%);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 12px 28px rgb(0 0 0 / 22%);
}

.cardBody{padding: 18px}

.cardTitle{
  margin: 0 0 6px;
  font-weight: 650;
  letter-spacing: -.2px;
}

.cardText{
  margin: 0 0 14px;
  color: var(--ink2);
}

.cardLink{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgb(43 179 255 / 14%);
  border: 1px solid rgb(43 179 255 / 28%);
  color: var(--ink);
}

.cardLink:hover{
  background: rgb(43 179 255 / 18%);
  border-color: rgb(43 179 255 / 40%);
}

.cardMedia{
  aspect-ratio: 16 / 9;
  background: #0A1220;
}

.cardMedia img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .96;
}

/* Tiles (index) */
.tiles{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.tile{
  grid-column: span 12;
  border-radius: var(--radius);
  border: 1px solid rgb(234 246 255 / 10%);
  background: rgb(16 28 45 / 55%);
  box-shadow: 0 12px 28px rgb(0 0 0 / 18%);
  overflow:hidden;
  transition: transform .16s ease, border-color .2s ease, background .2s ease;
}

.tile:hover{
  transform: translateY(-2px);
  border-color: rgb(43 179 255 / 30%);
  background: rgb(16 28 45 / 68%);
}

.tileIcon{
  aspect-ratio: 16 / 9;
  background: #0A1220;
}

.tileIcon img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tileBody{padding: 16px 16px 18px}

.tileTitle{
  margin: 0 0 6px;
  font-weight: 650;
}

.tileText{
  margin: 0;
  color: var(--ink2);
  font-size: 14px;
}

/* Page hero */
.pageHero{
  padding: 64px 0 28px;
}

.breadcrumb{
  color: rgb(234 246 255 / 65%);
  font-size: 13px;
  margin: 0 0 12px;
}

.pageTitle{
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: -.6px;
}

.pageLead{
  margin: 0;
  max-width: 72ch;
  color: var(--ink2);
}

/* Forms */
.form{
  display:grid;
  gap: 12px;
  max-width: 620px;
}

.field label{
  display:block;
  margin: 0 0 6px;
  font-size: 13px;
  color: rgb(234 246 255 / 75%);
}

.field input, .field textarea, .field select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgb(234 246 255 / 12%);
  background: rgb(11 16 26 / 60%);
  color: var(--ink);
  outline: none;
}

.field textarea{min-height: 140px; resize: vertical}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgb(43 179 255 / 28%);
  background: linear-gradient(135deg, rgb(43 179 255 / 22%), rgb(30 121 255 / 18%));
  color: var(--ink);
  cursor:pointer;
}

.btn:hover{
  border-color: rgb(43 179 255 / 46%);
}

.note{
  font-size: 13px;
  color: rgb(234 246 255 / 70%);
  margin: 0;
}

.footer{
  padding: 34px 0;
  border-top: 1px solid rgb(234 246 255 / 10%);
  color: rgb(234 246 255 / 75%);
  font-size: 13px;
}

.footerGrid{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a{
  color: rgb(207 232 255 / 90%);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 720px){
  .tile{grid-column: span 6}
  .card.split{display:grid; grid-template-columns: 1.2fr 1fr}
  .card.split .cardMedia{aspect-ratio:auto; min-height: 100%}
}

@media (min-width: 1024px){
  .tile{grid-column: span 3}
}
