@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root{
  --bg: #0c0d10;
  --panel: rgba(255,255,255,.06);
  --panel-2: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.12);
  --shadow: 0 20px 60px rgba(0,0,0,.45);

  /* Spain flag accents */
  --red: #aa151b;
  --gold: #f1bf00;
  --accent: linear-gradient(135deg, rgba(170,21,27,.95), rgba(241,191,0,.92));

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 12px;

  --max: 1080px;
  --header-h: 64px;
  --footer-h: 64px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 820px at 10% 15%, rgba(170,21,27,.22), transparent 62%),
    radial-gradient(980px 760px at 78% 6%, rgba(241,191,0,.16), transparent 58%),
    radial-gradient(1100px 900px at 70% 92%, rgba(170,21,27,.10), transparent 60%),
    radial-gradient(900px 700px at 25% 95%, rgba(241,191,0,.08), transparent 56%),
    var(--bg);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
code{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }

.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.skip{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(0,0,0,.6);
  border:1px solid var(--line);
  z-index: 9999;
}

.blob{
  position:fixed;
  width:520px;
  max-width:80vw;
  opacity:.45;
  filter: blur(0.2px) saturate(1.1);
  pointer-events:none;
  z-index:0;
}
.blob--a{ left:-140px; top:-120px; transform: rotate(-8deg); }
.blob--b{ right:-220px; bottom:-220px; transform: rotate(10deg); opacity:.28; }

.header{
  position: sticky;
  top:0;
  z-index:1000;
  backdrop-filter: blur(14px);
  background: rgba(10,12,16,.60);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  height: var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex; align-items:center; gap:12px;
  padding:10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.brand__mark{
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: var(--accent);
  color:#1b0b0c;
  font-weight:800;
}
.brand__sub{
  display:block;
  font-size: 12px;
  color: var(--muted);
  margin-top:2px;
}

.nav{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.nav__link{
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid transparent;
  color: var(--muted);
}
.nav__link:hover{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
  color: var(--text);
}
.nav__link.is-active{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: var(--text);
}

.main{
  position:relative;
  z-index:1;
  padding-bottom: calc(var(--footer-h) + 18px);
}

.hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  padding: 34px 0 10px;
}
@media (max-width: 920px){
  .hero{ grid-template-columns: 1fr; }
}

.h1{
  font-family: "Fraunces", ui-serif, Georgia, serif;
  font-size: clamp(30px, 3.3vw, 46px);
  letter-spacing:-.015em;
  margin: 10px 0 10px;
}
.h2{
  font-family: "Fraunces", ui-serif, Georgia, serif;
  font-size: 22px;
  margin: 0 0 10px;
}
.h3{
  font-size: 18px;
  margin: 10px 0 6px;
}
.lead{ color: var(--muted); font-size: 16px; line-height:1.65; margin:0; }

.chips{ display:flex; gap:8px; flex-wrap:wrap; margin: 16px 0 18px; }
.chip{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--muted);
}

.cta{ display:flex; gap:10px; flex-wrap:wrap; }
.btn{
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.08));
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.btn:hover{ background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.10)); }
.btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.12);
  color: var(--muted);
}
.btn--ghost:hover{ color: var(--text); background: rgba(255,255,255,.06); }

.card{
  border-radius: var(--radius-lg);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card--glass{
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
}

.card__badge{
  display:inline-block;
  font-size:12px;
  color: rgba(0,0,0,.78);
  font-weight:800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(241,191,0,.92);
  margin-bottom: 10px;
}

.steps{ margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.muted{ color: var(--muted); }

.section{ padding: 20px 0; }
.section__head{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap; }

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.grid--2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px){
  .grid--2{ grid-template-columns: 1fr; }
}

.tile{
  grid-column: span 4;
  min-height: 132px;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  position:relative;
  overflow:hidden;
}
.tile:before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(420px 220px at 10% 15%, rgba(241,191,0,.22), transparent 60%);
  opacity:.45;
  pointer-events:none;
}
.tile > *{ position:relative; }
.tile:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  transform: translateY(-1px);
}
@media (max-width: 920px){
  .tile{ grid-column: span 6; }
}
@media (max-width: 560px){
  .tile{ grid-column: span 12; }
}

.tile__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.pill{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--muted);
}
.tile__arrow{ color: rgba(255,255,255,.78); font-size: 18px; }

.notice{
  border-radius: var(--radius-lg);
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  padding: 14px;
  color: var(--muted);
}

.pagehead{ padding: 26px 0 8px; }
.kicker{
  display:inline-block;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--muted);
}

.cover{
  margin-top: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.14);
  overflow:hidden;
  height: 260px;
  position: relative;
  box-shadow: var(--shadow);
}
.cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.05) contrast(1.02);
}
.cover:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 260px at 10% 30%, rgba(170,21,27,.32), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.40));
  pointer-events:none;
}

.facts{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
@media (max-width: 820px){
  .facts{ grid-template-columns: 1fr; }
}
.fact{
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.fact__k{ display:block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.fact__v{ font-weight: 650; }

.bullets{ margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.qa{
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 10px;
  margin-top: 10px;
}
.qa summary{
  cursor:pointer;
  color: var(--text);
  font-weight: 700;
}
.qa p{ color: var(--muted); line-height:1.65; margin: 8px 0 0; }

.footer{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--footer-h);
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(10,12,16,.72);
  border-top: 1px solid var(--line);
}
.footer__inner{
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.footer__link{
  flex:1;
  text-align:center;
  padding: 12px 10px;
  border-radius: 16px;
  color: var(--muted);
  border: 1px solid transparent;
}
.footer__link:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  color: var(--text);
}
.footer__link.is-active{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: var(--text);
}
