/* —— Public site (light) —— */
.site-light {
  --red: #e31b23;
  --red-2: #c8141b;
  --red-50: #fff1f2;
  --red-100: #ffe1e3;
  --text: #0f172a;
  --ink-2: #334155;
  --muted-d: #64748b;
  --line-d: #e8ecf2;
  --bg: #ffffff;
  --bg-2: #f7f8fb;
  --lp-shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px rgba(15,23,42,.06);
  --lp-shadow-lg: 0 2px 6px rgba(15,23,42,.04), 0 30px 70px rgba(15,23,42,.10);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
.site-light > .site-footer { margin-top: auto; }
.site-light a { color: inherit; }
.site-light .site-nav { background: rgba(255,255,255,.82); border-bottom: 1px solid var(--line-d); }
.site-light .site-nav-inner, .site-light .site-footer-inner { width: min(1180px, calc(100% - 40px)); }
.site-light .site-nav-inner { padding: 12px 0; }
.site-light .site-logo img { height: 34px; }
.site-light .site-links { gap: 26px; }
.site-light .site-links a { color: var(--ink-2); }
.site-light .site-links a:hover { color: var(--red); }
.site-light .site-links a.btn-red { color: #fff; }
.site-light .btn-red { box-shadow: 0 8px 20px rgba(227,27,35,.22); }
.site-light .btn-red:hover { background: var(--red-2); }
.site-light .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.site-light .site-footer { background: var(--bg-2); border-top: 1px solid var(--line-d); color: var(--muted-d); }
.site-light .site-footer-meta a { color: var(--ink-2); }
.site-light .site-footer-meta a:hover { color: var(--red); }
.site-light .muted { color: var(--muted-d); }
.site-light .btn-primary, .site-light .btn-accent {
  background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(227,27,35,.22);
}
.site-light .btn-primary:hover, .site-light .btn-accent:hover { background: var(--red-2); filter: none; color: #fff; }
.site-light .btn-outline { background: #fff; color: var(--text) !important; border: 1px solid #dfe4ec; }
.site-light .btn-outline:hover { border-color: #c5cdd9; }
.site-light .chip { color: var(--red); }
.site-light .chip-dot { box-shadow: 0 0 0 4px var(--red-100); }
.site-light label { color: var(--ink-2); }
.site-light input, .site-light select, .site-light textarea {
  padding: 12px 14px; border: 1px solid #dfe4ec; background: #fff; color: var(--text);
}
.site-light input:focus, .site-light select:focus, .site-light textarea:focus {
  border-color: #f5a3a7; box-shadow: 0 0 0 4px rgba(227,27,35,.10);
}
.site-light input[type="checkbox"], .site-light input[type="radio"] { padding: 0; border: 0; accent-color: var(--red); }
.site-light .auth-card {
  margin: 56px auto; padding: 32px; border-radius: 22px; background: #fff;
  border: 1px solid var(--line-d); box-shadow: var(--lp-shadow-lg); color: var(--text);
}
.site-light .auth-card h1 { font-size: 28px; letter-spacing: -.03em; margin: 0 0 22px; }
.site-light .auth-card h1:has(+ .auth-sub) { margin-bottom: 8px; }
.site-light .auth-sub { margin: 0 0 24px; font-size: 15px; line-height: 1.6; }
.site-light .auth-card a { color: var(--red); font-weight: 600; }
.site-light .auth-card .form-grid { gap: 16px; }
.site-light .auth-card .form-grid > .btn { width: 100%; padding: 13px 16px; font-size: 15px; border-radius: 12px; margin-top: 4px; }
.site-light .auth-card .checks { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; line-height: 1.5; }
.site-light .auth-card .checks input { margin-top: 3px; }
.site-light .auth-card .form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.site-light .field-error { color: var(--red-2); font-size: 13px; font-weight: 500; }
.site-light .is-invalid input { border-color: #f5a3a7; background: #fffafa; }
.site-light .checks.is-invalid { color: var(--red-2); }
.site-light .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.site-light .auth-alt { margin: 20px 0 0; color: var(--muted-d); font-size: 14px; }
.site-light .auth-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 16px; background: var(--red-50); color: var(--red);
}
.site-light .auth-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-light .link-btn {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--ink-2);
}
.site-light .link-btn:hover { color: var(--red); }
.site-light .legal-page { padding-block: 72px 96px; }
.site-light .legal-page h1 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; }
.site-light .legal-body { color: var(--ink-2); font-size: 16px; }

.lp-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.lp h1, .lp h2, .lp h3 { color: var(--text); }
.lp-btn-light {
  background: #fff; color: var(--text) !important; border: 1px solid #dfe4ec;
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
}
.lp-btn-light:hover { border-color: #c5cdd9; background: #fafbfc; text-decoration: none; }
.lp-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.lp-checks li { display: flex; align-items: flex-start; gap: 8px; }
.lp-checks svg {
  flex: none; width: 18px; height: 18px; padding: 3px; margin-top: 1px; border-radius: 99px;
  background: var(--red-50); stroke: var(--red); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.lp-checks-col { flex-direction: column; gap: 12px; }

/* Hero */
.lp-hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.lp-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 420px at 85% 15%, rgba(227,27,35,.10), transparent 60%),
    radial-gradient(560px 360px at 0% 90%, rgba(59,130,246,.07), transparent 60%),
    linear-gradient(180deg, #fff 0%, #fbfbfd 100%);
}
.lp-hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(15,23,42,.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
  opacity: .55;
}
.lp-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.lp-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  padding: 6px 14px 6px 10px; border-radius: 99px; background: #fff;
  border: 1px solid var(--red-100); color: var(--red-2); font-size: 13px; font-weight: 600;
  box-shadow: 0 2px 8px rgba(227,27,35,.06);
}
.lp-badge-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--red); box-shadow: 0 0 0 4px var(--red-100); }
.lp-hero-copy h1 {
  font-size: clamp(36px, 4.8vw, 60px); line-height: 1.08; letter-spacing: -.035em;
  font-weight: 800; margin: 0 0 20px;
}
.lp-hero-copy h1 em {
  font-style: normal; color: var(--red);
  background: linear-gradient(180deg, transparent 62%, var(--red-100) 62%);
}
.lp-lead { font-size: 18px; line-height: 1.65; color: var(--muted-d); margin: 0 0 30px; max-width: 540px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.lp-cta .btn-lg { padding: 14px 22px; border-radius: 12px; font-size: 15px; }
.lp-hero-visual { position: relative; }
.lp-hero-frame {
  position: relative; border-radius: 28px; overflow: hidden; background: #fff;
  border: 1px solid var(--line-d); box-shadow: var(--lp-shadow-lg);
}
.lp-hero-frame img { display: block; width: 100%; height: auto; }
.lp-float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line-d); box-shadow: var(--lp-shadow);
  animation: lp-bob 6s ease-in-out infinite;
}
.lp-float strong { display: block; font-size: 14px; }
.lp-float small { display: block; font-size: 12px; color: var(--muted-d); }
.lp-float-a { left: -24px; bottom: 18%; }
.lp-float-b { right: -16px; top: 8%; animation-delay: -3s; }
.lp-float-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--red-50); color: var(--red);
}
.lp-float-icon.is-ok { background: #ecfdf5; color: #059669; }
.lp-float-icon svg, .lp-channels svg, .lp-ico svg, .lp-step-icon svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .lp-float { animation: none; } }

/* Channels + stats */
.lp-channels { padding: 26px 0; border-block: 1px solid var(--line-d); background: #fff; }
.lp-channels .lp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.lp-channels p { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted-d); letter-spacing: .02em; }
.lp-channels ul { display: flex; flex-wrap: wrap; gap: 10px 30px; list-style: none; margin: 0; padding: 0; }
.lp-channels li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.lp-channels li svg { color: #94a3b8; }
.lp-stats { padding: 44px 0 8px; }
.lp-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-stats-grid div { padding: 22px 24px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line-d); }
.lp-stats-grid strong { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.lp-stats-grid span { display: block; margin-top: 4px; color: var(--muted-d); font-size: 14px; }

/* Sections */
.lp-section { padding: 96px 0; }
.lp-soft { background: var(--bg-2); border-block: 1px solid var(--line-d); }
.lp-head { max-width: 680px; margin-bottom: 56px; }
.lp-head-center { margin-inline: auto; text-align: center; }
.lp-head h2 { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 14px; font-weight: 800; }
.lp-head p:not(.lp-eyebrow) { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted-d); }
.lp-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }

/* Feature rows */
.lp-feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; scroll-margin-top: 90px; }
.lp-feature + .lp-feature { margin-top: 88px; }
.lp-feature.is-flip .lp-feature-media { order: 2; }
.lp-feature-media {
  border-radius: 24px; overflow: hidden; background: #fff;
  border: 1px solid var(--line-d); box-shadow: var(--lp-shadow);
}
.lp-feature-media img { display: block; width: 100%; height: auto; transition: transform .5s ease; }
.lp-feature:hover .lp-feature-media img { transform: scale(1.02); }
.lp-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 14px; font-weight: 700; color: var(--red); }
.lp-tag span {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--red-50); font-size: 12px; letter-spacing: .02em;
}
.lp-feature-copy h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.22; letter-spacing: -.025em; margin: 0 0 14px; font-weight: 800; }
.lp-feature-copy > p:not(.lp-tag) { margin: 0 0 24px; font-size: 16px; line-height: 1.7; color: var(--muted-d); }
.lp-feature-copy .lp-checks { font-size: 15px; }

/* Steps */
.lp-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.lp-steps::before {
  content: ""; position: absolute; top: 52px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, #f3b4b7 0 8px, transparent 8px 16px);
}
.lp-steps li {
  position: relative; padding: 28px; border-radius: 20px; background: #fff;
  border: 1px solid var(--line-d); box-shadow: var(--lp-shadow); text-align: center;
}
.lp-step-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 16px;
  border-radius: 16px; background: var(--red); color: #fff;
  box-shadow: 0 10px 24px rgba(227,27,35,.25), 0 0 0 6px #fff;
}
.lp-step-icon svg { width: 24px; height: 24px; }
.lp-step-no { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 6px; }
.lp-steps h3 { margin: 0 0 10px; font-size: 19px; }
.lp-steps p { margin: 0; color: var(--muted-d); line-height: 1.65; font-size: 15px; }

/* Trust grid */
.lp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-trust > div {
  padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line-d);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.lp-trust > div:hover { border-color: var(--red-100); box-shadow: var(--lp-shadow); transform: translateY(-2px); }
.lp-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--red-50); color: var(--red); margin-bottom: 16px; }
.lp-trust h3 { margin: 0 0 8px; font-size: 17px; }
.lp-trust p { margin: 0; color: var(--muted-d); font-size: 15px; line-height: 1.6; }

/* Pricing */
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.lp-plan {
  position: relative; display: flex; flex-direction: column; padding: 30px;
  border-radius: 22px; background: #fff; border: 1px solid var(--line-d); box-shadow: var(--lp-shadow);
}
.lp-plan.is-featured { border: 2px solid var(--red); box-shadow: 0 24px 60px rgba(227,27,35,.14); }
.lp-plan-flag {
  position: absolute; top: -13px; left: 30px; padding: 4px 12px; border-radius: 99px;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 700;
}
.lp-plan-name { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--red); }
.lp-plan-price { margin: 0 0 10px; font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.lp-plan-price small { font-size: 14px; font-weight: 500; color: var(--muted-d); letter-spacing: 0; }
.lp-plan-desc { margin: 0 0 22px; color: var(--muted-d); font-size: 15px; line-height: 1.6; min-height: 48px; }
.lp-plan .lp-checks { margin-bottom: 28px; }
.lp-plan .btn { margin-top: auto; width: 100%; }
.lp-plans-more { text-align: center; margin: 28px 0 0; font-weight: 600; }
.lp-plans-more a { color: var(--red); }

/* FAQ */
.lp-faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.lp-faq { display: grid; gap: 12px; }
.lp-faq details {
  border-radius: 16px; background: #fff; border: 1px solid var(--line-d); padding: 0 22px;
  transition: border-color .2s, box-shadow .2s;
}
.lp-faq details[open] { border-color: var(--red-100); box-shadow: var(--lp-shadow); }
.lp-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 16px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 99px;
  background: var(--bg-2); color: var(--ink-2); font-size: 18px; font-weight: 500; transition: transform .2s;
}
.lp-faq details[open] summary::after { transform: rotate(45deg); background: var(--red-50); color: var(--red); }
.lp-faq details p { margin: 0 0 20px; color: var(--muted-d); line-height: 1.7; }

/* Final CTA */
.lp-final {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-bottom: 96px; padding: 56px 60px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(500px 300px at 90% 20%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, #ef2a31 0%, #c8141b 100%);
  box-shadow: 0 30px 70px rgba(227,27,35,.25);
}
.lp-final h2 { margin: 0 0 12px; color: #fff; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; line-height: 1.15; }
.lp-final p { margin: 0 0 28px; color: rgba(255,255,255,.88); font-size: 17px; }
.lp-final .lp-cta { margin: 0; }
.lp-btn-white { background: #fff; color: var(--red-2) !important; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.lp-btn-white:hover { background: #fff5f5; text-decoration: none; }
.lp-btn-ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.5); }
.lp-btn-ghost:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.lp-final-mark {
  flex: none; width: 180px; height: 180px; padding: 22px; border-radius: 40px;
  background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.18); transform: rotate(-6deg);
}

/* Inner page hero + pricing */
.lp-page-hero { position: relative; overflow: hidden; padding: 80px 0 48px; }
.lp-page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff); pointer-events: none;
}
.lp-page-hero .lp-head { position: relative; z-index: 1; margin-bottom: 0; }
.lp-page-hero h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -.035em; margin: 0 0 16px; font-weight: 800; }
.lp-pricing-body { padding: 16px 0 96px; }
.lp-included {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: center;
  margin-top: 56px; padding: 36px 40px; border-radius: 24px;
  background: var(--bg-2); border: 1px solid var(--line-d);
}
.lp-included h2 { margin: 0; font-size: 26px; letter-spacing: -.025em; line-height: 1.25; }
.lp-included-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; font-size: 15px; }

/* Auth pages */
.auth-shell {
  padding: 56px 0 88px;
  background:
    radial-gradient(640px 380px at 90% 0%, rgba(227,27,35,.08), transparent 60%),
    radial-gradient(520px 320px at 0% 100%, rgba(59,130,246,.06), transparent 60%),
    #fbfbfd;
}
.auth-panel {
  width: min(1080px, calc(100% - 40px)); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden;
  background: #fff; border: 1px solid var(--line-d); border-radius: 28px; box-shadow: var(--lp-shadow-lg);
}
.auth-aside {
  display: flex; flex-direction: column; padding: 44px 44px 0;
  background: linear-gradient(165deg, #fff4f4 0%, #f7f8fb 70%);
  border-right: 1px solid var(--line-d);
}
.auth-aside h2 { margin: 0 0 22px; font-size: 28px; line-height: 1.2; letter-spacing: -.03em; font-weight: 800; color: var(--text); }
.auth-aside img { display: block; width: 100%; height: auto; margin-top: auto; padding-top: 24px; mix-blend-mode: multiply; }
.auth-main { display: grid; place-items: center; padding: 48px 44px; }
.site-light .auth-main .auth-card {
  width: 100%; max-width: 400px; margin: 0; padding: 0;
  background: transparent; border: 0; box-shadow: none;
}

@media (max-width: 1080px) {
  .lp-float-a { left: 8px; }
  .lp-float-b { right: 8px; }
}
@media (max-width: 980px) {
  .site-light .site-links a[href="/login"] { display: inline; }
  .lp-hero { padding: 48px 0 40px; }
  .lp-hero-grid, .lp-feature, .lp-faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .lp-feature.is-flip .lp-feature-media { order: 0; }
  .lp-feature + .lp-feature { margin-top: 64px; }
  .lp-steps, .lp-trust { grid-template-columns: 1fr 1fr; }
  .lp-steps::before { display: none; }
  .lp-stats-grid { grid-template-columns: 1fr 1fr; }
  .lp-section { padding: 72px 0; }
  .lp-final { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .lp-final-mark { display: none; }
  .lp-included { grid-template-columns: 1fr; padding: 28px; }
  .auth-panel { grid-template-columns: 1fr; max-width: 520px; }
  .auth-aside { display: none; }
  .auth-main { padding: 36px 28px; }
  .auth-shell { padding: 32px 0 64px; }
}
@media (max-width: 640px) {
  .lp-steps, .lp-trust { grid-template-columns: 1fr; }
  .lp-channels .lp-wrap { justify-content: flex-start; }
  .lp-channels ul { gap: 10px 20px; }
  .lp-float { display: none; }
  .lp-cta .btn-lg { width: 100%; }
  .lp-stats-grid strong { font-size: 22px; }
  .lp-included-list { grid-template-columns: 1fr; }
  .site-light .auth-card .form-split { grid-template-columns: 1fr; }
  .lp-page-hero { padding: 48px 0 32px; }
}
