@font-face {
  font-family: Manrope;
  src: url("./fonts/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Jakarta;
  src: url("./fonts/jakarta.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --red: #d62e36;
  --red-dark: #bb222d;
  --text: #21242a;
  --muted: #69717c;
  --line: #e5e7eb;
  --paper: #f6f7f9;
  --pink: #fff0ef;
  --green: #287450;
  --radius: 16px;
  --body: Manrope, sans-serif;
  --display: Jakarta, Manrope, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 14px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button {
  border: 0;
  background: none;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 1.2;
  letter-spacing: -0.035em;
}
h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
}
h2 {
  font-size: 39px;
  font-weight: 650;
  margin-bottom: 20px;
}
h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}
h4 {
  font-size: 15px;
  letter-spacing: -0.02em;
}
p {
  color: var(--muted);
  line-height: 1.8;
}
small,
.small {
  font-size: 12px;
}
strong,
b {
  font-weight: 700;
}
input,
select,
textarea {
  max-width: 100%;
}
svg.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.container {
  width: calc(100% - 96px);
  max-width: 1200px;
  margin: 0 auto;
}
.narrow {
  max-width: 760px;
}
.section {
  padding-top: 94px;
  padding-bottom: 94px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 38px;
}
.section-heading h2,
.section-heading h1 {
  margin-bottom: 0;
}
.section-heading p {
  margin: 0 0 14px;
  max-width: 380px;
}
.section-kicker {
  display: block;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  font-size: 13px;
}
.text-link .icon {
  width: 18px;
  height: 18px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  border-radius: 8px;
  padding: 12px 23px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    background 0.18s,
    transform 0.18s,
    color 0.18s;
  line-height: 1.4;
}
.button:active {
  transform: scale(0.98);
}
.button.primary {
  background: var(--red);
  color: #fff;
}
.button.primary:hover {
  background: var(--red-dark);
}
.button.outline {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
}
.button.outline:hover {
  background: var(--paper);
  border-color: #c8cdd4;
}
.button.light {
  background: #fff;
  color: var(--red);
}
.small-button {
  font-size: 12px;
  min-height: 42px;
  padding: 9px 15px;
}
.full-width {
  width: 100%;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  color: var(--text);
}
.icon-button:hover {
  background: var(--paper);
}
.button-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.text-button {
  font-size: 12px;
  font-weight: 700;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
}
.text-button .icon {
  width: 16px;
}
.muted-text {
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid #e79094;
  outline-offset: 4px;
}
.announcement {
  background: var(--pink);
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 11px;
  color: #83353b;
}
.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}
.announcement .icon {
  width: 14px;
  height: 14px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
}
.brand-red {
  color: var(--red);
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 2px;
  line-height: 1.7;
  font-weight: 600;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: 12px;
  font-weight: 600;
  color: #545a64;
}
.desktop-nav a:hover {
  color: var(--red);
}
.header-actions {
  display: flex;
  gap: 19px;
  align-items: center;
}
.sign-in {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.cart-button {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  border-left: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
}
.cart-count {
  position: absolute;
  top: 1px;
  right: 0;
  border-radius: 20px;
  min-width: 16px;
  height: 16px;
  font-size: 9px;
  color: #fff;
  background: var(--red);
  display: grid;
  place-items: center;
}
.mobile-menu {
  display: none;
}
.hero {
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 630px;
  padding-top: 52px;
  padding-bottom: 64px;
}
.hero-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  color: #666b73;
  margin-bottom: 22px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.hero h1 {
  font-size: 76px;
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.03;
  margin-bottom: 24px;
}
.hero-copy > p {
  font-size: 15px;
  max-width: 365px;
  line-height: 1.85;
  margin-bottom: 28px;
}
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 26px;
}
.hero-footnote {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
}
.hero-footnote .icon {
  width: 14px;
  height: 14px;
  color: var(--green);
}
.hero-footnote > span {
  width: 1px;
  height: 12px;
  background: var(--line);
  margin: 0 9px;
}
.hero-art {
  height: 485px;
  position: relative;
  background: #fff2f0;
  border-radius: 48% 48% 44% 44%;
  margin-left: 6px;
  isolation: isolate;
}
.art-orbit {
  position: absolute;
  border: 1px solid #f1d7d5;
  border-radius: 50%;
  z-index: -1;
}
.orbit-one {
  inset: 25px -5px;
  transform: rotate(-30deg);
}
.orbit-two {
  inset: -7px 32px;
  transform: rotate(30deg);
}
.wallet-preview {
  position: absolute;
  top: 29px;
  left: 50%;
  width: 302px;
  background: #fff;
  transform: translateX(-50%) rotate(-4deg);
  border: 1px solid #e9e8e8;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 20px 45px #99323412;
}
.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 26px;
}
.preview-top > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.preview-top .icon {
  color: var(--red);
  width: 16px;
  height: 16px;
}
.preview-label {
  font-size: 8px;
  background: var(--paper);
  border-radius: 4px;
  padding: 3px 6px;
  color: var(--muted);
}
.wallet-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.wallet-value {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -1.5px;
  line-height: 1.5;
}
.wallet-note {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 9px;
}
.wallet-note .icon {
  width: 13px;
  height: 13px;
}
.wallet-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 20px -2px 18px;
  padding: 15px 0;
}
.wallet-services > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.wallet-services .icon {
  width: 20px;
  height: 20px;
  color: var(--red);
}
.wallet-services span {
  font-size: 8px;
  color: var(--muted);
}
.wallet-recent > span {
  font-size: 9px;
  font-weight: 700;
}
.wallet-recent > div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
}
.activity-icon {
  display: grid;
  place-items: center;
  background: var(--paper);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--muted);
}
.activity-icon .icon {
  width: 16px;
  height: 16px;
}
.wallet-recent strong {
  font-size: 10px;
  display: block;
}
.wallet-recent small {
  font-size: 8px;
  color: var(--muted);
  display: block;
}
.wallet-recent b {
  color: var(--green);
  font-size: 10px;
  margin-left: auto;
}
.float-product {
  position: absolute;
  left: -6px;
  bottom: 48px;
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid #eee5e4;
  border-radius: 12px;
  padding: 13px 16px 13px 10px;
  box-shadow: 0 12px 32px #76313309;
  transform: rotate(3deg);
}
.float-product img {
  width: 58px;
  height: 78px;
  object-fit: contain;
  border-radius: 6px;
}
.float-product small {
  font-size: 9px;
  color: var(--muted);
}
.float-product strong {
  font-size: 12px;
  display: block;
  margin: 4px 0 8px;
}
.float-product a {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--red);
}
.float-product .icon {
  width: 14px;
  height: 14px;
}
.float-match {
  position: absolute;
  top: 104px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: white;
  border-radius: 10px;
  border: 1px solid #e9e8e8;
  box-shadow: 0 9px 22px #99323408;
  transform: rotate(3deg);
}
.match-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9f5ed;
  color: var(--green);
  height: 28px;
  width: 28px;
}
.match-icon .icon {
  height: 16px;
  width: 16px;
}
.float-match strong {
  font-size: 11px;
  display: block;
}
.float-match small {
  font-size: 9px;
  color: var(--muted);
}
.art-caption {
  position: absolute;
  bottom: 9px;
  right: 50px;
  font-size: 10px;
  color: #a06d6c;
}
.hero-copy {
  animation: hero-in 0.6s ease both;
}
.hero-art {
  animation: hero-in 0.8s 0.13s ease both;
}
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.service-section {
  background: var(--paper);
  padding: 28px 0 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-section > .container {
  display: flex;
  gap: 32px;
  align-items: center;
}
.service-intro {
  width: 180px;
  flex-shrink: 0;
}
.service-intro h2 {
  font-size: 21px;
  margin-bottom: 8px;
  line-height: 1.35;
}
.service-intro p {
  font-size: 10px;
  max-width: 165px;
  margin: 0;
  line-height: 1.7;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  flex: 1;
  gap: 10px;
}
.service-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  color: #535b65;
  border-radius: 10px;
}
.service-item > .icon {
  width: 25px;
  height: 25px;
  margin-bottom: 3px;
}
.service-item strong {
  font-size: 10px;
  white-space: nowrap;
}
.service-item small {
  font-size: 8px;
  color: #767e89;
}
.service-item.live {
  color: var(--red);
  background: #fff;
  border: 1px solid #e9e2e2;
}
.service-item.live small {
  color: var(--green);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}
.product-card {
  min-width: 0;
}
.product-image {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f4f5f7;
  border-radius: 10px;
  margin-bottom: 15px;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.product-image:hover img {
  transform: scale(1.035);
}
.product-income {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 9px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--green);
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  color: var(--muted);
  font-size: 8px;
  margin-bottom: 6px;
}
.product-name {
  font-size: 13px;
  display: block;
  font-weight: 600;
  line-height: 1.5;
  min-height: 40px;
}
.product-bottom {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-bottom strong {
  font-size: 15px;
}
.product-bottom del {
  font-size: 10px;
  color: #828791;
  margin-left: 3px;
}
.product-add {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  min-height: 44px;
  min-width: 44px;
  display: grid;
  place-items: center;
}
.product-add:hover {
  background: var(--pink);
  color: var(--red);
  border-color: #edd1d0;
}
.product-add .icon {
  width: 17px;
  height: 17px;
}
.income-section {
  padding: 75px 0;
  background: #f9fafb;
  border-block: 1px solid var(--line);
}
.income-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 29px;
}
.income-item {
  padding-right: 22px;
  border-right: 1px solid var(--line);
}
.income-item:last-child {
  border-right: 0;
  padding-right: 0;
}
.income-item > .icon {
  color: var(--red);
  width: 27px;
  height: 27px;
  margin: 10px 0 22px;
}
.income-item h3 {
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}
.income-item p {
  font-size: 11px;
  margin: 0;
}
.binary-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 85px;
  align-items: center;
}
.binary-section > div > p {
  max-width: 345px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  margin-bottom: 11px;
}
.check-list .icon {
  width: 15px;
  height: 20px;
  color: var(--green);
}
.binary-tree {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 29px;
  border-radius: 18px;
}
.tree-you {
  position: relative;
  margin: auto;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
}
.tree-you > .icon {
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px;
  color: var(--red);
}
.tree-you strong {
  font-size: 12px;
}
.tree-you span {
  font-size: 9px;
  color: var(--muted);
}
.tree-connect {
  height: 37px;
  width: 50%;
  border-top: 1px solid #cdd2d9;
  border-left: 1px solid #cdd2d9;
  border-right: 1px solid #cdd2d9;
  margin: 24px auto 0;
  position: relative;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.tree-connect:before {
  content: "";
  height: 24px;
  width: 1px;
  background: #cdd2d9;
  position: absolute;
  top: -25px;
  left: 50%;
}
.tree-legs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.tree-leg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 10px;
  min-width: 0;
}
.tree-leg > span {
  color: var(--muted);
  font-size: 10px;
}
.tree-leg > strong {
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.5;
}
.tree-leg > strong > small {
  font-size: 11px;
  letter-spacing: 0;
  color: var(--muted);
}
.mini-members {
  display: flex;
  gap: 6px;
  margin-top: 7px;
}
.mini-members > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  background: var(--pink);
  border-radius: 6px;
  color: var(--red);
}
.mini-members .icon {
  width: 13px;
  height: 13px;
}
.mini-members > span.muted {
  background: var(--paper);
  color: #c3c8ce;
}
.match-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 20px;
}
.match-result small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.match-result strong {
  font-family: var(--display);
  font-size: 22px;
}
.match-result .button {
  font-size: 9px;
  padding: 10px;
}
.match-result .icon {
  height: 15px;
  width: 15px;
}
.binary-tree > p {
  font-size: 9px;
  line-height: 1.7;
  margin: 15px 0 0;
}
.is-matched .match-result strong {
  color: var(--green);
}
.is-matched .tree-leg:last-child {
  border-color: #a4c5b0;
  animation: match 0.4s;
}
.is-matched .tree-leg:last-child .mini-members > span:first-child {
  background: var(--pink);
  color: var(--red);
}
@keyframes match {
  50% {
    transform: scale(1.04);
  }
}
.package-section {
  padding: 80px 0;
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.package-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.package-card {
  padding: 34px 37px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
}
.package-featured {
  border: 1px solid #e3a9ab;
  background: #fffbfb;
}
.package-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 18px;
}
.package-tag {
  background: var(--pink);
  color: var(--red);
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 9px;
}
.package-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}
.package-price {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 750;
  letter-spacing: -2px;
  line-height: 1.1;
}
.package-price small {
  font-family: var(--body);
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 12px;
  display: inline-block;
}
.package-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.package-numbers strong {
  font-size: 20px;
  display: block;
  line-height: 1.3;
}
.package-numbers span {
  font-size: 10px;
  color: var(--muted);
}
.package-numbers > div:last-child {
  border-left: 1px solid var(--line);
  padding-left: 25px;
}
.package-card .button {
  width: 100%;
}
.plan-note {
  font-size: 10px;
  max-width: 750px;
  text-align: center;
  margin: 23px auto 0;
}
.rank-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}
.rank-card {
  border-right: 1px solid var(--line);
  padding: 5px 15px 5px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.rank-card:last-child {
  border-right: 0;
}
.rank-emblem {
  width: 41px;
  height: 45px;
  border-radius: 12px;
  background: #f3e8e1;
  color: #997757;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
}
.rank-1 {
  color: #687888;
  background: #e8edf1;
}
.rank-2 {
  color: #ad873b;
  background: #f9f1dc;
}
.rank-3 {
  color: #73989d;
  background: #e8f3f2;
}
.rank-4 {
  color: #897da7;
  background: #efeaf5;
}
.rank-5 {
  color: var(--red);
  background: var(--pink);
}
.rank-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.rank-card > span:not(.rank-emblem) {
  font-size: 10px;
  color: var(--muted);
}
.rank-card > strong {
  font-family: var(--display);
  font-size: 20px;
  margin: 17px 0 4px;
}
.rank-card > small {
  font-size: 9px;
  color: var(--muted);
}
.join-section {
  background: var(--red);
  color: white;
  padding: 56px 0;
}
.join-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.join-inner h2 {
  font-size: 38px;
  margin-bottom: 15px;
}
.join-inner p {
  color: #ffe0e1;
  font-size: 12px;
  margin: 0;
}
.steps-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 40px;
  padding-bottom: 45px;
}
.steps-section > div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.steps-section > div > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}
.steps-section h4 {
  font-size: 12px;
  margin-bottom: 7px;
}
.steps-section p {
  font-size: 10px;
  line-height: 1.6;
  margin: 0;
}
footer {
  background: #f7f8fa;
  border-top: 1px solid var(--line);
  padding-top: 58px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr 1.1fr;
  gap: 50px;
  padding-bottom: 40px;
}
.footer-grid .brand {
  margin-bottom: 20px;
}
.footer-grid p {
  font-size: 11px;
}
.footer-grid > div > a:not(.brand) {
  font-size: 11px;
  display: block;
  color: var(--muted);
  margin-bottom: 12px;
}
.footer-grid > div:first-child > a:not(.brand) {
  color: var(--text);
  font-weight: 700;
}
.footer-grid h4 {
  font-size: 12px;
  margin: 8px 0 20px;
}
.secure-note {
  display: flex;
  gap: 7px;
  color: var(--muted);
  align-items: center;
  font-size: 9px;
}
.secure-note .icon {
  width: 15px;
  height: 15px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 23px;
  color: var(--muted);
  font-size: 9px;
}
.footer-bottom > div {
  display: flex;
  gap: 20px;
}
.breadcrumbs {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 32px;
}
.breadcrumbs .icon {
  width: 13px;
  height: 13px;
}
.shop-hero {
  padding-top: 34px;
  padding-bottom: 27px;
}
.shop-hero h1 {
  font-size: 49px;
}
.shop-income-info {
  background: var(--paper);
  display: flex;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 12px;
  max-width: 340px;
}
.shop-income-info > .icon {
  color: var(--red);
  width: 25px;
  height: 25px;
  margin-top: 3px;
}
.shop-income-info strong {
  font-size: 12px;
}
.shop-income-info p {
  font-size: 10px;
  margin: 4px 0 0;
}
.shop-body {
  padding-bottom: 75px;
}
.shop-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 0 13px;
  background: var(--paper);
  border-radius: 8px;
  width: 390px;
  max-width: 100%;
  height: 46px;
}
.search-field > .icon {
  color: var(--muted);
  width: 18px;
  height: 18px;
}
.search-field input {
  border: 0;
  background: transparent;
  outline: 0;
  font-size: 11px;
  flex: 1;
  min-width: 0;
  height: 44px;
}
.sort-label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-label select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  font-size: 11px;
  background: white;
  color: var(--text);
}
.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 24px 0 12px;
  scrollbar-width: thin;
}
.category-tabs button {
  padding: 10px 17px;
  min-height: 44px;
  white-space: nowrap;
  border-radius: 7px;
  font-size: 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: white;
}
.category-tabs button.selected {
  background: var(--text);
  border-color: var(--text);
  color: white;
}
.results-count {
  font-size: 10px;
  margin: 13px 0 22px;
}
.shop-body .product-grid {
  row-gap: 40px;
}
.shop-bottom-note {
  padding: 35px 0 0;
  margin-top: 35px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: var(--muted);
}
.shop-bottom-note > .icon {
  width: 17px;
  height: 17px;
  margin-left: 15px;
}
.shop-bottom-note > .icon:first-child {
  margin-left: 0;
}
.detail-page {
  padding-top: 30px;
  padding-bottom: 80px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.detail-image {
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  align-self: start;
}
.detail-image img {
  width: 100%;
  height: auto;
}
.detail-copy h1 {
  font-size: 40px;
  line-height: 1.2;
}
.detail-copy > p {
  font-size: 12px;
}
.detail-price {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  margin: 23px 0 5px;
}
.detail-price del {
  font-size: 17px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 10px;
}
.purchase-info {
  display: flex;
  gap: 12px;
  background: #eef6f1;
  border-radius: 8px;
  padding: 17px;
  color: var(--green);
  margin: 23px 0;
}
.purchase-info strong {
  display: block;
  font-size: 12px;
}
.purchase-info span {
  display: block;
  font-size: 10px;
  color: #558369;
}
.detail-promises {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 18px 0 27px;
  color: var(--muted);
  font-size: 10px;
}
.detail-promises span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.detail-promises .icon {
  width: 14px;
  height: 14px;
}
details {
  border-top: 1px solid var(--line);
  padding: 17px 0;
}
summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 12px;
}
details p {
  font-size: 11px;
  margin: 15px 0 0;
}
.auth-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1400px;
  margin: auto;
  min-height: 710px;
}
.auth-story {
  background: var(--paper);
  padding: 70px max(48px, calc((100vw - 1200px) / 2));
  padding-right: 70px;
}
.auth-story h1 {
  font-size: 49px;
  margin: 23px 0;
}
.auth-story > p {
  font-size: 13px;
}
.auth-benefits {
  margin: 35px 0 40px;
}
.auth-benefits > div {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}
.auth-benefits .icon {
  color: var(--red);
  width: 25px;
  height: 25px;
  margin-top: 2px;
}
.auth-benefits h3 {
  font-size: 14px;
  margin-bottom: 7px;
}
.auth-benefits p {
  font-size: 11px;
  margin: 0;
}
.auth-form {
  width: 100%;
  max-width: 475px;
  margin: auto;
  padding: 60px 25px;
}
.auth-title h2 {
  font-size: 30px;
  margin-bottom: 12px;
}
.auth-title p {
  font-size: 11px;
  margin-bottom: 26px;
}
.field {
  display: block;
  margin-bottom: 18px;
  min-width: 0;
}
.field > span {
  display: block;
  font-size: 11px;
  font-weight: 650;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  border: 1px solid #dce0e5;
  border-radius: 7px;
  background: #fff;
  padding: 12px 13px;
  min-height: 46px;
  color: var(--text);
  font-size: 12px;
  outline: 0;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px #d62e3610;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #9ba1a9;
  font-size: 11px;
}
.field-hint {
  font-size: 10px;
  margin-top: -12px;
  margin-bottom: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 10px;
  margin: 5px 0 20px;
  color: var(--muted);
}
.checkbox-label input {
  accent-color: var(--red);
  width: 16px;
  height: 16px;
  margin: 1px 0;
  flex-shrink: 0;
}
.checkbox-label a {
  color: var(--red);
}
.form-error {
  font-size: 11px;
  color: #b62530;
  margin: 8px 0 15px;
}
.form-error:empty {
  display: none;
}
.auth-switch {
  font-size: 11px;
  text-align: center;
  margin: 24px 0 0;
}
.auth-switch a,
.forgot-link {
  color: var(--red);
  font-weight: 650;
}
.forgot-link {
  display: block;
  text-align: right;
  font-size: 10px;
  margin: -7px 0 22px;
}
.panel {
  padding: 27px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 22px;
  min-width: 0;
}
.panel h3 {
  font-size: 17px;
}
.panel > p {
  font-size: 12px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 14px;
}
.panel-heading h3 {
  margin: 0;
}
.checkout-page {
  padding-top: 34px;
  padding-bottom: 65px;
}
.checkout-page > h1 {
  font-size: 39px;
  margin-bottom: 34px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 35px;
}
.checkout-grid form > h3:not(:first-child) {
  margin-top: 25px;
}
.order-summary {
  align-self: start;
  background: #fafbfc;
}
.order-summary h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.order-summary h3 small {
  color: var(--muted);
  font-weight: 400;
}
.summary-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.summary-item img {
  border-radius: 7px;
  object-fit: cover;
  width: 58px;
  height: 58px;
}
.summary-item > div {
  flex: 1;
}
.summary-item strong {
  font-size: 10px;
  display: block;
  line-height: 1.6;
}
.summary-item small {
  font-size: 10px;
  color: var(--muted);
}
.summary-item > b {
  font-size: 12px;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 0 15px;
}
.summary-total strong {
  font-size: 23px;
}
.summary-income {
  font-size: 10px;
  color: var(--green);
  display: flex;
  gap: 9px;
}
.summary-income .icon {
  width: 17px;
  height: 17px;
}
.payment-instructions {
  background: var(--paper);
  display: flex;
  gap: 12px;
  padding: 17px;
  border-radius: 8px;
  margin-bottom: 19px;
  align-items: flex-start;
}
.payment-instructions > .icon {
  color: var(--red);
  width: 22px;
  height: 22px;
  margin-top: 3px;
}
.payment-instructions strong {
  font-size: 11px;
}
.payment-instructions p {
  font-size: 10px;
  margin: 4px 0 0;
  white-space: pre-line;
}
.account-layout {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 35px;
  padding-top: 36px;
  padding-bottom: 70px;
}
.account-sidebar {
  border: 1px solid var(--line);
  border-radius: 12px;
  align-self: start;
  overflow: hidden;
}
.member-identity {
  padding: 23px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.avatar {
  background: var(--pink);
  color: var(--red);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 5px;
}
.member-identity strong {
  font-size: 13px;
}
.member-identity small {
  font-size: 10px;
  color: var(--muted);
}
.member-identity .status-badge {
  margin-top: 7px;
}
.account-sidebar nav {
  padding: 12px;
}
.account-sidebar nav > button,
.account-sidebar nav > a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 11px 12px;
  border-radius: 6px;
  text-align: left;
  width: 100%;
  color: var(--muted);
  font-size: 11px;
}
.account-sidebar nav .icon {
  width: 18px;
  height: 18px;
}
.account-sidebar nav > button.selected {
  background: var(--pink);
  color: var(--red);
  font-weight: 700;
}
.account-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.account-heading h1 {
  font-size: 33px;
  margin: 0;
}
.account-heading .section-kicker {
  margin-bottom: 9px;
  font-size: 11px;
}
.account-heading .button {
  font-size: 11px;
  min-height: 44px;
  padding: 11px 17px;
}
.activation-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 19px 22px;
  background: var(--pink);
  border: 1px solid #f3dbd9;
  border-radius: 10px;
  margin-bottom: 23px;
}
.activation-banner > div {
  display: flex;
  gap: 13px;
  align-items: center;
}
.activation-banner .icon {
  color: var(--red);
  width: 22px;
}
.activation-banner strong {
  font-size: 12px;
}
.activation-banner p {
  margin: 3px 0 0;
  font-size: 10px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}
.stat-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.stat-card > span {
  font-size: 10px;
  color: var(--muted);
}
.stat-card > strong {
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -1px;
  margin: 10px 0 8px;
  overflow-wrap: anywhere;
}
.stat-card > small {
  font-size: 9px;
  color: var(--muted);
}
.stat-card.red {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.stat-card.red > span {
  color: #f8d9db;
}
.stat-card.red > button {
  color: white;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  text-align: left;
}
.stat-card.red > button .icon {
  width: 15px;
  height: 15px;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.team-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  padding: 8px 0 24px;
  gap: 20px;
}
.team-summary > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
}
.team-summary .icon {
  color: var(--red);
  width: 24px;
  height: 24px;
}
.team-summary span {
  font-size: 10px;
  color: var(--muted);
}
.team-summary strong {
  font-size: 25px;
  letter-spacing: -1px;
}
.team-summary small {
  font-size: 9px;
  color: var(--muted);
}
.referral-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 19px;
}
.referral-share > span {
  font-size: 9px;
  color: var(--muted);
}
.referral-share strong {
  display: block;
  font-size: 11px;
  color: var(--text);
}
.referral-share .button {
  font-size: 9px;
  min-height: 36px;
  padding: 9px;
}
.ledger-list > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.ledger-list > div:last-child {
  border-bottom: 0;
}
.ledger-list > div > div {
  flex: 1;
  min-width: 0;
}
.ledger-list strong {
  font-size: 10px;
  display: block;
  overflow-wrap: anywhere;
}
.ledger-list small {
  font-size: 9px;
  color: var(--muted);
  display: block;
}
.ledger-list b {
  font-size: 10px;
  white-space: nowrap;
}
.positive {
  color: var(--green);
}
.quiet-empty {
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  padding: 55px 10px;
}
.quiet-empty small {
  font-size: 9px;
}
.rank-next > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 10px;
}
.rank-next span {
  font-size: 11px;
  color: var(--muted);
}
progress {
  display: block;
  width: 100%;
  height: 7px;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  accent-color: var(--red);
}
progress::-webkit-progress-bar {
  background: var(--paper);
}
progress::-webkit-progress-value {
  background: var(--red);
}
.rank-next p {
  font-size: 11px;
  margin: 10px 0 0;
}
.wallet-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}
.wallet-layout .panel h2 {
  font-size: 36px;
}
.wallet-layout .panel h3 {
  margin-top: 25px;
}
.wallet-layout .panel > .section-kicker {
  font-size: 11px;
}
.table-scroll {
  overflow: auto;
  width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  text-align: left;
}
th {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  padding: 13px 13px 13px 0;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 13px 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 11px;
  min-width: 90px;
}
td small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.8;
}
td strong {
  font-size: 11px;
}
td .button {
  font-size: 9px;
  min-height: 35px;
  padding: 8px 10px;
}
td .status-badge {
  font-size: 9px;
}
.status-badge {
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  background: #f1f2f5;
  color: var(--muted);
  line-height: 1.5;
}
.status-active,
.status-approved,
.status-paid,
.status-completed {
  background: #eaf5ef;
  color: var(--green);
}
.status-pending,
.status-shipped {
  background: #fff5de;
  color: #8a6a22;
}
.status-rejected,
.status-cancelled {
  background: var(--pink);
  color: var(--red);
}
.real-tree {
  max-width: 460px;
  margin: 30px auto;
}
.real-tree .tree-leg strong {
  font-size: 15px;
  letter-spacing: 0;
  text-align: center;
}
.real-tree .tree-leg small {
  font-size: 10px;
  color: var(--muted);
}
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.order-row:last-child {
  border: 0;
}
.order-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.account-content .package-card {
  padding: 25px;
}
.account-content .package-price {
  font-size: 32px;
}
.account-content .package-price small {
  font-size: 9px;
}
.account-content .package-grid {
  margin-bottom: 25px;
}
.account-details {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 15px;
  font-size: 12px;
  border-block: 1px solid var(--line);
  padding: 20px 0;
  margin-bottom: 30px;
}
.account-details dt {
  color: var(--muted);
}
.account-details dd {
  margin: 0;
}
.narrow-panel {
  max-width: 550px;
}
.admin-page {
  padding-top: 45px;
  padding-bottom: 65px;
}
.admin-tabs {
  margin-bottom: 10px;
  padding-top: 5px;
}
.admin-tabs small {
  font-size: 9px;
  padding: 2px 5px;
  background: #eeeeee;
  color: var(--text);
  border-radius: 3px;
  margin-left: 4px;
}
.admin-product-form {
  display: grid;
  grid-template-columns: 55px 3fr 1fr 1fr 0.7fr 0.7fr;
  gap: 15px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.admin-product-form .field,
.admin-product-form .checkbox-label {
  margin-bottom: 0;
}
.admin-product-form .field input {
  font-size: 10px;
  padding: 9px;
}
.admin-product-form img {
  border-radius: 7px;
  width: 55px;
  height: 55px;
  object-fit: cover;
}
.admin-product-form > .form-error {
  grid-column: 2/-1;
}
.package-admin-form {
  border-top: 1px solid var(--line);
  padding: 25px 0;
}
.spaced-heading {
  margin-top: 45px;
}
.message-row {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.message-row > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.message-row h4 {
  margin-bottom: 10px;
}
.message-row span,
.message-row small {
  font-size: 10px;
  color: var(--muted);
}
.message-row p {
  font-size: 12px;
  white-space: pre-wrap;
}
.contact-page {
  padding-top: 75px;
  padding-bottom: 65px;
}
.contact-page h1 {
  font-size: 65px;
}
.contact-page .section-heading {
  margin-bottom: 45px;
}
.contact-page .section-heading p {
  margin-top: 24px;
  font-size: 13px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 90px;
}
.contact-method {
  display: flex;
  gap: 20px;
  margin: 5px 0 36px;
}
.contact-method > .icon {
  color: var(--red);
  width: 24px;
  height: 24px;
  margin-top: 3px;
}
.contact-method h3 {
  font-size: 17px;
  margin-bottom: 12px;
}
.contact-method p {
  font-size: 12px;
}
.contact-method a {
  display: block;
  font-size: 14px;
  margin: 9px 0;
}
.contact-method a.text-link {
  font-size: 11px;
  display: flex;
  color: var(--red);
  margin-top: 18px;
}
.prose-page {
  padding-top: 70px;
  padding-bottom: 80px;
}
.prose-page h1 {
  font-size: 49px;
}
.prose-page h2 {
  font-size: 22px;
  margin-top: 35px;
}
.prose-page p {
  font-size: 13px;
}
.prose-page .lead {
  font-size: 18px;
}
.empty-state {
  text-align: center;
  padding: 55px 20px;
}
.empty-state > .icon {
  height: 42px;
  width: 42px;
  color: #b0b6be;
  margin-bottom: 25px;
}
.empty-state h2 {
  font-size: 26px;
  margin-bottom: 14px;
}
.empty-state p {
  font-size: 12px;
  margin-bottom: 25px;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: #18212c55;
  z-index: 50;
  animation: fade-in 0.2s;
}
.drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100dvh;
  width: 450px;
  max-width: 100%;
  background: #fff;
  z-index: 51;
  display: flex;
  flex-direction: column;
  padding: 26px;
  box-shadow: -10px 0 35px #18212c15;
  animation: drawer-in 0.25s ease;
}
.drawer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 7px;
}
.drawer-heading h2 {
  font-size: 24px;
  margin: 0;
}
.cart-items {
  overflow-y: auto;
  flex: 1;
}
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}
.cart-item img {
  border-radius: 9px;
  width: 85px;
  height: 85px;
  object-fit: cover;
}
.cart-item > div {
  flex: 1;
}
.cart-item a {
  font-size: 12px;
  font-weight: 650;
  display: block;
  line-height: 1.5;
}
.cart-item strong {
  display: block;
  font-size: 13px;
  margin: 8px 0;
}
.cart-item > .icon-button {
  min-width: 30px;
  min-height: 30px;
}
.cart-item > .icon-button .icon {
  width: 16px;
  height: 16px;
}
.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  width: max-content;
}
.quantity-control button {
  min-width: 40px;
  min-height: 38px;
  display: grid;
  place-items: center;
}
.quantity-control .icon {
  width: 14px;
  height: 14px;
}
.quantity-control span {
  width: 22px;
  text-align: center;
  font-size: 11px;
}
.cart-footer {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 20px;
}
.cart-footer > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-footer strong {
  font-size: 24px;
  letter-spacing: -1px;
}
.cart-footer p {
  font-size: 10px;
  margin: 10px 0 18px;
}
.cart-footer > .text-button {
  display: block;
  margin: 12px auto 0;
}
.overlay-open {
  overflow: hidden;
}
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 20px 0 30px;
}
.mobile-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 460px;
  max-width: calc(100% - 32px);
  background: #fff;
  border-radius: 16px;
  z-index: 51;
  padding: 35px;
  box-shadow: 0 15px 50px #0002;
}
.modal h2 {
  font-size: 24px;
  margin: 15px 0;
}
.modal p {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
}
.modal .button-group {
  justify-content: flex-end;
  margin-top: 25px;
}
.initial-loader {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.initial-loader p {
  font-size: 13px;
  margin-top: 20px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 15px);
  background: #26332d;
  color: #fff;
  border-radius: 9px;
  padding: 14px 22px;
  max-width: calc(100vw - 32px);
  font-size: 12px;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  z-index: 70;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes drawer-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 1450px) {
  .hero-grid {
    min-height: 690px;
  }
  .hero h1 {
    font-size: 82px;
  }
  .hero-art {
    height: 510px;
  }
  .wallet-preview {
    top: 42px;
  }
  .float-product {
    bottom: 55px;
  }
  .float-match {
    top: 117px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .desktop-nav {
    gap: 18px;
  }
  .hero h1 {
    font-size: 67px;
  }
  .hero-grid {
    gap: 25px;
    min-height: 600px;
  }
  .hero-art {
    height: 450px;
  }
  .float-match {
    right: -7px;
    padding: 11px;
    top: 95px;
  }
  .float-product {
    left: -13px;
    padding: 10px;
    bottom: 28px;
  }
  .float-product img {
    width: 46px;
  }
  .art-caption {
    bottom: -2px;
  }
  .service-section > .container {
    gap: 15px;
  }
  .service-intro {
    width: 155px;
  }
  .income-grid {
    gap: 20px;
  }
  .income-item {
    padding-right: 10px;
  }
  .binary-section {
    gap: 45px;
  }
  .footer-grid {
    gap: 30px;
  }
  .package-price small {
    display: block;
    margin: 8px 0 0;
  }
  .auth-story {
    padding: 60px 40px;
  }
  .account-layout {
    gap: 24px;
    grid-template-columns: 180px 1fr;
  }
  .stat-card {
    padding: 16px;
  }
  .stat-card > strong {
    font-size: 22px;
  }
  .account-heading h1 {
    font-size: 29px;
  }
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .match-result {
    flex-wrap: wrap;
  }
  .match-result .button {
    margin-left: auto;
  }
  .rank-strip {
    gap: 11px;
  }
  .rank-card > strong {
    font-size: 17px;
  }
  .contact-grid {
    gap: 50px;
  }
  .product-detail {
    gap: 40px;
  }
  .admin-product-form {
    gap: 10px;
    grid-template-columns: 50px 2fr 1fr 1fr 0.7fr 0.7fr;
  }
}
@media (max-width: 850px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: grid;
    place-items: center;
  }
  .hero-grid {
    min-height: 590px;
    gap: 20px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-buttons {
    gap: 18px;
    flex-wrap: wrap;
  }
  .hero-art {
    height: 415px;
  }
  .wallet-preview {
    width: 258px;
    padding: 18px;
    top: 26px;
  }
  .preview-top {
    margin-bottom: 20px;
  }
  .wallet-value {
    font-size: 30px;
  }
  .wallet-services {
    margin: 16px 0 13px;
  }
  .float-match {
    top: 74px;
    right: -15px;
    max-width: 170px;
    padding: 10px;
  }
  .float-match strong {
    font-size: 9px;
  }
  .float-match small {
    font-size: 8px;
  }
  .match-icon {
    height: 24px;
    width: 24px;
  }
  .float-product {
    bottom: 13px;
    left: -20px;
  }
  .float-product strong {
    font-size: 10px;
  }
  .float-product small {
    font-size: 8px;
  }
  .art-caption {
    bottom: -22px;
    font-size: 9px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero-footnote {
    font-size: 9px;
  }
  .service-section > .container {
    display: block;
  }
  .service-intro {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
  }
  .service-intro h2 {
    font-size: 20px;
    margin: 0;
  }
  .service-intro h2 br {
    display: none;
  }
  .service-intro p {
    max-width: unset;
  }
  .section-heading {
    gap: 25px;
  }
  .section-heading h2 {
    font-size: 33px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .product-grid {
    gap: 17px;
  }
  .product-name {
    font-size: 11px;
    min-height: 35px;
  }
  .product-meta > span:last-child {
    display: none;
  }
  .income-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 35px;
  }
  .income-item:nth-child(3) {
    border-right: 0;
  }
  .income-section {
    padding: 60px 0;
  }
  .binary-section {
    grid-template-columns: 1fr 1.1fr;
    gap: 25px;
  }
  .binary-section h2 {
    font-size: 32px;
  }
  .binary-section > div > p {
    font-size: 12px;
  }
  .binary-section .check-list li {
    font-size: 10px;
  }
  .binary-tree {
    padding: 20px;
  }
  .tree-legs {
    gap: 15px;
  }
  .match-result .button {
    width: 100%;
  }
  .match-result > div {
    flex: 1;
  }
  .package-card {
    padding: 26px;
  }
  .rank-strip {
    grid-template-columns: repeat(6, 155px);
    overflow: auto;
    padding-bottom: 15px;
  }
  .rank-card > strong {
    font-size: 21px;
  }
  .steps-section {
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 25px;
  }
  .footer-note {
    grid-column: 1/-1;
    max-width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 15px;
  }
  .footer-note h4 {
    margin-bottom: 12px;
  }
  .footer-note p {
    max-width: 600px;
  }
  .footer-bottom > span:last-child {
    display: none;
  }
  .auth-story {
    padding: 50px 32px;
  }
  .auth-story h1 {
    font-size: 37px;
  }
  .auth-form {
    padding: 45px 27px;
  }
  .auth-title h2 {
    font-size: 25px;
  }
  .account-layout {
    display: block;
  }
  .account-sidebar {
    margin-bottom: 25px;
  }
  .member-identity {
    display: none;
  }
  .account-sidebar nav {
    display: flex;
    overflow-x: auto;
    padding: 7px;
    gap: 5px;
  }
  .account-sidebar nav > button,
  .account-sidebar nav > a {
    white-space: nowrap;
    width: auto;
    flex-shrink: 0;
    font-size: 10px;
    padding: 11px 13px;
    gap: 6px;
  }
  .account-sidebar nav .icon {
    width: 16px;
  }
  .dashboard-columns {
    grid-template-columns: 1fr 1fr;
  }
  .wallet-layout {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    gap: 13px;
  }
  .stat-card > strong {
    font-size: 24px;
  }
  .shop-hero h1 {
    font-size: 42px;
  }
  .product-detail {
    gap: 28px;
  }
  .detail-copy h1 {
    font-size: 30px;
  }
  .contact-grid {
    gap: 40px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .admin-product-form {
    grid-template-columns: 50px 2fr 1fr 1fr;
  }
  .admin-product-form .checkbox-label {
    grid-column: 2;
  }
  .admin-product-form .button {
    grid-column: 4;
  }
  .admin-page .account-heading h1 {
    font-size: 30px;
  }
  .shop-bottom-note {
    flex-wrap: wrap;
    line-height: 1.8;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }
  .announcement {
    font-size: 9px;
    height: 30px;
    gap: 8px;
  }
  .announcement .icon {
    height: 12px;
    width: 12px;
  }
  .header-inner {
    height: 68px;
    gap: 12px;
  }
  .brand {
    font-size: 18px;
    gap: 8px;
  }
  .brand img {
    width: 33px;
    height: 33px;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 1.7px;
  }
  .header-actions {
    gap: 5px;
  }
  .sign-in {
    min-width: 40px;
    min-height: 44px;
    justify-content: center;
  }
  .sign-in > span {
    display: none;
  }
  .cart-button {
    border-left: 0;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 33px;
    padding-top: 39px;
    padding-bottom: 52px;
    align-items: stretch;
  }
  .hero-status {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: clamp(39px, 12.3vw, 54px);
    letter-spacing: -0.055em;
    line-height: 1.08;
    margin-bottom: 20px;
  }
  .hero-copy > p {
    font-size: 13px;
    max-width: 315px;
    margin-bottom: 24px;
  }
  .hero-buttons {
    gap: 23px;
    flex-wrap: nowrap;
  }
  .hero-buttons > .button {
    font-size: 11px;
    padding: 12px 17px;
    min-height: 47px;
    gap: 10px;
  }
  .hero-buttons > .text-link {
    font-size: 10px;
    gap: 3px;
  }
  .hero-footnote {
    font-size: 10px;
    margin-top: 21px;
    gap: 5px;
  }
  .hero-art {
    width: 100%;
    max-width: 400px;
    align-self: center;
    margin: 8px 0 0;
    height: 395px;
    border-radius: 46%;
  }
  .wallet-preview {
    top: 12px;
    width: 260px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
  }
  .float-match {
    top: 80px;
    right: -3px;
    padding: 10px;
    max-width: 170px;
  }
  .float-product {
    bottom: 0;
    left: -3px;
    padding: 10px;
    gap: 10px;
  }
  .float-product img {
    width: 43px;
    height: 61px;
  }
  .float-product strong {
    font-size: 10px;
  }
  .art-caption {
    bottom: -27px;
    right: 29px;
    font-size: 9px;
  }
  .service-section {
    padding: 22px 0;
  }
  .service-section > .container {
    width: 100%;
    overflow: hidden;
  }
  .service-intro {
    padding: 0 20px;
    gap: 10px;
    margin-bottom: 19px;
  }
  .service-intro h2 {
    font-size: 17px;
    max-width: 165px;
  }
  .service-intro p {
    font-size: 9px;
    max-width: 110px;
  }
  .service-list {
    display: flex;
    overflow: auto;
    gap: 13px;
    padding: 0 20px 4px;
    scrollbar-width: none;
  }
  .service-item {
    min-width: 90px;
    padding: 13px 11px;
    border: 1px solid #e8eaee;
    background: #fff;
    gap: 5px;
  }
  .service-item > .icon {
    width: 23px;
    height: 23px;
  }
  .service-item strong {
    font-size: 9px;
  }
  .service-item small {
    font-size: 8px;
  }
  .section {
    padding-top: 55px;
    padding-bottom: 55px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading h2 {
    font-size: 32px;
    line-height: 1.16;
  }
  .section-kicker {
    font-size: 11px;
    margin-bottom: 13px;
  }
  .section-heading > div + div,
  .section-heading > p {
    margin-top: 21px;
  }
  .section-heading p {
    font-size: 11px;
    line-height: 1.8;
  }
  .section-heading .text-link {
    font-size: 11px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 15px;
  }
  .product-image {
    border-radius: 8px;
    margin-bottom: 11px;
  }
  .product-income {
    bottom: 8px;
    left: 7px;
    font-size: 8px;
    padding: 4px 6px;
  }
  .product-meta {
    font-size: 8px;
    margin-bottom: 5px;
  }
  .product-name {
    font-size: 11px;
    min-height: 36px;
  }
  .product-bottom {
    margin-top: 7px;
  }
  .product-bottom strong {
    font-size: 13px;
  }
  .product-bottom del {
    font-size: 9px;
    margin-left: 1px;
  }
  .product-add {
    min-height: 44px;
    min-width: 44px;
    width: 44px;
    height: 44px;
  }
  .product-add .icon {
    width: 15px;
    height: 15px;
  }
  .income-section {
    padding: 52px 0;
  }
  .income-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .income-item,
  .income-item:last-child {
    position: relative;
    padding: 18px 0 18px 48px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .income-item:last-child {
    border-bottom: 0;
  }
  .income-item > .icon {
    position: absolute;
    left: 0;
    top: 22px;
    width: 25px;
    height: 25px;
    margin: 0;
  }
  .income-item h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .income-item p {
    font-size: 11px;
    max-width: 310px;
  }
  .binary-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .binary-section > div > p {
    font-size: 12px;
    max-width: 350px;
  }
  .binary-section .check-list li {
    font-size: 11px;
  }
  .binary-tree {
    padding: 24px;
  }
  .tree-connect {
    height: 29px;
  }
  .tree-legs {
    gap: 22px;
  }
  .match-result .button {
    width: auto;
    margin-left: auto;
  }
  .match-result > div {
    flex: unset;
  }
  .match-result .button {
    font-size: 8px;
    padding: 9px;
  }
  .match-result strong {
    font-size: 20px;
  }
  .binary-tree > p {
    font-size: 9px;
  }
  .package-section {
    padding: 52px 0;
  }
  .package-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .package-card {
    padding: 25px;
  }
  .package-price {
    font-size: 38px;
  }
  .package-price small {
    display: inline-block;
    margin: 0 0 0 10px;
    font-size: 10px;
  }
  .package-top {
    font-size: 10px;
  }
  .package-numbers {
    padding: 18px 0;
  }
  .package-numbers strong {
    font-size: 20px;
  }
  .package-card .check-list li {
    font-size: 11px;
  }
  .plan-note {
    font-size: 9px;
    line-height: 1.8;
    text-align: left;
  }
  .rank-strip {
    grid-template-columns: repeat(6, 145px);
    gap: 18px;
    margin-right: -20px;
  }
  .rank-card {
    padding-right: 15px;
  }
  .join-section {
    padding: 38px 0;
  }
  .join-inner {
    display: block;
  }
  .join-inner h2 {
    font-size: 29px;
  }
  .join-inner p {
    font-size: 11px;
  }
  .join-inner .button {
    margin-top: 24px;
    font-size: 11px;
  }
  .steps-section {
    grid-template-columns: 1fr 1fr;
    padding-top: 30px;
    padding-bottom: 32px;
    gap: 25px 15px;
  }
  .steps-section > div {
    gap: 10px;
  }
  .steps-section > div > span {
    width: 23px;
    height: 23px;
    font-size: 9px;
  }
  .steps-section h4 {
    font-size: 11px;
    line-height: 1.45;
    margin-bottom: 5px;
  }
  .steps-section p {
    font-size: 9px;
  }
  footer {
    padding-top: 35px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 27px 25px;
    padding-bottom: 25px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid .brand {
    margin-bottom: 16px;
  }
  .footer-grid > div:first-child > p {
    margin-bottom: 10px;
    font-size: 11px;
  }
  .footer-grid h4 {
    margin: 5px 0 16px;
  }
  .footer-grid > div > a:not(.brand) {
    font-size: 11px;
    margin-bottom: 11px;
  }
  .footer-grid .small {
    font-size: 10px;
  }
  .footer-note {
    padding-top: 18px;
  }
  .footer-note p {
    font-size: 10px;
  }
  .footer-bottom {
    gap: 12px;
    font-size: 8px;
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: 20px;
  }
  .footer-bottom > div {
    gap: 15px;
  }
  .shop-hero {
    padding-top: 25px;
    padding-bottom: 10px;
  }
  .breadcrumbs {
    font-size: 10px;
    margin-bottom: 26px;
    overflow: hidden;
  }
  .shop-hero h1 {
    font-size: 39px;
  }
  .shop-income-info {
    margin-top: 23px;
    padding: 14px;
    max-width: 100%;
    gap: 11px;
  }
  .shop-income-info p br {
    display: none;
  }
  .shop-income-info strong {
    font-size: 11px;
  }
  .shop-income-info p {
    font-size: 10px;
  }
  .shop-income-info .icon {
    width: 21px;
    height: 21px;
  }
  .shop-hero .section-heading {
    margin-bottom: 16px;
  }
  .shop-tools {
    align-items: stretch;
    gap: 12px;
    flex-direction: column;
    padding-top: 20px;
  }
  .search-field {
    width: 100%;
    height: 44px;
  }
  .sort-label {
    justify-content: space-between;
    font-size: 10px;
  }
  .sort-label select {
    flex: 1;
    max-width: 190px;
    font-size: 10px;
    padding: 8px;
  }
  .category-tabs {
    gap: 8px;
    padding-top: 18px;
    margin-right: -20px;
    padding-right: 20px;
  }
  .category-tabs button {
    font-size: 10px;
    padding: 9px 13px;
    min-height: 40px;
  }
  .results-count {
    font-size: 10px;
    margin-bottom: 19px;
  }
  .shop-body .product-grid {
    row-gap: 29px;
  }
  .shop-body {
    padding-bottom: 45px;
  }
  .shop-bottom-note {
    font-size: 9px;
    display: block;
    padding-top: 25px;
    margin-top: 25px;
    line-height: 2;
  }
  .shop-bottom-note .icon {
    width: 13px;
    height: 13px;
    margin-left: 0;
    margin-right: 4px;
  }
  .shop-bottom-note .icon:nth-child(2) {
    margin-left: 8px;
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 29px;
  }
  .detail-copy h1 {
    font-size: 32px;
  }
  .detail-copy > p {
    font-size: 12px;
  }
  .detail-promises {
    font-size: 9px;
  }
  .detail-page {
    padding-bottom: 45px;
  }
  .auth-page {
    display: flex;
    flex-direction: column;
  }
  .auth-story {
    padding: 30px 20px;
  }
  .auth-story h1 {
    font-size: 32px;
    margin: 12px 0;
  }
  .auth-story h1 br {
    display: none;
  }
  .auth-story > p {
    font-size: 11px;
    margin-bottom: 5px;
  }
  .auth-story > p br {
    display: none;
  }
  .auth-story > .section-kicker {
    font-size: 10px;
    margin: 0;
  }
  .auth-benefits,
  .auth-story > .text-link {
    display: none;
  }
  .auth-form {
    padding: 32px 20px 45px;
    max-width: 460px;
  }
  .auth-title h2 {
    font-size: 27px;
  }
  .auth-title p {
    font-size: 11px;
  }
  .field {
    margin-bottom: 17px;
  }
  .field > span {
    font-size: 11px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    padding: 11px;
    min-height: 46px;
  }
  .form-grid {
    gap: 0 12px;
  }
  .checkbox-label {
    font-size: 10px;
  }
  .checkout-page {
    padding-top: 25px;
    padding-bottom: 40px;
  }
  .checkout-page > h1 {
    font-size: 32px;
    margin-bottom: 27px;
  }
  .checkout-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 5px;
  }
  .panel {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  .panel h3 {
    font-size: 16px;
  }
  .order-summary {
    width: 100%;
    padding-bottom: 20px;
  }
  .summary-item {
    padding: 12px 0;
  }
  .summary-item img {
    width: 49px;
    height: 49px;
  }
  .summary-item strong {
    font-size: 10px;
  }
  .summary-total {
    padding: 15px 0 10px;
  }
  .summary-total strong {
    font-size: 20px;
  }
  .payment-instructions {
    padding: 14px;
  }
  .payment-instructions p {
    font-size: 10px;
  }
  .account-layout {
    padding-top: 22px;
    padding-bottom: 40px;
  }
  .account-sidebar {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    position: sticky;
    top: 68px;
    background: white;
    z-index: 15;
  }
  .account-sidebar nav {
    padding: 8px 15px;
  }
  .account-sidebar nav > button,
  .account-sidebar nav > a {
    font-size: 10px;
    min-height: 40px;
    padding: 8px 10px;
  }
  .account-heading {
    gap: 15px;
    margin-bottom: 23px;
  }
  .account-heading h1 {
    font-size: 27px;
  }
  .account-heading .section-kicker {
    font-size: 10px;
  }
  .account-heading .button {
    font-size: 9px;
    padding: 9px 11px;
    gap: 6px;
  }
  .account-heading .button .icon {
    width: 16px;
    height: 16px;
  }
  .activation-banner {
    display: block;
    padding: 16px;
  }
  .activation-banner strong {
    font-size: 11px;
  }
  .activation-banner p {
    font-size: 10px;
  }
  .activation-banner .button {
    margin: 15px 0 0 34px;
    font-size: 10px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }
  .stat-card {
    padding: 17px;
  }
  .stat-card > span {
    font-size: 10px;
  }
  .stat-card > strong {
    font-size: 25px;
    margin: 9px 0;
  }
  .stat-card > small {
    font-size: 9px;
  }
  .dashboard-columns,
  .wallet-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .team-summary {
    padding-top: 7px;
    padding-bottom: 19px;
  }
  .referral-share .button {
    font-size: 10px;
    padding: 10px;
    min-height: 42px;
  }
  .ledger-list strong {
    font-size: 10px;
  }
  .ledger-list b {
    font-size: 11px;
  }
  .ledger-list small {
    font-size: 9px;
  }
  .ledger-list > .activity-icon {
    width: 30px;
    height: 30px;
  }
  .quiet-empty {
    padding: 34px 10px;
  }
  .account-content .package-card {
    padding: 23px;
  }
  .account-content .package-price {
    font-size: 35px;
  }
  .account-content .package-price small {
    font-size: 10px;
  }
  .order-row {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
  }
  .order-row > div:first-child {
    flex-basis: 60%;
  }
  .order-row small {
    font-size: 9px;
  }
  .real-tree .tree-leg {
    padding: 15px 8px;
  }
  .real-tree .tree-leg strong {
    font-size: 13px;
  }
  .account-details {
    font-size: 11px;
    gap: 13px;
  }
  .account-details dd {
    overflow-wrap: anywhere;
  }
  .admin-page {
    padding-top: 30px;
    padding-bottom: 45px;
  }
  .admin-page .account-heading {
    display: block;
  }
  .admin-page .account-heading h1 {
    font-size: 29px;
  }
  .admin-page .account-heading .button-group {
    margin-top: 18px;
  }
  .admin-tabs {
    padding-top: 0;
  }
  .admin-page .panel {
    padding: 17px;
  }
  .admin-product-form {
    grid-template-columns: 50px 1fr 1fr;
    gap: 12px;
  }
  .admin-product-form > .field:nth-of-type(1) {
    grid-column: 2/-1;
  }
  .admin-product-form > .field:nth-of-type(2) {
    grid-column: 2;
  }
  .admin-product-form > .field:nth-of-type(3) {
    grid-column: 3;
  }
  .admin-product-form > .checkbox-label {
    grid-column: 2;
  }
  .admin-product-form > .button {
    grid-column: 3;
  }
  .admin-product-form .field input {
    font-size: 16px;
  }
  .admin-product-form img {
    align-self: start;
    margin-top: 22px;
  }
  .contact-page {
    padding-top: 42px;
    padding-bottom: 45px;
  }
  .contact-page h1 {
    font-size: 47px;
  }
  .contact-page .section-heading p {
    font-size: 12px;
    margin-top: 20px;
  }
  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .contact-method {
    gap: 16px;
    margin-bottom: 27px;
  }
  .contact-method h3 {
    font-size: 16px;
  }
  .contact-method p {
    font-size: 11px;
  }
  .contact-method a {
    font-size: 13px;
  }
  .contact-method a.text-link {
    font-size: 11px;
  }
  .contact-method > .icon {
    width: 22px;
    height: 22px;
  }
  .prose-page {
    padding-top: 42px;
    padding-bottom: 50px;
  }
  .prose-page h1 {
    font-size: 38px;
  }
  .prose-page h2 {
    font-size: 20px;
  }
  .prose-page p {
    font-size: 12px;
  }
  .prose-page .lead {
    font-size: 16px;
  }
  .drawer {
    padding: 20px;
  }
  .drawer-heading {
    padding-bottom: 15px;
  }
  .drawer-heading h2 {
    font-size: 23px;
  }
  .cart-item {
    gap: 12px;
    padding: 20px 0;
  }
  .cart-item img {
    width: 72px;
    height: 72px;
  }
  .cart-item a {
    font-size: 11px;
  }
  .cart-item strong {
    font-size: 12px;
  }
  .modal {
    padding: 28px;
  }
  .modal h2 {
    font-size: 22px;
  }
  .modal .button {
    font-size: 11px;
  }
  .empty-state {
    padding: 35px 10px;
  }
  .empty-state h2 {
    font-size: 25px;
  }
  #toast {
    bottom: 18px;
    font-size: 11px;
    width: max-content;
    max-width: calc(100vw - 32px);
    text-align: center;
  }
  .sort-label select,
  .search-field input {
    font-size: 16px;
  }
  .search-field input::placeholder {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
/* Complete service directory; compact columns on desktop, scrollable on mobile. */
.service-list {
  row-gap: 19px;
}
/* JayRoots: custom campaign photography, transparent PNGs with WebP delivery. */
.brand small {
  letter-spacing: 1.1px;
  font-size: 8px;
}
.hero-art.jaypay-hero-art {
  height: 535px;
  background: transparent;
  border-radius: 0;
  margin-left: 0;
  isolation: isolate;
}
.jaypay-hero-disc {
  position: absolute;
  width: 91%;
  height: 76%;
  left: 5%;
  top: 17%;
  background: #fff2f0;
  border-radius: 50%;
  z-index: -1;
}
.jaypay-hero-image {
  position: absolute;
  inset: -8px -20px 0 -5px;
  display: block;
}
.jaypay-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.jaypay-hero-note {
  position: absolute;
  left: -12px;
  bottom: 37px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #eee7e5;
  border-radius: 11px;
  box-shadow: 0 12px 35px #6936240b;
}
.jaypay-hero-note .match-icon {
  background: var(--pink);
  color: var(--red);
  height: 35px;
  width: 35px;
  border-radius: 10px;
}
.jaypay-hero-note strong {
  display: block;
  font-size: 12px;
}
.jaypay-hero-note small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.jaypay-hero-seal {
  position: absolute;
  right: 6px;
  top: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  transform: rotate(4deg);
}
.jaypay-hero-seal > span {
  height: 27px;
  width: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #edf6f0;
}
.jaypay-hero-seal .icon {
  width: 15px;
  height: 15px;
}
.jaypay-hero-seal strong {
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
}
.jaypay-editorial {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: stretch;
  margin-top: 68px;
  border-radius: 15px;
  overflow: hidden;
  background: #f5ede5;
  min-height: 330px;
}
.editorial-copy {
  padding: 39px 45px;
  align-self: center;
  position: relative;
  z-index: 1;
}
.editorial-copy h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 17px;
}
.editorial-copy p {
  max-width: 340px;
  font-size: 12px;
  margin-bottom: 21px;
  color: #746a62;
}
.editorial-copy .section-kicker {
  font-size: 11px;
  margin-bottom: 13px;
  color: #ae3940;
}
.editorial-copy .text-link {
  font-size: 11px;
}
.editorial-image {
  display: block;
  min-width: 0;
  min-height: 330px;
}
.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.jaypay-join {
  padding: 40px 0;
  overflow: hidden;
}
.jaypay-join .join-inner {
  min-height: 275px;
  position: relative;
  gap: 30px;
}
.join-copy {
  position: relative;
  z-index: 1;
}
.join-copy > .button {
  margin-top: 24px;
}
.jaypay-gift-image {
  display: block;
  width: 350px;
  height: 320px;
  flex-shrink: 0;
  margin-top: -12px;
  margin-bottom: -13px;
}
.jaypay-gift-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 1450px) {
  .hero-art.jaypay-hero-art {
    height: 565px;
  }
  .jaypay-hero-note {
    bottom: 40px;
  }
  .jaypay-hero-seal {
    top: 45px;
  }
}
@media (max-width: 1100px) {
  .hero-art.jaypay-hero-art {
    height: 470px;
  }
  .jaypay-hero-note {
    left: -5px;
    bottom: 30px;
    padding: 13px 15px;
  }
  .jaypay-hero-seal {
    top: 26px;
    right: 0;
  }
  .editorial-copy {
    padding: 33px;
  }
  .editorial-copy h2 {
    font-size: 28px;
  }
  .jaypay-gift-image {
    width: 300px;
    height: 290px;
  }
}
@media (max-width: 850px) {
  .hero-art.jaypay-hero-art {
    height: 410px;
  }
  .jaypay-hero-note {
    left: 0;
    bottom: 18px;
    padding: 11px 13px;
    gap: 9px;
  }
  .jaypay-hero-note strong {
    font-size: 10px;
  }
  .jaypay-hero-note small {
    font-size: 8px;
  }
  .jaypay-hero-note .match-icon {
    height: 29px;
    width: 29px;
  }
  .jaypay-hero-seal {
    right: -5px;
    top: 15px;
    padding: 9px 11px;
  }
  .jaypay-editorial {
    margin-top: 50px;
    grid-template-columns: 1fr 1fr;
    min-height: 310px;
  }
  .editorial-copy {
    padding: 29px;
  }
  .editorial-copy h2 {
    font-size: 26px;
  }
  .editorial-copy p {
    font-size: 11px;
  }
  .editorial-image {
    min-height: 310px;
  }
  .jaypay-gift-image {
    width: 250px;
    height: 250px;
  }
  .jaypay-join .join-inner h2 {
    font-size: 32px;
  }
}
@media (max-width: 600px) {
  .brand small {
    font-size: 7px;
    letter-spacing: 0.65px;
  }
  .hero-grid {
    gap: 20px;
    padding-bottom: 35px;
  }
  .hero-art.jaypay-hero-art {
    height: 370px;
    width: 100%;
    max-width: 400px;
    margin: 0;
    align-self: center;
  }
  .jaypay-hero-image {
    inset: -5px -9px 4px -9px;
  }
  .jaypay-hero-disc {
    height: 75%;
    top: 19%;
    width: 90%;
    left: 5%;
  }
  .jaypay-hero-note {
    left: 0;
    bottom: 13px;
    padding: 12px 15px;
    border-radius: 9px;
  }
  .jaypay-hero-note strong {
    font-size: 11px;
  }
  .jaypay-hero-note small {
    font-size: 9px;
  }
  .jaypay-hero-seal {
    top: 13px;
    right: 2px;
    padding: 9px 11px;
  }
  .jaypay-hero-seal strong {
    font-size: 8px;
  }
  .jaypay-editorial {
    display: flex;
    flex-direction: column;
    margin-top: 38px;
    min-height: 0;
    border-radius: 11px;
  }
  .editorial-copy {
    padding: 26px 25px;
    align-self: auto;
  }
  .editorial-copy h2 {
    font-size: 28px;
    margin-bottom: 14px;
  }
  .editorial-copy p {
    font-size: 11px;
    max-width: 300px;
    margin-bottom: 18px;
  }
  .editorial-copy .section-kicker {
    font-size: 10px;
  }
  .editorial-copy .text-link {
    font-size: 10px;
  }
  .editorial-image {
    min-height: 0;
    height: 225px;
  }
  .editorial-image img {
    object-position: center 57%;
  }
  .jaypay-join {
    padding: 32px 0 24px;
  }
  .jaypay-join .join-inner {
    display: block;
    min-height: 270px;
  }
  .jaypay-join .join-inner h2 {
    font-size: 29px;
    max-width: 330px;
  }
  .join-copy > p {
    max-width: 215px;
    font-size: 11px;
  }
  .join-copy > .button {
    margin-top: 20px;
    font-size: 11px;
    padding: 13px 16px;
    gap: 9px;
  }
  .jaypay-gift-image {
    position: absolute;
    width: 170px;
    height: 180px;
    right: -27px;
    bottom: -15px;
    margin: 0;
  }
  .jaypay-shop-note {
    margin-top: 20px;
  }
}
@media (max-width: 360px) {
  .hero-art.jaypay-hero-art {
    height: 315px;
  }
  .jaypay-hero-note {
    padding: 10px 12px;
    bottom: 6px;
  }
  .jaypay-hero-note strong {
    font-size: 10px;
  }
  .jaypay-hero-note small {
    font-size: 8px;
  }
  .jaypay-hero-seal {
    top: 0;
    right: 0;
  }
  .editorial-copy {
    padding: 23px;
  }
  .editorial-copy h2 {
    font-size: 25px;
  }
  .editorial-image {
    height: 200px;
  }
  .jaypay-join .join-inner h2 {
    font-size: 26px;
  }
  .jaypay-gift-image {
    width: 145px;
    height: 155px;
    right: -27px;
    bottom: -12px;
  }
  .join-copy > p {
    max-width: 185px;
  }
}

/* JayRoots app shell and premium memberships */
.package-section {
  background: #111212;
  border-color: #282a2b;
  color: #fff;
}
.package-section .section-heading h2 {
  color: #fff;
}
.package-section .section-heading p,
.package-section .plan-note {
  color: #b5b6b2;
}
.package-section .section-kicker {
  color: #ffd54a;
}
.package-grid {
  gap: 24px;
  max-width: 980px;
  margin-inline: auto;
}
.package-card.premium-package {
  background: #1c1d1e;
  border: 1px solid #3a3b3a;
  border-radius: 22px;
  color: #fff;
  padding: 32px;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
.package-card.premium-package.package-featured {
  border-color: #ffd54a;
  background: #202120;
}
.premium-package .package-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
}
.membership-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dddcd5;
  font-size: 11px;
  font-weight: 650;
}
.membership-label .icon {
  color: #ffd54a;
  width: 19px;
}
.premium-package .package-tag {
  position: static;
  background: #33352e;
  color: #ffd54a;
  font-size: 10px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.premium-package h3 {
  font-size: 28px;
  margin-bottom: 8px;
  color: #fff;
}
.premium-package .package-description {
  color: #aeb0a9;
  font-size: 12px;
  min-height: 24px;
  margin-bottom: 23px;
}
.premium-package .package-price {
  font-size: 48px;
  color: #fff;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -2px;
}
.premium-package .package-price small {
  display: block;
  font-size: 10px;
  color: #aeb0a9;
  letter-spacing: 0;
  font-weight: 500;
  margin-top: 9px;
}
.premium-package .package-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-block: 1px solid #3a3b36;
  padding: 21px 0;
  margin: 24px 0;
}
.premium-package .package-numbers > div {
  border: 0;
  padding: 0;
}
.premium-package .package-numbers strong {
  font-size: 23px;
  color: #ffd54a;
  display: block;
  line-height: 1.3;
}
.premium-package .package-numbers strong small {
  font-size: 11px;
}
.premium-package .package-numbers span {
  color: #aeb0a9;
  font-size: 10px;
  display: block;
  margin-top: 6px;
}
.premium-package .check-list {
  margin: 24px 0;
}
.premium-package .check-list li {
  font-size: 12px;
  color: #dddcd5;
  margin-bottom: 14px;
}
.premium-package .check-list .icon {
  color: #ffd54a;
}
.premium-package .package-activate {
  width: 100%;
  background: #ffd54a;
  color: #171815;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  min-height: 52px;
  justify-content: space-between;
}
.premium-package .package-activate:hover {
  background: #ffe17e;
}
.package-footnote {
  display: block;
  text-align: center;
  color: #969991;
  font-size: 10px;
  margin-top: 12px;
}
.plans-intro {
  padding-block: 60px 40px;
}
.plans-intro h1 {
  font-size: 60px;
  letter-spacing: -3px;
  margin-bottom: 22px;
}
.plans-intro p {
  font-size: 15px;
}
.plans-intro-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #757972;
}
.plans-intro-note .icon {
  width: 16px;
  color: #78805e;
}
.premium-plans {
  padding-block: 48px 24px;
}
.plan-note {
  text-align: center;
  font-size: 11px;
  margin: 24px auto 0;
  max-width: 660px;
}
.plans-explainer {
  padding-block: 60px;
}
.plans-income-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.plans-income-list article {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.plans-income-list article > .icon {
  background: #f6f1db;
  color: #8f781c;
  padding: 10px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.plans-income-list h3 {
  font-size: 17px;
  margin-bottom: 9px;
}
.plans-income-list p {
  font-size: 12px;
  margin: 0;
}
.plans-binary {
  max-width: 650px;
  margin: 60px auto;
}
.plans-binary h2,
.plans-ranks h2 {
  font-size: 28px;
}
.plans-ranks .rank-strip {
  margin-top: 28px;
}
.app-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.app-section-heading h2 {
  font-size: 22px;
  margin: 0;
}
.app-section-heading > a {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.app-section-heading > a .icon {
  width: 14px;
}
.pay-page {
  padding-block: 48px 70px;
}
.pay-page-heading h1 {
  font-size: 48px;
  letter-spacing: -2px;
  margin-bottom: 12px;
}
.pay-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 65px;
  margin-top: 35px;
}
.pay-card {
  min-width: 0;
}
.pay-card > form {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
}
.pay-card > form .button {
  background: #191a1b;
  color: #ffd54a;
  width: 100%;
}
.pay-amount-input {
  position: relative;
  display: flex;
  align-items: center;
}
.pay-amount-input > span {
  position: absolute;
  left: 16px;
  color: #777;
}
.pay-amount-input input {
  padding-left: 36px;
}
.upi-panel {
  border: 1px solid #dddeda;
  border-radius: 16px;
  padding: 22px;
  background: #fff;
  margin: 18px 0;
  color: #20221d;
}
.upi-panel-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.upi-panel-top h3 {
  font-size: 19px;
  margin: 0 0 5px;
}
.upi-panel-top p {
  margin: 0;
  font-size: 11px;
}
.upi-panel-top p strong {
  color: #20221d;
  white-space: nowrap;
}
.upi-pay-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #181a18;
  color: #ffd54a;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.upi-badge {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  font-style: italic;
  color: #5d6355;
}
.upi-panel-body {
  display: flex;
  align-items: center;
  gap: 24px;
}
.upi-qr-frame {
  background: #fff;
  border: 1px solid #e4e5df;
  border-radius: 12px;
  flex-shrink: 0;
  width: 205px;
  height: 205px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.upi-qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.upi-qr-frame img[hidden] {
  display: none;
}
.qr-loading {
  font-size: 12px;
  color: #777;
}
.upi-panel-info {
  min-width: 0;
  flex: 1;
}
.upi-recipient-label {
  display: block;
  font-size: 10px;
  color: #7c8076;
  margin-bottom: 4px;
}
.upi-id {
  display: block;
  font-size: 15px;
  letter-spacing: -0.3px;
  overflow-wrap: anywhere;
}
.upi-copy,
.upi-download {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  min-height: 44px;
  color: #646c59;
  padding: 0;
}
.upi-copy .icon,
.upi-download .icon {
  width: 15px;
  height: 15px;
}
.upi-open {
  background: #ffd54a;
  color: #181a18;
  padding: 12px 15px;
  font-size: 12px;
  margin-block: 8px;
  min-height: 46px;
  width: 100%;
}
.upi-verification-note {
  border-top: 1px solid #e8e9e3;
  padding-top: 15px;
  font-size: 10px;
  line-height: 1.8;
  margin: 20px 0 0;
  color: #777d70;
}
.pay-help {
  padding-top: 16px;
}
.pay-help h2 {
  font-size: 26px;
}
.pay-help ol {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.pay-help li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.pay-help li > span {
  background: #f5f1df;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
}
.pay-help li strong {
  font-size: 13px;
}
.pay-help li p {
  font-size: 12px;
  margin: 7px 0 0;
}
.pay-help > .text-link {
  display: flex;
  font-size: 12px;
  margin: 14px 0;
}
.checkout-grid .upi-panel-body,
.dashboard-content .upi-panel-body {
  flex-wrap: wrap;
}
.checkout-grid .upi-panel-info,
.dashboard-content .upi-panel-info {
  min-width: 160px;
}
.app-bottom-nav {
  display: none;
}
@media (max-width: 900px) {
  .pay-page-layout {
    gap: 25px;
  }
  .upi-panel-body {
    flex-wrap: wrap;
  }
  .upi-panel-info {
    min-width: 150px;
  }
  .package-card.premium-package {
    padding: 25px;
  }
  .membership-label {
    font-size: 10px;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 78px;
  }
  .mobile-app {
    background: #f6f7f8;
    padding-bottom: calc(85px + env(safe-area-inset-bottom));
    font-size: 13px;
  }
  .mobile-app .announcement,
  .mobile-app .footer {
    display: none;
  }
  .mobile-app .header {
    background: #fff;
    border-bottom: 1px solid #edf0f0;
  }
  .mobile-app .header-inner {
    height: 65px;
    gap: 8px;
  }
  .mobile-app .container {
    width: calc(100% - 36px);
  }
  .mobile-app .header-actions {
    gap: 7px;
  }
  .mobile-app .brand {
    font-size: 20px;
  }
  .mobile-app .brand small {
    display: none;
  }
  .mobile-app .brand-logo {
    width: 32px;
    height: 32px;
  }
  .mobile-app .cart-button {
    border: 0;
    min-width: 40px;
  }
  .mobile-app .mobile-menu {
    display: none;
  }
  .mobile-app .sign-in {
    background: #f2f3f4;
    min-height: 40px;
    width: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .mobile-app .sign-in span {
    display: none;
  }
  .mobile-app .sign-in .icon {
    width: 19px;
  }
  .mobile-app .section {
    padding-block: 28px;
  }
  .mobile-app h1 {
    font-size: 30px;
    line-height: 1.16;
    letter-spacing: -1.2px;
  }
  .mobile-app h2 {
    font-size: 23px;
  }
  .mobile-app .shop-page,
  .mobile-app .checkout-page,
  .mobile-app .dashboard-page,
  .mobile-app .cart-page {
    padding-top: 25px;
  }
  .mobile-app .shop-heading h1 {
    font-size: 30px;
  }
  .mobile-app .product-grid {
    gap: 18px 12px;
  }
  .mobile-app .product-image {
    border-radius: 13px;
    background: #fff;
    margin-bottom: 10px;
  }
  .mobile-app .product-name {
    font-size: 11px;
    min-height: 34px;
  }
  .mobile-app .product-bottom {
    margin-top: 7px;
  }
  .mobile-app .product-bottom strong {
    font-size: 13px;
  }
  .mobile-app .product-meta {
    font-size: 9px;
  }
  .mobile-app .product-income {
    left: 6px;
    bottom: 6px;
    font-size: 8px;
    padding: 4px 6px;
  }
  .mobile-app .product-add {
    min-height: 38px;
    min-width: 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
  }
  .mobile-app .panel {
    border-radius: 16px;
  }
  .mobile-app .dashboard-tabs {
    position: sticky;
    top: 65px;
    z-index: 8;
    background: #f6f7f8;
    padding-block: 10px;
  }
  .mobile-app .dashboard-tabs button {
    min-height: 43px;
  }
  .mobile-app .toast {
    bottom: 105px;
  }
  .app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 9px 8px calc(8px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #e8eae8;
    box-shadow: 0 -5px 25px #252a3106;
  }
  .app-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #92969a;
    min-height: 53px;
    justify-content: center;
  }
  .app-nav-item > span {
    display: grid;
    place-items: center;
    width: 37px;
    height: 29px;
    border-radius: 10px;
  }
  .app-nav-item .icon {
    width: 22px;
    height: 22px;
  }
  .app-nav-item small {
    font-size: 10px;
    line-height: 1.4;
    font-weight: 650;
  }
  .app-nav-item.selected {
    color: #171a17;
  }
  .app-nav-item.selected > span {
    background: #fff1af;
  }
  .app-pay-tab > span {
    background: #191a1b;
    color: #ffd54a;
    width: 44px;
    height: 38px;
    border-radius: 12px;
    margin-top: -9px;
  }
  .app-pay-tab.selected > span {
    background: #ffd54a;
    color: #181a18;
  }
  .app-home {
    padding-top: 22px;
    padding-bottom: 12px;
  }
  .app-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
  }
  .app-welcome p {
    font-size: 11px;
    color: #92969a;
    margin: 0 0 5px;
  }
  .app-welcome h1 {
    font-size: 20px;
    letter-spacing: -0.65px;
    line-height: 1.3;
    margin: 0;
  }
  .app-help {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e3e6e5;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    color: #6b7367;
  }
  .app-help .icon {
    width: 17px;
  }
  .app-wallet-card {
    background: #191b1b;
    border-radius: 20px;
    padding: 20px;
    color: #fff;
    animation: hero-in 0.35s both;
  }
  .app-wallet-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
    color: #cccfc6;
  }
  .app-wallet-top > span:first-child {
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .app-wallet-top .icon {
    width: 17px;
    height: 17px;
    color: #ffd54a;
  }
  .app-wallet-tag {
    font-size: 8px;
    padding: 4px 7px;
    border: 1px solid #484c41;
    border-radius: 5px;
    color: #dddca6;
    white-space: nowrap;
  }
  .app-wallet-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 25px;
  }
  .app-wallet-bottom strong {
    display: block;
    font-family: var(--display);
    font-size: 21px;
    letter-spacing: -0.8px;
    line-height: 1.25;
    max-width: 165px;
  }
  .app-wallet-bottom p {
    font-size: 9px;
    color: #a1a69b;
    margin: 8px 0 0;
    line-height: 1.7;
  }
  .app-gold-button {
    background: #ffd54a;
    color: #1c1f14;
    font-size: 10px;
    font-weight: 750;
    border-radius: 9px;
    min-height: 39px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
  }
  .app-gold-button .icon {
    width: 14px;
    height: 14px;
  }
  .app-quick-section {
    margin-top: 27px;
  }
  .app-section-heading {
    margin-bottom: 16px;
  }
  .app-section-heading h2 {
    font-size: 16px;
    letter-spacing: -0.4px;
    line-height: 1.3;
  }
  .app-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 7px;
  }
  .app-quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    min-width: 0;
  }
  .app-quick-action > span {
    width: 49px;
    height: 49px;
    background: #fff;
    border: 1px solid #e8eae6;
    border-radius: 15px;
    display: grid;
    place-items: center;
    position: relative;
    color: #292f26;
  }
  .app-quick-action:nth-child(2) > span {
    background: #fff3be;
    border-color: #f2e7b5;
  }
  .app-quick-action strong {
    font-size: 10px;
    font-weight: 650;
    color: #636960;
  }
  .app-quick-action .icon {
    width: 22px;
    height: 22px;
  }
  .app-soon > span {
    color: #acb0aa;
    background: #f0f2f2;
    border-color: #e8ebe8;
  }
  .app-soon small {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7px;
    padding: 1px 5px;
    border-radius: 4px;
    background: #e4e7e3;
    color: #8a9084;
    line-height: 1.7;
  }
  .app-soon strong {
    color: #91978f;
  }
  .app-shop-promo {
    background: #f6ede1;
    border: 1px solid #efe3d2;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    margin: 28px 0;
    padding: 22px 20px;
    min-height: 196px;
  }
  .app-shop-promo > div {
    position: relative;
    z-index: 2;
    max-width: 60%;
  }
  .app-shop-promo > div > span {
    font-size: 8px;
    font-weight: 650;
    color: #96866e;
  }
  .app-shop-promo h2 {
    font-size: 25px;
    letter-spacing: -1px;
    line-height: 1.18;
    margin: 8px 0;
  }
  .app-shop-promo p {
    font-size: 9px;
    line-height: 1.5;
    color: #96866e;
    margin-bottom: 15px;
    max-width: 120px;
  }
  .app-promo-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 750;
    color: #514337;
  }
  .app-promo-button .icon {
    width: 15px;
  }
  .app-shop-promo picture {
    position: absolute;
    right: -34px;
    bottom: -10px;
    width: 220px;
    height: 220px;
    pointer-events: none;
  }
  .app-shop-promo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .app-products {
    margin-top: 27px;
  }
  .app-plan-promo {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #1a1c1a;
    color: #fff;
    border-radius: 16px;
    padding: 18px 15px;
    margin-top: 28px;
  }
  .app-plan-icon {
    height: 38px;
    width: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #333729;
    color: #ffd54a;
    flex-shrink: 0;
  }
  .app-plan-promo > div > span {
    font-size: 8px;
    color: #babcae;
  }
  .app-plan-promo h2 {
    font-size: 13px;
    letter-spacing: -0.3px;
    line-height: 1.5;
    margin: 3px 0;
  }
  .app-plan-promo p {
    font-size: 8px;
    color: #aeb2a3;
    margin: 0;
  }
  .app-plan-arrow {
    display: grid;
    place-items: center;
    min-height: 44px;
    min-width: 30px;
    margin-left: auto;
    color: #ffd54a;
  }
  .app-plan-arrow .icon {
    width: 19px;
  }
  .app-home-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 9px;
    color: #93988c;
    padding-top: 22px;
  }
  .app-home-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .plans-intro {
    padding-block: 30px 27px;
  }
  .plans-intro .section-kicker {
    font-size: 10px;
    color: #938239;
    margin-bottom: 14px;
  }
  .mobile-app .plans-intro h1 {
    font-size: 35px;
    letter-spacing: -1.7px;
    margin-bottom: 15px;
  }
  .plans-intro p {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .plans-intro-note {
    font-size: 9px;
  }
  .premium-plans {
    padding-block: 24px;
  }
  .package-card.premium-package {
    padding: 24px;
    border-radius: 20px;
  }
  .premium-package .package-top {
    margin-bottom: 25px;
    gap: 8px;
  }
  .membership-label {
    font-size: 10px;
  }
  .premium-package .package-tag {
    font-size: 8px;
    padding: 5px 8px;
  }
  .premium-package h3 {
    font-size: 26px;
  }
  .premium-package .package-price {
    font-size: 45px;
  }
  .premium-package .package-description {
    font-size: 11px;
  }
  .premium-package .package-numbers strong {
    font-size: 23px;
  }
  .premium-package .check-list li {
    font-size: 11px;
  }
  .plan-note {
    font-size: 9px;
    line-height: 1.8;
  }
  .plans-explainer {
    padding-block: 30px;
  }
  .plans-income-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .plans-income-list article {
    padding: 18px;
    background: #fff;
  }
  .plans-income-list h3 {
    font-size: 14px;
  }
  .plans-income-list p {
    font-size: 11px;
  }
  .plans-binary {
    margin-block: 32px;
  }
  .plans-binary h2,
  .plans-ranks h2 {
    font-size: 22px;
  }
  .plans-binary .binary-tree {
    padding: 20px;
    background: #fff;
  }
  .pay-page {
    padding-block: 28px;
  }
  .pay-page-heading h1 {
    font-size: 32px;
  }
  .pay-page-heading .section-kicker {
    font-size: 10px;
    color: #938239;
    margin-bottom: 12px;
  }
  .pay-page-heading p {
    font-size: 11px;
  }
  .pay-page-layout {
    display: block;
    margin-top: 24px;
  }
  .pay-card > form {
    padding: 18px;
    background: #fff;
    border-radius: 16px;
  }
  .upi-panel {
    padding: 18px;
    margin-block: 18px;
  }
  .upi-panel-top {
    gap: 10px;
    margin-bottom: 20px;
  }
  .upi-panel-top h3 {
    font-size: 17px;
  }
  .upi-panel-top p {
    font-size: 10px;
  }
  .upi-panel-body {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .upi-qr-frame {
    width: 220px;
    height: 220px;
    max-width: 100%;
  }
  .upi-panel-info {
    text-align: center;
    width: 100%;
    min-width: 0 !important;
  }
  .upi-id {
    font-size: 17px;
  }
  .upi-copy,
  .upi-download {
    justify-content: center;
    margin-inline: auto;
  }
  .upi-copy {
    min-height: 36px;
  }
  .upi-download {
    min-height: 38px;
  }
  .upi-open {
    font-size: 12px;
    min-height: 48px;
    margin-top: 12px;
  }
  .upi-verification-note {
    text-align: center;
    font-size: 10px;
  }
  .pay-help {
    padding: 20px 0 10px;
  }
  .pay-help h2 {
    font-size: 22px;
  }
  .pay-help li p {
    font-size: 11px;
  }
  .checkout-grid .upi-panel {
    padding: 15px;
  }
  .mobile-app .auth-page {
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 30px;
  }
  .mobile-app .auth-side {
    display: none;
  }
  .mobile-app .empty-state {
    padding: 35px 12px;
  }
  .mobile-app input,
  .mobile-app select,
  .mobile-app textarea {
    font-size: 16px;
  }
  .mobile-app .field > span {
    font-size: 11px;
  }
  .mobile-app .admin-page {
    padding-bottom: 20px;
  }
}
@media (max-width: 360px) {
  .app-wallet-card {
    padding: 17px;
  }
  .app-wallet-bottom strong {
    font-size: 18px;
    max-width: 145px;
  }
  .app-gold-button {
    font-size: 9px;
    padding: 9px;
  }
  .app-welcome h1 {
    font-size: 18px;
  }
  .app-shop-promo {
    padding: 19px 17px;
  }
  .app-shop-promo picture {
    width: 190px;
    height: 190px;
    right: -35px;
    bottom: -3px;
  }
  .app-shop-promo h2 {
    font-size: 23px;
  }
  .app-plan-promo {
    gap: 9px;
    padding: 16px 12px;
  }
  .app-plan-promo h2 {
    font-size: 11px;
  }
  .premium-package .package-top {
    flex-wrap: wrap;
  }
  .package-card.premium-package {
    padding: 22px;
  }
  .upi-panel {
    padding: 15px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .app-quick-action:active > span {
    transform: scale(0.94);
    transition: transform 0.15s;
  }
  .app-nav-item > span {
    transition:
      background 0.2s,
      color 0.2s;
  }
  .premium-package {
    transition:
      border-color 0.2s,
      transform 0.2s;
  }
  .premium-package:hover {
    transform: translateY(-3px);
  }
}
@media (max-width: 600px) {
  .mobile-app .category-tabs {
    max-width: 100%;
    width: 100%;
    margin-right: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .mobile-app .brand > img {
    width: 32px;
    height: 32px;
  }
  .mobile-app .auth-story {
    display: none;
  }
}
@media (max-width: 600px) {
  .mobile-app footer {
    display: none;
  }
  .mobile-app .account-layout {
    padding-top: 24px;
  }
  .mobile-app .account-sidebar .member-identity {
    display: none;
  }
  .mobile-app .account-sidebar nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .mobile-app .account-sidebar nav button,
  .mobile-app .account-sidebar nav a {
    min-height: 44px;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 10px;
    font-size: 11px;
  }
  .mobile-app .account-heading h1 {
    font-size: 27px;
  }
  .mobile-app .account-heading > .button {
    font-size: 10px;
    padding: 10px;
  }
  .mobile-app .shop-hero {
    padding-top: 24px;
    padding-bottom: 22px;
  }
  .mobile-app .shop-hero h1 {
    font-size: 29px;
  }
  .mobile-app .shop-hero .section-kicker {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .mobile-app .shop-income-info {
    display: none;
  }
  .mobile-app .shop-body {
    padding-bottom: 25px;
  }
}
@media (max-width: 600px) {
  .mobile-app .rank-strip {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    overflow-x: auto;
  }
}
.pay-card > form .button.primary,
.pay-card > form .button.primary:hover {
  background: #191a1b;
  color: #ffd54a;
}
@media (max-width: 600px) {
  .mobile-app #toast {
    bottom: calc(94px + env(safe-area-inset-bottom));
  }
}

.leg-invites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.leg-invite {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.leg-invite > .field {
  margin-top: 12px;
  margin-bottom: 12px;
}
.leg-invite input {
  width: 100%;
  min-width: 0;
  font-size: 12px;
  background: #fff;
}
.leg-invite > .button-group {
  gap: 8px;
}
.leg-invite .button {
  flex: 1;
  padding: 10px 12px;
}
.dashboard-columns .leg-invites {
  grid-template-columns: 1fr;
}
@media (max-width: 600px) {
  .leg-invites {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .mobile-app .account-sidebar {
    margin-left: 0;
    margin-right: 0;
    border-radius: 10px;
  }
  .account-content {
    min-width: 0;
  }
}
.sponsor-result {
  font-size: 12px;
  min-height: 24px;
  margin-top: 0;
}
.sponsor-result.valid {
  color: var(--green);
  font-weight: 700;
}
.sponsor-result.invalid {
  color: var(--red);
}
.income-notice {
  padding: 14px 18px;
  background: #f3f5e8;
  border-radius: 10px;
  font-size: 12px;
  color: #4d5435;
}
.physical-reward {
  font-size: 15px !important;
  line-height: 1.4;
}
.kyc-panel {
  margin-bottom: 24px;
}
.kyc-panel form {
  max-width: 600px;
}
.wallet-balances {
  margin-bottom: 18px;
}
.order-history {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.order-history:last-child {
  border-bottom: 0;
}
.payment-reference-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.payment-reference-form .field {
  margin: 0;
  flex: 1;
  min-width: 190px;
}
.payment-reference-form .form-error {
  flex-basis: 100%;
  order: 3;
}
.admin-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
}
.admin-tabs button {
  white-space: nowrap;
  flex-shrink: 0;
}
.rank-card .physical-reward {
  white-space: normal;
}
@media (max-width: 600px) {
  .wallet-balances {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wallet-balances .stat-card {
    padding: 16px;
  }
  .wallet-balances .stat-card strong {
    font-size: 24px;
  }
  .payment-reference-form .button {
    width: 100%;
  }
  .kyc-panel {
    padding: 20px;
  }
  .admin-page .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Mobile-first refinements
   Everything below is written for phones first; wider screens opt in with
   min-width queries. Appended last so it refines the earlier layers.
   ========================================================================== */

/* ---- Page-load progress bar -------------------------------------------- */
html.is-loading body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 300;
  background: linear-gradient(90deg, var(--red), #ffd54a, var(--red));
  background-size: 200% 100%;
  animation: jp-progress 1.1s linear infinite;
}
@keyframes jp-progress {
  to {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.is-loading body::before {
    animation: none;
  }
}

/* ---- Horizontal strips: fade the edge that has more content ------------- */
.account-sidebar nav,
.admin-tabs,
.category-tabs,
.rank-strip {
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}
.account-sidebar nav::-webkit-scrollbar,
.admin-tabs::-webkit-scrollbar,
.category-tabs::-webkit-scrollbar,
.rank-strip::-webkit-scrollbar {
  display: none;
}
.account-sidebar nav > *,
.admin-tabs > *,
.category-tabs > * {
  scroll-snap-align: center;
}
.fade-right:not(.fade-left) {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent);
}
.fade-left:not(.fade-right) {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34px);
  mask-image: linear-gradient(90deg, transparent, #000 34px);
}
.fade-left.fade-right {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 34px,
    #000 calc(100% - 34px),
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 34px,
    #000 calc(100% - 34px),
    transparent
  );
}

/* ---- Statuses that were missing a colour ------------------------------- */
.status-verified,
.status-fulfilled {
  background: #eaf5ef;
  color: var(--green);
}
.status-inactive {
  background: #f1f2f5;
  color: var(--muted);
}

/* ---- Wallet hero (dashboard overview) ---------------------------------- */
.wallet-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 20px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #d62e36 0%, #a81b2a 100%);
  box-shadow: 0 14px 30px -18px rgba(168, 27, 42, 0.8);
}
.wallet-hero::before,
.wallet-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.wallet-hero::before {
  width: 190px;
  height: 190px;
  right: -60px;
  top: -70px;
}
.wallet-hero::after {
  width: 120px;
  height: 120px;
  left: -40px;
  bottom: -60px;
}
.wallet-hero > * {
  position: relative;
  z-index: 1;
}
.wallet-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #ffe3e5;
}
.wallet-hero-top > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wallet-hero-top .icon {
  width: 18px;
  height: 18px;
}
.wallet-hero-badge {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.wallet-hero-amount {
  display: block;
  margin: 14px 0 4px;
  font-family: var(--display);
  font-size: clamp(34px, 10vw, 46px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  overflow-wrap: anywhere;
}
.wallet-hero-sub {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.5;
  color: #ffe3e5;
}
.wallet-hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.hero-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
.hero-action.primary {
  background: #fff;
  border-color: #fff;
  color: var(--red);
}
.hero-action .icon {
  width: 17px;
  height: 17px;
  flex: none;
}
.hero-action:active {
  transform: scale(0.97);
}

/* ---- Daily cap meter, hints, invite header ----------------------------- */
.cap-meter .panel-heading {
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 12px;
}
.cap-meter .panel-heading strong {
  font-family: var(--display);
  font-size: 18px;
}
.cap-meter .panel-heading small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.cap-meter progress {
  height: 10px;
  margin-bottom: 10px;
}
.cap-meter p {
  margin: 0;
}
.pair-hint {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.referral-code {
  font-size: 12px;
  color: var(--muted);
}
.referral-code strong {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--text);
  letter-spacing: 0.6px;
}
.withdraw-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}
.withdraw-help strong {
  color: var(--text);
}
.withdraw-help .text-button {
  padding: 6px 0;
}

/* ---- Placement tree ----------------------------------------------------- */
.gt-tree {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 10px;
}
.gt-root {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  padding: 8px 8px 14px;
  border-bottom: 1px dashed var(--line);
}
.gt-children {
  list-style: none;
  margin: 0;
  padding: 0 0 0 10px;
}
.gt-top {
  padding-left: 0;
}
.gt-children > li {
  position: relative;
  padding-left: 12px;
}
.gt-children > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-left: 2px solid #eceef1;
}
.gt-children > li:last-child::before {
  bottom: auto;
  height: 27px;
}
.gt-children > li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 27px;
  width: 10px;
  border-top: 2px solid #eceef1;
}
.gt-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 7px 6px;
  border-radius: 14px;
  list-style: none;
}
summary.gt-row {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
summary.gt-row::-webkit-details-marker {
  display: none;
}
summary.gt-row::marker {
  content: "";
}
summary.gt-row::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin: 0 4px 0 2px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  transition: transform 0.18s;
}
details[open] > summary.gt-row::after {
  transform: rotate(45deg);
}
summary.gt-row:hover,
summary.gt-row:focus-visible {
  background: var(--paper);
}
.gt-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
}
.gt-leg {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #eef0f3;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.gt-leg-L {
  background: #e9f1fb;
  color: #2c5f9c;
}
.gt-leg-R {
  background: #fdf0df;
  color: #9a6513;
}
.gt-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.gt-main strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.gt-main small {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.gt-avatar.gt-inactive {
  background: #eef0f3;
  color: #8b929c;
}
.gt-count {
  min-width: 26px;
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}
.gt-open {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0;
  padding: 11px 8px;
  border: 1px dashed #d8dce2;
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
}

/* ---- Orders: items, progress, totals ----------------------------------- */
.order-history .order-row {
  padding-top: 0;
  border-bottom: 0;
}
.order-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 2px 0 16px;
  padding: 0;
  list-style: none;
}
.order-steps li {
  position: relative;
  padding-top: 22px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.order-steps li span {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #dfe2e7;
  box-shadow: 0 0 0 1px #dfe2e7;
}
.order-steps li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: #dfe2e7;
}
.order-steps li:first-child::before {
  display: none;
}
.order-steps li.done,
.order-steps li.current {
  color: var(--text);
  font-weight: 700;
}
.order-steps li.done span,
.order-steps li.current span {
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}
.order-steps li.done::before,
.order-steps li.current::before {
  background: var(--green);
}
.order-steps li.current span {
  box-shadow:
    0 0 0 1px var(--green),
    0 0 0 5px rgba(40, 116, 80, 0.16);
}
.order-cancelled {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}
.order-cancelled .icon {
  width: 16px;
  height: 16px;
}
.order-lines {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.order-lines li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.order-lines img {
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}
.order-lines span {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.order-lines small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.order-lines b {
  font-size: 13px;
}
.order-lines.compact {
  gap: 8px;
  margin: 0;
}
.order-lines.compact img {
  width: 36px;
  height: 36px;
}
.order-lines.compact span {
  font-size: 12px;
}
.order-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.order-address .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.order-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0 0 12px;
  padding: 14px;
  border-radius: 14px;
  background: var(--paper);
}
.invoice-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0 0 14px;
}
.invoice-links .invoice-download {
  min-height: 42px;
  padding: 9px 16px;
  gap: 8px;
}
.invoice-links .invoice-download .icon {
  width: 18px;
  height: 18px;
  color: var(--red);
}
.invoice-links small {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 12px;
}
.order-totals div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}
.order-totals dt {
  color: var(--muted);
}
.order-totals dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

/* ---- Checkout submit bar ----------------------------------------------- */
.checkout-submit {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.checkout-submit .button {
  flex: 1;
}
.checkout-submit-total {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.checkout-submit-total small {
  font-size: 12px;
  color: var(--muted);
}
.checkout-submit-total strong {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: -0.5px;
}
.summary-item b {
  white-space: nowrap;
}

/* ---- Collapsible members list ------------------------------------------ */
.members-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}
.members-panel > summary::-webkit-details-marker {
  display: none;
}
.members-panel > summary::marker {
  content: "";
}
.members-panel > summary h3 {
  margin: 0;
}
.members-panel > summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.18s;
}
.members-panel[open] > summary {
  margin-bottom: 14px;
}
.members-panel[open] > summary::after {
  transform: rotate(-135deg);
}
.panel h3 small {
  font-family: var(--body);
  letter-spacing: 0;
  word-spacing: normal;
}
.rt-value {
  min-width: 0;
}

/* ---- Help & legal list ---------------------------------------------------- */
.help-links nav {
  display: grid;
}
.help-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}
.help-links a:last-child {
  border-bottom: 0;
}
.help-links .icon {
  width: 16px;
  color: var(--muted);
}

/* =====================  Phones (up to 600px)  ============================ */
@media (max-width: 600px) {
  /* Readable small print: nothing below 11px */
  .mobile-app .stat-card > span {
    font-size: 12px;
  }
  .mobile-app .stat-card > small,
  .mobile-app .team-summary span,
  .mobile-app .team-summary small,
  .mobile-app .referral-share > span,
  .mobile-app .activation-banner p,
  .mobile-app .rank-next p,
  .mobile-app .summary-item small,
  .mobile-app .summary-income {
    font-size: 12px;
  }
  .mobile-app .status-badge {
    font-size: 11px;
  }
  .mobile-app .panel > p,
  .mobile-app .panel p.small,
  .mobile-app .income-notice {
    font-size: 13px;
    line-height: 1.55;
  }
  .mobile-app .app-home-links {
    flex-wrap: wrap;
    gap: 0 20px;
    font-size: 12px;
    color: #6c7168;
  }
  .mobile-app .text-button,
  .mobile-app .small-button {
    min-height: 44px;
  }

  /* The account tab strip stays reachable while scrolling */
  .mobile-app .account-sidebar {
    position: sticky;
    top: 65px;
    z-index: 12;
    margin-bottom: 14px;
    background: #fff;
    box-shadow: 0 8px 16px -14px rgba(20, 24, 28, 0.5);
  }
  .mobile-app .account-sidebar nav {
    padding: 8px;
  }
  .mobile-app .admin-tabs {
    position: sticky;
    top: 65px;
    z-index: 12;
    padding: 8px 0;
    background: #f6f7f8;
  }
  .mobile-app .category-tabs button,
  .mobile-app .admin-tabs button {
    min-height: 44px;
  }

  .mobile-app .wallet-hero {
    padding: 18px;
    border-radius: 18px;
  }
  .mobile-app .overview-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mobile-app .leg-invite {
    padding: 14px;
  }
  .mobile-app .leg-invite > .field {
    margin: 8px 0 10px;
  }
  .mobile-app .leg-invite input {
    min-height: 44px;
  }

  /* Tables become labelled cards */
  .mobile-app .table-scroll {
    overflow: visible;
  }
  .mobile-app table.rtable,
  .mobile-app table.rtable tbody,
  .mobile-app table.rtable tr,
  .mobile-app table.rtable td {
    display: block;
    width: 100%;
  }
  .mobile-app table.rtable thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .mobile-app table.rtable tr {
    margin-bottom: 12px;
    padding: 4px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(20, 24, 28, 0.04);
  }
  .mobile-app table.rtable td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    padding: 11px 0;
    border: 0;
    border-bottom: 1px solid #f0f1f3;
    font-size: 13px;
    text-align: right;
    overflow-wrap: anywhere;
  }
  .mobile-app table.rtable td:last-child {
    border-bottom: 0;
  }
  .mobile-app table.rtable td::before {
    content: attr(data-label);
    flex: 0 0 36%;
    max-width: 36%;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-align: left;
  }
  .mobile-app table.rtable td > small,
  .mobile-app table.rtable td small {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.5;
  }
  .mobile-app table.rtable td strong {
    font-size: 13px;
  }
  .mobile-app table.rtable td.rtable-title {
    display: block;
    padding-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
  }
  .mobile-app table.rtable td.rtable-title::before,
  .mobile-app table.rtable td.rtable-actions::before,
  .mobile-app table.rtable td.rtable-note::before {
    display: none;
  }
  .mobile-app table.rtable td.rtable-actions {
    display: block;
    padding: 12px 0 8px;
    text-align: left;
  }
  .mobile-app table.rtable td.rtable-actions .button-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
  }
  .mobile-app table.rtable td.rtable-actions .button {
    width: 100%;
    min-height: 44px;
    font-size: 12px;
  }
  .mobile-app table.rtable td.rtable-note {
    display: block;
    padding: 18px 0;
    text-align: center;
  }
  .mobile-app table.rtable td .order-lines {
    margin-left: auto;
    text-align: left;
  }

  /* Tree: use the full width and tighter indents */
  .mobile-app .gt-tree {
    padding: 0;
    border: 0;
    background: transparent;
  }
  .mobile-app .gt-root {
    padding-top: 2px;
  }
  .mobile-app .gt-children {
    padding-left: 4px;
  }
  .mobile-app .gt-children > li {
    padding-left: 10px;
  }
  .mobile-app .gt-row {
    gap: 8px;
    padding: 6px 2px;
  }
  .mobile-app .gt-leg {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .mobile-app .gt-avatar {
    width: 34px;
    height: 34px;
  }
  .mobile-app table.rtable td .rt-value {
    flex: 1;
    min-width: 0;
    text-align: right;
  }
  .mobile-app table.rtable td.rtable-title small {
    font-weight: 400;
  }

  /* Admin: keep the figures compact so the work starts higher up */
  .mobile-app .admin-page .stat-card {
    padding: 14px;
  }
  .mobile-app .admin-page .stat-card > strong {
    margin: 4px 0 0;
    font-size: 22px;
  }
  .mobile-app .admin-page .account-heading {
    margin-bottom: 18px;
  }

  /* Orders */
  .mobile-app .order-totals {
    grid-template-columns: 1fr;
  }

  /* Checkout: total and button stay in reach above the bottom bar */
  .mobile-app .checkout-submit {
    position: sticky;
    bottom: calc(78px + env(safe-area-inset-bottom));
    z-index: 25;
    margin: 12px -20px 0;
    padding: 12px 20px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -10px 22px -16px rgba(20, 24, 28, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .mobile-app .checkout-page .order-summary {
    order: -1;
  }

  /* Product page: the buy button stays within thumb reach while reading */
  .mobile-app .detail-copy > .button.primary[data-action="add"] {
    position: sticky;
    bottom: calc(78px + env(safe-area-inset-bottom));
    z-index: 15;
    min-height: 52px;
    box-shadow: 0 12px 26px -10px rgba(214, 46, 54, 0.6);
  }
}

/* =====================  Larger screens (601px and up)  =================== */
@media (min-width: 601px) {
  .gt-children {
    padding-left: 18px;
  }
  .wallet-hero {
    padding: 26px 28px;
  }
  .wallet-hero-actions {
    max-width: 460px;
  }
  .gt-tree {
    max-width: 820px;
  }
  .order-totals {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Package activation: pick, pay, submit */
.activate-flow { display: grid; gap: 18px; }
.activate-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; }
.activate-head h2 { margin: 4px 0 0; }
.activate-flow form { display: grid; gap: 22px; }
.activate-step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 12px; }
.activate-step legend, .activate-step .step-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 0; font-size: 15px; font-weight: 800; color: var(--text); }
.activate-step .step-title { margin: 0; }
.step-title em { font-style: normal; }
.step-title b { color: var(--red); }
.activate-step legend span, .activate-step .step-title span { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; }
.package-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick-body { display: grid; gap: 8px; height: 100%; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s, background .15s; }
.pick:hover .pick-body { border-color: #c8cdd4; }
.pick input:checked + .pick-body { border-color: var(--red); background: #fff7f7; box-shadow: 0 0 0 3px rgb(214 46 54 / 12%); }
.pick input:focus-visible + .pick-body { outline: 2px solid var(--red); outline-offset: 2px; }
.pick-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 16px; }
.pick-check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); color: transparent; }
.pick-check .icon { width: 14px; height: 14px; }
.pick input:checked + .pick-body .pick-check { background: var(--red); border-color: var(--red); color: #fff; }
.pick-price { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.pick-price small { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.pick-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pick-meta span { padding: 3px 9px; border-radius: 99px; background: var(--paper); color: var(--muted); font-size: 12px; font-weight: 600; }
.pick-incl { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.pick-incl .icon { width: 16px; height: 16px; color: var(--red); }
.activate-submit { justify-self: start; }
@media (max-width: 640px) {
  .package-picker { grid-template-columns: 1fr; }
  .activate-submit { justify-self: stretch; }
}

/* Fund wallet top-ups and wallet payments */
.fund-panel { display: grid; gap: 16px; }
.fund-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.fund-head > div:first-child { flex: 1 1 320px; }
.fund-head h3 { margin: 4px 0 6px; }
.fund-head p { margin: 0; color: var(--muted); }
.fund-balance { display: grid; align-content: start; justify-items: end; gap: 4px; padding: 14px 18px; border-radius: 14px; background: #191b1f; color: #fff; min-width: 190px; }
.fund-balance small { color: rgb(255 255 255 / 70%); font-weight: 600; }
.fund-balance strong { font-size: 26px; letter-spacing: -.01em; }
.fund-pending { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; background: rgb(255 210 70 / 18%); color: #ffd246; font-size: 12px; font-weight: 700; }
.fund-pending .icon { width: 14px; height: 14px; }
.fund-form { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.fund-form .step-title, .activate-step .step-title { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; font-size: 15px; font-weight: 800; }
.fund-form .step-title span { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; }
.fund-form .step-title em { font-style: normal; }
.fund-form .button.primary { justify-self: start; }
.amount-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; padding: 6px 16px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; font-weight: 700; cursor: pointer; }
.chip:hover { border-color: var(--red); color: var(--red); }
.fund-sub { margin: 8px 0 0; font-size: 14px; }
.fund-panel td small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 3px; }
.fund-panel td.credit { color: #148a4a; font-weight: 700; }
.fund-panel td.debit { color: var(--red); font-weight: 700; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.pay-method { position: relative; display: block; cursor: pointer; }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method > span { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, background .15s; }
.pay-method > span > .icon { width: 26px; height: 26px; color: var(--red); }
.pay-method strong { display: block; font-size: 15px; }
.pay-method small { color: var(--muted); font-size: 12.5px; }
.pay-method input:checked + span { border-color: var(--red); background: #fff7f7; box-shadow: 0 0 0 3px rgb(214 46 54 / 12%); }
.pay-method input:disabled + span { opacity: .55; cursor: not-allowed; }
.pay-method input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.fund-low { margin: 0; color: var(--muted); }
.fund-low a { color: var(--red); font-weight: 700; }
[data-pay-upi] { display: grid; gap: 12px; }
[data-pay-upi][hidden] { display: none; }
@media (max-width: 640px) {
  .fund-balance { justify-items: start; width: 100%; }
  .fund-form .button.primary { justify-self: stretch; }
}
