/* MIYLAI Coming Soon Page Styles */
:root {
  --background: #000000;
  --foreground: #FFFFFF;
  --muted: #CFCFCF;
  --accent: #FFFFFF;
  --form-background: #0A0A0A;
  --form-border: #FFFFFF;
  --form-text: #FFFFFF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden; /* Prevent scrolling on both axes */
}

body {
  font-family: 'Alexandria', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1280px;
  padding: 40px 20px;
}

.header {
  margin-bottom: 60px;
}

/* Brand heading styling */
.brand {
  font-weight: 700;
  /* Slightly smaller brand size to improve hierarchy */
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

/* Subtitle beneath the brand */
.tagline {
  margin-top: 8px;
  font-size: 1rem;
  /* Force the tagline to render in pure white */
  color: #FFFFFF !important;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Main headline styling */
.title {
  display: flex;
  flex-wrap: nowrap; /* Keep the headline on a single line until screen is too narrow */
  justify-content: center;
  align-items: center;
  font-weight: 700;
  line-height: 0.9;
  font-family: 'Outfit', 'Alexandria', sans-serif;
  font-size: clamp(40px, 9vw, 140px);
  letter-spacing: 0.10em; /* Adjust spacing to fit on common screen widths */
  margin: 0;
  white-space: nowrap;
}

.word {
  display: flex;
  align-items: center;
}

.word-coming {
  margin-right: 0.4em;
}

.letter {
  display: inline-block;
}

/* Outer circle around the MIYL badge */
/*
 * Badge styling: circular frame for the MIYL logo. The border and
 * sizing have been tuned to achieve a harmonious proportion with
 * the inner square. A slight vertical offset aligns the badge on
 * the baseline.
 */

.badge-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
/* Inner square that contains the MIYL text */
/*
 * Inner square styling. Scaled to 65% of the outer diameter for a
 * balanced look, with a border weight matching the circle. Flexbox
 * ensures the MIYL text remains centred.
 */


/* Text inside the badge */


.intro {
  max-width: 600px;
  font-size: 1rem;
  line-height: 0.9.5;
  /* Set intro text to white as requested */
  color: #FFFFFF;
  font-family: 'Outfit', 'Alexandria', sans-serif;
}

.subscribe-form {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.subscribe-form input[type="email"] {
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 20px;
  min-width: 300px;
  background-color: var(--form-background);
  color: var(--form-text);
  border: 2px solid var(--form-border);
  border-radius: 32px;
  outline: none;
}

.subscribe-form input::placeholder {
  color: var(--muted);
}

.subscribe-form button {
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 28px;
  background-color: var(--foreground);
  color: #000000;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.subscribe-form button:hover {
  background-color: #e5e5e5;
}

/* Footer styling */
.footer {
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* Centraliza qualquer texto dentro do círculo do MIYL */


.badge .letter {
  display: inline-block;
  vertical-align: middle;
}


/* Ajuste fino do MIYL: grid 2x2 para garantir mesma posição das letras no círculo */


.badge-text .miyl {
  display: flex;
  align-items: center;
  justify-content: center;
  /* opcional: equalizar opticamente variações de largura (ex.: 'I') */
  min-width: 0.18em;
}


/* === MIYL badge: force identical layout to reference === */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: #000000; /* solid black circle */
  border: none;        /* no outer stroke */
  margin: 0 0.05em;
  vertical-align: -0.06em;
}

.badge-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.badge-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.74em;   /* inner square size (inset within circle) */
  height: 0.74em;
  border: 0.06em solid #FFFFFF; /* white square stroke */
  box-sizing: border-box;
}

.badge-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #FFFFFF;                /* white letters */
  font-family: 'Outfit', 'Alexandria', sans-serif;
  font-weight: 800;
  font-size: 0.245em;            /* tuned to match reference */
  line-height: 0.9;
}

.badge-text .miyl {
  display: flex;
  align-items: center;
  justify-content: center;
  /* equalize narrow glyphs */
  min-width: 0.22em;
}

/* Optional: keep the rest of page text white as requested */
.title, .tagline, .intro { color: #FFFFFF; }


/* Reduce vertical gap between MI and YL inside the badge */
.badge-text {
  row-gap: 0.05em !important;
}


/* Further reduce vertical gap between MI and YL in the MIYL badge */
.badge-text {
  row-gap: 0.02em !important;
  column-gap: 0.02em !important;
}


/* Ultra-tight MIYL spacing */
.badge-text {
  row-gap: 0 !important;
  column-gap: 0 !important;
  font-size: 0.238em !important; /* tiny down-tweak to prevent touching */
}


/* Toast */
#toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 16px;
  border-radius: 10px;
  font-family: 'Outfit','Alexandria',sans-serif;
  font-size: 14px;
  letter-spacing: 0.2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
