/* Roaddy · website. Colores "Señal": naranja de seguridad sobre gris asfalto.
   Para cambiar de identidad, solo se cambian estas variables. */
:root {
  --ground: #141618;
  --ground-2: #191c1f;
  --card: #1d2024;
  --raised: #282c31;
  --border: #353a41;
  --text: #f6f4f0;
  --muted: #b3ada4;
  --faint: #8c877f;
  --accent: #ff6b1a;
  --accent-ink: #141618;
  --accent-soft: rgba(255, 107, 26, 0.14);
  --signal: #ffd23f;
  --danger: #ff5c5c;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  --r: 14px;
  --r-lg: 22px;
  --max: 1180px;
  --ease: cubic-bezier(0.7, 0, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

/* Idioma: cada texto viene en español e inglés; se muestra el que toca. */
html[data-lang='es'] [lang='en'], html[data-lang='en'] [lang='es'] { display: none !important; }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; }
.eyebrow { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 15px; color: var(--accent); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 12px; }

/* Barra de arriba */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(20, 22, 24, 0.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; gap: 22px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 28px; height: auto; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: 0.02em; }
.nav .links { display: flex; gap: 22px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav .links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav .links a:hover { color: var(--text); }
.lang { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang button { background: transparent; color: var(--muted); border: 0; font: 700 14px var(--body); padding: 8px 12px; cursor: pointer; min-height: 36px; }
.lang button[aria-pressed='true'] { background: var(--text); color: var(--ground); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--r); font: 800 19px var(--display); text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 160ms var(--ease), background 160ms var(--ease); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ff8340; color: var(--accent-ink); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 18px; border-radius: var(--r); border: 1px solid var(--border); background: var(--card); color: var(--text); text-decoration: none; }
.store small { display: block; font-size: 12px; color: var(--faint); line-height: 1.1; }
.store b { display: block; font-size: 18px; line-height: 1.15; }
.store:hover { border-color: var(--accent); color: var(--text); }
.soon { display: inline-block; font: 700 11px var(--body); letter-spacing: 0.08em; text-transform: uppercase; background: var(--signal); color: var(--ground); padding: 2px 7px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; }

/* Secciones */
section { padding: 96px 0; }
.section-head { max-width: 760px; display: grid; gap: 12px; margin-bottom: 44px; }
.section-head h2 { margin: 0; font-size: clamp(40px, 6vw, 68px); }
.section-head p { margin: 0; color: var(--muted); font-size: 20px; }
.stripe { height: 14px; background: repeating-linear-gradient(-45deg, var(--accent) 0 18px, var(--ground) 18px 36px); opacity: 0.9; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } section { padding: 72px 0; } }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 12px; align-content: start; }
.card h3 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; letter-spacing: 0.01em; line-height: 1; }
.card p { margin: 0; color: var(--muted); }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); }
.num { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 0.8; color: var(--accent); }

/* Revelar al hacer scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Páginas de texto (términos, privacidad, soporte) */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(44px, 7vw, 72px); margin: 8px 0 12px; }
.doc h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; margin: 40px 0 10px; letter-spacing: 0.01em; }
.doc p, .doc li { color: #ddd8d0; }
.doc .updated { color: var(--faint); font-size: 15px; }

/* Pie */
footer { border-top: 1px solid var(--border); padding: 48px 0 40px; color: var(--faint); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* En el celular la barra queda limpia: marca e idioma (los links están en el pie). */
@media (max-width: 720px) {
  .nav .links a { display: none; }
  .nav .wrap { flex-wrap: nowrap; }
}
