@font-face {
  font-family:Poppins;
  src:url("../../fonts/poppins/regular.woff2") format("woff2");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
@font-face {
  font-family:Poppins;
  src:url("../../fonts/poppins/medium.woff2") format("woff2");
  font-style:normal;
  font-weight:500;
  font-display:swap;
}
@font-face {
  font-family:Poppins;
  src:url("../../fonts/poppins/semibold.woff2") format("woff2");
  font-style:normal;
  font-weight:600;
  font-display:swap;
}
@font-face {
  font-family:Poppins;
  src:url("../../fonts/poppins/bold.woff2") format("woff2");
  font-style:normal;
  font-weight:700;
  font-display:swap;
}

:root {
  --ink:#132720;
  --line:#dbe5df;
  --violet:#00644c;
  --grad:#00644c;
  --navy-2:#10241f;
  --glow:none;
  --radius:16px;
  --shadow-sm:0 2px 4px #10241f08;
  --gutter:clamp(16px,4.5vw,76px);
  --page-width:1440px;
}

body { color:var(--ink); background:#fff }
:where(h1,h2,h3) { color:inherit }
:where(button,input,select,textarea) { font-family:inherit }
:where(a,button,input,select,textarea):focus-visible { outline-color:#008566 }
:is(.button,.button:hover) { background:#00644c; color:white; box-shadow:none; filter:none; transform:none }
.button:hover { background:#004f3c }
:is(.button-white,.button-outline,.button-ghost) { background:#fff; color:#005943; border-color:#cbdcd4 }
:is(.button-white,.button-outline,.button-ghost):hover { background:#ecf8f1; color:#004a38 }
.button-dark,.button-dark:hover { background:#17342a }
.button[disabled],.button[disabled]:hover { background:#e3e9e6; color:#607068 }
.button { border-radius:9px; font-weight:600; letter-spacing:0 }

.public-topbar { background:#fff; border-bottom:1px solid var(--line); backdrop-filter:none; padding-inline:max(var(--gutter), calc((100vw - var(--page-width)) / 2 + var(--gutter))) }
.public-topbar a:not(.button) { color:#263d34 }
.public-topbar a:hover:not(.button) { color:#00644c }
.public-nav { gap:clamp(14px,2vw,32px) }
.public-nav a { font-weight:500 }
.public-menu-toggle { color:var(--ink) }

.hx { background:#10241f; border:0; color:#fff }
.hx-grid { max-width:var(--page-width); gap:clamp(28px,5vw,72px); padding-block:clamp(46px,6vw,92px) }
.hx h1 { max-width:13ch; color:#fff; font-size:clamp(34px,5vw,68px); font-weight:600; letter-spacing:-.045em; line-height:1.08 }
.hx-lead { color:#d5e5dd; font-weight:400; max-width:480px }
.hx .button:not(.button-ghost) { background:#d3f3e1; color:#14342a }
.hx .button:not(.button-ghost):hover { background:#e5f9ee }
.hx .button-ghost { border-color:#638377; background:transparent; color:#fff }
.hx .button-ghost:hover { background:#fff; color:#10241f }
.hero-photo { border:1px solid #ffffff30; border-radius:20px }
.hero-photo img { aspect-ratio:6 / 5 }
.hero-photo figcaption,.story-photo figcaption { background:#10241fef; font-size:.75rem }

.is-public-page :is(.section,.market-preview,.legal-layout,.security-inner) { max-width:var(--page-width); margin-inline:auto }
.is-public-page :is(.disclosure-banner,.cta-band,.contact-bottom) { max-width:calc(var(--page-width) - 2 * var(--gutter)); margin-inline:auto }
.is-public-page .section-heading h2,.is-public-page .section-centered h2 { font-weight:600 }
.section-heading>p,.section-intro,.hx-lead { letter-spacing:0 }
:is(.section-centered,.section-heading,.page-hero,.auth-card) .eyebrow { color:#00644c }
:is(.plan-section,.values-section,.page-hero) { background:#f1f6f3 }
.disclosure-banner { background:#f5f8f6; border-color:#d8e5dc; border-radius:12px }
.disclosure-banner .disclosure-icon { background:#e3eee7; color:#245a43 }
.disclosure-banner a { color:#005943 }

.steps-grid,.feature-grid { gap:14px }
:is(.step-card,.feature-card,.value-card,.faq-item,.market-card) { border:1px solid var(--line); background:#fff; border-radius:14px; box-shadow:none; transition:border-color .15s }
:is(.step-card,.feature-card,.value-card,.faq-item,.market-card):hover { border-color:#a3c2b1; box-shadow:none; transform:none }
.step-card { min-height:0 }
.step-number { position:static; display:block; margin:0 0 20px; color:#00644c; font-size:.875rem; font-weight:600 }
.step-card h3,.feature-card h3 { font-size:1.0625rem; font-weight:600 }
.step-card p,.feature-card p { color:#43574d }
.feature-card h3 { margin-top:0 }
.security-band,.cta-band,.contact-bottom,.site-footer { background:#10241f; box-shadow:none }
.security-band .eyebrow,.cta-band .eyebrow { color:#a7e4c6 }
.security-points div { border-color:#ffffff2b }
.security-points div b { color:#a7e4c6 }
.site-footer { border-top:1px solid #315146 }
.site-footer :is(p,a,.site-footer-meta) { color:#d5e5dd }
.site-footer-meta { border-color:#ffffff2b }

.faq-grid { grid-template-columns:1fr; gap:8px }
.faq-item { padding:0 }
.faq-item summary { cursor:pointer; padding:16px 20px; font-weight:600; color:var(--ink) }
.faq-item[open] summary { color:#005943 }
.faq-item p { padding:0 20px 16px; margin:0 }

.workspace-sidebar { background:#10241f }
.workspace-sidebar .workspace-label,.sidebar-profile small,.sidebar-bottom>small { color:#abc0b6 }
.workspace-sidebar :is(.workspace-link,.nav-symbol,.sidebar-logout) { color:#d0e2d9 }
.workspace-link.selected { background:#254639; box-shadow:inset 3px 0 #9fd9ba; color:#fff }
.workspace-link.selected .nav-symbol { color:#a7e4c6 }
.is-workspace-page .workspace-main { background:#f3f7f5 }
.workspace-topbar { background:#fff; backdrop-filter:none }
.topbar-context strong { color:var(--ink) }
.workspace-main :is(.stat-card,.panel,.admin-quick-links>a,.history-shortcut,.promotion-strip,.level-card,.table-card) { border-color:var(--line); border-radius:14px }
.workspace-main :is(.stat-card,.panel,.level-card):hover { transform:none; box-shadow:var(--shadow-sm) }
.workspace-main .stat-card::before { display:none }
.workspace-main .balance-card { background:#123d30; border-color:#123d30 }
.balance-card :is(strong,small,.stat-top) { color:#fff }
.dash-grid .stat-card>strong,.market-price,.ledger-summary strong { font-variant-numeric:tabular-nums }
.stat-card:not(.balance-card) .stat-top span,.count-bubble,.history-shortcut-icon { background:#e5f2eb; color:#00644c }
.promotion-strip { background:#eaf4ee }
.table-wrap thead th,.table-card thead th { background:#edf4ef; color:#30493e }
.table-wrap td { border-color:var(--line) }
.deposit-wallet { background:#f3f7f5 }

.public-auth { border-color:var(--line); border-radius:18px }
.public-auth .auth-aside { background:#10241f }
.public-auth .auth-aside::after { background:linear-gradient(0deg,#10241ff5,#10241f55 65%,transparent) }
.auth-aside-copy .eyebrow { color:#c4edda }
.auth-card,.field input,.field select,.field textarea { border-color:#cfded5 }
.field :is(input,select,textarea):focus { border-color:#007659; box-shadow:0 0 0 3px #00644c1f }
.auth-card .auth-back,.auth-card .auth-recovery,.auth-card .auth-switch a,.auth-card .form-legal a { color:#005943 }
.password-toggle { background:#eaf4ee; color:#005943 }
.public-auth .auth-card h1,.dash-top h1 { font-weight:600 }
.signup-page .form-stack { gap:16px }

@media(max-width:980px) {
  .hx-grid { grid-template-columns:minmax(0,1fr) }
  .hx h1 { max-width:15ch }
  .hero-photo { margin:0; max-width:720px }
  .hero-photo img { aspect-ratio:16 / 9 }
}
@media(max-width:760px) {
  :root { --gutter:16px }
  .public-topbar { padding-inline:var(--gutter) }
  .public-nav.is-open { gap:4px }
  .hx-grid { padding-block:36px; gap:24px }
  .hx h1 { font-size:clamp(32px,7.5vw,48px) }
  .hero-photo { border-radius:14px }
  .site-footer-grid { gap:20px 16px }
}
@media(max-width:680px) {
  .bn-item { color:#41594f }
  .bn-item.is-active { color:#004e3b; background:#e3f2e8 }
  .workspace-topbar { padding-inline:16px }
  .dash-grid .stat-card>strong { font-size:1.25rem }
  .dash-grid .balance-card>strong { font-size:2rem }
}
@media(max-width:350px) {
  .public-topbar { padding-inline:10px }
  .public-nav-actions .button,.public-dashboard-link,.public-menu-toggle { font-size:.8125rem }
}

@media(max-width:520px) {
  .public-brand .brand-logo { width:clamp(84px,25vw,116px) }
  .public-nav-actions .button,.public-dashboard-link,.public-menu-toggle { white-space:nowrap; font-size:.8125rem; padding-inline:7px }
}

.hero-gallery-track {
  display:flex;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
}
.hero-gallery-slide { flex:0 0 100%; min-width:0; position:relative; margin:0; scroll-snap-align:start }
.hero-gallery-slide img { width:100%; object-fit:cover }
.hero-gallery-controls:not([hidden]) {
  position:absolute;
  left:10px;
  top:10px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:4px;
  color:#fff;
  background:#10241fee;
  border-radius:10px;
  font-size:.8125rem;
}
.hero-gallery-controls button {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border:1px solid #ffffff30;
  border-radius:7px;
  background:transparent;
  color:#fff;
  font-size:1.125rem;
  cursor:pointer;
}
.hero-gallery-controls button:hover { background:#ffffff22 }
.hero-gallery-controls button:focus-visible,.hero-gallery-track:focus-visible { outline:2px solid #a7e4c6; outline-offset:-2px }

/* Homepage and public page covers */
.landing-hero { background:#f0f6f1; color:var(--ink); border-bottom:1px solid var(--line) }
.landing-hero .hx-grid { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(24px,5vw,72px) }
.landing-hero h1 { color:var(--ink); max-width:14ch; font-size:clamp(34px,4.7vw,64px) }
.landing-hero .hx-lead { color:#395247 }
.landing-hero .hx-actions .button:not(.button-ghost) { background:#00644c; color:#fff }
.landing-hero .hx-actions .button:not(.button-ghost):hover { background:#004f3c }
.landing-hero .hx-actions .button-ghost { color:#005943; border-color:#a9c6b7; background:#fff }
.landing-hero .hx-actions .button-ghost:hover { background:#e0f2e7 }
.landing-hero .hero-photo { border-color:#c8dbce; box-shadow:0 20px 45px #14382a18 }
.landing-hero .hero-photo img { aspect-ratio:7 / 5 }
#referral-ranks { scroll-margin-top:90px }
.landing-explore .section-heading { margin-bottom:22px }
.landing-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(14px,2vw,25px) }
.landing-card { display:grid; grid-template-rows:auto 1fr; border:1px solid var(--line); border-radius:16px; overflow:hidden; background:#fff; box-shadow:var(--shadow-sm) }
.landing-card img { display:block; width:100%; height:auto; aspect-ratio:16 / 10; object-fit:cover }
.landing-card>div { display:flex; flex-direction:column; align-items:flex-start; padding:clamp(16px,2vw,25px) }
.landing-card h3 { margin:0 0 6px; font-weight:600; font-size:1.125rem }
.landing-card p { margin:0 0 14px; color:#445b50 }
.landing-card a { margin-top:auto; color:#005943; font-weight:600 }
.landing-card a:hover,.landing-photo-credit a { text-decoration:underline }
.landing-explore .landing-photo-credit { margin:14px 0 0; font-size:.8125rem; color:#4c6357 }
.is-public-page .section#how-it-works { padding-top:22px }
.page-cover-inner { max-width:var(--page-width); margin-inline:auto; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.9fr); align-items:center; gap:clamp(24px,5vw,70px); text-align:left }
.page-cover-copy :is(h1,p) { margin-inline:0 }
.page-cover-copy .centered-actions { justify-content:flex-start }
.page-cover-photo { margin:0 }
.page-cover-photo img { aspect-ratio:16 / 10 }
.page-cover-copy h1 { font-size:clamp(34px,4.5vw,58px); line-height:1.12 }
.workspace-main .admin-welcome { display:grid; grid-template-columns:minmax(0,1fr) minmax(100px,200px) auto; align-items:center; gap:18px }
.admin-welcome-photo { display:block; width:100%; height:92px; object-fit:cover; border-radius:12px }
.admin-welcome .admin-count { justify-self:end }
.admin-page .dash-top h1,.dash-main .dash-top h1 { text-wrap:balance }
.legal-copy { border-top:1px solid var(--line) }

@media(max-width:860px) {
  .landing-hero .hx-grid,.page-cover-inner { grid-template-columns:minmax(0,1fr) }
  .landing-hero .hero-photo { width:100%; max-width:none }
  .landing-hero .hero-photo img,.page-cover-photo img { aspect-ratio:16 / 9 }
}
@media(max-width:680px) {
  .landing-card-grid { grid-template-columns:minmax(0,1fr) }
  .page-cover-copy .centered-actions { align-items:flex-start }
  .workspace-main .admin-welcome { grid-template-columns:minmax(0,1fr) auto }
  .admin-welcome-photo { grid-column:1 / -1; grid-row:2; height:105px }
  .admin-welcome .admin-count { min-width:0 }
}

.team-summary-photo { width:100px; height:66px; object-fit:cover; border-radius:8px }
.team-photo-summary { gap:16px }
.legal-toc { border-color:var(--line); background:#f1f6f3 }
.legal-toc a { color:#005943 }
.workspace-main .table-panel .panel-head { border-bottom:1px solid var(--line); padding-bottom:14px }
.workspace-main .auth-card { box-shadow:var(--shadow-sm) }
@media(max-width:600px) {
  .team-summary-photo { width:100%; height:100px }
}

/* Plan and account guides */
.guide-header { background:#edf5ef; border-bottom:1px solid var(--line); padding:clamp(30px,6vw,70px) var(--gutter) }
.guide-header>div,.guide-content,.guide-related { width:100%; max-width:1180px; margin-inline:auto }
.guide-breadcrumb { display:flex; flex-wrap:wrap; gap:8px 16px; margin-bottom:16px; color:#285649; font-size:.875rem }
.guide-breadcrumb a + a::before { content:"/"; margin-right:16px; color:#6d8077 }
.guide-header h1 { margin:0; color:var(--ink); font-size:clamp(2rem,5vw,3.6rem); font-weight:600; line-height:1.12 }
.guide-header p { max-width:55ch; margin:12px 0 0; color:#375448 }
.guide-content { padding:clamp(22px,4vw,48px) var(--gutter) }
.is-public-page .guide-content :is(.section,.market-preview),.guide-content .plan-section { width:100%; padding:0; background:transparent }
.guide-content .rank-note { padding-inline:0 }
.guide-content .ranks-section .section-heading:empty { display:none }
.guide-content .steps-grid { margin-top:0 }
.guide-content .table-card { overflow:hidden }
.guide-related { display:flex; flex-wrap:wrap; gap:8px 18px; padding:0 var(--gutter) 38px }
.guide-related a,.guide-actions>a:not(.button) { color:#005943; font-weight:600; text-decoration:underline }
.guide-card-grid,.home-resource-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px }
.guide-card-grid a,.home-resource-links a { display:block; background:#fff; border:1px solid var(--line); padding:16px; border-radius:12px; color:var(--ink) }
.guide-card-grid a:hover,.home-resource-links a:hover { border-color:#83a996; background:#f4f9f5 }
.guide-card-grid h2 { font-size:1.0625rem; margin:0 0 7px; color:#005943 }
.guide-card-grid p { margin:0; font-size:.9375rem; color:#40594d }
.home-resource-links a { display:flex; justify-content:space-between; align-items:center; gap:10px; font-weight:600 }
.guide-procedure { max-width:760px; margin:0 }
.guide-procedure h2 { margin-top:0 }
.guide-procedure li + li { margin-top:9px }
.guide-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px; margin-top:18px }
.guide-security { padding:22px; border:1px solid var(--line); border-radius:14px; background:#f4f8f5 }
.guide-security .security-inner { padding:0; color:var(--ink) }
.guide-security .security-inner p { color:#365347 }
.guide-security .security-inner .light-link { color:#005943 }
.guide-security .security-points div { background:#fff; border-color:var(--line) }
.guide-security .security-points :is(b,span) { color:#285649 }

/* Workspace overview hierarchy */
.member-summary { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:16px; margin-bottom:18px }
.member-summary .balance-card { display:flex; flex-direction:column; justify-content:center; gap:10px; min-height:168px; padding:clamp(18px,3vw,28px) }
.member-summary .balance-card strong { font-size:clamp(2rem,4vw,3.1rem); line-height:1.1; overflow-wrap:anywhere; font-variant-numeric:tabular-nums }
.member-actions { margin:0; padding:clamp(16px,2vw,24px) }
.member-actions h2,.overview-activity>h2,.overview-queues>h2 { margin:0 0 12px; font-size:1.125rem; font-weight:600 }
.member-actions .action-row { margin:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px }
.member-actions .button { min-width:0; padding-inline:9px; text-align:center; justify-content:center }
.member-actions .button span { display:none }
.member-action-links { display:flex; gap:8px 16px; flex-wrap:wrap; margin-top:12px }
.member-action-links a,.bot-plan-link { color:#005943; font-size:.875rem; font-weight:600 }
.member-action-links a:hover { text-decoration:underline }
.overview-activity,.overview-queues { margin:20px 0 }
.overview-activity .history-shortcuts,.overview-queues .admin-stats { margin-top:0 }
.overview-queues .stat-card { border-left:3px solid #659982 }
.admin-overview .admin-overview-grid { margin-top:16px }
.bot-plan-link { display:inline-block; margin-top:16px }

@media(max-width:880px) {
  .guide-card-grid,.home-resource-links { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .member-summary { grid-template-columns:1fr }
}
@media(max-width:560px) {
  .guide-card-grid,.home-resource-links { grid-template-columns:1fr }
  .guide-procedure :is(ol,ul) { padding-left:22px }
  .member-summary .balance-card { min-height:132px }
  .member-actions .action-row .button { font-size:.875rem }
  .guide-security .security-points { grid-template-columns:1fr }
}

/* Account access, recovery and verification */
.account-auth {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.85fr);
  width:min(calc(100% - 32px),960px);
  max-width:none;
  margin:clamp(22px,5vw,62px) auto;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 14px 42px #10241f10;
}
.account-auth-workspace { width:min(calc(100% - 32px),850px); grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr) }
.account-auth .auth-card { min-width:0; margin:0; padding:clamp(22px,4vw,44px); border:0; border-radius:0; box-shadow:none }
.account-auth .auth-card h1 { margin:0; color:var(--ink); font-size:clamp(1.625rem,3vw,2.25rem); line-height:1.15 }
.account-auth .auth-heading { margin-bottom:20px }
.account-auth .auth-heading .auth-subtitle { margin:9px 0 0; color:#3c584c }
.account-auth .auth-back { display:inline-flex; align-items:center; min-height:32px; margin:0 0 14px; gap:7px }
.auth-page-icon { display:grid; place-items:center; width:44px; height:44px; margin-bottom:12px; color:#005943; background:#e4f3e9; border-radius:12px }
.account-auth svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:none }
.auth-page-icon svg { width:23px; height:23px }
.account-auth .form-stack { gap:14px }
.account-auth .field input { min-height:46px; width:100% }
.account-auth .field input[readonly] { background:#eff4f1; color:#365347 }
.auth-field-label { display:flex; align-items:center; gap:7px; color:#315c4d; margin-bottom:5px }
.auth-field-label label { margin:0; color:var(--ink); font-weight:600 }
.auth-field-label svg { width:16px; height:16px }
.password-toggle:not([hidden]) { display:inline-flex; align-items:center; justify-content:center; gap:5px; padding-inline:8px; font-size:.875rem }
.account-auth .password-field:has(.password-toggle:not([hidden])) input { padding-right:94px }
.password-toggle .password-eye-off,.password-toggle.is-visible .password-eye { display:none }
.password-toggle.is-visible .password-eye-off { display:block }
.account-auth .full-button { min-height:48px; gap:10px; text-align:center }
.account-auth .auth-switch { border-top:1px solid var(--line); padding-top:14px; margin-top:17px; text-align:center }
.account-auth .auth-switch:empty { display:none }
.account-auth .auth-switch a.button { color:#fff }
.account-auth .auth-referral { margin-bottom:4px }
.account-auth .secret-box { overflow-wrap:anywhere }
.account-auth .secret-box code { white-space:pre-wrap }
.auth-visual { position:relative; background:#123328; margin:0; min-width:0; min-height:0 }
.auth-visual img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:50% 50% }

@media(max-width:760px) {
  .account-auth,.account-auth-workspace { grid-template-columns:minmax(0,1fr); max-width:540px }
  .auth-visual { min-height:145px }
  .account-auth .auth-card { padding:22px 18px }
  .account-auth .auth-heading { margin-bottom:16px }
}
