/* MailManager brochure site, iRealty brand version. Static CSS, self-hosted Outfit, no frameworks. */

@font-face { font-family: 'Outfit'; font-weight: 300; font-style: normal; font-display: swap; src: url('fonts/outfit-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/outfit-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/outfit-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/outfit-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/outfit-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 800; font-style: normal; font-display: swap; src: url('fonts/outfit-latin-800-normal.woff2') format('woff2'); }

:root {
  /* iRealty brand palette */
  --ink: #050505;
  --navy: #111111;
  --navy-2: #1C1C1C;
  --magenta: #D62598;
  --magenta-deep: #A3166F;
  --blue: #0077CF;
  --green: #80E0A7;
  --green-deep: #17804A;
  --yellow: #F3E600;
  --blue-tint: #EAF4FC;
  --pink-tint: #FBE8F4;
  --green-tint: #E8F8EF;
  --yellow-tint: #FDFBC8;
  --grey-tint: #EDEDED;
  --mist: #F7F7F7;
  --line: #E3E3E3;
  --text: #111111;
  --muted: #555555;
  --white: #fff;
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --r: 20px;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Type */
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--blue); }
.on-dark .eyebrow { color: var(--green); }
h1 { font-weight: 700; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-weight: 700; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.on-dark .lead { color: #c9d6e6; }
section { padding: clamp(64px, 8.5vw, 112px) 0; }
.head { max-width: 760px; margin-bottom: 48px; }
.head h2 { margin: 12px 0 16px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px; font: 600 16px var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--magenta); color: #fff; }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(214,37,152,.4); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand img { height: 36px; width: auto; }
.nav ul { display: flex; align-items: center; gap: 26px; }
.nav ul a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text); }
.nav ul a:hover { color: var(--magenta); }
.nav ul a.btn-primary { color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font: 600 14px var(--font); color: var(--ink); cursor: pointer; }

/* Hero */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: clamp(64px, 8vw, 110px) 0 clamp(64px, 8vw, 110px); }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle at 35% 40%, rgba(214,37,152,.38), rgba(0,119,207,.22) 45%, transparent 68%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--magenta); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chips li { border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 7px 16px; font-size: 14px; color: #dbe6f3; }
.chips li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); margin-right: 10px; }

/* Mock window (dashboard and builder illustrations) */
.mock { background: #fff; color: var(--text); border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(5,20,45,.28); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--mist); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd8e3; display: inline-block; }
.mock-bar b { margin-left: 8px; font-weight: 600; color: var(--ink); }
.mock-bar .tag { margin-left: auto; font-size: 12px; background: var(--yellow-tint); color: #5f5a00; border-radius: 999px; padding: 3px 12px; font-weight: 600; }
.mock-body { padding: 20px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { background: var(--mist); border-radius: 14px; padding: 14px 16px; }
.kpi small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.kpi strong { display: block; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); font-weight: 700; }
.kpi span { font-size: 12px; color: var(--blue); font-weight: 600; }
.kpi.hot { background: var(--pink-tint); }
.kpi.hot span { color: var(--magenta-deep); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 16px; padding: 0 4px; }
.bars i { flex: 1; background: var(--magenta); border-radius: 6px 6px 2px 2px; opacity: .85; }
.bars i:nth-child(odd) { background: var(--blue); opacity: .9; }
.sample-note { font-size: 12px; color: #6b7c92; margin-top: 12px; }

/* Enterprise dashboard section */
.enterprise { background: var(--mist); }
.dash { display: grid; grid-template-columns: 220px 1fr; }
.dash aside { border-right: 1px solid var(--line); padding: 18px; background: #fbfdff; }
.dash aside h4 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.dash aside li { padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--text); }
.dash aside li.on { background: var(--blue-tint); color: var(--blue); font-weight: 600; }
.dash .main { padding: 20px; min-width: 0; }
.kpis.six { grid-template-columns: repeat(3, 1fr); }
.kpis.six .kpi strong { font-size: 24px; }
.table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 520px; }
th, td { padding: 11px 14px; text-align: right; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
thead th { background: var(--mist); color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
tbody tr + tr td { border-top: 1px solid var(--line); }
tfoot td { background: var(--mist); font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); }
.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.card p { color: var(--muted); margin-top: 10px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--blue-tint); color: var(--blue); }
.icon.amber { background: var(--pink-tint); color: var(--magenta-deep); }
.icon.navy { background: var(--green-tint); color: var(--green-deep); }
.icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.features { margin-top: 56px; }
.built { margin-top: 22px; }
.built .card h3 { margin-bottom: 14px; }
.ticks li { position: relative; padding-left: 28px; margin-top: 10px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg) scale(.85); }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Alternating feature rows */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.row2 + .row2 { margin-top: clamp(64px, 8vw, 110px); }
.row2.flip .copy { order: 2; }
.copy h2 { margin: 12px 0 16px; font-size: clamp(28px, 3.2vw, 40px); }
.points { margin-top: 26px; display: grid; gap: 18px; }
.points li { padding-left: 20px; border-left: 3px solid var(--blue); }
.points li:nth-child(2) { border-color: var(--magenta); }
.points li:nth-child(3) { border-color: var(--green); }
.points b { display: block; font-weight: 600; color: var(--ink); font-size: 18px; }
.points span { color: var(--muted); }
.visual { background: var(--mist); border-radius: 28px; padding: 28px; border: 1px solid var(--line); }
.timeline li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.timeline li + li { margin-top: 12px; position: relative; }
.timeline li + li::before { content: ""; position: absolute; left: 31px; top: -13px; height: 13px; width: 2px; background: var(--line); }
.badge { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 8px; padding: 5px 9px; }
.b-email { background: var(--blue-tint); color: var(--blue); }
.b-sms { background: var(--pink-tint); color: var(--magenta-deep); }
.b-wait { background: var(--grey-tint); color: #333; }
.timeline b { display: block; font-weight: 600; color: var(--ink); line-height: 1.3; }
.timeline small { color: var(--muted); font-size: 14px; }
.chart { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.chart h4 { font-size: 14px; font-weight: 600; color: var(--ink); }
.chart .legend { font-size: 12px; color: var(--muted); }
.shield { display: grid; gap: 12px; }
.shield li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; font-weight: 500; color: var(--ink); }
.shield .icon { margin: 0; width: 40px; height: 40px; border-radius: 12px; flex: none; }

/* Why brokers choose */
.why { background: var(--ink); color: #fff; }
.why .card { background: var(--navy); border-color: rgba(255,255,255,.1); }
.why .card p { color: #c0cfe2; }
.why .card h3 { color: #fff; }
.why .icon { background: rgba(0,119,207,.22); color: #5db5ff; }
.why .icon.amber { background: rgba(214,37,152,.22); color: #ff7fd0; }
.why .icon.navy { background: rgba(128,224,167,.16); color: var(--green); }

/* Journeys */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; margin-bottom: 16px; }
.steps li:nth-child(2)::before { background: var(--magenta); }
.steps li:nth-child(3)::before { background: var(--green); color: var(--ink); }
.steps li:nth-child(4)::before { background: var(--blue); }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.journeys { background: var(--mist); }
.builder { margin-top: 48px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; }
.builder .settings { padding: 22px; border-right: 1px solid var(--line); background: #fbfdff; }
.builder .settings h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.builder dl { margin: 0; display: grid; gap: 12px; font-size: 14px; }
.builder dt { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.builder dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }
.flow { padding: 24px; display: grid; gap: 0; justify-items: center; }
.node { width: min(100%, 420px); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; }
.node + .node { margin-top: 26px; position: relative; }
.node + .node::before { content: ""; position: absolute; left: 50%; top: -26px; height: 26px; width: 2px; background: var(--line); }
.node b { display: block; font-weight: 600; color: var(--ink); line-height: 1.3; }
.node small { color: var(--muted); font-size: 14px; }
.node .count { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.node.start { background: var(--ink); border-color: var(--ink); }
.node.start b { color: #fff; } .node.start small { color: #c0cfe2; }
.node.end { background: var(--green-tint); border-color: #bde9cf; }
.b-act { background: var(--green-tint); color: var(--green-deep); }
.types { margin-top: 48px; }
.type { display: flex; flex-direction: column; gap: 6px; }
.type .tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 8px; padding: 4px 9px; background: var(--blue-tint); color: var(--blue); margin-bottom: 8px; }
.type:nth-child(3n+2) .tag { background: var(--pink-tint); color: var(--magenta-deep); }
.type:nth-child(3n) .tag { background: var(--green-tint); color: var(--green-deep); }
.type h3 { font-size: 20px; }
.live { margin-top: 56px; }
.live .row2 { gap: 56px; }
.live-list li { display: flex; align-items: center; gap: 14px; padding: 14px 4px; }
.live-list li + li { border-top: 1px solid var(--line); }
.live-list .av { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-2); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: none; }
.live-list b { display: block; font-weight: 600; color: var(--ink); line-height: 1.3; }
.live-list small { color: var(--muted); }
.live-list .st { margin-left: auto; font-size: 13px; font-weight: 600; background: var(--mist); border-radius: 999px; padding: 5px 12px; white-space: nowrap; color: var(--ink); }
.live-list .st.ok { background: var(--green-tint); color: var(--green-deep); }

/* Connect */
.connect .card { display: flex; gap: 18px; align-items: flex-start; }
.connect .icon { margin: 0; flex: none; }

/* Booking */
.book { background: var(--mist); }
.book-frame { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 12px; box-shadow: 0 20px 50px rgba(10,27,51,.08); overflow: hidden; }
.book-frame iframe { display: block; border-radius: 14px; }
.note.center { text-align: center; }
.note a { color: var(--blue); font-weight: 600; }

/* CTA + contact */
.cta { background: linear-gradient(135deg, #050505, #1C1C1C); color: #fff; text-align: center; }
.cta h2 { max-width: 20ch; margin: 14px auto 18px; }
.cta .lead { margin: 0 auto; }
.cta .cta-row { justify-content: center; }
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-grid .label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.contact-grid a, .contact-grid .v { font-size: 20px; font-weight: 500; color: var(--ink); text-decoration: none; }
.contact-grid a:hover { text-decoration: underline; }

footer { background: var(--ink); color: #b8c6d9; padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
footer img { height: 34px; width: auto; }
footer a { text-underline-offset: 4px; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .hero .wrap, .row2, .builder { grid-template-columns: 1fr; }
  .row2.flip .copy { order: 0; }
  .row2 { gap: 36px; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .builder .settings { border-right: 0; border-bottom: 1px solid var(--line); }
  .dash { grid-template-columns: 1fr; }
  .dash aside { border-right: 0; border-bottom: 1px solid var(--line); }
  .dash aside ul { display: flex; gap: 6px; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-btn { display: inline-block; }
  .nav ul { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px; }
  .nav ul.open { display: flex; }
  .nav ul li { width: 100%; }
  .nav ul a:not(.btn) { display: block; padding: 14px 0; font-size: 17px; }
  .g3, .g2, .steps, .contact-grid { grid-template-columns: 1fr; }
  .kpis, .kpis.six { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 24px; }
  .visual { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
