/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#f8f9fa;--bg-alt:#fff;
  --blue:#1e40af;--blue-lt:#2563eb;
  --text:#111;--muted:#6b7280;
  --border:rgba(30,64,175,.2);
  --font:'Inter',system-ui,-apple-system,sans-serif;
  --max:1100px;--gap:100px;--r:8px
}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:var(--font);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{line-height:1.2;letter-spacing:-.02em;color:#111}
h1{font-size:clamp(2rem,4.5vw,3.2rem);font-weight:800}
h2{font-size:clamp(1.4rem,3vw,2.1rem);font-weight:700;margin-bottom:1rem}
h3{font-size:1.1rem;font-weight:700}
p{color:#374151;margin-bottom:1.2rem}
p:last-child{margin-bottom:0}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--blue-lt)}
ul{list-style:none}
.container{max-width:var(--max);margin:0 auto;padding:0 32px}
section{padding:var(--gap) 0}
section.alt{background:var(--bg-alt)}
.label{display:inline-block;font-size:.7rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--blue);margin-bottom:.9rem}
.rule{width:44px;height:2px;background:var(--blue);margin:0 0 1.75rem}
.prose{max-width:720px}
.prose p{font-size:.97rem;color:#374151}

/* ── NAV ── */
nav{position:fixed;top:0;left:0;right:0;z-index:200;background:rgba(248,249,250,.96);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.nav-inner{max-width:var(--max);margin:0 auto;padding:0 24px;height:68px;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.nav-brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0}
.nav-brand img{height:48px;width:auto}
.nav-brand-text{font-size:1.05rem;font-weight:800;color:#111;white-space:nowrap;line-height:1}
.nav-brand-text span{color:var(--blue)}
.nav-links{display:flex;gap:0;align-items:center}
.nav-links>li{position:relative}
.nav-links>li>a{font-size:.78rem;font-weight:500;color:var(--muted);padding:0 12px;height:68px;display:flex;align-items:center;transition:color .2s;white-space:nowrap}
.nav-links>li>a:hover{color:var(--blue)}
.nav-links>li>a.nav-cta{margin-left:6px;height:auto;background:var(--blue);color:#fff !important;padding:9px 18px;border-radius:var(--r);font-weight:600}
.nav-links>li>a.nav-cta:hover{background:var(--blue-lt)}
/* Dropdown */
.has-dd{position:relative}
.has-dd .dd{display:none;position:absolute;top:calc(100% + 1px);left:0;background:#fff;border:1px solid var(--border);border-radius:var(--r);min-width:220px;box-shadow:0 8px 32px rgba(0,0,0,.1);z-index:300}
.has-dd:hover .dd{display:block}
.dd a{display:block;padding:11px 18px;font-size:.82rem;font-weight:500;color:var(--text);border-bottom:1px solid rgba(0,0,0,.06)}
.dd a:last-child{border-bottom:none}
.dd a:hover{background:rgba(30,64,175,.05);color:var(--blue)}
.nav-flags{display:flex;align-items:center;gap:.4rem;flex-shrink:0}
.nav-flags a{font-size:1.35rem;opacity:.85;transition:opacity .2s}
.nav-flags a:hover{opacity:1}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;padding:4px}
.hamburger span{display:block;width:22px;height:2px;background:var(--text);transition:all .25s}

/* ── HERO ── */
#hero{padding-top:148px;padding-bottom:100px}
.hero-inner{display:flex;align-items:center;gap:3rem}
.hero-body{flex:1;min-width:0}
.hero-eyebrow{font-size:.7rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--blue);margin-bottom:1.5rem}
.hero-headline{max-width:680px;margin-bottom:1.25rem}
.hero-sub{max-width:540px;font-size:1rem;color:#4b5563;margin-bottom:2.5rem;line-height:1.7}
.hero-logo{flex-shrink:0}
.hero-logo img{height:min(50vh,420px);width:auto;opacity:.9}
.hero-actions{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}
.hero-note{font-size:.8rem;color:var(--muted)}
.hero-note strong{color:var(--text)}

/* ── BUTTONS ── */
.btn{display:inline-block;font-size:.88rem;font-weight:700;letter-spacing:.04em;padding:14px 32px;border-radius:var(--r);transition:background .2s,transform .15s,color .2s}
.btn-blue{background:var(--blue);color:#fff}
.btn-blue:hover{background:var(--blue-lt);color:#fff;transform:translateY(-1px)}
.btn-outline{border:1.5px solid var(--blue);color:var(--blue);background:transparent}
.btn-outline:hover{background:var(--blue);color:#fff}

/* ── STATS ── */
.stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1px;margin-top:2.5rem;border:1px solid var(--border);border-radius:var(--r);overflow:hidden}
.stat-cell{padding:1.75rem;background:rgba(30,64,175,.03);border-right:1px solid var(--border)}
.stat-cell:last-child{border-right:none}
.stat-num{font-size:2rem;font-weight:800;color:var(--blue);letter-spacing:-.03em;line-height:1;margin-bottom:.4rem}
.stat-label{font-size:.78rem;color:var(--muted);line-height:1.4}

/* ── DELIVER ── */
.deliver-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-top:2rem}
.d-card{border:1px solid var(--border);border-radius:var(--r);padding:1.75rem;background:#fff}
.d-card-num{font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);margin-bottom:.5rem}
.d-card h3{font-size:.95rem;font-weight:700;color:#111;margin-bottom:.5rem}
.d-card p{font-size:.85rem;color:var(--muted);margin:0}

/* ── FW CARDS ── */
.fw-cards{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:2rem}
.fw-col{display:flex;flex-direction:column;gap:1rem}
.fw-img-card{border:1px solid var(--border);border-radius:var(--r);overflow:hidden;background:#f9fafb;display:flex;align-items:center;justify-content:center;padding:1.25rem}
.fw-img-card img{max-height:200px;width:auto;margin:0 auto;display:block;object-fit:contain}
.fw-card{border:1px solid var(--border);border-radius:var(--r);padding:2.25rem;background:#fff;text-decoration:none;display:block;transition:box-shadow .2s,transform .15s;color:inherit}
.fw-card:hover{box-shadow:0 8px 32px rgba(30,64,175,.12);transform:translateY(-2px)}
.fw-card .fw-tag{font-size:.66rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);margin-bottom:.6rem}
.fw-card h3{font-size:1.15rem;font-weight:700;color:#111;margin-bottom:.75rem}
.fw-card p{font-size:.87rem;color:var(--muted);margin:0}
.fw-card .fw-arrow{display:inline-block;margin-top:1.25rem;font-size:.82rem;font-weight:600;color:var(--blue)}

/* ── TEAM ── */
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.team-card{border:1px solid var(--border);border-radius:var(--r);padding:2rem;background:#fff;text-align:center}
.team-av{width:80px;height:80px;border-radius:50%;background:#e5e7eb;border:2px solid var(--border);margin:0 auto 1rem;overflow:hidden}
.team-av img{width:100%;height:100%;object-fit:cover}
.team-card h3{font-size:.95rem;font-weight:700;margin-bottom:.25rem}
.team-card .team-role{font-size:.8rem;color:var(--muted)}

/* ── PILOT ── */
.pilot-box{border:1px solid var(--border);border-radius:var(--r);padding:2.5rem;background:rgba(30,64,175,.04);margin-top:2rem}
.pilot-box h3{font-size:1.1rem;font-weight:700;margin-bottom:1rem}

/* ── SHOP PREVIEW ── */
.shop-preview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-top:2rem}
.sp-card{border:1px solid var(--border);border-radius:var(--r);padding:1.25rem;background:#fff;text-align:center}
.sp-img{width:100%;height:100px;background:#e5e7eb;border-radius:6px;margin-bottom:.75rem}
.sp-card h3{font-size:.84rem;font-weight:600;margin-bottom:.35rem;color:#111}
.sp-card .sp-price{font-size:1.2rem;font-weight:800;color:var(--blue)}

/* ── ARTICLE CARDS ── */
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin:1.75rem 0 2rem}
.a-card{border:1px solid var(--border);border-radius:var(--r);overflow:hidden;background:#fff;display:flex;flex-direction:column;transition:box-shadow .2s}
.a-card:hover{box-shadow:0 4px 20px rgba(0,0,0,.09)}
.a-img{width:100%;height:150px;object-fit:cover;display:block;background:#e5e7eb}
.a-placeholder{width:100%;height:150px;background:linear-gradient(135deg,rgba(30,64,175,.12),rgba(37,99,235,.06));display:flex;align-items:center;justify-content:center;font-size:2rem}
.a-body{padding:1.1rem;flex:1}
.a-body a{font-size:.9rem;font-weight:600;color:#111;line-height:1.4;display:block}
.a-body a:hover{color:var(--blue)}
.a-meta{font-size:.74rem;color:var(--muted);margin-top:.4rem}

/* ── MAP ── */
.map-wrap{height:460px;border-radius:var(--r);border:1px solid var(--border);overflow:hidden;margin-top:1.5rem}

/* ── VIDEO ── */
.vid-wrap{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:var(--r);margin:2rem 0}
.vid-wrap iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}

/* ── MATRIX (Frameworks) ── */
.matrix-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:2rem 0;border:1px solid var(--border);border-radius:var(--r);overflow:hidden}
.matrix-cell,.mc{padding:2rem;background:rgba(30,64,175,.03);border-right:1px solid var(--border);border-bottom:1px solid var(--border)}
.matrix-cell:nth-child(3n),.mc:nth-child(2n){border-right:none}
.matrix-label,.mc-tag{font-size:.65rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);margin-bottom:.4rem}
.matrix-cell h3,.mc h3{font-size:.97rem;font-weight:700;color:#111;margin-bottom:.4rem;margin-top:0}
.matrix-cell p,.mc p{font-size:.85rem;color:var(--muted);margin:0}

/* ── LAW BOX ── */
.law-box{border:1px solid var(--border);border-radius:var(--r);padding:2.5rem;background:rgba(30,64,175,.04);margin:2rem 0}
.law-box blockquote{font-size:1.25rem;font-style:italic;color:var(--blue);border-left:3px solid var(--blue);padding-left:1.25rem;line-height:1.5;margin-bottom:1rem}
.law-box p{font-size:.94rem;color:#374151}

/* ── THEORY BOXES ── */
.theory-box{border:1px solid var(--border);border-radius:var(--r);padding:2rem;background:rgba(30,64,175,.04);margin:1.75rem 0}
.theory-box h3{margin-top:0;margin-bottom:.6rem}
.theory-box p{font-size:.92rem;color:#374151;margin:0}

/* ── READING LIST ── */
.books-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1.25rem;margin-top:1.5rem}
.book-card{border:1px solid var(--border);border-radius:var(--r);padding:1.25rem;background:#fff;text-align:center}
.book-img{width:100%;height:120px;background:linear-gradient(135deg,rgba(30,64,175,.1),rgba(37,99,235,.05));border-radius:6px;margin-bottom:.75rem;display:flex;align-items:center;justify-content:center;font-size:2rem}
.book-card h4{font-size:.8rem;font-weight:700;color:#111;margin-bottom:.25rem}
.book-card .book-author{font-size:.72rem;color:var(--muted)}
.book-card a{display:inline-block;margin-top:.6rem;font-size:.74rem;font-weight:600;color:var(--blue)}

/* ── PRODUCTS ── */
.cat-label{font-size:.68rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--blue);margin-bottom:1.25rem;display:block}
.cat-desc{font-size:.88rem;color:var(--muted);max-width:500px;margin-bottom:1.75rem}
.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-bottom:3.5rem}
.p-card{border:1px solid var(--border);border-radius:var(--r);padding:1.5rem;background:#fff;display:flex;flex-direction:column;gap:.75rem;transition:box-shadow .2s}
.p-card:hover{box-shadow:0 4px 20px rgba(0,0,0,.08)}
.p-card-premium{border-color:var(--blue);border-width:2px}
.p-img{width:100%;height:120px;background:#e5e7eb;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:2rem}
.p-body{display:flex;flex-direction:column;gap:.4rem}
.p-card h3,.p-body h3{font-size:.92rem;font-weight:700;color:#111;margin:0}
.p-card p,.p-body p{font-size:.82rem;color:var(--muted);margin:0}
.p-meta{font-size:.75rem;color:var(--muted);font-weight:600}
.p-desc{font-size:.82rem;color:#374151}
.p-card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto}
.p-price{font-size:1.4rem;font-weight:800;color:var(--blue)}
.badge{display:inline-block;font-size:.65rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:3px 10px;border-radius:4px}
.badge-sold{background:#fee2e2;color:#b91c1c}
.badge-soon{background:#fef9c3;color:#854d0e}
.btn-buy{display:inline-block;background:var(--blue);color:#fff;font-size:.78rem;font-weight:700;padding:9px 18px;border-radius:var(--r);transition:background .2s;white-space:nowrap}
.btn-buy:hover{background:var(--blue-lt);color:#fff}

/* ── ABOUT PAGE ── */
.about-photo{width:100%;max-width:380px;border-radius:var(--r);border:1px solid var(--border);overflow:hidden}
.about-photo img{width:100%;height:auto;display:block}
.about-wrap{display:flex;flex-direction:column;gap:1.5rem}

/* ── FOOTER ── */
footer{border-top:1px solid var(--border);padding:48px 0 28px;background:var(--bg-alt)}
.footer-inner{max-width:var(--max);margin:0 auto;padding:0 32px}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;flex-wrap:wrap;margin-bottom:2.5rem}
.footer-brand{display:flex;align-items:center;gap:12px}
.footer-brand img{height:40px}
.footer-brand-text{font-size:1rem;font-weight:800;color:#111}
.footer-brand-text span{color:var(--blue)}
.footer-social{display:flex;gap:.75rem;align-items:center}
.footer-social a{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--border);border-radius:50%;color:var(--muted);font-size:.78rem;font-weight:700;transition:border-color .2s,color .2s;text-decoration:none}
.footer-social a:hover{border-color:var(--blue);color:var(--blue)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;padding-top:1.5rem;border-top:1px solid var(--border)}
.footer-copy{font-size:.76rem;color:var(--muted)}
.footer-legal{display:flex;gap:1.5rem}
.footer-legal a{font-size:.76rem;color:var(--muted)}
.footer-legal a:hover{color:var(--blue)}

/* ── BLOCKQUOTE ── */
.pullquote{border-left:3px solid var(--blue);padding:1.25rem 1.5rem;margin:2rem 0;background:rgba(30,64,175,.04);border-radius:0 var(--r) var(--r) 0}
.pullquote p{font-size:1rem;color:#374151;margin:0;font-style:italic}

/* ── RESPONSIVE ── */
@media(max-width:1000px){
  .shop-preview-grid{grid-template-columns:repeat(2,1fr)}
  .books-grid{grid-template-columns:repeat(3,1fr)}
  .products-grid{grid-template-columns:repeat(2,1fr)}
  .matrix-grid{grid-template-columns:1fr 1fr}
  .matrix-cell:nth-child(3n){border-right:1px solid var(--border)}
  .matrix-cell:nth-child(2n){border-right:none}
}
@media(max-width:900px){
  .deliver-grid{grid-template-columns:1fr}
  .fw-cards{grid-template-columns:1fr}
  .article-grid{grid-template-columns:1fr 1fr}
  .hero-logo img{height:min(35vh,280px)}
}
@media(max-width:768px){
  :root{--gap:70px}
  .nav-links{display:none}
  .hamburger{display:flex}
  .nav-links.open{display:flex;flex-direction:column;position:fixed;top:68px;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--border);padding:1.5rem 2rem;gap:.25rem;z-index:200;max-height:calc(100vh - 68px);overflow-y:auto}
  .nav-links.open>li>a{height:auto;padding:10px 0;border-bottom:1px solid var(--border)}
  .has-dd .dd{display:block;position:static;border:none;box-shadow:none;background:transparent;padding-left:1rem;min-width:0}
  .has-dd .dd a{padding:8px 0;font-size:.8rem}
  .hero-inner{flex-direction:column-reverse;gap:1.5rem}
  .hero-logo img{height:140px}
  .team-grid{grid-template-columns:1fr}
  .matrix-grid{grid-template-columns:1fr}
  .matrix-cell,.mc{border-right:none}
  .shop-preview-grid{grid-template-columns:1fr 1fr}
  .stat-row{grid-template-columns:1fr 1fr}
  .footer-top{flex-direction:column}
  .products-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
  .container{padding:0 20px}
  .hero-logo img{height:80px}
  .stat-row{grid-template-columns:1fr}
  .article-grid{grid-template-columns:1fr}
  .shop-preview-grid{grid-template-columns:1fr}
  .books-grid{grid-template-columns:repeat(2,1fr)}
}


/* ── About layout fix (was unstyled → photo rendered full-size) ── */
.about-wrap{display:grid;grid-template-columns:280px 1fr;gap:3rem;align-items:start}
.about-photo img{width:100%;height:auto;border-radius:var(--r);display:block;border:1px solid var(--border)}
@media(max-width:768px){
  .about-wrap{grid-template-columns:1fr;gap:1.5rem}
  .about-photo{max-width:240px}
}

/* ── RRR No-AI-Slop Guarantee badge ── */
.rrr-guarantee{display:flex;gap:1.5rem;align-items:center;background:#fff;border:1px solid var(--border);border-left:4px solid var(--blue);border-radius:var(--r);padding:1.75rem 2rem;max-width:780px}
.rrr-seal{flex:none;width:88px;height:88px;border-radius:50%;background:#fff;border:2px solid var(--blue);display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(30,64,175,.18)}
.rrr-seal img{width:58px;height:58px;object-fit:contain}
.rrr-guarantee h3{font-size:1.05rem;font-weight:800;color:#111;margin:0 0 .35rem;display:flex;align-items:center;gap:.5rem}
.rrr-guarantee .rrr-chk{color:var(--blue);font-weight:800}
.rrr-guarantee p{font-size:.9rem;color:var(--muted);margin:0}
.rrr-guarantee details{margin-top:.6rem}
.rrr-guarantee summary{font-size:.8rem;font-weight:700;color:var(--blue);cursor:pointer;list-style:none}
.rrr-guarantee summary::-webkit-details-marker{display:none}
.rrr-guarantee details[open] summary{margin-bottom:.25rem}
.rrr-guarantee details p{font-size:.86rem;color:#374151}
@media(max-width:560px){.rrr-guarantee{flex-direction:column;text-align:center}}
/* compact inline badge for product pages */
.rrr-badge-inline{display:inline-flex;align-items:center;gap:.55rem;border:1.5px solid var(--blue);border-radius:999px;padding:.5rem 1rem;font-size:.78rem;font-weight:700;color:var(--blue);background:rgba(30,64,175,.04)}
.rrr-badge-inline img{width:22px;height:22px;object-fit:contain}

/* ── Newsletter ── */
.newsletter{background:var(--blue);color:#fff;border-radius:var(--r);padding:3rem 2rem;text-align:center;max-width:780px;margin:0 auto}
.newsletter h2{color:#fff;font-size:1.6rem;margin:0 0 .5rem}
.newsletter p{color:rgba(255,255,255,.85);max-width:500px;margin:0 auto 1.5rem;font-size:.95rem}
.newsletter .nl-embed{max-width:480px;margin:0 auto;background:#fff;border-radius:8px;overflow:hidden}
.newsletter iframe{display:block;width:100%;border:none}
