:root {
  --aha-navy: var(--lacivert, #1f3044);
  --aha-gold: var(--altin, #ca935d);
  --aha-cream: var(--gri, #f2f2f0);
  --aha-white: #fff;
  --aha-ink: #212529;
  --aha-muted: #68717b;
  --aha-border: #dfe3e7;
  --aha-shadow: 0 20px 54px rgba(31, 48, 68, .11);
}

.aha-shell, .aha-shell * { box-sizing: border-box; }
.aha-shell { width: min(1180px, calc(100% - 32px)); margin: 48px auto 72px; color: var(--aha-ink); font-family: Outfit, sans-serif; font-size: 16px; line-height: 1.6; }
.aha-shell h1, .aha-shell h2, .aha-shell p { margin-top: 0; }
.aha-shell h1 { color: var(--aha-navy); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(42px, 6vw, 68px); font-weight: 700; letter-spacing: -.025em; line-height: .98; margin-bottom: 20px; }
.aha-eyebrow { color: var(--aha-gold); font-size: 12px; font-weight: 700; letter-spacing: .2em; margin-bottom: 12px; text-transform: uppercase; }
.aha-hero { background: var(--aha-navy); border-radius: 4px; color: rgba(255,255,255,.78); overflow: hidden; padding: clamp(44px, 7vw, 78px); position: relative; text-align: center; }
.aha-hero::before, .aha-tool-header::after { border: 1px solid rgba(202,147,93,.22); border-radius: 50%; content: ""; height: 280px; position: absolute; right: -100px; top: -150px; width: 280px; }
.aha-hero::after { border: 1px solid rgba(255,255,255,.07); border-radius: 50%; bottom: -160px; content: ""; height: 330px; left: -110px; position: absolute; width: 330px; }
.aha-hero h1 { color: var(--aha-gold); position: relative; z-index: 1; }
.aha-hero > p { margin-inline: auto; max-width: 640px; position: relative; z-index: 1; }
.aha-search-wrap { align-items: center; background: #fff; border: 1px solid var(--aha-border); border-radius: 4px; box-shadow: 0 14px 40px rgba(31,48,68,.09); display: flex; margin: -28px auto 42px; max-width: 760px; padding: 8px 12px; position: relative; z-index: 2; }
.aha-search-icon { color: var(--aha-gold); font-size: 26px; padding: 0 8px; }
.aha-search-wrap input { background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--aha-ink) !important; flex: 1; font: inherit; min-width: 0; outline: 0; padding: 13px 6px !important; }
.aha-count { border-left: 1px solid var(--aha-border); color: var(--aha-muted); font-size: 13px; padding: 6px 8px 6px 16px; white-space: nowrap; }
.aha-count strong { color: var(--aha-navy); }
.aha-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aha-card { background: var(--aha-white); border: 1px solid var(--aha-border); border-radius: 4px; color: var(--aha-muted) !important; display: flex; flex-direction: column; min-height: 275px; padding: 28px; text-decoration: none !important; transition: border-color .2s, box-shadow .2s, transform .2s; }
.aha-card:hover { border-color: var(--aha-gold); box-shadow: var(--aha-shadow); transform: translateY(-4px); }
.aha-card-icon, .aha-tool-icon { align-items: center; background: rgba(202,147,93,.13); color: var(--aha-gold); display: inline-flex; height: 52px; justify-content: center; width: 52px; }
.aha-card-icon svg, .aha-tool-icon svg { height: 27px; width: 27px; }
.aha-card-category { color: var(--aha-gold); font-size: 11px; font-weight: 700; letter-spacing: .13em; margin: 20px 0 5px; text-transform: uppercase; }
.aha-card strong { color: var(--aha-navy); font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; line-height: 1.08; margin-bottom: 10px; }
.aha-card > span:not(.aha-card-icon):not(.aha-card-category) { font-size: 14px; }
.aha-card em { color: var(--aha-gold); font-size: 13px; font-style: normal; font-weight: 600; margin-top: auto; padding-top: 20px; }
.aha-empty { background: var(--aha-cream); color: var(--aha-muted); padding: 24px; text-align: center; }
.aha-legal-note { background: var(--aha-cream); border-left: 3px solid var(--aha-gold); color: #59616a; margin-top: 38px; padding: 22px 26px; }
.aha-legal-note strong { color: var(--aha-navy); display: block; margin-bottom: 4px; }
.aha-legal-note p { font-size: 13px; margin: 0; }
.aha-breadcrumb { color: var(--aha-muted); display: flex; flex-wrap: wrap; font-size: 13px; gap: 8px; margin-bottom: 22px; }
.aha-breadcrumb a, .aha-back { color: var(--aha-gold) !important; text-decoration: none !important; }
.aha-tool-header { align-items: center; background: var(--aha-navy); border-radius: 4px; color: rgba(255,255,255,.78); display: flex; gap: 28px; overflow: hidden; padding: clamp(30px, 5vw, 54px); position: relative; }
.aha-tool-header > * { position: relative; z-index: 1; }
.aha-tool-header h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; }
.aha-tool-header p:last-child { margin: 0; }
.aha-tool-icon { background: var(--aha-gold); color: #fff; flex: 0 0 auto; height: 72px; width: 72px; }
.aha-tool-icon svg { height: 36px; width: 36px; }
.aha-calculator-card { background: #fff; border: 1px solid var(--aha-border); border-radius: 4px; box-shadow: var(--aha-shadow); display: grid; grid-template-columns: 1.08fr .92fr; margin-top: 30px; min-height: 420px; overflow: hidden; }
.aha-form { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0,1fr)); padding: clamp(26px, 5vw, 48px); }
.aha-form label { align-self: start; color: var(--aha-navy); display: block; font-size: 13px; font-weight: 600; }
.aha-form label > span:first-child { display: block; margin-bottom: 7px; }
.aha-form small { color: var(--aha-muted); font-weight: 400; }
.aha-form input, .aha-form select, .aha-form textarea { appearance: none; background: #fff !important; border: 1px solid var(--aha-border) !important; border-radius: 3px !important; box-shadow: none !important; color: var(--aha-ink) !important; font: 400 16px Outfit, sans-serif !important; margin: 0 !important; outline: 0; padding: 0 14px !important; width: 100%; }
.aha-form input, .aha-form select { height: 50px; }
.aha-form textarea { min-height: 130px; padding-block: 12px !important; resize: vertical; }
.aha-form select { background-image: linear-gradient(45deg,transparent 50%,#7c8389 50%),linear-gradient(135deg,#7c8389 50%,transparent 50%) !important; background-position: calc(100% - 18px) 21px,calc(100% - 13px) 21px !important; background-repeat: no-repeat !important; background-size: 5px 5px,5px 5px !important; padding-right: 36px !important; }
.aha-form input:focus, .aha-form select:focus, .aha-form textarea:focus { border-color: var(--aha-gold) !important; box-shadow: 0 0 0 3px rgba(202,147,93,.13) !important; }
.aha-form .aha-full { grid-column: 1 / -1; }
.aha-input-unit { position: relative; }
.aha-input-unit input { padding-right: 44px !important; }
.aha-input-unit b { color: var(--aha-gold); font-size: 13px; font-weight: 600; pointer-events: none; position: absolute; right: 14px; top: 14px; }
.aha-form .aha-check { align-items: center; display: flex; gap: 10px; padding-top: 30px; }
.aha-form .aha-check input { accent-color: var(--aha-gold); height: 19px; width: 19px; }
.aha-form .aha-check span { margin: 0; }
.aha-button { align-self: end; background: var(--aha-gold) !important; border: 0 !important; border-radius: 3px !important; box-shadow: none !important; color: #fff !important; cursor: pointer; font: 600 15px Outfit, sans-serif !important; grid-column: 1 / -1; min-height: 52px; padding: 14px 24px !important; transition: background .2s, transform .2s; width: 100%; }
.aha-button:hover { background: #b77f49 !important; transform: translateY(-1px); }
.aha-result { align-items: center; background: var(--aha-cream); display: flex; justify-content: center; padding: clamp(26px, 5vw, 48px); }
.aha-result-placeholder { color: var(--aha-muted); max-width: 280px; text-align: center; }
.aha-result-placeholder > span { color: rgba(202,147,93,.5); display: block; font-size: 58px; line-height: 1; }
.aha-result-box { width: 100%; }
.aha-result-box > p { color: var(--aha-gold); font-size: 12px; font-weight: 700; letter-spacing: .16em; margin-bottom: 12px; text-transform: uppercase; }
.aha-result-total { color: var(--aha-navy); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(34px, 4vw, 50px); font-weight: 700; line-height: 1.15; margin-bottom: 22px; overflow-wrap: anywhere; white-space: pre-wrap; }
.aha-result-list { border-top: 1px solid #d5d8d8; margin: 0; padding: 12px 0 0; }
.aha-result-row { display: flex; gap: 20px; justify-content: space-between; padding: 7px 0; }
.aha-result-row dt { color: var(--aha-muted); }
.aha-result-row dd { color: var(--aha-navy); font-weight: 600; margin: 0; text-align: right; }
.aha-result-error { color: #9b3030; font-weight: 600; text-align: center; }
.aha-back { display: inline-block; font-size: 14px; font-weight: 600; margin-top: 28px; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; width: 1px; }

@media (max-width: 900px) {
  .aha-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .aha-calculator-card { grid-template-columns: 1fr; }
  .aha-result { min-height: 300px; }
}
@media (max-width: 600px) {
  .aha-shell { margin-top: 24px; width: min(100% - 22px, 1180px); }
  .aha-grid, .aha-form { grid-template-columns: 1fr; }
  .aha-form .aha-full, .aha-button { grid-column: auto; }
  .aha-card { min-height: 245px; }
  .aha-count { display: none; }
  .aha-tool-header { align-items: flex-start; flex-direction: column; gap: 18px; }
  .aha-tool-icon { height: 58px; width: 58px; }
  .aha-form .aha-check { padding-top: 0; }
}

@media print {
  .aha-button, .aha-back, .aha-breadcrumb, .aha-legal-note { display: none !important; }
  .aha-calculator-card { box-shadow: none; }
}
