/* Lykoh Studio · one stylesheet for the whole site. Colours follow the app (src/theme). */
@font-face {
  font-family: "Black Ops One";
  src: url("../fonts/BlackOpsOne-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #12110f;
  --bg-deep: #0a0908;
  --surface: #1b1814;
  --surface-2: #211e19;
  --text: #f2eadd;
  --muted: #bdb09c;
  --faint: #8f8474;
  --accent: #d3b583;
  --accent-strong: #e2c697;
  --red: #e0352b;
  --red-soft: #c85a4e;
  --border: #3d342a;
  --border-strong: #514537;
  --radius: 14px;
  --gutter: 16px;
  --max: 1120px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --stencil: "Black Ops One", Impact, "Arial Black", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Languages: the page holds both; only the chosen one shows. Without JavaScript, Spanish. */
html[data-lang="es"] [lang="en"]:not(html),
html[data-lang="en"] [lang="es"]:not(html) { display: none !important; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: #1a140d; padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ── Header ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 17, 15, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand .mark { font-family: var(--stencil); font-weight: 400; letter-spacing: 0.08em; font-size: 19px; }
.brand .mark small { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.28em; color: var(--muted); margin-left: 6px; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }
.lang-switch { margin-left: auto; display: flex; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden; }
.nav + .lang-switch { margin-left: 8px; }
.lang-switch button {
  background: none; border: 0; color: var(--muted); font: 600 12px/1 var(--sans); letter-spacing: 0.12em;
  padding: 8px 11px; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: #1a140d; }
@media (min-width: 860px) { .nav { display: flex; } }

/* ── Type ─────────────────────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.12; margin: 0 0 16px; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 7vw, 68px); }
h2 { font-size: clamp(30px, 4.6vw, 46px); }
h3 { font-size: 21px; }
em, .em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
p { margin: 0 0 16px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; }
.kicker { font: 700 12px/1.2 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: var(--red-soft); margin-bottom: 14px; display: block; }
.stencil { font-family: var(--stencil); font-weight: 400; letter-spacing: 0.04em; }
.muted { color: var(--muted); }

/* ── Sections ─────────────────────────────────────────────────────── */
section { padding: 72px 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: 0; }
@media (min-width: 720px) { section { padding: 104px 0; } }
.section-head { max-width: 720px; margin-bottom: 40px; }

/* Hero */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; border-top: 0; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,17,15,0.35) 0%, rgba(18,17,15,0.88) 70%, var(--bg) 100%); }
.hero h1 { max-width: 820px; }
.hero .title-mark { font-family: var(--stencil); font-weight: 400; font-size: clamp(22px, 3.4vw, 30px); letter-spacing: 0.06em; color: var(--text); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.hero .title-mark img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.hero .title-mark .red { color: var(--red); text-shadow: 0 0 18px rgba(224,53,43,0.45); }
@media (min-width: 720px) { .hero { padding: 120px 0 112px; } }

/* Store badges (disabled until the apps are out) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; min-height: 52px;
  border: 1px solid var(--border-strong); border-radius: 12px; background: rgba(10,9,8,0.7); color: var(--text);
  text-decoration: none; font-weight: 600;
}
.store small { display: block; font: 500 11px/1.2 var(--sans); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.store svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.store[aria-disabled="true"] { opacity: 0.72; cursor: default; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: 12px; background: var(--accent); color: #1a140d; font-weight: 700; text-decoration: none; border: 0;
}
.btn:hover { background: var(--accent-strong); color: #1a140d; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn.ghost:hover { border-color: var(--accent); color: var(--text); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 48px; }
.stat { background: var(--surface); padding: 20px 18px; }
.stat b { display: block; font-family: var(--stencil); font-weight: 400; font-size: 30px; color: var(--accent); letter-spacing: 0.02em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stat { padding: 26px 24px; } }

/* Numbered blocks */
.steps { display: grid; gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.step .num { font: 700 13px/1 var(--sans); letter-spacing: 0.2em; color: var(--red-soft); display: block; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Cases */
.cases { display: grid; gap: 18px; }
.case { position: relative; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.case img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.case .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.case .num { font: 700 11px/1 var(--sans); letter-spacing: 0.22em; color: var(--accent); }
.case h3 { margin: 0; font-size: 20px; }
.case p { color: var(--muted); font-size: 15px; margin: 0; }
.case .meta { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--text); font-weight: 600; }
.case.soon { border-style: dashed; background: transparent; justify-content: center; min-height: 220px; }
.case.soon .body { justify-content: center; text-align: center; align-items: center; }
.case.soon .num { color: var(--red-soft); }
@media (min-width: 640px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Screens: a strip that scrolls sideways inside its own box */
.screens { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 18px; scrollbar-color: var(--border-strong) transparent; }
.screens figure { flex: 0 0 min(86%, 620px); margin: 0; scroll-snap-align: start; }
.screens img { border-radius: 12px; border: 1px solid var(--border-strong); box-shadow: 0 14px 40px rgba(0,0,0,0.45); aspect-ratio: 1266 / 585; width: 100%; object-fit: cover; }
.screens figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* Lists with a mark */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg); background: var(--accent); }
.checks li b { color: var(--text); }
.two-col { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; }
.panel h3 { margin-bottom: 10px; }
.tag { display: inline-block; font: 700 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: #1a140d; background: var(--accent); border-radius: 999px; padding: 6px 10px; margin-bottom: 14px; }

.cta { text-align: center; }
.cta .lead { margin-left: auto; margin-right: auto; }
.cta .stores { justify-content: center; }

/* Studio home: app cards */
.apps { display: grid; gap: 20px; }
.app-card { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.app-card .shot img { width: 100%; aspect-ratio: 1266 / 585; object-fit: cover; }
.app-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.app-card .head { display: flex; align-items: center; gap: 14px; }
.app-card .head img { width: 56px; height: 56px; border-radius: 13px; }
.app-card .head h3 { margin: 0; }
.app-card .head span { color: var(--muted); font-size: 14px; }
.app-card .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.app-card.soon { border-style: dashed; background: transparent; }
@media (min-width: 900px) { .app-card { grid-template-columns: 1.25fr 1fr; } .app-card.soon { grid-template-columns: 1fr; } }

/* ── Legal and support pages ──────────────────────────────────────── */
.doc { padding: 56px 0 88px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); }
.doc h2 { font-size: 23px; margin-top: 44px; margin-bottom: 12px; }
.doc h3 { font-size: 18px; margin-top: 26px; margin-bottom: 8px; }
.doc p, .doc li { color: #ddd3c3; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc .updated { color: var(--faint); font-size: 14px; margin-bottom: 28px; }
.doc .summary { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 10px; padding: 18px 20px; margin: 24px 0 8px; }
.doc .summary p:last-child, .doc .summary ul:last-child { margin-bottom: 0; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }

.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-deep); padding: 44px 0 36px; font-size: 14px; color: var(--muted); }
.site-footer .cols { display: grid; gap: 28px; }
.site-footer h4 { margin: 0 0 12px; font: 700 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--text); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--faint); font-size: 13px; }
@media (min-width: 720px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The app hero: the bomb on the right, dark on the left where the text goes. */
.hero-bg.bomb img { opacity: 0.7; object-position: 75% 50%; }
.hero-bg.bomb::after { background: linear-gradient(90deg, rgba(18,17,15,0.92) 0%, rgba(18,17,15,0.7) 45%, rgba(18,17,15,0.25) 100%), linear-gradient(180deg, transparent 60%, var(--bg) 100%); }
@media (max-width: 719px) { .hero-bg.bomb img { opacity: 0.4; } }

/* The app card's picture fills the whole height next to the text. */
.app-card .shot { display: block; }
@media (min-width: 900px) { .app-card .shot img { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 0% 50%; } }

/* On phones the menu becomes a second row that scrolls sideways if it has to. */
@media (max-width: 859px) {
  .site-header .wrap { flex-wrap: wrap; }
  .nav { display: flex; order: 3; width: 100%; margin: 0 0 10px; gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 14px; white-space: nowrap; padding: 4px 0; }
  .nav + .lang-switch { margin-left: auto; }
}
