/* MASTER TEMPLATE V2 — inherited V1 design; future tests change configuration only. */
:root {
  color-scheme: dark;
  --background: #050806;
  --surface: #0B110D;
  --primary: #19E36A;
  --secondary: #0FB956;
  --dark-green: #083C21;
  --text: #FFFFFF;
  --muted: #AAB6AE;
  --border: rgba(25,227,106,0.22);
  font-family: Tahoma, "Leelawadee UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 15px;
  background: radial-gradient(ellipse at 50% 42%, rgba(15,185,86,.10), transparent 55%), var(--background);
}
.page { width: min(100%, 370px); text-align: center; }
.header { padding: 0 10px 16px; }
.wordmark, .footer-brand {
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  overflow-wrap: anywhere;
  margin: 0;
}
.wordmark {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  font-style: italic;
  color: var(--primary);
}
.typing { position: relative; margin: 0 0 18px; font-weight: 400; font-size: 14px; line-height: 1.6; color: var(--muted); }
.typing-text { display: block; overflow-wrap: anywhere; }
.typing-cursor { display: none; position: absolute; color: var(--primary); pointer-events: none; line-height: 1; }
.typing[data-enhanced] .typing-cursor { display: block; animation: cursor-blink 1s step-end infinite; }
@keyframes cursor-blink { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } }
.master-promo { margin: 0; width: 100%; max-width: 100%; }
.master-promo img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--border); border-radius: 16px; }
@media (prefers-reduced-motion: reduce) {
  .typing-text { clip-path: none !important; }
  .typing[data-enhanced] .typing-cursor { display: none; animation: none; }
}
.actions { display: grid; gap: 10px; margin-top: 12px; }
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.button-primary { background: var(--primary); border-color: var(--primary); color: var(--background); }
.button-secondary { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.button-primary:hover { background: var(--secondary); border-color: var(--secondary); }
.button-secondary:hover { background: var(--dark-green); }
.button:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
.footer { margin-top: 20px; color: var(--muted); }
.footer-brand { color: var(--text); font-size: 14px; line-height: 1.5; letter-spacing: .5px; }
.copyright { margin: 5px 0 0; font-size: 12px; line-height: 1.7; }
@media (max-width: 374px) {
    .wordmark { font-size: 30px; }
}
@media (max-height: 700px) {
  body { padding-block: 20px; }
  .header { padding-bottom: 16px; }
}
