/* Gabe IO US website — ported from the 2026-09 draft, with Change Order V1 applied. */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#060D1F;
  --navy:#0A1A35;
  --navy2:#0D2040;
  --blue:#0066FF;
  --cyan:#00C2FF;
  --white:#FFFFFF;
  --lgray:#C8DCFF;
  --mid:#7899D2;
  --dim:#324B7A;
  --bord:#142840;
  --red:#DC3C3C;
  --amber:#F5A623;
  --green:#28C87A;
  color-scheme:dark;
}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--lgray);font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%}
.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}

/* ── NAV ── */
nav{position:fixed;top:0;left:0;right:0;z-index:200;background:rgba(6,13,31,.95);backdrop-filter:blur(16px);border-bottom:1px solid var(--bord);padding:0 48px;height:64px;display:flex;align-items:center;justify-content:space-between}
.nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none}
.nav-logo img{height:36px;width:auto;display:block}
.nav-links{display:flex;align-items:center;gap:32px}
.nav-links a{font-size:14px;font-weight:500;color:var(--mid);text-decoration:none;transition:color .15s}
.nav-links a:hover{color:var(--white)}
.nav-actions{display:flex;align-items:center;gap:12px}
.btn-ghost{font-size:14px;font-weight:600;color:var(--lgray);background:transparent;border:1px solid var(--bord);padding:8px 20px;border-radius:4px;cursor:pointer;text-decoration:none;transition:border-color .15s,color .15s;font-family:inherit}
.btn-ghost:hover{border-color:var(--mid);color:var(--white)}
.btn-primary{font-size:14px;font-weight:700;color:#fff;background:var(--blue);border:none;padding:9px 22px;border-radius:4px;cursor:pointer;text-decoration:none;transition:background .15s;font-family:inherit}
.btn-primary:hover{background:#0052cc}
.btn-cyan{font-size:14px;font-weight:700;color:var(--bg);background:var(--cyan);border:none;padding:9px 22px;border-radius:4px;cursor:pointer;text-decoration:none;transition:background .15s;font-family:inherit}
.btn-cyan:hover{background:#00a8db}
.btn-lg{padding:14px 32px;font-size:16px;border-radius:5px}

/* ── HERO ── */
.hero{padding:140px 48px 100px;max-width:1200px;margin:0 auto}
.hero-eyebrow{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:12px;font-weight:600;color:var(--cyan);letter-spacing:.06em;margin-bottom:28px}
.hero h1{font-size:clamp(40px,5.5vw,76px);font-weight:900;line-height:1.0;color:var(--white);letter-spacing:-.03em;max-width:820px;margin-bottom:28px}
.hero h1 .accent{color:var(--cyan)}
.hero-sub{font-size:19px;line-height:1.65;color:var(--mid);max-width:580px;margin-bottom:44px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-bottom:72px}
.hero-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--bord);border:1px solid var(--bord);border-radius:8px;overflow:hidden}
.metric{background:var(--navy);padding:28px 24px}
.metric-val{font-size:36px;font-weight:900;color:var(--white);letter-spacing:-.03em;line-height:1}
.metric-val span{color:var(--cyan)}
.metric-label{font-size:13px;color:var(--dim);margin-top:6px;line-height:1.4}

/* ── SECTION SHELL ── */
section{padding:96px 48px}
.inner{max-width:1200px;margin:0 auto}
.section-tag{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:12px;color:var(--cyan);letter-spacing:.06em;margin-bottom:16px}
.section-h{font-size:clamp(28px,3.5vw,46px);font-weight:800;color:var(--white);letter-spacing:-.025em;line-height:1.1;margin-bottom:16px;max-width:640px}
.section-sub{font-size:17px;color:var(--mid);max-width:560px;line-height:1.65;margin-bottom:48px}
.center{text-align:center}
.section-h.center,.section-sub.center{max-width:100%;margin-left:auto;margin-right:auto}
hr.rule{border:none;border-top:1px solid var(--bord);margin:0}
.alt-band{background:rgba(10,26,53,.25)}

/* ── WHY ── */
.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.why-cards{display:flex;flex-direction:column;gap:14px}
.why-card{background:var(--navy);border:1px solid var(--bord);border-radius:8px;padding:26px 28px;border-left:4px solid var(--bord);transition:border-color .2s,box-shadow .2s}
.why-card:hover{border-left-color:var(--cyan);box-shadow:0 4px 24px rgba(0,194,255,.08)}
.why-card-title{font-size:17px;font-weight:800;color:var(--white);margin-bottom:8px;letter-spacing:-.01em}
.why-card-body{font-size:15px;color:var(--lgray);line-height:1.65}
.why-card.red{border-left-color:var(--red)}
.why-card.amber{border-left-color:var(--amber)}
.why-card.green{border-left-color:var(--green)}
.btn-row{display:flex;gap:12px;flex-wrap:wrap}

/* ── PRODUCT ── */
.product-card{background:var(--navy);border:1px solid var(--cyan);border-radius:8px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s;max-width:1100px}
.product-card:hover{transform:translateY(-3px)}
.product-card-header{padding:28px 28px 20px;background:linear-gradient(135deg,#0A1A35 0%,#0D3070 100%);border-bottom:1px solid var(--bord)}
.product-badge{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:11px;font-weight:600;color:var(--cyan);margin-bottom:10px;letter-spacing:.04em}
/* CO D③: product text one step larger than the draft (22/13 -> 26/15) */
.product-name{font-size:26px;font-weight:800;color:var(--white);letter-spacing:-.02em;margin-bottom:6px}
.product-tagline{font-size:15px;color:var(--mid)}
/* CO D②: partner badge row sits directly above the specs */
.partner-badges{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 28px;border-bottom:1px solid var(--bord);background:rgba(255,255,255,.02)}
.partner-badge{background:#fff;border-radius:6px;padding:8px 14px;display:flex;align-items:center;min-height:44px}
.partner-badge img{height:28px;width:auto;display:block}
.partner-badge-label{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:11px;color:var(--dim);letter-spacing:.04em}
/* CO D③: image column widened (420 -> 520) and the image fills it */
.product-card-layout{display:grid;grid-template-columns:520px 1fr;min-height:400px}
.product-img-col{background:linear-gradient(160deg,#0A1A35 0%,#071230 100%);display:flex;align-items:center;justify-content:center;padding:28px;border-right:1px solid var(--bord)}
.product-img-col img{width:100%;max-width:none;height:auto;border-radius:6px;display:block}
.product-body{padding:22px 28px;flex:1}
.product-spec{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid var(--bord);font-size:15px}
.product-spec:last-child{border-bottom:none}
.spec-label{color:var(--white)}
.spec-val{color:var(--white);font-weight:600;text-align:right;max-width:60%}
.product-footer{padding:20px 28px;border-top:1px solid var(--bord);display:flex;gap:10px}
.product-footer .btn-ghost,.product-footer .btn-primary{flex:1;text-align:center}

/* ── FEATURES ── */
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.feature-card{background:var(--navy);border:1px solid var(--bord);border-radius:8px;padding:24px}
.feature-icon{font-size:24px;margin-bottom:12px}
.feature-title{font-size:15px;font-weight:700;color:var(--white);margin-bottom:6px}
.feature-body{font-size:13px;color:var(--mid);line-height:1.55}

/* ── SOLUTIONS ── */
.cases-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.case-card{background:var(--navy);border:1px solid var(--bord);border-radius:8px;padding:28px;position:relative;overflow:hidden}
.case-card::before{content:'';position:absolute;top:0;left:0;width:4px;height:100%;background:var(--blue)}
.case-card.cyan::before{background:var(--cyan)}
.case-card.amber::before{background:var(--amber)}
.case-card.green::before{background:var(--green)}
.case-card.red::before{background:var(--red)}
.case-card.mid::before{background:var(--mid)}
.case-icon{width:44px;height:44px;border-radius:8px;margin-bottom:16px;display:flex;align-items:center;justify-content:center;font-size:22px}
.case-title{font-size:18px;font-weight:700;color:var(--white);margin-bottom:8px}
.case-body{font-size:14px;color:var(--mid);line-height:1.6;margin-bottom:16px}
.case-outcome{font-size:13px;font-weight:600;color:var(--cyan);font-family:'JetBrains Mono',ui-monospace,monospace}

/* ── COMPLIANCE ── */
.compliance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:40px}
.compliance-item{background:var(--navy);border:1px solid var(--bord);border-radius:6px;padding:20px;text-align:center}
.compliance-name{font-size:15px;font-weight:800;color:var(--white);margin-bottom:4px}
.compliance-desc{font-size:13px;color:var(--lgray);line-height:1.6}
.callout{background:var(--navy);border:1px solid var(--bord);border-radius:8px;padding:28px 32px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px}
.callout-title{font-size:17px;font-weight:700;color:var(--white);margin-bottom:4px}
.callout-body{font-size:14px;color:var(--mid)}

/* ── PROOF ── */
.proof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.proof-card{background:var(--navy);border:1px solid var(--bord);border-radius:8px;padding:32px 28px}
.proof-val{font-size:48px;font-weight:900;color:var(--cyan);letter-spacing:-.03em;line-height:1}
.proof-label{font-size:14px;color:var(--mid);margin-top:8px;line-height:1.5}

/* ── RECOGNITION ── */
.logo-row{display:flex;align-items:center;justify-content:center;gap:56px;flex-wrap:wrap}
.logo-item{display:flex;flex-direction:column;align-items:center;gap:14px}
.logo-tile{background:#fff;border:1px solid var(--bord);border-radius:10px;padding:24px 36px;display:flex;align-items:center;justify-content:center;min-width:180px;min-height:80px}
.logo-tile img{height:40px;width:auto}
.logo-caption{font-size:12px;color:var(--dim);font-family:'JetBrains Mono',ui-monospace,monospace;letter-spacing:.04em}

/* ── FAQ ── */
.faq-list{max-width:820px}
.faq-item{border:1px solid var(--bord);border-radius:8px;background:var(--navy);margin-bottom:12px;overflow:hidden}
.faq-item summary{list-style:none;cursor:pointer;padding:18px 22px;font-size:16px;font-weight:700;color:var(--white);display:flex;justify-content:space-between;align-items:center;gap:16px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';color:var(--cyan);font-weight:400;font-size:20px;flex-shrink:0}
.faq-item[open] summary::after{content:'−'}
.faq-answer{padding:0 22px 20px;font-size:15px;color:var(--lgray);line-height:1.65}
.faq-answer p+p{margin-top:10px}

/* ── CTA ── */
.cta{padding:80px 48px}
.cta .inner{max-width:680px}
.cta-body{font-size:17px;color:var(--mid);margin-bottom:36px;line-height:1.65}
.cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.cta-foot{font-size:13px;color:var(--dim);margin-top:20px}

/* ── FOOTER ── */
footer{background:var(--navy);border-top:1px solid var(--bord);padding:60px 48px 32px}
.footer-inner{max-width:1200px;margin:0 auto}
.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;margin-bottom:48px}
.footer-brand-name{font-size:18px;font-weight:800;color:var(--white);margin-bottom:12px}
.footer-tagline{font-size:14px;color:var(--mid);line-height:1.6;max-width:260px}
.footer-col-title{font-size:12px;font-weight:700;color:var(--lgray);letter-spacing:.04em;margin-bottom:16px}
.footer-links{display:flex;flex-direction:column;gap:10px}
.footer-links a{font-size:14px;color:var(--mid);text-decoration:none;transition:color .15s;background:none;border:none;padding:0;cursor:pointer;text-align:left;font-family:inherit}
.footer-links a:hover{color:var(--white)}
.footer-bottom{border-top:1px solid var(--bord);padding-top:24px;display:flex;align-items:center;justify-content:space-between}
.footer-copy{font-size:13px;color:var(--mid)}
.footer-nvidia{font-size:12px;color:var(--mid);font-family:'JetBrains Mono',ui-monospace,monospace}

/* ── MODAL ── */
.modal-overlay{position:fixed;inset:0;background:rgba(6,13,31,.92);z-index:1000;display:none;align-items:center;justify-content:center;padding:24px}
.modal-overlay.open{display:flex}
.modal{background:var(--navy);border:1px solid var(--bord);border-radius:10px;width:100%;max-width:560px;max-height:90vh;overflow-y:auto}
.modal-header{padding:28px 32px 20px;border-bottom:1px solid var(--bord);display:flex;align-items:center;justify-content:space-between}
.modal-title{font-size:20px;font-weight:800;color:var(--white)}
.modal-close{background:none;border:none;color:var(--mid);font-size:22px;cursor:pointer;padding:4px 8px;border-radius:4px;transition:color .15s;line-height:1}
.modal-close:hover{color:var(--white)}
.modal-body{padding:28px 32px}
.modal-intro{font-size:14px;color:var(--mid);margin-bottom:24px;line-height:1.6}
.form-group{margin-bottom:20px}
.form-label{display:block;font-size:13px;font-weight:600;color:var(--lgray);margin-bottom:7px}
.form-label span{color:var(--red);margin-left:2px}
.form-input,.form-select,.form-textarea{width:100%;background:var(--bg);border:1px solid var(--bord);border-radius:5px;padding:10px 14px;font-size:14px;color:var(--white);font-family:inherit;transition:border-color .15s;outline:none}
.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:var(--cyan)}
.form-input::placeholder,.form-textarea::placeholder{color:var(--dim)}
.form-select option{background:var(--navy)}
.form-textarea{resize:vertical;min-height:90px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-note{font-size:12px;color:var(--dim);margin-top:6px}
.form-error{display:none;font-size:12px;color:var(--red);margin-top:6px}
.form-error.show{display:block}
.check-list{background:var(--bg);border:1px solid var(--bord);border-radius:5px;padding:10px 14px;display:flex;flex-direction:column;gap:8px}
.check-list.invalid{border-color:var(--red)}
.check-list label{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--lgray);cursor:pointer}
.check-list input{accent-color:var(--cyan);width:16px;height:16px;flex-shrink:0}
.other-box{margin-top:10px}
.modal-footer{padding:20px 32px;border-top:1px solid var(--bord);display:flex;gap:12px;justify-content:flex-end}
.success-msg{display:none;background:rgba(40,200,122,.1);border:1px solid var(--green);border-radius:6px;padding:16px;color:var(--green);font-size:14px;font-weight:500;text-align:center;margin-top:16px}
.success-msg.show{display:block}
.failure-msg{display:none;background:rgba(220,60,60,.1);border:1px solid var(--red);border-radius:6px;padding:16px;color:var(--red);font-size:14px;font-weight:500;text-align:center;margin-top:16px}
.failure-msg.show{display:block}
.hp{position:absolute;left:-9999px;top:-9999px;height:0;overflow:hidden}
button:disabled{opacity:.6;cursor:default}

/* ── BLOG (pages generated by blog/build.py) ── */
.blog-main{padding:128px 48px 96px}
.blog-inner{max-width:880px;margin:0 auto}
.post-list{display:flex;flex-direction:column;gap:16px}
.post-card{display:block;background:var(--navy);border:1px solid var(--bord);border-radius:8px;padding:28px 32px;text-decoration:none;transition:border-color .15s}
.post-card:hover{border-color:var(--dim)}
.post-card-meta{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:12px;color:var(--mid);margin-bottom:10px}
.post-card-draft,.post-draft{color:var(--amber);font-weight:600}
.post-card-title{font-size:24px;font-weight:800;color:var(--white);letter-spacing:-.015em;line-height:1.25;margin-bottom:10px}
.post-card-desc{font-size:16px;color:var(--lgray);margin-bottom:14px}
.post-card-more{font-size:14px;font-weight:600;color:var(--cyan)}
.post{max-width:740px;margin:0 auto}
.post-back{display:inline-block;font-size:14px;color:var(--mid);text-decoration:none;margin-bottom:28px}
.post-back:hover{color:var(--white)}
.post-draft{border:1px solid var(--amber);border-radius:6px;padding:10px 14px;font-size:14px;margin-bottom:24px}
.post-header{margin-bottom:32px}
.post-title{font-size:clamp(32px,4.5vw,52px);font-weight:900;color:var(--white);letter-spacing:-.03em;line-height:1.08;margin-bottom:18px}
.post-meta{font-size:14px;color:var(--mid)}
.post-cover{width:100%;height:auto;border-radius:8px;margin-bottom:36px;display:block}
.post-body{font-size:18px;line-height:1.75;color:var(--lgray)}
.post-body>*+*{margin-top:1.1em}
.post-body h2{font-size:28px;font-weight:800;color:var(--white);letter-spacing:-.02em;line-height:1.2;margin-top:1.8em}
.post-body h3,.post-body h4,.post-body h5,.post-body h6{font-size:21px;font-weight:700;color:var(--white);line-height:1.3;margin-top:1.5em}
.post-body a{color:var(--cyan)}
.post-body strong{color:var(--white)}
.post-body ul,.post-body ol{padding-left:1.4em}
.post-body li+li{margin-top:.4em}
.post-body blockquote{border-left:3px solid var(--cyan);padding:4px 0 4px 20px;color:var(--white)}
.post-body code{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:.85em;background:var(--navy2);border-radius:4px;padding:2px 6px}
.post-body pre{background:var(--navy);border:1px solid var(--bord);border-radius:8px;padding:18px 20px;overflow-x:auto}
.post-body pre code{background:none;padding:0;font-size:14px}
.post-body img{height:auto;border-radius:8px;display:block}
.post-body figcaption{font-size:14px;color:var(--mid);margin-top:8px;text-align:center}
.post-body hr{border:none;border-top:1px solid var(--bord);margin:2.2em 0}
.post-cta{margin-top:56px;padding:28px 32px;background:var(--navy);border:1px solid var(--bord);border-radius:8px}
.post-cta-title{font-size:20px;font-weight:700;color:var(--white);margin-bottom:16px}
.post-cta-actions{display:flex;gap:12px;flex-wrap:wrap}

/* ── RESPONSIVE ── */
@media(max-width:960px){
  nav{padding:0 24px}
  .nav-links{display:none}
  section{padding:72px 24px}
  .hero{padding:120px 24px 80px}
  .hero-metrics{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:1fr}
  .product-card-layout{grid-template-columns:1fr}
  .product-img-col{border-right:none;border-bottom:1px solid var(--bord);padding:24px}
  .cases-grid{grid-template-columns:1fr}
  .proof-grid{grid-template-columns:1fr 1fr}
  .compliance-grid{grid-template-columns:repeat(2,1fr)}
  .features-grid{grid-template-columns:repeat(2,1fr)}
  .footer-top{grid-template-columns:1fr 1fr;gap:32px}
  .form-row{grid-template-columns:1fr}
  .cta{padding:64px 24px}
  .blog-main{padding:104px 24px 72px}
}
@media(max-width:600px){
  .nav-actions .btn-ghost{display:none}
  .hero-metrics{grid-template-columns:1fr 1fr}
  .proof-grid{grid-template-columns:1fr}
  .compliance-grid{grid-template-columns:1fr 1fr}
  .features-grid{grid-template-columns:1fr}
  .product-footer{flex-direction:column}
  footer{padding:40px 24px 24px}
  .footer-top{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:8px;text-align:center}
  .post-card,.post-cta{padding:22px 20px}
  .post-body{font-size:17px}
}
