:root{
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:64px;
  --content-max:1440px;
  --portal-bg:var(--amigo-gray-100);
  --portal-surface:var(--amigo-white);
  --portal-text:var(--amigo-graphite);
  --portal-muted:#5f6964;
  --portal-line:var(--amigo-gray-200);
  --portal-brand:var(--amigo-green);
  --portal-brand-dark:#08472d;
  --portal-radius:20px;
  --portal-shadow:0 20px 60px rgba(31,35,40,.08);
}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

*{box-sizing:border-box}html,body{max-width:100%;overflow-x:hidden}
html{scroll-behavior:smooth}
body{margin:0;background:var(--portal-bg);color:var(--portal-text);font:16px/1.6 var(--amigo-font-ui)}
a{color:inherit;text-decoration:none}
button{font:inherit}

.skip-link{position:fixed;left:16px;top:12px;z-index:1000;padding:10px 14px;background:var(--amigo-graphite);color:var(--amigo-white);border-radius:10px;transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0)}

.site-header{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center;padding:17px clamp(20px,5vw,72px);background:rgba(244,246,247,.95);border-bottom:1px solid var(--portal-line);backdrop-filter:blur(16px)}
.brand img{display:block;width:180px;max-height:46px}
.site-header nav{display:flex;justify-content:center;gap:26px;font-weight:650;color:#46504b}
.site-header nav a{padding:8px 0;border-bottom:2px solid transparent}
.site-header nav a:hover,.site-header nav a:focus-visible{color:var(--portal-brand);border-bottom-color:var(--portal-brand)}
.header-actions,.hero-actions{display:flex;gap:12px;align-items:center}

.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:12px;border:1px solid transparent;font-weight:750;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.button:hover{transform:translateY(-1px)}
.button-primary{background:var(--portal-brand);color:var(--amigo-white)}
.button-primary:hover{background:var(--portal-brand-dark)}
.button-secondary{background:transparent;border-color:#b9c2bd;color:var(--portal-text)}
.button-secondary:hover{border-color:var(--portal-brand);color:var(--portal-brand)}
.button:focus-visible,a:focus-visible{outline:3px solid color-mix(in srgb,var(--portal-brand) 30%,transparent);outline-offset:3px}

.hero{min-height:650px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:68px;align-items:center;padding:96px clamp(20px,7vw,110px) 82px;background:linear-gradient(180deg,var(--amigo-white),var(--portal-bg))}
.hero-copy{max-width:850px}
.eyebrow{display:inline-block;margin-bottom:14px;color:var(--portal-brand);font-weight:850;font-size:.78rem;letter-spacing:.14em}
.hero h1,.section h2,.solution-hero h1{margin:0;font-family:var(--amigo-font-display);letter-spacing:-.038em;line-height:1.05}
.hero h1{font-size:clamp(3rem,6vw,5.9rem);max-width:940px}
.hero-copy>p:not(.portal-feedback){max-width:760px;margin:28px 0 32px;font-size:clamp(1.12rem,2vw,1.38rem);color:var(--portal-muted)}
.portal-feedback{min-height:26px;margin:16px 0 0;color:var(--portal-brand);font-weight:700}

.hero-panel{padding:30px;background:var(--amigo-white);border:1px solid var(--portal-line);border-radius:var(--portal-radius);box-shadow:var(--portal-shadow)}
.hero-panel-brand{display:flex;gap:15px;align-items:center;padding-bottom:24px;border-bottom:1px solid var(--portal-line)}
.hero-panel-brand img{width:52px;height:52px}
.hero-panel-brand span{display:block;color:var(--portal-brand);font-size:.72rem;font-weight:850;letter-spacing:.13em}
.hero-panel-brand strong{display:block;margin-top:3px;font-family:var(--amigo-font-display);font-size:1.08rem}
.architecture-flow{display:grid;gap:0;margin:24px 0;padding:0;list-style:none}
.architecture-flow li{position:relative;display:grid;grid-template-columns:38px 1fr;gap:14px;padding:12px 0}
.architecture-flow li:not(:last-child)::after{content:"";position:absolute;left:18px;top:48px;width:2px;height:20px;background:var(--portal-line)}
.architecture-flow li>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--amigo-gray-100);color:var(--portal-brand);font-weight:850}
.architecture-flow strong,.architecture-flow small{display:block}
.architecture-flow small{margin-top:2px;color:var(--portal-muted);font-size:.84rem}
.development-badge{padding:12px 14px;border-radius:12px;background:var(--amigo-gray-100);color:var(--portal-muted);font-size:.82rem;font-weight:750}

.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--portal-line);border-bottom:1px solid var(--portal-line);background:var(--amigo-white);padding:0 clamp(20px,7vw,110px)}
.trust-strip div{padding:24px 20px;border-right:1px solid var(--portal-line)}
.trust-strip div:first-child{padding-left:0}
.trust-strip div:last-child{border-right:0}
.trust-strip strong,.trust-strip span{display:block}
.trust-strip strong{font-family:var(--amigo-font-display);font-size:1.08rem;color:var(--portal-brand)}
.trust-strip span{margin-top:3px;color:var(--portal-muted);font-size:.86rem}

.section{padding:88px clamp(20px,7vw,110px)}
.section-muted{background:var(--amigo-gray-200)}
.section-dark{display:flex;justify-content:space-between;gap:60px;align-items:center;background:var(--amigo-graphite);color:var(--amigo-white)}
.section-heading{max-width:870px;margin-bottom:38px}
.section h2{font-size:clamp(2.2rem,4vw,4.25rem)}
.section-heading p{max-width:780px;color:var(--portal-muted);font-size:1.07rem}
.section-dark .section-heading{margin-bottom:0}
.section-dark .section-heading p{color:#d6dadd}
.eyebrow-light{color:#7fd2ab}
.institutional-lockup{width:min(420px,38vw);height:auto}

.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.product-card{position:relative;min-height:250px;display:flex;flex-direction:column;padding:24px;background:var(--amigo-white);border:1px solid var(--portal-line);border-top:4px solid var(--product-accent,var(--portal-brand));border-radius:var(--portal-radius);transition:transform .18s ease,box-shadow .18s ease}
.product-card:hover{transform:translateY(-3px);box-shadow:var(--portal-shadow)}
.product-card .product-kicker{color:var(--product-accent,var(--portal-brand));font-weight:850;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase}
.product-card h3{margin:12px 0 8px;font-family:var(--amigo-font-display);font-size:1.42rem}
.product-card p{margin:0;color:var(--portal-muted)}
.product-card footer{margin-top:auto;padding:24px 0 0;background:none;border:0;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--portal-muted)}
.pill{display:inline-flex;padding:5px 9px;border-radius:999px;background:var(--amigo-gray-100);color:var(--product-accent,var(--portal-brand));font-size:.74rem;font-weight:850}
.product-link{font-weight:800;color:var(--product-accent,var(--portal-brand))}
.product-link:hover{text-decoration:underline;text-underline-offset:3px}

.split-section{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:54px;align-items:center}
.split-section .section-heading{margin-bottom:0}
.empty-state,.support-card{padding:30px;background:rgba(255,255,255,.8);border:1px solid #c9d0cc;border-radius:var(--portal-radius)}
.empty-state strong,.support-card strong{display:block;font-family:var(--amigo-font-display);font-size:1.16rem}
.empty-state p,.support-card p{margin:9px 0 0;color:var(--portal-muted)}

.flow-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.flow-grid article{padding:28px;background:var(--amigo-white);border:1px solid var(--portal-line);border-radius:var(--portal-radius)}
.flow-grid b{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:var(--amigo-gray-100);color:var(--portal-brand)}
.flow-grid h3{margin:18px 0 8px;font-family:var(--amigo-font-display)}
.flow-grid p{margin:0;color:var(--portal-muted)}

.solution-hero{padding:84px clamp(20px,7vw,110px);background:var(--amigo-white);border-bottom:1px solid var(--portal-line);border-top:5px solid var(--product-accent,var(--portal-brand))}
.solution-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:46px;color:var(--portal-muted);font-size:.9rem}
.solution-breadcrumb a:hover{color:var(--product-accent,var(--portal-brand))}
.solution-hero .eyebrow{color:var(--product-accent,var(--portal-brand))}
.solution-hero h1{font-size:clamp(3rem,7vw,6.4rem);max-width:980px}
.solution-hero>p{max-width:820px;margin:26px 0 30px;color:var(--portal-muted);font-size:clamp(1.15rem,2vw,1.4rem)}
.solution-status{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.solution-status span{display:inline-flex;padding:7px 11px;border-radius:999px;background:var(--amigo-gray-100);color:var(--product-accent,var(--portal-brand));font-size:.78rem;font-weight:850}
.solution-status strong{font-size:.88rem;color:var(--portal-muted)}

.site-footer{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:34px clamp(20px,7vw,110px);background:var(--amigo-graphite);color:#dce1df;border-top:1px solid #353a3f}
.site-footer img{width:180px;height:auto}
.site-footer div{text-align:right}
.site-footer p{margin:2px 0}
.site-footer p:last-child{font-size:.82rem;color:#adb5b1}

@media(max-width:1120px){
  .product-grid{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:980px){
  .site-header{grid-template-columns:1fr auto}
  .site-header nav{display:none}
  .hero{grid-template-columns:1fr;min-height:auto}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .flow-grid{grid-template-columns:repeat(2,1fr)}
  .trust-strip{grid-template-columns:repeat(2,1fr)}
  .trust-strip div:nth-child(2){border-right:0}
  .trust-strip div:nth-child(-n+2){border-bottom:1px solid var(--portal-line)}
  .section-dark{align-items:flex-start;flex-direction:column}
  .institutional-lockup{width:min(460px,100%)}
  .split-section{grid-template-columns:1fr}
}

@media(max-width:640px){
  .site-header{padding:14px 18px}
  .brand img{width:145px}
  .header-actions .button-primary{display:none}
  .hero{padding:68px 20px 56px;gap:36px}
  .hero-actions{align-items:stretch;flex-direction:column}
  .section,.solution-hero{padding:64px 20px}
  .product-grid,.flow-grid,.trust-strip{grid-template-columns:1fr}
  .trust-strip div{padding:20px 0;border-right:0;border-bottom:1px solid var(--portal-line)}
  .trust-strip div:last-child{border-bottom:0}
  .site-footer{align-items:flex-start;flex-direction:column;padding:30px 20px}
  .site-footer div{text-align:left}
}
