
.page-header { margin-bottom: 32px; max-width: 760px; }
.eyebrow { color: #78e3d6; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.page-header h1 { margin: 10px 0; font-size: clamp(2rem, 5vw, 3rem); font-weight: 750; letter-spacing: -.04em; }
.page-header p, .description { color: #b0c0ce; line-height: 1.6; }
.calculator-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.calculator-card { min-width: 0; padding: 28px; background: #111f2d; border: 1px solid #2b4353; border-radius: 20px; box-shadow: 0 8px 30px rgb(23 43 58 / 6%); }
.calculator-card h2 { margin: 0 0 8px; font-size: 1.4rem; font-weight: 700; }
.description { margin-bottom: 24px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 600; }
.field input, .field select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; color: #e2edf5; background: #10212e; border: 1px solid #4a6578; border-radius: 10px; font: inherit; }
.field input:focus, .field select:focus { outline: 3px solid #4f9a9b; outline-offset: 2px; border-color: #78e3d6; }
.results { display: grid; gap: 10px; }
.result { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 12px; padding: 16px; color: #8ceee3; background: #14323b; border-radius: 12px; }
.result strong { font-size: 1.4rem; overflow-wrap: anywhere; }
.note { margin: 18px 0 0; color: #b0c0ce; font-size: .85rem; line-height: 1.6; }
.comparison { margin: 4px 0 0; font-weight: 600; color: #8ceee3; }
@media (max-width: 800px) { .calculator-grid { grid-template-columns: 1fr; } .calculator-card { padding: 22px; } }
@media (max-width: 420px) { .fields { grid-template-columns: 1fr; } }

.house-card { grid-column: 1 / -1; }
.measurement-help { padding: 16px; background: #142b3a; border-radius: 12px; line-height: 1.6; }
.survey-notes { margin: 20px 0; }
.field textarea { box-sizing: border-box; width: 100%; padding: 12px; border: 1px solid #4a6578; border-radius: 10px; font: inherit; resize: vertical; }
.field textarea:focus { outline: 3px solid #4f9a9b; outline-offset: 2px; border-color: #78e3d6; }
.house-floor { margin: 20px 0; padding: 20px; border: 1px solid #355164; border-radius: 14px; background: #10212e; }
.floor-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.floor-toolbar .field { flex: 1 1 220px; }
.include-toggle { display: flex; gap: 8px; align-items: center; min-height: 44px; }
.include-toggle input { width: 18px; height: 18px; accent-color: #78e3d6; }
.house-section { margin-bottom: 14px; padding: 18px; background: #111f2d; border: 1px solid #2b4353; border-radius: 12px; }
.section-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.section-footer, .floor-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.section-footer span, .floor-subtotal { font-weight: 600; }
.button { min-height: 44px; padding: 10px 16px; border: 1px solid #78e3d6; border-radius: 9px; background: #111f2d; color: #8ceee3; font: inherit; font-weight: 600; cursor: pointer; }
.button:hover { background: #14323b; }
.button:focus-visible { outline: 3px solid #4f9a9b; outline-offset: 3px; }
.button-primary { background: #78e3d6; color: #081a22; }
.button-primary:hover { background: #8ceee3; }
.button-remove { border-color: #925c60; color: #ffb1a9; }
.button-remove:hover { background: #3c2229; }
.house-total { margin-top: 22px; }
.house-error { padding: 16px; color: #ffb1a9; background: #3c2229; border-radius: 10px; }
@media (max-width: 760px) { .section-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .section-fields { grid-template-columns: 1fr; } .house-floor { padding: 14px; } }

:root { color-scheme: dark; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, "Segoe UI", system-ui, sans-serif; background: #0b141e; color: #e2edf5; -webkit-font-smoothing: antialiased; }
a { color: #8ceee3; }
a:hover { color: #bdfff7; }
a:focus-visible, button:focus-visible { outline: 2px solid #8ceee3; outline-offset: 4px; }
h1:focus { outline: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; color: #8ceee3; letter-spacing: .16em; text-transform: uppercase; }
.landing-page { max-width: 1600px; margin: auto; }
.hero { position: relative; overflow: hidden; min-height: 590px; border-bottom: 1px solid #263b4b; display: flex; align-items: center; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0a1725 0%, rgb(10 23 37 / 96%) 24%, rgb(10 23 37 / 60%) 52%, rgb(10 23 37 / 4%) 100%); }
.hero-content { position: relative; width: 62%; padding: 64px 40px; }
.hero h1 { font-size: clamp(2.8rem, 4.6vw, 5rem); line-height: 1.08; font-weight: 650; letter-spacing: -.055em; margin: 24px 0; }
.hero h1 span { color: #95f0e5; }
.hero-description { color: #bed0df; font-size: 15px; line-height: 1.85; max-width: 400px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; }
.action-primary { display: inline-flex; align-items: center; gap: 22px; background: #91eadd; color: #09212a; border: 1px solid #91eadd; border-radius: 7px; padding: 14px 18px; text-decoration: none; font-size: 13px; font-weight: 700; }
.action-primary:hover { background: #b2fff3; color: #09212a; }
.action-secondary { color: #d8e5ef; text-decoration: none; font-size: 13px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 50px; }
.hero-facts strong { display: block; font: 22px ui-monospace,monospace; color: #e5f2fa; }
.hero-facts span { display: block; margin-top: 8px; color: #aebfce; font-size: 10px; }
.hero-caption { position: absolute; bottom: 22px; right: 28px; color: #a7c5d0; font: 9px ui-monospace,monospace; letter-spacing: .15em; }
.directory, .partners { padding: 52px 40px 12px; scroll-margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.04em; margin: 10px 0 0; font-weight: 600; }
.section-heading>p { color: #aebfce; font-size: 12px; line-height: 1.7; margin: 0; }
.directory-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.directory-link { display: flex; align-items: start; gap: 16px; border: 1px solid #2b4051; border-radius: 10px; padding: 21px; text-decoration: none; background: #101e2b; color: #e2edf5; transition: border-color .15s, background .15s; }
.directory-link:hover { border-color: #5a9d9f; background: #142936; color: #e2edf5; }
.tool-index { font: 11px ui-monospace,monospace; color: #83d8cf; padding-top: 4px; }
.directory-link h3 { font-size: 14px; font-weight: 600; margin: 0 0 7px; }
.directory-link p { color: #aebfce; font-size: 12px; line-height: 1.6; margin: 0; }
.arrow { margin-left: auto; color: #a7c7d4; }
.partner-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.partner-card { padding: 28px; border: 1px solid #35546a; border-radius: 12px; background: radial-gradient(ellipse at top right, #173f51, transparent 70%), #10212e; }
.partner-card.nathan { background: radial-gradient(ellipse at top right, #3c2e3b, transparent 70%), #17212c; border-color: #53424d; }
.partner-top { display: flex; align-items: center; gap: 12px; color: #b4c8d7; font: 9px ui-monospace,monospace; letter-spacing: .12em; }
.partner-symbol { font-size: 25px; color: #8ceee3; }
.nathan .partner-symbol, .nathan .brand-dot { color: #ffae94; }
.partner-card h3 { font-size: 27px; font-weight: 600; letter-spacing: -.04em; margin: 24px 0 14px; }
.brand-dot { color: #8ceee3; }
.partner-card p { color: #bdd0df; font-size: 13px; line-height: 1.8; max-width: 430px; min-height: 72px; }
.partner-card a { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; border-top: 1px solid #3b5364; color: #e5f4f6; text-decoration: none; font-size: 13px; font-weight: 600; }
.partner-domain { display: block; margin-top: 16px; color: #a6bacb; font: 10px ui-monospace,monospace; }
.tool-page { max-width: 1050px; padding: 36px 40px; margin: auto; }
.back-link { font-size: 12px; text-decoration: none; color: #aebfce; }
.tool-header { margin: 28px 0; }
.tool-header h1 { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 600; letter-spacing: -.045em; margin: 12px 0; }
.tool-header>p:last-child { color: #b0c0ce; line-height: 1.7; font-size: 14px; }
.tool-page .calculator-card { border-radius: 14px; box-shadow: none; }
.tool-page .result strong { font-family: ui-monospace,monospace; }
.tool-footnote { margin-top: 22px; color: #a3b9c9; font-size: 11px; }
.button-primary:hover { background: #b1fff1; color: #081a22; }
input[type=checkbox] { accent-color: #8ceee3; }
.invalid { outline: 1px solid #ff9f98; }
.validation-message { color: #ffb1a9; }
.blazor-error-boundary { background: #612c31; padding: 20px; color: white; }
.blazor-error-boundary::after { content: "An error has occurred."; }
@media(max-width: 1100px) { .hero-content { padding-inline: 24px; width: 70%; } .directory,.partners { padding-inline: 24px; } .tool-page { padding-inline: 24px; } .hero-shade { background: linear-gradient(90deg,#0a1725 0%,rgb(10 23 37 / 92%) 34%,rgb(10 23 37 / 25%) 100%); } }
@media(max-width: 600px) { .hero { min-height: 650px; align-items: flex-end; } .hero-art { object-position: 72% top; height: 57%; opacity: .85; } .hero-shade { background: linear-gradient(0deg,#0a1725 42%,rgb(10 23 37 / 10%) 100%); } .hero-content { width: 100%; padding: 215px 22px 40px; } .hero h1 { font-size: 2.8rem; } .hero-description { font-size: 14px; } .hero-facts { gap: 22px; margin-top: 34px; } .hero-caption { display: none; } .section-heading>p { display: none; } .directory-grid,.partner-grid { grid-template-columns: 1fr; } .directory,.partners { padding: 36px 22px 0; } .tool-page { padding: 28px 18px; } }
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .directory-link { transition: none; } }

.breadcrumb-separator, .breadcrumb-current { color: #aebfce; font-size: 12px; }
