/* MaidTempo landing page — mobile-first */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --primary: #652CD1;
  --primary-hover: #5522B8;
  --accent: #8B5CF6;
  --light: #A28BF7;
  --lighter: #C4B1FF;
  --dark: #1A1033;
  --dark-2: #251845;
  --ink: #1A1033;
  --ink-2: #4A4263;
  --muted: #5F5878;
  --line: #E4DEF3;
  --bg: #FFFFFF;
  --tint: #F6F3FE;
  --ok: #15803D;
  --warn: #B45309;
  --err: #B91C1C;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(26, 16, 51, .06), 0 8px 24px rgba(26, 16, 51, .08);
  --shadow-lg: 0 30px 80px rgba(10, 4, 30, .45);
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--primary);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 780px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 10px 20px;
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn--lg { min-height: 52px; padding: 12px 26px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); color: #fff; }
.btn--ghost { color: #fff; border-color: rgba(196, 177, 255, .5); }
.btn--ghost:hover { color: #fff; border-color: var(--lighter); background: rgba(196, 177, 255, .1); }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { background: var(--tint); color: var(--primary-hover); }
.btn:hover .icon { transform: translateX(2px); }
.btn .icon { transition: transform .2s; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 16, 51, .92);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(196, 177, 255, .12);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.brand img { border-radius: 9px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px;
  background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--dark); border-bottom: 1px solid rgba(196, 177, 255, .15);
  padding: 8px 20px 20px;
}
.site-nav ul { display: flex; flex-direction: column; gap: 4px; }
.site-nav a:not(.btn) { display: block; padding: 12px 4px; color: #E9E3FF; text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: #fff; }
.site-nav .btn { margin-top: 8px; width: 100%; }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; padding: 0; background: none; border: 0; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 28px; }
  .site-nav a:not(.btn) { padding: 8px 0; }
  .site-nav .btn { margin: 0; width: auto; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 48px 0 64px; }
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background:
    radial-gradient(40% 50% at 80% 20%, rgba(139, 92, 246, .45), transparent 70%),
    radial-gradient(35% 45% at 10% 80%, rgba(101, 44, 209, .45), transparent 70%);
}
.hero__grid { position: relative; display: grid; gap: 48px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border: 1px solid rgba(196, 177, 255, .35); border-radius: 999px;
  background: rgba(196, 177, 255, .08); color: #E9E3FF; font-size: .875rem; font-weight: 500;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lighter); box-shadow: 0 0 0 4px rgba(196, 177, 255, .2); }
.hero h1 { margin-top: 20px; font-size: clamp(2.25rem, 7vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; }
.grad { background: linear-gradient(90deg, #C4B1FF, #A28BF7 60%, #D9CCFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 20px; max-width: 34rem; font-size: 1.125rem; color: #DCD3F7; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__cta .btn { flex: 1 1 auto; }
.hero__notes { margin-top: 28px; display: grid; gap: 10px; color: #CFC4F2; font-size: .9375rem; }
.hero__notes li { display: flex; gap: 10px; align-items: flex-start; }
.hero__notes .icon { color: var(--lighter); margin-top: 2px; }

@media (min-width: 560px) { .hero__cta .btn { flex: 0 0 auto; } }
@media (min-width: 1000px) {
  .hero { padding: 88px 0 104px; }
  .hero__grid { grid-template-columns: 1fr 1.08fr; align-items: center; gap: 56px; }
}

/* Product screenshots */
.hero__visual { margin: 0; position: relative; }
.shots { position: relative; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12); }
.browser__bar { display: flex; gap: 6px; padding: 9px 12px; background: #F1EEF9; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D5CDEB; }
.browser img, .device img { width: 100%; height: auto; }
.device { width: 100%; max-width: 280px; margin: 0 auto; padding: 8px; border-radius: 36px; background: #120A26; box-shadow: 0 24px 60px rgba(10, 4, 30, .45); }
.device img { border-radius: 28px; }
.device--hero { display: none; }
.device--framed, .gallery .device--framed { padding: 0; background: none; box-shadow: none; border-radius: 0; max-width: 300px; }
.device--framed img { border-radius: 0; filter: drop-shadow(0 20px 40px rgba(10, 4, 30, .35)); }
.sample-tag {
  display: inline-block; margin-top: 14px; padding: 4px 10px; border-radius: 999px;
  background: rgba(196, 177, 255, .12); color: #DCD3F7; font-size: .8125rem; font-weight: 500;
}
@media (min-width: 640px) {
  .shots { padding-right: 70px; padding-bottom: 40px; }
  .device--hero { display: block; position: absolute; right: 0; bottom: 0; width: 34%; max-width: 190px; padding: 5px; border-radius: 24px; }
  .device--hero img { border-radius: 19px; aspect-ratio: 554 / 900; object-fit: cover; object-position: top; }
}

/* Sections */
.section { padding: 72px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.section__head { max-width: 44rem; margin-bottom: 40px; }
.section h2 { font-size: clamp(1.75rem, 4.6vw, 2.5rem); font-weight: 800; }
.section__lead { margin-top: 14px; font-size: 1.0625rem; color: var(--ink-2); }
.eyebrow { margin-bottom: 10px; color: var(--primary); font-weight: 700; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow--light { color: var(--lighter); }
@media (min-width: 1000px) { .section { padding: 104px 0; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.card p { color: var(--ink-2); }
.card__icon, .feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px;
  background: #EDE5FF; color: var(--primary);
}
.card__icon .icon, .feature__icon .icon { width: 22px; height: 22px; }

.audience { display: grid; gap: 16px; }
@media (min-width: 760px) { .audience { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.pain__body { display: grid; gap: 16px; max-width: 44rem; font-size: 1.125rem; color: var(--ink-2); }
.pain__punch { font-weight: 700; color: var(--ink); font-size: 1.25rem; }
@media (min-width: 960px) { .pain { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } .pain .section__head { margin-bottom: 0; } }

/* Split (WhatsApp) */
.split { display: grid; gap: 40px; }
.section__lead--light { color: #DCD3F7; }
.split__visual { margin: 0; text-align: center; }
.split__note { margin-top: 20px; color: #DCD3F7; }
.wa-msg {
  margin-top: 28px; max-width: 26rem; padding: 16px 18px; border-radius: 4px 16px 16px 16px;
  background: #F3EEFF; color: var(--ink); font-size: .9375rem; line-height: 1.55; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.wa-msg p + p { margin-top: 2px; }
.wa-msg b { color: var(--primary); }
.wa-msg small { display: block; margin-top: 10px; color: var(--muted); font-size: .75rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; } }

/* Gallery */
.gallery { display: grid; gap: 40px; margin-top: 56px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 16px; color: var(--ink-2); max-width: 40rem; }
.gallery figcaption b { color: var(--ink); }
.gallery .browser { box-shadow: var(--shadow); border-color: var(--line); }
.gallery .device { max-width: 260px; box-shadow: var(--shadow); }
.gallery figure:not(.gallery__wide) figcaption { text-align: center; margin-left: auto; margin-right: auto; max-width: 22rem; }
.gallery__note { margin-top: 24px; color: var(--muted); font-size: .875rem; }
@media (min-width: 900px) { .gallery { grid-template-columns: 1fr 300px; gap: 48px; align-items: start; } }

.features { display: grid; gap: 28px 24px; }
.feature h3 { font-size: 1.125rem; margin-bottom: 6px; }
.feature p { color: var(--ink-2); }
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); gap: 40px 32px; } }

/* Steps */
.section--dark::before {
  content: ""; position: absolute; inset: auto -10% -40% 40%; height: 90%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(139, 92, 246, .3), transparent 70%);
}
.section--dark .container { position: relative; }
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700;
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Waitlist */
.waitlist { display: grid; gap: 40px; }
.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.checks .icon { color: var(--primary); margin-top: 3px; }
@media (min-width: 960px) { .waitlist { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }

.form { display: grid; gap: 18px; padding: 24px; }
@media (min-width: 560px) { .form { padding: 32px; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9375rem; }
.optional { font-weight: 400; color: var(--muted); }
.req { color: var(--err); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #9C93B8; border-radius: var(--radius-sm);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234A4263' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus-visible, .field select:focus-visible { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(101, 44, 209, .3); border-radius: var(--radius-sm); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field__error, .card .field__error { color: var(--err); font-size: .875rem; font-weight: 500; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--check { grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--primary); }
.field--check label { font-weight: 400; color: var(--ink-2); font-size: .9375rem; }
.form__turnstile:empty { display: none; }
.form__status { font-weight: 600; min-height: 1.5em; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }
.form.is-done .field, .form.is-done [data-submit], .form.is-done .form__turnstile, .form.is-done > .field__error { display: none; }
.form.is-done .form__status { font-size: 1.125rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; border-radius: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); }

/* Final CTA */
.cta-band { background: linear-gradient(135deg, #652CD1, #4B1FA3 60%, #1A1033); color: #fff; padding: 72px 0; text-align: center; }
.cta-band__inner { display: grid; justify-items: center; gap: 24px; }
.cta-band img { border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.cta-band h2 { font-size: clamp(1.75rem, 4.6vw, 2.5rem); font-weight: 800; max-width: 22ch; }
.cta-band__lead { margin-top: -12px; color: #E9E3FF; font-size: 1.125rem; }

/* Footer */
.site-footer { background: var(--dark); color: #CFC4F2; padding: 40px 0; font-size: .9375rem; }
.site-footer__inner { display: grid; gap: 20px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: #E9E3FF; }
.site-footer a:hover { color: #fff; }
.brand--footer { font-size: 1.0625rem; }
.brand--footer img { border-radius: 7px; }
.site-footer__legal { color: #B8ACDF; }
@media (min-width: 860px) { .site-footer__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; } .site-footer nav { justify-self: center; } }

/* Reveal on scroll (only when JS + motion allowed) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Simple pages (privacy, 404) */
.page { padding: 56px 0 80px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; margin-bottom: 8px; }
.page h2 { font-size: 1.375rem; margin: 36px 0 10px; }
.page p, .page li { color: var(--ink-2); }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 1.25rem; }
.page li + li { margin-top: 6px; }
.page .meta { color: var(--muted); }
