/* Show do Real landing pages: the battle-show identity
   (docs/design/visual-identity-2026-11.md): night-blue stage, gold, thick
   ink outlines and the host Realdo. Plain CSS, no web fonts; the only
   images are the app's wordmark and the host. */
:root {
  color-scheme: dark;
  --stage: #142056;
  --floor: #0b1033;
  --sheet: #1e2660;
  --gold: #ffc83d;
  --gold-hi: #f8c858;
  --gold-lo: #c87818;
  --red: #b3122e;
  --ink: #0a0a0a;
  --cream: #fff7e8;
  --text: #ffffff;
  --text-2: #c9d1ff;
  --on-gold: #1b1530;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 200, 61, .18), transparent 70%),
    linear-gradient(180deg, var(--floor) 0%, var(--stage) 45%, var(--floor) 100%);
  background-attachment: fixed;
}

main { max-width: 440px; margin: 0 auto; padding: 24px 16px 32px; }

/* The app's two-line wordmark (assets/brand/wordmark_stacked.webp), as on
   the live landing: at most 280 px wide. */
.wordmark {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto 18px;
}

/* The standalone landing's h1 holds the wordmark image. */
.brand { margin: 0; }

/* The stage window: rays, the host on his spotlight, his speech bubble. */
.stage {
  position: relative;
  height: 230px;
  margin: 0 0 20px;
  overflow: hidden;
  border: 4px solid var(--gold);
  border-radius: 20px;
  box-shadow: 0 4px 0 var(--gold-lo);
  background:
    radial-gradient(ellipse 60% 22% at 34% 100%, #5a7eae 0 60%, transparent 62%),
    repeating-conic-gradient(from -30deg at 50% -10%, rgba(255, 227, 163, .10) 0 6deg, transparent 6deg 18deg),
    linear-gradient(180deg, var(--floor), var(--stage) 60%, var(--red) 140%);
}
.stage::before,
.stage::after {
  /* Red curtain swags with the ink contour. */
  content: "";
  position: absolute;
  top: -4px;
  width: 22%;
  height: 80%;
  background: var(--red);
  border: 3px solid var(--ink);
}
.stage::before { left: -4px; border-radius: 0 0 100% 0; }
.stage::after { right: -4px; border-radius: 0 0 0 100%; }

.host {
  position: absolute;
  left: 4%;
  bottom: -6px;
  width: 52%;
  max-width: 210px;
  height: auto;
  z-index: 1;
}

.bubble {
  position: absolute;
  right: 6%;
  top: 22px;
  z-index: 2;
  max-width: 48%;
  margin: 0;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--on-gold);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 3px 0 var(--ink);
}
/* The tail toward the host, a cartoon pointer like the app's bubbles: an ink
   triangle with a cream one on top, inset 3px (the bubble's border width) and
   reaching 1px into the bubble, so it covers the border and the shadow under
   the tail and leaves no seam. Both start at the bubble's inner bottom edge. */
.bubble::before,
.bubble::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 24px;
}
.bubble::before {
  top: 100%;
  height: 22px;
  background: var(--ink);
  clip-path: polygon(0 0, 24px 0, 2px 22px);
}
.bubble::after {
  top: calc(100% - 1px);
  height: 17px;
  background: var(--cream);
  clip-path: polygon(2.9px 0, 20.8px 0, 4.4px 16.4px);
}

h1 { font-size: 26px; font-weight: 900; line-height: 1.2; margin: 0 0 10px; }
p { font-size: 17px; line-height: 1.4; margin: 0 0 12px; }
.lead { color: var(--text-2); }
.code {
  display: inline-block;
  padding: 6px 14px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--sheet);
  border: 2px solid var(--gold);
  border-radius: 999px;
}

/* The "Baixe o app" panel. */
.download {
  margin: 22px 0;
  padding: 16px;
  background: var(--sheet);
  border: 3px solid var(--gold);
  border-radius: 18px;
}
.download h2 { font-size: 20px; font-weight: 900; margin: 0 0 12px; color: var(--gold); }

.stores { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.store {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 13px 16px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  background: var(--stage);
  border: 3px solid var(--gold);
  border-radius: 999px;
}
.store.primary {
  color: var(--on-gold);
  background: linear-gradient(180deg, var(--gold-hi) 0 18%, var(--gold) 18% 82%, var(--gold-lo) 82%);
  border-color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.store:focus-visible { outline: 3px solid #7fe7ff; outline-offset: 3px; }

/* "em breve" chip while the store links are placeholders (README step 5). */
.soon {
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--on-gold);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.open { margin: 18px 0; }
.note { font-size: 14px; color: var(--text-2); margin-top: 18px; }

nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 15px; margin-top: 8px; }
/* WCAG 2.2 AA: the browser's default link blue is 1.6:1 on the stage, so
   every plain link is gold (9.9:1); test/tool/site_contrast_test.dart. */
a { color: var(--gold); }
nav a { color: var(--gold); }

[hidden] { display: none !important; }

@media (max-width: 360px) {
  .stage { height: 200px; }
  .bubble { font-size: 15px; }
  h1 { font-size: 23px; }
}
