:root {
  --violet: #5b21f6;
  --violet-2: #7c3aed;
  --indigo: #4f46e5;
  --magenta: #e23de6;
  --pink: #db5ac0;
  --ink: #111827;
  --body: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --gray-bg: #f0f0f0;
  --lav-bg: #f3effe;
  --soft-bg: #f8f9fb;
  --tint-pink: #fdeefb;
  --tint-lav: #f1eafd;
  --amber-bg: #fff4dc;
  --amber-ink: #8a5300;
  --green: #15803d;
  --grad: linear-gradient(115deg, #3b0df5 0%, #6a1cf5 38%, #a92cf0 70%, #e23de6 100%);
  --grad-btn: linear-gradient(90deg, #5b21f6 0%, #e23de6 100%);
  --head: "Space Grotesk", system-ui, sans-serif;
  --text: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-family: var(--text); font-size: 16px; line-height: 1.6; color: var(--body); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--indigo); }
img, svg { display: block; }
.wrap { width: 100%; max-width: 1110px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; font-family: var(--text); font-weight: 500; font-size: 17px; text-decoration: none; border: 2px solid #fff; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(30, 0, 90, .25); }
.btn-white { background: #fff; color: var(--violet); }
.btn-ghost { background: transparent; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--grad); }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 380px at 8% 85%, rgba(20, 40, 255, .55), transparent 70%),
    radial-gradient(520px 420px at 92% 95%, rgba(255, 70, 220, .55), transparent 70%),
    radial-gradient(700px 400px at 70% 0%, rgba(120, 90, 255, .45), transparent 70%);
}
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%); }

.nav { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 30px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-family: var(--head); font-size: 21px; letter-spacing: -.6px; white-space: nowrap; }
.brand b { font-weight: 700; }
.logo-mark { width: 30px; height: 30px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; }
.nav-links a { color: #fff; text-decoration: none; font-size: 16px; }
.nav-links a:not(.btn):hover { opacity: .8; }
.nav-cta { margin-left: 12px; }
.nav-cta .btn { min-height: 40px; font-size: 16px; padding: 0 22px; color: var(--violet); }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px 8px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.eyebrow-dark { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); font-size: 14px; font-weight: 500; backdrop-filter: blur(6px); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .3); }
.hero h1 { font-family: var(--head); font-weight: 400; font-size: clamp(34px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -2.4px; margin: 0 0 26px; color: #fff; }
.hero h1 em { display: block; font-style: italic; font-weight: 700; letter-spacing: -2px; margin-top: 4px; }
.lede { font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.94); max-width: 470px; margin: 0 0 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }

/* Hero dashboard card */
.dash { background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 30px 70px rgba(25, 0, 80, .35); overflow: hidden; }
.dash-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dash-title { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.dash-sq { width: 18px; height: 18px; border-radius: 4px; background: var(--grad-btn); }
.live { font-size: 12.5px; color: var(--green); background: #e7f8ec; padding: 3px 10px; border-radius: 999px; font-weight: 500; }
.dash-body { padding: 16px 20px 8px; }
.dash-label { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #4b5563; }
.dash-list { list-style: none; margin: 0; padding: 0; }
.dash-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f1f2f4; font-size: 14px; }
.dash-list li:last-child { border-bottom: 0; }
.dash-list a { color: var(--ink); font-weight: 500; text-decoration: none; }
.dash-list a:hover { color: var(--violet); }
.hb { margin-left: auto; color: var(--muted); font-size: 12.5px; text-align: right; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.d0 { background: #0f766e; } .d1 { background: #3b82f6; } .d2 { background: #e0734c; } .d3 { background: #8b5cf6; }
.dash-foot { padding: 14px 20px 18px; border-top: 1px solid var(--line); background: #fcfcfd; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; background: #fff; }

/* Badges & section titles */
.badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 5px 14px; border-radius: 999px; background: #eef0f5; color: var(--indigo); font-size: 14px; font-weight: 500; }
.badge svg { width: 17px; height: 17px; }
.sec-title { font-family: var(--head); font-weight: 700; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -1.6px; color: var(--ink); margin: 0 0 12px; }
.grad-text { color: var(--indigo); }
.sec-sub { margin: 0 0 32px; max-width: 640px; }

/* Trust */
.trust { padding: 80px 0 64px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { padding: 24px; min-height: 100%; }
.tcard.pink { background: var(--tint-pink); } .tcard.lav { background: var(--tint-lav); } .tcard.gray { background: var(--gray-bg); }
.ticon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 6px; color: #fff; margin-bottom: 18px; }
.ticon svg { width: 26px; height: 26px; }
.pink .ticon { background: linear-gradient(135deg, #ec4fc5, #c13fb0); }
.lav .ticon { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.gray .ticon { background: linear-gradient(135deg, #6d4af7, #4f2ae8); }
.ttitle { font-family: var(--text); font-weight: 700; font-size: 19px; line-height: 1.35; color: var(--ink); margin: 0 0 10px; }
.tcard p:not(.ttitle) { margin: 0; font-size: 15.5px; }
.pink .ttitle { color: #b0329a; } .lav .ttitle { color: #7e22ce; } .gray .ttitle { color: #4f2ae8; }

/* Agents */
.agents { background: var(--gray-bg); padding: 76px 0 40px; }
.agent-jump { margin: 0 0 30px; overflow-x: auto; scrollbar-width: none; }
.agent-jump::-webkit-scrollbar { display: none; }
.agent-jump ul { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0; }
.agent-jump a { display: inline-block; white-space: nowrap; padding: 8px 16px; background: #fff; color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 500; font-size: 15px; letter-spacing: -.3px; border: 1px solid #e3e3e8; transition: border-color .15s, color .15s; }
.agent-jump a:hover { border-color: var(--violet); color: var(--violet); }

.agent { position: relative; background: #fff; padding: 36px 36px 30px; margin-bottom: 28px; box-shadow: 0 2px 4px rgba(17,24,39,.04), 0 10px 28px rgba(17,24,39,.06); }
.agent:first-of-type { border-top: 4px solid transparent; border-image: var(--grad-btn) 1; }
.pos { display: none; }
.agent-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 8px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; font-family: var(--head); font-weight: 700; font-size: 20px; letter-spacing: -.5px; }
.agent h2 { font-family: var(--head); font-weight: 700; font-size: clamp(23px, 2.5vw, 30px); line-height: 1.18; letter-spacing: -1.1px; color: var(--ink); margin: 0 0 6px; }
.agent-meta { margin: 0; font-size: 15px; color: var(--muted); }
.spec { margin-bottom: 26px; }
.spec-label { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #4b5563; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.pills li { padding: 5px 14px; border-radius: 999px; background: var(--lav-bg); color: #5530d6; font-size: 14px; font-weight: 500; }
h3.featured { font-family: var(--head); font-weight: 700; font-size: 24px; letter-spacing: -1.1px; color: var(--pink); margin: 0 0 14px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
table.sales { width: 100%; border-collapse: collapse; min-width: 820px; font-size: 14.5px; }
.sales th { text-align: left; font-family: var(--head); font-weight: 600; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: #374151; background: #f7f7fa; padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sales td { padding: 14px 16px; border-bottom: 1px solid #f0f1f3; vertical-align: top; color: #374151; }
.sales tr:last-child td { border-bottom: 0; }
.sales tbody tr:hover { background: #faf8ff; }
.sales .addr span:first-child { display: block; font-weight: 500; color: var(--ink); }
.sales .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sales .price { font-family: var(--head); font-weight: 700; font-size: 15.5px; color: var(--ink); letter-spacing: -.2px; }
.tag-team { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 999px; background: var(--amber-bg); color: var(--amber-ink); }
.view { font-weight: 500; text-decoration: none; white-space: nowrap; }
.view:hover { text-decoration: underline; }
.src { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Compare */
.compare { background: var(--lav-bg); padding: 80px 0; }
.cmp-controls { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.cmp-controls label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #4b5563; flex: 1 1 240px; max-width: 340px; }
.cmp-controls select { appearance: none; -webkit-appearance: none; font: 500 16px var(--text); color: var(--ink); padding: 12px 40px 12px 14px; border: 1px solid #d6d0f5; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235b21f6' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; border-radius: 0; cursor: pointer; text-transform: none; letter-spacing: 0; }
.cmp-controls select:focus { outline: 2px solid var(--violet); outline-offset: 1px; }
.vs { font-family: var(--head); font-weight: 700; color: var(--violet); padding-bottom: 12px; }
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.cmp-card { background: #fff; padding: 26px; box-shadow: 0 6px 18px rgba(30, 10, 90, .12); min-width: 0; }
.cmp-card.featured-card { outline: 2px solid #8b3cf0; box-shadow: 0 10px 34px rgba(124, 58, 237, .22); }
.cmp-card .c-name { font-family: var(--head); font-weight: 700; font-size: 24px; letter-spacing: -.9px; color: var(--ink); margin: 0 0 4px; }
.cmp-card .c-brok { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.cmp-card .c-label { margin: 18px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #4b5563; }
.c-sales { list-style: none; margin: 0; padding: 0; }
.c-sales li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid #f0f1f3; font-size: 14px; }
.c-sales li:last-child { border-bottom: 0; }
.c-sales a { color: var(--ink); font-weight: 500; text-decoration: none; }
.c-sales a:hover { color: var(--violet); text-decoration: underline; }
.c-sales .c-price { font-family: var(--head); font-weight: 700; color: var(--ink); text-align: right; white-space: nowrap; }
.c-sales .c-sub { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.c-btn { display: flex; justify-content: center; align-items: center; margin-top: 20px; min-height: 42px; border-radius: 999px; background: var(--violet); color: #fff; font-weight: 500; text-decoration: none; }
.featured-card .c-btn { background: var(--grad-btn); }

/* FAQ */
.faq { padding: 84px 0 90px; }
.faq-list { margin-top: 28px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 2px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { margin: 0; font-family: var(--head); font-weight: 600; font-size: 20px; letter-spacing: -.6px; line-height: 1.3; color: var(--ink); }
.faq-item summary:hover h3 { color: var(--violet); }
.plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--lav-bg); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--violet); transform: translate(-50%, -50%); transition: transform .2s; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .plus { background: var(--grad-btn); }
.faq-item[open] .plus::before, .faq-item[open] .plus::after { background: #fff; }
.faq-item[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a p { margin: 0 0 22px; max-width: 720px; }

/* Footer */
.footer { background: var(--grad); color: #fff; padding: 54px 0 26px; }
.f-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.f-tag { font-family: var(--head); font-size: 20px; line-height: 1.25; letter-spacing: -.5px; margin: 24px 0 0; }
.f-copy { max-width: 440px; font-size: 15px; }
.f-copy p { margin: 0 0 14px; color: rgba(255,255,255,.9); }
.f-copy .f-h { margin: 0 0 4px; font-weight: 700; color: #fff; font-size: 14px; }
.f-bottom { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.3); font-size: 13.5px; color: rgba(255,255,255,.85); }
.f-bottom a { color: rgba(255,255,255,.85); text-decoration: none; }
.f-bottom a:hover { color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 70px; }
  .dash { max-width: 560px; }
  .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 76px; right: 20px; left: 20px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: 0 20px 40px rgba(20,0,60,.3); padding: 8px; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { color: var(--ink); display: block; padding: 12px 14px; }
  .nav-cta { margin: 6px 0 0; }
  .nav-cta .btn { width: 100%; background: var(--violet); color: #fff; border-color: var(--violet); }
  .cmp-grid { grid-template-columns: 1fr; }
  .vs { display: none; }
  .cmp-controls label { max-width: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav { padding-top: 20px; }
  .brand { font-size: 18px; }
  .hero h1 { letter-spacing: -1.4px; }
  .hero h1 em { letter-spacing: -1.2px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hb { display: none; }
  .trust, .agents, .compare, .faq { padding-top: 56px; }
  .agent { padding: 24px 18px 20px; }
  .agent-head { gap: 14px; }
  .avatar { width: 46px; height: 46px; font-size: 17px; }
  .faq-item h3 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
