/* Zegicon marketing site */
@font-face { font-family: Fraunces; src: url(../fonts/Fraunces_72pt-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: Fraunces; src: url(../fonts/Fraunces_72pt-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Fraunces; src: url(../fonts/Fraunces_72pt-Italic.ttf) format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --plum: #3F224F;
  --plum-2: #6A3D7A;
  --deep: #1a0e22;
  --deep-2: #24132f;
  --gold: #F5C76A;
  --amber: #E8A93B;
  --blue: #3A86E0;
  --red: #E0484C;
  --green: #2E9E5B;
  --paper: #FBF8FD;
  --paper-2: #F3EDF7;
  --ink: #1d1424;
  --ink-2: #4a3f52;
  --muted: #7d7088;
  --line: #e9e1ef;
  --radius: 22px;
  --shadow: 0 30px 60px -20px rgba(63, 34, 79, .35);
  --wrap: 1180px;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--plum-2); }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.center { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--plum-2); margin-bottom: 16px; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--blue { color: var(--blue); }
.eyebrow .tick { width: 20px; height: 20px; }
.ai { background: var(--gold); color: var(--plum); border-radius: 6px; padding: 1px 7px; font-size: .7rem; letter-spacing: .05em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 560px; }
.lead--center { margin-inline: auto; }
.note { font-size: .95rem; color: var(--muted); }

/* Buttons & store badges */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--amber)); color: var(--plum); box-shadow: 0 12px 28px -10px rgba(232, 169, 59, .7); }
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.stores--center { justify-content: center; }
.store { display: inline-block; border-radius: 12px; transition: transform .2s, box-shadow .2s; }
.store img { height: 52px; width: auto; }
.store:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); }
.store:focus-visible, .btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Header */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(26, 14, 34, .92); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; }
.nav__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .95rem; color: rgba(255, 255, 255, .78); transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__cta { padding: 10px 20px; font-size: .92rem; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: grid; gap: 4px; padding: 8px 20px 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 4px; text-decoration: none; color: rgba(255, 255, 255, .85); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.mobile-menu .btn { margin-top: 12px; }

/* Shared dark backdrop (hero + CTA) */
.hero, .cta, .feature--dark, .agents, .tour { position: relative; color: #fff; background: var(--deep); overflow: hidden; }
.hero h1 em, .cta h2 em, .feature--dark h2 em, .agents h2 em, .tour h2 em { color: var(--gold); }
.hero .lead, .cta .lead, .feature--dark .lead, .agents .lead, .tour .lead { color: rgba(255, 255, 255, .78); }
.hero .lead strong { color: #fff; }
.hero__bg, .cta__bg { position: absolute; inset: 0; pointer-events: none; }
.grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 80%); mask: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 80%); }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow--a { width: 620px; height: 620px; right: -120px; top: -120px; background: rgba(106, 61, 122, .8); }
.glow--b { width: 460px; height: 460px; left: -160px; bottom: -200px; background: rgba(232, 169, 59, .22); }

/* Hero */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(80px, 10vw, 130px); }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .78); }
.trust li { display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--gold { background: var(--gold); } .dot--blue { background: var(--blue); } .dot--red { background: var(--red); }

.hero__art { position: relative; height: 640px; }
.phone { position: absolute; width: 280px; aspect-ratio: 9 / 18.6; border-radius: 42px; padding: 10px; background: linear-gradient(145deg, #4a3a55, #120b17 45%, #2a1f31); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 33px; }
.hero .phone--front { left: 6%; top: 40px; transform: rotate(-6deg); z-index: 2; }
.hero .phone--back { right: 2%; top: 0; transform: rotate(7deg); opacity: .9; }
.float { position: absolute; margin: 0; border-radius: 18px; overflow: visible; z-index: 3; }
.float img { border-radius: 16px; box-shadow: 0 26px 50px -16px rgba(0, 0, 0, .6); }
.float .tag { position: absolute; top: -16px; left: 14px; z-index: 1; }
.float--flood { width: 220px; left: -4%; bottom: 40px; transform: rotate(-4deg); }
.float--flood img { box-shadow: 0 26px 50px -16px rgba(0, 0, 0, .6), 0 0 0 4px rgba(224, 72, 76, .55), 0 0 40px rgba(224, 72, 76, .35); }
.float--verified { width: 290px; right: -4%; bottom: 70px; transform: rotate(4deg); }
.float--verified img { box-shadow: 0 26px 50px -16px rgba(0, 0, 0, .6), 0 0 0 3px rgba(58, 134, 224, .6), 0 0 40px rgba(58, 134, 224, .3); }
.tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.tag--red { background: var(--red); color: #fff; }
.tag--gold { background: var(--amber); color: var(--plum); }

/* Ticker */
.ticker { background: var(--plum); color: #fff; overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .08); }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { padding: 18px 28px; font-family: var(--serif); font-size: 1.15rem; white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.ticker span::after { content: "✦"; color: var(--gold); font-size: .8rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Problem cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: 0 18px 40px -28px rgba(63, 34, 79, .35); transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard p { color: var(--ink-2); margin: 0; }
.pcard strong { color: var(--ink); }
.pcard__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.pcard__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcard__icon--red { background: #fdecec; color: var(--red); }
.pcard__icon--blue { background: #e8f1fc; color: var(--blue); }
.pcard__icon--gold { background: #fdf3df; color: #b07a17; }

/* Feature rows */
.feature__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.feature__art { position: relative; height: 600px; }
.feature__art .phone { top: 10px; }
.phone--tilt-l { left: 4%; transform: rotate(-5deg); }
.phone--tilt-r { right: 4%; transform: rotate(5deg); }
.phone--offset { top: 70px !important; }
.feature--dark { background: radial-gradient(60% 60% at 15% 30%, rgba(106, 61, 122, .55), transparent 70%), var(--deep); }
.factors { list-style: none; padding: 0; margin: 28px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.factors li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-weight: 600; font-size: .95rem; }
.f { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(245, 199, 106, .14); font-size: 1rem; font-weight: 400; }
.f--red { background: rgba(224, 72, 76, .2); }
.feature--dark .note { color: rgba(255, 255, 255, .6); }

#homes .feature__art .phone { left: 14%; }
.float--fee { width: 330px; right: 0; top: 300px; transform: rotate(-3deg); }
.float--fee img { box-shadow: 0 26px 50px -16px rgba(63, 34, 79, .45), 0 0 0 3px rgba(232, 169, 59, .7); }
.float--inspect { width: 330px; left: 0; bottom: 30px; transform: rotate(2deg); }
.float--inspect img { box-shadow: 0 26px 50px -16px rgba(63, 34, 79, .45), 0 0 0 2px rgba(106, 61, 122, .35); }
.feature__in--rev .feature__copy { order: 0; }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 38px; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: var(--paper-2); color: var(--plum-2); }
.ticks strong { color: var(--ink); }
.ticks--light li { color: rgba(255, 255, 255, .82); }
.ticks--light li::before { background: rgba(245, 199, 106, .16); color: var(--gold); }
.ticks--light strong { color: var(--gold); }

/* Verification */
.verify { background: linear-gradient(180deg, var(--paper), #eef4fd); }
.verify h2 em.blue { color: var(--blue); }
.steps { list-style: none; padding: 0; margin: 26px 0 20px; display: grid; gap: 16px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid #dfe9f7; border-radius: 18px; padding: 16px 18px; }
.steps span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; }
.steps b { display: block; color: var(--ink); }
.steps div { color: var(--ink-2); font-size: .95rem; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px; display: flex; flex-direction: column; gap: 4px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.svc i { font-style: normal; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; background: color-mix(in srgb, var(--c) 14%, #fff); margin-bottom: 12px; }
.svc b { font-size: 1.05rem; }
.svc span { color: var(--muted); font-size: .92rem; }
.svc--cta { background: linear-gradient(145deg, var(--plum), var(--plum-2)); color: #fff; border: 0; }
.svc--cta span { color: rgba(255, 255, 255, .78); }
.svc--cta a { margin-top: auto; padding-top: 12px; color: var(--gold); font-weight: 700; text-decoration: none; }
.flow { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 46px; flex-wrap: wrap; }
.flow__step { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.flow__step span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--plum); font-size: .9rem; }
.flow__line { width: 60px; height: 2px; background: repeating-linear-gradient(90deg, var(--plum-2) 0 6px, transparent 6px 12px); }

/* Video tour */
.tour { background: radial-gradient(50% 70% at 80% 50%, rgba(106, 61, 122, .6), transparent 70%), var(--deep-2); }
.tour__in { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.tour__video { width: 330px; border-radius: 34px; padding: 10px; background: linear-gradient(145deg, #4a3a55, #120b17 45%, #2a1f31); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8); }
.tour__video video { width: 100%; aspect-ratio: 9 / 16; border-radius: 26px; background: #000; display: block; }

/* How it works */
.how__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.how__list li { position: relative; padding: 30px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.how__list p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.how__n { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; line-height: 1; margin-bottom: 18px; background: linear-gradient(135deg, var(--plum-2), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* For agents */
.agents { background: radial-gradient(55% 60% at 85% 30%, rgba(58, 134, 224, .25), transparent 70%), radial-gradient(60% 60% at 70% 70%, rgba(106, 61, 122, .6), transparent 70%), var(--deep); }
.agents__in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.agents .btn { margin-top: 30px; }
.agents__art { position: relative; height: 520px; }
.float--a1 { width: 92%; left: 4%; top: 0; transform: rotate(-3deg); }
.float--a1 img { box-shadow: 0 26px 50px -16px rgba(0, 0, 0, .6), 0 0 0 3px rgba(58, 134, 224, .6); }
.float--a2 { width: 84%; right: 0; top: 262px; transform: rotate(3deg); }
.float--a2 img { box-shadow: 0 26px 50px -16px rgba(0, 0, 0, .6), 0 0 0 3px rgba(232, 169, 59, .7); }
.float--a3 { width: 88%; left: 0; bottom: 0; transform: rotate(-2deg); }

/* FAQ */
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq__list { display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: box-shadow .25s; }
.faq details[open] { box-shadow: 0 18px 40px -26px rgba(63, 34, 79, .4); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--plum-2); font-size: 1.1rem; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* CTA */
.cta { padding: clamp(80px, 10vw, 130px) 0; text-align: center; }
.cta__in { position: relative; }
.cta__logo { margin: 0 auto 26px; background: #fff; border-radius: 24px; padding: 10px; box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .6); }
.cta h2 { max-width: 760px; margin-inline: auto; }
.cta .store img { height: 58px; }

/* Footer */
.footer { background: #120a18; color: rgba(255, 255, 255, .7); padding: 64px 0 28px; }
.footer__in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer .brand { color: #fff; }
.footer__brand p { margin-top: 14px; max-width: 280px; }
.footer__nav { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__nav div { display: grid; gap: 10px; align-content: start; }
.footer__nav b { color: #fff; margin-bottom: 4px; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: var(--gold); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .82rem; color: rgba(255, 255, 255, .45); }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
}

/* ── Responsive ── */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .how__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__in, .feature__in, .agents__in, .faq__in, .tour__in { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .stores, .trust { justify-content: center; }
  .hero__art { height: 560px; max-width: 520px; width: 100%; margin: 10px auto 0; }
  .feature__art { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; order: 2; }
  .feature__copy { order: 1; }
  .cards3 { grid-template-columns: 1fr; }
  .agents__art { height: 460px; max-width: 520px; width: 100%; margin: 0 auto; }
  .tour__in { justify-items: center; text-align: center; }
  .tour .lead { margin-inline: auto; }
  .tour .stores { justify-content: center; }
}
@media (max-width: 640px) {
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .phone { width: 220px; border-radius: 34px; padding: 8px; }
  .phone img { border-radius: 27px; }
  .hero__art, .feature__art { height: 470px; }
  .hero .phone--front { left: 0; }
  .hero .phone--back { right: 0; }
  .float--flood { width: 170px; left: -2%; bottom: 20px; }
  .float--verified { width: 210px; right: -2%; bottom: 40px; }
  .float--fee, .float--inspect { width: 260px; }
  .float--fee { top: 250px; }
  .factors { grid-template-columns: 1fr; }
  .svc-grid, .how__list { grid-template-columns: 1fr; }
  .store img, .cta .store img { height: 46px; }
  .flow__line { display: none; }
  .tour__video { width: 280px; }
}
