@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

:root {
  --bg: #f4f3f8;
  --fg: #1c1c1e;
  --muted: #6b6b70;
  --accent: #2f6f4f;
  --border: #dcdae2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

main {
  max-width: 620px;
  width: 100%;
  text-align: center;
}

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.mark {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

.hero h1 {
  position: absolute;
  left: 0;
  right: 0;
  top: 44%;
  margin: 0;
  text-shadow: 0 1px 12px var(--bg), 0 0 4px var(--bg);
}

h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 64px;
  margin: 0 0 8px;
}

.tagline {
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 22px;
}

.body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 24px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 10px;
  background: #000;
  color: #fff;
  text-decoration: none;
  cursor: default;
  margin-bottom: 56px;
}

.app-store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-align: left;
}

.app-store-badge-text small {
  font-size: 10px;
}

.app-store-badge-text strong {
  font-size: 17px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.status {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 16px;
}

.waitlist {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  font-size: 15px;
  color: var(--fg);
}

.waitlist input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.waitlist button {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: var(--fg);
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.waitlist button:hover {
  opacity: 0.9;
}

.waitlist button:disabled {
  opacity: 0.5;
  cursor: default;
}

.waitlist-message {
  margin-top: 14px;
  font-size: 14px;
  min-height: 20px;
}

.waitlist-message[data-state="success"] {
  color: var(--accent);
}

.waitlist-message[data-state="error"] {
  color: #b3413d;
}
