:root {
  --bg: #fdfbf7;
  --surface: #ffffff;
  --text: #1a1d29;
  --muted: #5e6473;
  --primary: #e76f51;
  --accent: #264653;
  --line: #e8ecf3;
  --success: #146c43;
  --danger: #b42318;
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f7f8fa 0%, var(--bg) 100%);
  color: var(--text);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgb(253 251 247 / 82%);
  border-bottom: 1px solid var(--line);
}

.nav {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.brand-mark {
  inline-size: 2rem;
  block-size: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}

.hero-copy {
  max-width: 55ch;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 14px 30px rgb(24 39 75 / 8%);
}

.hero-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.hero-card li {
  margin: 0.7rem 0;
  color: var(--text);
}

.section {
  padding: 3.2rem 0;
}

.trust {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.step-number {
  display: inline-grid;
  place-items: center;
  inline-size: 1.8rem;
  block-size: 1.8rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 18%, white);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.waitlist {
  padding-bottom: 4.5rem;
}

.waitlist-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
}

.waitlist-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input[type="email"] {
  width: 100%;
  padding: 0.78rem 0.85rem;
  border: 1px solid #ccd4e0;
  border-radius: 10px;
  font-size: 1rem;
}

input[type="email"]:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, white);
  border-color: var(--accent);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  font-weight: 600;
  padding: 0.78rem 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #2b5e74);
  cursor: pointer;
}

.button:hover {
  filter: brightness(1.06);
}

.button:focus-visible,
.button-ghost:focus-visible,
a:focus-visible,
input[type="email"]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 35%, white);
  outline-offset: 2px;
}

.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.button-ghost {
  background: transparent;
  border: 1px solid #cfd7e4;
  color: var(--text);
}

.button-small {
  font-size: 0.9rem;
  padding: 0.48rem 0.85rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.form-message {
  min-height: 1.2rem;
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
}

.form-message.error {
  color: var(--danger);
}

.form-message.success {
  color: var(--success);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 1.8rem;
  background: #fff;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-row a {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .waitlist-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
