:root{
  --navy:#16232F;--navy2:#1D2E3D;--ink:#23282D;--muted:#5B6670;--soft:#F5F6F7;
  --line:#E1E4E7;--orange:#E0871E;--orange-dark:#B96A12;--footer:#101922;
  --max:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased;background:#fff}
a{color:var(--orange-dark)}
a:hover{color:#8E4E09}
img{max-width:100%;height:auto}
.container{max-width:var(--max);margin:0 auto;padding-left:32px;padding-right:32px}
.container.narrow{max-width:930px}
.site-header{background:var(--navy);position:relative;z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:82px;gap:18px;flex-wrap:wrap}
.brand{display:flex;flex-direction:column;text-decoration:none}
.brand-main{font-weight:700;font-size:19px;color:#fff}.brand-dot{color:var(--orange)}
.brand-sub{font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.08em;color:#91A2B1;text-transform:uppercase;margin-top:3px}
.site-nav{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.site-nav>a,.site-nav summary{color:#D7DEE4;text-decoration:none;font-size:14px;font-weight:600;cursor:pointer;list-style:none}
.site-nav>a[aria-current="page"]{color:#fff}
.nav-cta{background:var(--orange);color:var(--navy)!important;padding:11px 20px;border-radius:2px;font-weight:700!important}
.nav-menu{position:relative}
.nav-menu summary::-webkit-details-marker{display:none}
.nav-drop{position:absolute;top:calc(100% + 14px);left:0;background:#fff;border:1px solid var(--line);box-shadow:0 16px 32px rgba(0,0,0,.2);padding:9px;min-width:270px;display:grid;gap:2px;border-radius:2px}
.nav-drop a{padding:8px 12px;color:#3A4650;text-decoration:none;font-size:13px}
.nav-drop a:first-child{font-weight:700;color:var(--navy);border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:3px}
.hero{background:var(--navy);color:#fff;padding:76px 0}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:58px;align-items:center}
.eyebrow{font-family:'IBM Plex Mono',monospace;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--orange);margin:0 0 14px}
.hero h1{font-size:42px;line-height:1.14;margin:0 0 18px}
.hero p{font-size:16px;line-height:1.7;color:#C3CDD6;margin:0 0 28px}
.hero-panel{background:var(--navy2);border:1px solid #2C3F50;padding:28px}
.stat-row{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid #2C3F50;font-size:14px}.stat-row:last-child{border-bottom:0}
.stat-row span:first-child{color:#9FB0BE}.stat-row strong{text-align:right}
.btns{display:flex;gap:14px;flex-wrap:wrap}
.btn{display:inline-block;text-decoration:none;font-weight:700;padding:15px 24px;border-radius:2px}
.btn-primary{background:var(--orange);color:var(--navy)}
.btn-secondary{border:1px solid #506172;color:#fff}
.section{padding:72px 0}.section.soft{background:var(--soft)}.section.dark{background:var(--navy2);color:#fff}
.section h2{font-size:29px;line-height:1.25;color:var(--navy);margin:0 0 18px}.section.dark h2{color:#fff}
.section h3{font-size:19px;color:var(--navy);margin:0 0 10px}
.section p,.section li{font-size:15px;line-height:1.75;color:#3A4650}.section.dark p,.section.dark li{color:#C3CDD6}
.intro{font-size:16px!important;max-width:850px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.card{border:1px solid var(--line);border-radius:2px;padding:26px;background:#fff;color:var(--ink)}
a.card{text-decoration:none}
.card .kicker{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#8C98A2;margin:0 0 8px}
.card h3{font-size:18px;margin:0 0 8px}.card p{font-size:14px;line-height:1.6;margin:0}
.card .linkish{display:block;margin-top:12px;font-size:13px;font-weight:700;color:var(--orange-dark)}
.callout{border-left:4px solid var(--orange);background:#FFF8EF;padding:20px 22px;margin:24px 0}
.callout strong{color:var(--navy)}
.meta{display:flex;flex-wrap:wrap;gap:10px 20px;margin:18px 0 0;font-size:12.5px;color:#66737F}
.breadcrumbs{font-size:12px;margin-bottom:14px}.breadcrumbs a{color:var(--orange);text-decoration:none}
.table-wrap{overflow:auto;border:1px solid var(--line)}
table{width:100%;border-collapse:collapse;min-width:680px}th,td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-size:13.5px;line-height:1.5}th{background:var(--soft);color:var(--navy)}
.source-list{padding-left:20px}.source-list li{margin-bottom:8px}.source-list a{overflow-wrap:anywhere}
.review-box{background:var(--soft);border:1px solid var(--line);padding:18px 20px;margin-top:30px;font-size:13px;color:#596671;line-height:1.6}
.notice{font-size:13px!important;color:#65717B!important}
.form-card{max-width:800px;margin:0 auto;background:#fff;border:1px solid var(--line);padding:38px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field{display:grid;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:13px;font-weight:700;color:var(--navy)}
.field input,.field select,.field textarea{width:100%;padding:12px 13px;border:1px solid #C9D0D6;border-radius:2px;font:inherit;background:#fff}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid rgba(224,135,30,.25);border-color:var(--orange-dark)}
button.btn{border:0;cursor:pointer;font:inherit}.form-status{grid-column:1/-1;margin:0;font-size:13px;line-height:1.6}
.footer{background:var(--footer);color:#93A2AF;padding:56px 0 26px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1.25fr 1.1fr;gap:38px;padding-bottom:36px;border-bottom:1px solid #223140}
.footer h3{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#667887;margin:0 0 12px}
.footer a{color:#A7B4BF;text-decoration:none}.footer-links{display:grid;gap:9px;font-size:13px}.footer p{font-size:13px;line-height:1.65;margin:0}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding-top:20px;font-size:11.5px}
.badge{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:#EDF0F2;color:#52616D;padding:5px 8px;border-radius:2px}
.badge.live{background:#E9F4EC;color:#2E6B3E}.badge.research{background:#FFF4E5;color:#8A5611}
.hero-image{background:#fff}.hero-image img{display:block;width:100%;max-height:420px;object-fit:cover;margin-top:-38px;position:relative;z-index:2;border-radius:2px}
.center{text-align:center}

.calculator-shell{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;max-width:930px;margin:0 auto}
.calculator-form{max-width:none;margin:0}
.calculator-result{background:#fff;border:1px solid var(--line);padding:34px}
.result-number{font-size:44px;line-height:1;font-weight:700;color:var(--navy);margin:4px 0 18px}
.calculator-stats{margin:24px 0}
.calculator-secondary{border:1px solid #B9C2CA;color:var(--navy);background:#fff}
.calculator-result[hidden]{display:none}

@media(max-width:900px){.hero-grid,.grid-4,.footer-grid{grid-template-columns:1fr 1fr}.hero h1{font-size:35px}.site-nav{gap:15px}.nav-drop{right:0;left:auto}}
@media(max-width:720px){
  .container{padding-left:20px;padding-right:20px}.header-inner{padding-top:14px;padding-bottom:14px}.site-nav{gap:12px}
  .hero{padding:58px 0}.hero-grid,.grid-2,.grid-3,.grid-4,.footer-grid,.form-grid{grid-template-columns:1fr}
  .hero h1{font-size:29px}.hero-panel{padding:22px}.section{padding:56px 0}.section h2{font-size:24px}.field.full{grid-column:auto}
  .nav-drop{left:0;right:auto;max-width:calc(100vw - 40px)}.form-card{padding:24px}
  .calculator-result{padding:24px}.result-number{font-size:36px}
}


/* =========================================================
   AboveGroundTankPros 2.0 visual foundation — 2026-10-01
   Ported from the approved AI Studio visual direction while
   preserving static HTML, durable URLs, and existing behavior.
   ========================================================= */
:root{
  --navy:#0B1528;
  --navy2:#112242;
  --ink:#0F172A;
  --muted:#64748B;
  --soft:#F8FAFC;
  --line:#E2E8F0;
  --orange:#F59E0B;
  --orange-dark:#B45309;
  --footer:#0B1528;
  --sky:#0369A1;
  --radius-sm:10px;
  --radius:16px;
  --radius-lg:24px;
  --shadow-xs:0 1px 2px rgba(15,23,42,.05);
  --shadow-sm:0 8px 22px rgba(15,23,42,.08);
  --shadow-lg:0 24px 60px rgba(2,8,23,.20);
}
body{
  background:#fff;
  color:var(--ink);
}
h1,h2,h3,.brand-main,.btn{
  font-family:'Plus Jakarta Sans','IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
.site-header{
  position:sticky;
  top:0;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  box-shadow:var(--shadow-xs);
  backdrop-filter:blur(12px);
}
.header-inner{min-height:72px}
.brand-main{color:var(--navy);font-weight:800;letter-spacing:-.03em}
.brand-sub{color:#64748B}
.site-nav>a,.site-nav summary{color:#475569}
.site-nav>a:hover,.site-nav summary:hover{color:var(--navy)}
.site-nav>a[aria-current="page"]{color:var(--navy)}
.nav-cta{
  border-radius:10px;
  padding:10px 16px;
  box-shadow:0 6px 18px rgba(245,158,11,.22);
}
.nav-drop{
  border-radius:14px;
  box-shadow:var(--shadow-lg);
  padding:10px;
}
.nav-drop a{border-radius:8px}
.nav-drop a:hover{background:#F8FAFC;color:var(--navy)}
.hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#0B1528 0%,#0E1B33 45%,#112242 100%);
  padding:72px 0 84px;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.16;
  background-image:radial-gradient(circle at 1px 1px,rgba(56,189,248,.32) 1px,transparent 0);
  background-size:28px 28px;
}
.hero::after{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  right:14%;
  top:-220px;
  border-radius:50%;
  background:rgba(245,158,11,.12);
  filter:blur(60px);
  pointer-events:none;
}
.hero>.container{position:relative;z-index:1}
.hero h1{
  font-size:clamp(2.4rem,4.8vw,4.4rem);
  line-height:1.02;
  letter-spacing:-.055em;
  max-width:900px;
}
.hero p{font-size:17px;max-width:760px;color:#CBD5E1}
.hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr);gap:48px}
.hero-panel{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
  border-radius:var(--radius);
  box-shadow:var(--shadow-lg);
}
.stat-row{border-color:rgba(255,255,255,.13)}
.btn{
  border-radius:12px;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:var(--orange);
  color:#111827;
  box-shadow:0 10px 24px rgba(245,158,11,.22);
}
.btn-secondary{
  border-color:#475569;
  background:rgba(15,23,42,.5);
}
.hero-image{background:var(--navy)}
.hero-image .container{position:relative}
.hero-image img{
  max-height:470px;
  object-fit:cover;
  object-position:center bottom; /* regression lock: preserve approved crop */
  margin-top:-34px;
  border-radius:var(--radius);
  border:1px solid #334155;
  box-shadow:var(--shadow-lg);
}
.section{padding:84px 0}
.section.soft{background:#F8FAFC}
.section h2{
  font-size:clamp(1.8rem,3vw,2.5rem);
  letter-spacing:-.035em;
  color:var(--navy);
}
.section h3{letter-spacing:-.02em}
.card{
  border-color:var(--line);
  border-radius:var(--radius);
  padding:26px;
  box-shadow:var(--shadow-xs);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
a.card:hover{
  transform:translateY(-2px);
  border-color:#CBD5E1;
  box-shadow:var(--shadow-sm);
}
.card .kicker{color:#64748B}
.callout{
  border:1px solid #FCD34D;
  border-left:4px solid var(--orange);
  background:#FFFBEB;
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;
}
.form-card,.calculator-result,.review-box{
  border-radius:var(--radius);
  box-shadow:var(--shadow-xs);
}
.field input,.field select,.field textarea{border-radius:10px}
.footer{border-top:1px solid #1E293B}
.footer h3{color:#94A3B8}
.footer a{color:#CBD5E1}
.footer a:hover{color:#FBBF24}

/* Homepage 2.0 */
.v2-hero .hero-grid{align-items:start}
.v2-hero .hero-trust{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin-top:28px;
  color:#94A3B8;
  font-size:12px;
  font-weight:700;
}
.v2-hero .hero-trust span::before{
  content:"✓";
  color:#FBBF24;
  margin-right:7px;
}
.v2-tool-panel h2{
  color:#fff;
  font-size:18px;
  margin:0 0 8px;
}
.v2-tool-panel p{
  font-size:13px;
  margin-bottom:18px;
}
.v2-tool-links{
  display:grid;
  gap:10px;
}
.v2-tool-links a{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  padding:12px 14px;
  color:#E2E8F0;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.14);
  border-radius:10px;
  background:rgba(15,23,42,.34);
}
.v2-tool-links a:hover{
  color:#fff;
  border-color:rgba(245,158,11,.55);
  background:rgba(15,23,42,.58);
}
.v2-tool-links strong{color:#FBBF24}
.v2-section-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(250px,.45fr);
  gap:30px;
  align-items:end;
  margin-bottom:28px;
}
.v2-section-head p{margin:0}
.v2-card-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  margin-bottom:18px;
  color:#92400E;
  background:#FEF3C7;
  border:1px solid #FDE68A;
  font-family:'IBM Plex Mono',monospace;
  font-weight:700;
  font-size:12px;
}
.v2-grid-tools{grid-template-columns:repeat(5,1fr)}
.v2-card-emphasis{
  border-color:#F59E0B;
  box-shadow:0 0 0 1px rgba(245,158,11,.12),var(--shadow-sm);
}
.v2-path{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:10px;
  counter-reset:path;
  margin-top:26px;
}
.v2-path>div{
  counter-increment:path;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:18px 14px;
  min-height:116px;
}
.v2-path>div::before{
  content:counter(path,decimal-leading-zero);
  display:block;
  color:#B45309;
  font:700 11px 'IBM Plex Mono',monospace;
  margin-bottom:10px;
}
.v2-path strong{display:block;color:var(--navy);font-size:14px}
.v2-path span{display:block;color:#64748B;font-size:12px;line-height:1.45;margin-top:5px}
.v2-coverage{
  background:linear-gradient(135deg,#0B1528 0%,#132A4A 100%);
  border-radius:var(--radius-lg);
  padding:38px;
  color:#fff;
  box-shadow:var(--shadow-lg);
}
.v2-coverage h2{color:#fff}
.v2-coverage p{color:#CBD5E1}
.v2-tag-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.v2-tag{
  border:1px solid #475569;
  border-radius:999px;
  padding:7px 10px;
  font:600 11px 'IBM Plex Mono',monospace;
  color:#E2E8F0;
}
.v2-learning-card{
  border:1px dashed #CBD5E1;
  border-radius:var(--radius);
  padding:28px;
  background:linear-gradient(180deg,#fff,#F8FAFC);
}
.v2-learning-card .badge{margin-bottom:10px}
.v2-support-band{
  border-radius:var(--radius-lg);
  background:#0B1528;
  box-shadow:var(--shadow-lg);
  padding:48px;
}
.v2-support-band h2{color:#fff}
.v2-support-band p{color:#CBD5E1}

@media(max-width:1100px){
  .v2-grid-tools{grid-template-columns:repeat(3,1fr)}
  .v2-path{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  .site-header{position:relative}
  .hero-grid{grid-template-columns:1fr}
  .v2-section-head{grid-template-columns:1fr}
}
@media(max-width:720px){
  .hero{padding:54px 0 68px}
  .hero h1{font-size:clamp(2.1rem,11vw,3.2rem)}
  .hero-image img{margin-top:-24px;min-height:260px}
  .v2-grid-tools,.v2-path{grid-template-columns:1fr}
  .v2-coverage,.v2-support-band{padding:28px 22px}
}


/* Guide / jurisdiction 2.0 templates */
.guide-page .hero,.jurisdiction-hub .hero{padding-bottom:70px}
.guide-meta-strip{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  padding:14px 18px;
  margin-top:-26px;
  position:relative;
  z-index:3;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow-sm);
  color:#64748B;
  font:600 11px 'IBM Plex Mono',monospace;
}
.guide-meta-strip strong{color:#0F172A}
.guide-page .table-wrap{
  border-radius:var(--radius);
  box-shadow:var(--shadow-xs);
  background:#fff;
}
.guide-page table th{background:#F1F5F9}
.guide-page .source-list{
  background:#F8FAFC;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px 22px 22px 42px;
}
.guide-page .review-box{
  border-left:4px solid #F59E0B;
  background:#FFFBEB;
}
.related-resource-grid{margin-top:24px}
.jurisdiction-status{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:18px 0 26px;
}
.jurisdiction-status span{
  padding:7px 10px;
  border-radius:999px;
  background:#F1F5F9;
  border:1px solid #E2E8F0;
  color:#475569;
  font:600 11px 'IBM Plex Mono',monospace;
}
.jurisdiction-status .deep{background:#ECFDF5;border-color:#A7F3D0;color:#166534}
.jurisdiction-status .developing{background:#FFFBEB;border-color:#FDE68A;color:#92400E}


/* Podcast / learning 2.0 */
.podcast-hero{padding-bottom:68px}
.podcast-mark{
  display:inline-flex;align-items:center;gap:9px;padding:8px 11px;border:1px solid rgba(255,255,255,.16);
  border-radius:999px;background:rgba(255,255,255,.06);font:700 11px 'IBM Plex Mono',monospace;color:#F8FAFC;
}
.podcast-mark::before{content:"AST";display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#F59E0B;color:#111827;font-size:9px}
.podcast-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.episode-card{display:grid;grid-template-columns:110px 1fr;gap:20px;align-items:start}
.episode-index{display:grid;place-items:center;min-height:110px;border-radius:14px;background:#0B1528;color:#FBBF24;font:800 18px 'IBM Plex Mono',monospace}
.episode-meta{display:flex;gap:8px 16px;flex-wrap:wrap;margin:12px 0 0;color:#64748B;font:600 11px 'IBM Plex Mono',monospace}
.episode-page .hero h1{max-width:950px}
.mental-model{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:26px 0}
.mental-model>div{padding:20px;border:1px solid var(--line);border-radius:14px;background:#fff}
.mental-model strong{display:block;color:#B45309;font:800 12px 'IBM Plex Mono',monospace;margin-bottom:7px}
.learning-roadmap{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.learning-roadmap .card{padding:20px}
@media(max-width:900px){.podcast-grid,.learning-roadmap{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.podcast-grid,.learning-roadmap,.mental-model{grid-template-columns:1fr}.episode-card{grid-template-columns:1fr}.episode-index{min-height:72px}}


/* 2.0 mobile navigation rail */
@media(max-width:720px){
  .header-inner{display:block;padding-top:12px;padding-bottom:10px}
  .brand{margin-bottom:10px}
  .site-nav{
    width:100%;
    display:flex;
    flex-wrap:nowrap;
    gap:7px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    padding:2px 0 5px;
  }
  .site-nav::-webkit-scrollbar{display:none}
  .site-nav>a{
    flex:0 0 auto;
    white-space:nowrap;
    padding:8px 10px;
    border-radius:9px;
    background:#F8FAFC;
    border:1px solid #E2E8F0;
    font-size:12px;
  }
  .site-nav .nav-cta{
    background:var(--orange);
    border-color:var(--orange);
    padding:8px 12px;
  }
}
