/* Mabel landing (Prototype 3 on the Mabel brand canvas). Theme "Pine and lime", Rubik. */
:root {
  --dk: #0C2220;     /* dark sections */
  --acc: #C8F169;    /* lime: Mabel's bubbles, buttons */
  --ink: #12302E;    /* pine: text on light, the mark's eyes */
  --l2: #F4F1EA;     /* chalk: alternate light sections */
  --acct: #2E7D4F;   /* eyebrows on light */
  --chalk: #F4F1EA;
  --soft: rgba(244, 241, 234, .75);
  --body: #4A5A57;
  --wa: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --pad: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--dk); color: var(--chalk); font-family: 'Rubik', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
img { display: block; }
a { color: var(--chalk); }
a:hover { color: var(--acc); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }

/* ── Buttons ─────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; border-radius: 99px; padding: 13px 20px; cursor: pointer; }
.btn-acc { background: var(--acc); color: var(--ink); }
.btn-acc:hover { color: var(--ink); filter: brightness(1.06); }
.btn-sm { font-size: 16px; padding: 11px 18px; }
.btn-lg { font-size: 17px; padding: 15px 24px; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-outline { font: inherit; font-weight: 700; font-size: 14px; color: var(--chalk); background: color-mix(in srgb, var(--dk) 50%, transparent); border: 1.5px solid rgba(244,241,234,.4); border-radius: 99px; padding: 8px 14px; cursor: pointer; }

/* ── Brand ───────────────────────────────────────── */
.brand { display: flex; align-items: center; gap: 10px; color: var(--chalk); text-decoration: none; }
.mark { display: block; flex: 0 0 auto; }
.brand-word { font-size: 26px; font-weight: 700; letter-spacing: -0.04em; }
.brand-word.sm { font-size: 19px; letter-spacing: -0.03em; }

/* ── Chat bubbles (shared by every section) ──────── */
.b { font-family: var(--wa); background: #fff; color: #111B21; border-radius: 16px; border-top-left-radius: 5px; padding: 8px 12px 10px; display: flex; flex-direction: column; gap: 2px; max-width: 300px; font-size: 15.5px; line-height: 1.3; box-shadow: 0 16px 32px -14px rgba(0,0,0,.45); transform: rotate(var(--r, 0deg)); align-self: flex-start; }
.b b { font-size: 12.5px; font-weight: 700; }
.b-mabel, .b-acc { background: var(--acc); color: var(--ink); }
.b-mabel b { color: var(--ink); }
.c-jo { color: #0E7490; } .c-sam { color: #C2410C; } .c-mia { color: #7C3AED; } .c-tom { color: #B45309; }

/* ── Hero ────────────────────────────────────────── */
.hero { position: relative; height: 920px; overflow: hidden; max-width: 100%; }
.hero-bgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-bgs img.on { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--dk) 94%, transparent) 0%, color-mix(in srgb, var(--dk) 78%, transparent) 42%, color-mix(in srgb, var(--dk) 45%, transparent) 100%); }
.nav { position: absolute; z-index: 5; top: 0; left: 72px; right: 72px; display: flex; align-items: center; justify-content: space-between; padding: 26px 0; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 600; }
.nav-links a:not(.btn) { text-decoration: none; }
.hero-copy { position: absolute; z-index: 4; left: 72px; top: 150px; width: 600px; display: flex; flex-direction: column; gap: 24px; }
.tag { align-self: flex-start; font-size: 14.5px; font-weight: 700; color: var(--ink); background: var(--acc); padding: 6px 13px; border-radius: 99px; }
.hero h1 { font-size: 76px; font-weight: 600; letter-spacing: -0.025em; line-height: 1; }
.lede { font-size: 19px; line-height: 1.55; color: var(--soft); max-width: 520px; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.secure { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--soft); }
.secure svg { color: var(--acc); flex: 0 0 auto; }

.polaroids { position: absolute; z-index: 3; left: 60px; top: 650px; width: 600px; height: 280px; }
.polaroid { position: absolute; width: 220px; height: 170px; background: #fff; padding: 9px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.7); animation: drop .6s cubic-bezier(.2,.8,.2,1) both; }
.polaroid img { width: 100%; height: 100%; object-fit: cover; }

.hero-chat { position: absolute; z-index: 4; left: 760px; right: 72px; top: 100px; bottom: 30px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; -webkit-mask: linear-gradient(to bottom, transparent 0, #000 110px); mask: linear-gradient(to bottom, transparent 0, #000 110px); }
.hero-chat > * { animation: pop .38s cubic-bezier(.2,.8,.2,1) both; flex: 0 0 auto; }
.m-pill { align-self: center; font-family: var(--wa); font-weight: 600; font-size: 13px; color: #54656F; background: #fff; padding: 5px 12px; border-radius: 8px; margin: 6px 0; }
.m-quiet { align-self: center; font-family: var(--wa); font-size: 13px; color: var(--chalk); background: color-mix(in srgb, var(--ink) 70%, transparent); border: 1px dashed rgba(244,241,234,.45); padding: 4px 12px; border-radius: 99px; }
.m-them, .m-mabel-b { font-family: var(--wa); border-radius: 18px; border-top-left-radius: 6px; padding: 9px 13px 11px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 18px 36px -18px rgba(0,0,0,.6); }
.m-them { align-self: flex-start; max-width: 480px; background: #fff; }
.m-them .who { font-size: 13px; font-weight: 600; }
.m-them img { width: 260px; height: 170px; object-fit: cover; border-radius: 12px; }
.m-text { font-size: 17px; line-height: 1.32; color: #111B21; }
.m-mabel { align-self: flex-start; display: flex; align-items: flex-end; gap: 8px; max-width: 520px; }
.m-mabel > svg { flex: 0 0 auto; }
.m-mabel-b { background: var(--acc); gap: 7px; padding: 9px 13px 12px; }
.m-mabel-b .who { font-size: 13px; font-weight: 700; color: var(--ink); }
.m-mabel-b .m-text { color: var(--ink); }
.m-chip { align-self: flex-start; font-family: var(--wa); font-size: 13.5px; font-weight: 700; color: var(--acc); background: var(--ink); padding: 6px 12px; border-radius: 99px; }
.m-typing .m-mabel-b { padding: 13px 15px 9px; }
.dots i { display: inline-block; width: 11px; height: 13px; margin-right: 5px; background: var(--ink); border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%; animation: bob 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; margin-right: 0; }

@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; margin-top: -40px; } to { opacity: 1; margin-top: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .hero-chat > *, .polaroid, .dots i { animation: none; } html { scroll-behavior: auto; } }

/* ── Sections ────────────────────────────────────── */
.sec { position: relative; padding: 110px 0 120px; }
.sec-white { background: #fff; color: var(--ink); }
.sec-paper { background: var(--l2); color: var(--ink); }
.sec-dark { background: var(--dk); }
.sec-steps { padding-top: 40px; }
.sec .wrap { display: flex; flex-direction: column; gap: 56px; }
.intro { display: flex; flex-direction: column; gap: 16px; }
.intro.wide { max-width: 820px; }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--acct); }
.sec-dark .eyebrow, .sec-photo .eyebrow { color: var(--acc); }
.intro h2 { font-size: 54px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; }
.sec-white .intro h2, .sec-paper .intro h2 { color: var(--ink); }
.intro p { font-size: 19px; line-height: 1.55; color: var(--body); max-width: 560px; }
h3 { font-size: 20px; font-weight: 600; }
.sec p { font-size: 16.5px; line-height: 1.5; }
.sec-white p, .sec-paper p { color: var(--body); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.split-wl { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ruled > div { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 2px solid var(--ink); min-width: 0; }
.ruled-light > div { gap: 6px; padding-top: 18px; border-top-color: var(--chalk); }
.ruled-light h3 { font-size: 19px; }
.ruled-light p { font-size: 16px; }

/* Problem: the messy chat */
.mess { position: relative; background: #EFEAE2; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; height: 460px; overflow: hidden; }
.mess .b { font-size: 17px; margin-left: var(--x); box-shadow: 0 16px 32px -16px color-mix(in srgb, var(--ink) 35%, transparent); max-width: none; }
.unread { position: absolute; top: 18px; right: 18px; font-family: var(--wa); font-size: 13px; font-weight: 600; color: #fff; background: #25D366; padding: 4px 10px; border-radius: 99px; }

/* With Mabel */
.fixes { gap: 28px; }
.fixes > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fix-photo { position: relative; height: 340px; border-radius: 20px; overflow: hidden; margin-bottom: 12px; }
.fix-photo img { width: 100%; height: 100%; object-fit: cover; }
.fix-photo::after { content: ''; position: absolute; inset: auto 0 0 0; height: 70%; background: linear-gradient(to top, color-mix(in srgb, var(--dk) 85%, transparent), transparent); }
.fix-chat { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.fix-chat .b { box-shadow: 0 16px 32px -14px rgba(0,0,0,.6); }
.was { font-size: 14px; font-weight: 600; color: var(--soft); }
.now { font-size: 28px; line-height: 1.1; letter-spacing: -0.025em; color: var(--acc); }
.fixes p { font-size: 17px; color: var(--soft); }

/* Wayloop account card */
.account { background: #fff; border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--ink) 35%, transparent), 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent); }
.acc-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: #5B6B68; }
.secure-pill { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #1F7A57; }
.acc-title { display: flex; flex-direction: column; gap: 4px; }
.acc-title b { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.acc-title span, .acc-rows span { font-size: 14px; color: #5B6B68; }
.acc-rows { list-style: none; margin: 0; padding: 0; }
.acc-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #E6E9E6; }
.acc-rows li div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acc-rows b { font-size: 15px; font-weight: 600; color: var(--ink); }
.acc-rows span { font-size: 13.5px; }
.acc-rows em { font-style: normal; font-size: 12.5px; font-weight: 600; color: #1F7A57; background: #E6F2EC; padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.acc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.acc-chips span { font-size: 13px; font-weight: 500; color: var(--ink); background: var(--l2); padding: 6px 11px; border-radius: 99px; }

/* Polaroid cards with a bubble on top (Made for, Tag @Mabel) */
.prints { gap: 24px; }
.print-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 0 10px; min-width: 0; }
.print { background: #fff; padding: 11px; height: 420px; transform: rotate(var(--r)); box-shadow: 0 30px 60px -25px color-mix(in srgb, var(--ink) 32%, transparent); }
.print.tall { height: 440px; }
.print img { width: 100%; height: 100%; object-fit: cover; }
.print-card > .b, .print-card .pair { position: relative; z-index: 1; margin: -90px 0 0 30px; }
.b-quote { max-width: 320px; box-shadow: 0 18px 36px -16px color-mix(in srgb, var(--ink) 30%, transparent); }
.pair { display: flex; flex-direction: column; gap: 10px; margin-top: -150px !important; }
.pair .b:nth-child(2) { margin-left: 90px; }
.print-card h3 { margin-top: 40px; font-size: 24px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.print-card p { font-size: 17px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 22px; background: #fff; min-width: 0; }
.num { font-size: 44px; font-weight: 600; line-height: 1; color: var(--acct); }
.steps h3 { font-size: 22px; font-weight: 700; }
.steps p { font-size: 17px; }

/* What she does (photo) */
.sec-photo { overflow: hidden; }
.photo-shade { position: absolute; inset: 0; background: color-mix(in srgb, var(--dk) 82%, transparent); }
.sec-photo .wrap { position: relative; }
.feats { gap: 48px 40px; }
.feats > div { display: flex; gap: 14px; min-width: 0; }
.feats svg { flex: 0 0 auto; margin-top: 3px; }
.feats > div > div { display: flex; flex-direction: column; gap: 6px; }
.feats h3 { font-size: 19px; font-weight: 700; }
.feats p { color: var(--soft); }

/* Waitlist */
.sec-waitlist { overflow: hidden; padding: 140px 0 160px; }
.waitlist-shade { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--dk) 92%, transparent), color-mix(in srgb, var(--dk) 60%, transparent)); }
.sec-waitlist .wrap { position: relative; gap: 22px; }
.sec-waitlist h2 { font-size: 64px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; max-width: 760px; }
.sec-waitlist .lede { max-width: 560px; }
.ask { display: flex; align-items: flex-end; gap: 10px; margin-top: 20px; }
.ask svg { flex: 0 0 auto; }
.ask .b { font-size: 18px; padding: 12px 16px; border-radius: 20px; border-top-left-radius: 6px; max-width: 440px; }
.ask .b b { font-size: 13.5px; }
.join { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 620px; background: #F6F5F3; border-radius: 99px; padding: 8px 8px 8px 22px; }
.join input[type=tel] { flex: 1; min-width: 0; font-family: var(--wa); font-size: 18px; border: 0; background: transparent; color: #111B21; outline: none; }
.join:focus-within { outline: 2px solid var(--acc); outline-offset: 3px; }
.join[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-msg:empty { display: none; }
.form-msg { font-size: 17px; }
.form-msg.ok { color: var(--acc); font-size: 20px; font-weight: 600; }
.form-msg.err { color: #FFB59E; }
.fine { font-size: 13.5px; color: var(--soft); }

/* Footer */
.footer { font-size: 15px; color: var(--soft); padding: 36px 0 48px; }
.footer .wrap { display: flex; flex-direction: column; gap: 22px; }
.footer-top, .footer-legal { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.footer-legal { padding-top: 20px; border-top: 1px solid rgba(244,241,234,.14); font-size: 13.5px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--soft); text-underline-offset: 3px; }
.footer-links a:hover { color: var(--acc); }

/* ── Narrower screens ────────────────────────────── */
@media (max-width: 1280px) {
  :root { --pad: 56px; }
  .nav { left: 48px; right: 48px; }
  .hero-copy { left: 48px; width: 520px; }
  .hero h1 { font-size: 64px; }
  .hero-chat { left: 620px; right: 48px; }
  .polaroids { left: 36px; }
}
@media (max-width: 1024px) {
  :root { --pad: 32px; }
  .hero { height: auto; display: flex; flex-direction: column; padding: 110px 32px 40px; gap: 36px; }
  .nav { left: 32px; right: 32px; }
  .hero-copy, .hero-chat { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; }
  .hero-chat { height: 560px; }
  .polaroids { display: none; }
  .split, .split-wl { grid-template-columns: 1fr; gap: 40px; }
  .cols3, .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro h2 { font-size: 44px; }
}
@media (max-width: 640px) {
  :root { --pad: 20px; }
  .hero { padding: 96px 20px 32px; }
  .nav { left: 20px; right: 20px; padding: 20px 0; }
  .nav-links a:not(.btn) { display: none; }
  .brand-word { font-size: 22px; }
  .hero h1 { font-size: 42px; }
  .lede, .intro p { font-size: 17px; }
  .hero-chat { height: 520px; }
  .m-them img { width: 200px; height: 130px; }
  .m-text { font-size: 15.5px; }
  .sec { padding: 72px 0 80px; }
  .sec .wrap { gap: 40px; }
  .intro h2 { font-size: 34px; }
  .cols3, .cols4 { grid-template-columns: 1fr; }
  .mess { height: auto; padding: 52px 18px 22px; }
  .mess .b { font-size: 15.5px; margin-left: calc(var(--x) / 2); }
  .print, .print.tall { height: 340px; }
  .print-card { padding: 0 6px; }
  .sec-waitlist { padding: 88px 0 96px; }
  .sec-waitlist h2 { font-size: 40px; }
  .join { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 10px; }
  .join input[type=tel] { padding: 10px 12px; }
  .join .btn { justify-content: center; }
}
