/* Uploid · Inspirada en Waitlist de Cruip. */
@property --shine-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
:root {
  color-scheme: dark;
  --ground: #101222;
  --ink: #f3f2ff;
  --muted: #c1c2d8;
  --subtle: #afb2cd;
  --accent: #b6abff;
  --frame: rgba(139, 128, 215, .16);
  --line: rgba(168, 161, 229, .18);
  --panel: #25273e;
  --panel-soft: #1c1f35;
  --button: #f3f1ff;
  --button-text: #202039;
  --focus: #d3caff;
  --gutter: clamp(22px, 5vw, 48px);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  background: var(--ground);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; -webkit-text-size-adjust: 100%; }
body { min-width: 0; margin: 0; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; }
::selection { background: #b9b4f9; color: #202239; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 10px 15px; border-radius: 8px; background: var(--button); color: var(--button-text); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.page { position: relative; isolation: isolate; overflow: hidden; }

.site-header { position: absolute; z-index: 2; top: 0; left: 0; width: 100%; padding: 26px var(--gutter) 24px; border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; gap: 20px; width: min(768px, 100%); min-height: 54px; margin: 0 auto; padding: 10px 14px; border: 1px solid #7165a8; border-radius: 10px; background: var(--panel); box-shadow: 0 5px 24px rgba(5, 6, 20, .22); }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; color: var(--ink); font-size: 22px; font-weight: 700; letter-spacing: -.035em; line-height: 1; text-decoration: none; }
.brand-mark { width: 24px; height: 24px; color: var(--accent); }
.brand-period { color: var(--accent); }
.navigation { display: flex; align-items: center; justify-content: center; gap: 4px; margin-left: auto; }
.navigation a { padding: 7px 11px; border-radius: 7px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.navigation a:hover { background: var(--frame); }
.hero-section { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 172px var(--gutter) 100px; }
.atmosphere { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.light { position: absolute; left: 50%; width: min(1280px, 175vw); height: clamp(60px, 11vw, 135px); border-radius: 50%; filter: blur(38px); transform: translateX(-50%) rotate(-38deg); }
.light-one { top: 5%; margin-left: -23%; background: linear-gradient(90deg, transparent, rgba(110, 91, 255, .66), rgba(138, 116, 255, .55), transparent); }
.light-two { top: 21%; margin-left: 27%; height: clamp(32px, 7vw, 84px); background: linear-gradient(90deg, transparent, rgba(118, 144, 255, .52), rgba(182, 158, 255, .45), transparent); }
.light-three { top: 68%; margin-left: 13%; background: linear-gradient(90deg, transparent, rgba(107, 73, 231, .42), rgba(130, 102, 247, .35), transparent); }
.light-four { top: 46%; margin-left: -38%; height: clamp(24px, 5vw, 58px); background: linear-gradient(90deg, transparent, rgba(72, 132, 227, .3), rgba(131, 105, 250, .3), transparent); }
.guide { position: absolute; inset-block: 0; left: 50%; border-inline: 1px solid var(--line); transform: translateX(-50%); }
.guide-outer { width: min(1102px, calc(100% - 2 * var(--gutter))); }
.guide-inner { width: min(942px, calc(100% - 2 * var(--gutter) - 32px)); opacity: .7; }
.hero { width: min(880px, 100%); text-align: center; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; letter-spacing: -.035em; text-wrap: balance; }
h1 { max-width: 850px; margin: 0 auto; font-size: clamp(40px, 6.1vw, 72px); font-weight: 700; line-height: 1.07; }
.lead { max-width: 625px; margin: 24px auto 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; text-wrap: pretty; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 26px 0 0; padding: 5px 11px; border-radius: 6px; background: var(--panel); box-shadow: 0 3px 10px rgba(5, 6, 20, .1); color: var(--muted); font-size: 13px; font-weight: 600; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.join-row { display: flex; align-items: center; gap: clamp(18px, 4vw, 40px); margin: 48px auto 0; }
.join-row::before, .join-row::after { content: ""; height: 1px; flex: 1; background: linear-gradient(to right, transparent, var(--line), transparent); }
.join-frame { position: relative; z-index: 0; width: min(310px, 100%); flex-shrink: 0; }
.join-button { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 58px; padding: 14px 25px; border: 2px solid #aca0ed; border-radius: 10px; background: var(--button); color: var(--button-text); font-size: 16px; font-weight: 650; text-decoration: none; transition: transform 180ms ease; }
.join-button svg { width: 20px; height: 20px; transition: transform 180ms ease; }
.join-button:hover { transform: translateY(-2px); }
.join-button:hover svg { transform: translateX(3px); }
.join-note { margin: 29px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.join-note span { color: var(--subtle); }
.join-note a { color: var(--ink); text-decoration-color: var(--accent); }
.manifesto { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 58px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.manifesto i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.idea-section, .faq-section { position: relative; border-top: 1px solid var(--line); }
.idea-section { background: var(--panel-soft); }
.section-inner { width: min(1000px, calc(100% - 2 * var(--gutter))); margin: 0 auto; padding-block: clamp(76px, 10vw, 120px); }
.idea-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 60px; align-items: end; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; font-weight: 700; }
.idea-heading > p, .faq-intro p { max-width: 30em; color: var(--muted); font-size: 17px; }
.journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 64px; }
.journey-item { padding-top: 24px; border-top: 1px solid var(--line); }
.journey-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px; border-radius: 10px; background: var(--frame); color: var(--accent); }
.journey-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.journey h3 { font-size: 17px; line-height: 1.35; }
.journey p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.faq-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px 80px; }
.faq-intro p { margin-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 0; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { position: relative; flex: 0 0 18px; width: 18px; height: 18px; color: var(--accent); }
summary span::before, summary span::after { content: ""; position: absolute; top: 8px; left: 3px; width: 12px; height: 2px; border-radius: 1px; background: currentColor; }
summary span::after { transform: rotate(90deg); }
details[open] summary span::after { transform: none; }
details p { max-width: 52ch; padding: 0 26px 22px 0; color: var(--muted); font-size: 15px; }
details a { color: var(--ink); }
.site-footer { border-top: 1px solid var(--line); padding: 28px var(--gutter); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; width: min(1000px, 100%); margin: auto; color: var(--muted); font-size: 13px; }
.footer-inner p span { padding: 0 3px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .light-one { animation: drift 13s ease-in-out infinite alternate; }
  .light-two { animation: drift 16s ease-in-out -6s infinite alternate-reverse; }
  .light-three { animation: drift 18s ease-in-out -4s infinite alternate; }
  .light-four { animation: drift 14s ease-in-out -8s infinite alternate-reverse; }
  @keyframes drift { from { translate: -5% -35px; } to { translate: 6% 75px; } }
}
/* A narrow highlight travels around each border; the solid fill keeps text legible. */
@supports (background: conic-gradient(from 0deg, red, blue)) {
  .header-inner, .join-button { border-color: transparent; background: linear-gradient(var(--shine-fill), var(--shine-fill)) padding-box, conic-gradient(from var(--shine-angle), #7165a8 0deg, #7165a8 285deg, #aaa0ec 320deg, #fff 337deg, #aaa0ec 350deg, #7165a8 360deg) border-box; }
  .header-inner { --shine-fill: var(--panel); }
  .join-button { --shine-fill: var(--button); }
  @media (prefers-reduced-motion: no-preference) {
    .header-inner { animation: border-shine 8s linear infinite; }
    .join-button { animation: border-shine 5s linear -2s infinite; }
    @keyframes border-shine { to { --shine-angle: 360deg; } }
  }
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  @media (prefers-reduced-motion: no-preference) {
    h1 { background: linear-gradient(105deg, #d6d1ed 0%, #eceaff 38%, #fff 50%, #eceaff 62%, #d6d1ed 100%); background-size: 250% 100%; background-position: 100% 50%; background-clip: text; -webkit-background-clip: text; color: transparent; animation: text-shine 7s ease-in-out infinite alternate; }
    @keyframes text-shine { to { background-position: 0% 50%; } }
  }
}
@media (forced-colors: active) { h1 { background: none; color: CanvasText; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .join-button, .join-button svg { transition: none; } }
@media (max-width: 700px) {
  .idea-heading, .faq-inner { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; gap: 22px; margin-top: 44px; }
  .journey-item { display: flex; align-items: flex-start; gap: 18px; }
  .journey-icon { flex: 0 0 42px; margin: 0; }
}
@media (max-width: 520px) {
  .site-header { padding: 20px var(--gutter) 20px; }
  .header-inner { gap: 5px; min-height: 52px; padding: 8px 10px; }
  .brand { font-size: 19px; gap: 6px; }
  .brand-mark { width: 20px; height: 20px; }
  .navigation { gap: 0; }
  .navigation a { padding: 8px 6px; font-size: 12px; }
  .navigation a:last-child { display: none; }
  .hero-section { padding: 170px var(--gutter) 85px; }
  h1 { font-size: clamp(37px, 10.5vw, 52px); }
  .lead { margin-top: 20px; }
  .join-row { gap: 12px; margin-top: 40px; }
  .join-frame { width: min(260px, calc(100% - 60px)); }
  .manifesto { margin-top: 50px; }
  .footer-inner { justify-content: center; text-align: center; }
}
