:root {
  color: #16211f;
  background: #f5f1e8;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
}

.page {
  min-height: 100vh;
  display: grid;
  background:
    linear-gradient(135deg, rgba(245, 241, 232, 0.84), rgba(229, 240, 232, 0.9)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1800&q=80")
      center / cover;
}

.hero {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 28px 0 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 18px;
  font-weight: 700;
  color: #16211f;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #163d35;
  color: #fff8ee;
  font-size: 15px;
  letter-spacing: 0;
}

.content {
  align-self: center;
  max-width: 720px;
  padding: 56px 0 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: #36524c;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 680px;
  color: #12231f;
  font-size: clamp(54px, 9vw, 118px);
  line-height: 0.93;
  letter-spacing: 0;
}

.tamil-title {
  margin: 18px 0 0;
  color: #163d35;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
}

.lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: #263d38;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.35;
}

.lead.tamil {
  margin-top: 16px;
  font-size: clamp(18px, 2vw, 24px);
  color: #36524c;
}

.waitlist {
  width: min(100%, 560px);
  margin-top: 34px;
}

.waitlist label {
  display: block;
  margin-bottom: 10px;
  color: #12231f;
  font-size: 16px;
  font-weight: 800;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.field-row input,
.field-row button {
  min-height: 54px;
  border-radius: 8px;
  font: inherit;
}

.field-row input {
  min-width: 0;
  border: 1px solid rgba(22, 61, 53, 0.28);
  background: rgba(255, 252, 246, 0.84);
  color: #12231f;
  padding: 0 16px;
  outline: none;
  backdrop-filter: blur(12px);
}

.field-row input:focus {
  border-color: #163d35;
  box-shadow: 0 0 0 3px rgba(22, 61, 53, 0.16);
}

.field-row button {
  border: 0;
  background: #163d35;
  color: #fff8ee;
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
}

.field-row button:hover {
  background: #102f29;
}

.helper,
.form-message {
  min-height: 22px;
  margin: 8px 0 0;
  color: #36524c;
  font-size: 14px;
}

.form-message.success {
  color: #163d35;
  font-weight: 700;
}

.form-message.error {
  color: #9f2f24;
  font-weight: 700;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  margin-top: 24px;
  padding: 0 18px;
  border: 1px solid rgba(22, 61, 53, 0.28);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.72);
  color: #163d35;
  font-size: 17px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.lock {
  position: relative;
  width: 20px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.lock::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 13px;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  transform: translateX(-50%);
}

@media (max-width: 640px) {
  .hero {
    width: min(100% - 28px, 1120px);
    padding: 20px 0 52px;
  }

  .content {
    padding-top: 44px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 58px;
  }

  .lead {
    font-size: 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .field-row button {
    width: 100%;
  }
}
