:root {
  --cream: #fbf6e9;
  --cream-deep: #f2e7cb;
  --paper: #fffdf7;
  --green: #173f2c;
  --green-2: #24583d;
  --olive: #5e6f3a;
  --gold: #e7ad22;
  --gold-pale: #f8e7ad;
  --ink: #1c2a22;
  --muted: #5f6962;
  --line: #d8d8c7;
  --danger: #9c372f;
  --shadow: 0 18px 50px rgb(31 49 36 / 11%);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, select, input { color: inherit; }
:focus-visible { outline: 3px solid #116b9b; outline-offset: 3px; }

.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-150%); padding: .65rem 1rem; color: white; background: var(--green); border-radius: 8px; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { width: min(1280px, calc(100% - 36px)); margin: 0 auto; min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid rgb(23 63 44 / 14%); }
.compact-header { min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--green); }
.brand span { display: grid; line-height: 1.05; }
.brand strong { text-transform: uppercase; letter-spacing: .035em; font-size: .96rem; }
.brand small { margin-top: .3rem; color: var(--muted); font-size: .73rem; }
.brand-mark { width: 43px; height: 43px; }
.brand-mark circle { fill: var(--green); }
.brand-mark path { fill: none; stroke: var(--gold-pale); stroke-width: 3; stroke-linecap: round; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: 1.4rem; }
.site-header nav a, .site-footer a { font-size: .9rem; font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* Forsiden følger briefets kompakte hub: budskab og værktøjsvalg i første skærmbillede. */
.hero.home-hero {
  min-height: 0;
  grid-template-columns: minmax(0, .72fr) minmax(460px, 1.28fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  padding-block: 1rem .75rem;
}
.home-hero h1 {
  max-width: 12ch;
  font-family: Impact, "Arial Black", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.45rem, 3.7vw, 3.55rem);
  font-weight: 900;
  letter-spacing: -.035em;
}
.home-hero .lede { margin-top: .75rem; font-size: clamp(.96rem, 1.2vw, 1.08rem); }
.home-hero .button-row { margin-top: 1rem; }
.home-hero .trust-list { margin-top: .8rem; }
.home-hero .hero-art {
  height: clamp(210px, 23vw, 250px);
  border-width: 5px;
  border-radius: 28% 9% 22% 8% / 22% 18% 16% 20%;
}
.home-hero .hero-art img { height: 100%; aspect-ratio: auto; object-position: 58% 43%; }
.tools-section.home-tools { padding-block: .1rem 2.1rem; }
.home-tools .section-heading { margin-bottom: .65rem; }
.home-tools .section-heading h2 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.home-tools .tool-card { min-height: 0; padding: 1rem 1.15rem 1.05rem 5.2rem; border-radius: 15px; }
.home-tools .tool-icon { position: absolute; top: 1.05rem; left: 1.1rem; width: 46px; height: 46px; font-size: 1.25rem; }
.home-tools .tool-kicker { margin: 0 0 .15rem; }
.home-tools .tool-card h3 { margin-bottom: .3rem; font-size: 1.3rem; }
.home-tools .tool-card > p:not(.tool-kicker):not(.microcopy) { min-height: 0; margin: 0; font-size: .86rem; }
.home-tools .tool-card .button { min-height: 40px; margin-top: .65rem; padding-block: .5rem; }
.home-tools .microcopy { display: none; }

.hero { min-height: 680px; display: grid; grid-template-columns: minmax(0, .86fr) minmax(460px, 1.14fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 7rem); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 .7rem; color: var(--olive); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .77rem; }
h1, h2, h3 { color: var(--green); line-height: 1.05; letter-spacing: -.025em; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.1rem, 6.4vw, 6.4rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3vw, 3rem); margin: 0 0 1rem; }
h3 { font-size: 1.55rem; margin: 0 0 .7rem; }
.lede { max-width: 60ch; margin: 1.4rem 0 0; color: #35443a; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-art { display: block; border-radius: 36% 12% 30% 10% / 18% 20% 15% 22%; overflow: hidden; box-shadow: var(--shadow); border: 7px solid rgb(255 253 247 / 78%); }
.hero-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.button-row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .72rem 1.05rem; border: 1px solid transparent; border-radius: 10px; font-weight: 800; font-size: .94rem; cursor: pointer; text-decoration: none; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--green); box-shadow: 0 9px 20px rgb(23 63 44 / 16%); }
.button-primary:hover { background: var(--green-2); }
.button-quiet { color: var(--green); background: transparent; border-color: rgb(23 63 44 / 24%); }
.button-light { color: var(--green); background: var(--paper); }
.button-disabled { color: var(--muted); background: #eeecdf; cursor: default; }
.button-disabled:hover { transform: none; }
.trust-list { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; padding: 0; margin: 1.6rem 0 0; color: var(--muted); font-size: .84rem; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: .4rem; color: var(--olive); font-weight: 900; }

.tools-section { padding-block: 5rem 6rem; }
.section-heading { text-align: center; margin-bottom: 2rem; }
.section-heading h2 { font-family: Georgia, "Times New Roman", serif; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.tool-card { position: relative; min-height: 390px; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: 0 15px 40px rgb(31 49 36 / 7%); overflow: hidden; }
.tool-card::after { content: ""; position: absolute; width: 190px; height: 190px; right: -60px; top: -70px; border-radius: 50%; background: rgb(231 173 34 / 10%); }
.tool-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: var(--gold); background: var(--green); font-size: 1.55rem; }
.tool-icon.backpack { color: var(--green); background: var(--gold-pale); }
.tool-kicker { color: #a46700; margin: 1.3rem 0 .4rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.tool-card > p:not(.tool-kicker):not(.microcopy) { max-width: 48ch; min-height: 4.7em; color: var(--muted); }
.tool-card .button { margin-top: .7rem; }
.microcopy { margin: 1rem 0 0; color: var(--muted); font-size: .78rem; }
.muted-card { background: #f4f0e2; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 6rem; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.values article { padding: 2rem; background: var(--paper); }
.values article > span { color: var(--olive); font-size: 1.6rem; }
.values h2 { margin: .7rem 0 .5rem; font-size: 1rem; letter-spacing: 0; }
.values p { margin: 0; color: var(--muted); font-size: .88rem; }
.feedback { display: flex; align-items: center; justify-content: space-between; gap: 3rem; margin-bottom: 5rem; padding: clamp(2rem, 5vw, 4.5rem); border-radius: 24px; color: white; background: var(--green); box-shadow: var(--shadow); }
.feedback h2, .feedback .eyebrow { color: white; }
.feedback h2 { max-width: 730px; }
.feedback p:not(.eyebrow) { max-width: 65ch; margin-bottom: 0; color: rgb(255 255 255 / 76%); }
.site-footer { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .85rem; }

.calculator-hero { min-height: 470px; display: grid; grid-template-columns: 1.03fr .97fr; gap: 3.5rem; align-items: center; padding-block: 3.5rem; }
.calculator-hero h1 { max-width: 760px; font-size: clamp(2.8rem, 5.5vw, 5.7rem); }
.calculator-art { height: 360px; overflow: hidden; border-radius: 20px; box-shadow: var(--shadow); }
.calculator-art img { width: 100%; height: 100%; object-fit: cover; object-position: 67% center; }
.privacy-chip { display: inline-flex; gap: .5rem; align-items: center; margin-top: 1.4rem; padding: .55rem .8rem; border: 1px solid rgb(23 63 44 / 20%); border-radius: 999px; color: var(--green); background: rgb(255 253 247 / 70%); font-size: .82rem; font-weight: 750; }
.workflow { padding-block: 1.5rem 3rem; }
.workflow > h2 { font-size: 1.15rem; letter-spacing: 0; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: .7rem; padding: 1rem; border-radius: 12px; background: rgb(255 253 247 / 72%); }
.steps span, .step-number { grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--olive); font-weight: 900; }
.steps strong { color: var(--green); }
.steps small { color: var(--muted); }

.calculator { padding-bottom: 6rem; }
.panel { margin-top: 1.25rem; padding: clamp(1.25rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 12px 35px rgb(31 49 36 / 6%); }
.panel-heading { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.3rem; }
.panel-heading h2 { margin: .1rem 0 .25rem; font-size: 1.45rem; letter-spacing: -.01em; }
.panel-heading p { margin: 0; color: var(--muted); }
.file-drop { min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; padding: 2rem; border: 2px dashed #9fac8d; border-radius: 15px; text-align: center; background: #f8f8ed; cursor: pointer; }
.file-drop:hover, .file-drop.is-dragging { border-color: var(--green); background: #f1f5e6; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-symbol { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--gold-pale); font-size: 1.8rem; font-weight: 900; }
.file-drop strong { color: var(--green); font-size: 1.05rem; }
.file-drop span:not(.upload-symbol) { color: var(--muted); font-size: .86rem; }
.status-line { margin: .9rem 0 0; color: var(--muted); font-size: .86rem; }
.status-good { color: var(--green); font-weight: 750; }
.status-error { color: var(--danger); font-weight: 750; }
.text-button { margin-top: .7rem; padding: 0; color: var(--danger); border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.mapping-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.mapping-grid label { display: grid; gap: .4rem; color: var(--green); font-size: .82rem; font-weight: 800; }
.mapping-grid select, .mapping-grid input { width: 100%; min-height: 46px; padding: .6rem .7rem; border: 1px solid #bfc6b6; border-radius: 8px; background: white; }
.results-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.results-heading h2 { margin-bottom: .4rem; }
.results-heading p:not(.eyebrow) { margin: 0; color: var(--muted); }
.export-buttons { margin-top: 0; justify-content: flex-end; }
.order-card { margin: 1.5rem 0; padding: 1.25rem; border-radius: 13px; background: #edf0d9; }
.order-card h3 { margin-bottom: .9rem; font-size: 1rem; letter-spacing: 0; }
.order-card ul { display: flex; flex-wrap: wrap; gap: .75rem; padding: 0; margin: 0; list-style: none; }
.order-card li { min-width: 130px; display: grid; padding: .7rem .9rem; border: 1px solid rgb(23 63 44 / 13%); border-radius: 9px; background: rgb(255 255 255 / 58%); }
.order-card strong { color: var(--green); font-size: 1.35rem; }
.order-card span { color: var(--muted); font-size: .8rem; }
.table-scroll { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: white; font-size: .88rem; }
th, td { padding: .8rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { position: sticky; top: 0; color: white; background: var(--green); font-size: .78rem; letter-spacing: .02em; }
tr.needs-control { background: #fff1ed; }
.star-value { color: var(--green); font-weight: 850; }
.control-value { color: var(--danger); font-weight: 850; }
details { min-width: 180px; }
details summary { color: var(--green); cursor: pointer; font-weight: 750; }
details p { max-width: 55ch; margin: .6rem 0 0; color: var(--muted); }

.privacy-page { padding-block: 5rem 6rem; }
.page-heading { max-width: 900px; margin-bottom: 3.5rem; }
.page-heading h1 { font-size: clamp(2.8rem, 6vw, 5.7rem); }
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 4rem; }
.privacy-grid article { padding: 1.7rem; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.privacy-grid article > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--olive); font-weight: 900; }
.privacy-grid h2 { margin: 1rem 0 .5rem; font-size: 1.2rem; letter-spacing: 0; }
.privacy-grid p { margin: 0; color: var(--muted); }
.prose-section { max-width: 850px; margin: 3.5rem 0; }
.prose-section h2 { font-size: 1.8rem; }
.prose-section p, .prose-section li { color: #3f4b43; }
.prose-section code { padding: .1rem .35rem; border-radius: 4px; background: var(--cream-deep); }
.compact-feedback { margin-inline: 0; width: 100%; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-art { max-height: 520px; }
  .home-hero { grid-template-columns: minmax(0, 1fr) minmax(290px, .8fr); gap: 1.25rem; }
  .home-hero .hero-art { height: 250px; }
  .calculator-hero { grid-template-columns: 1fr; }
  .calculator-art { height: 320px; }
  .mapping-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 24px, 1160px); }
  .site-header { width: calc(100% - 24px); min-height: 72px; }
  .site-header nav { gap: .8rem; }
  .site-header nav a { font-size: .78rem; }
  .site-header nav a:last-child { display: none; }
  .brand-mark { width: 37px; height: 37px; }
  .brand strong { font-size: .81rem; }
  .hero { padding-block: 3rem 4rem; gap: 2.5rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-art { order: -1; max-height: 330px; border-radius: 18px; }
  .hero-art img { height: 330px; object-fit: cover; object-position: 66% center; }
  .home-hero { grid-template-columns: 1fr; gap: .85rem; padding-block: 1rem .8rem; }
  .home-hero h1 { max-width: 12ch; font-size: clamp(2.2rem, 11vw, 3rem); }
  .home-hero .lede { margin-top: .45rem; font-size: .93rem; }
  .home-hero .button-row { margin-top: .7rem; }
  .home-hero .trust-list { gap: .25rem .7rem; margin-top: .55rem; font-size: .72rem; }
  .home-hero .hero-art { order: 0; height: 135px; border-radius: 16px; }
  .home-hero .hero-art img { height: 135px; object-position: 55% 42%; }
  .home-tools { padding-block: 0 2.5rem; }
  .home-tools .section-heading { margin-bottom: .55rem; text-align: left; }
  .home-tools .tool-card { padding-left: 4.7rem; }
  .tool-grid, .steps, .privacy-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: auto; }
  .feedback, .site-footer, .results-heading { align-items: flex-start; flex-direction: column; }
  .site-footer { padding-block: 1.5rem; }
  .calculator-hero { padding-block: 2.5rem; gap: 2rem; }
  .calculator-art { height: 280px; }
  .mapping-grid { grid-template-columns: 1fr; }
  .export-buttons { justify-content: flex-start; }
  .export-buttons .button { flex: 1; }
  .file-drop { min-height: 180px; }
}

/* Hubben følger det godkendte illustrerede mockup. Hold reglerne afgrænset til forsiden. */
.hub-page {
  background:
    radial-gradient(circle at 12% 4%, rgb(255 255 255 / 72%), transparent 26rem),
    linear-gradient(180deg, #fffaf0 0%, #fbf5e7 78%, #f3ead4 100%);
}
.hub-page .shell { width: min(1280px, calc(100% - 48px)); }
.hub-header {
  width: min(1340px, calc(100% - 40px));
  min-height: 82px;
  border-bottom-color: #dfd4bd;
  background: #fffaf0;
}
.hub-header .brand { gap: .55rem; }
.brand-picture { width: 78px; height: 70px; flex: 0 0 auto; overflow: hidden; }
.brand-picture img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(ellipse 65% 68%, #000 52%, transparent 82%); mask-image: radial-gradient(ellipse 65% 68%, #000 52%, transparent 82%); }
.hub-header .brand strong {
  font-family: Impact, "Arial Black", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.65rem;
  letter-spacing: .015em;
}
.hub-header .brand small {
  margin-top: .1rem;
  color: var(--green);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: .9rem;
  font-weight: 700;
}
.hub-header nav { gap: clamp(1rem, 3vw, 2.7rem); }
.hub-header nav a { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 650; }
.hub-header nav a:hover { text-decoration: underline; }
.nav-icon { width: 26px; height: 26px; display: grid; place-items: center; border: 2px solid var(--green); border-radius: 50%; color: var(--green); font-weight: 900; line-height: 1; }
.shield-icon { border-radius: 45% 45% 55% 55% / 32% 32% 68% 68%; }

.hub-page .hero.home-hero {
  position: relative;
  display: block;
  width: min(1340px, 100%);
  min-height: 320px;
  padding-block: 0;
  overflow: hidden;
}
.hub-page .home-hero .hero-copy { width: 44%; padding: 2rem 0 1.2rem 1.5rem; }
.hub-page .home-hero h1 {
  max-width: none;
  font-family: Impact, "Arial Black", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.45rem, 5.3vw, 5rem);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.hero-tagline {
  margin: .45rem 0 0;
  color: var(--green);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  font-weight: 700;
  line-height: 1.45;
}
.hub-page .home-hero .lede { max-width: 41ch; margin-top: .9rem; color: #27372e; font-size: .96rem; line-height: 1.65; }
.hero-divider { width: 180px; display: flex; align-items: center; gap: .75rem; margin: .8rem auto 0; color: var(--gold); }
.hero-divider span { flex: 1; height: 2px; background: var(--green); }
.hero-divider b { font-size: 1.45rem; }
.hero-visual { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.hub-page .home-hero .hero-copy { position: relative; z-index: 2; }
.hub-page .home-hero .hero-art { position: absolute; inset: 0; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.hub-page .home-hero .hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; mix-blend-mode: multiply; }
.speech-bubble {
  position: absolute;
  z-index: 3;
  top: 2rem;
  left: 65%;
  margin: 0;
  padding: .65rem .85rem;
  color: var(--green);
  border: 2px solid #d9b46d;
  border-radius: 45% 55% 48% 52%;
  background: rgb(255 250 240 / 91%);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transform: rotate(-3deg);
}
.speech-bubble::after { content: ""; position: absolute; left: 17%; bottom: -9px; width: 15px; height: 15px; border-right: 2px solid #d9b46d; border-bottom: 2px solid #d9b46d; background: #fffaf0; transform: rotate(45deg); }

.hub-page .tools-section.home-tools { padding: .1rem 0 1.25rem; }
.hub-page .home-tools .section-heading { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0 0 .65rem; }
.hub-page .home-tools .section-heading span { width: 42px; height: 2px; background: var(--green); }
.hub-page .home-tools .section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.3vw, 1.9rem); letter-spacing: 0; }
.hub-page .tool-grid { gap: 1.15rem; }
.hub-page .home-tools .tool-card {
  min-height: 240px;
  display: grid;
  grid-template-columns: minmax(145px, 35%) 1fr;
  align-items: stretch;
  padding: .55rem 1rem .55rem .75rem;
  border-color: #e6d7bb;
  border-radius: 16px;
  background: rgb(255 252 244 / 92%);
  box-shadow: 0 7px 22px rgb(71 58 28 / 10%);
}
.hub-page .home-tools .tool-card::after { width: 130px; height: 130px; right: -45px; top: -55px; }
.hub-page .home-tools .tool-icon { z-index: 3; top: .85rem; left: .85rem; width: 46px; height: 46px; color: var(--gold); }
.hub-page .home-tools .tool-icon.backpack { color: #d9c174; background: var(--green); }
.tool-person { min-width: 0; height: 100%; display: grid; align-items: end; overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 72% 86% at 50% 55%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 72% 86% at 50% 55%, #000 58%, transparent 100%); }
.tool-person img { width: 100%; height: 215px; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; }
.tool-content { position: relative; z-index: 2; align-self: center; padding: .45rem 0 .25rem .45rem; }
.hub-page .home-tools .tool-card h3 { margin: 0; font-family: Impact, "Arial Black", ui-sans-serif, system-ui, sans-serif; font-size: clamp(1.45rem, 2.3vw, 2rem); letter-spacing: .01em; text-transform: uppercase; }
.tool-subtitle { margin: 0 0 .45rem !important; color: #9a6200 !important; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.hub-page .home-tools .tool-card .tool-content > p:not(.microcopy):not(.coming-note) { min-height: 0; margin: 0; color: #27322c; font-size: .84rem; line-height: 1.48; }
.hub-page .home-tools .tool-card .button { width: min(100%, 255px); min-height: 40px; margin-top: .65rem; }
.hub-page .home-tools .microcopy { display: block; margin: .55rem 0 0; color: #24372b; font-size: .69rem; line-height: 1.35; }
.button-coming { opacity: .72; cursor: default; }
.button-coming:hover { transform: none; }
.coming-note { margin: .45rem 0 0; padding: .45rem .6rem; border-radius: 10px; color: #354327; background: #dfe3bb; font-size: .65rem; line-height: 1.3; }

.hub-page .values { grid-template-columns: repeat(4, 1fr); margin-bottom: 0; border-width: 1px 0 0; border-radius: 0; background: transparent; }
.hub-page .values article { position: relative; display: grid; grid-template-columns: 38px 1fr; column-gap: .65rem; padding: 1.05rem 1rem 1.3rem; background: transparent; }
.hub-page .values article + article { border-left: 1px solid #ded3bd; }
.hub-page .values article > span { grid-row: span 2; width: 38px; height: 38px; display: grid; place-items: center; color: var(--green); font-size: 1.8rem; }
.hub-page .values h2 { margin: 0 0 .2rem; font-size: .88rem; }
.hub-page .values p { font-size: .72rem; line-height: 1.45; }
.hub-page .values a { font-weight: 850; }
.hub-footer { position: relative; width: 100%; min-height: 88px; padding-top: 45px; overflow: hidden; border: 0; color: #e8ead9; background: #173f2c; }
.hub-footer .footer-inner { min-height: 43px; display: flex; align-items: center; justify-content: space-between; }
.forest-silhouette { position: absolute; top: -1px; left: 0; width: 100%; height: 54px; background: #70844b; clip-path: polygon(0 60%, 7% 42%, 14% 63%, 23% 45%, 31% 66%, 42% 50%, 53% 69%, 63% 43%, 73% 65%, 82% 40%, 91% 62%, 100% 35%, 100% 100%, 0 100%); }
.forest-silhouette::after { content: ""; position: absolute; inset: 15px 0 0; background: #173f2c; clip-path: polygon(0 55%, 8% 72%, 18% 44%, 29% 74%, 40% 53%, 50% 78%, 61% 49%, 71% 74%, 81% 51%, 91% 76%, 100% 45%, 100% 100%, 0 100%); }
.hub-footer .site-footer { border: 0; }

@media (max-width: 900px) {
  .hub-page .shell { width: min(100% - 28px, 1280px); }
  .hub-header nav a { font-size: 0; gap: 0; }
  .hub-header nav { gap: .8rem; }
  .hub-page .home-hero .hero-copy { width: 51%; padding-left: .5rem; }
  .hub-page .home-hero h1 { font-size: clamp(2.8rem, 8vw, 4rem); }
  .speech-bubble { display: none; }
  .hub-page .home-tools .tool-card { grid-template-columns: minmax(125px, 34%) 1fr; }
  .hub-page .values { grid-template-columns: repeat(2, 1fr); }
  .hub-page .values article:nth-child(3) { border-left: 0; border-top: 1px solid #ded3bd; }
  .hub-page .values article:nth-child(4) { border-top: 1px solid #ded3bd; }
}

@media (max-width: 680px) {
  .hub-header { width: calc(100% - 20px); min-height: 66px; }
  .brand-picture { width: 52px; height: 48px; }
  .hub-header .brand strong { font-size: .98rem; }
  .hub-header .brand small { font-size: .65rem; }
  .hub-header nav a:nth-child(1) { display: none; }
  .nav-icon { width: 24px; height: 24px; font-size: .8rem; }
  .hub-page .hero.home-hero { min-height: 445px; overflow: visible; }
  .hub-page .home-hero .hero-copy { width: 100%; padding: 1rem 0 0; }
  .hub-page .home-hero h1 { font-size: clamp(2.45rem, 12.5vw, 3.35rem); }
  .hero-tagline { font-size: 1.15rem; line-height: 1.4; }
  .hub-page .home-hero .lede { max-width: 38ch; margin-top: .55rem; font-size: .82rem; line-height: 1.5; }
  .hero-divider { width: 130px; margin-top: .5rem; }
  .hero-visual { top: 220px; height: 225px; }
  .hub-page .home-hero .hero-art { height: 225px; }
  .hub-page .home-hero .hero-art img { object-position: 68% center; }
  .hub-page .home-tools .section-heading { justify-content: flex-start; }
  .hub-page .home-tools .section-heading span { width: 18px; }
  .hub-page .home-tools .section-heading h2 { font-size: 1.18rem; }
  .hub-page .tool-grid { grid-template-columns: 1fr; }
  .hub-page .home-tools .tool-card { min-height: 235px; grid-template-columns: 34% 66%; padding: .7rem; }
  .hub-page .home-tools .tool-card h3 { font-size: 1.35rem; }
  .tool-person img { height: 215px; }
  .hub-page .home-tools .tool-card .tool-content > p:not(.microcopy):not(.coming-note) { font-size: .75rem; }
  .hub-page .values { grid-template-columns: 1fr; }
  .hub-page .values article + article { border-left: 0; border-top: 1px solid #ded3bd; }
  .hub-footer .footer-inner { padding-block: .8rem; flex-direction: column; align-items: flex-start; }
}

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

@media print {
  body { background: white; }
  .site-header, .calculator-hero, .workflow, .upload-panel, .mapping-panel, .site-footer, .export-buttons, .privacy-chip { display: none !important; }
  .calculator, .panel, .shell { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .results-panel { display: block !important; }
  table { font-size: 9pt; }
  th { color: black; background: #eee; }
  details > * { display: block !important; }
}
