/* ==========================================================================
   云枢计划 CloudHub · 主样式
   原生 CSS，无外部依赖
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0a1112;
  --ink-2: #0d1917;
  --ink-3: #132520;
  --forest: #174536;
  --paper: #f2efe6;
  --paper-soft: #faf8f2;
  --paper-deep: #e9e5da;
  --white: #ffffff;
  --lime: #c9f56b;
  --lime-strong: #b7ee42;
  --lime-soft: #e7ffb3;
  --gold: #e8b96b;
  --text: #12201d;
  --muted: #68746f;
  --muted-2: #8b958f;
  --line: rgba(18, 32, 29, 0.12);
  --line-soft: rgba(18, 32, 29, 0.075);
  --line-light: rgba(255, 255, 255, 0.12);
  --line-light-soft: rgba(255, 255, 255, 0.07);
  --error: #b84b2f;
  --ok: #78a832;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-sm: 0 8px 26px rgba(10, 20, 17, 0.06);
  --shadow-md: 0 22px 60px rgba(10, 20, 17, 0.1);
  --shadow-lg: 0 36px 100px rgba(5, 14, 12, 0.2);
  --header-h: 78px;
  --container: 1180px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--lime-strong);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 999;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Shared typography ---------- */
h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.045em;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section-paper {
  background: var(--paper);
  color: var(--text);
}

.section-muted {
  background: var(--paper-deep);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.section-heading h2 {
  margin-top: 18px;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.section-heading p {
  max-width: 430px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: end;
  gap: 72px;
}

.section-heading--split .heading-aside {
  padding-bottom: 4px;
}

.heading-aside p {
  max-width: 390px;
  color: var(--muted);
  line-height: 1.85;
}

.heading-aside .text-link {
  margin-top: 20px;
}

.section-heading--center {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.section-heading--center p {
  margin-inline: auto;
}

.section-heading--center .section-kicker::before {
  display: none;
}

.section-heading--light {
  color: var(--white);
}

.section-heading--light .section-kicker {
  color: rgba(201, 245, 107, 0.7);
}

.section-heading--light p {
  color: rgba(255, 255, 255, 0.58);
}

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(201, 245, 107, 0.18);
}

.btn-primary:hover {
  background: #d7ff85;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(201, 245, 107, 0.24);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--forest);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: rgba(18, 32, 29, 0.04);
}

.btn-ghost {
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.btn-sm {
  min-height: 40px;
  padding: 10px 18px;
  font-size: 13px;
}

.btn-lg {
  min-height: 56px;
  padding: 17px 30px;
  font-size: 15px;
}

.btn-xl {
  min-height: 62px;
  padding: 20px 36px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn.is-loading {
  cursor: wait;
  opacity: 0.65;
  transform: none !important;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: gap 0.25s var(--ease), opacity 0.25s var(--ease);
}

.text-link svg {
  width: 15px;
  height: 15px;
}

.text-link:hover {
  gap: 11px;
  opacity: 0.72;
}

.text-link--light {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.25);
}

.text-link--light:hover {
  color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(10, 17, 18, 0.82);
  border-bottom: 1px solid var(--line-light-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.page-home .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 4px 14px rgba(201, 245, 107, 0.12));
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.brand-text small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.28em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.64);
  transition: color 0.22s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--lime);
  transition: right 0.25s var(--ease);
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-cta {
  min-height: 40px;
  padding-inline: 20px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 74px) 0 0;
  background: var(--ink);
  color: var(--white);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.033) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 25%, #000 5%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 25%, #000 5%, transparent 75%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -12%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 245, 107, 0.13) 0%, rgba(201, 245, 107, 0) 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 52px;
}

.hero-copy {
  padding-bottom: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(201, 245, 107, 0.22);
  border-radius: 999px;
  background: rgba(201, 245, 107, 0.055);
  color: rgba(231, 255, 179, 0.85);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.035em;
}

.pulse-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(201, 245, 107, 0.12);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(201, 245, 107, 0.4);
  animation: pulseRing 2.6s ease-out infinite;
}

.hero h1 {
  max-width: 680px;
  margin: 28px 0 26px;
  font-size: clamp(52px, 6.25vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.065em;
  color: var(--white);
}

.hero h1 .accent {
  position: relative;
  display: inline-block;
  color: var(--lime);
  z-index: 1;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -1%;
  right: -2%;
  bottom: 7px;
  height: 13px;
  z-index: -1;
  border-radius: 3px;
  background: rgba(201, 245, 107, 0.16);
  transform: rotate(-1.6deg);
}

.hero-lead {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16.5px;
  line-height: 1.9;
  letter-spacing: 0.005em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points svg {
  width: 15px;
  height: 15px;
  color: var(--lime);
}

.hero-visual {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 55px;
}

.device-halo {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 245, 107, 0.09) 0%, rgba(201, 245, 107, 0.02) 38%, transparent 70%);
  filter: blur(8px);
}

.device-illustration {
  position: relative;
  z-index: 2;
  width: min(540px, 100%);
  animation: floatDevice 8s ease-in-out infinite;
}

.device-illustration svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.float-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(16, 30, 26, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.payout-card {
  top: 54px;
  right: -6px;
  width: 236px;
  padding: 19px 20px 15px;
}

.float-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
}

.tag-example {
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.float-amount {
  margin-top: 7px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 37px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.07em;
}

.float-amount span {
  color: rgba(255, 255, 255, 0.36);
  font-size: 21px;
}

.float-breakdown {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 9.5px;
}

.float-breakdown i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 34px;
  margin-top: 14px;
}

.mini-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(201, 245, 107, 0.7), rgba(201, 245, 107, 0.14));
}

.mini-chart span:nth-child(3n) {
  background: linear-gradient(180deg, rgba(201, 245, 107, 0.94), rgba(201, 245, 107, 0.2));
}

.device-status-card {
  bottom: 92px;
  left: -24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  width: 202px;
}

.device-status-card strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--white);
}

.device-status-card small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9.5px;
}

.status-orb {
  position: relative;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(201, 245, 107, 0.1);
}

.status-orb::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(201, 245, 107, 0.28);
  animation: pulseRing 2.6s ease-out infinite 0.4s;
}

.mini-wifi {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
  margin-left: auto;
}

.mini-wifi i {
  width: 2.5px;
  border-radius: 2px;
  background: rgba(201, 245, 107, 0.58);
}

.mini-wifi i:nth-child(1) {
  height: 5px;
}

.mini-wifi i:nth-child(2) {
  height: 9px;
}

.mini-wifi i:nth-child(3) {
  height: 13px;
}

.rate-pill {
  position: absolute;
  right: 10px;
  bottom: 66px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 14px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(201, 245, 107, 0.2);
  transform: rotate(-2deg);
}

.rate-pill strong {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.rate-pill span {
  font-size: 10px;
  line-height: 1.35;
}

.rate-pill small {
  color: rgba(10, 17, 18, 0.55);
  font-size: 8.5px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 0 30px;
  border-top: 1px solid var(--line-light-soft);
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-right: 24px;
  border-right: 1px solid var(--line-light-soft);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat + .hero-stat {
  padding-left: 28px;
}

.hero-stat strong {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.44);
  font-size: 10.5px;
  line-height: 1.5;
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
  list-style: none;
}

.step-card {
  display: flex;
  flex-direction: column;
  min-height: 296px;
  padding: 24px 23px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--paper-soft);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 69, 54, 0.22);
  box-shadow: var(--shadow-sm);
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: var(--white);
  color: var(--forest);
}

.step-icon svg {
  width: 21px;
  height: 21px;
}

.step-card h3 {
  margin-top: 28px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.step-card p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.step-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.inline-callout {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 16px 18px 16px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--white);
}

.callout-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--paper);
  color: var(--forest);
}

.callout-icon svg {
  width: 21px;
  height: 21px;
}

.inline-callout p {
  flex: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.inline-callout p strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Calculator ---------- */
.earnings-section {
  overflow: hidden;
}

.earnings-section::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 245, 107, 0.1), transparent 64%);
  pointer-events: none;
}

.earnings-section .container {
  position: relative;
  z-index: 1;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  margin-top: 50px;
  border: 1px solid var(--line-light);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
}

.calculator-controls {
  padding: 42px 42px 38px;
}

.calculator-row {
  margin-bottom: 30px;
}

.calculator-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.calculator-label label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 500;
}

.calculator-label output {
  padding: 5px 11px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 13px;
}

.range-input {
  display: block;
  width: 100%;
  height: 22px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.range-input::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime) var(--fill, 0%), rgba(255, 255, 255, 0.13) var(--fill, 0%));
}

.range-input::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.range-input::-moz-range-progress {
  height: 5px;
  border-radius: 999px;
  background: var(--lime);
}

.range-input::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  margin-top: -7.5px;
  appearance: none;
  -webkit-appearance: none;
  border: 5px solid var(--lime);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(201, 245, 107, 0.12);
  transition: transform 0.2s ease;
}

.range-input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 4px solid var(--lime);
  border-radius: 50%;
  background: var(--ink);
}

.range-input:active::-webkit-slider-thumb {
  transform: scale(1.08);
}

.range-hint {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.24);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.formula-box {
  margin: 31px 0 24px;
  padding: 16px 18px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 12px;
}

.formula-box span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.32);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.formula-box p {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1.8;
}

.formula-box strong {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.calculator-result {
  display: flex;
  flex-direction: column;
  padding: 42px 40px 38px;
  background: var(--lime);
  color: var(--ink);
}

.result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(10, 17, 18, 0.58);
  font-size: 12px;
}

.result-tag {
  padding: 4px 8px;
  border: 1px solid rgba(10, 17, 18, 0.16);
  border-radius: 5px;
  color: rgba(10, 17, 18, 0.5);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.result-amount {
  display: flex;
  align-items: flex-start;
  margin-top: 22px;
  font-family: var(--font-mono);
  line-height: 1;
  letter-spacing: -0.08em;
}

.result-amount small {
  margin-top: 10px;
  margin-right: 5px;
  font-size: 22px;
  font-weight: 500;
}

.result-amount span {
  font-size: clamp(64px, 7.4vw, 94px);
  font-weight: 600;
}

.result-amount em {
  margin-top: auto;
  margin-bottom: 8px;
  margin-left: 9px;
  color: rgba(10, 17, 18, 0.44);
  font-family: var(--font-sans);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0;
}

.result-lines {
  margin-top: auto;
  padding-top: 30px;
}

.result-lines > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(10, 17, 18, 0.14);
  font-size: 12px;
}

.result-lines span {
  color: rgba(10, 17, 18, 0.58);
}

.result-lines strong {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

.result-line-bonus i {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(10, 17, 18, 0.1);
  font-style: normal;
  font-size: 8px;
}

.result-note {
  margin-top: 14px;
  color: rgba(10, 17, 18, 0.42);
  font-size: 10px;
  line-height: 1.7;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border-top: 1px solid var(--line-light-soft);
}

.rule-card {
  padding: 27px 30px 4px;
  border-right: 1px solid var(--line-light-soft);
}

.rule-card:last-child {
  border-right: 0;
}

.rule-value {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.07em;
}

.rule-card h3 {
  margin-top: 11px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.rule-card p {
  max-width: 300px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11.5px;
  line-height: 1.8;
}

/* ---------- Benefits ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 54px;
}

.benefit-card {
  padding: 28px 28px 30px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--paper-soft);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    background-color 0.35s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 69, 54, 0.2);
  background: var(--white);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--lime);
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit-card h3 {
  margin-top: 23px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.benefit-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.security-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  margin-top: 58px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.security-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(201, 245, 107, 0.13), transparent 55%),
    linear-gradient(135deg, #10241d, #07100e);
}

.security-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 72%);
}

.security-rings {
  position: relative;
  display: grid;
  place-items: center;
  width: 330px;
  height: 330px;
}

.security-rings > span {
  position: absolute;
  border: 1px solid rgba(201, 245, 107, 0.16);
  border-radius: 50%;
}

.security-rings > span:nth-child(1) {
  width: 100%;
  height: 100%;
  border-style: dashed;
  animation: spinSlow 36s linear infinite;
}

.security-rings > span:nth-child(2) {
  width: 72%;
  height: 72%;
  border-color: rgba(255, 255, 255, 0.1);
}

.security-rings > span:nth-child(3) {
  width: 46%;
  height: 46%;
  background: rgba(201, 245, 107, 0.06);
  border-color: rgba(201, 245, 107, 0.2);
}

.security-rings > span:nth-child(1)::before,
.security-rings > span:nth-child(1)::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(201, 245, 107, 0.8);
}

.security-rings > span:nth-child(1)::before {
  top: 16%;
  right: 12%;
}

.security-rings > span:nth-child(1)::after {
  bottom: 10%;
  left: 22%;
  width: 3px;
  height: 3px;
  opacity: 0.55;
}

.security-lock {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(201, 245, 107, 0.26);
  border-radius: 28px;
  background: rgba(201, 245, 107, 0.08);
  color: var(--lime);
  box-shadow: 0 0 80px rgba(201, 245, 107, 0.12);
}

.security-lock svg {
  width: 40px;
  height: 40px;
}

.security-copy {
  padding: 58px 60px 58px 54px;
}

.security-copy h2 {
  margin-top: 18px;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.055em;
}

.security-copy > p {
  max-width: 500px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.9;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 28px 0 26px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11.5px;
  line-height: 1.7;
}

.check-list span {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 8.5px;
}

.security-copy .text-link {
  color: var(--lime);
  border-color: rgba(201, 245, 107, 0.35);
  font-size: 12px;
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 80px;
}

.faq-heading {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-heading h2 {
  margin-top: 18px;
  font-size: clamp(38px, 4.3vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.faq-heading p {
  max-width: 330px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.faq-heading .btn {
  margin-top: 28px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 23px 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(var(--text), var(--text)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.5px 10px no-repeat;
  transition: transform 0.28s var(--ease), background-color 0.28s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--lime);
  border-color: transparent;
}

.faq-answer {
  padding: 0 52px 25px 0;
}

.faq-answer p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 0 0 110px;
  background: var(--paper);
}

.final-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  overflow: hidden;
  padding: 66px 70px;
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--white);
}

.final-card::before {
  content: "";
  position: absolute;
  top: -70%;
  right: -8%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 245, 107, 0.16), transparent 62%);
  pointer-events: none;
}

.final-card-copy,
.final-card-action {
  position: relative;
  z-index: 2;
}

.final-card .section-kicker {
  color: rgba(201, 245, 107, 0.72);
}

.final-card h2 {
  margin-top: 17px;
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.055em;
}

.final-card p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.final-card-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: 0 0 auto;
}

.final-card-action > span {
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
}

.final-orbit {
  position: absolute;
  top: 50%;
  right: 18%;
  width: 380px;
  height: 380px;
  transform: translateY(-50%);
  border: 1px solid rgba(201, 245, 107, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.final-orbit::before {
  content: "";
  position: absolute;
  inset: 46px;
  border: 1px dashed rgba(201, 245, 107, 0.12);
  border-radius: 50%;
}

.final-orbit span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.final-orbit span:first-child {
  top: 7%;
  left: 28%;
}

.final-orbit span:last-child {
  bottom: 13%;
  right: 20%;
  opacity: 0.45;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 68px 0 26px;
  background: #07100e;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.72fr 0.72fr 1.15fr;
  gap: 56px;
  padding-bottom: 54px;
}

.footer-brand p {
  max-width: 310px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 12px;
  line-height: 1.85;
}

.env-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.32);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.env-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(201, 245, 107, 0.08);
}

.footer-col h3 {
  margin-bottom: 17px;
  color: rgba(255, 255, 255, 0.34);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-note p {
  color: rgba(255, 255, 255, 0.34);
  font-size: 11.5px;
  line-height: 1.85;
}

.footer-note > span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 10px;
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.24);
  font-size: 10px;
  line-height: 1.7;
}

.footer-bottom span:last-child {
  max-width: 560px;
  text-align: right;
}

/* ---------- Page shell (subpages) ---------- */
.page-main {
  padding-top: var(--header-h);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 148px;
  background: var(--ink);
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 20%, #000, transparent 75%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -5%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 245, 107, 0.12), transparent 65%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.32);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.46);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 70px;
  margin-top: 50px;
}

.page-hero h1 {
  margin-top: 18px;
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.07;
  letter-spacing: -0.06em;
}

.page-hero-lead {
  max-width: 540px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 14px;
  line-height: 1.9;
}

.page-hero-aside {
  padding-bottom: 6px;
  color: rgba(255, 255, 255, 0.55);
}

.page-hero-aside .kicker-mini {
  color: rgba(201, 245, 107, 0.62);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.page-hero-aside ul {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  list-style: none;
}

.page-hero-aside li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.7;
}

.page-hero-aside li svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--lime);
}

/* ---------- Forms (shared) ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field label {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.field label em {
  margin-left: 2px;
  color: var(--error);
  font-style: normal;
}

.field-hint {
  margin-top: -2px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.6;
}

.field input,
.field select {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background-color: #fcfbf7;
  color: var(--text);
  font-size: 13.5px;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.field input::placeholder {
  color: #a5ada8;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%2368746f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  cursor: pointer;
}

.field input:hover,
.field select:hover {
  border-color: rgba(18, 32, 29, 0.24);
}

.field input:focus,
.field select:focus {
  border-color: var(--forest);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(23, 69, 54, 0.08);
}

.field select:disabled {
  cursor: not-allowed;
  color: var(--muted-2);
  background-color: #f0ede5;
}

.field.has-error input,
.field.has-error select {
  border-color: rgba(184, 75, 47, 0.48);
  background-color: #fdf8f6;
}

.field-error {
  display: none;
  color: var(--error);
  font-size: 10.5px;
  line-height: 1.5;
}

.field.has-error .field-error {
  display: block;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field--full {
  grid-column: 1 / -1;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.65;
  cursor: pointer;
}

.checkbox input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--forest);
}

.checkbox a {
  color: var(--forest);
  border-bottom: 1px solid rgba(23, 69, 54, 0.3);
}

.form-error {
  padding: 10px 13px;
  border: 1px solid rgba(184, 75, 47, 0.16);
  border-radius: 9px;
  background: #fdf5f2;
  color: var(--error);
  font-size: 11.5px;
  line-height: 1.6;
}

.form-error[hidden] {
  display: none;
}

.form-footer-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.65;
}

.form-footer-note svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  margin-top: 1px;
}

/* ---------- Toast ---------- */
.toast-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  max-width: 380px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(10, 17, 18, 0.94);
  color: var(--white);
  font-size: 12px;
  line-height: 1.5;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.32s var(--ease);
  pointer-events: auto;
}

.toast--error {
  border-color: rgba(255, 158, 130, 0.2);
}

.toast::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
}

.toast--error::before {
  background: #ff9e82;
}

.toast.is-leaving {
  animation: toastOut 0.25s ease forwards;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  font-size: 9.5px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.copy-btn svg {
  width: 12px;
  height: 12px;
}

.copy-btn:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.copy-btn.is-copied {
  border-color: rgba(120, 168, 50, 0.35);
  background: #f2f9e7;
  color: #547a17;
}

.spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(10, 17, 18, 0.2);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ---------- Reveal / motion ---------- */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatDevice {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(0.7);
    opacity: 0.8;
  }
  75%,
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ==========================================================================
   Signup page
   ========================================================================== */
.signup-hero .page-hero-grid {
  align-items: center;
}

.signup-hero .page-hero-lead {
  max-width: 490px;
}

.signup-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.signup-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10.5px;
}

.signup-assurance svg {
  width: 13px;
  height: 13px;
  color: var(--lime);
}

.signup-hero-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.signup-hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.signup-hero-card-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(201, 245, 107, 0.08);
}

.signup-hero-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.signup-hero-values div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.signup-hero-values strong {
  display: block;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.signup-hero-values span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 9.5px;
}

.signup-body {
  position: relative;
  z-index: 2;
  margin-top: -92px;
  padding-bottom: 100px;
  background: var(--paper);
}

.signup-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.signup-aside {
  position: sticky;
  top: 106px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.signup-aside::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -40%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 245, 107, 0.13), transparent 68%);
  pointer-events: none;
}

.signup-aside .section-kicker {
  position: relative;
  color: rgba(201, 245, 107, 0.68);
}

.signup-aside h2 {
  position: relative;
  margin-top: 20px;
  font-size: 29px;
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.aside-timeline {
  position: relative;
  margin-top: 30px;
  list-style: none;
}

.aside-timeline li {
  position: relative;
  display: flex;
  gap: 14px;
  padding-bottom: 24px;
}

.aside-timeline li:last-child {
  padding-bottom: 0;
}

.aside-timeline li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8px;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.aside-timeline li:last-child::before {
  display: none;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  border: 1px solid rgba(201, 245, 107, 0.35);
  border-radius: 50%;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 7px;
  background: var(--ink);
}

.aside-timeline h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.86);
}

.aside-timeline p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 10.5px;
  line-height: 1.7;
}

.aside-note {
  position: relative;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.aside-note span {
  display: block;
  color: rgba(255, 255, 255, 0.3);
  font-size: 10.5px;
}

.aside-note a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 600;
}

.aside-note a svg {
  width: 13px;
  height: 13px;
}

.form-card {
  padding: 43px 46px 34px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(20, 36, 30, 0.08);
}

.form-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line-soft);
}

.form-card h2 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.form-card-head p {
  max-width: 360px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.form-step-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 27px 0 16px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.form-section-title span {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
}

.form-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.signup-form .form-grid {
  gap: 18px;
}

.signup-submit-row {
  margin-top: 2px;
}

.signup-submit {
  height: 56px;
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.6;
}

.form-privacy svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.signup-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 0 28px;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 12px rgba(201, 245, 107, 0.18);
}

.success-icon svg {
  width: 33px;
  height: 33px;
}

.signup-success h2 {
  margin-top: 33px;
  font-size: 28px;
  letter-spacing: -0.045em;
}

.signup-success > p {
  max-width: 490px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.apply-no-card {
  width: 100%;
  max-width: 440px;
  margin-top: 27px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-soft);
  text-align: left;
}

.apply-no-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10.5px;
}

.apply-no-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 7px;
}

.apply-no-value {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 37px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.apply-info-list {
  display: grid;
  gap: 7px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 11px;
}

.apply-info-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.apply-info-list strong {
  color: var(--text);
  font-weight: 500;
}

.success-actions {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.success-tip {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  max-width: 470px;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.7;
  text-align: left;
}

.success-tip svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--forest);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .main-nav {
    gap: 22px;
  }

  .hero-layout {
    gap: 20px;
  }

  .hero-visual {
    min-height: 530px;
  }

  .payout-card {
    right: -6px;
    width: 218px;
  }

  .device-status-card {
    left: -8px;
  }

  .rate-pill {
    right: -2px;
  }

  .section-heading--split {
    gap: 44px;
  }

  .signup-grid {
    grid-template-columns: 330px minmax(0, 1fr);
  }

  .signup-aside {
    padding: 28px;
  }

  .form-card {
    padding: 36px 36px 30px;
  }

  .footer-grid {
    gap: 36px;
  }
}

@media (max-width: 980px) {
  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 12.5px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 52px);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-copy {
    padding-bottom: 20px;
  }

  .hero h1 {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 480px;
    width: min(620px, 100%);
    margin: 0 auto;
    padding-bottom: 30px;
  }

  .hero-stats {
    margin-top: 0;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card {
    min-height: 265px;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading--split .heading-aside p {
    max-width: 540px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-panel {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .security-copy {
    padding: 42px 36px;
  }

  .check-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .faq-heading {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 10px 24px;
  }

  .faq-heading .section-kicker,
  .faq-heading h2,
  .faq-heading p {
    grid-column: 1;
  }

  .faq-heading .btn {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: center;
    margin-top: 0;
  }

  .final-card {
    padding: 48px 42px;
  }

  .final-card-action .btn {
    min-height: 54px;
    padding-inline: 28px;
  }

  .signup-grid {
    grid-template-columns: 1fr;
  }

  .signup-aside {
    position: relative;
    top: 0;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 28px;
    align-items: start;
  }

  .signup-aside h2 {
    margin-top: 14px;
  }

  .aside-timeline {
    margin-top: 5px;
  }

  .aside-note {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-hero {
    padding-bottom: 140px;
  }

  .page-hero-aside {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 66px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav.is-open {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line-light);
    background: rgba(8, 15, 14, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    animation: menuIn 0.25s var(--ease);
  }

  .main-nav.is-open a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
  }

  .main-nav.is-open a::after {
    display: none;
  }

  .header-inner {
    gap: 14px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-text {
    font-size: 14.5px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(44px, 13vw, 62px);
    letter-spacing: -0.065em;
  }

  .hero h1 .accent::after {
    bottom: 4px;
    height: 9px;
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .text-link {
    width: fit-content;
  }

  .hero-points {
    gap: 9px 16px;
    margin-top: 28px;
    font-size: 10.5px;
  }

  .hero-visual {
    min-height: 360px;
    margin-top: 20px;
  }

  .device-illustration {
    width: 88%;
  }

  .payout-card {
    top: 10px;
    right: 0;
    width: 176px;
    padding: 14px 14px 11px;
    border-radius: 14px;
  }

  .float-amount {
    font-size: 27px;
  }

  .float-amount span {
    font-size: 15px;
  }

  .float-breakdown {
    font-size: 8px;
  }

  .mini-chart {
    height: 24px;
    margin-top: 9px;
  }

  .device-status-card {
    bottom: 22px;
    left: 0;
    width: auto;
    max-width: 190px;
    padding: 10px 12px;
    gap: 8px;
    border-radius: 12px;
  }

  .device-status-card strong {
    font-size: 10.5px;
  }

  .device-status-card small {
    font-size: 8px;
  }

  .rate-pill {
    right: 3%;
    bottom: 14px;
    padding: 8px 11px;
    gap: 5px;
    border-radius: 10px;
  }

  .rate-pill strong {
    font-size: 20px;
  }

  .rate-pill span {
    font-size: 8px;
  }

  .rate-pill small {
    font-size: 7px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 14px 0;
  }

  .hero-stat {
    padding: 13px 12px 13px 0;
    border-right: 1px solid var(--line-light-soft);
    border-bottom: 1px solid var(--line-light-soft);
  }

  .hero-stat:nth-child(2n) {
    padding-left: 18px;
    border-right: 0;
  }

  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) {
    border-bottom: 0;
  }

  .hero-stat strong {
    font-size: 18px;
  }

  .hero-stat span {
    font-size: 9px;
  }

  .hero-stat + .hero-stat {
    padding-left: 18px;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading h2,
  .faq-heading h2 {
    font-size: clamp(34px, 9vw, 46px);
  }

  .section-heading p {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.8;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 34px;
  }

  .step-card {
    min-height: auto;
    padding: 20px;
  }

  .step-card h3 {
    margin-top: 18px;
  }

  .step-meta {
    margin-top: 16px;
    padding-top: 13px;
  }

  .inline-callout {
    flex-wrap: wrap;
    padding: 16px;
    gap: 12px;
  }

  .inline-callout p {
    flex-basis: calc(100% - 54px);
    font-size: 12px;
  }

  .inline-callout .btn {
    width: 100%;
  }

  .calculator {
    grid-template-columns: 1fr;
    margin-top: 32px;
    border-radius: 22px;
  }

  .calculator-controls {
    padding: 28px 22px;
  }

  .calculator-result {
    padding: 28px 22px;
  }

  .result-amount span {
    font-size: 72px;
  }

  .rule-grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .rule-card {
    padding: 22px 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light-soft);
  }

  .rule-card:last-child {
    border-bottom: 0;
  }

  .rule-card p {
    max-width: none;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .benefit-card {
    padding: 23px;
  }

  .security-panel {
    grid-template-columns: 1fr;
    margin-top: 38px;
    border-radius: 22px;
  }

  .security-visual {
    min-height: 280px;
  }

  .security-rings {
    width: 250px;
    height: 250px;
  }

  .security-copy {
    padding: 32px 24px 34px;
  }

  .security-copy h2 {
    font-size: 34px;
  }

  .check-list {
    margin: 22px 0 20px;
  }

  .faq-layout {
    gap: 30px;
  }

  .faq-heading {
    display: block;
  }

  .faq-heading .btn {
    margin-top: 22px;
  }

  .faq-item summary {
    gap: 16px;
    padding: 20px 0;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 0 22px;
  }

  .final-cta {
    padding-bottom: 74px;
  }

  .final-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 36px 24px;
    border-radius: 24px;
  }

  .final-card h2 {
    font-size: clamp(31px, 8.8vw, 42px);
  }

  .final-card-action {
    width: 100%;
  }

  .final-card-action .btn {
    width: 100%;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
    padding-bottom: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-note {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom span:last-child {
    max-width: none;
    text-align: left;
  }

  .page-hero {
    padding: 44px 0 126px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .page-hero-lead {
    font-size: 13px;
  }

  .signup-body {
    margin-top: -88px;
    padding-bottom: 70px;
  }

  .signup-aside {
    display: block;
    padding: 26px;
    border-radius: 22px;
  }

  .aside-timeline {
    margin-top: 24px;
  }

  .aside-note {
    margin-top: 24px;
  }

  .form-card {
    padding: 26px 20px 24px;
    border-radius: 22px;
  }

  .form-card-head {
    flex-direction: column;
    gap: 13px;
  }

  .form-card h2 {
    font-size: 24px;
  }

  .form-grid--two {
    grid-template-columns: 1fr;
  }

  .signup-hero-card {
    display: none;
  }

  .apply-no-value {
    font-size: 31px;
  }

  .success-actions {
    flex-direction: column;
    width: 100%;
    max-width: 440px;
  }

  .success-actions .btn {
    width: 100%;
  }

  .form-card .signup-success {
    padding: 12px 0 6px;
  }
}

@media (max-width: 420px) {
  .eyebrow {
    font-size: 10px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .payout-card {
    width: 158px;
    top: 4px;
  }

  .device-status-card {
    max-width: 165px;
    bottom: 12px;
  }

  .device-status-card .mini-wifi {
    display: none;
  }

  .rate-pill {
    right: 0;
    bottom: 4px;
  }

  .signup-assurance {
    gap: 6px;
  }

  .signup-assurance span {
    padding: 6px 8px;
    font-size: 9.5px;
  }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes bootPulse {
  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.35;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ==========================================================================
   Earnings / member centre
   ========================================================================== */
.earnings-main {
  min-height: 100vh;
  background: var(--paper);
}

.auth-section {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 80px) 0 96px;
  background: var(--ink);
  color: var(--white);
}

.auth-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 75% at 35% 35%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 35% 35%, #000, transparent 78%);
  pointer-events: none;
}

.auth-glow {
  position: absolute;
  top: -35%;
  right: -10%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 245, 107, 0.12), transparent 64%);
  pointer-events: none;
}

.auth-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 76px;
}

.auth-copy h1 {
  margin: 26px 0 24px;
  font-size: clamp(46px, 5.7vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.065em;
  color: var(--white);
}

.auth-lead {
  max-width: 530px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14.5px;
  line-height: 1.9;
}

.auth-points {
  display: grid;
  gap: 0;
  max-width: 530px;
  margin-top: 32px;
  list-style: none;
}

.auth-points li {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-points li > span {
  padding-top: 3px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
}

.auth-points strong {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12.5px;
  font-weight: 600;
}

.auth-points p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 10.5px;
  line-height: 1.7;
}

.auth-preview {
  max-width: 480px;
  margin-top: 30px;
  padding: 18px 20px 17px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.auth-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.auth-preview-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(201, 245, 107, 0.65);
}

.auth-preview-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.auth-preview-device {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.preview-device-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(201, 245, 107, 0.08);
}

.auth-preview-device strong {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.84);
}

.auth-preview-device small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 8.5px;
}

.preview-badge {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid rgba(201, 245, 107, 0.18);
  border-radius: 4px;
  color: rgba(201, 245, 107, 0.7);
  font-size: 8px;
}

.auth-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 14px;
}

.auth-preview-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.28);
  font-size: 8.5px;
}

.auth-preview-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.auth-preview-stats em {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-style: normal;
}

.auth-card {
  position: relative;
  padding: 36px 38px 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.24);
}

.auth-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-card .section-kicker {
  color: var(--muted-2);
}

.auth-card .section-kicker::before {
  display: none;
}

.auth-lock {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--forest);
}

.auth-lock svg {
  width: 16px;
  height: 16px;
}

.auth-card h2 {
  margin-top: 20px;
  font-size: 27px;
  letter-spacing: -0.045em;
}

.auth-sub {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 24px;
}

.auth-submit {
  height: 52px;
  margin-top: 3px;
}

.demo-box {
  margin-top: 20px;
  padding: 15px;
  border: 1px dashed rgba(23, 69, 54, 0.24);
  border-radius: 14px;
  background: var(--paper-soft);
}

.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.demo-tag {
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--lime-soft);
  color: #56721d;
  font-family: var(--font-sans);
  font-size: 8px;
  letter-spacing: 0;
}

.demo-box > p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.demo-credential {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 11px;
}

.demo-credential > div {
  flex: 1;
}

.demo-credential span {
  display: block;
  color: var(--muted-2);
  font-size: 8px;
}

.demo-credential strong {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.demo-divider {
  width: 1px;
  height: 25px;
  background: var(--line);
}

.demo-btn {
  min-height: 38px;
  margin-top: 12px;
  font-size: 11px;
}

.auth-signup {
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 10.5px;
  text-align: center;
}

.auth-signup a {
  color: var(--forest);
  font-weight: 600;
  border-bottom: 1px solid rgba(23, 69, 54, 0.25);
}

.auth-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: #9ba49f;
  font-size: 9px;
}

.auth-security svg {
  width: 12px;
  height: 12px;
}

.boot-screen {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 16px);
  padding-top: var(--header-h);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
}

.boot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.boot-mark {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 30px;
}

.boot-mark span {
  width: 4px;
  height: 22px;
  border-radius: 3px;
  background: var(--lime);
  animation: bootPulse 1.1s ease-in-out infinite;
}

.boot-mark span:nth-child(2) {
  animation-delay: 0.16s;
}

.boot-mark span:nth-child(3) {
  animation-delay: 0.32s;
}

/* Dashboard */
.dashboard {
  padding: calc(var(--header-h) + 40px) 0 88px;
  background: var(--paper);
}

.dashboard-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.dashboard-head .section-kicker {
  color: var(--muted-2);
}

.dashboard-head h1 {
  margin-top: 10px;
  font-size: clamp(31px, 3.8vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.user-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 15px;
}

.user-meta span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}

.user-meta i {
  color: var(--muted-2);
  font-size: 9.5px;
  font-style: normal;
}

.user-meta strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
}

.dashboard-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
}

.sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
  font-size: 10px;
}

.sync-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(120, 168, 50, 0.1);
}

.filter-bar {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 20;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(20, 36, 30, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 250px;
}

.filter-field--month {
  min-width: 150px;
}

.filter-field label {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  height: 43px;
  padding: 0 38px 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: var(--white);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.select-wrap select:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(23, 69, 54, 0.08);
}

.select-wrap > svg {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 14px;
  height: 14px;
  color: var(--muted-2);
  transform: translateY(-50%);
  pointer-events: none;
}

.filter-field--month .select-wrap {
  width: 160px;
}

.sync-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding-bottom: 9px;
  color: var(--muted-2);
  font-size: 9.5px;
  white-space: nowrap;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(120, 168, 50, 0.1);
}

.status-dot.is-offline {
  background: var(--muted-2);
  box-shadow: 0 0 0 3px rgba(104, 116, 111, 0.1);
}

.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  margin-left: 5px;
  padding: 0 9px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: var(--white);
  color: var(--muted);
  font-size: 9.5px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.refresh-btn svg {
  width: 13px;
  height: 13px;
}

.refresh-btn:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.refresh-btn.is-spinning svg {
  animation: spin 0.8s linear infinite;
}

.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 346px;
  align-items: start;
  gap: 16px;
  margin-top: 16px;
}

.dash-main,
.dash-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(20, 36, 30, 0.035);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.panel-head h2 {
  color: var(--text);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.panel-head p {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.6;
}

.panel-note {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.device-identity {
  display: flex;
  align-items: center;
  gap: 13px;
}

.device-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 13px;
  background: var(--ink);
  color: var(--lime);
}

.device-icon svg {
  width: 26px;
  height: 26px;
}

.device-identity h2 {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.device-identity p {
  margin-top: 3px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
  background: var(--paper);
  color: var(--muted);
}

.status-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted-2);
}

.status-badge.is-online {
  background: #f0f9df;
  color: #547a17;
}

.status-badge.is-online i {
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(120, 168, 50, 0.1);
}

.device-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.device-info-grid > div {
  min-width: 0;
  padding: 10px 16px 10px 0;
}

.device-info-grid dt {
  color: var(--muted-2);
  font-size: 9px;
}

.device-info-grid dd {
  margin-top: 4px;
  overflow: hidden;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  display: flex;
  flex-direction: column;
  padding: 20px 21px;
}

.metric-label {
  color: var(--muted);
  font-size: 10px;
}

.metric-value {
  margin-top: 9px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.2;
}

.metric-sub {
  margin-top: auto;
  padding-top: 8px;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.5;
}

.metric-card--accent {
  position: relative;
  overflow: hidden;
  border-color: transparent;
  background: var(--ink);
  color: var(--white);
}

.metric-card--accent::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -46px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(201, 245, 107, 0.12);
  box-shadow: 0 0 0 24px rgba(201, 245, 107, 0.025);
}

.metric-card--accent .metric-label,
.metric-card--accent .metric-sub {
  color: rgba(255, 255, 255, 0.4);
}

.metric-card--accent .metric-value {
  color: var(--lime);
}

.chart-panel .panel-head {
  align-items: flex-start;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted-2);
  font-size: 8.5px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.chart-legend i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--forest);
}

.chart-legend i.is-partial {
  background: #d8dfd4;
}

.chart-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
}

.online-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-width: 500px;
  height: 214px;
  padding: 32px 2px 0;
}

.online-chart.is-sparse {
  justify-content: center;
}

.online-chart.is-sparse .chart-col {
  max-width: 64px;
}

.online-chart.is-sparse .chart-bar {
  max-width: 38px;
}

.chart-col {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 22px;
  height: 100%;
}

.chart-bar-area {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 154px;
}

.chart-bar {
  width: min(100%, 28px);
  min-height: 3px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #2e6a54, var(--forest));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chart-col:hover .chart-bar {
  opacity: 0.78;
  transform: scaleX(1.06);
}

.chart-col.is-today .chart-bar {
  background: linear-gradient(180deg, var(--lime-strong), #d4dd9e);
}

.chart-col.is-partial .chart-bar {
  background: linear-gradient(180deg, #a7b6a4, #d8dfd4);
}

.chart-col.is-partial.is-today .chart-bar {
  background: linear-gradient(180deg, var(--gold), #f0d5a6);
}

.chart-tip {
  position: absolute;
  top: 2px;
  z-index: 2;
  padding: 4px 6px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.chart-col:hover .chart-tip {
  opacity: 1;
  transform: translateY(0);
}

.chart-day {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  white-space: nowrap;
}

.chart-col.is-today .chart-day {
  color: var(--text);
  font-weight: 600;
}

.chart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 8.5px;
}

.chart-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 160px;
  color: var(--muted-2);
  font-size: 11px;
}

.history-table {
  width: 100%;
  min-width: 590px;
  margin-top: 16px;
  border-collapse: collapse;
  text-align: left;
}

.history-table th {
  padding: 10px 12px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 500;
  white-space: nowrap;
}

.history-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10.5px;
  white-space: nowrap;
}

.history-table tr:last-child td {
  border-bottom: 0;
}

.history-table tbody tr {
  transition: background-color 0.2s ease;
}

.history-table tbody tr:hover {
  background: var(--paper-soft);
}

.history-month-btn {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(23, 69, 54, 0.3);
  background: transparent;
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 10.5px;
  cursor: pointer;
}

.history-current {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--lime-soft);
  color: #5a761f;
  font-family: var(--font-sans);
  font-size: 7.5px;
}

.table-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 8px;
}

.table-status.is-earned {
  background: #f0f9df;
  color: #547a17;
}

.table-status.is-current {
  background: #f5f2da;
  color: #8b721e;
}

.table-status.is-missed {
  background: #f8ece8;
  color: #a45940;
}

.table-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
}

.earnings-panel {
  position: relative;
  overflow: hidden;
  padding: 25px 24px 21px;
  border: 0;
  background: var(--ink);
  color: var(--white);
}

.earnings-panel::before {
  content: "";
  position: absolute;
  top: -55%;
  right: -25%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 245, 107, 0.17), transparent 64%);
  pointer-events: none;
}

.earn-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}

.earn-tag {
  padding: 3px 6px;
  border: 1px solid rgba(201, 245, 107, 0.18);
  border-radius: 4px;
  color: rgba(201, 245, 107, 0.7);
  font-size: 8px;
}

.earn-amount {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-top: 18px;
  color: var(--white);
  font-family: var(--font-mono);
  letter-spacing: -0.07em;
  line-height: 1;
}

.earn-amount small {
  margin-top: 4px;
  margin-right: 4px;
  color: var(--lime);
  font-size: 15px;
}

.earn-amount span {
  font-size: 49px;
  font-weight: 500;
}

.earn-caption {
  position: relative;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
  line-height: 1.6;
}

.earn-lines {
  position: relative;
  margin-top: 21px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.earn-lines > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9.5px;
}

.earn-lines strong {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
}

.earn-line-bonus i {
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.38);
  font-size: 7px;
  font-style: normal;
}

.earn-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.26);
  font-family: var(--font-mono);
  font-size: 8px;
}

.bonus-panel {
  padding: 21px 22px;
}

.bonus-amount {
  flex: 0 0 auto;
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.progress-track {
  height: 7px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-deep);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--forest), var(--lime-strong));
  transition: width 0.55s var(--ease);
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 9px;
}

.progress-meta strong {
  color: var(--forest);
  font-weight: 600;
}

.bonus-hint {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.6;
}

.api-mini-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f5f2e6, #fbfaf6);
}

.api-mini-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--paper-deep);
  color: var(--forest);
}

.api-mini-icon svg {
  width: 18px;
  height: 18px;
}

.api-mini-panel h2 {
  margin-top: 16px;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.api-mini-panel p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.api-mini-panel .text-link {
  margin-top: 16px;
  color: var(--forest);
  font-size: 10.5px;
  border-color: rgba(23, 69, 54, 0.3);
}

.api-docs-panel {
  margin-top: 16px;
  padding: 27px 28px;
}

.api-docs-panel .panel-head {
  align-items: center;
}

.api-docs-panel .section-kicker {
  color: var(--muted-2);
}

.api-docs-panel .panel-head h2 {
  margin-top: 8px;
  font-size: 18px;
}

.api-docs-panel .panel-head p {
  max-width: 630px;
}

.api-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.api-card {
  padding: 17px 18px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: var(--paper-soft);
}

.api-card-head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.api-card-head code {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
}

.method-badge {
  display: inline-block;
  padding: 3px 5px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.method-post {
  background: #e5f5d4;
  color: #4d7815;
}

.method-put {
  background: #f4ebd2;
  color: #8a6a21;
}

.method-patch {
  background: #e7eef8;
  color: #3e6392;
}

.method-get {
  background: #e4f4ef;
  color: #2f725f;
}

.api-card > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.7;
}

.mini-code {
  margin: 12px 0 0;
  padding: 12px;
  overflow-x: auto;
  border-radius: 8px;
  background: #0c1714;
  color: rgba(218, 242, 200, 0.8);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.7;
  white-space: pre;
}

.empty-state {
  margin-top: 16px;
  padding: 65px 30px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: var(--white);
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto;
  border-radius: 20px;
  background: var(--paper);
  color: var(--forest);
}

.empty-icon svg {
  width: 36px;
  height: 36px;
}

.empty-state h2 {
  margin-top: 22px;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.empty-state p {
  max-width: 470px;
  margin: 9px auto 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.8;
}

.empty-actions {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}

.dashboard-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(184, 75, 47, 0.15);
  border-radius: 14px;
  background: #fdf7f4;
  color: var(--error);
  font-size: 12px;
}

/* ==========================================================================
   API documentation
   ========================================================================== */
.docs-hero {
  padding: calc(var(--header-h) + 64px) 0 72px;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.docs-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 245, 107, 0.11), transparent 66%);
  pointer-events: none;
}

.docs-hero .container {
  position: relative;
  z-index: 1;
}

.docs-hero h1 {
  margin-top: 20px;
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.docs-hero p {
  max-width: 580px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  line-height: 1.85;
}

.docs-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.docs-hero-meta span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 8.5px;
}

.docs-page {
  padding: 56px 0 100px;
  background: var(--paper);
}

.docs-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: start;
  gap: 58px;
}

.docs-nav {
  position: sticky;
  top: 105px;
}

.docs-nav h2 {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.docs-nav a {
  display: block;
  margin-top: 10px;
  padding: 6px 0;
  color: var(--muted);
  font-size: 11px;
  transition: color 0.2s ease;
}

.docs-nav a:hover {
  color: var(--forest);
}

.docs-content .doc-section {
  margin-bottom: 48px;
}

.docs-content .doc-section:last-child {
  margin-bottom: 0;
}

.doc-section h2 {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  font-size: 25px;
  letter-spacing: -0.045em;
}

.doc-section h2 span {
  margin-right: 7px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
}

.doc-section > p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.doc-section card,
.doc-card {
  display: block;
  margin-top: 18px;
  padding: 21px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--white);
}

.doc-endpoint {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 20px;
}

.doc-endpoint h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.doc-endpoint code {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.doc-endpoint + p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.doc-list {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding-left: 17px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.doc-list li::marker {
  color: var(--forest);
}

.doc-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 10.5px;
}

.doc-table th,
.doc-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.doc-table th {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 500;
}

.doc-table td {
  color: var(--muted);
  line-height: 1.7;
}

.doc-table td code {
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.code-block {
  position: relative;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 13px;
  background: #0b1613;
}

.code-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.code-block pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  color: rgba(223, 243, 204, 0.78);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.8;
  white-space: pre;
}

.code-block .copy-btn {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.46);
}

.code-block .copy-btn:hover {
  border-color: rgba(201, 245, 107, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--lime);
}

.code-block .copy-btn.is-copied {
  border-color: rgba(201, 245, 107, 0.3);
  background: rgba(201, 245, 107, 0.1);
  color: var(--lime);
}

.doc-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 15px 17px;
  border: 1px solid rgba(201, 245, 107, 0.35);
  border-radius: 11px;
  background: #f5f9e8;
  color: #536421;
  font-size: 11px;
  line-height: 1.75;
}

.doc-callout strong {
  color: #3f5014;
}

.doc-code-inline {
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--paper);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.demo-key-table td code {
  word-break: break-all;
}

/* ==========================================================================
   Legal / 404
   ========================================================================== */
.legal-page {
  padding: calc(var(--header-h) + 65px) 0 90px;
  background: var(--paper);
}

.legal-head {
  max-width: 820px;
}

.legal-head h1 {
  margin-top: 17px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.legal-head p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
}

.legal-card {
  max-width: 820px;
  margin-top: 34px;
  padding: 42px 46px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: var(--white);
}

.legal-card h2 {
  margin: 32px 0 10px;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
}

.legal-card ul {
  margin: 10px 0;
  padding-left: 20px;
}

.legal-card li::marker {
  color: var(--forest);
}

.legal-note {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--paper-soft);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.page-404 {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 380px);
  padding: calc(var(--header-h) + 80px) 0 90px;
  background: var(--paper);
  text-align: center;
}

.page-404 .error-code {
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: clamp(82px, 15vw, 150px);
  font-weight: 500;
  letter-spacing: -0.1em;
  line-height: 1;
}

.page-404 h1 {
  margin-top: 12px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.page-404 p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.page-404 .btn {
  margin-top: 28px;
}

/* ==========================================================================
   Additional responsive rules for earnings / docs
   ========================================================================== */
@media (max-width: 1180px) {
  .auth-grid {
    gap: 48px;
    grid-template-columns: minmax(0, 1fr) 378px;
  }

  .auth-card {
    padding: 32px 30px 26px;
  }

  .dash-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .device-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .device-info-grid > div {
    padding-right: 20px;
  }
}

@media (max-width: 980px) {
  .auth-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .auth-section {
    padding-bottom: 64px;
  }

  .auth-copy h1 {
    font-size: clamp(42px, 8vw, 64px);
  }

  .auth-preview {
    display: none;
  }

  .auth-card {
    max-width: 520px;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  .dash-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .dash-side .earnings-panel {
    grid-row: span 2;
  }

  .api-docs-panel .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .api-docs-panel .panel-head .btn {
    align-self: flex-start;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .docs-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 3px 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }

  .docs-nav h2 {
    width: 100%;
    margin-bottom: 4px;
  }

  .docs-nav a {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .auth-section {
    padding: calc(var(--header-h) + 44px) 0 50px;
  }

  .auth-copy h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .auth-lead {
    font-size: 13px;
  }

  .auth-points {
    margin-top: 24px;
  }

  .auth-card {
    padding: 26px 21px 22px;
    border-radius: 22px;
  }

  .auth-card h2 {
    font-size: 24px;
  }

  .auth-submit {
    height: 50px;
  }

  .dashboard {
    padding: calc(var(--header-h) + 28px) 0 64px;
  }

  .dashboard-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .dashboard-head h1 {
    font-size: 31px;
  }

  .user-meta {
    gap: 5px 14px;
  }

  .dashboard-head-actions {
    width: 100%;
    justify-content: space-between;
    padding-bottom: 0;
  }

  .filter-bar {
    position: static;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
    margin-top: 20px;
  }

  .filter-field {
    min-width: 0;
    width: 100%;
  }

  .filter-field--month {
    width: calc(100% - 0px);
  }

  .filter-field--month .select-wrap {
    width: 100%;
  }

  .sync-line {
    width: 100%;
    margin-left: 0;
    padding: 2px 0 0;
  }

  .refresh-btn {
    margin-left: auto;
  }

  .panel {
    padding: 18px;
    border-radius: 16px;
  }

  .device-info-grid {
    margin-top: 19px;
    padding-top: 13px;
  }

  .device-info-grid > div {
    padding: 9px 12px 9px 0;
  }

  .device-info-grid dd {
    font-size: 10px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .metric-card {
    padding: 16px 18px;
  }

  .metric-value {
    font-size: 23px;
  }

  .chart-panel .panel-head {
    gap: 10px;
  }

  .chart-legend {
    font-size: 8px;
  }

  .online-chart {
    min-width: 0;
    width: 100%;
    height: 190px;
    gap: 3px;
  }

  .chart-col {
    min-width: 0;
  }

  .chart-bar {
    max-width: 24px;
  }

  .chart-bar-area {
    height: 135px;
  }

  .chart-day {
    font-size: 7.5px;
  }

  .chart-tip {
    display: none;
  }

  .online-chart.is-sparse .chart-col {
    max-width: 52px;
  }

  .dash-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .dash-main,
  .dash-side {
    display: contents;
  }

  .device-panel {
    order: 1;
  }

  .metric-row {
    order: 2;
  }

  .earnings-panel {
    order: 3;
  }

  .bonus-panel {
    order: 4;
  }

  .chart-panel {
    order: 5;
  }

  .history-panel {
    order: 6;
  }

  .api-mini-panel {
    order: 7;
  }

  .history-table {
    min-width: 0;
  }

  .history-table th:nth-child(3),
  .history-table td:nth-child(3),
  .history-table th:nth-child(4),
  .history-table td:nth-child(4) {
    display: none;
  }

  .history-table th,
  .history-table td {
    padding: 11px 8px;
    font-size: 9.5px;
  }

  .history-month-btn {
    font-size: 9.5px;
  }

  .chart-footer {
    gap: 8px;
    font-size: 8px;
  }

  .dash-side {
    grid-template-columns: 1fr;
  }

  .dash-side .earnings-panel {
    grid-row: auto;
  }

  .api-grid {
    grid-template-columns: 1fr;
  }

  .api-docs-panel {
    padding: 18px;
  }

  .api-docs-panel .panel-head h2 {
    font-size: 17px;
  }

  .empty-state {
    padding: 42px 20px;
  }

  .empty-state h2 {
    font-size: 20px;
  }

  .empty-actions {
    flex-direction: column;
  }

  .docs-hero {
    padding: calc(var(--header-h) + 40px) 0 48px;
  }

  .docs-hero p {
    font-size: 12px;
  }

  .docs-page {
    padding: 32px 0 70px;
  }

  .doc-section h2 {
    font-size: 21px;
  }

  .doc-card {
    padding: 16px;
  }

  .doc-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .code-block pre {
    padding: 13px;
    font-size: 9px;
  }

  .legal-page {
    padding: calc(var(--header-h) + 40px) 0 60px;
  }

  .legal-head h1 {
    font-size: 38px;
  }

  .legal-card {
    margin-top: 25px;
    padding: 26px 20px;
  }

  .page-404 {
    min-height: 60vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   2026 · 家庭宽带拨测节点招募改版
   ========================================================================== */
.hero h1 {
  max-width: 700px;
  font-size: clamp(46px, 5.4vw, 72px);
  letter-spacing: -0.06em;
}

.hero-copy {
  padding-bottom: 70px;
}

.hero-lead {
  max-width: 590px;
}

.hero-warning {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 590px;
  margin-top: 20px;
  padding: 11px 14px;
  border: 1px solid rgba(232, 185, 107, 0.26);
  border-radius: 10px;
  background: rgba(232, 185, 107, 0.075);
  color: rgba(255, 230, 183, 0.82);
  font-size: 11.5px;
  line-height: 1.65;
}

.hero-warning svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--gold);
}

.hero-warning strong {
  color: var(--gold);
  font-weight: 600;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 27px;
}

.qq-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 500;
  transition:
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.qq-cta:hover {
  border-color: rgba(201, 245, 107, 0.4);
  background: rgba(201, 245, 107, 0.06);
  transform: translateY(-1px);
}

.qq-cta-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(201, 245, 107, 0.1);
  color: var(--lime);
}

.qq-cta-icon svg {
  width: 17px;
  height: 17px;
}

.qq-cta strong {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.qq-cta small {
  margin-left: 2px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 8px;
  white-space: nowrap;
}

.hero-qq-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
}

.hero-points {
  margin-top: 27px;
}

.hero-visual .burst-badge {
  position: absolute;
  top: 20px;
  left: 2%;
  z-index: 3;
  padding: 7px 10px;
  border: 1px solid rgba(201, 245, 107, 0.2);
  border-radius: 7px;
  background: rgba(201, 245, 107, 0.07);
  color: rgba(201, 245, 107, 0.72);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
}

.payout-card .float-card-head .tag-example {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0;
}

.device-status-card small {
  max-width: 135px;
  line-height: 1.5;
}

/* 接入须知 */
.policy-alert {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin-top: 40px;
  padding: 23px 25px;
  border: 1px solid rgba(184, 117, 47, 0.26);
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 0%, rgba(232, 185, 107, 0.16), transparent 38%),
    #fbf5e8;
}

.policy-alert-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(184, 117, 47, 0.1);
  color: #9a6225;
}

.policy-alert-icon svg {
  width: 21px;
  height: 21px;
}

.policy-alert h3 {
  color: #5c3c18;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.policy-alert p {
  max-width: 760px;
  margin-top: 6px;
  color: #896b47;
  font-size: 11.5px;
  line-height: 1.75;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.policy-card {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 25px 24px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--paper-soft);
}

.policy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.policy-number {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.policy-tag {
  padding: 3px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: var(--muted);
  font-size: 8px;
}

.policy-card h3 {
  margin-top: 26px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.policy-card > p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.85;
}

.protocol-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 25px;
}

.protocol-tags span {
  padding: 4px 7px;
  border: 1px solid rgba(23, 69, 54, 0.14);
  border-radius: 4px;
  background: var(--white);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.policy-metrics {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.policy-metrics > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--white);
}

.policy-metrics strong {
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
}

.policy-metrics small {
  color: var(--muted-2);
  font-size: 8.5px;
}

.policy-cross {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 24px;
}

.policy-cross span {
  padding: 4px 8px;
  border-radius: 4px;
  background: #f8ece6;
  color: #a65f42;
  font-size: 9px;
}

.protocol-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 19px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--white);
  color: var(--muted);
  font-size: 10.5px;
}

.protocol-line > span:first-child {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.protocol-line strong {
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
}

.protocol-line-sep {
  width: 1px;
  height: 16px;
  background: var(--line);
}

/* 价格与合作区域 */
.pricing-section {
  overflow: hidden;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  margin-top: 48px;
}

.rental-panel {
  position: relative;
  overflow: hidden;
  padding: 40px 40px 34px;
  border-radius: var(--radius-lg);
  background: var(--lime);
  color: var(--ink);
}

.rental-panel::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(10, 17, 18, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(10, 17, 18, 0.025);
  pointer-events: none;
}

.rental-label {
  color: rgba(10, 17, 18, 0.52);
  font-size: 11px;
}

.rental-amount {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin-top: 13px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: clamp(54px, 5.8vw, 82px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.08em;
}

.rental-amount span {
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.rental-amount em {
  margin: 0 12px;
  color: rgba(10, 17, 18, 0.26);
  font-size: 0.62em;
  font-style: normal;
  letter-spacing: 0;
}

.rental-amount small {
  margin-left: 14px;
  color: rgba(10, 17, 18, 0.46);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

.price-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 27px;
}

.price-tags span {
  padding: 5px 9px;
  border: 1px solid rgba(10, 17, 18, 0.16);
  border-radius: 4px;
  color: rgba(10, 17, 18, 0.63);
  font-size: 9px;
}

.rental-panel > p {
  position: relative;
  z-index: 1;
  margin-top: 19px;
  color: rgba(10, 17, 18, 0.48);
  font-size: 10px;
}

.coverage-panel {
  padding: 34px 34px 28px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
}

.coverage-panel .section-kicker {
  color: rgba(201, 245, 107, 0.6);
}

.coverage-panel h3 {
  margin-top: 14px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.coverage-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--line-light-soft);
}

.coverage-item:first-of-type {
  margin-top: 22px;
}

.coverage-badge {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(201, 245, 107, 0.22);
  border-radius: 4px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 8px;
  white-space: nowrap;
}

.coverage-item p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11.5px;
  line-height: 1.75;
}

.coverage-item p strong {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.coverage-note {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light-soft);
  color: rgba(232, 185, 107, 0.65);
  font-size: 9.5px;
  line-height: 1.7;
}

.coverage-note svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.rental-estimator {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 50px;
  margin-top: 18px;
  padding: 28px 34px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.estimator-copy .section-kicker {
  color: rgba(255, 255, 255, 0.3);
}

.estimator-copy h3 {
  margin-top: 11px;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.estimator-copy p {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  line-height: 1.7;
}

.estimator-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.estimator-label label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.estimator-label output {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 14px;
}

.estimator-result {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--line-light-soft);
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
}

.estimator-result strong {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.estimator-result em {
  color: rgba(255, 255, 255, 0.22);
  font-style: normal;
}

/* 设备方案 */
.deployment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 34px 34px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.055), transparent 40%),
    var(--ink);
  color: var(--white);
}

.plan-card--accent {
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 245, 107, 0.13), transparent 46%),
    linear-gradient(135deg, #14362b, var(--ink) 78%);
  border-color: rgba(201, 245, 107, 0.16);
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-tag {
  color: rgba(255, 255, 255, 0.26);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.plan-badge {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
}

.plan-card--accent .plan-badge {
  border-color: rgba(201, 245, 107, 0.25);
  color: rgba(201, 245, 107, 0.72);
}

.plan-card h3 {
  margin-top: 24px;
  font-size: 27px;
  letter-spacing: -0.045em;
}

.plan-intro {
  max-width: 440px;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11.5px;
  line-height: 1.8;
}

.spec-list {
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.spec-list dt {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.3);
  font-size: 9.5px;
}

.spec-list dd {
  color: rgba(255, 255, 255, 0.75);
  font-size: 10.5px;
  line-height: 1.65;
  text-align: right;
}

.spec-list code {
  padding: 2px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(201, 245, 107, 0.82);
  font-family: var(--font-mono);
  font-size: 9px;
}

.plan-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
}

.plan-foot span {
  color: rgba(255, 255, 255, 0.26);
  font-size: 9px;
}

.plan-foot strong {
  color: var(--lime);
  font-size: 10.5px;
  font-weight: 500;
}

.deployment-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--paper-soft);
}

.flow-item {
  padding: 23px 22px;
  border-right: 1px solid var(--line-soft);
}

.flow-item:last-child {
  border-right: 0;
}

.flow-num {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.flow-item h3 {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.flow-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.final-qq {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(201, 245, 107, 0.82);
  font-size: 11px;
  font-weight: 500;
  text-align: left;
}

.final-qq:hover {
  color: var(--lime);
}

.footer-qq {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(201, 245, 107, 0.65);
  font-size: 10.5px;
  text-align: left;
}

.footer-qq:hover {
  color: var(--lime);
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: 12.5px;
  }

  .policy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .policy-card {
    padding-inline: 20px;
  }

  .rental-estimator {
    gap: 32px;
    padding-inline: 26px;
  }

  .plan-card {
    padding-inline: 27px;
  }
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: clamp(46px, 6.3vw, 64px);
  }

  .hero-copy {
    padding-bottom: 15px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-card {
    min-height: 0;
  }

  .policy-card h3 {
    margin-top: 20px;
  }

  .protocol-tags,
  .policy-metrics,
  .policy-cross {
    padding-top: 20px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .rental-estimator {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .deployment-grid {
    grid-template-columns: 1fr;
  }

  .deployment-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-item:nth-child(2) {
    border-right: 0;
  }

  .flow-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .main-nav {
    display: flex;
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }

  .hero h1 {
    font-size: clamp(38px, 9.8vw, 48px);
    line-height: 1.1;
  }


  .hero-lead {
    font-size: 13.5px;
  }

  .hero-warning {
    margin-top: 17px;
    font-size: 10.5px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .qq-cta {
    width: 100%;
    justify-content: flex-start;
    min-height: 52px;
  }

  .qq-cta small {
    margin-left: auto;
  }

  .hero-qq-note {
    font-size: 9px;
  }

  .hero-points {
    margin-top: 22px;
    font-size: 10px;
  }

  .hero-visual {
    min-height: 380px;
    margin-top: 8px;
  }

  .burst-badge {
    top: 4px !important;
    left: 0 !important;
    font-size: 7.5px !important;
    padding: 5px 7px !important;
  }

  .payout-card {
    top: 38px;
  }

  .policy-alert {
    padding: 18px;
    gap: 12px;
  }

  .policy-alert-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .policy-alert-icon svg {
    width: 18px;
    height: 18px;
  }

  .policy-alert h3 {
    font-size: 13px;
  }

  .policy-alert p {
    font-size: 10.5px;
  }

  .policy-grid {
    margin-top: 12px;
  }

  .policy-card {
    padding: 20px;
  }

  .protocol-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 14px;
  }

  .protocol-line-sep {
    display: none;
  }

  .rental-panel,
  .coverage-panel {
    padding: 26px 21px;
    border-radius: 22px;
  }

  .rental-amount {
    font-size: 55px;
  }

  .rental-amount small {
    margin-left: 9px;
  }

  .rental-estimator {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .estimator-copy h3 {
    font-size: 18px;
  }

  .plan-card {
    padding: 26px 21px 22px;
    border-radius: 22px;
  }

  .plan-card h3 {
    font-size: 23px;
  }

  .spec-list > div {
    align-items: flex-start;
  }

  .deployment-flow {
    grid-template-columns: 1fr;
  }

  .flow-item {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .flow-item:last-child {
    border-bottom: 0;
  }

  .final-card-action {
    align-items: stretch;
  }

  .final-qq {
    margin-top: 8px;
  }
}

/* 报名页新增：IDC、确认项、QQ */
.idc-network-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 15px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--paper-soft);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.idc-network-note svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--forest);
}

.idc-network-note strong {
  color: var(--text);
  font-weight: 600;
}

.confirm-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--paper-soft);
}

.confirm-checkbox {
  color: var(--muted);
}

.confirm-checkbox strong {
  color: var(--text);
  font-weight: 600;
}

.aside-qq {
  display: block;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(201, 245, 107, 0.65);
  font-size: 10.5px;
  text-align: left;
  transition: color 0.2s ease;
}

.aside-qq:hover {
  color: var(--lime);
}

/* 收益中心：新的节点收益与拨测模块 */
.metric-row--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-row--four .metric-value {
  font-size: 24px;
}

.earn-amount em {
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.32);
  font-family: var(--font-sans);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0;
}

.settlement-panel {
  padding: 21px 22px;
}

.settlement-text {
  margin-top: 16px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.settlement-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
}

.settlement-factors span {
  padding: 4px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: var(--paper-soft);
  color: var(--muted);
  font-size: 8.5px;
}

.compliance-panel {
  padding: 21px 22px;
}

.compliance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.compliance-tags span {
  padding: 4px 7px;
  border: 1px solid rgba(23, 69, 54, 0.13);
  border-radius: 4px;
  background: var(--paper-soft);
  color: var(--forest);
  font-size: 8.5px;
}

.compliance-panel .text-link {
  margin-top: 16px;
  color: var(--forest);
  font-size: 10px;
  border-color: rgba(23, 69, 54, 0.3);
}

.probe-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.probe-summary-label {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.probe-items {
  display: flex;
  flex: 1;
  gap: 8px;
}

.probe-items > div {
  flex: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--paper-soft);
}

.probe-items span {
  color: var(--muted-2);
  font-size: 8px;
}

.probe-items strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
}

@media (max-width: 1180px) {
  .metric-row--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .metric-row--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settlement-panel {
    order: 4;
  }

  .compliance-panel {
    order: 5;
  }

  .chart-panel {
    order: 6;
  }

  .history-panel {
    order: 7;
  }

  .probe-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .probe-items {
    width: 100%;
    flex-wrap: wrap;
  }

  .probe-items > div {
    min-width: calc(50% - 4px);
  }

  .history-table th:nth-child(2),
  .history-table td:nth-child(2),
  .history-table th:nth-child(3),
  .history-table td:nth-child(3) {
    display: none;
  }

  .history-table th:nth-child(4),
  .history-table td:nth-child(4) {
    display: table-cell;
  }

  .settlement-panel,
  .compliance-panel {
    padding: 18px;
  }
}
