/* malai.ai — premium marketing site
   Restrained palette · generous whitespace · serious typography. */

:root {
  /* Light palette — matches the brand flyer. No dark blocks anywhere. */
  --pearl: #fcfbf8;          /* page base — soft white, hint of warmth */
  --pearl-deep: #f3eee5;     /* emphasis section bg — warm pearl */
  --pearl-soft: #f7f4ec;     /* between page and deep — for footer */
  --bone: #ffffff;            /* pure white card surface */
  --ink: #1a1814;            /* warm near-black text */
  --ink-soft: #2a2520;
  --gold: #b8860b;           /* primary accent — SMS eyebrow, micro highlights */
  --gold-soft: #c89c2f;
  --leaf: #1e6a55;            /* deep forest green — section headers, dollar */
  --leaf-soft: #2d8a70;
  --mint: #3fc28b;            /* soft bright green — brand dot + arrow */
  --text: #1a1814;
  --text-soft: #4a4540;
  --text-faint: #8a857d;
  --text-mute: rgba(26, 24, 20, 0.55);
  --hairline-light: rgba(26, 24, 20, 0.08);
  --hairline-soft: rgba(26, 24, 20, 0.05);
}

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

html {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  background: var(--pearl);
  line-height: 1.55;
  font-size: 17px;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============================================================ */
/* NAV                                                          */
/* ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(252, 251, 248, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline-light);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav-logo .dot {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  border-radius: 50%;
  background: var(--mint);
  margin-left: 0.06em;
  vertical-align: baseline;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: transparent;
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid rgba(14, 17, 22, 0.16);
  transition: all 0.18s;
}
.nav-cta:hover {
  border-color: var(--mint);
  color: var(--mint);
}

/* ============================================================ */
/* HERO                                                         */
/* ============================================================ */

.hero {
  background: linear-gradient(180deg, #fdfbf7 0%, #f3f0e9 100%);
  color: var(--ink);
  padding: 180px 28px 140px 28px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(14, 17, 22, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-soft);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.06;
  margin-bottom: 28px;
  max-width: 18ch;
}
.hero h1 .accent { color: var(--gold); }
.hero h1 .leaf { color: var(--leaf); }
.hero h1 .arrow {
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  margin-right: 0.18em;
  vertical-align: -0.06em;
}
.hero .lede {
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--text-soft);
  font-weight: 400;
  max-width: 56ch;
  margin-bottom: 44px;
  line-height: 1.55;
}
.hero .eyebrow {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  margin-bottom: 30px;
}
.hero h1 { color: var(--ink); }
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  transition: all 0.18s;
}
.btn-primary:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(184, 134, 11, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(14, 17, 22, 0.22);
  transition: all 0.18s;
}
.btn-secondary:hover {
  background: rgba(14, 17, 22, 0.05);
  border-color: rgba(14, 17, 22, 0.4);
}

/* (tagline strip removed — tagline now lives in the hero H1) */

/* ============================================================ */
/* PILLAR ROW                                                   */
/* ============================================================ */

.section {
  padding: 110px 28px;
}
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--leaf);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-h {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 22ch;
}
.section-sub {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 60ch;
  line-height: 1.6;
  margin-bottom: 56px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--bone);
  border-radius: 18px;
  padding: 36px 32px;
  border: 1px solid var(--hairline-light);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(14, 17, 22, 0.15);
}
.pillar .num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 18px;
}
.pillar h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.pillar p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
}
.pillar .stat {
  margin-top: 22px;
  font-size: 13px;
  color: var(--leaf);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================================ */
/* SMS EXAMPLE (dark)                                           */
/* ============================================================ */

.sms-section {
  background: var(--pearl-deep);
  color: var(--ink);
}
.sms-section .section-eyebrow { color: var(--gold); }

.sms-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sms-prose h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 26px;
  color: var(--ink);
}
.sms-prose p {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 20px;
}
.sms-prose strong { color: var(--ink); font-weight: 600; }

.phone {
  background: var(--bone);
  border-radius: 24px;
  padding: 22px;
  border: 1px solid var(--hairline-light);
  box-shadow: 0 28px 60px -22px rgba(26, 24, 20, 0.18);
}
.phone .from {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.phone .bubble {
  background: var(--pearl-deep);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}
.phone .bubble strong { color: var(--ink); font-weight: 600; }
.phone .bubble .money {
  color: var(--leaf);
  font-weight: 700;
}
.phone .reply {
  font-size: 13px;
  color: var(--text-mute);
  text-align: center;
  letter-spacing: 0.02em;
  padding-top: 6px;
}
.phone .reply strong { color: var(--leaf); font-weight: 700; }

/* ============================================================ */
/* HOW IT WORKS                                                 */
/* ============================================================ */

.steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  margin-top: 24px;
}
.step {
  flex: 0 0 auto;
  text-align: center;
  width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step .circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--leaf);
  color: var(--leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 18px;
  transition: all 0.2s;
}
.step:hover .circle {
  background: var(--leaf);
  color: #fff;
  transform: scale(1.06);
}
.step .label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.connector {
  flex: 1 1 auto;
  height: 2px;
  background: var(--leaf);
  opacity: 0.3;
  margin-top: 28px;
}

/* ============================================================ */
/* WHY MALAI — dark                                             */
/* ============================================================ */

.why-section {
  background: var(--pearl);
}
.why-section .section-eyebrow { color: var(--gold); }
.why-section .section-h { color: var(--ink); }
.why-section .section-sub { color: var(--text-soft); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.why-card {
  background: var(--bone);
  border: 1px solid var(--hairline-light);
  border-radius: 18px;
  padding: 32px 28px;
}
.why-card .vs {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.why-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.why-card .strike {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.why-card .we {
  color: var(--leaf);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  border-top: 1px solid var(--hairline-light);
  padding-top: 14px;
}

/* ============================================================ */
/* TRUST                                                        */
/* ============================================================ */

.trust-section {
  background: var(--pearl-deep);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.trust {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid var(--hairline-light);
}
.trust .icon {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 700;
}
.trust h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.trust p {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ============================================================ */
/* PRICING TEASE                                                */
/* ============================================================ */

.pricing-section {
  background: var(--pearl);
  color: var(--ink);
  text-align: center;
}
.pricing-inner {
  max-width: 760px;
  margin: 0 auto;
}
.pricing-section .eyebrow { color: var(--gold); margin-bottom: 24px; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.pricing-section h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--ink);
}
.pricing-section p {
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 36px;
}
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 40px 0;
}
.pricing-card {
  background: var(--bone);
  border: 1px solid var(--hairline-light);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: left;
}
.pricing-card .step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 10px;
}
.pricing-card .price {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pricing-card .desc {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.5;
}

/* ============================================================ */
/* FINAL CTA                                                    */
/* ============================================================ */

.final-cta {
  background: var(--pearl-deep);
  color: var(--ink);
  text-align: center;
  padding: 120px 28px;
  border-top: 1px solid var(--hairline-light);
}
.final-cta h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin-bottom: 26px;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink);
}
.final-cta .accent { color: var(--leaf); font-weight: 700; }
.final-cta .sub {
  font-size: 17px;
  color: var(--text-soft);
  margin-bottom: 36px;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.final-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.final-cta .btn-primary {
  background: var(--ink);
  color: #fff;
}
.final-cta .btn-primary:hover {
  background: var(--leaf);
  color: #fff;
}
.contact-line {
  font-size: 14px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}
.contact-line .email { color: var(--leaf); font-weight: 600; }
.contact-line .sep { margin: 0 10px; color: var(--text-faint); }

/* ============================================================ */
/* FOOTER                                                       */
/* ============================================================ */

.footer {
  background: var(--pearl-soft);
  color: var(--text-mute);
  padding: 36px 28px;
  border-top: 1px solid var(--hairline-light);
  text-align: center;
  font-size: 13px;
}
.footer .logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.footer .logo .dot {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  border-radius: 50%;
  background: var(--mint);
  margin-left: 0.06em;
  vertical-align: baseline;
}
.footer .line {
  letter-spacing: 0.02em;
}
.footer .sep { margin: 0 10px; color: var(--text-faint); }
.footer .arrow-inline {
  display: inline-block;
  width: 13px;
  height: 13px;
  vertical-align: -0.16em;
  margin-right: 3px;
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */

@media (max-width: 880px) {
  .nav-inner { padding: 14px 18px; }
  .nav-links { display: none; }
  .nav-links .nav-cta-mobile { display: block; }
  .hero { padding: 130px 22px 90px 22px; }
  .section { padding: 70px 22px; }
  .pillar-grid, .why-grid, .trust-grid, .pricing-row {
    grid-template-columns: 1fr;
  }
  .sms-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .step { flex-direction: row; gap: 14px; width: auto; text-align: left; }
  .step .circle { margin-bottom: 0; flex-shrink: 0; }
  .connector { display: none; }
  .final-cta { padding: 80px 22px; }
}
