/* RealBroks Promoter Suite page. Matches realbroks.com: deep green nav pill, Plus Jakarta Sans, mint grid ground. */
:root {
  --ink: #0f1f18;
  --ink-2: #4c5d55;
  --ink-3: #7b8a83;
  --bg: #f2f8f4;
  --bg-2: #e8f2ec;
  --card: #ffffff;
  --line: #dbe7df;
  --green: #2f8a5b;
  --green-2: #3fae6c;
  --green-ink: #1f6a45;
  --deep: #12291f;
  --deep-2: #1b3d2d;
  --nav: linear-gradient(90deg, #244e3a, #2f5f47);
  --mint: #9fe0b8;
  --brass: #d8ad5c;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(18, 41, 31, .35);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6;
  background-image: linear-gradient(rgba(47, 138, 91, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 138, 91, .06) 1px, transparent 1px);
  background-size: 64px 64px;
}
img, video { max-width: 100%; display: block; }
a { color: var(--green-ink); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.wrap.narrow { max-width: 820px; }
.g { color: var(--green); }

/* nav */
.nav-wrap { position: sticky; top: 0; z-index: 50; padding: 14px max(16px, env(safe-area-inset-left)) 0; }
.nav { max-width: 1200px; margin: 0 auto; background: var(--nav); border-radius: 999px; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 26px; box-shadow: 0 12px 30px -16px rgba(18, 41, 31, .6); }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { color: #e9f3ed; text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.nav-links a:hover, .nav-links a.on { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-links .nav-login { background: var(--green-2); color: #fff; font-weight: 600; padding: 10px 22px; margin-left: 6px; }
.nav-links .nav-login:hover { background: #48bd78; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 16px 30px; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--green-2); outline-offset: 3px; }
.btn-primary { background: linear-gradient(135deg, #2b7a51, var(--green-2)); color: #fff; box-shadow: 0 14px 30px -14px rgba(47, 138, 91, .9); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -18px rgba(18, 41, 31, .5); }
.btn.wide { width: 100%; }

/* hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; box-shadow: 0 8px 24px -16px rgba(18, 41, 31, .5); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 4px rgba(63, 174, 108, .2); }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; margin: 22px 0 18px; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 7px; }
.hero-visual { position: relative; padding: 0 30px 40px 0; }
.hero-visual .frame-phone { position: absolute; right: 0; bottom: 0; width: 34%; }
.float-card { position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); display: grid; font-size: 13px; line-height: 1.35; }
.float-card b { font-size: 14px; }
.float-card span { color: var(--ink-2); }
.fc-1 { left: -18px; top: 22%; }
.fc-2 { left: 8%; bottom: -6px; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
.fc-2 .live-dot { grid-row: span 2; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #22a35a; box-shadow: 0 0 0 4px rgba(34, 163, 90, .18); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 163, 90, .5); } 100% { box-shadow: 0 0 0 10px rgba(34, 163, 90, 0); } }

/* frames for clips */
.frame { margin: 0; background: var(--deep); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.frame-browser { border: 1px solid rgba(255, 255, 255, .06); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #183427; color: #a9c6b6; font-size: 12px; font-weight: 600; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3c5a4b; }
.frame-bar span { margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame video { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: #e9f0ec; }
.frame-tall video { aspect-ratio: 1040 / 960; }
.frame-phone { border-radius: 30px; border: 8px solid #0c1a13; background: #0c1a13; }
.frame-phone video { aspect-ratio: 390 / 844; border-radius: 22px; }
.frame-phone.solo { width: min(330px, 80%); margin: 0 auto; }

/* strip */
.strip { padding: 10px 0 30px; }
.strip-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.strip-row span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; }
.strip-row i { font-style: normal; color: var(--green); font-weight: 800; }

/* sections */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head h2, .feature h2, .signup h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; margin-top: 10px; }
.section-head p { color: var(--ink-2); font-size: 17px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.eyebrow.light { color: var(--mint); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 34px; color: var(--green); font-weight: 800; z-index: 1; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--deep); color: var(--mint); font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* feature tour */
.tour-nav { position: sticky; top: 86px; z-index: 40; padding: 8px 0; }
.tour-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-top: 4px; padding-bottom: 4px; }
.tour-chips::-webkit-scrollbar { display: none; }
.tour-chips a { flex: none; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.tour-chips a.on { background: var(--deep); color: #fff; border-color: var(--deep); }
.feature { padding: 80px 0; scroll-margin-top: 140px; }
.feature.alt { background: rgba(255, 255, 255, .6); }
.feature.dark { background: var(--deep); color: #eaf3ee; background-image: radial-gradient(circle at 85% 10%, rgba(63, 174, 108, .18), transparent 45%); }
.feature.dark .feature-copy p { color: #b9cfc3; }
.feature.dark .eyebrow { color: var(--mint); }
.feature.dark .ticks li::before { background: rgba(159, 224, 184, .15); color: var(--mint); }
.feature-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.feature:nth-of-type(even) .feature-grid .feature-copy { order: 2; }
.feature-copy p { color: var(--ink-2); font-size: 17px; margin: 16px 0 20px; }
.phone-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-weight: 500; }
.ticks li::before { content: "✓"; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #dff1e6; color: var(--green-ink); font-weight: 800; font-size: 13px; }
.ticks.small li { font-size: 14px; grid-template-columns: 22px 1fr; }
.ticks.small li::before { width: 22px; height: 22px; font-size: 11px; }
.ticks.light li { color: #eaf3ee; }
.ticks.light li::before { background: rgba(159, 224, 184, .15); color: var(--mint); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 12px; }
.plan h3 { font-size: 24px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.plan h3 em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #dff1e6; color: var(--green-ink); padding: 3px 9px; border-radius: 999px; }
.plan-for { margin: 0; color: var(--ink-2); font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.price b { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.price span { color: var(--ink-3); font-weight: 500; }
.price-note { margin: -6px 0 6px; font-size: 13px; color: var(--ink-3); }
.terms { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; font-size: 14px; font-weight: 600; }
.plan.pro { border: 2px solid var(--green); box-shadow: 0 20px 50px -28px rgba(47, 138, 91, .9); }
.plan.premium { background: var(--deep); color: #eaf3ee; border-color: var(--deep); }
.plan.premium .plan-for, .plan.premium .price span, .plan.premium .price-note { color: #b9cfc3; }
.plan.premium h3 em { background: rgba(216, 173, 92, .18); color: var(--brass); }
.plan.premium .ticks li::before { background: rgba(216, 173, 92, .15); color: var(--brass); }
.plan.premium .terms { border-color: rgba(255, 255, 255, .15); }
.calc { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 600; }
.calc input { font: inherit; width: 110px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.calc-out { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; font-variant-numeric: tabular-nums; }
.calc-out span { color: var(--ink-2); font-weight: 500; }
.calc-out b { color: var(--ink); margin-left: 4px; }

/* sign up */
.signup { background: var(--deep); color: #eaf3ee; background-image: radial-gradient(circle at 10% 90%, rgba(63, 174, 108, .22), transparent 45%); scroll-margin-top: 90px; }
.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.signup-copy p { color: #b9cfc3; font-size: 17px; margin: 16px 0 22px; }
.signup-form { background: #fff; color: var(--ink); border-radius: 22px; padding: 30px; display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.signup-form h3 { font-size: 22px; margin-bottom: 4px; }
.signup-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.signup-form input { font: inherit; font-weight: 500; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdfc; }
.signup-form input:focus { border-color: var(--green-2); outline: none; box-shadow: 0 0 0 3px rgba(63, 174, 108, .2); }
.form-err { margin: 0; background: #fdecea; color: #a12a1d; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.form-note { margin: 0; text-align: center; font-size: 14px; color: var(--ink-2); }
.form-done { text-align: center; display: grid; gap: 12px; padding: 20px 0; }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

.foot { background: var(--deep); color: #a9c6b6; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.foot a { color: var(--mint); }
.sticky-cta { display: none; }

/* responsive */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 10px; }
}
@media (max-width: 960px) {
  .hero-grid, .feature-grid, .phone-grid, .signup-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature:nth-of-type(even) .feature-grid .feature-copy { order: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::after { display: none; }
  .plans { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav { border-radius: 26px; flex-wrap: wrap; padding: 10px 12px 10px 20px; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 10px 0 6px; }
  .nav-links.open { display: flex; }
  .nav-links .nav-login { margin: 6px 0 0; text-align: center; }
  .tour-nav { top: 78px; }
  .calc-out { margin-left: 0; }
}
@media (max-width: 600px) {
  .hero { padding-top: 36px; }
  .lede { font-size: 17px; }
  .steps { grid-template-columns: 1fr; }
  .hero-visual { padding: 0 0 70px; }
  .hero-visual .frame-phone { width: 40%; right: -4px; bottom: 0; }
  .fc-1 { display: none; }
  .fc-2 { left: 0; bottom: 4px; }
  .section, .feature { padding: 60px 0; }
  .signup-form { padding: 22px; }
  .sticky-cta { display: block; position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; text-align: center; background: linear-gradient(135deg, #2b7a51, var(--green-2)); color: #fff; font-weight: 700; text-decoration: none; padding: 15px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(18, 41, 31, .7); transition: opacity .2s; }
  .sticky-cta.hide { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } .btn { transition: none; } }
