*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0A0A0A;
  --surface:      #111111;
  --surface-2:    #161616;
  --border:       rgba(255,255,255,0.08);
  --green:        #1B5E3B;
  --green-bright: #22C55E;
  --green-soft:   #5DBA85;
  --green-dark:   #0A1F12;
  --white:        #FFFFFF;
  --gray:         #A0A0A0;
  --gray-dim:     #606060;
}

html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── INTRO SCREEN ───────────────────────────────────────── */
#intro-screen {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.7s ease;
}
#intro-screen.fade-out { opacity: 0; pointer-events: none; }
.intro-icon {
  width: 96px; height: 96px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.intro-icon.show { opacity: 1; transform: scale(1); }

/* ── TYPED CURSOR ───────────────────────────────────────── */
.typed-cursor {
  display: inline-block;
  width: 4px; height: 0.85em;
  background: var(--green-bright);
  margin-left: 4px;
  vertical-align: middle;
  animation: blink 0.9s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Nav fades in after intro completes */
nav {
  opacity: 0;
  transition: opacity 0.5s ease;
}
nav.show { opacity: 1; }

/* ── NAV ────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-dot {
  width: 12px; height: 12px;
  background: var(--green-bright);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(34,197,94,0.55);
}
.nav-logo-text {
  font-size: 1.1rem; font-weight: 800;
  letter-spacing: -0.03em; color: var(--white);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.86rem; font-weight: 500;
  color: var(--gray); text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--white); }
.btn-signin {
  background: transparent; color: var(--green-bright);
  border: 1px solid var(--green-bright); border-radius: 8px;
  padding: 9px 18px; font-size: 0.85rem; font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.btn-signin:hover {
  background: var(--green-bright); color: #000;
  transform: translateY(-1px);
}
/* Create Account is the filled button and Sign In the outline, because
   a visitor who has never heard of CloseKit is the one we want to catch.
   Someone who already has an account will find a sign-in link anywhere. */
.btn-signup {
  background: var(--green-bright); color: #000;
  border: 1px solid var(--green-bright); border-radius: 8px;
  padding: 9px 18px; font-size: 0.85rem; font-weight: 700;
  text-decoration: none; margin-left: 8px;
  transition: filter 0.15s, transform 0.15s;
}
.btn-signup:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 90px 0 80px;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 880px; height: 600px;
  background: radial-gradient(ellipse, rgba(27,94,59,0.22) 0%, transparent 68%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(34,197,94,0.1);
  color: var(--green-bright);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
  border: 1px solid rgba(34,197,94,0.22);
  margin-bottom: 30px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; color: var(--white);
  margin-bottom: 22px;
}
.hero h1 .green { color: var(--green-bright); }
.hero-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--gray);
  max-width: 620px; margin: 0 auto 38px;
  line-height: 1.7;
}
.btn-primary {
  background: var(--green-bright); color: #000;
  border: none; border-radius: 10px;
  padding: 16px 32px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
  text-decoration: none; display: inline-block;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(34,197,94,0.4);
}
.hero-mini-note {
  font-size: 13px; color: var(--gray-dim);
  margin-top: 14px;
}

/* ── SECTION HEADERS ────────────────────────────────────── */
.section-label {
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green-bright); margin-bottom: 14px;
}
.section-headline {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800; letter-spacing: -0.025em;
  color: var(--white); line-height: 1.12; margin-bottom: 18px;
}
.section-sub {
  font-size: 1rem; color: var(--gray); line-height: 1.7; max-width: 580px;
}

/* ── HOW IT WORKS ───────────────────────────────────────── */
.how-section {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-header { margin-bottom: 60px; text-align: center; }
.steps-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
}
.step-card {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
}
.step-card:last-child { border-right: none; }
.step-num-big {
  font-size: 4rem; font-weight: 800;
  color: rgba(34,197,94,0.12);
  letter-spacing: -0.04em;
  display: block; margin-bottom: 16px; line-height: 1;
}
.step-card h3 {
  font-size: 1.12rem; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
}
.step-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.65; }

/* ── BOTH SIDES ─────────────────────────────────────────── */
.sides-section { padding: 110px 0; }
.sides-header { margin-bottom: 56px; text-align: center; }
.sides-header .section-sub { margin: 0 auto; }
.sides-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 28px;
}
.side-tag {
  display: inline-block;
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-bright);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.22);
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 18px;
}
.side-card h3 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--white); margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.side-list { list-style: none; }
.side-list li {
  font-size: 0.88rem; color: var(--gray);
  line-height: 1.6; padding-left: 26px;
  position: relative; margin-bottom: 12px;
}
.side-list li:last-child { margin-bottom: 0; }
.side-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
}
.sides-note {
  margin-top: 20px;
  background: var(--green-dark);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: 14px;
  padding: 22px 26px;
  text-align: center;
}
.sides-note strong { color: var(--white); font-weight: 700; }
.sides-note p { font-size: 0.9rem; color: var(--gray); line-height: 1.65; }

/* ── FEATURES ───────────────────────────────────────────── */
.features-section { padding: 110px 0; }
.features-header { margin-bottom: 56px; text-align: center; }
.features-header .section-sub { margin: 0 auto; }
.features-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.feat-card {
  flex: 1 1 300px; max-width: 357px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.feat-card:hover {
  border-color: rgba(34,197,94,0.3);
  transform: translateY(-2px);
}
.feat-emoji { font-size: 1.65rem; margin-bottom: 14px; display: block; }
.feat-card h3 {
  font-size: 0.96rem; font-weight: 700;
  color: var(--white); margin-bottom: 8px;
}
.feat-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.65; }

/* ── PRICING ────────────────────────────────────────────── */
.pricing-section {
  padding: 110px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-header { margin-bottom: 56px; text-align: center; }
.pricing-header .section-sub { margin: 0 auto; }
.pricing-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px; max-width: 720px; margin: 0 auto;
}
.pricing-card {
  flex: 1 1 320px; max-width: 352px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.2s;
}
.pricing-card:hover { border-color: rgba(255,255,255,0.18); }
.pricing-card.popular {
  border: 2px solid var(--green);
  background: linear-gradient(180deg, var(--green-dark) 0%, var(--bg) 100%);
}
.popular-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #FFF;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px; border-radius: 999px;
}
.pricing-name {
  font-size: 0.74rem; font-weight: 700;
  color: var(--gray-dim);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 14px;
}
.pricing-price {
  margin-bottom: 8px;
}
.pricing-price-num {
  font-size: 2.6rem; font-weight: 800;
  color: var(--white); letter-spacing: -0.02em;
}
.pricing-price-period {
  color: var(--gray-dim); font-size: 0.9rem;
}
.pricing-tagline {
  font-size: 0.88rem; color: var(--gray);
  line-height: 1.55;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
}
.pricing-note {
  text-align: center;
  color: var(--gray-dim);
  font-size: 0.88rem;
  margin-top: 36px;
}

/* ── WAITLIST ───────────────────────────────────────────── */
.waitlist-section {
  padding: 110px 0;
  background: var(--green-dark);
  text-align: center;
}
.waitlist-section .section-sub { margin: 14px auto 38px; color: rgba(255,255,255,0.65); }
.waitlist-form { max-width: 460px; margin: 0 auto; }
.form-row { display: flex; gap: 8px; }
.form-row input {
  flex: 1; min-width: 0;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px; padding: 14px 16px;
  font-size: 0.92rem; color: var(--white);
  background: rgba(255,255,255,0.08);
  outline: none; font-family: inherit;
  transition: border-color 0.15s;
}
.form-row input::placeholder { color: rgba(255,255,255,0.32); }
.form-row input:focus { border-color: rgba(255,255,255,0.55); }
.btn-white {
  background: var(--white); color: #000;
  border: none; border-radius: 8px;
  padding: 14px 22px; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; font-family: inherit;
  transition: background 0.15s, transform 0.15s;
}
.btn-white:hover { background: #EBEBEB; transform: translateY(-1px); }
.btn-white:disabled { opacity: 0.5; cursor: not-allowed; }
.form-msg {
  font-size: 14px; font-weight: 600;
  margin-top: 14px;
  min-height: 20px;
}
.form-msg.success { color: var(--green-soft); }
.form-msg.error   { color: #F87171; }
.waitlist-success {
  max-width: 460px; margin: 0 auto;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 10px;
  padding: 20px 24px;
  color: var(--green-soft);
  font-size: 1rem; font-weight: 600;
}

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-left { display: flex; align-items: center; gap: 12px; }
.footer-tagline {
  font-size: 13px; color: var(--gray-dim);
}
.footer-email {
  font-size: 13px; color: var(--gray);
  text-decoration: none; transition: color 0.15s;
}
.footer-email:hover { color: var(--green-bright); }
.footer-copy { font-size: 12px; color: var(--gray-dim); }

/* ── REVEAL ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.07s; }
.d2 { transition-delay: 0.14s; }
.d3 { transition-delay: 0.21s; }
.d4 { transition-delay: 0.28s; }
.d5 { transition-delay: 0.35s; }

/* ── MOBILE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { gap: 14px; }
  /* Section links collapse on narrow screens; both account buttons stay,
     or the page loses its only call to action on a phone. */
  .nav-links a:not(.btn-signin):not(.btn-signup) { display: none; }
  .btn-signup { margin-left: 6px; padding: 8px 12px; }
  .container { padding: 0 18px; }
  .hero { padding: 72px 0 60px; min-height: auto; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .steps-grid,
  .sides-grid { grid-template-columns: 1fr; }
  .features-grid, .pricing-grid { max-width: 100%; }
  .feat-card, .pricing-card { flex-basis: 100%; max-width: 100%; }
  .side-card { padding: 26px 22px; }
  .step-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 28px 20px;
  }
  .step-card:last-child { border-bottom: none; }
  .form-row { flex-direction: column; gap: 10px; }
  .form-row input { width: 100%; }
  .btn-white { width: 100%; }
  .how-section, .features-section, .sides-section,
  .pricing-section, .waitlist-section { padding: 68px 0; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── TEXT HIGHLIGHTS ────────────────────────────────────── */
/* Links from Google results and AI summaries often end in #:~:text=…, and
   Chrome paints the matched words with its own lavender box and black text.
   On this dark page that looked like a rendering bug, so keep the words
   white and drop the box. */
::target-text { background: transparent; color: var(--white); }
::selection { background: rgba(34,197,94,0.35); color: var(--white); }

/* ── INTRO LINE UNDER A SECTION HEADLINE ────────────────── */
.how-header .section-sub { margin: 0 auto; }

/* ── FOOTER LINKS ───────────────────────────────────────── */
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 13px; color: var(--gray);
  text-decoration: none; transition: color 0.15s;
}
.footer-links a:hover { color: var(--green-bright); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-section { padding: 110px 0; }
.faq-header { margin-bottom: 48px; text-align: center; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(34,197,94,0.3); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 20px 52px 20px 24px;
  font-size: 1rem; font-weight: 700; color: var(--white);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem; font-weight: 400; color: var(--green-bright);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible {
  outline: 2px solid var(--green-bright); outline-offset: 2px; border-radius: 12px;
}
.faq-item p {
  padding: 0 24px 22px;
  font-size: 0.92rem; color: var(--gray); line-height: 1.7;
}
.faq-item a, .prose a { color: var(--green-bright); }

/* ── INNER PAGES (compare, faq) ─────────────────────────── */
.page-hero { padding: 90px 0 40px; text-align: center; }
.page-hero h1 {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 22px;
}
.page-hero .section-sub { margin: 0 auto; max-width: 720px; }
.page-section { padding: 48px 0; }
.page-section h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--gray); margin-bottom: 14px; }
.prose p strong { color: var(--white); }

.answer-box {
  max-width: 760px; margin: 0 auto;
  background: var(--green-dark);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: 14px;
  padding: 28px 30px;
}
.answer-box h2 { font-size: 1.25rem; margin-bottom: 14px; }

.compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.compare-table {
  width: 100%; min-width: 680px;
  border-collapse: collapse;
  font-size: 0.88rem; line-height: 1.55;
}
.compare-table th, .compare-table td {
  text-align: left; vertical-align: top;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table thead th {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-dim);
}
.compare-table tbody th { color: var(--white); font-weight: 700; width: 24%; }
.compare-table td { color: var(--gray); }
.compare-table .ck { color: var(--white); background: rgba(27,94,59,0.18); }
.compare-table thead .ck { color: var(--green-bright); }
.table-note { font-size: 0.8rem; color: var(--gray-dim); margin-top: 12px; }

.fit-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 900px; margin: 0 auto;
}
.fit-grid .side-card h2 { font-size: 1.15rem; margin-bottom: 16px; }

.page-cta { padding: 64px 0 110px; text-align: center; }
.page-cta .section-sub { margin: 0 auto 30px; }

@media (max-width: 768px) {
  .page-hero { padding: 60px 0 24px; }
  .page-section { padding: 32px 0; }
  .answer-box { padding: 22px 20px; }
  .fit-grid { grid-template-columns: 1fr; }
  .faq-section { padding: 68px 0; }
  .faq-item summary { padding: 18px 46px 18px 18px; }
  .faq-item summary::after { right: 18px; }
  .faq-item p { padding: 0 18px 18px; }
  .footer-links { justify-content: center; }
  .page-cta { padding: 48px 0 68px; }
}

.side-list strong { color: var(--white); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Second pricing note: brokerages, teams, and agents outside Florida. */
.pricing-note-more { margin-top: 8px; }
.pricing-note a { color: var(--green-bright); }

/* Waitlist: email and phone side by side, the button full width under them. */
.waitlist-submit { width: 100%; margin-top: 8px; }
.waitlist-note {
  display: block; width: 100%; margin-top: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px; padding: 14px 16px;
  font-size: 0.92rem; color: var(--white);
  background: rgba(255,255,255,0.08);
  outline: none; font-family: inherit; line-height: 1.5;
  resize: vertical; min-height: 80px;
  transition: border-color 0.15s;
}
.waitlist-note::placeholder { color: rgba(255,255,255,0.32); }
.waitlist-note:focus { border-color: rgba(255,255,255,0.55); }

/* Footer: email and phone together. */
.footer-contact { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
