:root {
  --bg: #211e20;
  --bg-deep: #171518;
  --panel: #fbfafb;
  --ink: #231f23;
  --muted: #706b73;
  --line: #e9e5ea;
  --purple: #7047ad;
  --purple-dark: #49318d;
  --indigo: #343d9d;
  --lavender: #efe9f8;
  --white: #ffffff;
  --green: #2f9c74;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

.hero { position: relative; min-height: 840px; overflow: hidden; color: var(--white); background: linear-gradient(145deg, #181619 0%, #252024 50%, #1d1a1d 100%); }
.hero::before { position: absolute; inset: 0; content: ""; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 66px 66px; mask-image: linear-gradient(to right, black, transparent 72%); }
.glow { position: absolute; border-radius: 50%; filter: blur(6px); pointer-events: none; }
.glow-a { top: -260px; left: -160px; width: 680px; height: 680px; opacity: .19; background: radial-gradient(circle, #764bd2 0%, transparent 66%); }
.glow-b { right: -160px; bottom: -280px; width: 640px; height: 640px; opacity: .12; background: radial-gradient(circle, #3a49d0 0%, transparent 68%); }
.network-lines { position: absolute; right: 2%; bottom: 0; width: 39%; height: 46%; opacity: .18; background: linear-gradient(36deg, transparent 49.6%, #9c83d0 49.8%, #9c83d0 50.2%, transparent 50.4%), linear-gradient(-24deg, transparent 49.6%, #9c83d0 49.8%, #9c83d0 50.2%, transparent 50.4%); }
.node { position: absolute; width: 9px; height: 9px; border: 2px solid #c0a7ee; border-radius: 50%; background: var(--bg); box-shadow: 0 0 22px #8654d3; }
.n1 { left: 20%; top: 26%; } .n2 { right: 20%; top: 12%; } .n3 { left: 44%; bottom: 20%; } .n4 { right: 4%; bottom: 36%; }

.topbar { position: relative; z-index: 2; display: flex; width: min(1200px, calc(100% - 48px)); height: 102px; margin: 0 auto; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.09); }
.logo { width: 190px; height: 50px; object-fit: cover; object-position: center; mix-blend-mode: screen; }
.confidential { display: flex; align-items: center; gap: 9px; color: #c5c0c8; font-size: .82rem; }
.confidential span { width: 7px; height: 7px; border-radius: 50%; background: #8c64c5; box-shadow: 0 0 0 5px rgba(140,100,197,.12); }

.hero-grid { position: relative; z-index: 1; display: grid; width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0 82px; grid-template-columns: minmax(0, .96fr) minmax(440px, .76fr); gap: clamp(58px, 8vw, 108px); align-items: center; }
.eyebrow, .section-tag { display: inline-flex; align-items: center; gap: 10px; color: #bda2e6; font-size: .72rem; font-weight: 700; letter-spacing: .19em; }
.eyebrow::before { width: 28px; height: 1px; content: ""; background: #8c5dcc; }
.hero-copy h1 { max-width: 650px; margin: 22px 0 24px; font-family: "Manrope", sans-serif; font-size: clamp(2.8rem, 5.15vw, 4.85rem); line-height: 1.04; letter-spacing: -.06em; }
.hero-copy h1 em { display: block; margin-bottom: -.1em; padding-bottom: .1em; color: transparent; font-style: normal; background: linear-gradient(92deg, #9d74d8 0%, #6960c6 68%); background-clip: text; -webkit-background-clip: text; }
.lead { max-width: 590px; margin: 0; color: #c4bec6; font-size: 1.08rem; line-height: 1.72; }
.proof-row { display: grid; max-width: 610px; margin: 38px 0 34px; grid-template-columns: repeat(3, 1fr); }
.proof-row div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.13); }
.proof-row strong, .proof-row span { display: block; }
.proof-row strong { color: #fff; font-family: "Manrope", sans-serif; font-size: .98rem; }
.proof-row span { margin-top: 4px; color: #8f8991; font-size: .72rem; line-height: 1.35; }
.micro-trust { display: flex; max-width: 560px; align-items: center; gap: 13px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.09); }
.lock-icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(164,126,215,.33); border-radius: 50%; color: #a77edc; font-weight: 700; }
.micro-trust p { margin: 0; color: #878188; font-size: .75rem; line-height: 1.5; }
.micro-trust strong { color: #bdb7bf; font-weight: 600; }

.form-card { position: relative; min-height: 636px; padding: 31px 34px 24px; border: 1px solid rgba(255,255,255,.75); border-radius: 20px; color: var(--ink); background: rgba(255,255,255,.985); box-shadow: 0 32px 90px rgba(0,0,0,.38); }
.form-card::before { position: absolute; inset: -1px auto 28px -1px; width: 4px; content: ""; border-radius: 20px 0 0 20px; background: linear-gradient(#754daf, #3a45a5); }
.form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.step-kicker { color: var(--purple); font-size: .65rem; font-weight: 800; letter-spacing: .14em; }
.form-head h2 { margin: 6px 0 0; font-family: "Manrope", sans-serif; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.035em; }
.time-pill { flex: 0 0 auto; padding: 7px 9px; border-radius: 99px; color: #766e79; background: #f1eef2; font-size: .67rem; }
.progress { height: 3px; margin: 23px 0 26px; overflow: hidden; border-radius: 9px; background: #eae7eb; }
.progress i { display: block; width: 25%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--indigo), #8d4ebb); transition: width .35s ease; }

.form-step { display: none; animation: step-in .32s ease both; }
.form-step.active { display: block; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.field { margin-bottom: 17px; }
.field > label { display: flex; margin-bottom: 7px; align-items: center; justify-content: space-between; color: #4d4850; font-size: .79rem; font-weight: 600; }
.field > label span { color: #a29ca5; font-size: .66rem; font-weight: 500; }
input, textarea, select { width: 100%; border: 1px solid #dcd8de; border-radius: 9px; outline: 0; color: #262227; background: #fff; font-size: .9rem; transition: border-color .18s, box-shadow .18s; }
input, select { min-height: 47px; padding: 0 13px; }
textarea { resize: vertical; padding: 12px 13px; line-height: 1.45; }
input::placeholder, textarea::placeholder { color: #b0aab2; }
input:focus, textarea:focus, select:focus { border-color: #815bbb; box-shadow: 0 0 0 3px rgba(112,71,173,.1); }
.invalid input, .invalid textarea, .invalid select, .consent.invalid input { border-color: #bd5757; }
.field-error { display: block; min-height: 0; margin-top: 4px; color: #a13f3f; font-size: .67rem; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.select-wrap { position: relative; }
.select-wrap::after { position: absolute; top: 50%; right: 14px; width: 7px; height: 7px; content: ""; pointer-events: none; border-right: 1.5px solid #78717b; border-bottom: 1.5px solid #78717b; transform: translateY(-70%) rotate(45deg); }
select { appearance: none; padding-right: 36px; }
.field-meta { display: flex; margin-top: 6px; justify-content: space-between; gap: 10px; color: #9a949c; font-size: .63rem; }
.field-meta b { flex: 0 0 auto; color: #7550a8; }
.money-input { position: relative; }
.money-input span { position: absolute; top: 50%; left: 13px; color: #766f78; font-size: .8rem; font-weight: 700; transform: translateY(-50%); }
.money-input input { padding-left: 42px; }
.insight-banner { display: flex; margin-bottom: 17px; gap: 10px; padding: 11px 12px; border: 1px solid #e2d9ee; border-radius: 9px; color: #62586a; background: #f6f2fa; }
.insight-banner > span { color: #7046aa; font-size: 1rem; }
.insight-banner p { margin: 0; font-size: .7rem; line-height: 1.45; }
.metric-preview { display: grid; margin-top: 2px; padding: 14px; border-radius: 10px; color: #fff; background: linear-gradient(120deg, #302d70, #673a94); grid-template-columns: 1fr 1fr; }
.metric-preview div + div { padding-left: 17px; border-left: 1px solid rgba(255,255,255,.18); }
.metric-preview span, .metric-preview strong { display: block; }
.metric-preview span { color: #c4b9da; font-size: .65rem; }
.metric-preview strong { margin-top: 4px; font-family: "Manrope", sans-serif; font-size: 1.05rem; }
.valuation-preview { padding: 0; overflow: hidden; }
.valuation-preview > div { padding: 12px 14px; }
.valuation-preview > div + div { padding-left: 14px; }
.valuation-preview .metric-annual { border-top: 1px solid rgba(255,255,255,.18); border-left: 0; }
.valuation-preview .metric-valuation { border-top: 1px solid rgba(255,255,255,.18); }
.valuation-preview .client-value { display: grid; padding: 14px; grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; gap: 14px; border-top: 1px solid rgba(255,255,255,.18); border-left: 0; background: rgba(255,255,255,.08); }
.valuation-preview .client-value span { color: #fff; font-size: .72rem; font-weight: 700; }
.valuation-preview .client-value small { display: block; margin-top: 2px; color: #bfb1d2; font-size: .59rem; font-weight: 400; }
.valuation-preview .client-value strong { margin: 0; color: #fff; font-size: 1.25rem; text-align: right; }
.calc-note { margin: 7px 0 0; color: #9d97a0; font-size: .61rem; text-align: center; }
.cost-exclusion-note { display: flex; margin: -3px 0 14px; gap: 9px; padding: 10px 11px; border: 1px solid #e2d9ea; border-radius: 9px; color: #69606e; background: #f7f3fa; }
.cost-note-icon { display: grid; width: 20px; height: 20px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: #7550a8; font-size: .66rem; font-weight: 800; }
.cost-exclusion-note p { margin: 0; font-size: .67rem; line-height: 1.48; }
.cost-exclusion-note strong { display: block; margin-bottom: 2px; color: #513d61; font-size: .7rem; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice span { display: block; min-height: 68px; padding: 12px; border: 1px solid #ded9e0; border-radius: 9px; transition: .18s; }
.choice b, .choice small { display: block; }
.choice b { font-size: .78rem; }
.choice small { margin-top: 4px; color: #918a93; font-size: .64rem; }
.choice input:checked + span { border-color: #7146aa; background: #f3eef9; box-shadow: inset 0 0 0 1px #7146aa; }
.choice input:focus-visible + span { outline: 3px solid rgba(112,71,173,.14); }
.summary-strip { margin-bottom: 17px; padding: 13px 14px; border-radius: 10px; background: linear-gradient(100deg, #f0ebf7, #f6f3fa); }
.summary-strip span, .summary-strip strong, .summary-strip small { display: block; }
.summary-strip span { color: #796f7e; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.summary-strip strong { margin-top: 3px; color: #4f3377; font-size: .95rem; }
.summary-strip small { margin-top: 4px; color: #77707a; font-size: .67rem; }
.consent { display: flex; gap: 9px; color: #777079; font-size: .66rem; line-height: 1.45; cursor: pointer; }
.consent input { width: 16px; min-height: 16px; height: 16px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--purple); }
.consent-error { margin-left: 25px; }
.submit-error { display: none; margin: 14px 0 0; padding: 10px 11px; border: 1px solid #efd1d1; border-radius: 8px; color: #963f3f; background: #fff3f3; font-size: .7rem; line-height: 1.45; }
.submit-error.visible { display: block; }
.form-actions { display: flex; margin-top: 24px; gap: 10px; }
.form-actions button, .success-state button { min-height: 48px; border-radius: 9px; font-size: .82rem; font-weight: 700; }
.back-button { display: none; width: 100px; border: 1px solid #d9d5da; color: #69626c; background: #fff; }
.primary-button { flex: 1; border: 0; color: #fff; background: linear-gradient(90deg, #393e9b, #7443a6); box-shadow: 0 10px 22px rgba(82,54,148,.22); }
.primary-button:hover { filter: brightness(1.06); }
.primary-button:disabled { cursor: wait; opacity: .7; }
.submit-button { display: none; }
.secure-note { margin: 11px 0 0; color: #9c969e; font-size: .62rem; text-align: center; }
.success-state { display: none; padding: 68px 16px 20px; text-align: center; }
.success-state.active { display: block; animation: step-in .35s ease; }
.success-icon { display: grid; width: 62px; height: 62px; margin: 0 auto 20px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #363f9d, #8450b4); box-shadow: 0 12px 28px rgba(84,55,151,.25); font-size: 1.35rem; }
.success-state > span { color: #7150a0; font-size: .65rem; font-weight: 800; letter-spacing: .14em; }
.success-state h2 { margin: 9px auto 12px; max-width: 340px; font-family: "Manrope", sans-serif; font-size: 1.65rem; line-height: 1.22; letter-spacing: -.04em; }
.success-state p { max-width: 360px; margin: 0 auto; color: #777079; font-size: .78rem; line-height: 1.55; }
.success-protocol { margin: 25px auto; padding: 12px; border-radius: 9px; background: #f2eef6; }
.success-protocol span, .success-protocol strong { display: block; }
.success-protocol span { color: #8c8590; font-size: .62rem; }
.success-protocol strong { margin-top: 4px; color: #513777; letter-spacing: .08em; }
.success-state button { padding: 0 18px; border: 1px solid #d7d1da; color: #625b65; background: #fff; }

.signal-section { padding: 96px 24px; background: #f7f5f7; }
.section-shell { width: min(1200px, 100%); margin: 0 auto; }
.section-heading { max-width: 690px; margin-bottom: 48px; }
.section-heading > span { color: #7046a6; font-size: .7rem; font-weight: 800; letter-spacing: .16em; }
.section-heading h2, .process-grid h2 { margin: 13px 0 14px; font-family: "Manrope", sans-serif; font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.05em; }
.section-heading p, .process-grid > div > p { margin: 0; color: #756f77; font-size: 1rem; line-height: 1.7; }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.signal-grid article { min-height: 250px; padding: 25px; border: 1px solid #e3dfe4; border-radius: 13px; background: #fff; transition: transform .2s, box-shadow .2s; }
.signal-grid article:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(47,36,51,.08); }
.signal-icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 9px; color: #6b439f; background: #eee7f5; font-size: .7rem; font-weight: 800; }
.signal-grid h3 { margin: 30px 0 10px; font-family: "Manrope", sans-serif; font-size: 1.05rem; }
.signal-grid p { min-height: 68px; margin: 0; color: #7b747d; font-size: .78rem; line-height: 1.65; }
.signal-line { display: block; height: 3px; margin-top: 20px; overflow: hidden; border-radius: 4px; background: #eeeaf0; }
.signal-line i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3b439e, #7e4aa9); }

.process-section { padding: 96px 24px; color: #fff; background: #211e20; }
.process-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 100px; align-items: center; }
.process-grid h2 { max-width: 570px; }
.process-grid > div > p { max-width: 550px; color: #aaa4ac; }
.process-grid a { display: inline-flex; margin-top: 28px; padding: 14px 18px; border-radius: 8px; color: #fff; background: linear-gradient(90deg, #393f9f, #7546a8); font-size: .82rem; font-weight: 700; text-decoration: none; }
.process-grid ol { margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.process-grid li { position: relative; min-height: 92px; padding: 0 0 28px 64px; counter-increment: flow; border-left: 1px solid rgba(255,255,255,.12); }
.process-grid li:last-child { min-height: 40px; padding-bottom: 0; border-left-color: transparent; }
.process-grid li::before { position: absolute; top: 0; left: -20px; display: grid; width: 38px; height: 38px; content: counter(flow, decimal-leading-zero); place-items: center; border: 1px solid #6c4997; border-radius: 50%; color: #b793df; background: #211e20; font-size: .65rem; font-weight: 800; }
.process-grid b, .process-grid li span { display: block; }
.process-grid b { margin-bottom: 6px; font-family: "Manrope", sans-serif; font-size: .95rem; }
.process-grid li span { color: #918b93; font-size: .77rem; line-height: 1.5; }
.community-section { padding: 54px 24px; background: #f7f5f7; }
.community-card { position: relative; display: grid; min-height: 250px; padding: clamp(34px, 5vw, 62px); overflow: hidden; border: 1px solid #e1dbe6; border-radius: 20px; background: linear-gradient(115deg, #fff 0%, #f4eff9 62%, #ece5f6 100%); box-shadow: 0 24px 70px rgba(49,37,55,.1); grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: center; }
.community-card::after { position: absolute; top: -115px; right: -70px; width: 330px; height: 330px; content: ""; border: 1px solid rgba(112,71,173,.16); border-radius: 50%; box-shadow: 0 0 0 55px rgba(112,71,173,.035), 0 0 0 110px rgba(112,71,173,.025); }
.community-copy { position: relative; z-index: 1; }
.community-tag { color: #7046a6; font-size: .7rem; font-weight: 800; letter-spacing: .16em; }
.community-copy h2 { max-width: 690px; margin: 13px 0 14px; font-family: "Manrope", sans-serif; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.08; letter-spacing: -.05em; }
.community-copy p { max-width: 620px; margin: 0; color: #756f77; font-size: 1rem; line-height: 1.7; }
.community-link { position: relative; z-index: 1; display: flex; min-width: 300px; padding: 18px 22px; align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; color: #fff; background: linear-gradient(100deg, #393f9f, #7546a8); box-shadow: 0 14px 32px rgba(75,48,139,.22); font-family: "Manrope", sans-serif; font-size: .94rem; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.community-link:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 18px 38px rgba(75,48,139,.29); }
.community-link:focus-visible { outline: 3px solid rgba(112,71,173,.28); outline-offset: 3px; }
.community-link small { display: block; margin-bottom: 3px; color: #d7c9eb; font-family: "DM Sans", sans-serif; font-size: .58rem; font-weight: 700; letter-spacing: .1em; }
.community-link-icon { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: #28a66a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.community-link-icon svg { width: 25px; height: 25px; fill: currentColor; }
footer { display: grid; min-height: 150px; padding: 28px max(24px, calc((100vw - 1200px)/2)); align-items: center; color: #827c84; background: #171518; grid-template-columns: auto 1fr auto; gap: 28px; }
footer img { width: 138px; height: 38px; object-fit: cover; mix-blend-mode: screen; }
footer p { font-size: .72rem; }
footer > span { max-width: 390px; font-size: .61rem; line-height: 1.5; text-align: right; }

@media (max-width: 980px) {
  .hero-grid { padding-top: 52px; grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { max-width: 760px; }
  .form-card { width: min(100%, 610px); margin: 0 auto; }
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { gap: 55px; }
}

@media (max-width: 680px) {
  .hero { min-height: auto; }
  .topbar, .hero-grid { width: min(100% - 32px, 1200px); }
  .topbar { height: 82px; }
  .logo { width: 144px; height: 40px; }
  .confidential { font-size: 0; }
  .confidential::after { content: "Sigilo"; font-size: .72rem; }
  .hero-grid { padding: 43px 0 56px; gap: 40px; }
  .hero-copy h1 { margin-top: 17px; font-size: clamp(2.55rem, 12vw, 3.6rem); }
  .lead { font-size: .97rem; }
  .proof-row { margin-top: 30px; }
  .proof-row div { padding-left: 12px; }
  .proof-row strong { font-size: .8rem; }
  .proof-row span { font-size: .62rem; }
  .form-card { min-height: 620px; padding: 25px 20px 21px; border-radius: 15px; }
  .form-head h2 { font-size: 1.15rem; }
  .time-pill { display: none; }
  .two-cols, .choice-grid { grid-template-columns: 1fr; gap: 0; }
  .choice-grid { gap: 8px; }
  .choice span { min-height: 58px; }
  .metric-preview { grid-template-columns: 1fr; gap: 12px; }
  .metric-preview div + div { padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.18); border-left: 0; }
  .valuation-preview { grid-template-columns: 1fr 1fr; gap: 0; }
  .valuation-preview > div, .valuation-preview > div + div { padding: 12px 13px; }
  .valuation-preview .metric-margin, .valuation-preview .metric-valuation { border-left: 1px solid rgba(255,255,255,.18); }
  .valuation-preview .metric-margin { border-top: 0; }
  .valuation-preview .client-value { padding: 14px 13px; border-left: 0; }
  .signal-section, .process-section { padding: 68px 18px; }
  .signal-grid, .process-grid { grid-template-columns: 1fr; }
  .signal-grid article { min-height: auto; }
  .signal-grid p { min-height: auto; }
  .process-grid { gap: 48px; }
  .community-section { padding: 30px 16px; }
  .community-card { min-height: auto; padding: 32px 22px; grid-template-columns: 1fr; gap: 28px; }
  .community-copy p { font-size: .92rem; }
  .community-link { width: 100%; min-width: 0; padding: 16px; font-size: .86rem; }
  footer { padding: 34px 20px; grid-template-columns: 1fr; gap: 4px; text-align: center; }
  footer img { margin: 0 auto 9px; }
  footer p { margin: 0 0 10px; }
  footer > span { margin: 0 auto; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
