/* TradeFlow EQ — shared site styles (homepage, pricing, checkout, thank-you, agreement)
   Same brand tokens as the previous homepage: navy / blue / gold, Plus Jakarta Sans + Inter. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0a0f1e; --navy2: #111827; --blue: #1d6fff; --blue-dk: #1558e0; --blue-lt: #eff6ff;
  --gold: #f59e0b; --green: #10b981; --red: #ef4444; --white: #fff; --off: #f8fafc;
  --g100: #f1f5f9; --g200: #e2e8f0; --g400: #94a3b8; --g500: #64748b; --g700: #334155; --g900: #0f172a;
  --text: #1e293b; --radius: 14px; --t: .18s ease;
  --shadow: 0 4px 24px rgba(0,0,0,.08); --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
}
html { font-family: 'Inter', system-ui, sans-serif; color: var(--text); scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(29,111,255,.55); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1140px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.wrap-sm { max-width: 780px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.center { text-align: center; }
.section { padding: 88px 0; }
.section.alt { background: var(--off); }
.section.dark { background: var(--navy); }

.eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); background: var(--blue-lt); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow.white { color: rgba(255,255,255,.75); background: rgba(255,255,255,.1); }
.title { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; margin-bottom: 14px; }
.title em { font-style: normal; color: var(--blue); }
.title.light { color: #fff; }
.intro { font-size: clamp(1rem, 1.7vw, 1.14rem); color: var(--g500); line-height: 1.75; max-width: 640px; }
.intro.light { color: rgba(255,255,255,.68); }
.center .intro { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .78rem 1.5rem; border-radius: 9px; font-size: .92rem; font-weight: 700; cursor: pointer; transition: all var(--t); border: 2px solid transparent; white-space: nowrap; background: none; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dk); border-color: var(--blue-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(29,111,255,.3); }
.btn-outline { color: var(--navy); border-color: var(--g200); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--off); transform: translateY(-1px); }
.btn-ghost-light { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-lg { padding: .95rem 2rem; font-size: 1rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

/* Nav */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 999; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--g200); transition: box-shadow var(--t); }
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-inner { max-width: 1200px; margin-inline: auto; padding: .85rem clamp(1.25rem, 5vw, 3rem); display: flex; align-items: center; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-mark { width: 34px; height: 34px; background: var(--blue); color: #fff; font-size: .8rem; font-weight: 900; border-radius: 8px; display: flex; align-items: center; justify-content: center; letter-spacing: -.03em; }
.nav-logo-text { font-weight: 800; font-size: 1rem; color: var(--g900); letter-spacing: -.025em; }
.nav-logo-text sup { font-size: .48em; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { font-size: .86rem; font-weight: 600; color: var(--g500); padding: 6px 12px; border-radius: 6px; transition: all var(--t); }
.nav-links a:hover { color: var(--g900); background: var(--g100); }
.nav-phone { font-size: .82rem; font-weight: 700; color: var(--blue); white-space: nowrap; padding: 6px 10px; border-radius: 6px; }
.nav-phone:hover { background: var(--g100); }
.nav-cta { display: flex; gap: 10px; flex-shrink: 0; margin-left: 10px; }
.nav-cta .btn { font-size: .82rem; padding: .55rem 1.1rem; }
.ham { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; background: none; border: none; cursor: pointer; }
.ham span { display: block; width: 21px; height: 2px; background: var(--g900); border-radius: 2px; transition: all var(--t); }
.ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mob-nav { display: none; padding: 12px clamp(1.25rem, 5vw, 3rem) 18px; border-top: 1px solid var(--g200); background: #fff; }
.mob-nav.open { display: block; }
.mob-nav a { display: block; font-size: .98rem; font-weight: 600; color: var(--g700); padding: 11px 0; border-bottom: 1px solid var(--g100); }
.mob-nav li:last-child a { border-bottom: none; }
@media (max-width: 1100px) { .nav-phone { display: none; } }
@media (max-width: 900px) { .nav-links, .nav-cta, .nav-phone { display: none; } .ham { display: flex; } }

/* Hero */
.hero { position: relative; padding: calc(74px + 80px) 0 90px; overflow: hidden; background: linear-gradient(155deg, #fff 0%, #eef4ff 55%, #dde8ff 100%); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(29,111,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(29,111,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,.5) 20%, rgba(0,0,0,.5) 80%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,.5) 20%, rgba(0,0,0,.5) 80%, transparent); }
.hero-cols { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--blue); border: 1px solid rgba(29,111,255,.25); background: rgba(29,111,255,.06); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); font-weight: 800; line-height: 1.07; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--blue); }
.hero-sub { font-size: clamp(1.02rem, 1.8vw, 1.18rem); color: var(--g500); line-height: 1.75; max-width: 580px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-micro { font-size: .86rem; color: var(--g500); font-weight: 600; }
.hero-micro a { color: var(--blue); font-weight: 700; }

.hero-card { background: #fff; border: 1px solid var(--g200); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px; }
.hero-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.tag-example { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #92400e; background: #fef3c7; padding: 4px 9px; border-radius: 999px; }
.hc-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--g100); }
.hc-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.hc-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hc-red { background: #fee2e2; color: #dc2626; } .hc-blue { background: var(--blue-lt); color: var(--blue); } .hc-green { background: #d1fae5; color: #059669; }
.hc-row b { display: block; font-size: .92rem; color: var(--navy); margin-bottom: 2px; }
.hc-row p { font-size: .82rem; color: var(--g500); line-height: 1.55; }
@media (max-width: 960px) { .hero-cols { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: calc(74px + 48px); } }

/* Cards: problems + benefits */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.card { background: #fff; border: 1px solid var(--g200); border-radius: var(--radius); padding: 28px 24px; transition: box-shadow var(--t), transform var(--t); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card h3 { font-size: 1.06rem; font-weight: 800; margin: 16px 0 8px; }
.card p { font-size: .9rem; color: var(--g500); line-height: 1.7; }
.icon-chip { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; }
.icon-chip svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.chip-red { background: #fee2e2; color: #dc2626; } .chip-amber { background: #fef3c7; color: #b45309; } .chip-blue { background: var(--blue-lt); color: var(--blue); } .chip-green { background: #d1fae5; color: #059669; }
.cards-4.on-dark .card { background: #0d1526; border-color: rgba(255,255,255,.08); }
.cards-4.on-dark .card h3 { color: #fff; } .cards-4.on-dark .card p { color: rgba(255,255,255,.62); }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.benefit { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--g200); border-radius: var(--radius); padding: 26px; }
.benefit h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 6px; }
.benefit p { font-size: .92rem; color: var(--g500); line-height: 1.7; }
.benefit .icon-chip { flex-shrink: 0; }
@media (max-width: 1020px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .cards-4, .benefits { grid-template-columns: 1fr; } .section { padding: 64px 0; } }

/* Interactive demo */
.demo { margin-top: 44px; background: #fff; border: 1px solid var(--g200); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.demo-top { padding: 18px 24px; border-bottom: 1px solid var(--g100); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.demo-progress { flex: 1; min-width: 220px; }
.demo-steps { display: flex; gap: 6px; margin-bottom: 8px; }
.demo-steps button { flex: 1; height: 8px; border: 0; border-radius: 99px; background: var(--g200); cursor: pointer; transition: background var(--t); padding: 0; }
.demo-steps button.done { background: #93c5fd; }
.demo-steps button.active { background: var(--blue); }
.demo-count { font-size: .78rem; font-weight: 700; color: var(--g500); letter-spacing: .04em; text-transform: uppercase; }
.demo-body { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 380px; }
.demo-copy { padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; background: var(--off); border-right: 1px solid var(--g100); }
.demo-copy .step-no { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.demo-copy h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 12px; }
.demo-copy p { color: var(--g500); line-height: 1.75; font-size: 1rem; }
.demo-stage { padding: 28px; display: grid; place-items: center; background: linear-gradient(160deg, #f3f7ff, #fff); position: relative; }
.demo-stage .tag-example { position: absolute; top: 14px; right: 14px; }
.demo-nav { display: flex; gap: 10px; align-items: center; padding: 16px 24px; border-top: 1px solid var(--g100); flex-wrap: wrap; }
.demo-nav .spacer { flex: 1; }
.demo-anim { animation: demoIn .45s ease both; width: 100%; max-width: 440px; }
@keyframes demoIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .demo-body { grid-template-columns: 1fr; } .demo-copy { border-right: 0; border-bottom: 1px solid var(--g100); padding: 26px 22px; } .demo-stage { padding: 22px 16px 28px; min-height: 340px; } }

.phone { width: 100%; max-width: 280px; margin: 0 auto; background: var(--navy); border-radius: 30px; padding: 14px; box-shadow: var(--shadow-lg); }
.phone-screen { background: #fff; border-radius: 20px; padding: 22px 18px; text-align: center; }
.avatar { width: 62px; height: 62px; border-radius: 50%; background: var(--g200); color: var(--g500); display: grid; place-items: center; margin: 0 auto 10px; font-weight: 800; font-size: 1.2rem; }
.missed { display: inline-block; margin-top: 8px; font-size: .74rem; font-weight: 800; color: #dc2626; background: #fee2e2; padding: 4px 10px; border-radius: 999px; }
.job-note { margin-top: 16px; display: flex; gap: 10px; align-items: center; justify-content: center; font-size: .82rem; font-weight: 600; color: var(--g700); background: #fff; border: 1px dashed var(--g400); border-radius: 12px; padding: 10px 12px; }
.sms { width: 100%; background: #fff; border: 1px solid var(--g200); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.sms-head { font-size: .78rem; font-weight: 700; color: var(--g500); margin-bottom: 12px; text-align: center; }
.bubble { max-width: 86%; font-size: .88rem; line-height: 1.5; padding: 10px 13px; border-radius: 16px; margin-bottom: 10px; }
.bubble.out { background: var(--blue); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.in { background: var(--g100); color: var(--g900); border-bottom-left-radius: 4px; }
.bubble small { display: block; font-size: .68rem; opacity: .75; margin-top: 4px; font-weight: 600; }
.bubble.late { animation: demoIn .5s ease .7s both; }
.board { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.col { background: #fff; border: 1px solid var(--g200); border-radius: 12px; padding: 8px; min-height: 190px; }
.col h5 { font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--g500); margin-bottom: 8px; line-height: 1.3; }
.lead-card { background: var(--blue-lt); border: 1px solid #bfdbfe; border-radius: 9px; padding: 8px; font-size: .72rem; line-height: 1.4; color: var(--g900); font-weight: 600; }
.lead-card span { display: block; margin-top: 5px; font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #b45309; }
.lead-card.won { background: #d1fae5; border-color: #6ee7b7; } .lead-card.won span { color: #047857; }
.lead-card.pop { animation: demoIn .5s ease .25s both; }
.timeline { width: 100%; background: #fff; border: 1px solid var(--g200); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.tl { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; animation: demoIn .5s ease both; }
.tl:nth-child(2) { animation-delay: .35s; } .tl:nth-child(3) { animation-delay: .7s; } .tl:nth-child(4) { animation-delay: 1.05s; }
.tl i { width: 24px; height: 24px; border-radius: 50%; background: #d1fae5; color: #059669; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .78rem; flex-shrink: 0; }
.tl b { display: block; font-size: .9rem; color: var(--navy); } .tl p { font-size: .8rem; color: var(--g500); line-height: 1.5; }
@media (max-width: 520px) { .board { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .demo-anim, .bubble.late, .tl, .lead-card.pop { animation: none; } html { scroll-behavior: auto; } }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.panel { background: #fff; border: 1px solid var(--g200); border-radius: var(--radius); padding: 30px; }
.panel h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.panel .lede { color: var(--g500); line-height: 1.7; font-size: .95rem; margin-bottom: 16px; }
.panel.accent { border-top: 4px solid var(--blue); }
.panel.accent2 { border-top: 4px solid var(--gold); }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.55; color: var(--text); padding: 7px 0; }
.checks li::before { content: '✓'; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: #d1fae5; color: #047857; font-size: .7rem; font-weight: 800; display: grid; place-items: center; margin-top: 2px; }
.checks.you li::before { content: '→'; background: var(--g200); color: var(--g500); }
.note { margin-top: 24px; padding: 16px 20px; border-radius: 12px; background: var(--navy); color: rgba(255,255,255,.78); font-size: .9rem; line-height: 1.7; }
.note strong { color: #fff; }
.note.light { background: var(--blue-lt); color: var(--g700); border: 1px solid #bfdbfe; } .note.light strong { color: var(--navy); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* Pricing */
.price-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; margin-top: 44px; align-items: start; }
.price-card { background: #fff; border: 2px solid var(--blue); border-radius: 20px; padding: 34px; box-shadow: var(--shadow-lg); position: relative; }
.price-badge { position: absolute; top: -13px; left: 28px; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 18px; }
.price-row { display: flex; gap: 28px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--g100); border-bottom: 1px solid var(--g100); margin-bottom: 20px; }
.price-amt { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.price-amt small { font-size: 1rem; font-weight: 700; color: var(--g500); letter-spacing: 0; }
.price-lbl { font-size: .82rem; color: var(--g500); margin-top: 6px; font-weight: 600; line-height: 1.4; }
.price-card .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.price-fine { font-size: .78rem; color: var(--g500); line-height: 1.6; margin-top: 14px; }
.addon { background: #fff; border: 1px solid var(--g200); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; }
.addon h4 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.addon .p { font-weight: 700; color: var(--blue); font-size: .92rem; margin-bottom: 6px; }
.addon p { font-size: .86rem; color: var(--g500); line-height: 1.6; }
.addon.muted .p { color: var(--g500); }
@media (max-width: 900px) { .price-wrap { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--g200); border-radius: var(--radius); background: #fff; }
table.simple { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
table.simple th, table.simple td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--g100); }
table.simple th { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--g500); background: var(--off); }
table.simple tr:last-child td { border-bottom: 0; }
table.simple td:first-child { font-weight: 700; color: var(--navy); }

/* FAQ */
.faq { margin-top: 36px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--g200); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--blue); font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 22px 20px; color: var(--g500); line-height: 1.75; font-size: .95rem; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--g200); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); text-align: left; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .8rem; font-weight: 700; color: var(--g700); margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--g200); border-radius: 9px; background: #fff; font-size: .95rem; transition: border-color var(--t); }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,111,255,.15); }
.field .req { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; line-height: 1.55; color: var(--g700); cursor: pointer; }
.check input { margin-top: 3px; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--blue); }
.consent-box { background: var(--off); border: 1px solid var(--g200); border-radius: 12px; padding: 14px 16px; display: grid; gap: 12px; }
.consent-box small { display: block; color: var(--g500); font-size: .74rem; line-height: 1.55; margin-top: 4px; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: .88rem; line-height: 1.55; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: #d1fae5; color: #065f46; } .form-msg.err { background: #fee2e2; color: #991b1b; } .form-msg.info { background: var(--blue-lt); color: #1e40af; }
@media (max-width: 600px) { .fgrid { grid-template-columns: 1fr; } .form-card { padding: 22px 18px; } }

/* Final CTA */
.final { position: relative; background: var(--navy); overflow: hidden; }
.final::before { content: ''; position: absolute; width: 600px; height: 600px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(29,111,255,.25), transparent 70%); }
.final-cols { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.final-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 900px) { .final-cols { grid-template-columns: 1fr; gap: 32px; } }

/* Footer */
.footer { background: #060a15; padding: 36px 0; color: rgba(255,255,255,.55); font-size: .85rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; justify-content: space-between; }
.footer strong { color: #fff; }
.footer-links { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.footer-links a:hover, .footer-phone:hover { color: #fff; }
.footer-phone { font-weight: 700; color: rgba(255,255,255,.8); }

/* Sticky mobile CTA */
.sticky-cta { display: none; }
@media (max-width: 700px) {
  .sticky-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 998; padding: 10px 88px 10px 14px; background: rgba(255,255,255,.97); border-top: 1px solid var(--g200); box-shadow: 0 -4px 20px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s ease; }
  .sticky-cta.on { transform: none; }
  .sticky-cta a { display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: .86rem; font-weight: 700; padding: 12px 14px; }
  .sticky-cta .call { border: 2px solid var(--g200); color: var(--navy); }
  .sticky-cta .go { flex: 1; background: var(--blue); color: #fff; }
  body.has-sticky { padding-bottom: 68px; }
}

/* Reveal */
/* Slide-in only: content is ALWAYS visible (never opacity:0), so nothing can render blank. */
.reveal { transform: translateY(14px); transition: transform .55s ease; }
.reveal.on { transform: none; }
.d1 { transition-delay: .05s; } .d2 { transition-delay: .12s; } .d3 { transition-delay: .2s; } .d4 { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Simple pages (pricing hero, checkout, thank-you, agreement) */
.page-hero { padding: calc(74px + 56px) 0 48px; background: linear-gradient(155deg, #fff 0%, #eef4ff 100%); border-bottom: 1px solid var(--g200); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--g500); font-size: 1.08rem; line-height: 1.7; max-width: 640px; }
.breadcrumb { font-size: .8rem; font-weight: 600; color: var(--g500); margin-bottom: 14px; } .breadcrumb a { color: var(--blue); }

/* Checkout */
.co-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; padding: 40px 0 80px; }
.co-card { background: #fff; border: 1px solid var(--g200); border-radius: 16px; padding: 26px; margin-bottom: 20px; }
.co-card h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 16px; display: flex; gap: 10px; align-items: center; }
.co-card h2 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .78rem; display: grid; place-items: center; }
.opt { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--g200); border-radius: 12px; margin-bottom: 10px; cursor: pointer; transition: border-color var(--t), background var(--t); }
.opt:has(input:checked) { border-color: var(--blue); background: var(--blue-lt); }
.opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.opt b { display: block; font-size: .95rem; color: var(--navy); }
.opt span { font-size: .84rem; color: var(--g500); line-height: 1.55; }
.opt .amt { margin-left: auto; text-align: right; font-weight: 800; color: var(--navy); font-size: .88rem; white-space: nowrap; }
.opt.fixed { cursor: default; border-color: var(--blue); background: var(--blue-lt); }
.summary { position: sticky; top: 92px; background: #fff; border: 2px solid var(--blue); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-lg); }
.summary h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; padding: 7px 0; color: var(--g700); }
.sum-line.total { border-top: 1px solid var(--g200); margin-top: 8px; padding-top: 14px; font-size: 1rem; font-weight: 800; color: var(--navy); }
.sum-line.big span:last-child { font-size: 1.5rem; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.02em; }
.sum-block { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--g200); font-size: .82rem; color: var(--g500); line-height: 1.65; }
.agree-box { max-height: 210px; overflow-y: auto; border: 1px solid var(--g200); border-radius: 10px; padding: 14px 16px; font-size: .84rem; line-height: 1.65; color: var(--g700); background: var(--off); margin-bottom: 14px; }
.agree-box li { margin-bottom: 8px; padding-left: 4px; }
.agree-box ul { list-style: disc; padding-left: 18px; }
@media (max-width: 920px) { .co-grid { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }

/* Cart (js/cart.js) */
.cart-btn { position: relative; flex-shrink: 0; width: 42px; height: 42px; margin-left: 8px; display: grid; place-items: center; border: 1.5px solid var(--g200); border-radius: 10px; background: #fff; color: var(--navy); cursor: pointer; transition: all var(--t); }
.cart-btn:hover { border-color: var(--blue); color: var(--blue); }
.cart-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.cart-count[hidden] { display: none; }
@media (max-width: 900px) { .cart-btn { margin-left: auto; } .cart-btn + .ham { margin-left: 4px; } }
.cart-overlay { position: fixed; inset: 0; background: rgba(10,15,30,.5); z-index: 1999; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 2000; display: flex; flex-direction: column; box-shadow: -12px 0 48px rgba(0,0,0,.2); transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.cart-drawer.open { transform: none; visibility: visible; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--g200); }
.cart-head h2 { font-size: 1.2rem; font-weight: 800; }
.cart-x { width: 36px; height: 36px; border: 0; border-radius: 8px; background: var(--g100); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--g700); }
.cart-x:hover { background: var(--g200); }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 22px 16px; }
.cart-empty { text-align: center; color: var(--g500); line-height: 1.7; padding: 48px 8px; }
.cart-empty strong { color: var(--navy); }
.cart-line { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--g100); }
.cart-line b { display: block; color: var(--navy); font-size: .98rem; margin-bottom: 3px; }
.cart-line span { display: block; font-size: .86rem; color: var(--g700); line-height: 1.5; }
.cart-line small { display: block; font-size: .76rem; color: var(--g500); margin-top: 4px; line-height: 1.45; }
.cart-rm { flex-shrink: 0; border: 0; background: none; color: var(--g500); font-size: .8rem; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 2px 0; }
.cart-rm:hover { color: #dc2626; }
.cart-more { margin-top: 18px; }
.cart-more p { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--g500); margin-bottom: 8px; }
.cart-add-more { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; padding: 12px 14px; margin-bottom: 8px; border: 1.5px dashed var(--g400); border-radius: 10px; background: #fff; cursor: pointer; color: var(--navy); font-weight: 700; font-size: .9rem; transition: all var(--t); }
.cart-add-more:hover { border-color: var(--blue); background: var(--blue-lt); }
.cart-add-more em { font-style: normal; font-weight: 600; color: var(--g500); font-size: .8rem; white-space: nowrap; }
.cart-foot { padding: 16px 22px 22px; border-top: 1px solid var(--g200); background: var(--off); }
/* The third-party chat bubble sits bottom-right above everything; keep it off the checkout button. */
html.cart-open chat-widget, html.cart-open #chat-widget-container, html.cart-open [id^="lc_text-widget"], html.cart-open iframe[src*="leadconnector"], html.cart-open iframe[id*="chat-widget"], html.cart-open iframe[title*="hat widget" i] { display: none !important; }
.cart-drawer .cart-foot { padding-bottom: 28px; }
.cart-tot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--navy); font-weight: 700; }
.cart-tot strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; letter-spacing: -.02em; }
.cart-tot.sm { margin: 4px 0 10px; font-size: .86rem; color: var(--g700); font-weight: 600; }
.cart-tot.sm strong { font-size: 1rem; }
.cart-fine { font-size: .76rem; color: var(--g500); line-height: 1.55; margin-bottom: 12px; }
.cart-closed { font-size: .8rem; line-height: 1.55; background: #fef3c7; color: #78350f; border: 1px solid #fcd34d; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.cart-closed a { text-decoration: underline; font-weight: 700; }
[data-cart-add].in-cart { background: #fff; color: var(--blue); border-color: var(--blue); }
.addon .btn { margin-top: 12px; }
.addon-req { font-size: .76rem; color: var(--g500); margin-top: 8px; }

/* Thank-you */
.ty-card { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--g200); border-radius: 20px; padding: 40px 34px; box-shadow: var(--shadow-lg); text-align: center; }
.ty-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; font-size: 1.8rem; }
.ty-icon.ok { background: #d1fae5; color: #047857; } .ty-icon.wait { background: var(--blue-lt); color: var(--blue); } .ty-icon.warn { background: #fef3c7; color: #b45309; }
.spinner { width: 28px; height: 28px; border: 3px solid #bfdbfe; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ty-summary { text-align: left; margin: 22px 0; background: var(--off); border-radius: 12px; padding: 16px 18px; }

/* Agreement / legal doc */
.doc { padding: 40px 0 80px; }
.doc h2 { font-size: 1.25rem; font-weight: 800; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--g700); line-height: 1.8; font-size: .97rem; margin-bottom: 10px; }
.doc ul { list-style: disc; padding-left: 22px; margin-bottom: 10px; }
.draft-banner { background: #fef3c7; border: 1px solid #fcd34d; color: #78350f; border-radius: 12px; padding: 14px 18px; font-size: .88rem; line-height: 1.6; margin-bottom: 28px; }
