/* TIN Audit Search — styles.css */
:root{--green:#005f40;--green-mid:#007a52;--green-light:#e8f5ef;--gold:#c9a23a;--gold-light:#f6edd5;--dark:#0e1a14;--ink:#1c2e24;--muted:#5a7266;--border:#d4e3da;--white:#ffffff;--bg:#f4f8f5;--radius-sm:6px;--radius:12px;--radius-lg:20px;--shadow-sm:0 2px 8px rgba(0,80,50,.07);--shadow:0 8px 32px rgba(0,80,50,.12);--shadow-lg:0 24px 64px rgba(0,80,50,.16);--transition:.3s cubic-bezier(.4,0,.2,1)}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'DM Sans',sans-serif;background:var(--bg);color:var(--ink);line-height:1.65;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:var(--green);text-decoration:none}
a:hover{text-decoration:underline}
.container{width:min(1140px,94vw);margin-inline:auto}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.site-nav{background:var(--dark);position:sticky;top:0;z-index:100;border-bottom:2px solid var(--gold)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.nav-brand{display:flex;align-items:center;gap:14px}
.nav-emblem{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--gold),#e8b84b);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;color:var(--dark);flex-shrink:0}
.nav-title{font-family:'Playfair Display',serif;font-size:1.05rem;font-weight:600;color:var(--white);line-height:1.2}
.nav-subtitle{font-size:.72rem;color:var(--gold);letter-spacing:.06em;text-transform:uppercase}
.nav-links{display:flex;gap:28px;list-style:none}
.nav-links a{font-size:.85rem;color:rgba(255,255,255,.75);font-weight:500;transition:color var(--transition)}
.nav-links a:hover{color:var(--gold);text-decoration:none}
.nav-badge{background:var(--gold);color:var(--dark);font-size:.72rem;font-weight:600;padding:3px 10px;border-radius:20px;white-space:nowrap}
.hero{background:linear-gradient(155deg,var(--dark) 0%,#0d2e1f 55%,#0a2318 100%);padding:90px 0 80px;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 60% 50% at 80% 50%,rgba(0,120,70,.28) 0%,transparent 70%),radial-gradient(ellipse 40% 60% at 20% 80%,rgba(201,162,58,.10) 0%,transparent 60%);pointer-events:none}
.hero::after{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:60px 60px;pointer-events:none}
.hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(201,162,58,.15);border:1px solid rgba(201,162,58,.35);color:var(--gold);font-size:.78rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:6px 14px;border-radius:20px;margin-bottom:20px}
.hero-eyebrow::before{content:'●';font-size:.55rem;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
.hero-h1{font-family:'Playfair Display',serif;font-size:clamp(2rem,4vw,3.1rem);font-weight:700;color:var(--white);line-height:1.15;margin-bottom:18px}
.hero-h1 span{color:var(--gold)}
.hero-desc{font-size:1rem;color:rgba(255,255,255,.65);max-width:440px;margin-bottom:36px}
.hero-stats{display:flex;gap:28px;flex-wrap:wrap}
.stat-item{text-align:left}
.stat-num{font-family:'Playfair Display',serif;font-size:1.8rem;font-weight:700;color:var(--gold);line-height:1}
.stat-label{font-size:.75rem;color:rgba(255,255,255,.5);margin-top:3px}
.search-card{background:var(--white);border-radius:var(--radius-lg);padding:40px;box-shadow:var(--shadow-lg);position:relative;overflow:hidden}
.search-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--green),var(--gold))}
.search-card-title{font-family:'Playfair Display',serif;font-size:1.4rem;font-weight:600;color:var(--ink);margin-bottom:6px}
.search-card-sub{font-size:.85rem;color:var(--muted);margin-bottom:28px}
.input-group{display:flex;border:2px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:border-color var(--transition);background:var(--white)}
.input-group:focus-within{border-color:var(--green)}
.input-icon{display:flex;align-items:center;padding:0 14px;color:var(--muted)}
#searchInput{flex:1;border:none;outline:none;padding:14px 8px;font-family:'DM Sans',sans-serif;font-size:.95rem;color:var(--ink);background:transparent}
#searchInput::placeholder{color:var(--border)}
.btn-search{background:var(--green);color:var(--white);border:none;cursor:pointer;font-family:'DM Sans',sans-serif;font-size:.9rem;font-weight:600;padding:14px 26px;display:flex;align-items:center;gap:8px;transition:background var(--transition);white-space:nowrap}
.btn-search:hover{background:var(--green-mid)}
.btn-search:disabled{cursor:not-allowed}
.btn-search svg{width:16px;height:16px}
.search-note{font-size:.75rem;color:var(--muted);margin-top:12px;display:flex;align-items:center;gap:5px}
.search-note svg{width:12px;height:12px;color:var(--green);flex-shrink:0}
#resultArea{margin-top:20px}
.result-loading{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.9rem;padding:16px 0}
.spinner{width:20px;height:20px;border-radius:50%;border:2px solid var(--border);border-top-color:var(--green);animation:spin .6s linear infinite;flex-shrink:0}
@keyframes spin{to{transform:rotate(360deg)}}
.result-card{background:var(--green-light);border:1px solid var(--border);border-left:4px solid var(--green);border-radius:var(--radius);padding:20px 24px;margin-bottom:12px;animation:fadeUp .3s ease}
@keyframes fadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.result-card-row{display:flex;align-items:baseline;gap:8px;padding:5px 0;border-bottom:1px solid rgba(0,95,64,.1)}
.result-card-row:last-child{border-bottom:none}
.result-key{font-size:.78rem;font-weight:600;color:var(--green);text-transform:uppercase;letter-spacing:.04em;min-width:120px;flex-shrink:0}
.result-val{font-size:.92rem;color:var(--ink)}
.result-empty{text-align:center;padding:24px;color:var(--muted);font-size:.9rem}
.result-empty .icon{font-size:2rem;margin-bottom:8px}
.result-count{font-size:.8rem;color:var(--muted);margin-bottom:12px;font-weight:500}
.ad-wrap{background:var(--white);border:1px dashed var(--border);border-radius:var(--radius);overflow:hidden;position:relative}
.ad-wrap::before{content:'ADVERTISEMENT';position:absolute;top:6px;left:50%;transform:translateX(-50%);font-size:.6rem;letter-spacing:.12em;color:var(--muted);opacity:.6;z-index:1;pointer-events:none}
.ad-leaderboard{min-height:90px}
.ad-rectangle{min-height:250px}
.ad-placeholder{width:100%;height:100%;min-height:inherit;display:flex;align-items:center;justify-content:center;font-size:.75rem;color:rgba(0,0,0,.25)}
.section-ad-top{padding:18px 0;background:var(--white);border-bottom:1px solid var(--border)}
.main-layout{padding:60px 0}
.main-grid{display:grid;grid-template-columns:1fr 300px;gap:40px;align-items:start}
.section-heading{font-family:'Playfair Display',serif;font-size:1.6rem;font-weight:600;color:var(--ink);margin-bottom:6px}
.section-sub{font-size:.9rem;color:var(--muted);margin-bottom:30px}
.how-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:48px}
.step-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:24px 20px;transition:box-shadow var(--transition)}
.step-card:hover{box-shadow:var(--shadow)}
.step-num{font-family:'Playfair Display',serif;font-size:2.8rem;font-weight:700;color:var(--green-light);line-height:1;margin-bottom:12px}
.step-title{font-weight:600;font-size:.95rem;color:var(--ink);margin-bottom:6px}
.step-desc{font-size:.82rem;color:var(--muted)}
.sidebar{display:flex;flex-direction:column;gap:24px}
.sidebar-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:24px}
.sidebar-card-title{font-family:'Playfair Display',serif;font-size:1rem;font-weight:600;color:var(--ink);margin-bottom:14px;display:flex;align-items:center;gap:8px}
.sidebar-card-title svg{color:var(--green);width:18px;height:18px}
.info-list{list-style:none;display:flex;flex-direction:column;gap:10px}
.info-list li{font-size:.83rem;color:var(--ink);display:flex;align-items:flex-start;gap:8px;line-height:1.5}
.info-list li::before{content:'▸';color:var(--green);flex-shrink:0;margin-top:2px}
.tag-list{display:flex;flex-wrap:wrap;gap:8px}
.tag{font-size:.75rem;font-weight:500;background:var(--green-light);color:var(--green);border:1px solid rgba(0,95,64,.2);padding:4px 12px;border-radius:20px}
.mid-ad-row{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:48px 0}
.article-section{background:linear-gradient(180deg,var(--bg) 0%,#ecf4ef 100%);padding:80px 0;border-top:1px solid var(--border)}
.article-inner{max-width:820px}
.article-eyebrow{display:inline-block;background:var(--gold-light);color:var(--gold);font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:5px 14px;border-radius:20px;border:1px solid rgba(201,162,58,.3);margin-bottom:16px}
.article-title{font-family:'Playfair Display',serif;font-size:clamp(1.6rem,3vw,2.4rem);font-weight:700;color:var(--ink);line-height:1.2;margin-bottom:10px}
.article-subtitle{font-size:1.05rem;color:var(--muted);margin-bottom:36px;border-bottom:1px solid var(--border);padding-bottom:28px}
.article-toc{background:var(--white);border:1px solid var(--border);border-left:4px solid var(--green);border-radius:var(--radius);padding:22px 26px;margin-bottom:40px}
.article-toc-title{font-weight:600;font-size:.88rem;color:var(--green);text-transform:uppercase;letter-spacing:.06em;margin-bottom:12px}
.toc-list{list-style:none;display:flex;flex-direction:column;gap:7px}
.toc-list li{font-size:.85rem}
.toc-list a{color:var(--ink);font-weight:500}
.toc-list a:hover{color:var(--green)}
.toc-list a::before{content:'§ ';color:var(--muted)}
.article-body h3{font-family:'Playfair Display',serif;font-size:1.25rem;font-weight:700;color:var(--ink);margin:36px 0 12px;display:flex;align-items:center;gap:10px}
.article-body h3::before{content:'';width:4px;height:20px;background:var(--green);border-radius:2px;display:inline-block;flex-shrink:0}
.article-body p{font-size:.95rem;color:#3a4e42;margin-bottom:16px;line-height:1.75}
.article-body ul{margin:8px 0 20px;padding-left:0;list-style:none}
.article-body ul li{font-size:.92rem;color:#3a4e42;padding:5px 0 5px 22px;position:relative;line-height:1.65}
.article-body ul li::before{content:'✓';position:absolute;left:0;color:var(--green);font-size:.8rem;top:7px}
.article-highlight{background:var(--white);border:1px solid var(--border);border-left:4px solid var(--gold);border-radius:var(--radius);padding:20px 24px;margin:24px 0}
.article-highlight strong{display:block;font-size:.8rem;font-weight:600;color:var(--gold);text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}
.article-highlight p{margin:0;color:var(--ink)}
.data-table{width:100%;border-collapse:collapse;margin:20px 0 28px;font-size:.88rem}
.data-table thead th{background:var(--green);color:var(--white);padding:12px 16px;text-align:left;font-weight:600;font-size:.8rem;letter-spacing:.04em;text-transform:uppercase}
.data-table tbody tr:nth-child(even){background:var(--green-light)}
.data-table td{padding:11px 16px;color:var(--ink);border-bottom:1px solid var(--border)}
footer{background:var(--dark);padding:60px 0 30px;color:rgba(255,255,255,.55)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:48px;margin-bottom:48px}
.footer-brand-name{font-family:'Playfair Display',serif;font-size:1.15rem;color:var(--white);font-weight:600;margin-bottom:10px}
.footer-brand-desc{font-size:.82rem;line-height:1.7;max-width:280px}
.footer-col-title{font-size:.78rem;font-weight:600;color:var(--gold);text-transform:uppercase;letter-spacing:.08em;margin-bottom:14px}
.footer-links{list-style:none;display:flex;flex-direction:column;gap:8px}
.footer-links a{font-size:.83rem;color:rgba(255,255,255,.55);transition:color var(--transition)}
.footer-links a:hover{color:var(--white);text-decoration:none}
.footer-divider{border:none;border-top:1px solid rgba(255,255,255,.1);margin-bottom:24px}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.footer-legal{font-size:.75rem}
.footer-ad-note{font-size:.7rem;background:rgba(255,255,255,.07);padding:4px 12px;border-radius:20px}
@media(max-width:900px){.hero-inner{grid-template-columns:1fr}.search-card{padding:28px 22px}.main-grid{grid-template-columns:1fr}.sidebar{display:none}.how-steps{grid-template-columns:1fr}.mid-ad-row{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr;gap:32px}.nav-links{display:none}.footer-bottom{flex-direction:column;align-items:flex-start}}
@media(max-width:600px){.hero{padding:60px 0 50px}.hero-stats{gap:20px}.input-group{flex-direction:column;border-radius:var(--radius)}.btn-search{border-radius:0 0 var(--radius-sm) var(--radius-sm);justify-content:center}}
