@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600&family=Sora:wght@500;600;700&display=swap');

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:17px;line-height:1.65;color:#C7CEDA;background:#0A0F1C;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:currentColor;text-decoration:none}
a:hover{text-decoration:underline}
ul{list-style:none}

.surface-onyx{background:#0A0F1C;color:#C7CEDA}
.surface-pearl{background:#F5F7FB;color:#0A0F1C}
.surface-slate{background:#161C2E;color:#C7CEDA}
.surface-sapphire{background:#4C7DF0;color:#F5F7FB}

h1,h2,h3{font-family:'Sora',system-ui,sans-serif;font-weight:600;line-height:1.15;letter-spacing:-0.02em}
h1{font-size:clamp(2.25rem,5vw,4.5rem)}
h2{font-size:clamp(1.65rem,3vw,2.5rem)}
h3{font-size:clamp(1.15rem,2vw,1.4rem)}
.eyebrow{font-family:'IBM Plex Sans',sans-serif;font-size:11px;font-weight:600;letter-spacing:0.22em;text-transform:uppercase;color:#4C7DF0}
.surface-pearl .eyebrow{color:#4C7DF0}
.surface-slate .eyebrow,.surface-onyx .eyebrow{color:#4C7DF0}

.container{width:min(1140px,92vw);margin-inline:auto}
.section{padding:96px 0}
.section--lg{padding:120px 0}
.hairline{height:1px;background:rgba(76,125,240,0.35);border:none;margin:0}

/* Header */
.site-header{position:absolute;top:0;left:0;right:0;z-index:100;padding:1.25rem 0;transition:background 0.35s,box-shadow 0.35s,color 0.35s}
.site-header.is-sticky{position:fixed;background:#161C2E;color:#F5F7FB;box-shadow:0 1px 0 rgba(76,125,240,0.35)}
.header-inner{display:flex;align-items:center;justify-content:space-between;width:min(1140px,92vw);margin-inline:auto;position:relative}
.logo{font-family:'Sora',sans-serif;font-weight:600;font-size:1.1rem;letter-spacing:0.03em;color:#F5F7FB}
.site-header.is-sticky .logo{color:#F5F7FB}
.nav-list{display:flex;gap:1.75rem;flex-wrap:wrap}
.nav-list a{font-size:0.8125rem;font-weight:600;letter-spacing:0.06em;text-transform:uppercase}
.nav-toggle{display:none;background:none;border:1px solid currentColor;color:inherit;padding:0.5rem 0.75rem;cursor:pointer;font-size:0.75rem;letter-spacing:0.1em;text-transform:uppercase;font-family:inherit}

/* Buttons */
.btn{display:inline-block;padding:0.9rem 1.75rem;font-size:0.8125rem;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;border:none;cursor:pointer;text-decoration:none;transition:filter 0.3s,box-shadow 0.3s,transform 0.2s;font-family:inherit}
.btn:hover{text-decoration:none;filter:brightness(1.08);box-shadow:0 4px 24px rgba(76,125,240,0.25)}
.btn-outline{background:transparent;border:1px solid currentColor;color:inherit}
.btn-group{display:flex;gap:1rem;flex-wrap:wrap;margin-top:2rem}

/* Hero — MATRIX CONSOLE */
.hero-matrix-console{position:relative;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;overflow:hidden;color:#F5F7FB}
.hero-matrix-console__bg{position:absolute;inset:0;background:url('/images/wealthaimatrix-01-hero-matrix-studio.jpg') center/cover no-repeat;z-index:0}
.hero-matrix-console__overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(10,15,28,0.92) 0%,rgba(10,15,28,0.75) 45%,rgba(22,28,46,0.88) 100%);z-index:1}
.hero-matrix-console__grid{position:absolute;inset:0;z-index:2;background-image:linear-gradient(rgba(76,125,240,0.12) 1px,transparent 1px),linear-gradient(90deg,rgba(76,125,240,0.12) 1px,transparent 1px);background-size:56px 56px;pointer-events:none;mask-image:linear-gradient(to bottom,rgba(0,0,0,0.9) 0%,rgba(0,0,0,0.4) 70%,transparent 100%)}
.hero-matrix-console__inner{position:relative;z-index:3;flex:1;display:flex;flex-direction:column;width:min(1140px,92vw);margin-inline:auto;padding:7rem 0 3rem}
.hero-matrix-console__top{display:flex;justify-content:space-between;align-items:center;font-size:11px;letter-spacing:0.2em;text-transform:uppercase;color:#C7CEDA;margin-bottom:1.5rem}
.hero-matrix-console__top span:last-child{color:#4C7DF0}
.hero-matrix-console__body{flex:1;display:flex;flex-direction:column;justify-content:center;max-width:720px;padding:2rem 0}
.hero-matrix-console__body h1{margin-bottom:1.25rem}
.hero-matrix-console__body h1 em{font-style:normal;color:#4C7DF0}
.hero-matrix-console__sub{font-size:1.05rem;line-height:1.7;color:#C7CEDA;max-width:580px;margin-bottom:0.5rem}
.hero-matrix-console__badges{display:flex;flex-wrap:wrap;gap:0.65rem;margin-top:2.5rem}
.matrix-badge{display:inline-flex;align-items:center;justify-content:center;padding:0.45rem 0.85rem;font-family:'Sora',sans-serif;font-size:0.75rem;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:#F5F7FB;background:rgba(22,28,46,0.55);border:1px solid rgba(76,125,240,0.45);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:2px}
.hero-matrix-console__trust{margin-top:auto;padding-top:1.25rem;font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:rgba(199,206,218,0.7);border-top:1px solid rgba(76,125,240,0.3)}

/* Stats */
.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;text-align:center;padding:3rem 0}
.stat-row__num{font-family:'Sora',sans-serif;font-size:clamp(2.5rem,4vw,3.25rem);color:#4C7DF0;font-weight:600;line-height:1}
.stat-row__label{font-size:0.875rem;color:#C7CEDA;margin-top:0.5rem;opacity:0.85}
.surface-pearl .stat-row__label{color:#161C2E;opacity:0.75}

/* Pillars */
.pillar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.pillar-card{padding:2rem;border-top:1px solid rgba(76,125,240,0.35)}
.pillar-card h3{margin-bottom:0.75rem;color:#F5F7FB}
.surface-pearl .pillar-card{border-top-color:rgba(76,125,240,0.25)}
.surface-pearl .pillar-card h3{color:#0A0F1C}

/* Module grid */
.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.module-card{padding:1.75rem 1.5rem;position:relative;overflow:hidden;border:1px solid rgba(76,125,240,0.25);background:rgba(22,28,46,0.4)}
.surface-pearl .module-card{background:#F5F7FB;border-color:rgba(76,125,240,0.2)}
.module-card__serial{font-family:'Sora',sans-serif;font-size:0.75rem;font-weight:600;letter-spacing:0.15em;color:#4C7DF0;margin-bottom:0.75rem;display:block}
.module-card h3{margin-bottom:0.5rem;font-size:1.05rem}

/* Content blocks */
.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.content-grid--reverse .content-grid__text{order:2}
.content-grid--reverse .content-grid__media{order:1}
.content-img{border:1px solid rgba(76,125,240,0.3);object-fit:cover;width:100%}
.prose p+p{margin-top:1rem}
.prose h2{margin-bottom:1rem}
.prose h3{margin:1.5rem 0 0.75rem}

/* Cards & forms */
.card{padding:2rem;border:1px solid rgba(76,125,240,0.25)}
.disclaimer-box{padding:1.5rem;border-left:3px solid #4C7DF0;font-size:0.9375rem;line-height:1.65;margin:2rem 0;background:rgba(76,125,240,0.08)}
.surface-pearl .disclaimer-box{background:rgba(76,125,240,0.06);color:#161C2E}
.form-group{margin-bottom:1.25rem}
.form-group label{display:block;font-size:0.8125rem;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;margin-bottom:0.4rem}
.form-group input:not([type="checkbox"]):not([type="radio"]),.form-group select,.form-group textarea{width:100%;padding:0.75rem 1rem;border:1px solid rgba(76,125,240,0.3);background:#F5F7FB;color:#0A0F1C;font-family:inherit;font-size:1rem;max-width:100%;box-sizing:border-box}
.form-group textarea{min-height:140px;resize:vertical}
.form-check{display:flex;gap:0.75rem;align-items:flex-start;font-size:0.9375rem;max-width:100%}
.form-check input[type="checkbox"]{width:auto;min-width:1.125rem;height:1.125rem;margin-top:0.2rem;flex-shrink:0;padding:0;border:none;background:transparent;accent-color:#4C7DF0}
.form-check label{flex:1;min-width:0;display:block;font-size:0.875rem;font-weight:400;letter-spacing:normal;text-transform:none;margin-bottom:0;line-height:1.55;overflow-wrap:break-word;word-wrap:break-word}
.hp{position:absolute;left:-9999px;height:0;overflow:hidden}

/* FAQ */
.faq-item{border-bottom:1px solid rgba(76,125,240,0.25);padding:1.5rem 0}
.faq-item h3{font-size:1.1rem;margin-bottom:0.75rem}

/* Program list */
.program-card{display:grid;grid-template-columns:280px 1fr;gap:2rem;margin-bottom:3rem;padding-bottom:3rem;border-bottom:1px solid rgba(76,125,240,0.2)}
.program-card > div:only-child{grid-column:1 / -1}
.program-card:not(:has(img)){grid-template-columns:1fr}
.program-card:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.program-card__meta{font-size:0.875rem;color:#C7CEDA;opacity:0.85;margin-bottom:0.5rem}
.surface-pearl .program-card__meta{color:#161C2E;opacity:0.7}
.program-card__price{font-family:'Sora',sans-serif;font-size:1.25rem;color:#4C7DF0;margin:0.5rem 0 1rem;font-weight:600}

/* Service grid */
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.service-card{padding:2rem;border:1px solid rgba(76,125,240,0.25)}
.service-card__price{font-family:'Sora',sans-serif;color:#4C7DF0;margin-top:1rem;font-weight:600}

/* Footer */
.site-footer{padding:4rem 0 2rem;font-size:0.875rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
.footer-bottom{padding-top:2rem;border-top:1px solid rgba(76,125,240,0.3);font-size:0.8125rem;opacity:0.85}
.footer-disclaimer{margin-top:1.5rem;font-size:0.8125rem;line-height:1.6;opacity:0.8}

/* Cookie banner */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:1000;padding:1.5rem;background:#161C2E;color:#F5F7FB;box-shadow:0 -4px 24px rgba(0,0,0,0.3)}
.cookie-banner[hidden]{display:none}
.cookie-inner{width:min(1140px,92vw);margin-inline:auto;display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between}
.cookie-actions{display:flex;gap:0.75rem;flex-wrap:wrap}
.cookie-modal{position:fixed;inset:0;z-index:1001;background:rgba(10,15,28,0.85);display:flex;align-items:center;justify-content:center;padding:1rem}
.cookie-modal[hidden]{display:none}
.cookie-modal__panel{width:min(520px,92vw);padding:2rem;max-height:90vh;overflow-y:auto;background:#161C2E;color:#F5F7FB;border:1px solid rgba(76,125,240,0.35)}
.cookie-modal__panel label{display:block;margin:0.75rem 0;font-size:0.9375rem}
.cookie-modal__panel h3{margin-bottom:1rem}

/* Reveal */
.js .reveal{opacity:1;transform:none;transition:opacity 0.7s ease,transform 0.7s ease}
@media (prefers-reduced-motion:no-preference){
  .js .reveal{opacity:1;transform:translateY(16px)}
  .js .reveal.is-visible{opacity:1;transform:translateY(0)}
}
@media (prefers-reduced-motion:reduce){
  .js .reveal{transition:none}
}

/* Page hero (inner pages) */
.page-hero{padding:8rem 0 4rem}
.page-hero--compact{padding:7rem 0 3rem}
.page-hero h1{margin-bottom:1rem}

/* Legal */
.legal-content h2{font-size:1.35rem;margin:2rem 0 0.75rem}
.legal-content h2:first-child{margin-top:0}
.legal-content h3{font-size:1.1rem;margin:1.25rem 0 0.5rem}
.legal-content p{margin-bottom:1rem}
.legal-content ul,.legal-content ol{margin:0.5rem 0 1rem 1.25rem}
.legal-content ul{list-style:disc}
.legal-content ol{list-style:decimal}
.legal-content li{margin-bottom:0.35rem}

/* 404 */
.error-page{min-height:70vh;display:flex;align-items:center;text-align:center;padding:6rem 0}
.error-page h1{margin-bottom:1rem}

/* Contact layout */
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:3rem}
.contact-layout > *{min-width:0}
.contact-layout form{max-width:100%;overflow:hidden}

/* Matrix motif line */
.matrix-line{width:48px;height:2px;background:#4C7DF0;margin-bottom:1.25rem}

@media(max-width:900px){
  .nav-toggle{display:block}
  .nav-list{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;background:#161C2E;padding:1rem 4vw;border-top:1px solid rgba(76,125,240,0.3)}
  .nav-list.is-open{display:flex}
  .hero-matrix-console{min-height:88vh}
  .hero-matrix-console__inner{padding-top:6rem}
  .pillar-grid,.module-grid,.service-grid,.stat-row{grid-template-columns:1fr}
  .content-grid,.program-card,.contact-layout,.footer-grid{grid-template-columns:1fr}
  .section{padding:64px 0}
  .section--lg{padding:80px 0}
}
