/* OneiPost marketing */
:root {
  --bg: #faf7f2;
  --bg-elev: #ffffff;
  --ink: #1a1814;
  --muted: #6b6560;
  --line: #e6dfd4;
  --brand: #0a3d36;
  --brand-2: #0f5248;
  --accent: #ff4d3a;
  --accent-soft: #ffe3de;
  --hero-glow:
    radial-gradient(90% 70% at 88% 8%, #c9ebe3 0%, transparent 55%),
    radial-gradient(70% 55% at 8% 18%, #ffd8d1 0%, transparent 50%),
    linear-gradient(165deg, #fff9f2 0%, #f3faf7 42%, #faf7f2 100%);
  --shadow: 0 22px 55px rgba(26, 24, 20, 0.08);
  --radius: 22px;
  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --max: 1140px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #101614;
  --bg-elev: #18211e;
  --ink: #f4f1ea;
  --muted: #a8b3ae;
  --line: #2c3a35;
  --brand: #3dba9f;
  --brand-2: #2fa88f;
  --accent: #ff7a68;
  --accent-soft: #3d241f;
  --hero-glow:
    radial-gradient(90% 70% at 88% 0%, #1b3d35 0%, transparent 55%),
    radial-gradient(70% 55% at 5% 25%, #3d241f 0%, transparent 50%),
    linear-gradient(165deg, #121a17 0%, #101614 100%);
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.05rem;
  min-height: 100dvh;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .logo-word {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0;
  font-weight: 700;
}

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 0.85rem 0; position: relative;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-weight: 700; flex-shrink: 0;
}
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.logo-word { font-size: 1.3rem; }
.nav-links {
  display: flex; align-items: center; gap: 1rem;
  color: var(--muted); font-weight: 650; font-size: 0.95rem;
  flex-wrap: wrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 0.45rem; flex-shrink: 0; }
.theme-toggle, .menu-toggle {
  border: 1px solid var(--line); background: var(--bg-elev);
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.menu-toggle { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border-radius: 999px; padding: 0.75rem 1.15rem; font-weight: 700;
  border: 1px solid transparent; transition: transform .2s ease, background .2s ease;
  cursor: pointer; font: inherit; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { background: var(--bg-elev); border-color: var(--line); color: var(--ink); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-lg { padding: 0.95rem 1.4rem; font-size: 1.02rem; }

/* Hero — fits laptop viewports; no forced tall min-height */
.hero {
  background: var(--hero-glow);
  padding: clamp(1.5rem, 3.5vh, 2.75rem) 0 clamp(2rem, 4vh, 3.25rem);
}
.hero-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 800; font-size: 0.82rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 0.85rem;
}
.hero h1 {
  font-size: clamp(1.7rem, 3.2vw + 0.4rem, 2.65rem);
  margin-bottom: 0.85rem;
  max-width: 18ch;
}
.hero .lede {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  margin: 0 0 1.25rem;
  max-width: 38ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }

.hero-stage {
  border-radius: 28px;
  background:
    radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 55%),
    radial-gradient(70% 50% at 0% 100%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 50%),
    var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
}
.hero-stage-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.social-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  flex: 1;
}
.social-tile {
  border-radius: 18px;
  min-height: clamp(88px, 14vh, 112px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  padding: 0.65rem 0.45rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.1), inset 0 0 0 1px rgba(255,255,255,.15);
}
.social-tile .s-logo {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.92);
  border-radius: 12px;
}
.social-tile .s-logo img {
  width: 22px; height: 22px;
  filter: none;
}
.social-tile small {
  font-family: var(--font-body); font-weight: 650;
  font-size: 0.68rem; opacity: 0.92; line-height: 1.25;
}
.social-tile:nth-child(1) { background: linear-gradient(145deg, #f58529, #dd2a7b 52%, #8134af); }
.social-tile:nth-child(2) { background: linear-gradient(145deg, #3b82f6, #1877f2 40%, #0d65d9); }
.social-tile:nth-child(3) { background: linear-gradient(145deg, #ff4d4d, #ff0000 45%, #b00000); }
.social-tile:nth-child(4) { background: linear-gradient(145deg, #2f80d0, #0a66c2 50%, #004182); }
.social-tile:nth-child(5) { background: linear-gradient(145deg, #2a2a2a, #111); }
.social-tile:nth-child(6) { background: linear-gradient(145deg, #25f4ee, #000 42%, #fe2c55); }
.hero-queue {
  background: color-mix(in srgb, var(--bg) 65%, var(--bg-elev));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  font-size: 0.92rem;
}
.hero-queue strong { color: var(--accent); }

@keyframes fadeup {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.hero-copy > * { animation: fadeup 0.7s ease both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }

section { padding: 4.25rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.65rem; }
.section-head p { margin: 0; color: var(--muted); }
.kicker {
  display: inline-block; color: var(--brand); font-weight: 800;
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.benefits {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.benefit {
  position: relative;
  overflow: hidden;
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem 1.25rem;
  isolation: isolate;
}
.benefit-mark {
  position: absolute;
  inset: auto -0.4rem -0.6rem auto;
  width: 7.5rem;
  height: 7.5rem;
  pointer-events: none;
  z-index: 0;
  opacity: 0.11;
}
html[data-theme="dark"] .benefit-mark { opacity: 0.18; }
.benefit-mark img {
  position: absolute;
  width: 3.4rem;
  height: 3.4rem;
  object-fit: contain;
}
.benefit-mark img:nth-child(1) { right: 0.2rem; bottom: 2.4rem; transform: rotate(-12deg); }
.benefit-mark img:nth-child(2) { right: 2.6rem; bottom: 0.35rem; transform: rotate(8deg); width: 2.6rem; height: 2.6rem; }
.benefit-mark img:nth-child(3) { right: 0.1rem; bottom: 0.15rem; transform: rotate(18deg); width: 2.2rem; height: 2.2rem; opacity: 0.85; }
.benefit-icon {
  position: relative;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  background: color-mix(in srgb, var(--bg) 70%, var(--accent-soft));
  border: 1px solid var(--line);
}
.benefit-icon img { width: 1.45rem; height: 1.45rem; }
.benefit h3,
.benefit p {
  position: relative;
  z-index: 1;
}
.benefit h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.benefit p { margin: 0; color: var(--muted); }

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.75rem;
  width: 100%;
}
.chip {
  border: 1px solid var(--line); background: var(--bg-elev);
  border-radius: 16px; padding: 0.9rem 1rem;
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.95rem; color: var(--ink); font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,.03);
  min-width: 0;
}
.chip img {
  width: 28px; height: 28px; flex-shrink: 0;
  object-fit: contain;
}

.pricing {
  display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.price-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.price-card.featured {
  border-color: var(--brand); box-shadow: var(--shadow); position: relative;
}
.price-card .tag {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--accent-soft); color: var(--accent);
  font-size: 0.75rem; font-weight: 800; padding: 0.28rem 0.6rem; border-radius: 999px;
}
.price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.price small { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.price-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.price-card li { margin: 0.35rem 0; }

/* Contact — equal columns, no uneven gap */
.split {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.panel, .cta-band {
  min-height: 100%;
}
.panel {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); padding: 1.6rem;
  display: flex; flex-direction: column;
}
.panel h3 { margin: 0.35rem 0 1rem; }
.panel p, .panel li { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.95rem; }
.contact-list strong { display: block; color: var(--ink); font-size: 0.86rem; margin-bottom: 0.15rem; }

/* FAQ centered */
#faq .wrap {
  max-width: 760px;
  margin-inline: auto;
}
#faq .section-head { margin-bottom: 1.5rem; }
.faq-list { display: grid; gap: 0.75rem; width: 100%; }
.faq-item {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 16px; padding: 0.15rem 1rem; text-align: left;
}
.faq-item summary {
  cursor: pointer; font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; padding: 1rem 0; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 1rem; color: var(--muted); }

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(255,255,255,.12), transparent 55%),
    linear-gradient(135deg, var(--brand), #083c33);
  color: #fff;
  border-radius: calc(var(--radius) + 8px);
  padding: 1.8rem 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(140px, 0.85fr);
  gap: 1rem;
  align-items: center;
  isolation: isolate;
  min-height: 100%;
}
.cta-band-marks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}
.cta-band-marks img {
  position: absolute;
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.cta-band-marks img:nth-child(1) { left: 8%; top: 12%; transform: rotate(-18deg); width: 4rem; height: 4rem; }
.cta-band-marks img:nth-child(2) { left: 28%; bottom: 10%; transform: rotate(12deg); }
.cta-band-marks img:nth-child(3) { right: 38%; top: 8%; transform: rotate(8deg); width: 2.6rem; height: 2.6rem; }
.cta-band-marks img:nth-child(4) { right: 18%; bottom: 14%; transform: rotate(-10deg); width: 3.6rem; height: 3.6rem; }
.cta-band-marks img:nth-child(5) { left: 48%; top: 42%; transform: rotate(20deg); width: 2.4rem; height: 2.4rem; }
.cta-band-marks img:nth-child(6) { right: 6%; top: 28%; transform: rotate(-6deg); }
.cta-band-marks img:nth-child(7) { left: 16%; top: 58%; transform: rotate(14deg); width: 2.2rem; height: 2.2rem; }
.cta-band-marks img:nth-child(8) { right: 28%; bottom: 8%; transform: rotate(-16deg); width: 2.8rem; height: 2.8rem; }
.cta-band-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  min-width: 0;
}
.cta-band h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); max-width: 18ch; }
.cta-band p { margin: 0.45rem 0 0; opacity: 0.92; max-width: 34ch; }
.cta-band .btn-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.cta-social-float {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  justify-items: center;
}
.cta-bubble {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  animation: floaty 4.5s ease-in-out infinite;
}
.cta-bubble:nth-child(2) { animation-delay: .35s; }
.cta-bubble:nth-child(3) { animation-delay: .7s; }
.cta-bubble:nth-child(4) { animation-delay: .2s; }
.cta-bubble:nth-child(5) { animation-delay: .55s; }
.cta-bubble:nth-child(6) { animation-delay: .9s; }
.cta-bubble img { width: 1.45rem; height: 1.45rem; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.auth-shell {
  min-height: calc(100dvh - 5rem);
  display: grid; place-items: center;
  padding: 2rem 0 3rem; background: var(--hero-glow);
}
.auth-card {
  width: min(100% - 1.5rem, 440px);
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px); padding: 1.7rem;
  box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.85rem; margin: 0.85rem 0 0.35rem; }
.auth-card .lead { color: var(--muted); margin: 0 0 1.25rem; }
.field { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; }
.field label { font-size: 0.9rem; font-weight: 700; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 0.85rem 0.95rem; font: inherit; background: var(--bg); color: var(--ink);
  width: 100%;
}
.auth-card .btn { width: 100%; margin-top: 0.35rem; }
.auth-alt { margin-top: 1rem; text-align: center; color: var(--muted); font-size: 0.95rem; }
.auth-alt a { color: var(--brand); font-weight: 750; text-decoration: underline; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 2rem; margin-top: 0.5rem;
}
.footer-grid {
  display: grid; gap: 1.5rem; grid-template-columns: 1.4fr 1fr 1fr;
}
.site-footer h4 { margin: 0 0 0.6rem; font-family: var(--font-display); }
.site-footer a, .site-footer p { color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.legal {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.9rem;
}

.wa-float {
  position: fixed; right: max(0.85rem, env(safe-area-inset-right));
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #25d366; color: #08361b; font-weight: 800;
  padding: 0.75rem 1rem; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}
.wa-float svg { width: 22px; height: 22px; }

@media (max-height: 820px) and (min-width: 981px) {
  .hero { padding: 1.35rem 0 2rem; }
  .social-tile { min-height: 86px; font-size: 0.82rem; }
  .social-tile .s-logo { width: 34px; height: 34px; }
  .social-tile .s-logo img { width: 18px; height: 18px; }
  .hero-stage { padding: 1rem; }
}

@media (max-width: 980px) {
  .hero-grid, .benefits, .pricing, .split, .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg-elev); border-bottom: 1px solid var(--line);
    padding: 1rem 1rem 1.15rem; z-index: 40;
    max-height: min(70vh, 420px);
    overflow-y: auto;
  }
  .menu-toggle { display: grid; }
  .nav-actions .btn-ghost { display: none; }
  .social-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-tile { min-height: 100px; }
  .wa-float span { display: none; }
  .hero h1 { max-width: none; }
  .hero .lede { max-width: none; }
  .split { align-items: stretch; }
  .panel, .cta-band { min-height: 0; }
  .cta-band {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .cta-social-float {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: 100%;
  }
  .cta-bubble { width: 2.7rem; height: 2.7rem; border-radius: 14px; }
  .cta-bubble img { width: 1.25rem; height: 1.25rem; }
  .cta-band h2 { max-width: none; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 1.15rem, var(--max)); }
  section { padding: 3.2rem 0; }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn-lg { width: 100%; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
}
