@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Familjen+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --white: #fff;
  --bg: #f4f7fb;
  --bg2: #edf0f7;
  --surface: #fff;
  --border: #e2e8f0;
  --border2: #c9d4e8;
  --blue: #3b6ef5;
  --blue-d: #2952d9;
  --blue-l: #eef2ff;
  --blue-m: #c7d4fb;
  --green: #16a34a;
  --green-l: #f0fdf4;
  --orange: #ea6c14;
  --orange-l: #fff7ed;
  --pink: #db2777;
  --pink-l: #fdf2f8;
  --purple: #7c3aed;
  --purple-l: #f5f3ff;
  --teal: #0d9488;
  --teal-l: #f0fdfa;
  --red: #dc2626;
  --red-l: #fef2f2;
  --yellow: #ca8a04;
  --yellow-l: #fefce8;
  --text-900: #0c1324;
  --text-700: #334155;
  --text-500: #64748b;
  --text-400: #94a3b8;
  --text-300: #cbd5e1;
  --sh-xs: 0 1px 3px rgba(0, 0, 0, .05);
  --sh-sm: 0 2px 8px rgba(0, 0, 0, .07), 0 1px 3px rgba(0, 0, 0, .04);
  --sh-md: 0 4px 20px rgba(0, 0, 0, .09), 0 2px 6px rgba(0, 0, 0, .04);
  --sh-lg: 0 8px 40px rgba(0, 0, 0, .11), 0 4px 12px rgba(0, 0, 0, .05);
  --sh-xl: 0 20px 60px rgba(0, 0, 0, .13), 0 8px 20px rgba(0, 0, 0, .06);
  --sh-blue: 0 8px 32px rgba(59, 110, 245, .2);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
  --tr: .22s cubic-bezier(.4, 0, .2, 1);
  --font-d: 'Familjen Grotesk', sans-serif;
  --font-b: 'Plus Jakarta Sans', sans-serif;
  --font-m: 'JetBrains Mono', monospace
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text-900);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased
}

#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  z-index: 500;
  width: 0%;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0
}

nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  padding: 0 28px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block
}

.nav-logo-text {
  font-family: var(--font-d);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-900)
}

.nav-logo-text em {
  color: var(--blue);
  font-style: normal
}

.nav-links {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  align-items: center
}

.nav-links::-webkit-scrollbar {
  display: none
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-500);
  text-decoration: none;
  padding: 6px 13px;
  border-radius: 8px;
  transition: all var(--tr);
  white-space: nowrap
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: var(--blue-l)
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--sh-blue);
  transition: all var(--tr)
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(59, 110, 245, .35)
}

@media(max-width:780px) {
  .nav-links {
    display: none
  }
}

@media(max-width:500px) {
  .nav-cta {
    display: none
  }
}

footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .04);
  padding: 56px 28px 36px
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px
}

@media(max-width:760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px
  }
}

@media(max-width:480px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px
  }

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

  .footer-col:last-child {
    grid-column: 1/-1
  }
}

.footer-brand .logo {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px
}

.footer-brand .logo em {
  color: var(--blue);
  font-style: normal
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-400);
  line-height: 1.7;
  max-width: 240px
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-400);
  margin-bottom: 14px
}

.footer-col a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-500);
  text-decoration: none;
  margin-bottom: 9px;
  transition: color var(--tr)
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px
}

.footer-copy {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--text-300);
  text-transform: uppercase
}

.footer-legal {
  display: flex;
  gap: 20px
}

.footer-legal a {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-400);
  text-decoration: none;
  transition: color var(--tr)
}

.footer-legal a:hover {
  color: var(--blue)
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px
}

.card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
  overflow: hidden;
  transition: box-shadow var(--tr), transform var(--tr)
}

.card:hover {
  box-shadow: var(--sh-xl);
  transform: translateY(-2px)
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr
}

@media(max-width:680px) {
  .card-grid {
    grid-template-columns: 1fr
  }

  .card-right {
    border-left: none !important;
    border-top: 1px solid var(--border)
  }
}

.card-left {
  padding: 32px
}

.card-right {
  padding: 32px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px
}

.form-group {
  margin-bottom: 18px
}

label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-500);
  margin-bottom: 7px
}

input[type=number],
input[type=text],
input[type=email],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-900);
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
  -moz-appearance: textfield;
  appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 110, 245, .12)
}

textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6
}

.prefix-wrap {
  position: relative
}

.prefix {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-m);
  font-size: 13px;
  color: var(--text-400);
  pointer-events: none
}

.prefix-wrap input {
  padding-left: 28px
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

@media(max-width:420px) {
  .input-row {
    grid-template-columns: 1fr
  }
}

.range-group {
  margin-bottom: 18px
}

.range-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px
}

.range-val {
  font-family: var(--font-m);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-l);
  border: 1px solid var(--blue-m);
  padding: 2px 10px;
  border-radius: 6px
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  border: none;
  padding: 0
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 2.5px solid var(--blue);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(59, 110, 245, .3);
  transition: transform var(--tr)
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2)
}

.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg2);
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 22px;
  border: 1px solid var(--border)
}

.tab {
  flex: 1;
  padding: 8px 12px;
  background: none;
  border: none;
  border-radius: 9px;
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-500);
  cursor: pointer;
  transition: all var(--tr)
}

.tab.on {
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--sh-sm)
}

.btn-primary {
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border: none;
  border-radius: var(--r-sm);
  color: #fff;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: var(--sh-blue);
  transition: all var(--tr);
  margin-top: 8px
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59, 110, 245, .4)
}

.btn-primary:active {
  transform: translateY(0)
}

.btn-ghost {
  width: 100%;
  padding: 10px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-400);
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  margin-top: 6px;
  transition: all var(--tr)
}

.btn-ghost:hover {
  border-color: var(--text-400);
  color: var(--text-700)
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--white);
  border: 1.5px solid var(--blue);
  border-radius: var(--r-sm);
  color: var(--blue);
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--tr)
}

.btn-outline:hover {
  background: var(--blue-l)
}

.output-hero {
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
  overflow: hidden
}

.output-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, .1);
  border-radius: 50%
}

.output-hero::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, .07);
  border-radius: 50%
}

.out-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 8px
}

.out-val {
  font-family: var(--font-d);
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
  transition: all .35s cubic-bezier(.34, 1.56, .64, 1)
}

.out-val.pop {
  transform: scale(1.06)
}

.out-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, .65);
  margin-top: 6px;
  font-weight: 500
}

.breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.bd-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--tr)
}

.bd-item:hover {
  box-shadow: var(--sh-md)
}

.bd-val {
  font-family: var(--font-d);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 3px
}

.bd-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-400)
}

.formula-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--text-500);
  line-height: 1.6
}

.formula-box span {
  color: var(--blue);
  font-weight: 700
}

.action-row {
  display: flex;
  gap: 8px
}

.act-btn {
  flex: 1;
  padding: 9px 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: var(--font-m);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-500);
  cursor: pointer;
  transition: all var(--tr);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: var(--sh-xs)
}

.act-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--sh-sm)
}

.table-wrap,
.table-responsive {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}

.table-responsive table,
.table-wrap table {
  min-width: 600px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px
}

th {
  background: var(--bg2);
  padding: 10px 16px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-500);
  border-bottom: 1px solid var(--border);
  white-space: nowrap
}

td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-700);
  white-space: nowrap
}

tr:last-child td {
  border-bottom: none
}

tr:hover td {
  background: #f8faff
}

.t-high {
  color: var(--green);
  font-weight: 700
}

.t-mid {
  color: var(--orange);
  font-weight: 700
}

.t-low {
  color: var(--text-400)
}

.notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--yellow-l);
  border: 1px solid #fef08a;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  color: #854d0e;
  margin-top: 12px
}

.notice-icon {
  flex-shrink: 0;
  font-size: 14px
}

.info-box {
  background: var(--blue-l);
  border: 1px solid var(--blue-m);
  border-radius: 12px;
  padding: 18px;
  font-size: 13px;
  color: var(--text-700)
}

.info-box h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px
}

.info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px
}

.info-row:last-child {
  margin-bottom: 0
}

.info-tag {
  font-family: var(--font-m);
  font-size: 10px;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0
}

.faq-wrap {
  padding: 28px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg)
}

.faq-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-400);
  margin-bottom: 14px
}

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

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 14px 0;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-700);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--tr)
}

.faq-q:hover {
  color: var(--blue)
}

.faq-plus {
  font-size: 20px;
  color: var(--text-300);
  transition: transform var(--tr), color var(--tr);
  flex-shrink: 0
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
  color: var(--blue)
}

.faq-a {
  font-size: 13px;
  color: var(--text-500);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding-bottom .3s ease
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 14px
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px
}

.section-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: var(--sh-md)
}

.section-title {
  font-family: var(--font-d);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 5px
}

.section-desc {
  font-size: 14px;
  color: var(--text-500)
}

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 60px 0 40px
}

.div-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent)
}

.div-num {
  font-family: var(--font-m);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--text-300);
  text-transform: uppercase;
  background: var(--bg);
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid var(--border)
}

.page-hero {
  padding: 72px 24px 52px;
  text-align: center;
  position: relative;
  overflow: hidden
}

.page-hero::before,
.page-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
  opacity: .4
}

.page-hero::before {
  width: 600px;
  height: 380px;
  background: radial-gradient(circle, #c7d4fb, #f0e7ff);
  top: -100px;
  left: -80px
}

.page-hero::after {
  width: 500px;
  height: 380px;
  background: radial-gradient(circle, #d1fae5, #e0f2fe);
  bottom: -80px;
  right: -80px
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-l);
  border: 1px solid var(--blue-m);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .04em;
  margin-bottom: 22px
}

.hero-h1 {
  font-family: var(--font-d);
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.025em;
  color: var(--text-900);
  margin-bottom: 18px
}

.hero-h1 .grad {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hero-sub {
  font-size: 17px;
  color: var(--text-500);
  max-width: 580px;
  margin: 0 auto 36px
}

.hero-stats {
  display: inline-flex;
  background: var(--white);
  box-shadow: var(--sh-lg);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 48px
}

.hero-stat {
  padding: 20px 32px;
  text-align: center;
  border-right: 1px solid var(--border)
}

.hero-stat:last-child {
  border-right: none
}

.hero-stat-num {
  font-family: var(--font-d);
  font-size: 26px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1
}

.hero-stat-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-400);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 4px
}

.platform-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0 24px 52px
}

.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-700);
  text-decoration: none;
  box-shadow: var(--sh-sm);
  transition: all var(--tr);
  cursor: pointer
}

.pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
  border-color: var(--pill-color, var(--blue));
  color: var(--pill-color, var(--blue))
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: all var(--tr);
  text-decoration: none;
  display: block
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-xl)
}

.blog-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
  overflow: hidden
}

.blog-card-body {
  padding: 22px
}

.blog-tag {
  display: inline-block;
  font-family: var(--font-m);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase
}

.blog-card h3 {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-900);
  line-height: 1.35;
  margin-bottom: 8px
}

.blog-card p {
  font-size: 13px;
  color: var(--text-500);
  line-height: 1.6
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--text-400);
  font-weight: 500
}

.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 80px
}

.article-header {
  padding: 52px 0 36px
}

.article-tag {
  display: inline-block;
  font-family: var(--font-m);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase
}

.article-title {
  font-family: var(--font-d);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text-900);
  margin-bottom: 16px
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-400);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-700)
}

.article-body h2 {
  font-family: var(--font-d);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-900);
  margin: 40px 0 16px;
  letter-spacing: -.01em
}

.article-body h3 {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-900);
  margin: 30px 0 12px
}

.article-body p {
  margin-bottom: 20px
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px 24px
}

.article-body li {
  margin-bottom: 8px
}

.article-body strong {
  color: var(--text-900);
  font-weight: 700
}

.article-body blockquote {
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  background: var(--blue-l);
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-700)
}

.article-body .highlight-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0
}

.article-body .highlight-box h4 {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-900)
}

.page-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px 24px 80px
}

.page-title {
  font-family: var(--font-d);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 10px
}

.page-updated {
  font-size: 13px;
  color: var(--text-400);
  margin-bottom: 36px
}

.page-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-700)
}

.page-body h2 {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-900);
  margin: 36px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border)
}

.page-body p {
  margin-bottom: 18px
}

.page-body ul {
  margin: 0 0 18px 22px
}

.page-body li {
  margin-bottom: 7px
}

.page-body a {
  color: var(--blue);
  text-decoration: none
}

.page-body a:hover {
  text-decoration: underline
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  margin-top: 8px
}

@media(max-width:640px) {
  .contact-grid {
    grid-template-columns: 1fr
  }
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px
}

.contact-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0
}

.contact-info-item h4 {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px
}

.contact-info-item p {
  font-size: 13px;
  color: var(--text-500)
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.anim-1 {
  animation: fadeUp .5s ease both
}

.anim-2 {
  animation: fadeUp .5s .09s ease both
}

.anim-3 {
  animation: fadeUp .5s .18s ease both
}

.anim-4 {
  animation: fadeUp .5s .27s ease both
}

.tip-wrap {
  position: relative;
  display: inline-flex
}

.tip-icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-400);
  cursor: help;
  font-style: italic;
  font-family: Georgia, serif;
  margin-left: 4px
}

.tip-icon:hover+.tip-text {
  opacity: 1;
  pointer-events: auto
}

.tip-text {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-900);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 200px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  transition: opacity .2s;
  font-family: var(--font-b);
  letter-spacing: 0;
  text-transform: none;
  box-shadow: var(--sh-lg);
  white-space: normal
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px
}

.bar-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-500);
  width: 76px;
  flex-shrink: 0;
  text-align: right
}

.bar-track {
  flex: 1;
  height: 7px;
  background: var(--bg2);
  border-radius: 4px;
  overflow: hidden
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(.4, 0, .2, 1)
}

.bar-num {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--text-500);
  width: 46px;
  flex-shrink: 0
}

.compare-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px
}

.compare-item {
  border-radius: 12px;
  padding: 16px;
  border: 1.5px solid
}

.compare-item h5 {
  font-family: var(--font-m);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px
}

.compare-item p {
  font-size: 12px;
  color: var(--text-500);
  line-height: 1.6
}

.calc-section {
  margin-bottom: 72px
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-900);
  padding: 4px
}

.mobile-menu {
  position: fixed;
  top: 66px;
  left: 0;
  width: 100%;
  height: calc(100vh - 66px);
  background: var(--white);
  z-index: 190;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  border-top: 1px solid var(--border)
}

.mobile-menu.open {
  transform: translateX(0)
}

.mobile-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-700);
  text-decoration: none;
  padding: 12px;
  border-radius: 10px;
  transition: background var(--tr)
}

.mobile-link:hover,
.mobile-link.active {
  background: var(--bg);
  color: var(--blue)
}

@media(max-width:780px) {
  .menu-btn {
    display: block
  }

  .nav-cta {
    display: none
  }
}

@media(max-width:680px) {

  .faq-wrap,
  .card-left,
  .card-right {
    padding: 20px
  }

  .hero-stat {
    padding: 16px 18px
  }

  .hero-stat-num {
    font-size: 20px
  }

  .hero-stats {
    flex-wrap: wrap
  }
}

/* --- Utility Classes --- */

/* Margins */
.mt-0 {
  margin-top: 0 !important;
}

.mt-10 {
  margin-top: 10px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-24 {
  margin-top: 24px;
}

/* Additional Gradients */
.bg-gradient-cpm {
  background: linear-gradient(135deg, #f97316, #eab308) !important;
}

.bg-gradient-rpm {
  background: linear-gradient(135deg, #eab308, #22c55e) !important;
}

/* Footer Utilities */
.footer-logo-flex {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-logo-text {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-900);
}

.footer-logo-img {
  height: 24px;
  width: auto;
}

.mt-40 {
  margin-top: 40px;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

/* Padding & Borders */
.pt-20 {
  padding-top: 20px;
}

.pt-40 {
  padding-top: 40px;
}

.bt-1 {
  border-top: 1px solid var(--border);
}

.bb-1 {
  border-bottom: 1px solid var(--border);
}

/* Text & Fonts */
.fw-600 {
  font-weight: 600;
}

.fs-16 {
  font-size: 16px;
}

.fs-20 {
  font-size: 20px;
}

.text-500 {
  color: var(--text-500);
}

/* Icons */
.icon-lg {
  font-size: 20px;
}

/* Gradients */
.bg-gradient-adsense {
  background: linear-gradient(135deg, #4285F4, #34A853) !important;
}

.bg-gradient-tiktok {
  background: linear-gradient(135deg, #000000, #25F4EE) !important;
}

.bg-gradient-insta {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737) !important;
}

.bg-gradient-yt {
  background: linear-gradient(135deg, #FF0000, #282828) !important;
}

/* --- Consolidated Components --- */

/* Content Section */
.content-section {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 24px;
  color: var(--text-700);
  font-size: 16px;
  line-height: 1.8;
}

.content-section h2 {
  font-family: var(--font-d);
  font-size: 28px;
  color: var(--text-900);
  margin: 48px 0 20px;
  letter-spacing: -0.01em;
}

.content-section h3 {
  font-family: var(--font-d);
  font-size: 22px;
  color: var(--text-900);
  margin: 32px 0 16px;
}

.content-section p {
  margin-bottom: 24px;
}

.content-section ul,
.content-section ol {
  margin: 0 0 24px 24px;
}

.content-section li {
  margin-bottom: 8px;
}

/* Data Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}

.data-table th {
  background: var(--bg2);
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-900);
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-700);
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* Author Box */
.author-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-top: 60px;
  display: flex;
  gap: 24px;
  align-items: start;
}

.author-img {
  width: 64px;
  height: 64px;
  background: #cbd5e1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  flex-shrink: 0;
}

.author-info h3 {
  font-family: var(--font-d);
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--text-900);
}

.author-info p {
  font-size: 14px;
  margin: 0 0 16px;
  color: var(--text-500);
  line-height: 1.6;
}

.author-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

@media (max-width: 600px) {
  .author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* Related Grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-900);
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: var(--sh-xs);
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  border-color: var(--blue);
  color: var(--blue);
}

/* Disclaimer */
.disclaimer {
  font-size: 13px;
  color: var(--text-400);
  font-style: italic;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* FAQ Wrap */
.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-900);
  cursor: pointer;
  outline: none;
}

.faq-q:hover {
  background: var(--bg2);
}

.faq-a {
  padding: 0 24px 24px;
  font-size: 15px;
  color: var(--text-700);
  line-height: 1.6;
  display: none;
}

/* Article Specific (Generic) */
.article-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.article-header {
  text-align: center;
  margin-bottom: 50px;
}

.article-tag {
  display: inline-block;
  background: #fff0f0;
  color: #dc2626;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.article-h1 {
  font-family: var(--font-d);
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-900);
}

.article-meta {
  color: var(--text-500);
  font-size: 16px;
  margin-bottom: 30px;
}

.article-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-700);
}

.article-body h2 {
  font-family: var(--font-d);
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text-900);
}

.article-body h3 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--text-900);
}

/* --- Added Utilities for Refactoring --- */

/* Text Alignment */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-decoration-none {
  text-decoration: none;
}

/* Spacing */
.mb-60 {
  margin-bottom: 60px;
}

.pb-80 {
  padding-bottom: 80px;
}

.max-w-520 {
  max-width: 520px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Grid */
.grid-auto-fill {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}

.grid-2-col {
  grid-template-columns: 1fr 1fr;
}

/* Platform Pills */
.pill-youtube {
  --pill-color: #FF0000;
}

.pill-cpm {
  --pill-color: #f97316;
}

.pill-rpm {
  --pill-color: #eab308;
}

.pill-tiktok {
  --pill-color: #00B4D8;
}

.pill-instagram {
  --pill-color: #E1306C;
}

.pill-adsense {
  --pill-color: #4285F4;
}

.pill-affiliate {
  --pill-color: #7c3aed;
}

.pill-freelance {
  --pill-color: #16a34a;
}

/* Card Gradients */
.bg-gradient-yt-card {
  background: linear-gradient(135deg, #FF0000, #FF6B35) !important;
}

.bg-gradient-cpm-card {
  background: linear-gradient(135deg, #f97316, #eab308) !important;
}

.bg-gradient-rpm-card {
  background: linear-gradient(135deg, #eab308, #22c55e) !important;
}

.bg-gradient-tiktok-card {
  background: linear-gradient(135deg, #00B4D8, #EE1D52) !important;
}

.bg-gradient-insta-card {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #F56040) !important;
}

.bg-gradient-adsense-card {
  background: linear-gradient(135deg, #4285F4, #34A853) !important;
}

.bg-gradient-affiliate-card {
  background: linear-gradient(135deg, #7c3aed, #3b82f6) !important;
}

.bg-gradient-freelance-card {
  background: linear-gradient(135deg, #16a34a, #0d9488) !important;
}

.bg-gradient-rpm-vs-cpm {
  background: linear-gradient(135deg, #3b6ef5, #7c3aed) !important;
}

/* Tags */
.tag-red {
  background: #fff0f0;
  color: #dc2626;
}

.tag-orange {
  background: #fff7ed;
  color: #ea580c;
}

.tag-yellow {
  background: #fefce8;
  color: #ca8a04;
}

.tag-cyan {
  background: #f0fdfe;
  color: #0891b2;
}

.tag-pink {
  background: #fdf2f8;
  color: #db2777;
}

.tag-blue {
  background: #eff6ff;
  color: #2563eb;
}

.tag-purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.tag-green {
  background: #f0fdf4;
  color: #16a34a;
}

/* Blog Components */
.callout {
  background: #f8fafc;
  border-left: 4px solid var(--blue);
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
}

.cta-box {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  margin: 60px 0;
}

.cta-box h3 {
  color: white;
  margin-top: 0;
}

.cta-btn {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  transition: transform 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

.newsletter-widget {
  background: #f8fafc;
  border-radius: 16px;
  padding: 40px;
  margin-top: 60px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.newsletter-input-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}

.blog-section-header {
  margin-top: 80px;
}

.flex-wrap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-h2 {
  font-family: var(--font-d);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 10px;
}

.section-p {
  color: var(--text-500);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
}

.blog-header-h2 {
  font-family: var(--font-d);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 6px;
}

/* Newsletter Components */
.newsletter-h2 {
  font-family: var(--font-d);
  margin-bottom: 10px;
  font-size: 24px;
  color: var(--text-900);
}

.newsletter-p {
  color: var(--text-500);
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-input {
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  width: 100%;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.max-w-400 {
  max-width: 400px;
}

.w-full {
  width: 100%;
}

.recommended-reading {
  font-family: var(--font-d);
  font-size: 24px;
  font-weight: 700;
  margin-top: 60px;
  margin-bottom: 20px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  color: var(--text-900);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 16px;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #e2e8f0;
  padding: 15px;
  text-align: left;
}

.comparison-table th {
  background: #f1f5f9;
  color: var(--text-900);
}

/* Legal & Contact Utilities */
.page-lead {
  color: var(--text-500);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 620px;
}

.bg-blue-l {
  background: var(--blue-l);
}

.bg-green-l {
  background: var(--green-l);
}

.bg-purple-l {
  background: var(--purple-l);
}

.bg-orange-l {
  background: var(--orange-l);
}

/* Feature Cards (About Page) */
.feature-card {
  padding: 28px;
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.feature-title {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-text {
  color: var(--text-500);
  font-size: 14px;
  line-height: 1.7;
}

/* Calculator Grid (About Page) */
.calc-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.calc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-700);
  font-weight: 600;
  font-size: 13px;
  transition: all .2s;
}

.calc-link:hover {
  background: var(--bg2);
  transform: translateY(-2px);
  border-color: var(--blue-m);
}

.card-h3 {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.p-32 {
  padding: 32px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-48 {
  margin-bottom: 48px;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.gap-24 {
  gap: 24px;
}

/* Alert Utilities */
.alert-warning {
  background: var(--yellow-l);
  border: 1px solid #fef08a;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 32px;
}

.alert-title {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 10px;
}

.alert-text {
  color: #92400e;
  font-size: 15px;
  line-height: 1.7;
}