:root {
  --ink: #183b37;
  --ink-deep: #102e2b;
  --forest: #16443e;
  --forest-bright: #1f5a51;
  --mint: #b9dfce;
  --mint-pale: #e9f3ee;
  --coral: #ef805e;
  --coral-dark: #d96443;
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --gold: #f2c978;
  --text: #243d39;
  --muted: #687b77;
  --line: #d9e1dc;
  --shadow: 0 22px 60px rgba(21, 58, 53, 0.12);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 1000; left: 1rem; top: -5rem;
  background: var(--cream); color: var(--ink); padding: .75rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section-space { padding-block: 120px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: 82px; padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 253, 248, .92);
  border-bottom: 1px solid rgba(24, 59, 55, .08);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  color: var(--cream); background: var(--forest); border-radius: 12px;
  transform: rotate(-2deg);
}
.brand-mark svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.brand-name strong { font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: .92rem; font-weight: 650; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px;
  background: var(--coral); transition: right .22s ease;
}
.site-nav a:hover::after { right: 0; }
.nav-cta { padding: 11px 18px; color: white; background: var(--forest); border-radius: 999px; transition: transform .2s, background .2s; }
.nav-cta:hover { background: var(--forest-bright); transform: translateY(-2px); }
.menu-button { display: none; background: transparent; border: 0; padding: 8px; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

.hero {
  min-height: calc(100vh - 82px); display: grid; grid-template-columns: 1.03fr .97fr;
  align-items: center; gap: 72px; padding-block: 88px 100px;
}
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 20px;
  color: var(--coral-dark); font-size: .77rem; line-height: 1; font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em;
}
.eyebrow span { display: block; width: 26px; height: 2px; background: currentColor; }
.hero h1, .section-heading h2, .advisor-intro h2, .about-card h2 {
  margin: 0; color: var(--ink-deep); font-family: Georgia, "Times New Roman", serif;
  font-weight: 500; letter-spacing: -.055em; line-height: .98;
}
.hero h1 { font-size: clamp(3.7rem, 6.3vw, 6rem); }
.hero h1 em { color: var(--coral); font-weight: 500; }
.hero-lede { max-width: 610px; margin: 32px 0 34px; color: #536b66; font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 27px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 54px; padding: 0 24px; border: 0; border-radius: 999px;
  font-weight: 750; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: white; background: var(--coral); box-shadow: 0 14px 30px rgba(217, 100, 67, .22); }
.button-primary:hover { background: var(--coral-dark); box-shadow: 0 18px 34px rgba(217, 100, 67, .3); }
.button span { font-size: 1.2rem; }
.text-link { color: var(--ink); font-weight: 750; border-bottom: 1px solid var(--mint); }
.text-link span { margin-left: 6px; color: var(--coral); }
.microcopy { margin: 17px 0 0 5px; color: #84938f; font-size: .8rem; }

.hero-visual { position: relative; min-width: 0; isolation: isolate; }
.visual-glow {
  position: absolute; z-index: -2; inset: -18% -10%;
  background: radial-gradient(circle at center, rgba(185, 223, 206, .7), rgba(185, 223, 206, 0) 66%);
}
.workflow-window {
  position: relative; padding: 0 26px 28px; overflow: hidden;
  background: #fff; border: 1px solid rgba(22, 68, 62, .09); border-radius: 30px;
  box-shadow: 0 36px 80px rgba(16, 46, 43, .18); transform: rotate(1.4deg);
}
.window-bar {
  display: flex; align-items: center; gap: 7px; height: 62px;
  margin-inline: -26px; padding-inline: 24px; border-bottom: 1px solid #e8ece9;
}
.window-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #dce3df; }
.window-bar p { margin: 0 auto 0 8px; font-size: .82rem; font-weight: 750; }
.window-bar b { padding: 5px 10px; color: #236d50; background: #e5f5e9; border-radius: 20px; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.workflow-body { padding: 30px 4px 24px; }
.flow-step { display: grid; grid-template-columns: 48px 1fr 26px; align-items: center; gap: 14px; min-height: 78px; padding: 14px 16px; border: 1px solid #e4eae6; border-radius: 16px; box-shadow: 0 8px 20px rgba(16,46,43,.055); }
.flow-step .flow-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-weight: 850; }
.flow-step small, .flow-step strong { display: block; }
.flow-step small { color: #8a9894; font-size: .7rem; }
.flow-step strong { color: var(--ink); font-size: .92rem; }
.flow-step i { display: grid; place-items: center; width: 22px; height: 22px; color: #869793; background: #f2f5f3; border-radius: 50%; font-size: .7rem; font-style: normal; }
.flow-step-source .flow-icon { color: #336760; background: #eaf3ef; }
.flow-step-ai { border-color: rgba(239,128,94,.45); background: #fffaf7; }
.flow-step-ai .flow-icon { color: #b7482a; background: #fee5dc; }
.flow-step-done .flow-icon { color: #226646; background: #dff3e6; }
.flow-line { display: grid; place-items: center; height: 28px; }
.flow-line::before { content: ""; width: 2px; height: 100%; background: repeating-linear-gradient(to bottom, var(--mint) 0 5px, transparent 5px 9px); }
.time-saved { display: flex; align-items: center; gap: 14px; margin-top: 2px; padding: 18px; color: white; background: var(--forest); border-radius: 16px; }
.time-saved > span { display: grid; place-items: center; width: 37px; height: 37px; background: rgba(255,255,255,.12); border-radius: 10px; font-size: 1.2rem; }
.time-saved p { margin: 0 auto 0 0; }
.time-saved p strong, .time-saved p small { display: block; line-height: 1.3; }
.time-saved p strong { font-size: .95rem; }
.time-saved p small { color: #b9d2cd; font-size: .68rem; }
.time-saved b { color: var(--gold); font-size: .9rem; }
.float-note { position: absolute; display: flex; align-items: center; gap: 8px; padding: 11px 15px; background: white; border-radius: 999px; box-shadow: 0 14px 32px rgba(16,46,43,.17); color: var(--ink); font-size: .76rem; font-weight: 750; }
.float-note span { display: grid; place-items: center; width: 19px; height: 19px; color: white; background: var(--coral); border-radius: 50%; font-size: .65rem; }
.note-one { left: -34px; top: 29%; }
.note-two { right: -22px; bottom: 17%; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink-deep); color: white; padding: 28px max(24px, calc((100vw - 1180px) / 2)); }
.trust-strip > div { display: flex; align-items: center; gap: 16px; padding: 5px 28px; border-right: 1px solid rgba(255,255,255,.13); }
.trust-strip > div:first-child { padding-left: 0; }
.trust-strip > div:last-child { border: 0; }
.trust-strip span { color: var(--gold); font-family: Georgia, serif; font-size: 1.7rem; }
.trust-strip p { margin: 0; color: #b8ccc7; font-size: .78rem; line-height: 1.35; }
.trust-strip strong { display: block; color: white; font-size: .88rem; }

.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; align-items: end; margin-bottom: 52px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { font-size: clamp(2.65rem, 4.5vw, 4.4rem); }
.section-heading > p:last-child { max-width: 450px; margin: 0 0 5px; color: var(--muted); font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 310px; padding: 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; transition: background .25s, transform .25s; }
.service-card:hover { z-index: 2; background: var(--mint-pale); transform: translateY(-4px); }
.service-icon { display: grid; place-items: center; width: 55px; height: 55px; margin-bottom: 36px; color: var(--ink); background: var(--mint-pale); border-radius: 16px; font-size: 1.7rem; }
.service-card:hover .service-icon { background: white; }
.card-number { position: absolute; right: 36px; top: 28px; color: #b7c2bf; font-family: Georgia, serif; }
.service-card h3 { margin: 0 0 10px; color: var(--ink-deep); font-family: Georgia, serif; font-size: 1.6rem; letter-spacing: -.025em; }
.service-card > p:not(.card-number) { max-width: 430px; margin: 0 0 26px; color: var(--muted); }
.card-link { color: var(--ink); font-size: .82rem; font-weight: 750; }
.card-link b { margin-left: 5px; color: var(--coral); }

.advisor-section { display: grid; grid-template-columns: .84fr 1.16fr; gap: 80px; align-items: center; width: 100%; max-width: none; padding-inline: max(24px, calc((100vw - 1180px) / 2)); color: white; background: var(--forest); }
.eyebrow-light { color: var(--gold); }
.advisor-intro h2 { color: white; font-size: clamp(2.8rem, 4.6vw, 4.8rem); }
.advisor-intro > p:not(.eyebrow) { max-width: 500px; margin: 28px 0; color: #c7d9d5; font-size: 1.05rem; }
.advisor-intro ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; color: #dbe7e4; font-size: .9rem; }
.advisor-intro li { display: flex; align-items: center; gap: 10px; }
.advisor-intro li span { display: grid; place-items: center; width: 22px; height: 22px; color: var(--ink); background: var(--gold); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.advisor-card { min-height: 620px; overflow: hidden; color: var(--text); background: white; border-radius: var(--radius); box-shadow: 0 32px 70px rgba(5, 27, 23, .32); }
.advisor-topbar { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px 16px; }
.advisor-identity { display: flex; align-items: center; gap: 12px; }
.advisor-identity strong, .advisor-identity small { display: block; line-height: 1.35; }
.advisor-identity strong { color: var(--ink); font-size: .87rem; }
.advisor-identity small { color: #769088; font-size: .69rem; }
.advisor-avatar { position: relative; display: grid; place-items: center; width: 42px; height: 42px; color: var(--gold); background: var(--forest); border-radius: 13px; }
.advisor-avatar i { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; background: #56bd76; border: 2px solid white; border-radius: 50%; }
.step-counter { padding: 6px 10px; color: #6c7e7a; background: #f1f5f2; border-radius: 20px; font-size: .68rem; font-weight: 750; }
.progress-track { height: 4px; background: #edf1ef; }
.progress-track span { display: block; width: 25%; height: 100%; background: var(--coral); transition: width .35s ease; }
.chat-log { height: 370px; padding: 28px 26px 8px; overflow-y: auto; scroll-behavior: smooth; }
.message { display: flex; align-items: flex-end; gap: 9px; margin-bottom: 16px; animation: messageIn .3s ease both; }
.message-avatar { display: grid; place-items: center; flex: 0 0 30px; height: 30px; color: white; background: var(--forest); border-radius: 9px; font-size: .59rem; font-weight: 850; }
.message-bubble { max-width: 82%; padding: 13px 16px; background: #f1f5f2; border-radius: 16px 16px 16px 4px; font-size: .86rem; line-height: 1.5; }
.message-bubble p { margin: 0; }
.message-bubble p + p { margin-top: 6px; }
.message-user { justify-content: flex-end; }
.message-user .message-bubble { color: white; background: var(--forest); border-radius: 16px 16px 4px 16px; }
.typing-dots { display: flex; gap: 4px; padding: 7px 2px; }
.typing-dots i { width: 6px; height: 6px; background: #91a09c; border-radius: 50%; animation: bounce 1s infinite; }
.typing-dots i:nth-child(2) { animation-delay: .13s; }
.typing-dots i:nth-child(3) { animation-delay: .26s; }
.advisor-form { position: relative; margin: 12px 24px 24px; padding: 12px 58px 10px 14px; border: 1.5px solid #cfd9d4; border-radius: 17px; transition: border-color .2s, box-shadow .2s; }
.advisor-form:focus-within { border-color: var(--forest-bright); box-shadow: 0 0 0 4px rgba(31,90,81,.08); }
.advisor-form textarea { display: block; width: 100%; min-height: 52px; max-height: 90px; padding: 4px 0; resize: none; color: var(--text); background: transparent; border: 0; outline: 0; font-size: .83rem; line-height: 1.45; }
.advisor-form textarea::placeholder { color: #9ba7a3; }
.send-button { position: absolute; right: 10px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; color: white; background: var(--coral); border: 0; border-radius: 12px; cursor: pointer; font-size: 1.1rem; transition: background .2s, transform .2s; }
.send-button:hover { background: var(--coral-dark); transform: translateX(2px); }
.suggestion-chips { display: flex; gap: 7px; margin-top: 7px; overflow-x: auto; }
.suggestion-chips button { flex: 0 0 auto; padding: 5px 9px; color: #59706a; background: #f4f7f5; border: 1px solid #e0e7e3; border-radius: 16px; cursor: pointer; font-size: .65rem; }
.suggestion-chips button:hover { color: var(--ink); border-color: var(--mint); background: var(--mint-pale); }
.lead-result { padding: 25px 34px 28px; animation: messageIn .4s ease both; }
.result-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; color: #9a4a31; background: #fff0e9; border-radius: 30px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.lead-result h3 { margin: 14px 0 8px; color: var(--ink); font-family: Georgia, serif; font-size: 1.65rem; }
.lead-result > p { margin: 0 0 16px; color: #60726e; font-size: .84rem; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.result-grid div { padding: 12px 14px; background: #f1f6f3; border-radius: 12px; }
.result-grid small, .result-grid strong { display: block; }
.result-grid small { color: #80918c; font-size: .64rem; text-transform: uppercase; letter-spacing: .07em; }
.result-grid strong { color: var(--ink); font-size: .78rem; }
.lead-capture { margin-top: 14px; padding: 16px; background: var(--cream); border-radius: 15px; }
.lead-capture > p:first-child { margin: 0 0 12px; color: #5f6f6a; font-size: .74rem; line-height: 1.45; }
.lead-capture > p strong { color: var(--ink); font-size: .84rem; }
.lead-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lead-fields label { color: #687a75; font-size: .62rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.lead-fields input { width: 100%; margin-top: 3px; padding: 9px 10px; background: white; border: 1px solid #dcded8; border-radius: 8px; outline: none; font-size: .75rem; text-transform: none; letter-spacing: 0; }
.lead-fields input:focus { border-color: var(--forest-bright); }
.lead-capture .button { width: 100%; min-height: 42px; margin-top: 10px; font-size: .78rem; }
.preview-note { margin: 8px 0 0 !important; color: #9b7e66 !important; text-align: center; font-size: .62rem !important; }
.restart-button { display: block; margin: 12px auto 0; color: #70827d; background: transparent; border: 0; cursor: pointer; font-size: .7rem; }

.process-section .section-heading { margin-bottom: 40px; }
.process-list { border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 100px 1fr; padding: 40px 10px; border-bottom: 1px solid var(--line); }
.process-step > span { color: var(--coral); font-family: Georgia, serif; font-size: 2.4rem; }
.process-step > div { display: grid; grid-template-columns: 150px 1fr 1.3fr; align-items: baseline; gap: 32px; }
.process-step small { color: var(--coral-dark); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.process-step h3 { margin: 0; color: var(--ink); font-family: Georgia, serif; font-size: 1.45rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .92rem; }

.about-section { padding-bottom: 120px; }
.about-card { display: grid; grid-template-columns: 1.12fr .88fr; gap: 80px; align-items: center; padding: 72px; color: white; background: var(--ink-deep); border-radius: 34px; overflow: hidden; position: relative; }
.about-card::after { content: ""; position: absolute; right: -100px; bottom: -200px; width: 440px; height: 440px; border: 1px solid rgba(185,223,206,.17); border-radius: 50%; box-shadow: 0 0 0 55px rgba(185,223,206,.035), 0 0 0 110px rgba(185,223,206,.025); }
.about-card h2 { color: white; font-size: clamp(2.2rem, 3.7vw, 3.7rem); }
.about-copy { position: relative; z-index: 1; }
.about-copy p { margin: 0 0 28px; color: #bdceca; }
.button-cream { color: var(--ink); background: var(--cream); }
.button-cream:hover { background: white; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 34px max(24px, calc((100vw - 1180px) / 2)); color: #9db2ad; background: var(--forest); font-size: .76rem; }
.brand-footer { color: white; }
.brand-footer .brand-mark { color: var(--forest); background: var(--cream); }
.site-footer p { margin: 0; }
.copyright { text-align: right; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes messageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }

@media (max-width: 980px) {
  .site-nav { position: fixed; left: 16px; right: 16px; top: 72px; display: none; flex-direction: column; align-items: stretch; gap: 6px; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .nav-cta { text-align: center; }
  .menu-button { display: block; }
  .hero { grid-template-columns: 1fr; gap: 75px; padding-top: 70px; }
  .hero-copy { max-width: 730px; }
  .hero-visual { width: min(600px, 94%); margin-inline: auto; }
  .advisor-section { grid-template-columns: 1fr; }
  .advisor-intro { max-width: 690px; }
  .advisor-card { width: min(680px, 100%); }
  .section-heading { grid-template-columns: 1fr; row-gap: 22px; }
  .process-step > div { grid-template-columns: 110px 1fr; }
  .process-step p { grid-column: 2; }
  .about-card { grid-template-columns: 1fr; gap: 30px; padding: 55px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p:nth-child(2) { display: none; }
}

@media (max-width: 680px) {
  .section-shell { width: min(100% - 32px, 1180px); }
  .section-space { padding-block: 82px; }
  .site-header { height: 70px; padding-inline: 16px; }
  .brand-name { font-size: .94rem; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { min-height: auto; gap: 65px; padding-block: 60px 78px; }
  .hero h1 { font-size: clamp(3.35rem, 15vw, 4.7rem); }
  .hero-lede { margin-block: 24px 28px; font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .workflow-window { padding-inline: 15px; }
  .window-bar { margin-inline: -15px; }
  .flow-step { grid-template-columns: 40px 1fr 22px; gap: 10px; padding: 12px 10px; }
  .flow-step .flow-icon { width: 38px; height: 38px; }
  .note-one { left: -10px; top: 27%; }
  .note-two { right: -9px; bottom: 15%; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div, .trust-strip > div:first-child { padding: 16px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .trust-strip > div:last-child { border: 0; }
  .section-heading h2 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 285px; padding: 34px 28px; }
  .advisor-section { width: 100%; padding-inline: 16px; gap: 48px; }
  .advisor-intro h2 { font-size: clamp(2.7rem, 12vw, 3.6rem); }
  .advisor-card { min-height: 610px; }
  .advisor-topbar { padding-inline: 18px; }
  .chat-log { padding-inline: 18px; }
  .advisor-form { margin-inline: 16px; }
  .message-bubble { max-width: 88%; }
  .lead-result { padding-inline: 20px; }
  .result-grid, .lead-fields { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 52px 1fr; padding-block: 32px; }
  .process-step > div { grid-template-columns: 1fr; gap: 5px; }
  .process-step p { grid-column: 1; margin-top: 9px; }
  .about-section { width: 100%; padding-bottom: 0; }
  .about-card { padding: 62px 28px; border-radius: 0; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .copyright { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
