/* =========================================================================
   PROPERTY GOLD — EMI calculator
   Chart colours validated for CVD separation & contrast on #0D120E:
   principal #B38B26 · interest #4287BF
   ========================================================================= */
.page-emi { --em-gold: #F1C64A; --em-line: rgba(255, 255, 255, .08); --k-pri: #B38B26; --k-int: #4287BF; --em-surface: #0D120E; }
.page-emi .accent { font-style: italic; }

/* ---------- HERO ---------- */
.em-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(88px, 7vw, 100px) 0 clamp(22px, 2.6vw, 34px); background: linear-gradient(180deg, #070A08, #0A0D0B); }
.em-hero .breadcrumb { margin: 0; padding: 0; }
.em-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.em-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(212, 175, 55, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 175, 55, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, #000, transparent 75%); }
.em-wave { position: absolute; right: -5%; bottom: -10%; width: 70%; height: 140%; background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(241, 198, 74, .06) 22px 23px); transform: skewY(-12deg); mask-image: linear-gradient(90deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); animation: emWave 14s linear infinite; }
@keyframes emWave { to { background-position: 0 -230px; } }
.em-hero-inner > * { opacity: 0; transform: translateY(18px); animation: emUp .8s var(--ease-lux) forwards; }
.em-hero-inner > :nth-child(2) { animation-delay: .08s; }
.em-hero-inner > :nth-child(3) { opacity: 1; transform: none; animation: none; }
.em-hero-inner > :nth-child(4) { animation-delay: .5s; }
@keyframes emUp { to { opacity: 1; transform: none; } }
.em-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 14px; padding: 7px 15px; border-radius: 99px; border: 1px solid rgba(212, 175, 55, .3); background: rgba(212, 175, 55, .07); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #EDE3C2; }
.em-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--em-gold); animation: emPulse 2s infinite; }
@keyframes emPulse { 0% { box-shadow: 0 0 0 0 rgba(241, 198, 74, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(241, 198, 74, 0); } }
.em-title { font-size: clamp(40px, 5.6vw, 80px); line-height: 1; letter-spacing: -.035em; font-weight: 400; margin: 0 0 14px; }
.em-line { display: inline-block; overflow: hidden; padding-bottom: .08em; vertical-align: bottom; }
.em-line > span { display: inline-block; transform: translateY(108%); animation: emRise 1s var(--ease-lux) .15s forwards; }
.em-line:nth-child(2) > span { animation-delay: .28s; }
.em-title em { font-style: italic; font-weight: 300; background: linear-gradient(100deg, #FFE9A8 0%, #D4AF37 40%, #FFF3C8 55%, #C99A2E 75%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: emShine 6s linear infinite; }
@keyframes emRise { to { transform: none; } }
@keyframes emShine { from { background-position: 0% 0; } to { background-position: 220% 0; } }
.em-lede { max-width: 700px; margin: 0; font-size: clamp(15.5px, 1.15vw, 17.5px); line-height: 1.7; color: #C9CFC7; }

/* ---------- CONSOLE ---------- */
.em-calc { padding: 8px 0 clamp(36px, 4vw, 56px); background: linear-gradient(180deg, #0A0D0B, #0C110D); }
.em-console { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 20px; align-items: stretch; opacity: 0; transform: translateY(24px); animation: emUp 1s .4s var(--ease-lux) forwards; }
.em-inputs, .em-results { position: relative; border-radius: 26px; border: 1px solid var(--em-line); background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); box-shadow: 0 40px 80px rgba(0, 0, 0, .4); padding: clamp(20px, 2.4vw, 32px); }
.em-results { background: radial-gradient(90% 60% at 100% 0%, rgba(212, 175, 55, .12), transparent 60%), linear-gradient(160deg, #121913, #0D120E); border-color: rgba(212, 175, 55, .25); }
.em-results::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--emang, 0deg), transparent 0 72%, rgba(241, 198, 74, .85) 84%, transparent 94%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: emBorder 7s linear infinite; pointer-events: none; }
@property --emang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes emBorder { to { --emang: 360deg; } }

.em-panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.em-panel-head h2 { font-size: 20px; margin: 0; flex: 1; }
.em-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ADE9B; box-shadow: 0 0 10px #4ADE9B; }
.em-reset { font: inherit; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); background: none; border: 1px solid var(--em-line); border-radius: 99px; padding: 6px 12px; cursor: pointer; transition: color .3s, border-color .3s; }
.em-reset:hover { color: var(--em-gold); border-color: rgba(212, 175, 55, .5); }

.em-field { margin-bottom: 20px; }
.em-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.em-label label { font-size: 14px; color: #D5DAD3; }
.em-num { display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(10, 13, 11, .7); transition: border-color .3s, box-shadow .3s; }
.em-num:focus-within { border-color: var(--em-gold); box-shadow: 0 0 0 3px rgba(241, 198, 74, .15); }
.em-num span { color: var(--em-gold); font-size: 14px; }
.em-num input { width: 110px; font: inherit; font-family: 'IBM Plex Mono', monospace; font-size: 15px; color: #fff; background: none; border: 0; text-align: right; outline: none; }
.em-num input#emRateIn, .em-num input#emTenureIn { width: 56px; }
.em-out { font-family: 'IBM Plex Mono', monospace; font-size: 15px; color: #fff; padding: 7px 12px; border-radius: 12px; background: rgba(212, 175, 55, .1); border: 1px solid rgba(212, 175, 55, .3); }
.em-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: #7F887F; font-family: 'IBM Plex Mono', monospace; }
.em-words { color: var(--em-gold); }

.em-range { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; --fill: 50%; }
.em-range:focus { outline: none; }
.em-range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #B8860B, #F1C64A var(--fill), rgba(255, 255, 255, .1) var(--fill)); }
.em-range::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.em-range::-moz-range-progress { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #B8860B, #F1C64A); }
.em-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: radial-gradient(circle, #fff 0 3px, #F1C64A 4px); border: 2px solid #0A0D0B; box-shadow: 0 0 0 1px rgba(241, 198, 74, .6), 0 0 18px rgba(241, 198, 74, .7); transition: transform .2s; }
.em-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, #fff 0 3px, #F1C64A 4px); border: 2px solid #0A0D0B; box-shadow: 0 0 0 1px rgba(241, 198, 74, .6), 0 0 18px rgba(241, 198, 74, .7); }
.em-range:hover::-webkit-slider-thumb, .em-range:active::-webkit-slider-thumb { transform: scale(1.18); }
.em-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(241, 198, 74, .35), 0 0 18px rgba(241, 198, 74, .7); }
.em-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(241, 198, 74, .35); }

.em-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.em-presets button { font: inherit; font-size: 12.5px; color: #D5DAD3; padding: 7px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); cursor: pointer; transition: border-color .3s, color .3s, background .3s; }
.em-presets button:hover, .em-presets button.is-on { border-color: var(--em-gold); color: var(--em-gold); background: rgba(212, 175, 55, .08); }
.em-presets button:focus-visible, .em-reset:focus-visible { outline: 2px solid var(--em-gold); outline-offset: 2px; }
.em-warn { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.5; color: #F5D38A; background: rgba(245, 181, 69, .08); border: 1px solid rgba(245, 181, 69, .3); }
.em-warn::before { content: '\26A0\FE0E  '; }
.em-loanbar { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 20px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(90deg, rgba(212, 175, 55, .14), rgba(212, 175, 55, .03)); border: 1px solid rgba(212, 175, 55, .3); }
.em-loanbar span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #D7DCD5; }
.em-loanbar strong { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 24px; color: #fff; }

/* Results */
.em-emi-card { position: relative; overflow: hidden; padding: 4px 0 18px; border-bottom: 1px solid var(--em-line); margin-bottom: 20px; }
.em-emi-label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--em-gold); margin-bottom: 6px; }
.em-emi { display: flex; align-items: baseline; gap: 6px; font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(46px, 5.4vw, 72px); line-height: 1; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.em-rs { font-size: .6em; color: var(--em-gold); }
.em-emi small { font-family: 'Inter', sans-serif; font-size: 15px; color: var(--text-dim); letter-spacing: 0; margin-left: 4px; }
.em-emi-sub { margin-top: 8px; font-size: 13.5px; color: #BFC6BE; }
.em-emi-card.is-bump .em-emi { animation: emBump .45s var(--ease-lux); }
@keyframes emBump { 40% { text-shadow: 0 0 24px rgba(241, 198, 74, .6); } }
.em-emi-scan { position: absolute; left: -40%; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(241, 198, 74, .1), transparent); animation: emScan 5s ease-in-out infinite; pointer-events: none; }
@keyframes emScan { 0%, 60% { left: -40%; } 100% { left: 110%; } }

.em-split { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; margin-bottom: 20px; }
.em-donut { position: relative; width: 150px; height: 150px; }
.em-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.em-donut circle { fill: none; stroke-width: 12; }
.em-donut-bg { stroke: rgba(255, 255, 255, .06); }
.em-donut-pri { stroke: var(--k-pri); stroke-linecap: butt; transition: stroke-dasharray .8s var(--ease-lux); }
.em-donut-int { stroke: var(--k-int); transition: stroke-dasharray .8s var(--ease-lux), stroke-dashoffset .8s var(--ease-lux); }
.em-donut-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.em-donut-c strong { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 28px; color: #fff; line-height: 1; }
.em-donut-c span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-top: 4px; }
.em-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.em-legend li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 14px; color: #C9CFC7; }
.em-legend i { width: 12px; height: 12px; border-radius: 3px; }
.k-pri { background: var(--k-pri); }
.k-int { background: var(--k-int); }
.em-legend b { font-family: 'IBM Plex Mono', monospace; font-weight: 500; color: #fff; font-size: 14.5px; }
.em-legend-total { grid-template-columns: 1fr auto !important; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, .12); }
.em-legend-total span { color: #fff; font-weight: 500; }
.em-legend-total b { color: var(--em-gold) !important; font-size: 16px !important; }

.em-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: 16px; overflow: hidden; background: var(--em-line); border: 1px solid var(--em-line); margin-bottom: 20px; }
.em-facts div { background: #0F1510; padding: 12px 14px; }
.em-facts span { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.em-facts b { font-size: 15px; color: #fff; font-weight: 600; }
.em-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.em-ghost { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 13px; font-weight: 500; color: #E2E6E0; padding: 11px 16px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .03); text-decoration: none; cursor: pointer; transition: border-color .3s, color .3s, background .3s; }
.em-ghost svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.em-ghost:hover { border-color: var(--em-gold); color: var(--em-gold); }
.em-ghost:focus-visible { outline: 2px solid var(--em-gold); outline-offset: 2px; }
.em-ghost.is-done { color: #7FE9B8; border-color: #4ADE9B; }
.em-fine { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: #7F887F; }

/* ---------- INSIGHTS ---------- */
.em-insights { padding: clamp(36px, 4vw, 60px) 0; background: #0A0D0B; }
.page-emi .section-head { margin-bottom: clamp(20px, 2.4vw, 30px); }
.em-ins-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }
.em-chart-card, .em-prepay { border-radius: 24px; border: 1px solid var(--em-line); background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); padding: clamp(18px, 2.2vw, 26px); min-width: 0; }
.em-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.em-tabs { display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--em-line); }
.em-tabs button { font: inherit; font-size: 13px; color: #C9CFC7; padding: 8px 14px; border: 0; border-radius: 10px; background: none; cursor: pointer; transition: background .3s, color .3s; }
.em-tabs button.is-on { background: var(--grad-gold); color: #0A0D0B; font-weight: 600; }
.em-tabs button:focus-visible { outline: 2px solid var(--em-gold); outline-offset: 2px; }
.em-chart-legend { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; font-size: 13px; color: #C9CFC7; }
.em-chart-legend li { display: inline-flex; align-items: center; gap: 7px; }
.em-chart-legend i { width: 12px; height: 12px; border-radius: 3px; }
.em-chart { position: relative; height: 320px; }
.em-chart svg { width: 100%; height: 100%; overflow: visible; display: block; }
.em-chart .ax { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.em-chart .axl { fill: #7F887F; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; }
.em-chart .bar { transition: opacity .2s; }
.em-chart .bar-pri { fill: var(--k-pri); }
.em-chart .bar-int { fill: var(--k-int); }
.em-chart svg.is-hover .col:not(.is-hot) .bar { opacity: .35; }
.em-chart .hit { fill: transparent; cursor: crosshair; }
.em-chart .bal-area { fill: url(#emBalGrad); }
.em-chart .bal-line { fill: none; stroke: var(--k-pri); stroke-width: 2; stroke-linejoin: round; }
.em-chart .xh { stroke: rgba(255, 255, 255, .35); stroke-width: 1; stroke-dasharray: 3 3; }
.em-chart .dot { fill: var(--k-pri); stroke: var(--em-surface); stroke-width: 2; }
.em-chart .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: emDraw 1.1s var(--ease-lux) forwards; }
@keyframes emDraw { to { stroke-dashoffset: 0; } }
.em-chart .grow { transform-box: fill-box; transform-origin: bottom; animation: emGrow .7s var(--ease-lux) both; }
@keyframes emGrow { from { transform: scaleY(0); } }
.em-tip { position: absolute; z-index: 5; pointer-events: none; min-width: 170px; padding: 10px 12px; border-radius: 12px; background: rgba(10, 13, 11, .94); border: 1px solid rgba(212, 175, 55, .35); box-shadow: 0 14px 30px rgba(0, 0, 0, .5); font-size: 12.5px; color: #D5DAD3; transform: translate(-50%, -100%); }
.em-tip strong { display: block; color: #fff; font-size: 13px; margin-bottom: 6px; }
.em-tip div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.em-tip div span { display: inline-flex; align-items: center; gap: 6px; }
.em-tip i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.em-tip b { font-family: 'IBM Plex Mono', monospace; font-weight: 500; color: #fff; }

.em-prepay { background: radial-gradient(90% 60% at 100% 0%, rgba(74, 222, 155, .08), transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); }
.em-prepay-head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.em-prepay-ic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-content: center; background: rgba(74, 222, 155, .1); border: 1px solid rgba(74, 222, 155, .35); }
.em-prepay-ic svg { width: 22px; height: 22px; fill: none; stroke: #7FE9B8; stroke-width: 1.7; stroke-linejoin: round; }
.em-prepay-head h3 { font-size: 20px; margin: 0 0 2px; }
.em-prepay-head p { margin: 0; font-size: 13.5px; color: var(--text-dim); }
.em-save { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 18px; }
.em-save-big { padding: 14px; border-radius: 16px; background: rgba(74, 222, 155, .06); border: 1px solid rgba(74, 222, 155, .25); }
.em-save-big span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.em-save-big strong { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 24px; color: #7FE9B8; line-height: 1.1; }
.em-bars { display: grid; gap: 10px; }
.em-bar { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 10px; font-size: 12.5px; color: #BFC6BE; }
.em-bar div { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.em-bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: var(--k-int); transition: width .8s var(--ease-lux); }
.em-bar i.is-new { background: linear-gradient(90deg, #2FA66F, #7FE9B8); }
.em-bar b { font-family: 'IBM Plex Mono', monospace; font-weight: 500; color: #fff; font-size: 12.5px; min-width: 70px; text-align: right; }

/* ---------- SCHEDULE ---------- */
.em-sched { padding: clamp(36px, 4vw, 60px) 0; background: linear-gradient(180deg, #0C110D, #0A0D0B); }
.em-sched-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.em-sched-head h2 { font-size: clamp(28px, 3vw, 42px); margin: 10px 0 0; }
.em-table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--em-line); background: rgba(255, 255, 255, .02); }
.em-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; font-variant-numeric: tabular-nums; }
.em-table th { text-align: right; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--em-gold); background: rgba(212, 175, 55, .07); padding: 14px 16px; font-weight: 600; white-space: nowrap; }
.em-table th:first-child, .em-table td:first-child { text-align: left; }
.em-table td { text-align: right; padding: 12px 16px; border-top: 1px solid var(--em-line); color: #E2E6E0; font-family: 'IBM Plex Mono', monospace; font-size: 13.5px; white-space: nowrap; }
.em-table td:first-child { font-family: 'Inter', sans-serif; color: #fff; font-weight: 500; }
.em-table tbody tr { transition: background .25s; animation: emRow .5s var(--ease-lux) both; }
.em-table tbody tr:hover { background: rgba(212, 175, 55, .05); }
@keyframes emRow { from { opacity: 0; transform: translateY(6px); } }
.em-prog { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.em-prog div { width: 110px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.em-prog i { display: block; height: 100%; background: var(--k-pri); border-radius: 6px; }
.em-more { display: block; margin: 16px auto 0; font: inherit; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--em-gold); background: none; border: 1px solid rgba(212, 175, 55, .35); border-radius: 99px; padding: 10px 20px; cursor: pointer; transition: background .3s; }
.em-more:hover { background: rgba(212, 175, 55, .08); }

/* ---------- GUIDES + CTA ---------- */
.em-guides { padding: clamp(36px, 4vw, 60px) 0 clamp(48px, 5vw, 80px); background: #0A0D0B; }
.em-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.em-guide { display: flex; flex-direction: column; padding: 22px; border-radius: 20px; border: 1px solid var(--em-line); background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); text-decoration: none; color: inherit; transition: transform .5s var(--ease-lux), border-color .4s, box-shadow .5s; }
.em-guide:hover { transform: translateY(-5px); border-color: rgba(212, 175, 55, .45); box-shadow: 0 26px 50px rgba(0, 0, 0, .4); }
.em-guide:focus-visible { outline: 2px solid var(--em-gold); outline-offset: 3px; }
.em-guide-tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--em-gold); margin-bottom: 10px; }
.em-guide h3 { font-size: 19px; margin: 0 0 8px; }
.em-guide p { margin: 0 0 16px; font-size: 14px; line-height: 1.65; color: var(--text-dim); }
.em-guide-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--em-gold); transition: gap .3s; }
.em-guide-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.em-guide:hover .em-guide-go { gap: 12px; }
.em-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(30px, 4vw, 52px); border-radius: 26px; background: var(--grad-gold); background-size: 200% 200%; animation: emGrad 10s ease infinite; box-shadow: 0 30px 70px rgba(212, 175, 55, .22); }
.em-cta::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); animation: emGlint 5s ease-in-out infinite; pointer-events: none; }
@keyframes emGrad { 50% { background-position: 100% 50%; } }
@keyframes emGlint { 0%, 60% { left: -40%; } 100% { left: 120%; } }
.em-cta h2 { color: #0A0D0B; font-size: clamp(24px, 3vw, 34px); margin: 0 0 8px; }
.em-cta p { color: rgba(10, 13, 11, .75); margin: 0; font-size: 15.5px; max-width: 540px; }
.em-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.em-btn-dark { background: #0A0D0B; color: var(--em-gold) !important; border: 1px solid #0A0D0B; }
.em-btn-dark:hover { background: #151B16; }
.em-btn-line { background: transparent; color: #0A0D0B !important; border: 1px solid rgba(10, 13, 11, .45); }
.em-btn-line:hover { border-color: #0A0D0B; background: rgba(10, 13, 11, .06); }

@media (max-width: 1100px) {
    .em-console, .em-ins-grid { grid-template-columns: minmax(0, 1fr); }
    .em-guide-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .em-split { grid-template-columns: 1fr; justify-items: center; }
    .em-legend { width: 100%; }
    .em-facts { grid-template-columns: 1fr; }
    .em-num input { width: 92px; }
    .em-chart { height: 260px; }
    .em-bar { grid-template-columns: 1fr auto; }
    .em-bar span { grid-column: 1 / -1; }
    .em-guide-grid { grid-template-columns: 1fr; }
    .em-actions .btn, .em-actions .em-ghost { flex: 1 1 100%; justify-content: center; }
    .em-cta-btns, .em-cta-btns .btn { width: 100%; justify-content: center; text-align: center; }
    .em-col-prog, .em-table td:last-child { display: none; }
    .em-table { min-width: 0; font-size: 12.5px; }
    .em-table th, .em-table td { padding: 10px 8px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .em-hero-inner > *, .em-line > span, .em-console { animation: none !important; opacity: 1 !important; transform: none !important; }
    .em-wave, .em-title em, .em-results::before, .em-emi-scan, .em-cta, .em-cta::after, .em-kicker i, .em-chart .draw, .em-chart .grow, .em-table tbody tr { animation: none !important; }
    .em-chart .draw { stroke-dashoffset: 0; }
}
