:root {
  --navy: #0c3f63;
  --navy-deep: #082e47;
  --navy-ink: #061f30;
  --copper: #a94f22;
  --copper-dark: #7d3415;
  --copper-pale: #fbefe7;
  --green: #237d3a;
  --ink: #142f40;
  --ink-soft: #415c6b;
  --ink-faint: #4f6772;
  --paper: #f2f6f4;
  --line: #d5e2df;
  --line-dark: rgba(255,255,255,.16);
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 52px rgba(7,39,59,.1);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6.2vw, 5.7rem); line-height: .98; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; }
h3 { font-size: 17px; }
:focus-visible { outline: 3px solid #e7a274; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 3000; top: 10px; left: 12px; padding: 10px 15px; transform: translateY(-160%); border-radius: 8px; background: #fff; color: var(--navy-deep); font-weight: 750; box-shadow: var(--shadow); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid rgba(255,255,255,.12); background: var(--navy-deep); color: #fff; box-shadow: 0 9px 28px rgba(2,24,38,.16); }
.header-inner, .hero-inner, .section, .quick-answer, .footer-inner { width: min(1180px, calc(100% - 42px)); margin: 0 auto; }
.header-inner { min-height: 78px; display: grid; grid-template-columns: minmax(280px,1fr) auto auto; align-items: center; gap: clamp(14px,2.2vw,28px); }
.brand { width: max-content; max-width: 100%; min-width: 0; display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { position: relative; width: 38px; height: 38px; flex: none; border: 5px solid currentColor; border-right-color: transparent; border-radius: 50%; color: #f7faf9; }
.brand-mark > span { position: absolute; width: 10px; height: 10px; right: -7px; top: 9px; border-radius: 2px; background: var(--copper); }
.brand-copy, .brand-name, .brand-product { min-width: 0; display: block; }
.brand-name { font-size: 18px; line-height: 1; letter-spacing: -.025em; }
.brand-product { margin-top: 5px; color: #f2b997; font: 750 8px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(14px,2vw,26px); }
.site-nav a { padding: 8px 0; color: #bdd0d9; font-size: 12px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: #fff; }
.button { min-height: 46px; padding: 11px 18px; border: 1px solid transparent; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: inherit; font-size: 13px; font-weight: 750; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-header { justify-self: end; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.07); color: #fff; white-space: nowrap; }
.button-header:hover, .button-ghost:hover { background: rgba(255,255,255,.13); }
.button-accent { background: var(--copper); color: #fff; box-shadow: 0 10px 24px rgba(112,52,24,.25); }
.button-accent:hover { background: #8c3d19; box-shadow: 0 14px 28px rgba(112,52,24,.3); }
.button-ghost { border-color: rgba(255,255,255,.28); background: transparent; color: #fff; }

.hero { position: relative; overflow: hidden; padding: clamp(70px,10vw,132px) 0 clamp(74px,10vw,120px); background: var(--navy-deep); color: #fff; }
.hero::before { content: ""; position: absolute; width: 660px; height: 660px; right: -280px; bottom: -390px; border: 90px solid rgba(189,100,49,.09); border-radius: 50%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 86px 86px; mask-image: linear-gradient(90deg, transparent 25%, #000 100%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(330px,.7fr); align-items: end; gap: clamp(48px,8vw,100px); }
.hero-copy h1 { max-width: 850px; margin-bottom: 26px; }
.hero-copy > p:not(.privacy-line) { max-width: 680px; margin-bottom: 30px; color: #c7d7df; font-size: clamp(17px,2vw,20px); line-height: 1.65; }
.eyebrow { display: block; margin-bottom: 10px; color: var(--copper-dark); font: 760 10px/1.2 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-light { color: #f0b492; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.privacy-line { margin: 18px 0 0; display: flex; align-items: center; gap: 8px; color: #9fbac7; font-size: 11px; }
.privacy-line span { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #78d38a; box-shadow: 0 0 0 4px rgba(120,211,138,.12); }
.hero-card { padding: 25px; border: 1px solid rgba(255,255,255,.19); border-radius: var(--radius-lg); background: rgba(255,255,255,.075); box-shadow: 0 30px 80px rgba(0,0,0,.13); backdrop-filter: blur(8px); }
.hero-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rule-chip, .country-chip { min-height: 28px; padding: 6px 9px; border-radius: 7px; display: inline-flex; align-items: center; font: 700 9px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.rule-chip { background: rgba(255,255,255,.1); color: #d9e5e9; }
.country-chip { background: var(--copper); color: #fff; }
.hero-card h2 { max-width: 330px; margin: 25px 0 20px; font-size: 30px; }
.date-list { margin: 0; }
.date-list div { padding: 15px 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 112px 1fr; align-items: baseline; gap: 14px; }
.date-list dt { color: #fff; font-weight: 780; }
.date-list dd { margin: 0; color: #bcd0da; font-size: 12px; }
.card-caveat { margin: 14px 0 0; color: #9bb4c0; font-size: 10.5px; }

.quick-answer { position: relative; z-index: 5; margin-top: -35px; padding: 31px 34px; border: 1px solid var(--line); border-top: 4px solid var(--copper); border-radius: var(--radius); display: grid; grid-template-columns: minmax(230px,.75fr) minmax(0,1.25fr) auto; align-items: center; gap: 38px; background: #fff; box-shadow: var(--shadow); }
.quick-answer h2 { margin-bottom: 0; font-size: 28px; }
.quick-answer p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.text-link { min-width: max-content; color: var(--copper-dark); font-weight: 780; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.section { padding: clamp(82px,10vw,124px) 0; }
.section-heading { max-width: 760px; margin-bottom: 43px; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading p { max-width: 650px; margin-bottom: 0; color: var(--ink-soft); font-size: 17px; }
.section-heading.compact { max-width: 880px; }
.steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; }
.steps li { min-height: 255px; padding: 25px 29px; border-left: 1px solid var(--line); }
.steps li:last-child { border-right: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 64px; color: var(--copper); font: 760 11px/1 var(--mono); }
.steps h3 { margin-bottom: 10px; color: var(--navy-deep); }
.steps p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.evidence-section { width: 100%; max-width: none; padding-right: max(21px,calc((100vw - 1180px)/2)); padding-left: max(21px,calc((100vw - 1180px)/2)); display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.74fr); align-items: center; gap: clamp(46px,10vw,130px); background: var(--navy-deep); color: #fff; }
.evidence-copy h2 { max-width: 660px; }
.evidence-copy > p { max-width: 620px; color: #bfd0d9; font-size: 16px; }
.check-list { margin: 30px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: #d5e1e6; font-size: 13px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-bottom: 2px solid #f0aa80; border-left: 2px solid #f0aa80; transform: rotate(-45deg); }
.record-preview { padding: 26px; border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: 0 25px 75px rgba(0,0,0,.2); }
.preview-head { padding-bottom: 15px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.preview-head span { font-weight: 780; }
.preview-head small { color: var(--ink-faint); }
.preview-total { padding: 25px 0 14px; }
.preview-total span, .preview-total strong, .preview-total small { display: block; }
.preview-total span { color: var(--ink-faint); font-size: 11px; }
.preview-total strong { margin: 7px 0 3px; color: var(--navy-deep); font-family: var(--display); font-size: 39px; font-weight: 500; }
.preview-total small { color: var(--ink-soft); font-size: 10px; }
.preview-track { height: 9px; margin-bottom: 23px; overflow: hidden; border-radius: 99px; background: #e8eeee; }
.preview-track span { display: block; width: 77%; height: 100%; background: var(--copper); }
.preview-row { padding: 14px 0; border-top: 1px solid var(--line); display: flex; align-items: flex-start; gap: 11px; }
.status-dot { width: 9px; height: 9px; margin-top: 5px; flex: none; border-radius: 50%; }
.status-good { background: var(--green); }
.status-warn { background: #c47a19; }
.status-neutral { background: #97a8ae; }
.preview-row strong, .preview-row small { display: block; }
.preview-row strong { font-size: 12px; }
.preview-row small { margin-top: 2px; color: var(--ink-faint); font-size: 10px; }

.confidence-section { padding-bottom: 32px; }
.confidence-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.confidence-grid article { min-height: 210px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.confidence-grid article > span { color: var(--copper); font: 760 10px/1 var(--mono); }
.confidence-grid h3 { margin: 45px 0 9px; color: var(--navy-deep); }
.confidence-grid p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.boundaries-section { padding-bottom: 84px; }
.boundary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.boundary-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.boundary-card.included { border-top: 5px solid var(--green); }
.boundary-card.excluded { border-top: 5px solid var(--copper); }
.card-label { color: var(--navy-deep); font: 780 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.boundary-card ul { margin: 23px 0 0; padding-left: 20px; color: var(--ink-soft); }
.boundary-card li { margin-bottom: 9px; }

.subscription-section { padding-top: 42px; padding-bottom: 0; }
.pricing-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 17px; }
.price-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; grid-template-rows: auto auto 1fr auto auto; background: #fff; box-shadow: 0 8px 28px rgba(7,39,59,.05); }
.price-card h3 { margin: 8px 0 0; color: var(--navy-deep); font-family: var(--display); font-size: 30px; font-weight: 500; letter-spacing: -.025em; }
.price-card .price { margin: 30px 0 23px; }
.price-card .price strong, .price-card .price > span, .price-card .price small { display: block; }
.price-card .price strong { color: var(--navy-deep); font: 500 40px/1 var(--display); }
.price-card .price strong span { font: 650 13px/1 var(--body); }
.price-card .price > span, .price-card .price small { margin-top: 6px; color: var(--ink-faint); font-size: 10px; }
.price-card ul { margin: 0 0 28px; padding: 23px 0 0; border-top: 1px solid var(--line); display: grid; align-content: start; gap: 10px; list-style: none; }
.price-card li { position: relative; padding-left: 23px; color: var(--ink-soft); font-size: 12px; }
.price-card li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 9px; height: 5px; border-bottom: 2px solid var(--green); border-left: 2px solid var(--green); transform: rotate(-45deg); }
.price-paid { position: relative; overflow: hidden; border-color: #daa17f; background: linear-gradient(150deg,#fff 52%,#fbefe7); }
.price-paid::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--copper); }
.price-card .button { justify-self: start; }
.button-outline { border-color: var(--line); color: var(--navy-deep); background: var(--paper); }
.button-outline:hover { border-color: #91a9b4; background: #fff; }
.price-note { max-width: 430px; margin: 12px 0 0; color: var(--ink-faint); font-size: 10px; }

.cta-section { margin-top: 104px; padding: 80px 24px; background: var(--navy-deep); color: #fff; text-align: center; }
.cta-section h2 { max-width: 760px; margin: 0 auto 16px; }
.cta-section p { margin-bottom: 25px; color: #bfd0d9; }
.cta-actions { justify-content: center; }
.site-footer { padding: 42px 0; background: var(--navy-ink); color: #9db5c0; }
.footer-inner { display: grid; grid-template-columns: minmax(230px,.8fr) minmax(320px,1.2fr); align-items: start; gap: 30px 60px; }
.footer-brand { color: #fff; }
.footer-intro p { margin: 14px 0 0; font-size: 10.5px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 11px 22px; }
.footer-links a { color: #c3d3da; font-size: 11px; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-note { grid-column: 1 / -1; margin: 0; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.12); font-size: 10px; }

.legal-page { background: var(--paper); font-size: 16px; line-height: 1.68; }
.legal-header, .legal-main, .legal-footer { width: min(860px, calc(100% - 38px)); margin: 0 auto; }
.legal-header { padding: 34px 0 24px; }
.legal-header .brand, .legal-header .brand-mark { color: var(--navy-deep); }
.legal-main { padding: 40px 0 36px; }
.legal-card { padding: clamp(24px,6vw,52px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 10px 35px rgba(7,39,59,.06); }
.legal-card h1 { margin-bottom: 8px; color: var(--navy-deep); font-size: clamp(2.5rem,7vw,4.5rem); }
.legal-card h2 { margin: 2.3rem 0 .7rem; color: var(--navy-deep); font-family: var(--display); font-size: 1.55rem; }
.legal-card p, .legal-card li { color: #324f60; }
.legal-card li { margin: .5rem 0; }
.legal-card a { color: var(--copper-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-card .updated { margin-bottom: 32px; color: var(--ink-faint); font-size: 13px; }
.legal-notice { padding: 16px 18px; border-left: 4px solid var(--copper); background: var(--copper-pale); }
.legal-footer { padding: 0 0 48px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: 12px; }
.legal-footer a { color: var(--navy); }

.cbam-intro { padding-bottom: 78px; }
.cbam-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.cbam-facts article { min-height: 245px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cbam-facts article > span, .guide-number { display: block; color: var(--copper); font: 760 10px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.cbam-facts h3 { margin: 55px 0 10px; color: var(--navy-deep); }
.cbam-facts p { margin: 0; color: var(--ink-soft); font-size: 12.5px; }
.section-link { display: inline-block; margin-top: 25px; }

.guides-section { padding-top: 76px; }
.guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.guide-card { min-height: 300px; padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; background: #fff; box-shadow: 0 8px 28px rgba(7,39,59,.05); }
.guide-card h3 { margin: 60px 0 12px; color: var(--navy-deep); font-family: var(--display); font-size: 26px; font-weight: 500; letter-spacing: -.025em; }
.guide-card p { margin-bottom: 24px; color: var(--ink-soft); font-size: 13px; }
.guide-card .text-link { margin-top: auto; align-self: flex-start; }
.guides-note { margin: 20px 0 0; color: var(--ink-faint); font-size: 10.5px; }

.family-strip { width: min(1180px,calc(100% - 42px)); margin: 0 auto clamp(82px,10vw,124px); padding: 32px 35px; border: 1px solid var(--line); border-left: 5px solid var(--copper); border-radius: var(--radius); display: grid; grid-template-columns: minmax(0,1.25fr) minmax(270px,.75fr); align-items: center; gap: 36px; background: #fff; box-shadow: 0 8px 28px rgba(7,39,59,.05); }
.family-strip h2 { margin: 0 0 11px; color: var(--navy-deep); font-size: clamp(1.8rem,3vw,2.5rem); }
.family-strip p { max-width: 700px; margin: 0; color: var(--ink-soft); font-size: 14px; }
.family-strip nav { display: grid; gap: 9px; }
.family-strip nav a { min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--navy); font-size: 12px; font-weight: 760; text-decoration: none; }
.family-strip nav a:hover { border-color: #9cb5bf; background: var(--paper); }

.guide-page { background: var(--paper); }
.guide-hero { padding: 86px 0 78px; background: var(--navy-deep); color: #fff; }
.guide-hero-inner, .guide-main { width: min(1020px,calc(100% - 42px)); margin: 0 auto; }
.guide-hero h1 { max-width: 850px; margin: 0 0 22px; font-size: clamp(3rem,7vw,5.5rem); }
.guide-hero p { max-width: 720px; margin: 0; color: #c5d6de; font-size: 18px; }
.guide-hero .guide-checked { margin-top: 24px; color: #91adba; font: 700 10px/1.5 var(--mono); letter-spacing: .035em; text-transform: uppercase; }
.guide-jump { width: min(1020px,calc(100% - 42px)); margin: -23px auto 0; padding: 18px 22px; position: relative; z-index: 3; border: 1px solid var(--line); border-top: 4px solid var(--copper); border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; gap: 9px 20px; background: #fff; box-shadow: var(--shadow); }
.guide-jump span { color: var(--ink-faint); font: 760 9px/1 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.guide-jump a { color: var(--navy); font-size: 12px; font-weight: 750; text-decoration: none; }
.guide-jump a:hover { color: var(--copper-dark); text-decoration: underline; text-underline-offset: 3px; }
.guide-main { padding: 64px 0 100px; display: grid; grid-template-columns: minmax(0,1fr) 280px; align-items: start; gap: 58px; }
.guide-article { min-width: 0; }
.guide-article > p:first-child { color: var(--ink-soft); font-size: 18px; line-height: 1.7; }
.guide-article h2 { margin: 55px 0 16px; color: var(--navy-deep); font-size: 32px; }
.guide-article h3 { margin: 30px 0 8px; color: var(--navy-deep); font-size: 17px; }
.guide-article p, .guide-article li { color: #324f60; }
.guide-article li { margin: 9px 0; }
.guide-callout { margin: 34px 0; padding: 22px 24px; border-left: 5px solid var(--copper); border-radius: 0 12px 12px 0; background: var(--copper-pale); }
.guide-callout strong { display: block; margin-bottom: 6px; color: var(--navy-deep); }
.guide-callout p { margin: 0; }
.guide-steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: guide-step; }
.guide-steps li { position: relative; min-height: 54px; margin: 0; padding: 0 0 25px 52px; counter-increment: guide-step; }
.guide-steps li::before { content: counter(guide-step); position: absolute; left: 0; top: -4px; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--navy); color: #fff; font: 750 10px/1 var(--mono); }
.guide-aside { position: sticky; top: 102px; max-height: calc(100vh - 122px); padding: 24px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.guide-aside h2 { margin-bottom: 15px; font: 500 24px/1.15 var(--display); }
.guide-aside ul { margin: 0; padding: 0; list-style: none; }
.guide-aside li { padding: 9px 0; border-top: 1px solid var(--line); }
.guide-aside a { color: var(--navy); font-size: 12px; font-weight: 720; text-decoration: none; }
.guide-aside a[aria-current="page"] { color: var(--copper-dark); }
.guide-sources { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.guide-sources a { color: var(--navy); text-underline-offset: 3px; }
.guide-back { display: inline-block; margin-top: 42px; }
.related-guides { margin-top: 42px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.related-guides h2 { margin: 0 0 17px; font-size: 25px; }
.related-guides ul { margin: 0; padding: 0; display: grid; gap: 11px; list-style: none; }
.related-guides li { margin: 0; }
.related-guides a { color: var(--navy); font-weight: 750; text-decoration: none; }
.related-guides a:hover { color: var(--copper-dark); text-decoration: underline; text-underline-offset: 3px; }

.guide-library { padding-top: 88px; }
.guide-group { padding-top: 22px; scroll-margin-top: 96px; }
.guide-group + .guide-group { margin-top: 74px; padding-top: 64px; border-top: 1px solid var(--line); }
.guide-group-heading { max-width: 710px; margin-bottom: 26px; }
.guide-group-heading > span { display: block; margin-bottom: 9px; color: var(--copper-dark); font: 760 9px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.guide-group-heading h2 { margin: 0; font-size: clamp(1.8rem,3.4vw,2.7rem); }
.guide-library .guide-group:first-of-type .guide-grid,
.guide-library .guide-group:last-of-type .guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.guide-library-note { margin-top: 76px; padding: 26px 28px; border-left: 5px solid var(--copper); border-radius: 0 12px 12px 0; background: var(--copper-pale); }
.guide-library-note strong { display: block; color: var(--navy-deep); }
.guide-library-note p { margin: 7px 0 0; color: var(--ink-soft); font-size: 12px; }
.guide-library-note a { color: var(--navy); text-underline-offset: 3px; }

.analytics-settings-button,
.analytics-consent-actions button { font: 750 12px/1.2 var(--body); }
.analytics-settings-button { position: fixed; z-index: 2100; right: 18px; bottom: 18px; min-height: 42px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; background: var(--navy-deep); color: #fff; box-shadow: 0 10px 30px rgba(2,24,38,.24); cursor: pointer; }
.analytics-settings-button:hover { background: var(--navy); }
.analytics-consent-panel { position: fixed; z-index: 2000; right: 0; bottom: 0; left: 0; border-top: 4px solid var(--copper); background: #fff; color: var(--ink); box-shadow: 0 -18px 60px rgba(2,24,38,.22); }
.analytics-consent-panel[hidden], .analytics-settings-button[hidden] { display: none !important; }
.analytics-consent-inner { width: min(1180px,calc(100% - 42px)); margin: 0 auto; padding: 24px 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 22px 46px; }
.analytics-consent-copy { max-width: 770px; }
.analytics-consent-copy h2 { margin: 0 0 8px; color: var(--navy-deep); font-family: var(--body); font-size: 19px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.analytics-consent-copy p { margin: 0; color: var(--ink-soft); font-size: 12.5px; }
.analytics-consent-copy > a { display: inline-block; margin-top: 7px; color: var(--copper-dark); font-size: 12px; font-weight: 760; text-underline-offset: 3px; }
.analytics-consent-copy .analytics-consent-status { margin-top: 7px; color: var(--ink-faint); font-size: 11px; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.analytics-consent-actions button { min-height: 44px; padding: 10px 17px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; }
.analytics-consent-allow { background: var(--copper); color: #fff; }
.analytics-consent-allow:hover { background: #8c3d19; }
.analytics-consent-decline { border-color: var(--line) !important; background: var(--paper); color: var(--navy-deep); }
.analytics-consent-decline:hover { border-color: #91a9b4 !important; background: #fff; }

@media (max-width: 920px) {
  html { scroll-padding-top: 128px; }
  .header-inner { min-height: 0; padding: 10px 0 9px; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto auto; gap: 5px 18px; }
  .brand { grid-column: 1; grid-row: 1; }
  .site-nav { min-width: 0; padding-top: 5px; grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .button-header { grid-column: 2; grid-row: 1; }
  .hero-inner { grid-template-columns: 1fr; align-items: start; }
  .hero-card { max-width: 540px; }
  .quick-answer { grid-template-columns: 1fr auto; }
  .quick-answer > div { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .steps li:nth-child(2) { border-right: 1px solid var(--line); }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .evidence-section { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .record-preview { max-width: 560px; }
  .cbam-facts { grid-template-columns: repeat(2,1fr); }
  .guide-main { grid-template-columns: 1fr; }
  .guide-aside { position: static; max-height: none; }
  .family-strip { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .confidence-grid { grid-template-columns: 1fr; }
  .confidence-grid article { min-height: 0; }
  .confidence-grid h3 { margin-top: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-library .guide-group:first-of-type .guide-grid,
  .guide-library .guide-group:last-of-type .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 0; }
  .guide-card h3 { margin-top: 35px; }
  .analytics-consent-inner { grid-template-columns: 1fr; }
  .analytics-consent-actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .header-inner, .hero-inner, .section, .quick-answer, .footer-inner, .family-strip { width: min(100% - 26px,1180px); }
  .header-inner { padding: 9px 0 8px; gap: 4px 10px; }
  .button-header { padding-inline: 12px; font-size: 11px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 16px; }
  .brand-product { margin-top: 4px; font-size: 6.7px; letter-spacing: .045em; }
  .site-nav { gap: 17px; }
  .site-nav a { padding: 7px 0 5px; font-size: 10.5px; }
  .hero { padding-top: 68px; }
  h1 { font-size: 44px; }
  .hero-actions, .cta-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button, .cta-actions .button { width: 100%; }
  .hero-card { padding: 21px; }
  .quick-answer { margin-top: -23px; padding: 25px; grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:nth-child(2), .steps li:last-child { min-height: 0; padding: 24px 20px; border: 0; border-top: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 1px solid var(--line); }
  .step-number { margin-bottom: 28px; }
  .evidence-section { width: 100%; padding: 72px 18px; }
  .boundary-grid { grid-template-columns: 1fr; }
  .price-card { padding: 28px 24px; }
  .price-card .button { width: 100%; }
  .footer-links { display: grid; grid-template-columns: repeat(2,max-content); }
  .cbam-facts { grid-template-columns: 1fr; }
  .cbam-facts article { min-height: 0; }
  .cbam-facts h3 { margin-top: 32px; }
  .guide-hero-inner, .guide-main { width: min(100% - 26px,1020px); }
  .guide-jump { width: min(100% - 26px,1020px); align-items: flex-start; flex-direction: column; }
  .guide-hero { padding: 65px 0 58px; }
  .guide-hero h1 { font-size: 44px; }
  .guide-hero p { font-size: 16px; }
  .analytics-settings-button { right: 12px; bottom: 12px; }
  .analytics-consent-inner { width: min(100% - 28px,1180px); padding: 19px 0; gap: 16px; }
  .analytics-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .analytics-consent-actions button { width: 100%; }
  .family-strip { padding: 27px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header { position: static; box-shadow: none; }
  .analytics-settings-button, .analytics-consent-panel { display: none !important; }
}
