/* The sign-in page, and the link's confirm page. Melia demo's look (jetson-melia melia-demo: gfx.h's palette and
   AudioMX's splash background): navy gradient, translucent cards, Speechmatics green. */
:root {
  --navy: #0d3c48;
  --navy-deep: #072830;
  --green: #3dd68c;
  --green-dark: #062a22; /* text on green */
  --tagline-green: #29a383;
  --red: #ff8a8d;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.5);
  --card: rgba(255, 255, 255, 0.07);
  --card-line: rgba(255, 255, 255, 0.12);
  --field: rgba(255, 255, 255, 0.08);
  --field-line: rgba(255, 255, 255, 0.18);
  --font: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  background: var(--navy-deep);
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  font: 15px/1.5 var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(41, 163, 131, 0.28), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(29, 106, 121, 0.55), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  background-attachment: fixed;
}
main {
  width: 100%;
  max-width: 400px;
}
/* The Speechmatics wordmark, white, alone: no product name (Sam, 2 December 2026) */
.brand {
  display: flex;
  justify-content: center;
  margin: 0 0 36px;
}
.brand img {
  display: block;
  width: min(260px, 70vw);
  height: auto;
}
.card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(6px);
}
.card h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
}
.card p {
  margin: 0 0 16px;
  color: var(--text-2);
  font-size: 14px;
}
label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--field-line);
  background: var(--field);
  color: var(--text);
  font: inherit;
  font-size: 16px; /* no zoom on iOS */
  outline: none;
}
input[type="email"]::placeholder {
  color: var(--text-3);
}
input[type="email"]:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.25);
}
button {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 13px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: var(--green-dark);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
button:hover {
  filter: brightness(1.06);
}
button:focus-visible {
  outline: 3px solid rgba(61, 214, 140, 0.5);
  outline-offset: 2px;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
  filter: none;
}
button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}
.status {
  min-height: 1.5em;
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-2);
}
.status.error {
  color: var(--red);
}
.sent {
  text-align: center;
}
.sent .email {
  font-weight: 700;
  color: var(--text);
  word-break: break-all;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(61, 214, 140, 0.15);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}
.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
footer {
  margin-top: 22px;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
}
[hidden] {
  display: none !important;
}
