:root {
    --ink: #10213d;
    --muted: #687992;
    --green: #123d82;
    --green-2: #175ab8;
    --lime: #00e676;
    --paper: #f5f8fc;
    --line: #e2eaf4;
    --white: #fff;
    --shadow: 0 18px 55px rgba(20, 45, 90, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', Arial, sans-serif; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(calc((100vw - 1200px) / 2), 5.5vw); background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(225, 229, 233,.8); position: relative; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-size: 14px; font-weight: 800; letter-spacing: .07em; }
.brand small { display: block; margin-top: 2px; color: #787D87; font-family: 'DM Sans', sans-serif; font-size: 8px; letter-spacing: .2em; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px 11px 11px 3px; background: var(--green); color: var(--lime); font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.topbar nav { display: flex; align-items: center; gap: 32px; color: #4B515C; font-size: 13px; font-weight: 600; }
.topbar nav a:hover, footer a:hover, .text-link:hover { color: var(--green-2); }
.topbar nav .nav-cta { padding: 12px 17px; border-radius: 7px; background: var(--green); color: white; }
.topbar nav .nav-cta:hover { background: var(--green-2); color: white; }
.inline-form { display: inline; }
.nav-button { border: 0; padding: 0; background: none; color: inherit; cursor: pointer; font-weight: 600; }
main { min-height: calc(100vh - 152px); }
.hero { position: relative; overflow: hidden; min-height: 570px; display: flex; align-items: center; padding: 60px max(calc((100vw - 1200px) / 2), 5.5vw); background: radial-gradient(ellipse at 82% 50%, rgba(120, 174, 223,.12), transparent 38%), linear-gradient(110deg, #F5F7F9 0%, #F0F4F7 54%, #E3E9F0 100%); }
.hero-content { position: relative; z-index: 1; width: 54%; max-width: 610px; }
.eyebrow { color: #667283; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(0,230,118,.16); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, sans-serif; }
.hero h1 { margin: 20px 0 17px; font-size: clamp(42px, 5vw, 64px); line-height: 1.1; letter-spacing: -.055em; font-weight: 700; }
.hero h1 em, .section-intro h2 em { color: #5A6880; font-family: Georgia, serif; font-weight: 400; }
.hero-content > p { max-width: 450px; margin-bottom: 26px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 47px; padding: 0 19px; border: 0; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 700; transition: .2s ease; }
.button-primary { background: var(--green); color: white; box-shadow: 0 8px 20px rgba(18, 31, 57,.13); }
.button-primary:hover { transform: translateY(-2px); background: var(--green-2); }
.button-secondary { min-height: 39px; padding: 0 13px; border: 1px solid var(--line); background: white; color: var(--green); font-size: 12px; }
.text-link { color: #434C5C; font-size: 13px; font-weight: 700; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 30px; color: #7A8089; font-size: 11px; }
.checkmark { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: #e2fff0; color: #087a40; font-size: 11px; }
.hero-art { position: absolute; top: 0; right: 4%; width: 48%; height: 100%; }
.orbit { position: absolute; top: 50%; left: 52%; border: 1px solid rgba(83, 99, 122,.13); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 420px; height: 420px; }
.orbit-two { width: 320px; height: 320px; border-color: rgba(83, 99, 122,.2); }
.hero-product { position: absolute; top: 48%; left: 51%; width: 240px; height: 330px; transform: translate(-50%,-50%); }
.cup { position: absolute; left: 24px; top: 62px; width: 192px; height: 218px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border-radius: 15px 15px 52px 52px; background: linear-gradient(105deg,#16233D 0%,#233353 55%,#141F36 100%); color: #C5D8E8; box-shadow: inset 12px 0 18px rgba(255,255,255,.06), 12px 25px 35px rgba(28, 41, 66,.2); transform: perspective(500px) rotateY(-7deg); }
.cup:after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(173, 203, 231,.28); border-radius: 9px 9px 45px 45px; }
.cup span { z-index: 1; font-family: Georgia, serif; font-size: 55px; line-height: 1; }
.cup small { z-index: 1; margin-top: 5px; font-size: 11px; letter-spacing: .23em; }
.cup i { position: absolute; right: 0; bottom: 20px; left: 0; height: 1px; background: rgba(173, 203, 231,.3); }
.cup-lid { position: absolute; z-index: 1; top: 47px; left: 17px; width: 207px; height: 25px; border-radius: 50%; background: linear-gradient(#f3f7fb,#cbd8e5); box-shadow: 0 5px 8px rgba(22, 33, 52,.17); }
.cup-shadow { position: absolute; bottom: 12px; left: 26px; width: 190px; height: 22px; border-radius: 50%; background: rgba(24, 35, 56,.16); filter: blur(7px); }
.floating-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; min-width: 190px; padding: 14px 16px; border: 1px solid rgba(231, 235, 239,.8); border-radius: 9px; background: rgba(255,255,255,.91); box-shadow: 0 14px 35px rgba(28, 41, 65,.1); backdrop-filter: blur(8px); }
.floating-top { top: 24%; left: 8%; }
.floating-bottom { right: 0; bottom: 22%; }
.float-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 8px; background: #e2fff0; color: #087a40; font-size: 20px; }
.people-icon { background: #e7eef6; color: #496183; }
.floating-card small { display: block; color: #858A92; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.floating-card strong { display: block; margin-top: 4px; font-family: Manrope, sans-serif; font-size: 16px; }
.floating-card strong small { display: inline; font-size: 9px; font-weight: 500; letter-spacing: 0; }
.sparkle { position: absolute; color: #00b95c; }
.sparkle-a { top: 28%; right: 15%; font-size: 25px; }
.sparkle-b { bottom: 31%; left: 10%; font-size: 16px; }
.trust-strip { min-height: 73px; display: flex; align-items: center; justify-content: center; gap: clamp(25px, 6vw, 88px); border-bottom: 1px solid var(--line); background: white; color: #656B75; font-size: 11px; font-weight: 600; }
.trust-strip span:first-child { color: #9A9EA5; font-size: 9px; letter-spacing: .14em; }
.section { padding: 94px max(calc((100vw - 1120px) / 2), 6vw); }
.section-intro { max-width: 550px; margin: 0 auto 43px; text-align: center; }
.section-intro h2 { margin: 15px 0 13px; font-size: clamp(32px, 4vw, 43px); letter-spacing: -.045em; line-height: 1.15; }
.section-intro p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.product-section { background: white; }
.product-card { max-width: 880px; min-height: 310px; display: grid; grid-template-columns: 1fr 1fr; margin: auto; overflow: hidden; border: 1px solid #E4E7EB; border-radius: 12px; background: white; box-shadow: var(--shadow); }
.product-visual { position: relative; min-height: 310px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at center, #D1DCE7 0, #E3E9F0 48%, #EFF2F5 100%); }
.coffee-cup { width: 132px; height: 168px; display: grid; place-items: center; border: 7px solid #edf2f7; border-radius: 14px 14px 40px 40px; background: linear-gradient(115deg,#18243D,#2E4163 65%,#192743); color: #B9D0E5; box-shadow: 15px 23px 34px rgba(25, 37, 60,.18); transform: rotate(-6deg); }
.coffee-cup:after { content: ''; position: absolute; width: 140px; height: 20px; margin-top: -165px; border-radius: 50%; background: #e0e8f0; }
.coffee-cup span { font-family: Georgia,serif; font-size: 56px; }
.bean { position: absolute; width: 31px; height: 20px; border-radius: 50%; background: #9b7049; transform: rotate(38deg); }
.bean:after { content: ''; position: absolute; top: 9px; left: 4px; width: 22px; height: 1px; background: #e0b486; transform: rotate(-16deg); }
.bean-one { top: 25%; left: 23%; }
.bean-two { right: 19%; bottom: 22%; width: 23px; height: 16px; transform: rotate(-29deg); }
.product-info { padding: 37px 42px; }
.product-info h3 { margin: 10px 0; font-size: 23px; letter-spacing: -.03em; }
.product-info > p { margin-bottom: 19px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.price-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); color: #686E79; font-size: 12px; }
.price-row strong { color: var(--ink); font-size: 16px; }
.price-row.secondary-price { padding-top: 3px; border-top: 0; }
.price-row.secondary-price strong { font-size: 13px; }
.product-info .button { margin-top: 12px; }
.rewards-section { background: #F2F5F7; }
.reward-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reward-card { position: relative; min-height: 225px; padding: 25px 23px; border: 1px solid #E2E6EA; border-radius: 9px; background: white; }
.reward-number { position: absolute; top: 20px; right: 20px; color: #B7BBC0; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.reward-icon { display: grid; width: 36px; height: 36px; margin-bottom: 17px; place-items: center; border-radius: 8px; background: #e2fff0; color: #087a40; font-size: 19px; }
.reward-card h3 { margin-bottom: 8px; font-size: 16px; }
.reward-card p { min-height: 37px; margin-bottom: 13px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.reward-card > strong { color: #087a40; font-family: Manrope,sans-serif; font-size: 21px; }
.reward-card > strong small { color: #858991; font-family: 'DM Sans',sans-serif; font-size: 10px; font-weight: 500; }
.unilevel-card { grid-column: span 2; min-height: 230px; }
.unilevel-card p { min-height: unset; }
.level-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; margin: 17px 0 12px; }
.level-grid span { display: flex; justify-content: space-between; padding: 8px; border-radius: 5px; background: #F1F4F6; color: #787D84; font-size: 10px; }
.level-grid b { color: #087a40; }
.eligibility-note { color: #848990; font-size: 10px; }
.compliance-note { display: flex; gap: 12px; margin-top: 20px; padding: 15px 17px; border: 1px solid #e8e2c9; border-radius: 7px; background: #fbf8eb; color: #776d47; }
.compliance-note > span { flex: 0 0 20px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #eee5c2; font-weight: 700; }
.compliance-note p { margin: 0; font-size: 11px; line-height: 1.65; }
.bottom-cta { display: flex; align-items: center; justify-content: space-between; padding: 46px max(calc((100vw - 1120px) / 2), 6vw); background: var(--green); color: white; }
.bottom-cta .eyebrow { color: #94AEC9; }
.bottom-cta h2 { margin: 10px 0 5px; font-size: 25px; letter-spacing: -.04em; }
.bottom-cta p { margin: 0; color: #C0C6D0; font-size: 12px; }
.button-light { background: var(--lime); color: var(--green); }
.button-light:hover { background: #52ef92; transform: translateY(-2px); }
footer { min-height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 13px max(calc((100vw - 1200px) / 2), 5.5vw); background: white; color: #7B8088; font-size: 10px; }
.footer-brand { color: var(--ink); font-size: 12px; }
.footer-brand .brand-mark { width: 29px; height: 29px; font-size: 19px; }

.auth-layout { min-height: 630px; display: grid; grid-template-columns: 1fr 420px; align-items: center; gap: 70px; max-width: 1020px; margin: auto; padding: 70px 35px; }
.login-layout { min-height: 540px; }
.auth-copy h1 { max-width: 520px; margin: 15px 0; font-size: 45px; line-height: 1.13; letter-spacing: -.05em; }
.auth-copy > p { max-width: 460px; color: var(--muted); line-height: 1.7; }
.mini-stat { display: flex; align-items: baseline; gap: 12px; margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); }
.mini-stat strong { color: var(--green-2); font-family: Manrope,sans-serif; font-size: 25px; }
.mini-stat span { color: var(--muted); font-size: 12px; }
.card { border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: var(--shadow); }
.form-card { padding: 30px; }
.form-card h2 { margin-bottom: 7px; font-size: 23px; letter-spacing: -.04em; }
.muted { color: var(--muted); }
.form-card > .muted { margin-bottom: 21px; font-size: 12px; }
.form-card label { display: block; margin-bottom: 14px; color: #343C4B; font-size: 11px; font-weight: 700; }
.form-card label .muted { font-weight: 400; }
.form-card input { width: 100%; height: 43px; margin-top: 6px; padding: 0 12px; border: 1px solid #DCE0E5; border-radius: 5px; outline: 0; color: var(--ink); font-size: 13px; }
.form-card input:focus { border-color: #667690; box-shadow: 0 0 0 3px rgba(102, 118, 144,.12); }
.full-width { width: 100%; margin-top: 7px; }
.form-foot { margin: 17px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
.form-foot a { color: var(--green-2); font-weight: 700; }
.setup-notice, .alerts { max-width: 1160px; margin: 18px auto 0; padding: 17px 20px; border: 1px solid #e8e2c9; border-radius: 8px; background: #fbf8eb; color: #675e3f; }
.setup-notice h1 { margin: 8px 0 5px; font-size: 20px; }
.setup-notice p, .alerts p { margin: 0; font-size: 12px; line-height: 1.6; }
.alerts { margin-bottom: -20px; border-color: #f1d2c8; background: #fff5f1; color: #8b3c2a; }
.alerts p + p { margin-top: 5px; }

.dashboard-head { max-width: 1120px; margin: auto; padding: 55px 25px 24px; display: flex; align-items: center; justify-content: space-between; }
.dashboard-head h1 { margin: 10px 0 5px; font-size: 32px; letter-spacing: -.04em; }
.dashboard-head p { margin: 0; color: var(--muted); font-size: 13px; }
.status-pill { padding: 8px 12px; border-radius: 30px; background: #fff0d6; color: #8b6928; font-size: 11px; font-weight: 700; }
.status-active { background: #e2fff0; color: #087a40; }
.status-suspended { background: #fce8e7; color: #9a4844; }
.notice-banner { max-width: 1070px; margin: 0 auto 18px; padding: 13px 16px; border: 1px solid #eadfba; border-radius: 6px; background: #fbf7e9; color: #746438; font-size: 11px; }
.metrics-grid { max-width: 1070px; display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin: auto; }
.metric-card { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.metric-card span { display: block; color: #6E737C; font-size: 11px; font-weight: 600; }
.metric-card strong { display: block; margin: 10px 0 4px; font-family: Manrope,sans-serif; font-size: 28px; letter-spacing: -.04em; }
.metric-card small { color: #898D94; font-size: 10px; }
.dashboard-grid { max-width: 1070px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px auto 70px; }
.panel { padding: 23px; box-shadow: none; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.panel-heading h2 { margin: 7px 0 0; font-size: 18px; letter-spacing: -.03em; }
.icon-badge, .team-count { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 8px; background: #E9EEF4; color: #4B5D79; font-size: 18px; }
.team-count { border-radius: 50%; font-size: 12px; font-weight: 700; }
.panel > p { color: var(--muted); font-size: 12px; }
.referral-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 17px 0 14px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: #F8FAFB; }
.referral-box code { padding-left: 6px; color: #31425F; font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.small { font-size: 10px !important; }
.detail-row { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-top: 1px solid #EAEDF0; color: #747981; font-size: 11px; }
.detail-row strong { color: #333B49; text-align: right; font-weight: 600; }
.team-panel { grid-column: span 2; }
.empty-state { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #525C6C; text-align: center; }
.empty-icon { margin-bottom: 9px; color: #00b95c; font-size: 25px; }
.empty-state strong { font-family: Manrope,sans-serif; font-size: 13px; }
.empty-state p { margin: 7px 0 0; color: #848990; font-size: 11px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 10px 8px; color: #898D94; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
td { padding: 12px 8px; border-top: 1px solid #EAEDF0; color: #434A56; font-size: 11px; }
.status-text { color: #987541; font-weight: 700; }

@media (max-width: 850px) {
    .hero { min-height: 530px; }
    .hero-content { width: 62%; }
    .hero-art { right: -9%; width: 55%; opacity: .8; }
    .orbit-one { width: 340px; height: 340px; }
    .orbit-two { width: 270px; height: 270px; }
    .hero-product { transform: translate(-50%,-50%) scale(.82); }
    .floating-top { left: 0; }
    .floating-bottom { right: 5%; }
    .section { padding: 70px 6vw; }
    .auth-layout { grid-template-columns: 1fr 390px; gap: 30px; }
    .setup-notice, .alerts { margin-right: 20px; margin-left: 20px; }
    .metrics-grid, .dashboard-grid { margin-right: 25px; margin-left: 25px; }
    .notice-banner { margin-right: 25px; margin-left: 25px; }
}
@media (max-width: 650px) {
    .topbar { height: 66px; padding: 0 19px; }
    .topbar nav { gap: 14px; font-size: 11px; }
    .topbar nav a:first-child:not(.nav-cta) { display: none; }
    .topbar nav .nav-cta { padding: 10px 12px; }
    .hero { min-height: 700px; align-items: flex-start; padding: 64px 24px 0; }
    .hero-content { width: 100%; }
    .hero h1 { font-size: clamp(40px, 11vw, 55px); }
    .hero-content > p { max-width: 380px; font-size: 14px; }
    .hero-art { top: 355px; right: 0; width: 100%; height: 345px; opacity: 1; }
    .orbit-one { width: 290px; height: 290px; }
    .orbit-two { width: 225px; height: 225px; }
    .hero-product { top: 52%; transform: translate(-50%,-50%) scale(.67); }
    .floating-card { min-width: unset; padding: 9px 11px; }
    .floating-top { top: 17%; left: 3%; }
    .floating-bottom { right: 1%; bottom: 13%; }
    .float-icon { width: 29px; height: 29px; }
    .floating-card strong { font-size: 13px; }
    .trust-strip { min-height: 65px; flex-wrap: wrap; gap: 8px 20px; padding: 15px; font-size: 9px; }
    .trust-strip span:first-child { display: none; }
    .section { padding: 62px 20px; }
    .section-intro { margin-bottom: 30px; }
    .section-intro h2 { font-size: 34px; }
    .product-card { grid-template-columns: 1fr; }
    .product-visual { min-height: 220px; }
    .coffee-cup { transform: scale(.8) rotate(-6deg); }
    .product-info { padding: 25px; }
    .reward-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .reward-card { min-height: 215px; padding: 19px 15px; }
    .unilevel-card { grid-column: span 2; }
    .level-grid { grid-template-columns: repeat(2,1fr); }
    .bottom-cta { align-items: flex-start; flex-direction: column; gap: 22px; padding: 34px 22px; }
    footer { flex-wrap: wrap; gap: 14px; padding: 18px 20px; }
    footer > span { order: 3; width: 100%; }
    .auth-layout { min-height: unset; grid-template-columns: 1fr; gap: 30px; padding: 48px 20px; }
    .auth-copy h1 { font-size: 36px; }
    .form-card { padding: 24px; }
    .dashboard-head { align-items: flex-start; flex-direction: column; gap: 15px; padding: 38px 20px 20px; }
    .dashboard-head h1 { font-size: 27px; }
    .notice-banner { margin-right: 20px; margin-left: 20px; line-height: 1.6; }
    .metrics-grid { grid-template-columns: 1fr; margin-right: 20px; margin-left: 20px; }
    .metric-card { padding: 17px; }
    .dashboard-grid { grid-template-columns: 1fr; margin: 13px 20px 45px; }
    .team-panel { grid-column: auto; }
    .panel { padding: 19px; }
    .referral-box { align-items: flex-start; flex-direction: column; }
}
