/* DealTrail landing page. General Sans, white glass, soft gray, logo violet and blue.
   Rule: no section is sized by the screen height. Every gap comes from --gap, so the page
   looks the same on a wide, tall or phone screen. */

:root {
  --bg: #fff;
  --tone: #F5F6FA;
  --line: #E6E8F0;
  --ink: #10133E;
  --soft: #50567A;
  --faint: #6A7090;
  --accent: #6F45FF;
  --violet: #9054FF;
  --cyan: #04AEFF;
  --ok: #0B7F57;
  --wait: #9A5B00;
  --face: "General Sans", ui-sans-serif, system-ui, sans-serif;
  --gap: clamp(72px, 8vw, 120px);
  --pad: clamp(20px, 4vw, 40px);
  --max: 1160px;
  --r: 20px;
  --ease: cubic-bezier(.2,.7,.1,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 clamp(1rem, .96rem + .2vw, 1.125rem)/1.55 var(--face); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 1rem; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(16,19,62,.5); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -8px rgba(0,0,0,.4); }
.btn--lg { height: 54px; padding: 0 32px; font-size: 1.0625rem; }
.btn:active { transform: translateY(0) scale(.98); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav.is-stuck { border-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.nav__logo img { height: 28px; width: auto; }
.nav__links { display: flex; gap: 32px; margin-left: auto; margin-right: 8px; }
.nav__links a { text-decoration: none; font-size: .9375rem; color: var(--soft); transition: color .15s; }
.nav__links a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 var(--gap); }
.hero__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow { font-size: .875rem; font-weight: 500; color: var(--accent); margin-bottom: 20px; }
.hero h1 { max-width: 15ch; }
.lead { margin-top: 22px; max-width: 34em; font-size: clamp(1.0625rem, 1rem + .5vw, 1.3125rem); color: var(--soft); }
.hero__cta { margin-top: 32px; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.orb--a { width: 520px; height: 520px; left: -140px; top: -120px; background: radial-gradient(circle, #8FD8FF, transparent 70%); animation: drift 14s ease-in-out infinite alternate; }
.orb--b { width: 560px; height: 560px; right: -160px; top: 60px; background: radial-gradient(circle, #C9AEFF, transparent 70%); animation: drift 17s ease-in-out infinite alternate-reverse; }
.orb--c { width: 480px; height: 480px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(144,84,255,.9), transparent 70%); opacity: .6; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

/* Glass */
.glass { background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); border-radius: var(--r); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 60px -24px rgba(40,40,110,.28), 0 0 0 1px rgba(16,19,62,.05); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }

/* Sample deal in hero */
.deal { width: 100%; max-width: 760px; margin-top: clamp(48px, 6vw, 72px); padding: clamp(18px, 3vw, 28px); text-align: left; animation: float 7s ease-in-out infinite alternate; }
@keyframes float { to { transform: translateY(-8px); } }
.deal__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sub { font-size: .8125rem; color: var(--faint); }
.deal__name { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 22px 0; }
.steps li { font-size: .75rem; color: var(--faint); padding-top: 10px; border-top: 3px solid var(--line); border-radius: 2px; }
.steps .is-done { border-color: var(--cyan); color: var(--ink); }
.steps .is-now { border-color: var(--accent); color: var(--ink); font-weight: 600; }
.rows { display: grid; gap: 8px; }
.rows li, .mini__row, .reply { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 10px 14px; }
.who { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.who b { font-weight: 600; font-size: .9375rem; }
.who small { font-size: .8125rem; color: var(--faint); }
.av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; font-size: .75rem; font-weight: 600; flex: none; }
.av--a { background: var(--cyan); } .av--b { background: var(--violet); } .av--c { background: var(--accent); }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--tone); font-size: .8125rem; font-weight: 500; white-space: nowrap; border: 0; }
.chip--ok { background: #E3F5EC; color: var(--ok); }
.chip--wait { background: #FFF1D9; color: var(--wait); }
.chip--btn { background: var(--ink); color: #fff; cursor: pointer; transition: transform .15s var(--ease); }
.chip--btn:hover { transform: scale(1.05); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px #EEE8FF; flex: none; margin: 0 4px; }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 5px #E3F5EC; }

/* Bands */
.band { padding: var(--gap) 0; }
.band--tone { background: var(--tone); }
.band--tight { padding: 0 0 var(--gap); }
.band--end { padding-top: 0; }
.band h2 { max-width: 18ch; }
.small-h { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--faint); text-align: center; max-width: none; margin-bottom: 32px; }

/* Brokerage marks */
.marks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.marks li { display: grid; place-items: center; height: 120px; background: var(--tone); border-radius: var(--r); padding: 20px; transition: transform .25s var(--ease), background-color .25s; }
.marks li:hover { transform: translateY(-3px); background: #EDEFF6; }
.marks img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
.marks span { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; text-align: center; line-height: 1.15; }
.fine { margin-top: 18px; font-size: .8125rem; color: var(--faint); text-align: center; }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 28px; background: var(--tone); border-radius: 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(40,40,110,.3); }
.card h3 { margin-top: 14px; padding-inline: 12px; }
.card > p { padding-inline: 12px; color: var(--soft); font-size: .9688rem; }
.mini { display: grid; gap: 8px; padding: 14px; background: linear-gradient(135deg, #E4F4FF, #EDE6FF); border: 0; min-height: 176px; align-content: center; }
.mini__t { font-weight: 600; font-size: 1.125rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats span { display: grid; background: #fff; border-radius: 12px; padding: 10px; }
.stats small { font-size: .75rem; color: var(--faint); }
.stats b { font-weight: 600; }
.mini > .sub, .mini > .mini__t, .mini > .stats { margin-inline: 4px; }

/* Find sellers */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.list { display: grid; gap: 10px; margin-top: 32px; }
.list li { display: grid; gap: 2px; background: #fff; border-radius: 16px; padding: 16px 20px; }
.list b { font-weight: 600; }
.list span { color: var(--soft); font-size: .9688rem; }
.chat { display: grid; gap: 10px; padding: 22px; background: #fff; }
.bub { max-width: 85%; padding: 10px 14px; border-radius: 16px; background: var(--tone); font-size: .9375rem; line-height: 1.4; }
.bub--me { justify-self: end; background: var(--ink); color: #fff; }
.reply { background: #EEE8FF; margin-top: 4px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__list { display: grid; gap: 8px; }
.faq details { background: var(--tone); border-radius: 16px; transition: background-color .2s; }
.faq details[open] { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-weight: 500; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; color: var(--soft); }

/* Final call to action */
.cta { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; padding: clamp(48px, 7vw, 88px) var(--pad); border-radius: 32px; color: #fff; background: linear-gradient(135deg, #10133E 0%, #2A1F7A 60%, #5B35D5 100%); }
.cta h2 { position: relative; max-width: 16ch; }
.cta .btn { position: relative; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 36px; }
.foot__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot__logo img { height: 26px; width: auto; }
.foot nav { display: flex; gap: 8px 28px; flex-wrap: wrap; }
.foot nav a { font-size: .9375rem; color: var(--soft); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot__legal { margin-top: 28px; font-size: .8125rem; color: var(--faint); max-width: 78ch; }

/* Reveal on scroll. Content is visible by default; script adds .js to enable the animation. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
  .split, .faq { grid-template-columns: 1fr; }
  .marks { grid-template-columns: repeat(3, 1fr); }
  .nav__links { display: none; }
  .nav__in { justify-content: space-between; }
}
@media (max-width: 560px) {
  .marks { grid-template-columns: repeat(2, 1fr); }
  .marks li { height: 100px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 12px; }
  .rows .chip { font-size: .75rem; padding: 0 10px; }
  .who small { display: none; }
  .nav .btn { height: 40px; padding: 0 16px; font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.legal { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 120px); }
.legal__in { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); }
.legal h2 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; margin-top: 2.4rem; }
.legal p { margin-top: .9rem; color: var(--ink); }
.legal__draft { background: #FFF4D6; color: #6B4E00 !important; border-radius: 12px; padding: .8rem 1rem; font-size: .95rem; margin: 0 0 2rem !important; }
.legal__date { color: var(--soft) !important; font-size: .95rem; }
.shell { width:100%; max-width: var(--max); margin-inline:auto; padding-inline: var(--pad); } .legal__in { padding-inline: var(--pad); }
.nav__links a[href^="/#"] {}
.band .small-h { max-width: none; }

/* Beta chip */
.chip--beta { background: #EEE8FF; color: var(--accent); height: 28px; margin-bottom: 20px; }
.hero__in > p.reveal:first-child { line-height: 1; }

/* Request access pop-up */
.modal { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; margin: auto; }
.modal::backdrop { background: rgba(16,19,62,.45); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .25s var(--ease); }
.modal[open]::backdrop { animation: fade .25s; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
.modal__box { position: relative; width: min(520px, 100vw - 24px); max-height: calc(100dvh - 24px); overflow: auto; background: #fff; border-radius: 24px; padding: 28px 24px 20px; box-shadow: 0 30px 80px -20px rgba(16,19,62,.5); }
.modal__box h2 { font-size: 1.5rem; margin-bottom: 12px; }
.modal__box iframe { width: 100%; height: 640px; max-height: calc(100dvh - 190px); min-height: 420px; border: 0; }
.modal__x { position: absolute; right: 14px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--tone); font-size: 22px; line-height: 1; cursor: pointer; }
.modal__fine { margin-top: 10px; font-size: .8125rem; color: var(--faint); }
/* The GoHighLevel form is styled for a violet background (white text), so the pop-up is violet too. */
.modal__box { background: linear-gradient(135deg, #10133E 0%, #2A1F7A 55%, #5B35D5 100%); color: #fff; }
.modal__x { background: rgba(255,255,255,.16); color: #fff; }
.modal__fine { color: rgba(255,255,255,.7); }
.modal__fine a { color: #fff; }

/* v3.2: centered section heads, overview points, more product cards, matching, getting started */
.head { max-width: 760px; margin: 0 auto; text-align: center; display: grid; justify-items: center; }
.band .head h2 { max-width: 20ch; }
.head .lead { margin-top: 18px; }
.head .lead + .lead { margin-top: 12px; }
.cards { margin-top: 56px; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.points li { display: grid; gap: 6px; background: #fff; border-radius: var(--r); padding: 24px; box-shadow: 0 0 0 1px var(--line); }
.band:not(.band--tone) .points li { background: var(--tone); box-shadow: none; }
.points b { font-weight: 600; font-size: 1.0625rem; }
.points span { color: var(--soft); font-size: .9688rem; }
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pipe span { display: grid; background: #fff; border-radius: 12px; padding: 8px 10px; }
.pipe small { font-size: .6875rem; color: var(--faint); white-space: nowrap; }
.pipe b { font-weight: 600; font-size: 1.125rem; }
.ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #EEE8FF; color: var(--accent); font-size: .6875rem; font-weight: 600; flex: none; }
.tick { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #E3F5EC; color: var(--ok); font-weight: 700; flex: none; margin: 0 4px; }
.tick--wait { background: #FFF1D9; color: var(--wait); }
#sellers .split { margin-top: 48px; grid-template-columns: 1fr 1fr; }
#sellers .list { margin-top: 0; }
#sellers .list li { background: var(--tone); }
.match { max-width: 820px; margin: 48px auto 0; padding: 24px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; background: #fff; }
.match__side { background: var(--tone); border-radius: 16px; padding: 16px 18px; }
.match__t { font-weight: 600; font-size: 1.125rem; margin: 2px 0; }
.match__mid { display: grid; justify-items: center; }
.score { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--accent)); color: #fff; font-weight: 600; font-size: 1.375rem; }
.match__mid small { font-size: .75rem; color: var(--faint); margin-top: 4px; }
.match__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .875rem; color: var(--soft); border-top: 1px solid var(--line); padding-top: 16px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; counter-reset: s; }
.steps3 li { display: grid; gap: 6px; background: var(--tone); border-radius: var(--r); padding: 24px; }
.steps3 b { font-weight: 600; font-size: 1.0625rem; margin-top: 8px; }
.steps3 span:not(.num) { color: var(--soft); font-size: .9688rem; }
.num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: .9375rem; }
.faq { display: block; }
.faq__list { max-width: 760px; margin: 40px auto 0; }
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .points, .steps3 { grid-template-columns: 1fr; }
  #sellers .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .match { grid-template-columns: 1fr; text-align: center; }
  .match__foot { justify-content: center; text-align: center; }
}

/* Closing call to action: copy on the left, a live feed of deal events on the right */
.cta { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; text-align: left; padding: clamp(40px, 6vw, 72px); }
.cta__copy { position: relative; display: grid; justify-items: start; gap: 18px; }
.cta__copy h2 { max-width: 14ch; color: #fff; }
.cta__copy p { color: rgba(255,255,255,.8); max-width: 36em; }
.chip--glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.cta__ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 8px; }
.cta__ticks li { position: relative; padding-left: 24px; font-size: .9375rem; color: #fff; }
.cta__ticks li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 2px solid #8FD8FF; border-bottom: 2px solid #8FD8FF; transform: rotate(-45deg); }
.orb--d { width: 380px; height: 380px; left: -120px; bottom: -200px; background: radial-gradient(circle, rgba(4,174,255,.7), transparent 70%); opacity: .5; }
.cta__feed { position: relative; display: grid; gap: 12px; }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; }
.toast .who small { color: rgba(255,255,255,.7); }
.toast:nth-child(even) { margin-left: 32px; }
.js .cta.is-in .toast { animation: toastIn .6s var(--ease) both; }
.js .cta.is-in .t1 { animation-delay: .3s; } .js .cta.is-in .t2 { animation-delay: .7s; }
.js .cta.is-in .t3 { animation-delay: 1.1s; } .js .cta.is-in .t4 { animation-delay: 1.5s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@media (max-width: 860px) {
  .cta { grid-template-columns: 1fr; }
  .toast:nth-child(even) { margin-left: 0; }
}
.legal .legal__in { max-width: 780px; }
@media (max-width: 560px) { .cta__feed { display: none; } }
