/* ===== LedgerHead — Coming Soon ===== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }

body {
  background: #0E2D22;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: #EDEAE0;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button { border: none; background: none; cursor: pointer; }

/* hidden attribute must win over display:flex/grid rules below */
[hidden] { display: none !important; }

/* ===== Page shell ===== */
.page {
  min-height: 100vh;
  background: #0E2D22;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}

/* ===== Decorative rings ===== */
.ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ring--tr-lg { top: -200px; right: -200px; width: 700px; height: 700px; border: 1px solid rgba(255,255,255,0.05); }
.ring--tr-sm { top: -120px; right: -120px; width: 500px; height: 500px; border: 1px solid rgba(255,255,255,0.05); }
.ring--bl-lg { bottom: -200px; left: -200px; width: 600px; height: 600px; border: 1px solid rgba(255,255,255,0.04); }
.ring--bl-sm { bottom: -120px; left: -120px; width: 400px; height: 400px; border: 1px solid rgba(255,255,255,0.04); }

.glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,111,82,0.18) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse 6s ease-in-out infinite;
}

/* ===== Content ===== */
.content {
  position: relative;
  width: 100%;
  max-width: 640px;
  text-align: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 48px;
}
.logo__mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #1E6F52;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 25px; letter-spacing: -0.04em;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 4px 16px rgba(0,0,0,0.4);
}
.logo__name { font-size: 28px; font-weight: 700; color: #EDEAE0; letter-spacing: -0.02em; }

/* Domain pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30,111,82,0.25);
  border: 1px solid rgba(30,111,82,0.5);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 32px;
}
.pill__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #1E6F52;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
.pill__text {
  font-size: 13.5px; font-weight: 600; color: #A9C2B4;
  letter-spacing: 0.02em; font-family: 'IBM Plex Mono', monospace;
}

/* Headline */
.headline {
  margin: 0 0 20px;
  font-size: clamp(38px, 7vw, 60px);
  font-weight: 700;
  color: #EDEAE0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.headline__accent { color: #4CAF87; }

/* Subheading */
.subhead {
  margin: 0 auto 44px;
  font-size: 18px;
  color: #8AADA0;
  line-height: 1.65;
  max-width: 480px;
}

/* Feature chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 52px;
}
.chip {
  font-size: 13px; font-weight: 600; color: #A9C2B4;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

/* Email capture */
.notify__label { font-size: 15px; font-weight: 600; color: #C6D9D1; margin-bottom: 14px; }
.notify__row {
  display: flex; gap: 10px;
  max-width: 420px; margin: 0 auto;
}
.notify__input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px; color: #EDEAE0;
  transition: border-color .12s, box-shadow .12s;
  outline: none;
}
.notify__input:focus,
.field__input:focus {
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
}
.notify__btn { flex: none; }
.notify__error { margin-top: 10px; font-size: 13.5px; color: #E5A89E; }
.notify__fine { margin-top: 12px; font-size: 13px; color: rgba(138,173,160,0.6); }

.notify__success {
  background: rgba(30,111,82,0.18);
  border: 1px solid rgba(30,111,82,0.4);
  border-radius: 12px;
  padding: 20px 28px;
  max-width: 420px;
  margin: 0 auto;
  animation: fadeIn 0.3s ease-out both;
}
.notify__success-check { font-size: 22px; margin-bottom: 8px; }
.notify__success-title { font-size: 16px; font-weight: 600; color: #EDEAE0; margin-bottom: 4px; }
.notify__success-sub { font-size: 14px; color: #8AADA0; }
.notify__success-sub strong { color: #C6D9D1; }

/* Divider */
.divider { width: 48px; height: 1px; background: rgba(255,255,255,0.1); margin: 52px auto 28px; }

/* Request link */
.request-link {
  font-size: 14px; font-weight: 600; color: #4CAF87;
  text-decoration: underline; text-underline-offset: 3px;
}

/* Footer */
.footer {
  position: relative;
  margin-top: 64px;
  font-size: 13px;
  color: rgba(138,173,160,0.45);
  text-align: center;
}

/* ===== Buttons ===== */
.btn { border-radius: 10px; font-weight: 700; transition: background .14s; }
.btn--primary { color: #fff; background: #1E6F52; padding: 13px 22px; font-size: 15px; white-space: nowrap; }
.btn--primary:hover { background: #24805f; }
.btn--ghost {
  font-size: 14px; font-weight: 500; color: #8AADA0;
  padding: 10px 18px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12); background: transparent;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(8,22,17,0.7);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 50; padding: 20px;
}
.modal {
  background: #162F23;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 30px 32px;
  width: 100%; max-width: 440px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  animation: fadeUp 0.18s ease-out;
}
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.modal__title { font-size: 19px; font-weight: 700; color: #EDEAE0; letter-spacing: -0.02em; }
.modal__subtitle { font-size: 14px; color: #8AADA0; margin-top: 4px; }
.modal__close { font-size: 22px; color: #8AADA0; line-height: 1; padding: 2px 6px; border-radius: 6px; flex: none; }
.modal__fields { display: flex; flex-direction: column; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #8AADA0; }
.field__input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 9px;
  padding: 11px 14px;
  font-size: 15px; color: #EDEAE0;
  width: 100%;
  transition: border-color .12s, box-shadow .12s;
  outline: none;
}
.field__textarea { resize: vertical; font-family: inherit; }

.modal__error {
  font-size: 13.5px; color: #E5A89E;
  background: rgba(229,168,158,0.1);
  border: 1px solid rgba(229,168,158,0.3);
  border-radius: 8px;
  padding: 10px 14px;
}
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

.modal__sent { text-align: center; padding: 12px 0; }
.modal__sent-check {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: rgba(30,111,82,0.3);
  color: #4CAF87;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 16px;
}
.modal__sent-title { font-size: 19px; font-weight: 700; color: #EDEAE0; margin-bottom: 8px; }
.modal__sent-sub { font-size: 14.5px; color: #8AADA0; line-height: 1.6; margin-bottom: 24px; }
.modal__sent-sub strong { color: #C6D9D1; }

/* ===== Animations ===== */
.anim-up { animation: fadeUp 0.5s var(--d, 0s) ease-out both; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse  { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.04); } }

@media (prefers-reduced-motion: reduce) {
  .anim-up, .glow, .pill__dot, .modal, .notify__success { animation: none; }
}
