/* Soul Enterprise · estilo editorial (como rfsia.es): negro, blanco, titulares Anton en mayúsculas
   y el naranja Soul como color caliente. Acentos por marca:
   Enterprise #ff6a3d · Academy #4da3ff · Games #2ee59d · Labs #ffc93d */
:root {
    --black: #000;
    --white: #fff;
    --grey: #f2f2f2;
    --mid: #6b6b6b;
    --hot: #ff6a3d;
    --navy: #0f2a5c;
    --paper: #eef3fb;

    /* logo Soul sobre fondo oscuro (barra, pie) */
    --logo-box: var(--white);
    --logo-ink: var(--black);
    --logo-text: var(--white);

    --display: Anton, Impact, "Arial Narrow", sans-serif;
    --body: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--black); background: var(--white); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
.d { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .92; }
.k { font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--hot); margin-bottom: 18px; }

/* Logos SVG en línea */
.logo { display: block; height: auto; }
.logo-header { width: 132px; }
.logo-chip { width: 30px; }
.logo-legal { width: 44px; flex: none; }

/* Barra */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; height: 62px; color: #fff; background: #000; }
.bar-logo { display: flex; text-decoration: none; }
.bar-nav { display: flex; gap: 30px; align-items: center; }
.bar-nav a { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.bar-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Botones */
.btn { display: inline-block; background: var(--white); color: var(--black); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 16px 30px; border-radius: 999px; transition: background .15s, color .15s; }
.btn:hover { background: var(--hot); color: #fff; text-decoration: none !important; }
.btn.dark { background: var(--black); color: #fff; }
.btn.dark:hover { background: var(--white); color: var(--black); }
.bar .btn { padding: 10px 20px; font-size: 12px; }

/* Portada */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: #000; overflow: hidden; }
.hero-marks { position: absolute; top: 62px; right: -3vw; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6vw; width: min(52vw, 720px); }
.hero-mark { position: relative; aspect-ratio: 1; background: #141414; color: var(--a); font-family: "Space Grotesk", Arial, sans-serif; font-weight: 700; font-size: clamp(60px, 10vw, 160px); letter-spacing: -.07em; line-height: 1; display: flex; align-items: flex-end; padding: 0 0 5% 8%; }
.hero-mark::after { content: ""; position: absolute; top: 12%; right: 12%; width: 13%; height: 13%; background: var(--a); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0000 25%, #000d 78%, #000 100%); }
.hero-in { position: relative; z-index: 2; width: 100%; padding: 0 28px 54px; }
.hero h1 { font-size: clamp(64px, 13vw, 210px); margin-bottom: 22px; }
.hero h1 span { color: var(--hot); }
.hero p { max-width: 540px; font-size: 19px; font-weight: 600; margin-bottom: 26px; }
.row { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.row a.t { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-underline-offset: 6px; }

/* Bloques */
section { padding: 92px 28px; }
.what { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: end; background: var(--white); }
.what h2 { font-size: clamp(54px, 9vw, 140px); }
.what p { font-size: 20px; font-weight: 500; max-width: 460px; }
.nums { display: flex; gap: 38px; margin-top: 28px; }
.nums b { display: block; font-family: var(--display); font-weight: 400; font-size: 54px; line-height: 1; }
.nums span { font-size: 13px; color: var(--mid); font-weight: 600; }

/* Lista grande */
.list { background: var(--black); color: #fff; }
.list .r { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 30px; border-top: 1px solid #333; padding: 22px 0; text-decoration: none; transition: padding .2s, color .2s; }
.list .r:last-child { border-bottom: 1px solid #333; }
.list .r b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 7.5vw, 112px); line-height: .95; }
.list .r span { color: #9a9a9a; font-size: 15px; max-width: 320px; text-align: right; transition: color .2s; }
.list a.r:hover { color: var(--a, var(--hot)); padding-left: 16px; }
.list a.r:hover span { color: #fff; }
.list .r.off b { color: #5c5c5c; }

/* Teselas */
.tiles { padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.tile { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; color: #000; text-decoration: none; background: var(--a); }
.tile:nth-child(odd):last-child { grid-column: 1 / -1; aspect-ratio: 8/3; }
.tile-mark { position: absolute; top: -.08em; right: -.04em; font-family: "Space Grotesk", Arial, sans-serif; font-weight: 700; font-size: clamp(160px, 26vw, 400px); line-height: 1; letter-spacing: -.08em; color: #0000001a; transition: transform .5s; }
.tile:hover .tile-mark { transform: scale(1.06); }
.tile .cap { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tile .cap b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 5.4vw, 78px); line-height: .95; }
.tile .cap small { display: block; font-size: 14px; font-weight: 600; margin-top: 6px; max-width: 360px; }
.tile .cap small.tile-k { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tile .cap i { font-style: normal; font-size: 34px; line-height: 1; transition: transform .2s; }
.tile:hover .cap i { transform: translateX(6px); }

/* Final */
.end { background: var(--hot); color: #000; }
.end .k { color: #000; }
.end h2 { font-size: clamp(60px, 12vw, 190px); margin-bottom: 30px; }

/* Pie */
.foot { background: #000; color: #bdbdbd; padding: 34px 28px 40px; font-size: 13px; display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-end; }
.foot-links a { display: inline-block; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 22px 10px 0; }
.foot-links a:hover { text-decoration: underline; }
.foot-meta { max-width: 520px; }
.foot-family { display: flex; gap: 8px; margin-bottom: 12px; }

/* Páginas interiores (privacidad, 404) */
.is-page main { padding-top: 62px; }
.page-hero { background: #000; color: #fff; min-height: calc(100vh - 62px); display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero h1 { font-size: clamp(64px, 12vw, 190px); margin-bottom: 22px; }
.page-hero p { font-size: 19px; font-weight: 600; margin-bottom: 26px; max-width: 520px; }

.container { max-width: 1120px; margin: 0 auto; }
.narrow { max-width: 820px; }
.legal { padding: 72px 28px 96px; }
.legal section { padding: 0; }
.legal p, .legal li { color: #222; }
.legal a { color: #000; text-underline-offset: 3px; }
.legal a:hover { color: var(--hot); }
.legal-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; --logo-box: #000; --logo-ink: #fff; }
.eyebrow { font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--hot); }
.legal h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .95; font-size: clamp(48px, 8vw, 96px); margin: 0 0 .75rem; }
.legal h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; font-size: 30px; line-height: 1; margin: 2.75rem 0 .75rem; padding-top: 1rem; border-top: 1px solid #e3e3e3; scroll-margin-top: 80px; }
.legal p { margin: 0 0 1rem; }
.legal ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.legal li { margin-bottom: .45rem; }
.muted { color: var(--mid) !important; }
.callout { background: var(--grey); border-left: 6px solid var(--hot); padding: 1.1rem 1.35rem; margin: 1.75rem 0; }
.toc { background: #000; color: #fff; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.toc a { color: #fff; text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--hot); }
.toc ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 2rem; }
.toc li { color: #9a9a9a; }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; display: block; overflow-x: auto; margin: 0 0 1rem; }
.data-table th, .data-table td { text-align: left; padding: .65rem; border-bottom: 1px solid #e3e3e3; vertical-align: top; }
.data-table th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
code { background: var(--grey); padding: .1em .35em; font-size: .9em; }
mark { background: var(--hot); color: #000; padding: 0 .25em; }
.link { font-weight: 700; color: #000; }
.center { text-align: center; }

@media (max-width: 820px) {
    .bar { padding: 0 16px; }
    .bar-nav a:not(.btn) { display: none; }
    .logo-header { width: 116px; }
    section { padding: 64px 16px; }
    .hero-in { padding: 0 16px 40px; }
    .hero { flex-direction: column; align-items: stretch; justify-content: space-between; padding-top: 82px; }
    .hero-marks { position: static; width: auto; margin: 0 16px; grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .hero-in { padding-top: 48px; }
    .hero-mark { font-size: 15vw; }
    .hero::after { display: none; }
    .what { grid-template-columns: 1fr; gap: 26px; }
    .tiles { grid-template-columns: 1fr; padding: 0; }
    .tile:nth-child(odd):last-child { aspect-ratio: 4/3; }
    .tile .cap { left: 16px; right: 16px; bottom: 20px; }
    .list .r { grid-template-columns: 1fr; gap: 6px; }
    .list .r span { text-align: left; max-width: none; }
    .legal { padding: 48px 16px 72px; }
    .toc ol { columns: 1; }
    .foot { padding: 30px 16px; }
}

/* Menú móvil (hamburguesa): en pantallas estrechas los enlaces van en un panel desplegable bajo la barra */
.bar-burger { display: none; }
@media (max-width: 820px) {
    .bar-burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-left: auto; padding: 0 10px; background: none; border: 0; cursor: pointer; }
    .bar-burger span { display: block; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
    .bar-burger.on span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .bar-burger.on span:nth-child(2) { opacity: 0; }
    .bar-burger.on span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .bar-nav { display: none; position: fixed; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #000; padding: 0 16px 20px; border-top: 1px solid #333; max-height: calc(100vh - 62px); overflow: auto; }
    .bar-nav.open { display: flex; }
    .bar-nav.open a:not(.btn) { display: block; padding: 16px 0; border-bottom: 1px solid #333; font-size: 15px; }
    .bar-nav.open .btn { margin-top: 18px; text-align: center; padding: 14px 20px; font-size: 13px; }
}