/* Preferred Tax Guide — design system
   Brand: deep green / lime / cream. Type: Manrope (display), DM Sans (text).
   Minimum text size on the public page is 13px; body copy is 16px. */
:root{
  --ink:#193c34;--green:#254e41;--green-deep:#1b3b31;--green-soft:#366751;--lime:#d6ec91;--lime-deep:#b9d660;
  --cream:#f7f7f0;--cream-2:#f0f4e7;--sage:#628357;--muted:#596860;--muted-2:#6f7d74;--line:#dfe4db;--line-2:#eaede5;
  --radius:10px;--radius-s:6px;--shadow:0 10px 30px rgba(25,60,52,.08);--shadow-lg:0 24px 60px rgba(25,60,52,.14);
  --ease:cubic-bezier(.2,.7,.2,1);--pad:clamp(20px,6vw,8.4%);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px;-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--ink);font-family:'DM Sans',system-ui,sans-serif;font-size:16px;line-height:1.6;overflow-x:hidden}
button,input,select,textarea{font:inherit;color:inherit}
button{border:0;background:none;cursor:pointer;padding:0}
button,a{-webkit-tap-highlight-color:transparent;transition:background .2s var(--ease),color .2s var(--ease),transform .2s var(--ease),box-shadow .2s var(--ease),border-color .2s var(--ease)}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4,p{margin:0}
h1,h2,h3{font-family:'Manrope',system-ui,sans-serif;letter-spacing:-.02em}
img,svg{display:block;max-width:100%}
:focus-visible{outline:3px solid #7b9d4d;outline-offset:3px;border-radius:4px}
.skip-link{position:absolute;left:-999px;top:8px;background:var(--green);color:#fff;padding:10px 14px;border-radius:6px;z-index:100}
.skip-link:focus{left:8px}
.arrow{font-style:normal;display:inline-block;transition:transform .25s var(--ease)}
.button:hover .arrow,.text-link:hover .arrow,.topbar a:hover .arrow{transform:translate(2px,-2px)}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;display:flex;align-items:center;gap:9px;color:var(--sage);text-transform:uppercase}
.live-dot{width:7px;height:7px;background:#5c8058;border-radius:50%;box-shadow:0 0 0 0 rgba(92,128,88,.5);animation:pulse 2.4s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(92,128,88,.45)}70%{box-shadow:0 0 0 8px rgba(92,128,88,0)}100%{box-shadow:0 0 0 0 rgba(92,128,88,0)}}

/* Buttons */
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--green);color:#fff;border-radius:8px;padding:15px 22px;font-size:15px;font-weight:600;line-height:1;box-shadow:0 4px 14px rgba(37,78,65,.18)}
.button:hover{background:var(--green-soft);transform:translateY(-2px);box-shadow:0 8px 22px rgba(37,78,65,.24)}
.button:active{transform:translateY(0)}
.button .arrow{font-size:18px}
.button.small{padding:12px 18px;font-size:14px}
.button.light{background:var(--lime);color:var(--ink);box-shadow:none}
.button.light:hover{background:var(--lime-deep)}
.outline-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 20px;border:1.5px solid #cdd5c7;border-radius:8px;font-size:14px;font-weight:600;background:#fff}
.outline-button:hover{background:var(--cream-2);border-color:#9dac8e;transform:translateY(-1px)}
.text-link{font-size:14px;font-weight:600;white-space:nowrap;padding:6px 0;color:var(--green);border-bottom:1.5px solid transparent}
.text-link:hover{border-bottom-color:var(--green)}

/* Top bar + header */
.topbar{background:var(--green);color:#fff;padding:9px var(--pad);font-size:13px;display:flex;gap:6px;align-items:center}
.topbar-lead{font-weight:600}.topbar-sub{color:#cbd8cf}
.topbar a{margin-left:auto;color:var(--lime);font-weight:600;display:inline-flex;gap:6px;align-items:center}
header{position:sticky;top:0;z-index:40;height:84px;display:flex;align-items:center;padding:0 var(--pad);gap:26px;background:rgba(255,255,255,.88);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid transparent;transition:box-shadow .3s,border-color .3s,height .3s}
header.scrolled{border-bottom-color:var(--line-2);box-shadow:0 6px 24px rgba(25,60,52,.06);height:72px}
.brand{display:flex;align-items:center;gap:11px;font-family:'Manrope',sans-serif;font-size:27px;font-weight:800;letter-spacing:-.05em;line-height:1}
.brandmark{background:var(--green);color:#fff;border-radius:50%;width:42px;height:42px;display:flex;align-items:center;justify-content:center;font-size:31px;letter-spacing:-8px;padding-right:8px;line-height:1;flex-shrink:0}
.brandmark span{color:var(--lime);font-size:27px;margin-top:5px}
.brand-text{display:flex;flex-direction:column}
.brand-sub{font-family:'DM Sans',sans-serif;font-size:8.5px;letter-spacing:.24em;margin-top:3px;font-weight:700;color:var(--muted)}
nav{display:flex;gap:26px;margin-left:auto;font-size:15px;font-weight:600;align-items:center}
nav a,.nav-source-link{position:relative;padding:4px 0}
nav a::after,.nav-source-link::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--sage);transform:scaleX(0);transform-origin:left;transition:transform .25s var(--ease)}
nav a:hover::after,.nav-source-link:hover::after{transform:scaleX(1)}
.nav-source-link{font-size:inherit;font-weight:inherit;white-space:nowrap}
.nav-mobile-actions{display:none}
.login{font-size:14px;font-weight:600;white-space:nowrap;display:inline-flex;gap:8px;align-items:center;color:var(--muted)}
.login:hover{color:var(--ink)}
.menu-toggle{display:none;width:44px;height:44px;flex-direction:column;justify-content:center;align-items:center;gap:5px;margin-left:auto;border-radius:8px}
.menu-toggle span{display:block;width:22px;height:2px;background:var(--ink);border-radius:2px;transition:transform .3s var(--ease),opacity .2s}
.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Hero */
.hero{background:var(--cream);display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);min-height:600px;overflow:hidden;position:relative}
.hero::before{content:"";position:absolute;inset:0;background:radial-gradient(900px 500px at 10% -10%,#fff 0,transparent 60%);pointer-events:none}
.hero-content{padding:72px 24px 56px var(--pad);position:relative;z-index:2;min-width:0;animation:rise .8s var(--ease) both}
@keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
h1{font-size:clamp(40px,4.4vw,64px);line-height:1.08;letter-spacing:-.035em;margin:22px 0 20px;font-weight:700}
h1 em{font-style:normal;color:var(--sage)}
h2{font-size:clamp(28px,3vw,36px);font-weight:700;line-height:1.2}
.hero-description{font-size:18px;line-height:1.6;color:var(--muted);max-width:46ch}
.searchbox{position:relative;display:flex;align-items:center;padding:8px 8px 8px 18px;background:#fff;border:1.5px solid #d3dbcb;border-radius:14px;box-shadow:var(--shadow);margin-top:30px;max-width:600px;gap:10px;transition:box-shadow .25s,border-color .25s}
.searchbox:focus-within{border-color:var(--sage);box-shadow:0 0 0 4px rgba(98,131,87,.15),var(--shadow-lg)}
.search-icon{width:22px;height:22px;color:var(--muted-2);flex-shrink:0}
.searchbox input{border:0;outline:0;min-width:0;flex:1;font-size:17px;padding:14px 0;background:transparent}
.searchbox input::placeholder{color:#8e9a90}
.search-go{background:var(--green);color:#fff;border-radius:10px;padding:0 18px;height:50px;display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:15px;white-space:nowrap;flex-shrink:0}
.search-go:hover{background:var(--green-soft)}
.search-go .arrow{font-size:18px}
.search-suggest{position:absolute;left:-1px;right:-1px;top:calc(100% + 8px);margin:0;padding:8px;list-style:none;background:#fff;border:1.5px solid var(--line);border-radius:14px;box-shadow:var(--shadow-lg);z-index:30;animation:rise .25s var(--ease) both}
.search-suggest li{border-radius:9px}
.search-suggest button{width:100%;text-align:left;padding:12px 14px;border-radius:9px;display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:15px;line-height:1.4}
.search-suggest small{font-size:12px;color:var(--muted-2);text-transform:uppercase;letter-spacing:.08em;white-space:nowrap;font-weight:600}
.search-suggest button:hover,.search-suggest li[aria-selected="true"] button{background:var(--cream-2)}
.search-suggest .suggest-more{color:var(--green);font-weight:600;border-top:1px solid var(--line-2);border-radius:0 0 9px 9px}
.search-suggestions{display:flex;gap:9px;align-items:center;margin-top:16px;font-size:14px;color:var(--muted);flex-wrap:wrap}
.search-suggestions button{font-size:14px;padding:8px 14px;border:1.5px solid #d8ded0;border-radius:30px;background:rgba(255,255,255,.7);font-weight:500}
.search-suggestions button:hover{background:#e2ebd2;border-color:#b7c89a;transform:translateY(-1px)}
.hero-note{display:flex;align-items:center;gap:8px;margin-top:30px;font-size:14px;color:var(--muted);flex-wrap:wrap}
.hero-note .check{color:#537c41;font-weight:700}
.hero-note i{height:4px;width:4px;background:#a7aea0;border-radius:50%;margin:0 4px}
.hero-visual{position:relative;display:flex;justify-content:center;align-items:center;isolation:isolate;background:radial-gradient(ellipse at 65% 70%,#e6ebd9 0,transparent 60%);min-height:560px}
.orbit{position:absolute;width:480px;height:480px;border:1px solid #d3dcc1;border-radius:50%;z-index:-1;right:-85px;top:76px;animation:spin 60s linear infinite}
.orbit::after{content:"";position:absolute;top:-4px;left:50%;width:8px;height:8px;background:var(--sage);border-radius:50%}
.orbit-two{width:650px;height:650px;right:-170px;top:-12px;animation-duration:90s;animation-direction:reverse}
@keyframes spin{to{transform:rotate(360deg)}}
.visual-caption{position:absolute;top:44px;right:48px;font-size:11px;letter-spacing:.2em;line-height:1.9;color:#849077;font-weight:600}
.paper{position:absolute;width:300px;height:380px;border-radius:8px}
.paper-back{background:#cdd7b6;transform:rotate(9deg);left:calc(50% - 116px);top:100px;animation:floatB 7s ease-in-out infinite}
.paper-front{background:#fffef7;transform:rotate(-7deg);box-shadow:0 30px 50px rgba(52,67,35,.14);padding:26px;left:calc(50% - 159px);top:94px;animation:floatA 7s ease-in-out infinite}
@keyframes floatA{0%,100%{transform:rotate(-7deg) translateY(0)}50%{transform:rotate(-6deg) translateY(-10px)}}
@keyframes floatB{0%,100%{transform:rotate(9deg) translateY(0)}50%{transform:rotate(10deg) translateY(-6px)}}
.paper-top{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:.14em;font-weight:700;color:var(--muted)}
.mini-brand{font-size:28px;letter-spacing:-8px;padding-right:7px;line-height:1;color:var(--ink)}
.mini-brand span{color:#8baa62}
.paper-title{font-family:'Manrope',sans-serif;font-size:33px;font-weight:600;letter-spacing:-.04em;line-height:1.15;margin:26px 0 20px}
.paper-title em{font-style:normal;color:#8caa61}
.paper-line{border-top:1px solid #e3e6d8;margin-bottom:16px}
.paper-row{font-size:13px;margin:12px 0;display:flex;align-items:center;gap:10px}
.paper-check{border-radius:50%;background:#eaf0d7;width:20px;height:20px;display:grid;place-items:center;font-size:10px;color:#537c41;font-weight:700}
.paper-bottom{font-size:7px;letter-spacing:.14em;display:flex;justify-content:space-between;margin-top:26px;font-weight:700}
.paper-bottom span{color:#95a08a}
.floating-badge{position:absolute;display:flex;gap:13px;align-items:center;background:#fff;border-radius:12px;box-shadow:0 12px 34px rgba(34,61,38,.12);padding:16px 20px;bottom:70px;right:40px;font-size:13px;line-height:1.5;transform:rotate(3deg);animation:floatC 6s ease-in-out infinite 1s}
@keyframes floatC{0%,100%{transform:rotate(3deg) translateY(0)}50%{transform:rotate(2deg) translateY(-8px)}}
.floating-badge>span{background:var(--lime);font-size:22px;border-radius:50%;height:40px;width:40px;display:grid;place-items:center;flex-shrink:0}
.floating-badge strong{font-weight:700}
.visual-plus{position:absolute;font-size:72px;left:30px;bottom:110px;color:#8aa275;transform:rotate(13deg);animation:spin 30s linear infinite}

/* Trust strip + sections */
.truststrip{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:22px var(--pad);font-size:14px;gap:20px}
.truststrip>span{font-size:12px;letter-spacing:.14em;color:var(--muted);font-weight:700}
.truststrip div{font-family:'Manrope';font-size:16px;font-weight:600}
.truststrip div span{color:#9cae7c;margin:0 16px}
.truststrip a{font-size:14px;font-weight:600;color:var(--green)}
.section{padding:84px var(--pad)}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:34px;gap:30px}
.section-head h2{margin-top:14px}
.section-head p{font-size:15px;color:var(--muted);line-height:1.7}
.topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.topic-card{text-align:left;border:1.5px solid var(--line);border-radius:var(--radius);padding:26px 22px 18px;background:#fff;display:flex;flex-direction:column;transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s,background .3s}
.topic-card:hover{background:var(--cream);border-color:#9dac8e;transform:translateY(-5px);box-shadow:var(--shadow)}
.topic-icon{background:#eef3e4;border-radius:12px;width:48px;height:48px;display:grid;place-items:center;margin-bottom:22px;color:var(--green);transition:transform .3s var(--ease)}
.topic-icon svg{width:24px;height:24px}
.topic-card:hover .topic-icon{transform:scale(1.08) rotate(-4deg)}
.topic-card:nth-child(2) .topic-icon{background:#f6eee4;color:#8a5a2b}
.topic-card:nth-child(3) .topic-icon{background:#e7efee;color:#2f6b60}
.topic-card:nth-child(4) .topic-icon{background:#eeecf4;color:#4f4a7a}
.topic-card h3{font-size:20px;font-weight:700;margin-bottom:10px}
.topic-card p{font-size:14.5px;color:var(--muted);line-height:1.6;flex:1}
.card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line-2);margin-top:22px;padding-top:14px;font-size:14px;font-weight:600;color:var(--green)}
.card-footer b{font-size:18px;font-weight:400;transition:transform .25s var(--ease)}
.topic-card:hover .card-footer b{transform:translate(3px,-3px)}
.answers-section{background:#fbfcf8;border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
.filter-row{display:flex;gap:9px;margin:0 0 22px;overflow:auto;padding:4px 2px;scrollbar-width:none}
.filter-row::-webkit-scrollbar{display:none}
.filter{white-space:nowrap;padding:10px 18px;border:1.5px solid #dfe4d8;border-radius:30px;font-size:14px;font-weight:500;background:#fff}
.filter:hover{border-color:#9dac8e;background:var(--cream-2)}
.filter.active{background:var(--green);border-color:var(--green);color:#fff}
.question-list{display:grid;grid-template-columns:1fr 1fr;gap:0 40px}
.question-item{border-bottom:1px solid var(--line);padding:4px 0;animation:rise .4s var(--ease) both}
.question-toggle{width:100%;display:flex;align-items:center;text-align:left;gap:20px;justify-content:space-between;font-size:17px;font-weight:600;line-height:1.45;padding:18px 0;font-family:'Manrope',sans-serif;letter-spacing:-.01em}
.question-toggle:hover{color:var(--sage)}
.question-toggle .plus{flex-shrink:0;width:30px;height:30px;border-radius:50%;border:1.5px solid var(--line);display:grid;place-items:center;font-size:18px;font-weight:400;color:var(--sage);transition:transform .3s var(--ease),background .2s}
.question-toggle[aria-expanded="true"] .plus{transform:rotate(45deg);background:var(--lime);border-color:var(--lime)}
.question-category{display:block;font-size:12px;color:var(--sage);letter-spacing:.12em;text-transform:uppercase;font-weight:700;padding-top:14px}
.question-answer{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s var(--ease)}
.question-answer>div{overflow:hidden}
.question-answer.open{grid-template-rows:1fr}
.question-answer p{font-size:15.5px;color:#4b5a50;line-height:1.7;padding-top:4px}
.question-answer .answer-actions{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin:16px 0 20px}
.question-answer .answer-actions .button{padding:11px 16px;font-size:14px;gap:8px;box-shadow:none}
.question-answer .answer-actions a{font-size:14px;font-weight:600;color:var(--green);text-decoration:underline;text-underline-offset:4px;text-decoration-color:#b7c89a}
.answer-meta{font-size:13px;color:var(--muted-2);margin:0 0 18px}
.outline-button#more-questions{display:flex;margin:34px auto 0}
#search-status{font-size:15px;color:var(--muted);line-height:1.6;margin-bottom:10px}
#search-status:empty{display:none}
.empty-state{grid-column:1/-1;padding:30px;background:var(--cream-2);border-radius:var(--radius);text-align:center}
.empty-state h3{font-size:22px;margin-bottom:8px}
.empty-state p{color:var(--muted);max-width:52ch;margin:0 auto 16px}
.empty-state .empty-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* Guide */
.guide-section{background:#ecf0df;display:grid;grid-template-columns:1fr 1fr;padding:80px var(--pad);gap:70px;align-items:center;position:relative;overflow:hidden}
.guide-section::after{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,#fff 0,transparent 70%);right:-120px;top:-180px;opacity:.7;pointer-events:none}
.guide-copy{position:relative;z-index:1}
.guide-copy h2{font-size:clamp(32px,3.4vw,44px);line-height:1.15;margin:16px 0 18px}
.guide-copy p{font-size:17px;line-height:1.65;color:var(--muted);margin-bottom:28px;max-width:40ch}
.guide-time{display:block;font-size:13px;color:var(--muted);margin-top:14px}
.guide-preview{background:#fffef9;border-radius:14px;box-shadow:0 20px 50px rgba(40,60,31,.1);padding:30px 32px;transform:rotate(2deg);max-width:390px;width:100%;justify-self:end;position:relative;z-index:1;transition:transform .5s var(--ease)}
.guide-preview:hover{transform:rotate(0deg) scale(1.02)}
.guide-preview-head{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.14em;color:var(--muted);font-weight:700}
.progress-bars{display:flex;gap:5px;margin:16px 0 24px}
.progress-bars i{height:4px;background:#e5eadc;flex:1;border-radius:2px}
.progress-bars i:first-child{background:#75965e}
.guide-preview h3{font-size:26px;font-weight:700;line-height:1.25}
.guide-preview>p{font-size:14px;margin:10px 0 20px;color:var(--muted)}
.preview-option{border:1.5px solid #e0e5d8;border-radius:8px;margin:8px 0;padding:13px 14px;font-size:14px;display:flex;gap:10px;align-items:center;font-weight:500}
.preview-option span{color:#9aa88c}
.preview-option.selected{background:#f0f4e4;border-color:#8eaa70}
.preview-option.selected span{color:var(--sage)}
.preview-footer{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:20px;font-weight:600}
.preview-footer button{background:var(--green);border-radius:8px;color:#fff;width:40px;height:38px;font-size:18px}
.preview-footer button:hover{background:var(--green-soft)}

/* Resources */
.resource-tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:26px;gap:28px}
.resource-tabs button{padding:0 2px 14px;font-size:15px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px}
.resource-tabs button.active{border-bottom-color:var(--green);color:var(--green)}
.resource-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.resource-card{border:1.5px solid var(--line);padding:22px;border-radius:var(--radius);display:flex;flex-direction:column;background:#fff;transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s,background .3s}
.resource-card:hover{background:var(--cream);border-color:#a1b28d;transform:translateY(-4px);box-shadow:var(--shadow)}
.resource-card-top{display:flex;justify-content:space-between;align-items:center;color:var(--sage)}
.resource-card-top svg{width:26px;height:26px}
.resource-card-top span{font-size:11px;letter-spacing:.12em;border:1px solid var(--line);border-radius:4px;padding:5px 7px;color:var(--muted);font-weight:700}
.resource-card h3{font-size:19px;font-weight:700;margin:20px 0 6px}
.resource-card p{font-size:14px;color:var(--muted);line-height:1.6;flex:1}
.resource-card p b{display:block;color:var(--ink);font-weight:600;margin-bottom:2px}
.resource-card-bottom{display:flex;justify-content:space-between;font-size:14px;margin-top:18px;color:var(--green);font-weight:600}

/* Promo + human + note */
.source-library-promo{display:flex;justify-content:space-between;align-items:center;gap:40px;margin:0 var(--pad) 40px;padding:36px 40px;background:var(--cream-2);border:1px solid #e3e9d8;border-radius:14px}
.source-library-promo h2{font-size:28px;margin:12px 0 8px}
.source-library-promo p{font-size:15.5px;line-height:1.65;color:var(--muted);max-width:60ch}
.source-library-promo .button{white-space:nowrap}
.human-section{margin:0 var(--pad);background:var(--green);color:#fff;border-radius:16px;padding:48px;display:flex;gap:40px;align-items:center;position:relative;overflow:hidden}
.human-section::before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(214,236,145,.18) 0,transparent 70%);right:-80px;top:-160px}
.human-symbol{position:relative;font-family:'Manrope';font-size:85px;letter-spacing:-22px;border:1px solid #72896a;width:120px;height:120px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding-right:22px;flex-shrink:0;font-weight:800}
.human-symbol span{color:var(--lime);font-size:73px;margin-top:17px}
.human-symbol i{position:absolute;bottom:-6px;right:-9px;color:var(--lime);font-size:39px;letter-spacing:0;font-style:normal}
.human-section .eyebrow{color:#c0d0b5}
.human-section h2{font-size:clamp(26px,2.6vw,34px);margin:12px 0}
.human-section p{font-size:16px;line-height:1.65;color:#cfdccc;max-width:44ch}
.human-section .button.light{margin-left:auto;white-space:nowrap}
.source-note{padding:44px var(--pad) 50px;display:flex;gap:18px;align-items:center}
.note-icon{width:44px;height:44px;border-radius:50%;background:var(--cream-2);display:grid;place-items:center;color:var(--sage);flex-shrink:0}
.note-icon svg{width:24px;height:24px}
.source-note strong{font-size:16px;font-weight:700}
.source-note p{font-size:14.5px;color:var(--muted);line-height:1.65;max-width:76ch;margin-top:4px}
.source-note>a{margin-left:auto;font-size:14px;font-weight:600;white-space:nowrap;color:var(--green)}

/* Footer */
footer{border-top:1px solid var(--line);padding:34px var(--pad);display:flex;align-items:center;gap:35px;background:#fbfcf8}
footer .brand{font-size:22px}
footer .brandmark{width:36px;height:36px;font-size:27px}
footer .brandmark span{font-size:23px}
footer .brand-sub{font-size:7px}
footer>p{font-size:14px;color:var(--muted)}
footer>div{display:flex;margin-left:auto;gap:22px;font-size:13.5px;color:var(--muted);flex-wrap:wrap;align-items:center}
footer button{font-size:13.5px;font-weight:500}
footer button:hover{color:var(--ink)}

/* Floating mobile ask button */
.mobile-ask{display:none;position:fixed;right:16px;bottom:16px;z-index:35;background:var(--green);color:#fff;border-radius:999px;padding:14px 18px;gap:9px;align-items:center;font-weight:600;font-size:15px;box-shadow:0 10px 30px rgba(25,60,52,.3)}
.mobile-ask svg{width:20px;height:20px}

/* Scroll reveals */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}
.topic-grid .reveal:nth-child(2){transition-delay:.08s}.topic-grid .reveal:nth-child(3){transition-delay:.16s}.topic-grid .reveal:nth-child(4){transition-delay:.24s}
.no-js .reveal,.no-io .reveal{opacity:1;transform:none}

/* Dialog */
dialog{border:1px solid var(--line);border-radius:18px;width:min(680px,calc(100% - 28px));padding:30px;color:var(--ink);box-shadow:0 30px 90px rgba(19,45,51,.25);max-height:88vh;overscroll-behavior:contain}
dialog[open]{animation:dialogIn .35s var(--ease)}
@keyframes dialogIn{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
dialog::backdrop{background:rgba(16,46,40,.45);backdrop-filter:blur(5px);animation:fade .3s ease}
@keyframes fade{from{opacity:0}to{opacity:1}}
.modal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.modal-top>button{font-size:30px;line-height:1;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:var(--muted)}
.modal-top>button:hover{background:var(--cream-2);color:var(--ink)}
dialog h2{font-size:clamp(24px,3vw,30px);margin-bottom:12px}
dialog p{font-size:15.5px;line-height:1.7;color:var(--muted);margin-bottom:16px}
dialog label{display:block;font-size:14px;font-weight:600;margin:16px 0 8px}
dialog select,dialog input,dialog textarea{width:100%;padding:13px 14px;border:1.5px solid #ccd5c4;border-radius:8px;background:#fff;color:var(--ink);font-size:16px;transition:border-color .2s,box-shadow .2s}
dialog select:focus,dialog input:focus,dialog textarea:focus{border-color:var(--sage);box-shadow:0 0 0 4px rgba(98,131,87,.14);outline:none}
dialog textarea{min-height:110px;resize:vertical}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.check-option{display:flex!important;align-items:center;gap:12px;padding:13px 14px;border:1.5px solid var(--line);border-radius:8px;cursor:pointer;font-weight:500!important;margin:8px 0!important;transition:border-color .2s,background .2s}
.check-option:hover{border-color:#9dac8e;background:var(--cream-2)}
.check-option input{width:18px;height:18px;accent-color:var(--green);flex-shrink:0}
.modal-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:26px}
.modal-actions>button:not(.button){font-weight:600;color:var(--muted)}
.step-count{font-size:12px;color:var(--muted);letter-spacing:.12em;font-weight:700}
.checklist-group{margin:22px 0}
.checklist-group h3{font-size:17px;margin-bottom:8px}
.checklist-group label{font-size:14.5px}
.notice-box{background:var(--cream-2);padding:16px 18px;border-radius:10px;font-size:14.5px;line-height:1.65;margin:16px 0;border-left:3px solid #a6be80}
.notice-box a{text-decoration:underline}
.modal-link{display:block;font-size:14.5px;font-weight:600;color:var(--green);text-decoration:underline;text-underline-offset:4px;text-decoration-color:#b7c89a;margin:14px 0}
.modal-link:hover{text-decoration-color:var(--green)}
.hidden{display:none!important}
body:has(dialog[open]){overflow:hidden}
body.nav-open{overflow:hidden}

/* Assistant dialog */
.assistant-dialog{width:min(800px,calc(100% - 26px));padding:30px 34px}
.assistant-heading{display:flex;gap:14px;align-items:center}
.assistant-heading h2{font-size:24px;margin-bottom:4px}
.assistant-heading p{font-size:14.5px;margin:0}
.assistant-logo{height:48px;width:48px;display:grid;place-items:center;background:var(--lime);border-radius:14px;font-size:26px;flex-shrink:0}
.assistant-context{display:flex;gap:13px;padding:16px 0 6px}
.assistant-context label{font-size:13px;color:var(--muted);flex:1;margin:0;font-weight:600}
.assistant-context select{font-size:14.5px;margin-top:6px;padding:10px 12px}
.your-question{padding:16px 20px;background:#edf2e4;border-radius:10px;margin:12px 0 20px}
.your-question>span,.response-label{font-size:11px;letter-spacing:.14em;font-weight:700;color:var(--sage)}
.your-question p{color:var(--ink);font-size:16px;line-height:1.5;margin:6px 0 0;overflow-wrap:anywhere}
.assistant-response{padding:22px;border:1.5px solid var(--line);border-radius:12px}
.assistant-response>h3{font-size:clamp(20px,2.4vw,24px);line-height:1.35;margin:8px 0 18px}
.assistant-response h4{font-size:17px;font-weight:700;line-height:1.5;margin:14px 0}
.answer-modes{display:flex;border-bottom:1px solid var(--line);gap:20px;margin-bottom:20px;overflow:auto;scrollbar-width:none}
.answer-modes button{white-space:nowrap;padding:10px 0;font-size:14.5px;color:var(--muted);font-weight:600;border-bottom:2px solid transparent;margin-bottom:-1px}
.answer-modes button.active{border-bottom-color:var(--green);color:var(--ink)}
.quick-answer{font-size:16.5px!important;color:var(--ink)!important;line-height:1.75!important}
.small-print{font-size:13px!important;line-height:1.65!important;color:var(--muted-2)!important;margin:16px 0 0!important}
.guide-sources{border-top:1px solid var(--line);padding-top:14px;margin-top:24px}
.guide-sources h3{font-size:14px;margin-bottom:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.guide-sources a{display:block;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#b7c89a;font-size:14.5px;margin:9px 0;line-height:1.5;color:var(--green);font-weight:500}
.guide-sources>span{font-size:13px;color:var(--muted-2);line-height:1.7;display:block;margin-top:8px}
.assistant-search{display:flex;border:1.5px solid #d6ddce;border-radius:12px;margin-top:22px;padding:6px;transition:border-color .2s,box-shadow .2s}
.assistant-search:focus-within{border-color:var(--sage);box-shadow:0 0 0 4px rgba(98,131,87,.14)}
.assistant-search input{border:0;padding:10px 12px;font-size:15px;min-width:0;flex:1;background:transparent;outline:none}
.assistant-search button{width:44px;height:44px;background:var(--green);color:#fff;border-radius:9px;font-size:20px;flex-shrink:0}
.assistant-search button:hover{background:var(--green-soft)}
.assistant-footnote{font-size:13px;line-height:1.65;color:var(--muted-2);margin-top:12px}
.guided-history{margin-bottom:18px}
.guided-history>div{display:flex;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}
.guided-history>div>span{width:24px;height:24px;flex-shrink:0;background:var(--lime);border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700}
.guided-history p{margin:0;font-size:14px}
.guided-history strong{display:block;font-size:15px;color:var(--ink);font-weight:600;margin-bottom:2px}
.choice-list{display:grid;gap:9px}
.choice-list button,.match-list button{padding:15px 16px;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:15px;border:1.5px solid #dbe2d2;border-radius:9px;font-size:15.5px;line-height:1.5;background:#fff;font-weight:500}
.choice-list button:hover,.match-list button:hover{background:#edf2e5;border-color:#9cb07c;transform:translateX(3px)}
.choice-list button span,.match-list button span:last-child{color:var(--sage)}
.followup-question{background:#f8faf3;padding:18px;border-radius:10px}
.followup-question h4{font-size:18px;margin:8px 0 16px}
.records-list{padding-left:20px;font-size:15px;line-height:1.7;color:#4b5a50}
.records-list li{padding:3px 0}
.related-topics{margin-top:22px;border-top:1px solid var(--line)}
.related-topics button{display:block;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#b7c89a;margin:12px 0;font-size:14.5px;text-align:left;color:var(--green);font-weight:500}
.match-list{display:grid;gap:9px}
.assistant-examples{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
.assistant-examples button{border:1.5px solid var(--line);border-radius:30px;padding:10px 14px;font-size:14px;font-weight:500}
.assistant-examples button:hover{background:var(--cream-2);border-color:#9dac8e}
.coverage-list{display:grid;gap:8px}
.coverage-list button{text-align:left;border:1.5px solid var(--line);padding:13px 14px;border-radius:9px}
.coverage-list button:hover{background:var(--cream-2);border-color:#9dac8e}
.coverage-list span{display:block;font-size:15px;font-weight:600}
.coverage-list small{display:block;font-size:13px;color:var(--muted);margin-top:4px}
.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}
#writer-status{font-size:14px;line-height:1.7;padding-top:14px}
#writer-form .button{margin-top:20px}

/* Source library */
.source-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.source-filters label{font-size:13px}
.source-filters select{font-size:14.5px;margin-top:6px;padding:11px 12px}
.source-history{display:flex!important;align-items:center;gap:9px;font-size:14px!important;margin:14px 0!important;font-weight:500!important}
.source-history input{width:17px;height:17px;accent-color:var(--green)}
#source-search-form>.button{font-size:14.5px}
.source-scope-note{font-size:13.5px;line-height:1.65;margin-top:20px}
.source-result{border:1.5px solid var(--line);border-radius:12px;padding:20px;margin:16px 0}
.source-result-meta{display:flex;gap:10px;justify-content:space-between;font-size:12.5px;color:var(--muted);line-height:1.6}
.source-result-meta>span:first-child{color:var(--green);font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.source-result h3{font-size:17px;line-height:1.45;margin:12px 0}
.source-locator{font-size:13.5px;line-height:1.6;color:#65785a}
.source-result blockquote{padding:16px;border-left:3px solid #a6be80;margin:15px 0;background:#f8faf4;font-size:14.5px;line-height:1.75;color:#3f5239;overflow-wrap:anywhere;border-radius:0 8px 8px 0}
.source-result-links{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px;flex-wrap:wrap}
.source-result-links a{text-decoration:underline;text-underline-offset:4px;font-weight:600;color:var(--green)}
.source-result-links button{font-size:13.5px;background:#eef3e6;border-radius:6px;padding:9px 12px;font-weight:600}
.source-result details{font-size:13.5px;margin-top:15px;border-top:1px solid var(--line);padding-top:12px;color:var(--muted)}
.source-result summary{cursor:pointer;font-weight:600}
.source-result dl{line-height:1.7}
.source-result dt{font-weight:700;margin-top:8px}
.source-result dd{margin:3px 0;overflow-wrap:anywhere}
.source-result details p{font-size:13.5px;margin-top:12px}
.source-hash{font-family:ui-monospace,monospace;font-size:12px}
.source-loading{font-size:15px;margin-top:20px!important}
.source-result-message{font-size:15px!important;line-height:1.65}
.source-inventory{padding:18px;border:1.5px solid var(--line);border-radius:12px;margin-top:17px}
.source-inventory strong{font-family:'Manrope';font-size:18px;line-height:1.5}
.source-inventory p{font-size:14px!important}
.source-quick-topics{display:flex;gap:8px;flex-wrap:wrap}
.source-quick-topics button{font-size:13.5px;padding:9px 13px;border:1.5px solid var(--line);border-radius:30px;font-weight:500}
.source-quick-topics button:hover{background:var(--cream-2);border-color:#9dac8e}
.citation-copy{font-size:13px;margin-top:13px}
.source-result .citation-copy{min-height:130px}

/* Contact */
.contact-handoff>h2{font-size:clamp(24px,3vw,30px);margin:14px 0 8px}
.contact-handoff>p{font-size:15.5px}
.contact-heading-icon{width:46px;height:46px;border-radius:50%;background:var(--lime);color:var(--ink);display:grid;place-items:center;font-size:22px}
.contact-preview-note{background:#f1f5e9;border:1px solid #dce6cb;border-radius:10px;padding:14px 16px;line-height:1.65;margin:18px 0}
.contact-preview-note strong{display:block;font-size:14.5px;font-weight:700}
.contact-preview-note span{display:block;font-size:14px;color:var(--muted);margin-top:3px}
.contact-preview-note.sent{background:#e6f1d6;border-color:#b7d58a}
.contact-preview-note.error{background:#f8ede9;border-color:#e3c2b6}
.contact-field{min-width:0}
.contact-field label{font-size:14px}
.contact-field label>span{color:#6b8554}
.contact-field input{font-size:16px;padding:13px 14px}
.field-error{display:block;color:#9b4637;font-size:13px;line-height:1.6;margin-top:5px;min-height:0}
.field-error:empty{display:none}
.contact-field input[aria-invalid="true"]{border-color:#a25a46}
.contact-permission{display:flex!important;gap:10px;align-items:flex-start;font-size:14.5px!important;line-height:1.6;margin:20px 0 0!important;font-weight:500!important}
.contact-permission input{width:18px;height:18px;flex-shrink:0;accent-color:var(--green);margin:2px 0 0}
.contact-summary{border:1.5px solid var(--line);border-radius:10px;padding:14px 16px;margin:22px 0 16px}
.contact-summary summary{font-size:14.5px;cursor:pointer;font-weight:600}
.contact-summary h3{font-size:17px;line-height:1.5;margin:16px 0 8px}
.contact-summary>p{font-size:14.5px;margin-top:10px;margin-bottom:0}
.contact-summary-meta{font-size:13px;line-height:1.7;color:var(--muted)}
.contact-summary ol{padding-left:20px;font-size:14.5px;line-height:1.7}
.contact-summary li{padding:6px 0}
.contact-summary li strong{display:block;font-weight:600;color:var(--ink)}
.contact-summary li span{display:block;color:var(--muted)}
.contact-included-note{font-size:13.5px!important;margin:0 0 18px!important;line-height:1.65!important}
.contact-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.contact-actions .outline-button{margin:0}
.contact-download-note{font-size:13px!important;line-height:1.65!important;margin-top:12px!important}
.contact-review{display:grid;grid-template-columns:70px 1fr;font-size:15px;gap:12px;padding:18px;background:#fafbf7;border-radius:10px;line-height:1.6}
.contact-review dt{color:var(--muted);font-weight:600}
.contact-review dd{margin:0;overflow-wrap:anywhere}

/* Responsive */
@media(min-width:1500px){.topbar,header,.truststrip,.section,.guide-section,.source-note,footer{padding-left:max(var(--pad),calc((100vw - 1400px)/2));padding-right:max(var(--pad),calc((100vw - 1400px)/2))}.hero-content{padding-left:max(var(--pad),calc((100vw - 1400px)/2))}.source-library-promo,.human-section{margin-left:max(var(--pad),calc((100vw - 1400px)/2));margin-right:max(var(--pad),calc((100vw - 1400px)/2))}}
@media(max-width:1100px){header{gap:18px}nav{gap:18px;font-size:14px}.login{display:none}.hero-visual{transform:scale(.9)}.topic-grid,.resource-grid{grid-template-columns:1fr 1fr}.guide-section{gap:40px}.human-symbol{display:none}.truststrip>a{display:none}.source-library-promo{display:block}.source-library-promo .button{margin-top:18px}}
@media(max-width:860px){
  .topbar{font-size:12.5px;padding:8px var(--pad)}.topbar-sub{display:none}
  header{height:72px;gap:10px}
  nav{display:none;position:fixed;top:72px;left:0;right:0;height:calc(100vh - 72px);height:calc(100dvh - 72px);background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:12px var(--pad) 30px;font-size:19px;z-index:39;overflow:auto;animation:rise .3s var(--ease)}
  nav.open{display:flex}
  nav a,.nav-source-link{padding:16px 0;border-bottom:1px solid var(--line-2);text-align:left}
  nav a::after,.nav-source-link::after{display:none}
  .nav-mobile-actions{display:flex;flex-direction:column;gap:10px;margin-top:22px}
  .nav-mobile-actions .button,.nav-mobile-actions .outline-button{width:100%;font-size:16px;padding:16px}
  .login,.header-cta{display:none}
  .menu-toggle{display:flex}
  .brand{margin-right:auto}
  .hero{grid-template-columns:1fr;min-height:0}
  .hero-content{padding:44px var(--pad) 28px}
  h1{font-size:clamp(38px,10vw,48px)}
  .hero-description{font-size:16.5px}
  .searchbox{padding:6px 6px 6px 14px;border-radius:12px}
  .searchbox input{font-size:16px;padding:12px 0}
  .search-go span{display:none}.search-go{padding:0;width:48px;height:48px;justify-content:center}
  .hero-visual{height:430px;min-height:0;transform:scale(.88);margin-top:-20px}
  .paper-front{top:10px;height:340px;width:280px}.paper-back{top:15px;height:340px;width:280px}
  .paper-title{font-size:30px;margin:22px 0 18px}
  .visual-caption{top:0;right:0}.floating-badge{bottom:12px;right:0}.visual-plus{left:4%;bottom:60px;font-size:56px}
  .truststrip{display:block;text-align:center;padding:22px var(--pad)}.truststrip>span{display:block;margin-bottom:12px}.truststrip div{font-size:15px}.truststrip div span{margin:0 8px}
  .section{padding:56px var(--pad)}
  .section-head{display:block;margin-bottom:24px}.section-head p{margin-top:12px}.section-head>.text-link{display:inline-block;margin-top:14px}
  .question-list{grid-template-columns:1fr}
  .question-toggle{font-size:16.5px}
  .guide-section{grid-template-columns:1fr;gap:36px;padding:56px var(--pad)}
  .guide-preview{justify-self:center;transform:rotate(1deg)}
  .human-section{padding:34px 24px;display:block;margin-bottom:0}
  .human-section .button{margin:22px 0 0}
  .source-note{align-items:flex-start;flex-wrap:wrap;gap:14px}.source-note>div{flex:1;min-width:220px}.source-note>a{margin-left:62px}
  footer{flex-wrap:wrap;gap:16px;padding:28px var(--pad) 90px}footer>p{width:100%}footer>div{margin:0;width:100%;border-top:1px solid var(--line);padding-top:18px;gap:14px 18px}
  body.past-hero:not(.nav-open) .mobile-ask{display:inline-flex}
  .field-grid{grid-template-columns:1fr}
  dialog{padding:22px 18px;border-radius:14px;width:calc(100% - 20px)}
  .assistant-dialog{padding:22px 18px}
  .assistant-response{padding:16px}
  .assistant-context{gap:8px}
  .modal-actions{flex-wrap:wrap}
  .contact-actions{align-items:stretch;flex-direction:column}.contact-actions .button,.contact-actions .outline-button{width:100%}
  .contact-review{grid-template-columns:60px 1fr;font-size:14px}
  .source-filters{grid-template-columns:1fr}
}
@media(max-width:560px){.topic-grid,.resource-grid{grid-template-columns:1fr}.topic-card{flex-direction:row;flex-wrap:wrap;align-items:center;gap:0 14px;padding:18px}.topic-icon{margin-bottom:0}.topic-card h3{flex:1;margin:0}.topic-card p{flex:0 0 100%;width:100%;margin-top:10px}.card-footer{width:100%}.hero-visual{height:380px;transform:scale(.8)}.search-suggestions span{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}}
