/* HAMOU MATH 47.0 — Signature design system: mathematics-first, editorial, responsive */
:root{--hm-ink:#071426;--hm-ink-2:#0d2038;--hm-teal:#28d7c5;--hm-gold:#e9c878;--hm-paper:#f5f7fb;--hm-line:rgba(148,163,184,.24);--hm-shadow:0 24px 70px rgba(2,8,23,.14)}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{background:var(--hm-paper)!important;color:#102139!important;font-family:Inter,"Segoe UI",Tahoma,Arial,sans-serif;line-height:1.7}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(circle at 6% 8%,rgba(40,215,197,.07),transparent 24%),radial-gradient(circle at 94% 35%,rgba(67,97,238,.06),transparent 25%)}
.topbar{position:sticky!important;top:0;z-index:1000;background:rgba(7,20,38,.92)!important;border-bottom:1px solid rgba(255,255,255,.09)!important;backdrop-filter:blur(18px);box-shadow:0 8px 35px rgba(2,8,23,.12)}
.navbar{min-height:76px!important}.brand{color:#fff!important;font-weight:900;letter-spacing:.035em}.brand-badge{background:linear-gradient(145deg,var(--hm-teal),#5b8dff)!important;color:#061629!important;box-shadow:0 0 28px rgba(40,215,197,.22)}
.desktop-nav .nav-link,.nav-btn,.nav-actions .ref-user{color:#dbe8f6!important}.desktop-nav .nav-link:hover,.nav-btn:hover{color:var(--hm-teal)!important}.nav-menu{background:#0b1a30!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 24px 60px rgba(0,0,0,.35)!important}.nav-menu button{color:#e7eef8!important}.nav-menu button:hover{background:rgba(40,215,197,.12)!important}.icon-btn{color:#eaf3ff!important;border-color:rgba(255,255,255,.18)!important}
.primary-btn,.success-btn{background:linear-gradient(115deg,#24cdbd,#77f0df)!important;color:#062236!important;border:0!important;box-shadow:0 10px 25px rgba(40,215,197,.18);font-weight:900!important}.secondary-btn{background:rgba(255,255,255,.08)!important;color:#fff!important;border:1px solid rgba(255,255,255,.24)!important}
.hero#home{position:relative;isolation:isolate;overflow:hidden;padding:clamp(64px,8vw,112px) 0 82px!important;background:linear-gradient(125deg,#061326 0%,#0a1e38 54%,#132b48 100%)!important;color:#f5f9ff!important;border-radius:0 0 38px 38px!important}
.hero#home:before{content:"";position:absolute;z-index:-1;width:540px;height:540px;left:-160px;top:-230px;border-radius:50%;border:1px solid rgba(40,215,197,.16);box-shadow:0 0 0 42px rgba(40,215,197,.025),0 0 0 95px rgba(40,215,197,.018)}
.hero#home:after{content:"∫  ∑  π  ∞";position:absolute;z-index:-1;left:4%;bottom:12%;font-size:clamp(30px,4vw,54px);letter-spacing:.18em;color:rgba(255,255,255,.055);font-weight:800;transform:rotate(-8deg)}
.hero-grid{align-items:center!important;gap:clamp(30px,6vw,84px)!important;position:relative}.hero .eyebrow{display:inline-flex!important;align-items:center;gap:9px;padding:8px 13px!important;border:1px solid rgba(40,215,197,.3);border-radius:999px;background:rgba(40,215,197,.08)!important;color:#78f1e3!important;letter-spacing:.02em;font-size:13px!important;font-weight:800}.hero .eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--hm-teal);box-shadow:0 0 14px var(--hm-teal)}
.hero#home h1{max-width:760px;font-size:clamp(38px,5.4vw,72px)!important;line-height:1.12!important;letter-spacing:-.04em;color:#fff!important;margin:22px 0!important;font-weight:950!important}.hero#home h1 strong,.hero#home h1 em{color:var(--hm-teal)}.hero#home p{max-width:660px!important;font-size:clamp(16px,1.5vw,20px)!important;line-height:1.95!important;color:#c0cede!important}.hero-actions{gap:12px!important;margin-top:28px!important}.hero-actions button,.hero-actions a{min-height:50px;padding:0 22px!important;border-radius:14px!important;font-size:15px!important}
.hero-card{position:relative!important;overflow:hidden!important;padding:clamp(22px,3vw,34px)!important;border-radius:28px!important;background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.035))!important;border:1px solid rgba(255,255,255,.17)!important;box-shadow:0 30px 90px rgba(0,0,0,.24)!important;color:#fff!important;backdrop-filter:blur(14px)}.hero-card:before{content:"";position:absolute;inset:-1px -1px auto auto;width:150px;height:150px;background:radial-gradient(circle,rgba(40,215,197,.2),transparent 70%);pointer-events:none}.hero-card h3{font-size:clamp(21px,2vw,28px)!important;line-height:1.35;color:#fff!important;margin:17px 0 9px!important}.hero-card .muted{color:#bdcbdc!important}.math-badge{width:76px!important;height:76px!important;border-radius:22px!important;background:linear-gradient(145deg,var(--hm-teal),#5e8eff)!important;color:#07172a!important;box-shadow:0 12px 32px rgba(40,215,197,.18);font-family:Georgia,serif}.hero-card .grid{margin-top:22px}.hero-card .card{display:flex;align-items:center;gap:9px;padding:12px 13px!important;min-height:54px;border-radius:13px!important;background:rgba(255,255,255,.065)!important;border:1px solid rgba(255,255,255,.09)!important;color:#e5effb!important;box-shadow:none!important;font-size:14px}
main>section:not(.hero){position:relative}main>section:not(.hero) .section-head h2,main>section:not(.hero) h2{color:#0b1d34;letter-spacing:-.025em;font-weight:900}main>section:not(.hero) .section-head p{color:#64748b}.container{width:min(1220px,calc(100% - 40px))!important}.section-head{margin-bottom:27px!important}.section-head h2{font-size:clamp(25px,3vw,36px)!important;line-height:1.25}.section-head p{max-width:760px;line-height:1.8}
main>section:not(.hero) .card,main>section:not(.hero) .growth-card,main>section:not(.hero) .growth-feature,main>section:not(.hero) .function-card{border:1px solid #e2e8f0!important;border-radius:20px!important;background:linear-gradient(150deg,#fff,#f9fbfe)!important;box-shadow:0 8px 30px rgba(15,35,65,.045)!important;color:#14253d;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.function-card:hover,main>section:not(.hero) .card:hover{transform:translateY(-4px);box-shadow:0 18px 45px rgba(15,35,65,.09)!important;border-color:rgba(27,181,172,.42)!important}.stat-number{color:#087e86!important}.stats-card{padding:22px!important}.stats-card .stat-number{font-size:clamp(26px,3vw,38px)!important}
.growth-section{padding:64px 0!important}.growth-hero{border-radius:28px!important;background:linear-gradient(130deg,#0a1b32,#142f4c)!important;color:#f5f8ff!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 25px 65px rgba(7,20,38,.16)!important}.growth-hero h2,.growth-hero h3{color:#fff!important}.growth-hero p{color:#c5d2e2!important}.growth-hero .eyebrow{background:rgba(40,215,197,.1)!important;color:#8af1e4!important}.growth-card{border-radius:26px!important}.persona{border-radius:16px!important}.persona strong{color:#10243d}.daily-card{border-radius:18px!important;background:#edf9f8!important;border-color:#c8eeea!important}.daily-card .challenge-text{color:#0e2c3c}
.hamou-functions-section{padding:66px 0!important}.function-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}.function-card{min-height:170px!important;padding:22px!important;text-decoration:none!important}.function-card span:first-child{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#e8f8f6;color:#087e86;font-size:25px!important}.function-card b{color:#10243d!important;font-size:17px}.function-card small{color:#65748a!important;line-height:1.75!important}.account-conversion{background:#eef9f8!important;border:1px solid #c8eeea!important}.account-conversion strong{color:#0c3442}.premium-strip{border:1px solid rgba(40,215,197,.24)!important;background:linear-gradient(115deg,#08172a,#143653)!important;border-radius:20px!important}.premium-strip strong{color:#fff}.premium-strip span{color:#c8d8e8}.ghost-btn{color:#0b5361!important;border-color:#b4e6e1!important}
.pricing-card,.pricing-card.highlight{border-radius:24px!important;box-shadow:0 18px 45px rgba(15,35,65,.08)!important}.pricing-card.highlight{border:2px solid #21bcb2!important}.price{color:#087e86!important}.banner{border-radius:26px!important;background:linear-gradient(135deg,#eaf9f7,#eef3ff)!important;border:1px solid #d7e9ee!important}.footer{background:#071426!important;color:#b7c6d9!important;border-top:0!important;margin-top:40px}.footer a{color:#e0ecf8}
.subscription-direct-link{background:rgba(40,215,197,.1)!important;color:#0d5962!important;border-color:rgba(13,145,143,.25)!important}.subscription-direct-link:hover{border-color:#21bcb2!important}
/* BAC proposal callout */
.bac-editorial{padding:clamp(24px,4vw,42px);border-radius:28px;background:linear-gradient(125deg,#07172b,#12314b);color:#f5f9ff;display:grid;grid-template-columns:1.25fr .75fr;gap:28px;align-items:center;overflow:hidden;position:relative;box-shadow:0 25px 65px rgba(7,20,38,.15)}.bac-editorial:after{content:"x² + y²";position:absolute;left:-10px;bottom:-45px;font-size:100px;font-weight:900;color:rgba(255,255,255,.035);pointer-events:none}.bac-editorial h2{color:#fff!important;margin:10px 0 12px}.bac-editorial p{color:#c5d2e2;max-width:700px}.bac-editorial .bac-label{display:inline-flex;padding:6px 10px;border:1px solid rgba(40,215,197,.28);border-radius:999px;color:#7cebdd;background:rgba(40,215,197,.08);font-size:12px;font-weight:900}.bac-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:relative;z-index:1}.bac-tile{padding:16px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:rgba(255,255,255,.055);color:#eaf3fc}.bac-tile strong{display:block;font-size:15px;margin:6px 0}.bac-tile span{font-size:12px;color:#b8c8da;line-height:1.65}.bac-editorial .secondary-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:48px;padding:0 18px;border-radius:13px;margin-inline-start:8px}.bac-editorial .primary-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:48px;padding:0 18px;border-radius:13px}
:focus-visible{outline:3px solid #28d7c5!important;outline-offset:3px!important}button,a,input,select,textarea{font:inherit}button,a{touch-action:manipulation}img,svg,canvas{max-width:100%}
@media(max-width:1000px){.function-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bac-editorial{grid-template-columns:1fr}.hero#home{border-radius:0 0 28px 28px!important}}
@media(max-width:700px){.container{width:calc(100% - 28px)!important}.hero#home{padding:48px 0 54px!important}.hero#home h1{font-size:clamp(35px,10vw,50px)!important}.hero-card{padding:22px!important}.hero-card .grid.grid-2{grid-template-columns:1fr 1fr!important}.function-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}.function-card{min-height:150px!important;padding:15px!important}.function-card small{font-size:12px}.bac-tiles{grid-template-columns:1fr 1fr}.growth-section,.hamou-functions-section{padding:42px 0!important}.nav-actions .ref-user{display:none}}
@media(max-width:430px){.function-grid{grid-template-columns:1fr!important}.hero-actions{display:grid!important;grid-template-columns:1fr}.hero-actions button{width:100%}.hero-card .grid.grid-2{grid-template-columns:1fr 1fr!important}.bac-tiles{grid-template-columns:1fr}.bac-editorial .secondary-btn{margin:8px 0 0}.container{width:calc(100% - 22px)!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.hero-card-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:17px;flex-wrap:wrap}.hero-mini-kicker{font-size:10px;letter-spacing:.12em;color:#8ea7c2;font-weight:900}.hero-live-dot{font-size:11px;color:#8af1e4;border:1px solid rgba(40,215,197,.22);border-radius:999px;padding:4px 8px;background:rgba(40,215,197,.07)}.hero-mini-icon{display:grid;place-items:center;min-width:30px;height:30px;border-radius:9px;background:rgba(40,215,197,.12);color:#7cebdd;font-size:18px;font-weight:900}.hero-card-footer{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.12)}.hero-card-footer span{font-size:11px;color:#b8c9dc}.hero-card-footer span+span:before{content:"·";margin-inline-end:8px;color:#28d7c5}.hero-copy .micro-proof{margin-top:23px}.hero-copy .micro-proof span{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.12);color:#c6d5e7}.bac-proposals-page{width:min(1120px,calc(100% - 28px));margin:36px auto 80px}.bac-proposals-page .proposal-hero{padding:clamp(26px,5vw,48px);border-radius:28px;background:linear-gradient(125deg,#07172b,#12314b);color:#f5f9ff;box-shadow:0 25px 65px rgba(7,20,38,.15)}.bac-proposals-page .proposal-hero h1{font-size:clamp(32px,5vw,50px);line-height:1.2;color:#fff;margin:12px 0}.bac-proposals-page .proposal-hero p{color:#c5d2e2;max-width:780px}.bac-proposals-page .proposal-label{display:inline-flex;padding:6px 10px;border:1px solid rgba(40,215,197,.28);border-radius:999px;color:#7cebdd;background:rgba(40,215,197,.08);font-size:12px;font-weight:900}.bac-proposals-page .proposal-layout{display:grid;grid-template-columns:1fr .8fr;gap:20px;margin-top:22px}.bac-proposals-page .proposal-panel{background:#fff;border:1px solid #e0e8f0;border-radius:22px;padding:clamp(20px,3vw,30px);box-shadow:0 12px 35px rgba(15,35,65,.05)}.bac-proposals-page .proposal-panel h2{margin-top:0;color:#10243d}.bac-proposals-page .proposal-panel p{color:#64748b}.bac-proposals-page .proposal-form{display:grid;gap:14px}.bac-proposals-page .proposal-form label{display:block;color:#20334b!important;margin-bottom:5px}.bac-proposals-page .proposal-form select{width:100%;color:#10243d!important;background:#f8fafc!important;border:1px solid #d8e2ec!important;border-radius:12px;padding:12px;min-height:48px}.bac-proposals-page .proposal-form button{width:100%;min-height:50px}.bac-proposals-page .proposal-cards{display:grid;gap:12px}.bac-proposals-page .proposal-mini{padding:16px;border-radius:16px;background:#f7fafc;border:1px solid #e5edf4}.bac-proposals-page .proposal-mini b{display:block;color:#10243d;margin-bottom:4px}.bac-proposals-page .proposal-mini span{color:#64748b;font-size:13px;line-height:1.7}.bac-proposals-page .proposal-notice{margin-top:18px;padding:14px 16px;border-radius:14px;background:#fff8e7;border:1px solid #f2dfad;color:#755a1b;font-size:13px;line-height:1.8}.bac-proposals-page .proposal-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.bac-proposals-page .proposal-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 15px;border-radius:12px;border:1px solid #dbe4ee;text-decoration:none;color:#15304b;font-weight:850;background:#fff}.bac-proposals-page .proposal-links a:hover{border-color:#25bdb2;color:#087e86}@media(max-width:800px){.bac-proposals-page .proposal-layout{grid-template-columns:1fr}.hero-card-footer{gap:6px}}
