/*
 * Equipa landing. Look from the app's DESIGN.md: electric lime #C8FF3D on ink #060807,
 * accent ink #081400 for type on lime, Syne for display, Outfit for body.
 * Layout and surfaces follow the "Equipa landing" design canvas (4 Nov 2026):
 * glass cards with hairline lime borders, ring motif, soft lime glow.
 * Mobile first; wider layouts start at 48rem (768px).
 * The CSP in vercel.json blocks inline style="" and <style>: all styles live in this file.
 */

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url("/fonts/syne-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url("/fonts/syne-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/outfit-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/outfit-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  /* Same tokens as the app (src/app/globals.css). */
  --lime: #c8ff3d;
  --ink: #060807;
  --accent-ink: #081400;
  --bg-elevated: #0c100d;
  --bg-card: #121914;
  --text: #f3f7ee;
  --muted: #b7c2b0;
  --line: rgba(200, 255, 61, 0.14);
  --line-strong: rgba(200, 255, 61, 0.32);
  --font-display: "Syne", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 26px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  background-color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: rgba(200, 255, 61, 0.42); color: var(--text); }

svg { display: block; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); }
p, ul, ol { margin: 0; }

a { color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #e3ff9e; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 12px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

.skip-link { position: absolute; left: 20px; top: -120px; z-index: 20; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--lime); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.skip-link:hover { color: var(--accent-ink); }
.skip-link:focus { top: 14px; }

/* Header */

.top { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 76px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text); font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.brand:hover { color: var(--text); }
.brand svg { width: 36px; height: 36px; flex: none; }
.lang { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(12, 16, 13, 0.7); color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; }
.lang:hover { border-color: var(--lime); color: var(--text); }
.lang svg { width: 16px; height: 16px; }

/* Buttons */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; background: var(--lime); color: var(--accent-ink); font-size: 17px; font-weight: 600; text-decoration: none; box-shadow: 0 0 0 1px rgba(200, 255, 61, 0.5), 0 14px 40px -14px rgba(200, 255, 61, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn:hover { background: #d8ff70; color: var(--accent-ink); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 20px; height: 20px; }
.btn-ghost { background: rgba(12, 16, 13, 0.7); color: var(--text); border: 1px solid var(--line-strong); box-shadow: none; }
.btn-ghost:hover { background: rgba(200, 255, 61, 0.08); color: var(--lime); }

/* Hero */

.hero { position: relative; overflow-x: clip; padding: 24px 0 72px; }
.glow { position: absolute; top: -260px; right: -360px; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 255, 61, 0.14), rgba(200, 255, 61, 0)); pointer-events: none; }
.rings { position: absolute; bottom: -120px; right: -200px; width: 560px; height: 560px; pointer-events: none; }
.rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.rings span + span { inset: 90px; border-color: rgba(200, 255, 61, 0.22); animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(1); opacity: 0.55; } to { transform: scale(1.05); opacity: 1; } }
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(200, 255, 61, 0.55); } to { box-shadow: 0 0 0 7px rgba(200, 255, 61, 0); } }
.hero-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; }
.hero-copy { flex: 1 1 560px; min-width: 0; }
.hero-art { display: none; }
.hero-mark { width: 100%; height: auto; filter: drop-shadow(0 30px 80px rgba(200, 255, 61, 0.28)); }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--lime); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.hero .kicker { margin: 24px 0 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 2.4s ease-out infinite; }
.hero h1 { margin: 0 0 20px; font-weight: 800; font-size: 42px; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.lead { margin: 0 0 32px; max-width: 34rem; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.note { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; max-width: 32rem; color: var(--muted); font-size: 15px; }
.note svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--lime); }

/* Sections */

.section { padding: 72px 0; }
.section--tight { padding-top: 0; }
.section h2 { margin: 0 0 32px; font-weight: 700; font-size: 32px; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.glass { position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(18, 25, 20, 0.92), rgba(12, 16, 13, 0.92)); box-shadow: inset 0 1px 0 rgba(243, 247, 238, 0.07), 0 30px 80px -40px rgba(200, 255, 61, 0.22); }
.card { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.card-top { display: flex; align-items: center; gap: 14px; }
.chip { display: flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--ink); color: var(--lime); }
.chip svg { width: 24px; height: 24px; }
.card .kicker { font-size: 12px; letter-spacing: 0.14em; }
.card h3 { margin: 6px 0 0; font-weight: 700; font-size: 24px; line-height: 1.2; }
.card p { color: var(--muted); font-size: 16px; }

.data { display: flex; flex-wrap: wrap; gap: 24px 64px; padding: 32px 22px; overflow: hidden; }
.data-head { flex: 1 1 300px; min-width: 0; }
.data-head h2 { margin-bottom: 16px; }
.facts { flex: 1 1 520px; min-width: 0; padding: 0; list-style: none; }
.facts li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts li:first-child { padding-top: 0; }
.facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.tick { display: flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--lime); }
.tick svg { width: 16px; height: 16px; }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.more svg { width: 18px; height: 18px; }

.step { padding: 28px; }
.num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; color: var(--lime); }
.step p { margin-top: 18px; font-size: 17px; }

.cta-band { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 56px 22px; overflow: hidden; text-align: center; }
.cta-band .glow { top: auto; bottom: -620px; left: 50%; right: auto; margin-left: -450px; }
.cta-band h2 { position: relative; margin: 0 0 20px; }
.cta-band .btn { position: relative; }

/* Footer */

.foot { margin-top: 24px; padding: 40px 0 48px; border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot-row + .foot-row { margin-top: 20px; }
.foot .brand { font-size: 19px; }
.foot .brand svg { width: 30px; height: 30px; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding: 0; list-style: none; }
.foot-links a, .contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }
.foot-links a:hover, .contact a:hover { color: var(--lime); }
.contact { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; color: var(--muted); font-size: 15px; }
.copy { color: var(--muted); font-size: 14px; }

/* Error page */

.lost { position: relative; overflow-x: clip; padding: 48px 0 88px; }
.lost .glow { top: -200px; left: 50%; right: auto; margin-left: -450px; opacity: 0.85; }
.lost-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lost .kicker { margin-bottom: 16px; }
.lost h1 { margin-bottom: 16px; font-weight: 800; font-size: 36px; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.lost .lead { max-width: 30rem; margin-bottom: 16px; }
.lost .actions { justify-content: center; margin-top: 16px; }
.mark { position: relative; display: flex; align-items: center; justify-content: center; width: 220px; height: 220px; margin-bottom: 32px; }
.mark span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(200, 255, 61, 0.22); }
.mark span + span { inset: 36px; border: 3px solid var(--lime); opacity: 0.9; animation: breathe 9s ease-in-out infinite alternate; }
.mark strong { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -0.02em; color: var(--text); }
.lead a { font-weight: 600; }

/* Wider screens */

@media (min-width: 48rem) {
  .wrap { padding-left: 40px; padding-right: 40px; }
  .top { min-height: 88px; }
  .hero { padding: 40px 0 120px; }
  .rings { top: -20px; bottom: auto; right: -40px; width: 760px; height: 760px; }
  .rings span + span { inset: 120px; }
  .hero-art { display: flex; flex: 1 1 300px; justify-content: center; }
  .hero-mark { width: min(100%, 300px); }
  .hero h1 { font-size: 64px; }
  .lead { font-size: 20px; }
  .section { padding: 112px 0; }
  .section--tight { padding-top: 0; }
  .section h2 { font-size: 48px; margin-bottom: 48px; }
  .card, .step { padding: 32px; }
  .data { padding: 56px; }
  .cta-band { padding: 88px 40px; }
  .lost { padding: 72px 0 128px; }
  .lost h1 { font-size: 56px; }
}

@media (min-width: 75rem) {
  .hero h1 { font-size: 80px; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn, .lang, a { transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rings span, .mark span, .dot { animation: none !important; }
  .btn:active { transform: none; }
}
