/* HWeb landing — same tokens as the product, with more room to breathe. */
.landing { background: #fbfaf8; color: var(--body-strong); overflow-x: hidden; }
.landing main { position: relative; z-index: 1; }
.landing h1, .landing h2 { font-family: var(--font-display); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.landing h2 em, .landing h1 em { font-style: italic; background: linear-gradient(100deg, #6f5aa8, #3f8f7a 55%, #c27a52); -webkit-background-clip: text; background-clip: text; color: transparent; }
.landing code { background: var(--surface-strong); padding: 1px 6px; border-radius: 6px; font-size: .88em; }

/* Aurora background */
.lp-aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lp-aurora span { position: absolute; width: 46vw; height: 46vw; border-radius: 50%; filter: blur(90px); opacity: .42; animation: lp-drift 26s ease-in-out infinite alternate; }
.lp-aurora span:nth-child(1) { background: var(--gradient-lavender); top: -14vw; left: -8vw; }
.lp-aurora span:nth-child(2) { background: var(--gradient-mint); top: 8vw; right: -14vw; animation-duration: 31s; }
.lp-aurora span:nth-child(3) { background: var(--gradient-peach); bottom: -20vw; left: 30vw; animation-duration: 36s; opacity: .3; }
@keyframes lp-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vw, 4vw, 0) scale(1.12); } }

/* Header */
.lp-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(251, 250, 248, .72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.lp-header.is-scrolled { border-bottom-color: var(--hairline); box-shadow: 0 6px 24px rgba(12, 10, 9, .05); }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.app-body a.lp-brand { color: var(--ink); text-decoration: none; }
.lp-nav { display: flex; gap: 22px; margin-left: 12px; }
.app-body .lp-nav a { color: var(--body); text-decoration: none; font-size: 14.5px; }
.app-body .lp-nav a:hover { color: var(--ink); }
.lp-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.app-body a.lp-login { color: var(--body-strong); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; }

/* Hero */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1240px; margin: 0 auto; padding: clamp(48px, 9vh, 110px) clamp(16px, 4vw, 48px) clamp(40px, 7vh, 90px); }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--hairline); font-size: 13.5px; color: var(--body-strong); box-shadow: 0 2px 10px rgba(12, 10, 9, .04); }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: #3f8f7a; box-shadow: 0 0 0 0 rgba(63, 143, 122, .5); animation: lp-ping 2.4s infinite; }
@keyframes lp-ping { 0% { box-shadow: 0 0 0 0 rgba(63, 143, 122, .45); } 70% { box-shadow: 0 0 0 9px rgba(63, 143, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 143, 122, 0); } }
.lp-hero h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: .98; margin: 22px 0 22px; }
.lp-lead { font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.6; color: var(--body); max-width: 560px; margin: 0 0 30px; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.app-body .btn.lp-cta { gap: 8px; box-shadow: 0 10px 30px rgba(12, 10, 9, .18); }
.app-body .btn.lp-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(12, 10, 9, .22); }
.app-body .btn.lp-cta .i { transition: transform .2s; }
.app-body .btn.lp-cta:hover .i { transform: translateX(3px); }
.lp-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--muted); font-size: 14px; }
.lp-proof li { display: inline-flex; align-items: center; gap: 7px; }
.lp-proof .i { color: #3f8f7a; }

/* Demo window */
.lp-stage { position: relative; perspective: 1400px; }
.lp-window { position: relative; background: rgba(255, 255, 255, .92); border: 1px solid var(--hairline); border-radius: 22px; box-shadow: 0 40px 90px rgba(12, 10, 9, .14), 0 2px 0 rgba(255, 255, 255, .7) inset; overflow: hidden; transform: rotateY(-7deg) rotateX(4deg); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.lp-window-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--hairline-soft); font-size: 13px; color: var(--body-strong); }
.lp-window-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--hairline-strong); }
.lp-window-bar b { margin-left: 10px; font-weight: 600; }
.lp-live { margin-left: auto; font-style: normal; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: rgba(63, 143, 122, .12); color: #2f6f5f; }
.lp-chat { display: flex; flex-direction: column; gap: 14px; padding: 22px 20px; min-height: 320px; }
.lp-msg { max-width: 88%; font-size: 14.5px; line-height: 1.55; animation: hw-rise .4s ease both; }
.lp-user { align-self: flex-end; background: var(--surface-strong); padding: 11px 15px; border-radius: 18px 18px 4px 18px; color: var(--ink); min-height: 1em; }
.lp-user:empty { display: none; }
.lp-bot { display: flex; gap: 10px; align-items: flex-start; color: var(--body-strong); }
.lp-bot p { margin: 2px 0 0; }
.lp-status { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.lp-approval { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #f0d9c4; background: #fff8f1; border-radius: 14px; font-size: 13px; animation: hw-pop .35s ease both; }
.lp-approval div { flex: 1; display: grid; gap: 2px; }
.lp-approval small { color: var(--muted); }
.lp-approval b { background: var(--ink); color: #fff; padding: 7px 11px; border-radius: 10px; font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.lp-composer { display: flex; align-items: center; gap: 12px; margin: 0 16px 16px; padding: 12px 12px 12px 16px; border: 1px solid var(--hairline); border-radius: 16px; color: var(--muted); font-size: 14px; background: #fff; }
.lp-composer span:first-child { flex: 1; }
.lp-send { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: #fff; }
.lp-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: rgba(255, 255, 255, .95); border: 1px solid var(--hairline); border-radius: 16px; box-shadow: 0 18px 40px rgba(12, 10, 9, .12); font-size: 13px; animation: lp-float 7s ease-in-out infinite; }
.lp-float div { display: grid; }
.lp-float small { color: var(--muted); font-size: 12px; }
.lp-float-a { left: -26px; bottom: 54px; }
.lp-float-b { right: -18px; top: -20px; animation-delay: -3s; }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Band */
.lp-band { max-width: 900px; margin: 0 auto; padding: 8px 24px 40px; text-align: center; color: var(--muted); font-size: 15px; }

/* Sections */
.lp-section { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 9vh, 110px) clamp(16px, 4vw, 48px); }
.lp-section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.lp-section-head h2, .lp-split-copy h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; margin: 0 0 16px; }
.lp-section-head p, .lp-split-copy > p { font-size: 17.5px; line-height: 1.6; color: var(--body); margin: 0; }
.lp-center { text-align: center; margin-top: 40px; }

.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.lp-step { position: relative; padding: 30px 26px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--hairline); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.lp-step::before { content: ''; position: absolute; inset: auto -40px -60px auto; width: 180px; height: 180px; border-radius: 50%; filter: blur(30px); opacity: .55; }
.lp-step.mint::before { background: var(--gradient-mint); } .lp-step.lav::before { background: var(--gradient-lavender); } .lp-step.peach::before { background: var(--gradient-peach); }
.lp-step:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(12, 10, 9, .08); }
.lp-step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 18px; }
.lp-step h3, .lp-feature h3, .lp-sec h3 { font-size: 19px; margin: 0 0 8px; color: var(--ink); letter-spacing: -0.01em; }
.lp-step p, .lp-feature p, .lp-sec p { margin: 0; color: var(--body); line-height: 1.6; font-size: 15.5px; position: relative; }

.lp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-feature { padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .78); border: 1px solid var(--hairline); transition: transform .25s, box-shadow .25s, background .25s; }
.lp-feature:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 18px 44px rgba(12, 10, 9, .07); }
.lp-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 16px; color: var(--ink); }
.lp-icon.sky { background: var(--gradient-sky); } .lp-icon.lav { background: var(--gradient-lavender); } .lp-icon.peach { background: var(--gradient-peach); }
.lp-icon.mint { background: var(--gradient-mint); } .lp-icon.rose { background: var(--gradient-rose); }

.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.lp-checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.lp-checks li { display: flex; gap: 10px; align-items: center; font-size: 16px; color: var(--body-strong); }
.lp-checks .i { color: #3f8f7a; }
.lp-team { display: grid; gap: 12px; padding: 26px; border-radius: 28px; background: linear-gradient(140deg, rgba(200, 184, 224, .45), rgba(167, 229, 211, .4) 60%, rgba(244, 197, 168, .4)); }
.lp-team-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(255, 255, 255, .9); border-radius: 16px; box-shadow: 0 8px 22px rgba(12, 10, 9, .06); }
.lp-team-card div { flex: 1; display: grid; }
.lp-team-card small { color: var(--muted); font-size: 12.5px; }
.lp-team-card i { font-style: normal; }
.lp-team-orb { margin-top: 6px; }
.lp-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 700; color: var(--ink); }
.lp-avatar.mint { background: var(--gradient-mint); } .lp-avatar.lav { background: var(--gradient-lavender); } .lp-avatar.peach { background: var(--gradient-peach); }

.lp-dark { max-width: none; background: var(--surface-dark); color: var(--on-dark); border-radius: 40px; margin: 0 clamp(8px, 2vw, 24px); position: relative; overflow: hidden; }
.lp-dark::before { content: ''; position: absolute; width: 60vw; height: 60vw; top: -30vw; right: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(200, 184, 224, .22), transparent 65%); }
.lp-dark h2 { color: #fff; }
.lp-dark .lp-section-head p { color: var(--on-dark-soft); }
.lp-sec-grid { position: relative; max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-sec { padding: 24px; border-radius: 20px; background: var(--surface-dark-elevated); border: 1px solid rgba(255, 255, 255, .08); }
.lp-sec .i { width: 24px; height: 24px; color: var(--gradient-mint); margin-bottom: 14px; }
.lp-sec h3 { color: #fff; }
.lp-sec p { color: var(--on-dark-soft); }

.lp-faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.lp-faq-list details { background: #fff; border: 1px solid var(--hairline); border-radius: 16px; padding: 4px 20px; }
.lp-faq-list summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq-list summary::-webkit-details-marker { display: none; }
.lp-faq-list summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--muted); transition: transform .2s; }
.lp-faq-list details[open] summary::after { transform: rotate(45deg); }
.lp-faq-list p { margin: 0 0 18px; color: var(--body); line-height: 1.6; }

.lp-final { max-width: 1240px; margin: 0 auto; padding: 30px clamp(16px, 4vw, 48px) 90px; }
.lp-final-card { position: relative; text-align: center; padding: clamp(48px, 8vw, 90px) 24px; border-radius: 36px; background: linear-gradient(135deg, #efe8f8, #e6f6f0 50%, #fbeee4); border: 1px solid var(--hairline); overflow: hidden; }
.lp-final-card .orb { margin: 0 auto 26px; }
.lp-final-card h2 { font-size: clamp(36px, 5vw, 62px); margin: 0 0 14px; }
.lp-final-card p { font-size: 18px; color: var(--body); margin: 0 0 30px; }
.lp-final-card small { display: block; margin-top: 18px; color: var(--muted); }

.lp-footer { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 28px clamp(16px, 4vw, 48px); border-top: 1px solid var(--hairline); color: var(--muted); font-size: 14px; }
.lp-footer p { margin: 0; flex: 1; min-width: 240px; }
.lp-footer nav { display: flex; gap: 18px; }
.app-body .lp-footer a { color: var(--body-strong); text-decoration: none; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .lp-nav { display: none; }
  .lp-hero, .lp-split { grid-template-columns: 1fr; }
  .lp-stage { max-width: 560px; margin: 0 auto; width: 100%; }
  .lp-steps, .lp-features { grid-template-columns: 1fr 1fr; }
  .lp-sec-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .lp-header { gap: 10px; }
  .app-body a.lp-login { display: none; }
  .lp-steps, .lp-features, .lp-sec-grid { grid-template-columns: 1fr; }
  .lp-window { transform: none; }
  .lp-float-a { left: 8px; bottom: -22px; }
  .lp-float-b { right: 8px; top: -26px; }
  .lp-dark { border-radius: 28px; }
  .lp-cta-row .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-aurora span, .lp-float, .lp-dot { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .lp-window { transform: none; }
}

/* Refinements after visual QA */
.lp-proof { display: grid; grid-template-columns: repeat(3, max-content); }
.lp-float-a { left: -34px; bottom: -26px; }
.lp-float-b { right: -22px; top: -54px; }
.lp-chat { min-height: 290px; }
.lp-sec p, .lp-dark .lp-section-head p { color: #d6d0ca; }
.lp-faq-list summary::after { color: var(--body-strong); font-weight: 500; }
@media (max-width: 640px) {
  .lp-proof { grid-template-columns: 1fr; gap: 8px; }
  .lp-float-a { left: 8px; bottom: -30px; }
  .lp-float-b { right: 8px; top: -40px; }
  .lp-stage { margin-top: 36px; }
}
