/* ─────────────────────────────────────────────────────────────────────
   Maya — Communication Intelligence
   White ground · ink headlines (#0F2440) · single emerald accent (#15A171)
   Bricolage Grotesque display · Inter body.
   ───────────────────────────────────────────────────────────────────── */

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

:root {
  --white:      #FFFFFF;
  --mist:       #F6FAF8;            /* alternating band                  */
  --mint:       #EAF6F0;            /* solution band / soft tint         */
  --ink:        #0F2440;            /* headlines                         */
  --body:       #46566B;            /* body text                         */
  --muted:      #8494A7;            /* captions, meta                    */
  --green:      #15A171;            /* the single accent                 */
  --green-deep: #0E8A5F;            /* hover                             */
  --green-tint: rgba(21, 161, 113, 0.09);
  --line:       rgba(15, 36, 64, 0.10);
  --line-soft:  rgba(15, 36, 64, 0.06);
  --shadow:     0 16px 44px rgba(15, 36, 64, 0.10);
  --shadow-sm:  0 6px 18px rgba(15, 36, 64, 0.07);
  --display: 'Bricolage Grotesque', 'Inter', -apple-system, sans-serif;
  --sans:    'Inter', -apple-system, 'Segoe UI', sans-serif;
  --w: 1120px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--white);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1.0417rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--green); color: #fff; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

/* ── Typography ─────────────────────────────────────────────────────── */

h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -0.02em; }

.display { font-size: clamp(2.7rem, 6.4vw, 4.6rem); line-height: 1.02; font-weight: 700; }
.h2      { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.08; font-weight: 700; max-width: 20em; }
.h3      { font-size: 1.28rem; line-height: 1.3; font-weight: 600; }

.lede { font-size: clamp(1.05rem, 1.7vw, 1.22rem); line-height: 1.7; max-width: 42em; color: var(--body); }
.small { font-size: 0.88rem; color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }

/* Signature eyebrow: green small caps over a thin rule */
.eyebrow {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green);
  display: block; margin-bottom: 22px;
}
.eyebrow::after { content: ''; display: block; width: 44px; height: 1px; background: var(--line); margin-top: 14px; }
.center .eyebrow::after { margin-left: auto; margin-right: auto; }

/* Large punchline lines */
.punch {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.25; font-weight: 600; color: var(--ink);
  max-width: 26em;
}
.punch em { font-style: normal; color: var(--green); }

/* ── Buttons ────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.96rem;
  padding: 14px 28px; border-radius: 99px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(21, 161, 113, 0.30); }
.btn-green:hover { background: var(--green-deep); }
.btn-quiet { border: 1.5px solid var(--line); color: var(--ink); }
.btn-quiet:hover { border-color: var(--green); color: var(--green-deep); }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }

/* ── Nav ────────────────────────────────────────────────────────────── */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--w); margin: 0 auto; padding: 0 24px;
  height: 66px; display: flex; align-items: center; gap: 34px;
}
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: 10px; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--body); transition: color 0.2s; }
.nav-links a:hover { color: var(--green-deep); }
.nav-cta { margin-left: auto; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.9rem; }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-left: auto; }
.nav-burger span { width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
.nav-mobile { display: none; border-top: 1px solid var(--line-soft); padding: 14px 24px 24px; flex-direction: column; }
.nav-mobile a { padding: 12px 0; font-size: 1.02rem; color: var(--body); border-bottom: 1px solid var(--line-soft); }
.nav-mobile .btn { margin-top: 16px; justify-content: center; border-bottom: 0; color: #fff; }
.nav.open .nav-mobile { display: flex; }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ── Sections ───────────────────────────────────────────────────────── */

.section { padding: clamp(84px, 11vw, 136px) 0; position: relative; }
.band-mist { background: var(--mist); }
.band-mint { background: var(--mint); }
.section-head { margin-bottom: clamp(40px, 6vw, 60px); }
.section-head .lede { margin-top: 22px; }
.center { text-align: center; }
.center .h2, .center .lede, .center .punch { margin-left: auto; margin-right: auto; }

/* subtle green wave at a band's foot */
.wave { display: block; width: 100%; height: 70px; }

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero { padding: clamp(140px, 17vh, 180px) 0 clamp(56px, 7vw, 90px); text-align: center; }
.hero .display { max-width: 13em; margin: 26px auto 28px; }
.hero .lede { margin: 0 auto; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 38px 0 18px; }

.trust {
  font-size: 0.82rem; letter-spacing: 0.04em; color: var(--muted);
  margin-top: 26px;
}

/* ── Signature: channels funnel into Maya, fan out as outputs ─────── */

.flow { max-width: 880px; margin: clamp(48px, 7vw, 72px) auto 0; }

.flow-in { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.86rem; font-weight: 500; color: var(--ink);
  border: 1px solid var(--line); border-radius: 99px;
  padding: 8px 16px; background: var(--white);
  box-shadow: var(--shadow-sm);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }

.flow-lines { display: block; width: 100%; height: 60px; }
.flow-lines path { fill: none; vector-effect: non-scaling-stroke; }
.fl-base path { stroke: rgba(21, 161, 113, 0.18); stroke-width: 1.5; }
.fl-pulse path {
  stroke: var(--green); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 12 100; stroke-dashoffset: 112;
  opacity: 0;
}
.flow.animate .fl-pulse path {
  opacity: 1;
  animation: line-flow 3s linear infinite;
  animation-delay: var(--d, 0s);
}
@keyframes line-flow {
  from { stroke-dashoffset: 112; }
  to   { stroke-dashoffset: 0; }
}

.flow-mark { display: flex; justify-content: center; padding: 2px 0; }
.flow-mark img {
  height: 58px; width: auto;
  filter: drop-shadow(0 16px 30px rgba(21, 161, 113, 0.35));
}
@keyframes mark-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.flow.animate .flow-mark img { animation: mark-breathe 3s ease-in-out infinite; }

.flow-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.out-card {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--white); padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}
.out-card .t { display: block; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.out-card .s { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.45; }
@keyframes out-arrive {
  0%, 55%, 100% { border-color: var(--line); box-shadow: var(--shadow-sm); }
  70% { border-color: rgba(21, 161, 113, 0.6); box-shadow: 0 10px 26px rgba(21, 161, 113, 0.16); }
  88% { border-color: var(--line); box-shadow: var(--shadow-sm); }
}
.flow.animate .out-card { animation: out-arrive 3s linear infinite; animation-delay: var(--d, 0s); }

@media (max-width: 700px) {
  .flow-lines { height: 40px; }
  .flow-out { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) { .flow-out { grid-template-columns: 1fr; } }

/* ── Problem: notification cluster ─────────────────────────────────── */

.problem-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
@media (max-width: 880px) { .problem-grid { grid-template-columns: 1fr; } }

.noise { position: relative; min-height: 360px; }
.noise-you {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 0.95rem;
  z-index: 1;
}
.noise-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 500; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 99px;
  padding: 9px 16px; box-shadow: var(--shadow-sm);
  transform: rotate(var(--tilt, 0deg));
  white-space: nowrap;
}
.noise-chip b { font-weight: 700; color: var(--ink); }
@keyframes chip-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.reveal.in .noise-chip { animation: chip-bob 4.5s ease-in-out infinite; animation-delay: var(--bd, 0s); }

/* ── Why now: timeline ─────────────────────────────────────────────── */

.timeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px;
  margin-top: clamp(44px, 6vw, 64px);
}
@media (max-width: 960px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .timeline { grid-template-columns: 1fr; } }
.tl-stop { border-top: 2px solid var(--line); padding-top: 18px; position: relative; }
.tl-stop::before {
  content: ''; position: absolute; top: -5px; left: 0;
  width: 8px; height: 8px; border-radius: 50%; background: var(--line);
}
.tl-stop.now { border-top-color: var(--green); }
.tl-stop.now::before { background: var(--green); }
.tl-year { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); display: block; margin-bottom: 8px; }
.tl-stop.now .tl-year { color: var(--green-deep); }
.tl-stop p { font-size: 0.9rem; color: var(--body); line-height: 1.55; }

/* ── Solution statement ────────────────────────────────────────────── */

.statement-band { text-align: center; }
.statement-band .big {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.7rem, 3.8vw, 2.8rem); line-height: 1.28;
  color: var(--ink); max-width: 24em; margin: 0 auto;
}
.statement-band .big em { font-style: normal; color: var(--green-deep); }

/* ── How Maya works: three-column + phones ─────────────────────────── */

.works { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 10px; }
@media (max-width: 880px) { .works { grid-template-columns: 1fr; } }
.works-col h3 {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-family: var(--sans); margin-bottom: 18px;
}
.works-in { display: flex; flex-wrap: wrap; gap: 9px; max-width: 300px; }
@media (max-width: 880px) { .works-in { max-width: none; } }
.works-mark { align-self: center; text-align: center; padding: 20px 0; }
.works-mark img { height: 30px; margin: 0 auto; }
.works-mark .arrows { color: var(--green); font-size: 1.2rem; letter-spacing: 0.3em; display: block; margin-top: 10px; }
.deliver { display: flex; flex-direction: column; }
.deliver li { list-style: none; display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.deliver .t { font-weight: 600; color: var(--ink); flex: none; width: 176px; font-size: 0.95rem; }
.deliver .s { font-size: 0.9rem; color: var(--body); }
@media (max-width: 560px) { .deliver li { flex-direction: column; gap: 2px; } .deliver .t { width: auto; } }

.capability {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center;
  margin-top: clamp(44px, 6vw, 60px); padding-top: 28px; border-top: 1px solid var(--line-soft);
  font-size: 0.86rem; color: var(--muted);
}

/* ── Phone showcase ────────────────────────────────────────────────── */

.phones {
  display: flex; gap: clamp(18px, 3vw, 40px); justify-content: center; align-items: flex-start;
  margin-top: clamp(52px, 7vw, 80px);
}
.phone {
  width: min(280px, 80vw); flex: none;
  border-radius: 40px;
  box-shadow: var(--shadow);
}
.phone img { width: 100%; height: auto; border-radius: 40px; }
@media (max-width: 880px) {
  .phones { overflow-x: auto; justify-content: flex-start; padding: 0 24px 26px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .phone { scroll-snap-align: center; }
}

/* ── Feature cards ─────────────────────────────────────────────────── */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card {
  border: 1px solid var(--line); border-radius: 18px; padding: 30px;
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(21, 161, 113, 0.4); box-shadow: var(--shadow); }
.card .glyph {
  width: 40px; height: 40px; border-radius: 12px; background: var(--green-tint);
  display: grid; place-items: center; color: var(--green-deep); margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; font-size: 1.12rem; }
.card p { font-size: 0.93rem; color: var(--body); }

/* ── Before / after ────────────────────────────────────────────────── */

.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 760px) { .ba { grid-template-columns: 1fr; } }
.ba-col { border: 1px solid var(--line); border-radius: 18px; padding: 34px; background: var(--white); }
.ba-col.with { border-color: rgba(21, 161, 113, 0.4); background: linear-gradient(180deg, rgba(21, 161, 113, 0.05), rgba(21, 161, 113, 0.0) 70%), var(--white); box-shadow: var(--shadow-sm); }
.ba-col h3 { margin-bottom: 20px; }
.ba-col.with h3 { color: var(--green-deep); }
.ba-col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.ba-col li { padding-left: 30px; position: relative; font-size: 0.97rem; }
.ba-col li::before { position: absolute; left: 0; font-size: 0.85rem; }
.ba-col.without li { color: var(--muted); }
.ba-col.without li::before { content: '✕'; color: #C25E5E; }
.ba-col.with li { color: var(--ink); }
.ba-col.with li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ── Landscape (why maya) ──────────────────────────────────────────── */

.land { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 700px) { .land { grid-template-columns: 1fr; } }
.land-card { border: 1px solid var(--line-soft); border-radius: 16px; padding: 24px 26px; background: var(--white); }
.land-card .k { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
.land-card .who { font-weight: 600; color: var(--ink); font-size: 0.98rem; display: block; margin-bottom: 4px; }
.land-card p { font-size: 0.88rem; color: var(--muted); }

.maya-card {
  margin-top: 18px; border: 1.5px solid var(--green); border-radius: 20px;
  padding: 36px 38px; background: linear-gradient(180deg, rgba(21, 161, 113, 0.07), rgba(21, 161, 113, 0.02)), var(--white);
  box-shadow: var(--shadow);
  display: flex; flex-wrap: wrap; gap: 22px 48px; align-items: center;
}
.maya-card img { height: 30px; }
.maya-card .cat { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.25rem; }
.maya-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.maya-card li { padding-left: 24px; position: relative; font-size: 0.95rem; color: var(--ink); font-weight: 500; }
.maya-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ── Pricing ───────────────────────────────────────────────────────── */

.price-card {
  max-width: 500px; margin: 0 auto; text-align: center;
  border: 1.5px solid var(--green); border-radius: 24px;
  padding: clamp(36px, 5vw, 52px);
  background: var(--white); box-shadow: var(--shadow);
  position: relative;
}
.price-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 99px; padding: 6px 16px; white-space: nowrap;
}
.price-num { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 7vw, 4.2rem); color: var(--ink); line-height: 1; }
.price-num sub { font-size: 1.05rem; font-weight: 500; color: var(--muted); vertical-align: baseline; }
.price-sub { color: var(--body); margin: 14px 0 24px; font-size: 0.97rem; }
.price-list { list-style: none; text-align: left; max-width: 380px; margin: 0 auto 32px; display: flex; flex-direction: column; gap: 12px; }
.price-list li { padding-left: 30px; position: relative; font-size: 0.95rem; color: var(--ink); }
.price-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ── Final CTA / waitlist ──────────────────────────────────────────── */

.cta-band { text-align: center; }
.cta-band .lede { margin: 22px auto 36px; }
.waitlist { display: flex; gap: 12px; justify-content: center; max-width: 520px; margin: 0 auto; }
.waitlist input {
  flex: 1; min-width: 0; font: inherit; font-size: 0.98rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 99px;
  padding: 15px 24px;
}
.waitlist input::placeholder { color: var(--muted); }
.waitlist input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(21, 161, 113, 0.14); }
@media (max-width: 540px) { .waitlist { flex-direction: column; } .waitlist .btn { justify-content: center; } }
.waitlist-note { margin-top: 18px; font-size: 0.88rem; color: var(--muted); }
.waitlist-note.ok { color: var(--green-deep); font-weight: 600; }

/* ── Footer ────────────────────────────────────────────────────────── */

.footer { border-top: 1px solid var(--line-soft); padding: 56px 0 44px; background: var(--mist); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; justify-content: space-between; }
.footer-brand img { height: 26px; }
.footer-brand p { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a { font-size: 0.9rem; color: var(--body); }
.footer-links a:hover { color: var(--green-deep); }
.footer-base {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between;
  font-size: 0.82rem; color: var(--muted);
}
.footer-base a { color: var(--muted); }
.footer-base a:hover { color: var(--body); }

/* ── Reveal on scroll ──────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }

/* ── Accessibility & motion ────────────────────────────────────────── */

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--green); color: #fff; padding: 10px 18px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { left: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
