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

:root {
  --c-deep:    #041F1E;
  --c-main:    #0B4F4A;
  --c-swell:   #1A7A72;
  --c-surface: #5AADA6;
  --c-foam:    #B8DCDA;
  --c-bg:      #F5F9F9;
  --c-text:    #1A2E2D;
  --c-muted:   #6B8E8C;
  --radius:    18px;
  --radius-sm: 10px;
}

html, body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.soon {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* ── Animated wave background ── */
.waves {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .5;
  pointer-events: none;
}
.waves svg {
  position: absolute;
  left: 0;
  width: 200%;
  height: 220px;
}
.waves .w1 { top: 8%; animation: drift 34s linear infinite; }
.waves .w2 { top: 62%; animation: drift 26s linear infinite reverse; }
@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .waves .w1, .waves .w2 { animation: none; }
}

.soon-page {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
}

header { display: flex; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--c-main);
}
.brand img { height: 22px; width: 22px; object-fit: contain; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 24px;
}

.tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--c-foam);
  color: var(--c-main);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-swell);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 6.5vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--c-deep);
}
h1 em {
  font-style: normal;
  color: var(--c-swell);
}

.sub {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--c-muted);
  max-width: 46ch;
}

.notify {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.notify input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid #D7E7E5;
  background: #fff;
  font-size: 15.5px;
  font-family: inherit;
  color: var(--c-text);
}
.notify input[type="email"]:focus {
  outline: none;
  border-color: var(--c-swell);
  box-shadow: 0 0 0 3px rgba(26, 122, 114, .14);
}
/* Honeypot: kept in the DOM/tab order out of the way, hidden from sighted users. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.btn {
  padding: 15px 24px;
  border-radius: var(--radius-sm);
  font-size: 15.5px;
  font-weight: 700;
  font-family: inherit;
  white-space: nowrap;
  transition: opacity .15s ease, transform .12s ease;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; pointer-events: none; }
.btn-light { background: var(--c-main); color: #fff; }

.notify-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--c-muted);
}
.notify-error {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #B3261E;
  display: none;
}
.notify-error.is-visible { display: block; }

.notify-ok {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #E3F3EF;
  color: var(--c-main);
  font-size: 14.5px;
  font-weight: 600;
}
.notify-ok.is-visible { display: flex; }
.notify-ok b {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.notify.is-hidden,
.notify-note.is-hidden { display: none; }

.soon-panel {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.soon-panel .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--c-surface);
  margin-bottom: 8px;
}
.soon-panel b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 4px;
}
.soon-panel p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--c-muted);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
  font-size: 12px;
  color: var(--c-muted);
}

@media (max-width: 560px) {
  .soon-panel { grid-template-columns: 1fr; gap: 20px; }
  .notify { flex-direction: column; }
  .notify .btn { width: 100%; }
}
