:root {
  --bg: #F7FAFC;
  --text: #102A43;
  --muted: #486581;
  --primary: #51AAB0;
  --border: #DDE7EA;
  --card-shadow: 0 6px 18px rgba(16, 42, 67, 0.08);
  --radius: 18px;
  --wrapper: 1120px;
}

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

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

@media (min-width: 760px) {
  body {
    font-size: 18px;
  }
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

a {
  color: #2f7f85;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  z-index: 20;
}

.wrapper {
  width: min(100% - 2rem, var(--wrapper));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}

.header-row {
  min-height: 68px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem 0;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand-text {
  font-size: 1.1rem;
}

.brand-text span {
  color: var(--primary);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  border-radius: 10px;
}

.main-nav a:hover {
  background: #e9f4f5;
  color: var(--text);
}

@media (max-width: 760px) {
  .header-row {
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    gap: 0.3rem 0.6rem;
  }
}

.hero {
  padding: 44px 0 40px;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2f7f85;
  font-weight: 700;
}

h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.08;
}

.hero-subtitle {
  margin: 0 0 0.8rem;
  font-size: 1.22rem;
  font-weight: 700;
  color: #2f7f85;
}

.hero-lead {
  margin: 0;
  color: var(--muted);
  max-width: 68ch;
}

.button-row {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  color: #fff;
  background: var(--primary);
}

.btn-primary:hover {
  background: #42959a;
}

.btn-secondary {
  color: var(--text);
  background: #fff;
  border-color: var(--border);
}

.btn-secondary:hover {
  background: #eef5f7;
}

.hero-note {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.coming-main {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
}

.coming-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px;
}

.coming-logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 0 1rem;
}

.section {
  padding: 40px 0;
}

@media (min-width: 760px) {
  .hero {
    padding: 64px 0 56px;
  }
  .section {
    padding: 64px 0;
  }
}

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

h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2,
.grid-3,
.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.card li {
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.amount {
  margin: 0.2rem 0 0.3rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  font-weight: 800;
  color: #2f7f85;
}

.small {
  font-size: 0.95rem;
}

.section-link {
  margin-top: 1rem;
}

.source-list {
  margin: 0;
  padding-left: 1.1rem;
}

.source-list li {
  margin-bottom: 0.45rem;
}

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

.footer-note {
  margin: 0.4rem 0 0.8rem;
  color: var(--muted);
}

/* Clean coming-soon layout */
.coming-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f7fafc 0%, #edf4f7 100%);
}

.coming-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.coming-panel {
  width: min(100%, 760px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(16, 42, 67, 0.12);
  padding: 2rem 1.4rem;
  text-align: center;
}

.coming-panel .eyebrow {
  margin-top: 0.5rem;
}

.coming-panel h1 {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
}

.coming-panel .hero-subtitle {
  margin-bottom: 0.9rem;
}

.coming-panel .hero-lead {
  margin-inline: auto;
}

.coming-panel .hero-note {
  margin-top: 1.1rem;
}

.waitlist-form {
  margin-top: 1.2rem;
  text-align: left;
}

.waitlist-form > label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--soft);
}

.input-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.input-row input,
.input-row button {
  min-height: 50px;
  border-radius: 12px;
  font-size: 1rem;
}

.input-row input {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 0.7rem 0.85rem;
}

.input-row button {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.input-row button:hover {
  background: #42979c;
}

.waitlist-email {
  appearance: none;
  -webkit-appearance: none;
}

.waitlist-submit {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--primary) !important;
  background: var(--primary) !important;
  color: #fff !important;
  font-weight: 700 !important;
  min-height: 50px !important;
  padding: 0.7rem 1rem !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(81, 170, 176, 0.25) !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  font-family: inherit !important;
}

.waitlist-submit:hover {
  background: #42979c !important;
}

.waitlist-submit:focus-visible,
.waitlist-email:focus-visible {
  outline: 3px solid rgba(81, 170, 176, 0.35);
  outline-offset: 1px;
}

.waitlist-form button[type="submit"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 1px solid var(--primary) !important;
  background: var(--primary) !important;
  color: #fff !important;
}

.consent-row {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  color: var(--text);
}

.consent-row input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
}

.small {
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-status {
  min-height: 1.35em;
  margin-top: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-status.success {
  color: #1e6f42;
}

.form-status.error {
  color: #a12a2a;
}

.coming-logo {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin: 0 auto 0.4rem;
}

@media (min-width: 760px) {
  .input-row {
    grid-template-columns: 1fr auto;
  }

  .input-row button {
    white-space: nowrap;
  }

  .coming-panel {
    padding: 2.4rem 2.5rem;
  }
}
