/* getpillao.com: the legal pages and the landing. Palette D from docs/BRAND.md. */
:root {
  --violet: #6C3CF5;
  --violet-deep: #4A1FD1;
  --yellow: #FFC530;
  --ink: #1E1433;
  --ink-soft: #5B4E75;
  --bg: #F6F2FF;
  --surface: #FFFFFF;
  --line: #E4DBFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --violet: #B79CFF;
    --violet-deep: #D3C4FF;
    --ink: #F3EEFF;
    --ink-soft: #B9ADD3;
    --bg: #140D24;
    --surface: #1E1433;
    --line: #34275A;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }

header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 720px; margin: 0 auto; padding: 20px 16px 0;
}
.brand {
  font: 800 24px/1 "Bricolage Grotesque", system-ui, sans-serif;
  color: var(--violet); text-decoration: none;
}
.langs { display: flex; gap: 4px; }
.langs button {
  font: 600 14px/1 inherit; font-family: inherit;
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-soft); cursor: pointer;
}
.langs button[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: var(--surface); }

h1, h2 { font-family: "Bricolage Grotesque", system-ui, sans-serif; line-height: 1.2; }
h1 { font-size: 36px; font-weight: 800; margin: 16px 0 4px; }
h2 { font-size: 22px; font-weight: 700; margin: 40px 0 8px; }
.updated { color: var(--ink-soft); margin: 0 0 24px; }
a { color: var(--violet-deep); }
@media (prefers-color-scheme: dark) { a { color: var(--violet); } }
ul { padding-left: 22px; }
li { margin: 4px 0; }

.summary {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 4px 20px; margin: 24px 0;
}
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--ink-soft); font-weight: 600; }
.table-wrap { overflow-x: auto; }

footer.site { max-width: 720px; margin: 0 auto; padding: 0 16px 40px; color: var(--ink-soft); font-size: 15px; }
footer.site a { margin-right: 16px; }

/* Both languages are in each page; the script shows one. Without it, both stay visible. */
html[data-lang="es"] [lang="en"]:not(html),
html[data-lang="en"] [lang="es"]:not(html) { display: none; }

/* ---------------------------------------------------------------- Landing */
.landing { position: relative; overflow-x: hidden; }
.landing header.site, .landing footer.site { max-width: 1040px; }
main.wide { max-width: 1040px; }
.blobs {
  position: absolute; inset: 0 0 auto 0; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(420px 420px at 8% 12%, rgba(108, 60, 245, 0.22), transparent 70%),
    radial-gradient(380px 380px at 95% 30%, rgba(255, 197, 48, 0.28), transparent 70%);
}

.hero-card {
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 16px;
  padding: 48px; border-radius: 36px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #8B5CFF 0%, #6C3CF5 50%, #4A1FD1 100%);
  box-shadow: 0 24px 60px -24px rgba(74, 31, 209, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.wordmark {
  font: 800 clamp(56px, 10vw, 96px)/0.95 "Bricolage Grotesque", system-ui, sans-serif;
  color: var(--yellow, #FFC530); margin: 0 0 16px;
  -webkit-text-stroke: 3px #1E1433; paint-order: stroke fill;
  text-shadow: 0 6px 0 #1E1433;
  transform: rotate(-3deg); transform-origin: left center;
}
.tagline { font-size: clamp(19px, 2.4vw, 23px); line-height: 1.45; margin: 0 0 24px; max-width: 30ch; }
.tagline mark { background: none; color: #FFE27A; font-weight: 600; }
.soon {
  display: inline-block; margin: 0; padding: 12px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 600; backdrop-filter: blur(8px);
}
.hero-pillo { width: 100%; max-width: 340px; height: auto; justify-self: center; filter: drop-shadow(0 16px 24px rgba(30, 20, 51, 0.35)); }

.steps h2, .facts h2 { font-size: 32px; text-align: center; margin: 64px 0 24px; }
.steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  position: relative; margin: 0; padding: 24px; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line);
}
.step img { width: 112px; height: 112px; display: block; margin: 0 auto 8px; }
.step .num {
  position: absolute; top: 16px; left: 16px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font: 800 18px/1 "Bricolage Grotesque", sans-serif;
  background: #FFC530; color: #1E1433;
}
.step h3 { font: 700 20px/1.25 "Bricolage Grotesque", system-ui, sans-serif; margin: 8px 0; }
.step p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 48px 0 16px; }
.fact { padding: 20px 24px; border-radius: 24px; background: color-mix(in srgb, var(--violet) 10%, transparent); }
.fact strong { font: 700 18px/1.3 "Bricolage Grotesque", system-ui, sans-serif; color: var(--violet-deep); }
.fact p { margin: 6px 0 0; color: var(--ink-soft); font-size: 16px; }

@media (max-width: 760px) {
  .hero-card { grid-template-columns: 1fr; padding: 32px 24px 0; text-align: center; border-radius: 28px; }
  .wordmark { transform-origin: center; }
  .tagline { margin-left: auto; margin-right: auto; }
  .hero-pillo { max-width: 240px; margin-top: 8px; }
  .steps ol, .facts { grid-template-columns: 1fr; }
  .steps h2 { font-size: 28px; margin-top: 48px; }
}
