@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --bg: #F4F2EC;
  --bg-soft: #EAE7DE;
  --ink: #1C2B33;
  --ink-dim: #647079;
  --teal: #2E7D9E;
  --teal-light: #5AA8C7;
  --amber: #C98A46;
  --line: rgba(28, 43, 51, 0.13);
  --card: rgba(28, 43, 51, 0.025);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100%;
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--ink);
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 8%, var(--bg) 0%, var(--bg-soft) 100%);
}

.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(560px circle at var(--mx, 50%) var(--my, 30%),
      rgba(46, 125, 158, 0.09), transparent 58%),
    radial-gradient(380px circle at var(--mx, 50%) var(--my, 30%),
      rgba(201, 138, 70, 0.05), transparent 60%);
}

.flow {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.65;
  pointer-events: none;
}
.flow svg { width: 100%; height: 100%; }
.flow path { stroke: var(--line); fill: none; }

main.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px 60px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.85s cubic-bezier(.2,.8,.2,1) forwards;
}
.reveal.d1 { animation-delay: 0.05s; }
.reveal.d2 { animation-delay: 0.14s; }
.reveal.d3 { animation-delay: 0.22s; }
.reveal.d4 { animation-delay: 0.30s; }
.reveal.d5 { animation-delay: 0.38s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.mark-icon {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.4s ease, transform 0.4s ease;
}
.mark-icon img { width: 100%; height: 100%; object-fit: contain; }
.mark-icon:hover {
  filter: drop-shadow(0 6px 20px rgba(46,125,158,0.28));
  transform: translateY(-2px) rotate(-2deg);
}

.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--teal);
}
.wordmark small {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  margin-top: 7px;
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3.15rem);
  line-height: 1.25;
  max-width: 680px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 .hl {
  color: var(--teal);
  font-weight: 600;
  position: relative;
}

.kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  margin-top: 18px;
}

.subhead {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--teal);
  max-width: 560px;
  margin: 22px auto 0;
  line-height: 1.6;
}

.tagline {
  max-width: 480px;
  margin: 26px auto 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-dim);
  font-weight: 300;
}

.divider {
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  margin: 42px auto;
  transition: width 0.4s ease;
}

.notify-form {
  display: flex;
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 2px 14px rgba(28,43,51,0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.notify-form:focus-within {
  border-color: var(--teal-light);
  box-shadow: 0 0 0 4px rgba(46, 125, 158, 0.10);
}

input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  color: var(--ink);
  min-width: 0;
}
input[type="email"]::placeholder { color: #9CA6AC; }

button.notify {
  border: none;
  padding: 16px 26px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  color: #FFFFFF;
  cursor: pointer;
  transition: filter 0.3s ease, transform 0.15s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}
button.notify:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 20px rgba(46, 125, 158, 0.28);
  transform: translateY(-1px);
}
button.notify:active { transform: translateY(0); filter: brightness(0.97); }

.status {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-dim);
  min-height: 16px;
  opacity: 0.8;
  transition: opacity 0.4s ease, color 0.4s ease;
}
.status.sent { opacity: 1; color: var(--teal); font-weight: 500; }

footer.foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-dim);
  padding: 36px 20px 40px;
  border-top: 1px solid var(--line);
}
.foot .contact {
  display: flex;
  gap: 8px 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.foot .contact > * { margin: 2px 11px; }
.foot a {
  color: var(--ink-dim);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}
.foot a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.foot a:hover { color: var(--teal); }
.foot a:hover::after { transform: scaleX(1); transform-origin: left; }
.foot .copy { color: var(--ink-dim); opacity: 0.65; font-size: 10.5px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (max-width: 480px) {
  main.hero { padding: 70px 20px 50px; }
  .mark { margin-bottom: 32px; }
  .mark-icon { width: 72px; height: 72px; }
  .divider { margin: 32px auto; }
  .notify-form { flex-direction: column; border: none; background: transparent; box-shadow: none; gap: 10px; }
  .notify-form input[type="email"] { border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; }
  .notify-form:focus-within { box-shadow: none; }
  button.notify { border-radius: 8px; width: 100%; }
  .foot { font-size: 10.5px; gap: 8px; padding: 30px 16px 32px; }
  .foot .contact { gap: 6px 14px; }
  .foot .contact > * { margin: 2px 7px; }
}
