/* Mahalohana AI Ops Team landing — palette: brand/README.md
   Lagoon #123F3B / Hibiscus Coral #E8683F / Sand #F6EEE2 / Morning Sun #F2B443 */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces.ttf") format("truetype");
  font-weight: 500 640;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --lagoon: #123F3B;
  --coral: #E8683F;
  --sand: #F6EEE2;
  --sun: #F2B443;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;
  --max-width: 880px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--lagoon);
  background: var(--sand);
  line-height: 1.6;
  font-size: 17px;
}
h1, h2 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--lagoon); }
a { color: var(--coral); }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 620px; }

/* Header */
.site-header {
  background: var(--sand);
  border-bottom: 1px solid rgba(18,63,59,0.12);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.wordmark { height: 28px; display: block; }
.wordmark-small { height: 20px; opacity: 0.85; margin-bottom: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.15s ease;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { opacity: 0.9; }
.btn-secondary { background: transparent; color: var(--lagoon); border-color: var(--lagoon); }
.btn-large { padding: 14px 28px; font-size: 17px; }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn:disabled { cursor: not-allowed; opacity: 0.6; }
.btn:active:not(:disabled) { transform: scale(0.98); }

/* Hero */
.hero {
  padding: 72px 0 56px;
  background: var(--sand);
}
.hero-inner { text-align: center; }
.hero h1 { font-size: 40px; margin: 0 0 20px; max-width: 760px; margin-left: auto; margin-right: auto; }
.hero .sub { font-size: 18px; max-width: 640px; margin: 0 auto 32px; color: rgba(18,63,59,0.85); }
.micro-proof {
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: 16px;
  color: rgba(18,63,59,0.65);
}

/* Sections */
.section { padding: 56px 0; }
.section-problem { background: #fff; }
.section-proof { background: var(--sand); }
.section-curriculum { background: #fff; }
.section-pricing { background: var(--sand); }
.section-faq { background: #fff; }
.section-waitlist { background: var(--lagoon); color: var(--sand); }
.section-waitlist h2 { color: var(--sand); }

.section h2 { font-size: 28px; margin: 0 0 20px; }
.section .intro { font-size: 17px; margin: 0 0 16px; }
.bullets { padding-left: 22px; margin: 0 0 20px; }
.bullets li { margin-bottom: 12px; }
.conclusion { font-weight: 600; font-size: 18px; }

/* Curriculum weeks */
.weeks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 24px 0; }
.week-card {
  background: var(--sand);
  border-radius: 10px;
  padding: 20px;
  border-left: 4px solid var(--coral);
}
.week-card .week-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--coral);
  display: block;
  margin-bottom: 6px;
}
.week-card h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 8px; }
.week-card p { margin: 0; font-size: 15px; }
.note { font-size: 14px; color: rgba(18,63,59,0.7); }

/* Pricing */
.pricing-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.pricing-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid rgba(18,63,59,0.1);
  vertical-align: top;
  font-size: 15px;
}
.pricing-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--lagoon);
  color: var(--sand);
}
.pricing-table td:last-child { font-weight: 600; color: var(--coral); white-space: nowrap; }

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(18,63,59,0.12); padding: 18px 0; }
.faq-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 17px; margin: 0 0 8px; }
.faq-item p { margin: 0; font-size: 15px; }

/* Waitlist form */
.waitlist-form { margin-top: 24px; }
.field { margin-bottom: 20px; }
.field label, .field legend {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
  padding: 0;
  border: none;
}
.field input[type="email"],
.field input[type="text"],
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(246,238,226,0.4);
  background: rgba(255,255,255,0.06);
  color: var(--sand);
  font-family: var(--font-body);
  font-size: 15px;
}
.field input[type="email"]::placeholder, .field input[type="text"]::placeholder { color: rgba(246,238,226,0.5); }
.field select { color: var(--lagoon); background: var(--sand); }
.field input:focus, .field select:focus { outline: 2px solid var(--sun); }

.checkbox-group, .radio-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-group label, .radio-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 15px;
  cursor: pointer;
}
.checkbox-group input, .radio-group input { margin-top: 3px; flex-shrink: 0; }

.consent-field .consent-label { display: flex; gap: 10px; font-weight: 400; font-size: 13.5px; cursor: pointer; }
.consent-field input { margin-top: 3px; flex-shrink: 0; }

.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-message { margin-top: 16px; font-size: 14px; min-height: 1.4em; }
.form-message.success { color: var(--sun); font-weight: 600; }
.form-message.error { color: #ffb4a0; font-weight: 600; }

.closed-block { text-align: center; margin-top: 24px; }
.closed-block .note { color: rgba(246,238,226,0.75); margin-top: 12px; }

/* Footer */
.site-footer {
  background: var(--lagoon);
  color: rgba(246,238,226,0.7);
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
}
.site-footer .wordmark { filter: brightness(0) invert(1); opacity: 0.7; margin: 0 auto 8px; }

/* Responsive */
@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 28px; }
  .hero .sub { font-size: 16px; }
  .section { padding: 40px 0; }
  .section h2 { font-size: 22px; }
  .weeks { grid-template-columns: 1fr; }
  .btn-large { width: 100%; text-align: center; }
  .pricing-table th, .pricing-table td { padding: 10px; font-size: 13px; }
}
