/* Property Scanner landing. Dark theme locked page-wide.
   Shape system: interactive elements are pill, containers are 20px, inputs 12px. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/outfit-latin.woff2") format("woff2");
}

:root {
  --bg: #0d0d0d;
  --bg-raised: #161616;
  --bg-card: #1b1b1b;
  --line: rgb(255 255 255 / 0.09);
  --text: #f3f0e9;
  --text-dim: #b3aea3;
  --accent: #f4a903;
  --accent-soft: rgb(244 169 3 / 0.12);
  --radius-card: 20px;
  --radius-input: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-weight: 350;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

h1, h2, h3 { font-weight: 550; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }

h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 550;
  font-size: 1.02rem;
  padding: 16px 34px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: #141414;
  box-shadow: 0 8px 30px rgb(244 169 3 / 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgb(244 169 3 / 0.35); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  background: #101010;
  filter: brightness(1.45) saturate(1.08);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 42%, rgb(13 13 13 / 0.08) 0%, rgb(13 13 13 / 0.42) 70%, rgb(13 13 13 / 0.66) 100%),
    linear-gradient(to bottom, rgb(13 13 13 / 0.32), rgb(13 13 13 / 0.06) 30%, rgb(13 13 13 / 0.1) 70%, var(--bg) 100%);
}

/* Circular radar scanner: slow rotating sweep, watermark-subtle */
.hero-radar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(135vmin, 1150px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  border: 1px solid rgb(244 169 3 / 0.22);
}

.hero-radar::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  border: 1px solid rgb(244 169 3 / 0.15);
}

.hero-radar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgb(244 169 3 / 0.34) 0deg,
    rgb(244 169 3 / 0.1) 55deg,
    transparent 80deg,
    transparent 360deg
  );
  -webkit-mask: radial-gradient(circle, transparent 18%, #000 55%, transparent 72%);
  mask: radial-gradient(circle, transparent 18%, #000 55%, transparent 72%);
  animation: radar-sweep 7s linear infinite;
}

@keyframes radar-sweep {
  to { transform: rotate(360deg); }
}

.hero-inner {
  position: relative;
  text-align: center;
  padding: 96px 20px;
  display: grid;
  justify-items: center;
  gap: 28px;
}

.hero-logo {
  width: clamp(240px, 34vw, 420px);
  height: auto;
  filter: drop-shadow(0 4px 24px rgb(0 0 0 / 0.5));
}

.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--text-dim);
  max-width: 34ch;
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(88px, 12vw, 160px); }

/* Say it once: split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.split-copy h2 { margin-bottom: 24px; }
.split-copy p { color: var(--text-dim); font-size: 1.1rem; }
.split-copy p + p { margin-top: 16px; }

.split-visual { display: grid; gap: 18px; }

.brief-card, .match-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 28px;
}

.brief-card { position: relative; overflow: hidden; }
.brief-card::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 40%;
  left: -45%;
  background: linear-gradient(100deg, transparent, rgb(244 169 3 / 0.05), transparent);
  animation: brief-scan 3.2s var(--ease) infinite;
}
@keyframes brief-scan { to { left: 110%; } }

.brief-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.brief-text { font-size: 1.15rem; font-weight: 450; line-height: 1.45; }
.brief-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--accent);
}
.scan-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.match-card { margin-left: clamp(0px, 4vw, 48px); }
.match-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.match-fit {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.85rem;
  font-weight: 550;
}
.match-source { font-size: 0.82rem; color: var(--text-dim); }
.match-title { font-weight: 550; font-size: 1.12rem; margin-bottom: 12px; }
.match-why { list-style: none; display: grid; gap: 7px; }
.match-why li {
  color: var(--text-dim);
  font-size: 0.97rem;
  padding-left: 22px;
  position: relative;
}
.match-why li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Ranked by fit: statement + bento trio */
.ranked { background: var(--bg-raised); }
.ranked-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.ranked-head p { color: var(--text-dim); font-size: 1.15rem; margin-top: 20px; }

.bento {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 18px;
}
.bento-cell {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(26px, 3vw, 40px);
  background: var(--bg-card);
}
.bento-cell p { color: var(--text-dim); }
.bento-wide {
  background:
    radial-gradient(120% 140% at 0% 100%, rgb(244 169 3 / 0.09) 0%, transparent 55%),
    var(--bg-card);
}
.bento-amber {
  background: linear-gradient(150deg, #f4a903 0%, #d99503 100%);
  border-color: transparent;
}
.bento-amber h3 { color: #141414; }
.bento-amber p { color: rgb(20 20 20 / 0.78); }
.bento-icon { display: flex; flex-direction: column; }
.bento-mark { margin-bottom: auto; border-radius: 14px; padding-bottom: 18px; box-sizing: content-box; }

/* Join */
.join { position: relative; overflow: hidden; }
.join-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 55% at 50% 0%, rgb(244 169 3 / 0.09) 0%, transparent 70%);
}
.join-inner {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--accent);
  margin-bottom: 18px;
}
.join-sub {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-top: 20px;
}

.join-perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  margin-top: 28px;
  padding: 0;
}
.join-perks li {
  color: var(--text-dim);
  font-size: 0.98rem;
  padding-left: 24px;
  position: relative;
}
.join-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.form-wrap {
  width: min(520px, 100%);
  margin-top: 44px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 36px);
  text-align: left;
}

.form-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--bg);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 26px;
}
.form-tab {
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 450;
  padding: 10px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.form-tab.is-active { background: var(--accent); color: #141414; font-weight: 550; }

.capture-form { display: grid; gap: 18px; }
.capture-form[hidden] { display: none; }

.field { display: grid; gap: 8px; }
.field label { font-size: 0.92rem; font-weight: 450; }
.optional { color: var(--text-dim); font-weight: 350; }
.field input {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  color: var(--text);
  font: inherit;
  padding: 13px 16px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder { color: #7d786e; }
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(244 169 3 / 0.18);
}
.field.has-error input { border-color: #e05b4d; }
.field-error { color: #ff8a7a; font-size: 0.85rem; }
.form-note { color: var(--text-dim); font-size: 0.85rem; text-align: center; }

.form-success {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  padding: 28px 0 14px;
}
.form-success[hidden] { display: none; }
.form-success img { border-radius: 12px; }
.form-success p { color: var(--text-dim); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 40px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-inner img { width: 150px; height: auto; opacity: 0.85; }
.footer-inner p { color: var(--text-dim); font-size: 0.9rem; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .match-card { margin-left: 0; }
  .hero-inner { padding: 72px 20px; gap: 22px; }
}

@media (max-width: 480px) {
  .form-tab { font-size: 0.84rem; padding: 9px 4px; line-height: 1.3; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-radar::before, .brief-card::after, .scan-dot { animation: none; }
  .hero-radar { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .form-tab { transition: none; }
}
