/* "Sign up" and "Log in" buttons, added at launch (2026-11-22): they open the web app, where accounts are made.
   The page itself is a built file (index-*.js / index-*.css), so these buttons use their own class names and their own
   small stylesheet. Colours are the site's own: ink #14181f, blue #2146f8, mist #eef2ff, hair #e3e7f3. */

.istaz-nav-link,
.istaz-nav-btn,
.istaz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

/* top bar */
.istaz-nav-link {
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  color: #14181f;
}
.istaz-nav-link:hover { background-color: #eef2ff; }
.istaz-nav-link.is-dark { color: #fff; }
.istaz-nav-link.is-dark:hover { background-color: rgba(255, 255, 255, 0.12); }

.istaz-nav-btn {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  background-color: #14181f;
  color: #fff;
}
.istaz-nav-btn:hover { background-color: #2146f8; }
.istaz-nav-btn.is-dark { background-color: #fff; color: #14181f; }
.istaz-nav-btn.is-dark:hover { background-color: #eef2ff; }

/* small phones: only "Log in" fits in the bar; both buttons are just below, under the opening lines */
@media (max-width: 479px) {
  .istaz-nav-btn { display: none; }
  .istaz-nav-link { padding: 0 10px; }
}

/* under the opening lines of the page */
.istaz-launch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.istaz-btn {
  height: 52px;
  padding: 0 30px;
  font-size: 16px;
}
.istaz-btn-primary { background-color: #2146f8; color: #fff; }
.istaz-btn-primary:hover { background-color: #14181f; }
.istaz-btn-ghost { background-color: #fff; color: #14181f; border: 1px solid #e3e7f3; }
.istaz-btn-ghost:hover { border-color: #14181f; }

@media (max-width: 479px) {
  .istaz-launch-row .istaz-btn { flex: 1 1 0; padding: 0 16px; }
}

/* last section of the page (dark): the two buttons, centred */
.istaz-launch-row.is-center { justify-content: center; margin-top: 40px; }
.istaz-btn-primary.is-dark { background-color: #fff; color: #14181f; }
.istaz-btn-primary.is-dark:hover { background-color: #eef2ff; }
.istaz-btn-ghost.is-dark { background-color: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.istaz-btn-ghost.is-dark:hover { border-color: #fff; }

/* store badges: the App Store one opens the app. Each has its own line above it, centred, and both have the same width */
.istaz-stores { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.istaz-stores a { text-decoration: none; }
.istaz-store-soon { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.istaz-store-soon > :last-child { width: 164px; justify-content: center; }

/* phones: the two badges stay side by side, also in the dark section */
@media (max-width: 479px) {
  .istaz-stores { gap: 8px; }
  .istaz-store-soon > :last-child { width: clamp(144px, 39vw, 164px); padding-inline: 6px; gap: 8px; }
}
