@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("/fonts/SpaceGrotesk-Bold.ttf") format("truetype"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-display: swap; src: url("/fonts/SpaceGrotesk-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap; src: url("/fonts/HankenGrotesk-Regular.ttf") format("truetype"); }

:root {
  color-scheme: dark;
  --bg: #0c1322;
  --surface: #141b2b;
  --surface-2: #191f2f;
  --fg: #ffffff;
  --muted: #94a3b8;
  --primary: #f59e0b;
  --on-primary: #000000;
  --outline: rgba(255, 255, 255, 0.1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.65 "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
h1, h2, .brand { font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
header.site, main, footer { width: 100%; max-width: 760px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
header.site { padding-top: 24px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
main { flex: 1; padding-top: 24px; padding-bottom: 40px; }
h1 { font-size: 2.125rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 6px; }
h2 { font-size: 1.1rem; font-weight: 600; margin: 2em 0 0.4em; }
h2:first-child { margin-top: 0; }
p, li { overflow-wrap: anywhere; }
p { margin: 0.6em 0; }
ul { padding-left: 1.25em; margin: 0.6em 0; }
li { margin: 0.35em 0; }
li::marker { color: var(--primary); }
a { color: var(--primary); text-underline-offset: 3px; }
.meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 24px 20px;
}
.button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--on-primary);
  font: 600 1rem "Space Grotesk", sans-serif;
  padding: 14px 22px; border-radius: 12px; text-decoration: none;
}
.button:focus-visible, a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.hero { text-align: center; padding: 48px 0 8px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; border: 1px solid var(--outline); }
.hero p { color: var(--muted); max-width: 30em; margin: 0.6em auto 1.6em; }
footer { padding-top: 20px; padding-bottom: 32px; color: var(--muted); font-size: 0.875rem; text-align: center; }
footer a { color: var(--muted); }
@media (min-width: 600px) { .card { padding: 32px 36px; } body { font-size: 17px; } }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.hero .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: none; margin: 0.6em 0 0; }

/* Landing */
.landing { display: block; }
.landing .wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.landing header.top { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 8px; max-width: 1040px; }
.landing .lead { text-align: center; padding: 56px 0 8px; }
.landing .lead img.logo { width: 88px; height: 88px; border-radius: 20px; border: 1px solid var(--outline); }
.landing .lead h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); margin: 20px 0 12px; }
.landing .lead p { color: var(--muted); max-width: 34em; margin: 0 auto 28px; font-size: 1.1rem; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button.alt { background: transparent; color: var(--fg); border: 1px solid var(--outline); }
.shots { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px 16px 24px; margin: 0 auto; max-width: 1040px; }
.shots figure { flex: 0 0 min(62vw, 240px); margin: 0; scroll-snap-align: center; text-align: center; }
.shots img { width: 100%; height: auto; display: block; border-radius: 22px; border: 1px solid var(--outline); background: var(--surface); }
.shots figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }
.features { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
.features .card h2 { margin: 0 0 6px; color: var(--primary); }
.features .card p { color: var(--muted); margin: 0; }
.landing .tag { text-align: center; color: var(--muted); font-size: 0.8rem; padding: 8px 16px 0; max-width: 40em; margin: 0 auto; }
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } .shots { justify-content: center; overflow: visible; flex-wrap: nowrap; } .shots figure { flex: 1 1 0; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.landing main { max-width: none; padding: 0; }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }

/* Language switcher */
header.site, header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--outline); border-radius: 999px; padding: 2px; }
.lang button { font: 600 0.8rem "Space Grotesk", sans-serif; letter-spacing: 0.04em; color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.lang button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
html[lang="es"] [data-lang="en"], html[lang="en"] [data-lang="es"] { display: none; }
footer a { white-space: nowrap; }
.landing .tag { margin-top: 32px; }
