:root {
  --hero-image: image-set(url("assets/byggoffert-hero.webp") type("image/webp"), url("assets/byggoffert-hero.jpg") type("image/jpeg"));
  --navy: #173858;
  --navy-dark: #0c2438;
  --ink: #1d2b36;
  --muted: #5d6b75;
  --surface: #f4f7f8;
  --line: #d7e0e4;
  --orange: #e66e22;
  --orange-dark: #bd5213;
  --green: #287058;
  --yellow: #f5c76b;
  --white: #fff;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg, img { display: block; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 16px; color: #fff; background: var(--navy-dark); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; height: 82px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.22); }
.inner-page .site-header { position: sticky; top: 0; height: 72px; background: var(--navy-dark); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; font-size: 1.25rem; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: .92rem; font-weight: 650; }
.nav-links a { position: relative; padding-block: 10px; }
.nav-links a::after { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-links .nav-offer-link { padding: 11px 18px; color: #fff; background: var(--orange); border-radius: 6px; box-shadow: 0 8px 20px rgba(8,27,42,.2); }
.nav-links .nav-offer-link:hover { background: var(--orange-dark); }
.nav-links .nav-offer-link::after { display: none; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.45); border-radius: 6px; }
.menu-toggle svg { width: 22px; height: 22px; }
.hero { min-height: 720px; display: flex; align-items: center; padding: 132px 0 70px; color: #fff; background-image: linear-gradient(90deg,rgba(8,28,45,.97) 0%,rgba(14,43,66,.88) 34%,rgba(16,52,77,.62) 58%,rgba(14,40,61,.5) 100%),var(--hero-image); background-position: center 35%; background-size: cover; }
.hero-inner { max-width: 735px; animation: hero-in .7s ease-out both; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(380px,.75fr); gap: 64px; align-items: center; animation: hero-in .7s ease-out both; }
.hero-copy { max-width: 680px; }
.hero-copy h1 { font-size: clamp(2.65rem,4.5vw,4.35rem); }
.hero-quote-card { padding: 30px; color: var(--ink); background: rgba(255,255,255,.98); border-top: 6px solid var(--orange); border-radius: 10px; box-shadow: 0 26px 70px rgba(1,16,28,.42); }
.hero-quote-card .ad-label { margin-bottom: 14px; }
.hero-quote-card h2 { margin-bottom: 12px; color: var(--navy); font-size: clamp(1.75rem,2.5vw,2.3rem); }
.hero-quote-card>p:not(.ad-label):not(.hero-card-micro) { margin-bottom: 20px; color: var(--muted); }
.hero-form-steps { display: grid; gap: 9px; margin: 0 0 20px; padding: 0; list-style: none; }
.hero-form-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; min-height: 58px; padding: 9px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.hero-form-steps li>span { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: .78rem; font-weight: 850; }
.hero-form-steps strong,.hero-form-steps small { display: block; }
.hero-form-steps strong { color: var(--navy); font-size: .91rem; }
.hero-form-steps small { color: var(--muted); font-size: .76rem; }
.hero-quote-card .btn { width: 100%; min-height: 60px; font-size: 1rem; }
.hero-card-micro { margin: 12px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.45; text-align: center; }
.content-meta { margin-bottom: 26px; padding-bottom: 14px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .82rem; }
.faq-section { background: var(--surface); }
.faq-layout { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); gap: 72px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 42px 22px 0; color: var(--navy); cursor: pointer; font-size: 1.08rem; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 18px; right: 4px; color: var(--orange-dark); font-size: 1.5rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; margin: -4px 0 22px; color: var(--muted); }
.source-box,.source-note { margin-top: 38px; padding: 22px 24px; background: var(--surface); border-left: 4px solid var(--green); }
.source-box h2 { margin-bottom: 10px; font-size: 1.35rem; }
.source-box p,.source-note { font-size: .94rem; }
.external-source { color: var(--navy); font-weight: 750; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.eyebrow, .kicker { margin: 0 0 13px; color: #d9eaf2; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--orange); }
.kicker { color: var(--green); }
h1,h2,h3,p { margin-top: 0; }
h1 { max-width: 790px; margin-bottom: 20px; font-size: clamp(2.6rem,5.2vw,4.65rem); line-height: 1.03; letter-spacing: 0; }
h2 { margin-bottom: 18px; color: var(--navy); font-size: clamp(2rem,3.8vw,3.15rem); line-height: 1.13; letter-spacing: 0; }
h3 { color: var(--navy); line-height: 1.25; }
.hero-lead { max-width: 660px; margin-bottom: 30px; color: #e8f0f5; font-size: clamp(1.05rem,1.8vw,1.22rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border: 0; border-radius: 6px; font-weight: 800; line-height: 1.2; cursor: pointer; transition: transform .2s,background .2s,box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--orange); box-shadow: 0 12px 26px rgba(101,48,13,.25); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { color: #fff!important; background: var(--navy); text-decoration: none!important; }
.btn svg,.text-link svg,.method-link svg,.related-link svg,.aside-tool svg { width: 18px; height: 18px; flex: 0 0 auto; }
.secondary-link { min-height: 48px; display: inline-flex; align-items: center; color: #fff; font-weight: 750; text-decoration: underline; text-decoration-color: #f4a261; text-underline-offset: 5px; }
.partner-jump { display: inline-flex; margin-top: 12px; color: #dbe7ee; font-size: .86rem; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255,255,255,.55); text-underline-offset: 4px; }
.partner-jump:hover { color: #fff; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 12px 25px; margin: 36px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.24); list-style: none; color: #e5edf2; font-size: .88rem; font-weight: 650; }
.hero-benefits li { position: relative; padding-left: 19px; }
.hero-benefits li::before { content: ""; position: absolute; top: .55em; left: 0; width: 8px; height: 8px; background: #79c39c; border-radius: 50%; }
.section { padding: 100px 0; }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading>p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.project-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.project-card { min-height: 310px; display: flex; flex-direction: column; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-number { margin-bottom: 48px; color: #9babb5; font-size: .78rem; font-weight: 800; }
.project-card h3 { margin-bottom: 11px; font-size: 1.28rem; }
.project-card p { margin-bottom: 24px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--navy); font-weight: 800; }
.text-link svg { color: var(--orange); transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }
.method-section { color: #fff; background: var(--navy); }
.method-section h2,.method-section h3 { color: #fff; }
.method-section .kicker { color: #ffc980; }
.method-section .section-heading>p:last-child,.method-section .step p { color: #cedbe4; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 52px; counter-reset: step; }
.step { position: relative; padding-top: 76px; counter-increment: step; }
.step::before { content: counter(step,decimal-leading-zero); position: absolute; top: 0; color: rgba(255,255,255,.18); font-size: 3.8rem; font-weight: 850; line-height: 1; }
.step::after { content: ""; position: absolute; top: 26px; left: 82px; right: -25px; height: 1px; background: rgba(255,255,255,.2); }
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 10px; font-size: 1.26rem; }
.method-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 48px; color: #fff; font-weight: 800; text-decoration: underline; text-decoration-color: #f4a261; text-underline-offset: 5px; }
.checklist-section { background: var(--surface); }
.checklist-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.checklist-copy { position: sticky; top: 100px; }
.checklist-copy>p { color: var(--muted); }
.checklist-progress { margin-top: 34px; color: var(--navy); }
.progress { height: 7px; margin-top: 10px; overflow: hidden; background: #dbe4e8; border-radius: 8px; }
.progress span { display: block; width: 0; height: 100%; background: var(--green); transition: width .25s; }
.checklist-box { display: grid; background: #fff; border-top: 3px solid var(--orange); box-shadow: 0 18px 55px rgba(12,36,56,.1); }
.checklist-box label,.check-panel label { min-height: 60px; display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); cursor: pointer; }
.checklist-box input,.check-panel input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--green); }
.checklist-box label:has(input:checked),.check-panel label:has(input:checked) { color: var(--muted); background: #f4faf7; text-decoration: line-through; }
.reset-checklist { justify-self: start; margin: 18px 20px; padding: 8px 0; color: var(--navy); background: none; border: 0; font-size: .84rem; font-weight: 800; text-decoration: underline; cursor: pointer; }
.editorial-value { padding: 80px 0; }
.value-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.value-layout>div:last-child>p { color: var(--muted); font-size: 1.08rem; }
.value-layout .text-link { margin: 12px 24px 0 0; }
.partner-section { background: #fff3e8; border-top: 1px solid #efc69f; border-bottom: 1px solid #efc69f; }
.partner-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.partner-copy h2 { max-width: 760px; }
.partner-copy>p:not(.ad-label),.partner-copy li { color: #4e5961; }
.partner-copy ul { padding-left: 22px; }
.partner-action { padding: 36px; background: #fff; border: 1px solid #edbd91; border-radius: 8px; }
.partner-action .btn { width: 100%; }
.partner-action p,.partner-micro { margin: 15px 0 0; color: var(--muted); font-size: .79rem; }
.ad-label { display: inline-flex; margin: 0 0 18px; padding: 5px 8px; color: #fff; background: var(--navy-dark); border-radius: 3px; font-size: .7rem; font-weight: 850; letter-spacing: .03em; }
.owner-section { background: var(--surface); }
.owner-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.owner-layout>div>p:not(.kicker) { color: var(--muted); font-size: 1.06rem; }
.owner-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 26px; }
.owner-links a { color: var(--navy); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.owner-details { display: grid; gap: 6px; padding: 24px 0 0 28px; border-top: 3px solid var(--orange); font-style: normal; }
.owner-details strong { color: var(--navy); font-size: 1.14rem; }
.owner-details a { color: var(--navy); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.article-hero { padding: 82px 0 72px; color: #fff; background: var(--navy); }
.article-hero.compact { padding-bottom: 58px; }
.article-hero .breadcrumbs { display: flex; gap: 8px; margin-bottom: 22px; color: #c6d6e1; font-size: .84rem; }
.article-hero .breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.article-hero h1 { margin-bottom: 20px; font-size: clamp(2.4rem,5vw,4.1rem); }
.article-hero>.container>p:last-child { max-width: 770px; margin-bottom: 0; color: #dbe7ee; font-size: 1.1rem; }
.article-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(250px,.55fr); gap: 78px; align-items: start; }
.article-body { max-width: 800px; }
.article-body h2 { margin: 58px 0 18px; font-size: clamp(1.7rem,3vw,2.4rem); }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 30px 0 10px; }
.article-body p,.article-body li { color: #44545f; }
.article-body li+li { margin-top: 8px; }
.article-body a:not(.btn):not(.related-link) { color: var(--navy); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.editorial-intro { margin-bottom: 50px; padding: 24px 26px; background: var(--surface); border-left: 4px solid var(--green); }
.editorial-intro strong { color: var(--navy); }
.editorial-intro p { margin: 6px 0 0; }
.question-list { padding-left: 24px; }
.question-list li { padding-left: 8px; }
.check-panel { display: grid; border: 1px solid var(--line); }
.note { margin-top: 18px; padding: 18px 20px; background: #fff8e9; border-left: 3px solid var(--yellow); font-size: .86rem; }
.partner-box { margin: 60px 0; padding: 34px; background: #fff3e8; border: 1px solid #efc69f; border-radius: 8px; }
.partner-box h2 { margin: 0 0 15px; font-size: 1.8rem; }
.partner-box .btn { margin-top: 10px; color: #fff!important; text-decoration: none!important; }
.partner-box .partner-micro { margin-bottom: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.related-link { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; color: var(--navy); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 800; }
.related-link svg { color: var(--orange); }
.article-aside { position: sticky; top: 96px; padding: 24px; background: var(--surface); border-top: 3px solid var(--orange); }
.article-aside h2 { margin-bottom: 15px; font-size: 1.1rem; }
.article-aside nav { display: grid; }
.article-aside nav a { padding: 8px 0; color: var(--navy); border-bottom: 1px solid var(--line); font-size: .88rem; font-weight: 700; }
.aside-tool { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; color: var(--navy); font-size: .88rem; font-weight: 800; }
.comparison-table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); }
table { width: 100%; min-width: 680px; border-collapse: collapse; }
th,td { min-width: 130px; padding: 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
thead th { color: #fff; background: var(--navy); }
tbody th { min-width: 210px; color: var(--navy); background: var(--surface); }
td { height: 48px; }
.download-note { padding: 16px 18px; color: var(--muted); background: var(--surface); font-size: .88rem; }
.editorial-cta { margin-top: 50px; padding: 32px; color: #fff; background: var(--navy); }
.editorial-cta h2 { margin-top: 0; color: #fff; }
.editorial-cta p { color: #dce7ee; }
.legal-layout { max-width: 800px; }
.legal-owner { margin: 24px 0 0; }
.legal-meta { color: var(--muted); font-size: .85rem; }
.external-source::after { content: " ↗"; }
footer { padding: 56px 0 30px; color: #b9c9d5; background: #081b2a; font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; padding-bottom: 40px; }
footer .brand { margin-bottom: 16px; }
footer p { max-width: 650px; }
footer .company-details { margin-top: 20px; padding: 0; color: #d3dfe7; border: 0; }
footer .company-details strong { color: #fff; font-size: inherit; }
footer .company-details a { color: #fff; }
.footer-links { display: flex; align-content: start; justify-content: flex-end; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease,transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.btn:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media(max-width:900px){
  .site-header { height: 72px; }
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 72px 0 auto; display: none; padding: 22px 24px 28px; color: var(--navy); background: #fff; box-shadow: 0 18px 35px rgba(12,36,56,.18); }
  .nav-links.open { display: grid; }
  .nav-links .nav-offer-link { margin-top: 6px; text-align: center; }
  .hero { min-height: 0; padding: 118px 0 64px; background-position: 59% center; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 760px; }
  .hero-quote-card { width: min(100%,620px); }
  .project-grid { grid-template-columns: repeat(2,1fr); }
  .steps { gap: 30px; }
  .step::after { display: none; }
  .checklist-layout,.partner-layout,.owner-layout,.value-layout,.article-layout,.faq-layout { grid-template-columns: 1fr; gap: 44px; }
  .checklist-copy,.article-aside { position: static; }
  .article-aside { order: -1; }
  .article-aside nav { grid-template-columns: repeat(2,1fr); column-gap: 20px; }
}
@media(max-width:640px){
  .container { width: min(var(--max),calc(100% - 32px)); }
  .section { padding: 72px 0; }
  h1 { font-size: clamp(2.35rem,11vw,3.35rem); }
  h2 { font-size: 2rem; }
  .hero { min-height: 0; align-items: flex-start; padding: 104px 0 42px; background-image: linear-gradient(90deg,rgba(8,28,45,.96) 0%,rgba(18,55,83,.78) 58%,rgba(14,40,61,.58) 100%),var(--hero-image); background-position: 62% center; }
  .hero-grid { gap: 30px; }
  .hero-copy h1 { font-size: clamp(2.25rem,11vw,3.15rem); }
  .hero-quote-card { order: -1; padding: 23px 18px; }
  .hero-quote-card h2 { font-size: 1.75rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .secondary-link { justify-content: center; }
  .partner-jump { width: 100%; justify-content: center; margin-top: 8px; }
  .hero-benefits { display: grid; gap: 8px; margin-top: 26px; padding-top: 20px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 0; }
  .project-number { margin-bottom: 24px; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .step { padding-top: 58px; }
  .checklist-layout { gap: 30px; }
  .partner-action,.partner-box { padding: 25px 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 58px 0 52px; }
  .article-aside nav { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; }
}
@media(max-width:390px){
  .hero { min-height: 0; }
  .brand { font-size: 1.08rem; }
  .brand-mark { width: 30px; height: 30px; }
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}}

/* ——— Offertverktyg ——— */
.tools-strip { background: #e8f3ef; border-top: 1px solid #c5ddd3; border-bottom: 1px solid #c5ddd3; }
.tools-strip-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.tools-strip-layout p { color: var(--muted); margin-bottom: 0; }
.tools-strip .btn { margin-top: 18px; }
.tool-card-mini { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.tool-card-mini a { color: var(--navy); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.project-card .tool-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 10px; color: var(--navy); background: #e8f3ef; border-radius: 4px; font-size: .78rem; font-weight: 750; width: fit-content; }
.project-card .tool-chip:hover { background: #d5ebe2; }
.underlag-box { margin: 36px 0; padding: 26px 28px; background: #e8f3ef; border-left: 4px solid var(--green); border-radius: 0 8px 8px 0; }
.underlag-box h2, .underlag-box h3 { margin: 0 0 10px; font-size: 1.35rem; }
.underlag-box p { margin: 0 0 14px; color: #44545f; }
.underlag-box .btn { margin-top: 4px; }
.tools-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; }
.tools-nav a { padding: 10px 14px; color: var(--navy); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; font-size: .88rem; font-weight: 750; }
.tools-nav a:hover { border-color: var(--green); }
.tool-panel { margin: 48px 0; padding: 32px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 8px; box-shadow: 0 12px 40px rgba(12,36,56,.06); }
.tool-panel h2 { margin-top: 0; font-size: clamp(1.55rem,2.5vw,2.1rem); }
.tool-panel > .tool-lead { color: var(--muted); margin-bottom: 22px; }
.brief-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.brief-tabs button { min-height: 44px; padding: 10px 16px; color: var(--navy); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; font-weight: 750; cursor: pointer; }
.brief-tabs button.is-active, .brief-tabs button[aria-selected="true"] { color: #fff; background: var(--navy); border-color: var(--navy); }
.brief-checklist { display: grid; border: 1px solid var(--line); margin-bottom: 18px; }
.brief-checklist label { min-height: 52px; display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.brief-checklist label:last-child { border-bottom: 0; }
.brief-checklist input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--green); }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.copy-status { color: var(--green); font-size: .9rem; font-weight: 700; min-height: 1.2em; }
.matrix-table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); }
.matrix-table-wrap table { min-width: 720px; }
.matrix-table-wrap select { width: 100%; min-height: 40px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.matrix-hint { display: block; margin-top: 4px; color: var(--muted); font-size: .72rem; font-weight: 600; }
.calc-mode { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-bottom: 18px; }
.calc-mode label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); cursor: pointer; }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-bottom: 18px; }
.calc-field { display: grid; gap: 6px; }
.calc-field label { font-size: .88rem; font-weight: 750; color: var(--navy); }
.calc-field input[type="number"] { min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; }
.calc-rot { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 20px; padding: 14px 16px; background: var(--surface); border-radius: 6px; }
.calc-rot input { margin-top: 3px; accent-color: var(--green); }
.calc-results { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.calc-result { padding: 16px 18px; background: var(--surface); border-radius: 6px; }
.calc-result span { display: block; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.calc-result strong { display: block; margin-top: 4px; color: var(--navy); font-size: 1.25rem; }
.calc-result.is-pay { background: #e8f3ef; grid-column: 1 / -1; }
.calc-note { margin-top: 16px; font-size: .88rem; color: var(--muted); }
.tools-partner { margin-top: 56px; }
@media (max-width: 900px) {
  .tools-strip-layout { grid-template-columns: 1fr; gap: 24px; }
  .calc-grid, .calc-results { grid-template-columns: 1fr; }
  .calc-result.is-pay { grid-column: auto; }
  .tool-panel { padding: 22px 18px; }
}
