/* ============ Castar — plasma.org-inspired layout, Castar brand ============ */
:root {
  /* Castar official palette */
  --white:      #FFFFFF;
  --paper-2:    #F3F3F0;
  --ash:        #A8A8A2;
  --dusty:      #4A4A45;
  --black:      #0E0D0C;
  --canopy:     #6E8A69;
  --moss:       #90AE8A;
  --mint-steel: #A9CFAA;
  --layer:      #BFE6C1;
  --drift:      #D8F0DA;
  --frost:      #EAF7EB;

  /* semantic aliases (existing rules reference these) */
  --cream: var(--paper-2);   /* page background */
  --paper: var(--white);     /* cards / chips */
  --ink: #16150F;            /* body text */
  --ink-deep: var(--black);  /* dark sections */
  --olive: var(--dusty);     /* muted dark on light chips */
  --mint: var(--frost);
  --sage: var(--mint-steel);
  --sage-2: var(--layer);
  --teal: var(--canopy);     /* green accent */
  --grey: var(--ash);
  --radius: 20px;
  --pad: clamp(20px, 4vw, 64px);
  --font: "STK Bureau Sans", "Geist", -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2 { font-weight: 400; letter-spacing: -0.03em; }
a { color: inherit; text-decoration: none; }
.mono, .mono-label { font-family: var(--mono); }
.mono-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, color .25s;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--olive); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-lg { padding: 15px 32px; font-size: 16px; }

/* ---------- nav (translucent, light over hero video) ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
  color: #fff;
  background: linear-gradient(180deg, rgba(14,13,12,.35), transparent);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: background .35s, color .35s, box-shadow .35s;
}
.nav.scrolled {
  color: var(--ink);
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(23,23,23,.06);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.mark { width: 30px; height: 30px; color: currentColor; }
.wordmark { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { opacity: .75; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn-nav { background: #fff; color: var(--ink); padding: 9px 20px; }
.nav.scrolled .btn-nav { background: var(--ink); color: var(--cream); }

/* ---------- hero — video carousel ---------- */
.hero {
  position: relative;
  height: calc(100svh - 76px);
  min-height: 560px;
  overflow: hidden;
  background: var(--ink-deep);
  color: #fff;
  touch-action: pan-y;
}
.hero-slides, .hero-video { position: absolute; inset: 0; }
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s ease, transform 4.5s linear;
}
.hero-video.active { opacity: 1; transform: scale(1); }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,13,12,.25) 0%, transparent 30%, transparent 55%, rgba(14,13,12,.72) 100%);
  pointer-events: none;
}
.hero-inner {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: 0 var(--pad) clamp(32px, 5vh, 56px);
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--black);
  background: var(--layer);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  animation: fade .9s ease both .3s;
}
.hero-title {
  font-size: clamp(40px, 5.6vw, 92px);
  line-height: 1.02;
  margin-bottom: 28px;
  max-width: 14ch;
  text-shadow: 0 2px 30px rgba(14,13,12,.35);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: inline-block;
  animation: rise 1s cubic-bezier(.2,.8,.2,1) both;
}
.hero-title .line:nth-child(2) span { animation-delay: .12s; }
@keyframes rise {
  from { transform: translateY(110%); }
  to { transform: none; }
}

/* slide progress bars */
.hero-progress { display: flex; gap: 8px; }
.hp {
  width: 44px; height: 4px;
  border: none;
  border-radius: 4px;
  background: rgba(255,255,255,.28);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  padding: 0;
}
.hp i {
  position: absolute; inset: 0 auto 0 0;
  width: 0;
  background: #fff;
  border-radius: 4px;
}
.hp.active i { animation: hp-fill 3.5s linear forwards; }
@keyframes hp-fill { from { width: 0; } to { width: 100%; } }

/* hero QR (bottom right) */
.hero-qr {
  position: absolute;
  right: var(--pad);
  bottom: clamp(32px, 5vh, 56px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-family: var(--font);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.hero-qr:hover { transform: scale(1.06); }
.hero-qr-label { font-size: 13px; opacity: .85; }
.hero-bonus {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--layer);
  color: var(--black);
  white-space: nowrap;
}
.qr {
  display: block;
  width: 88px; height: 88px;
  background: var(--white);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 10px 40px rgba(14,13,12,.35);
}
.qr img, .qr svg { width: 100%; height: 100%; display: block; object-fit: contain; }
.qr-bonus {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--layer);
  color: var(--black);
}

/* QR modal */
.qr-modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14,13,12,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .3s ease;
}
.qr-modal.open { opacity: 1; }
.qr-modal[hidden] { display: none; }
.qr-modal-card {
  position: relative;
  background: var(--paper);
  border-radius: 28px;
  padding: 40px 48px 32px;
  text-align: center;
  transform: scale(.85);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 40px 120px rgba(14,13,12,.4);
}
.qr-modal.open .qr-modal-card { transform: scale(1); }
.qr-big { width: min(320px, 64vw); height: min(320px, 64vw); border-radius: 20px; padding: 0; box-shadow: none; margin-bottom: 20px; }
.qr-modal-card p { font-size: 18px; }
.qr-modal-card .mono-label { display: block; margin-top: 6px; }
.qr-close {
  position: absolute;
  top: 14px; right: 18px;
  border: none; background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  opacity: .5;
}
.qr-close:hover { opacity: 1; }

/* ---------- partner logo strip ---------- */
.logostrip {
  padding: 20px 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(22,21,15,.07);
}
.logo-marquee { overflow: hidden; line-height: 0; font-size: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.logo-track {
  display: inline-flex;
  align-items: center;
  gap: 52px;
  white-space: nowrap;
  animation: scroll-x 52s linear infinite;
  padding-right: 52px;
}
.pl {
  display: inline-flex;
  align-items: center;
  height: 40px;
  gap: 14px;
  flex: none;
  color: var(--dusty);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}
.pl img { height: 40px; width: auto; max-width: 150px; object-fit: contain; display: block; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- hand + floating stats ---------- */
.handsec {
  padding: clamp(90px, 12vh, 150px) var(--pad) clamp(24px, 3vh, 48px);
  text-align: center;
  overflow: hidden;
}
.handsec-logo .mark { width: 46px; height: 46px; margin-bottom: 18px; }
.handsec-logo h2 { font-size: clamp(36px, 4.6vw, 72px); line-height: 1.04; }
.handsec-stage {
  position: relative;
  max-width: 1180px;
  margin: 24px auto 0;
  perspective: 1400px;
}
.handsec-hand {
  width: min(980px, 98vw);
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 40px 80px rgba(14,13,12,.3));
}
.stat {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: clamp(176px, 17vw, 216px);
  padding: 20px;
  border-radius: 22px;
  background: var(--white);
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 2px 6px rgba(14,13,12,.06),
    0 22px 44px rgba(14,13,12,.16),
    0 40px 80px rgba(14,13,12,.10);
  white-space: nowrap;
  transform-style: preserve-3d;
  --tx: 4deg;
  --ty: -6deg;
  animation: floaty 6s ease-in-out infinite;
  transition: width .38s cubic-bezier(.2,.8,.2,1), box-shadow .3s, transform .38s cubic-bezier(.2,.8,.2,1);
}
/* hover: flatten, lift, widen and reveal the explanation */
.stat-exp {
  white-space: normal;
  font-size: 13.5px;
  line-height: 1.5;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.2,.8,.2,1), opacity .3s, margin-top .3s;
}
.stat:hover {
  z-index: 6;
  width: clamp(248px, 25vw, 300px);
  animation: none;
  transform: translateY(-4px);
  box-shadow: 0 2px 8px rgba(14,13,12,.1), 0 32px 64px rgba(14,13,12,.22);
}
.stat:hover .stat-exp { max-height: 240px; opacity: .72; margin-top: 4px; }
.stat-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--frost);
  transform: translateZ(24px);
}
.stat-ico svg { width: 26px; height: 26px; opacity: .9; }
.stat b {
  font-weight: 500;
  font-size: clamp(28px, 2.6vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1;
  transform: translateZ(16px);
}
.stat i {
  font-style: normal;
  font-size: clamp(13px, 1.15vw, 15px);
  opacity: .58;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotateX(var(--tx)) rotateY(var(--ty)); }
  50% { transform: translateY(-12px) rotateX(var(--tx)) rotateY(var(--ty)); }
}
/* dark & tinted variants */
.stat-dark { background: var(--black); color: var(--frost); }
.stat-dark .stat-ico { background: rgba(233,247,235,.1); }
.stat-dark .stat-ico svg { color: var(--layer); }
.stat-2 .stat-ico { background: var(--drift); }
.stat-4 { background: var(--mint-steel); }
.stat-4 .stat-ico { background: rgba(255,255,255,.5); }
.stat-6 .stat-ico { background: var(--layer); }
/* positioned closer to the hand, mirrored tilt left vs right */
.stat-1 { left: 16%; top: 10%; animation-delay: 0s; }
.stat-2 { right: 17%; top: 7%; animation-delay: -1.5s; }
.stat-3 { left: 11%; top: 40%; animation-delay: -3s; }
.stat-4 { right: 12%; top: 37%; animation-delay: -4.5s; }
.stat-5 { left: 17%; top: 66%; animation-delay: -2.2s; }
.stat-6 { right: 18%; top: 63%; animation-delay: -3.7s; }
.stat-2, .stat-4, .stat-6 { --ty: 6deg; }

/* ---------- stock coins (flags-style rows) ---------- */
.onboard { padding: clamp(90px, 12vh, 160px) 0 0; text-align: center; }
.onboard-head { padding: 0 var(--pad); }
.onboard-head h2 { font-size: clamp(34px, 4.4vw, 68px); line-height: 1.05; }
.onboard-head p { margin: 18px auto 0; font-size: 17px; opacity: .65; max-width: 52ch; }
.coin-stage { position: relative; margin-top: 56px; }
.coin-rows {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.coin-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.coin-track { display: inline-flex; gap: 18px; white-space: nowrap; animation: scroll-x 44s linear infinite; padding-right: 18px; }
.coin-row-rev .coin-track { animation-direction: reverse; animation-duration: 52s; }
.coin {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  overflow: hidden;
}
.coin img { width: 62%; height: 62%; object-fit: contain; border-radius: 50%; }
.coin-dark { background: var(--ink); }
.coin-dark .tk { color: var(--cream); }
.coin .tk {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
}

.onboard-phone { display: flex; justify-content: center; padding-bottom: 0; position: relative; z-index: 3; }
.phone-wrap {
  position: relative;
  width: min(340px, 82vw);
  border-radius: 48px;
  background: var(--ink-deep);
  padding: 12px;
  box-shadow: 0 40px 80px rgba(14,13,12,.25), inset 0 0 0 2px #2a2a26;
  margin-bottom: -120px;
}
.phone-ui {
  background: linear-gradient(180deg, var(--mint), var(--paper) 40%);
  border-radius: 38px;
  padding: 54px 22px 26px;
  text-align: left;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.phone-title { font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 6px; }
.pfield { display: flex; flex-direction: column; gap: 7px; background: var(--paper); border: 1px solid rgba(23,23,23,.08); border-radius: 14px; padding: 12px 14px; }
.pfield .mono { font-size: 15px; }
.pslider { display: block; height: 4px; border-radius: 4px; background: rgba(23,23,23,.1); position: relative; }
.pslider i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--teal); }
.pbtn {
  margin-top: auto;
  border: none;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  padding: 15px;
  border-radius: 999px;
  cursor: pointer;
}

/* ---------- card section ---------- */
.cardsec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(140px, 16vh, 200px) var(--pad) clamp(80px, 10vh, 140px);
}
.cardsec-copy h2 { font-size: clamp(34px, 3.8vw, 60px); line-height: 1.05; margin-bottom: 18px; }
.cardsec-copy p { font-size: 17px; opacity: .7; max-width: 44ch; margin-bottom: 28px; }
.toggle {
  display: inline-flex;
  background: var(--paper);
  border-radius: 999px;
  padding: 4px;
  margin: 0 16px 28px 0;
  border: 1px solid rgba(23,23,23,.08);
}
.tg {
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink);
  opacity: .55;
  transition: all .25s;
}
.tg.active { background: var(--ink); color: var(--cream); opacity: 1; }
.cardsec-visual { display: flex; justify-content: center; perspective: 900px; }
.ccard-stack {
  position: relative;
  width: min(420px, 90%);
  aspect-ratio: 1.586;
  transform-style: preserve-3d;
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
}
.ccard {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 2px 8px rgba(14,13,12,.12),
    0 30px 60px rgba(14,13,12,.28);
  opacity: 0;
  visibility: hidden;
  transform: rotateY(16deg) scale(.94);
  transition: opacity .45s ease, transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .3s, visibility 0s linear .5s;
  pointer-events: none;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.ccard.active {
  opacity: 1;
  visibility: visible;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  pointer-events: auto;
  transition: opacity .45s ease, transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .3s, visibility 0s;
}
/* while the cursor is near, follow it instantly (no easing lag) and drop the shadow lower */
.ccard-stack.tilting .ccard.active {
  transition: opacity .45s ease, box-shadow .3s;
  box-shadow:
    0 2px 8px rgba(14,13,12,.14),
    0 40px 80px rgba(14,13,12,.34);
}
/* glare that tracks the cursor */
.ccard.active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.35), transparent 45%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.ccard-stack.tilting .ccard.active::after { opacity: 1; }

/* chip + shared bits */
.cc-chip { width: 44px; height: 32px; margin-top: 14px; }
.cc-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cc-num { font-size: 15px; letter-spacing: .14em; opacity: .75; }
.cc-visa {
  font-size: 19px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: .04em;
}
.cc-nfc { width: 22px; height: 22px; opacity: .7; }

/* light brand card */
.ccard-light {
  background: radial-gradient(130% 160% at 50% 50%, #FFFFFF 38%, #ECF2EA 100%);
  color: var(--ink);
  border: 1px solid rgba(23,23,23,.16);
}
.cc-swirl {
  position: absolute;
  left: 50%;
  width: 150%;
  color: #DFE9DD;
  filter: drop-shadow(0 6px 10px rgba(23,23,23,.05));
}
.cc-swirl-t { top: 0; transform: translate(-50%, -78%); }
.cc-swirl-b { bottom: 0; transform: translate(-50%, 78%); }
.cc-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.cc-center .mark { width: 44px; height: 44px; }
.cc-word { font-size: 34px; font-weight: 500; letter-spacing: -0.02em; }
.ccard-light .cc-chip, .ccard-light .cc-bottom { position: relative; z-index: 2; }
.ccard-light .cc-visa { color: rgba(23,23,23,.55); }

/* dark Castar Aura card */
.ccard-aura {
  background: radial-gradient(95% 130% at 28% 18%, #26301F 0%, #171E12 52%, #10150C 100%);
  color: #EDF2EA;
}
.cc-watermark {
  position: absolute;
  right: -28%;
  bottom: -55%;
  width: 130%;
  color: rgba(237,242,234,.045);
}
.cc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cc-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; }
.cc-brandbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border: 1px solid rgba(237,242,234,.4);
  border-radius: 7px;
}
.cc-brandbox svg { width: 15px; height: 15px; }
.ccard-aura .cc-visa { color: #fff; }
.ccard-aura .cc-chip, .ccard-aura .cc-bottom { position: relative; z-index: 2; }

/* ---------- subpages ---------- */
.subpage { padding-top: 68px; }
.page-head { padding: clamp(50px, 8vh, 90px) var(--pad) 0; }
.page-head h1 {
  font-size: clamp(48px, 7vw, 110px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 14px 0 18px;
}
.page-sub { font-size: 18px; opacity: .6; max-width: 48ch; }
.subpage .eco { padding-top: clamp(40px, 6vh, 70px); }
.subpage .learn { padding-top: clamp(30px, 5vh, 60px); }

/* ---------- careers ---------- */
.jobs { padding: clamp(30px, 5vh, 60px) var(--pad) 0; display: flex; flex-direction: column; gap: 12px; }
.job {
  background: var(--paper);
  border: 1px solid rgba(23,23,23,.1);
  border-radius: 20px;
  color: var(--ink);
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.job.open, .job:hover { box-shadow: 0 20px 50px rgba(14,13,12,.1); border-color: rgba(23,23,23,.2); }
.job-head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: 28px clamp(22px, 3vw, 36px);
  background: none;
  border: none;
  text-align: left;
  color: inherit;
  font-family: var(--font);
  cursor: pointer;
}
.job-main { min-width: 0; }
.job-main h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.job-desc { font-size: 15.5px; opacity: .62; max-width: 62ch; line-height: 1.5; }
.job-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; white-space: nowrap; }
.job-tag {
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--olive);
}
.job-loc { font-size: 13.5px; opacity: .55; }
.job-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  transition: background .3s, transform .35s cubic-bezier(.2,.8,.2,1);
}
.job:hover .job-arrow { background: var(--ink); }
.job:hover .job-arrow svg { color: var(--cream); }
.job.open .job-arrow { background: var(--ink); transform: rotate(180deg); }
.job.open .job-arrow svg { color: var(--cream); }
.job-arrow svg { width: 20px; height: 20px; color: var(--ink); transition: color .3s; }
/* expandable panel */
.job-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.2,.8,.2,1);
}
.job.open .job-panel { max-height: 360px; }
.job-ul {
  list-style: none;
  padding: 0 clamp(22px, 3vw, 36px);
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(23,23,23,.08);
  padding-top: 22px;
}
.job-ul li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  opacity: .72;
  line-height: 1.5;
}
.job-ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--canopy);
}
.job-panel .btn { margin: 0 clamp(22px, 3vw, 36px) 28px; }
.jobs-note {
  margin: clamp(40px, 6vh, 70px) var(--pad) clamp(70px, 10vh, 120px);
  padding: clamp(36px, 5vw, 56px);
  border-radius: 24px;
  background: var(--ink-deep);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.jobs-note p { font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.01em; }
.jobs-note .btn-dark { background: var(--cream); color: var(--ink); }
.jobs-note .btn-dark:hover { background: #fff; }
@media (max-width: 720px) {
  .job-head { grid-template-columns: 1fr auto; grid-template-areas: "main arrow" "meta arrow"; }
  .job-main { grid-area: main; }
  .job-meta { grid-area: meta; flex-direction: row; align-items: center; gap: 12px; margin-top: 14px; }
  .job-arrow { grid-area: arrow; }
}

/* ---------- calculator ---------- */
.calc { padding: clamp(40px, 6vh, 70px) var(--pad) clamp(70px, 10vh, 120px); }
.calc-card {
  display: grid;
  grid-template-columns: 400px 1fr;
  background: var(--ink-deep);
  color: #EDF2EA;
  border-radius: 28px;
  overflow: hidden;
  min-height: 620px;
}
.calc-panel {
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-right: 1px solid rgba(237,242,234,.08);
}
.calc-panel-title { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.calc-field { display: flex; flex-direction: column; gap: 11px; }
.calc-label { font-size: 14.5px; color: rgba(237,242,234,.55); }
.calc-label-row { display: flex; align-items: center; justify-content: space-between; }
.calc-boost { display: inline-flex; align-items: center; gap: 6px; color: var(--sage); font-size: 15px; }
.calc-boost svg { width: 19px; height: 19px; }
.calc-boost b { font-weight: 600; }
.calc-input {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #1B1B18;
  border: 1px solid rgba(237,242,234,.1);
  border-radius: 14px;
  padding: 4px 6px 4px 18px;
  transition: border-color .2s;
}
.calc-input:focus-within { border-color: var(--teal); }
.calc-cur { font-size: 22px; color: rgba(237,242,234,.6); }
.calc-input input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: #EDF2EA;
  font-family: var(--font);
  font-size: 24px;
  font-weight: 500;
  padding: 14px 6px;
  outline: none;
  letter-spacing: -0.01em;
}
.calc-select { position: relative; display: flex; align-items: center; }
.calc-select::after {
  content: "";
  position: absolute;
  right: 16px;
  width: 8px; height: 8px;
  border-right: 1.5px solid rgba(237,242,234,.5);
  border-bottom: 1.5px solid rgba(237,242,234,.5);
  transform: rotate(45deg);
  pointer-events: none;
}
.calc-select select {
  appearance: none;
  -webkit-appearance: none;
  background: #262622;
  color: #EDF2EA;
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 38px 12px 16px;
  cursor: pointer;
  outline: none;
}
.calc-rate { font-size: 14px; color: rgba(237,242,234,.55); display: flex; flex-direction: column; gap: 7px; }
.calc-rate b { color: #EDF2EA; font-weight: 600; }
.calc-rate-bonus { display: flex; align-items: center; gap: 8px; }
.calc-rate-bonus .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; }
.calc-rate-bonus b { color: var(--sage); }
.calc-years { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.calc-chips { display: inline-flex; gap: 6px; background: #1B1B18; padding: 4px; border-radius: 999px; }
.cc-chip-yr {
  border: none;
  background: none;
  color: rgba(237,242,234,.55);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
}
.cc-chip-yr.active { background: var(--teal); color: #08130F; }
.calc-btn { margin-top: auto; gap: 10px; }
.calc-btn svg { width: 17px; height: 20px; }
.btn-accent { background: var(--teal); color: #08130F; }
.btn-accent:hover { background: #5fbaa9; }

.calc-result {
  padding: clamp(28px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  position: relative;
  background: radial-gradient(80% 90% at 78% 6%, rgba(80,169,154,.14) 0%, transparent 60%);
}
.calc-res-label { text-align: center; font-size: 16px; color: rgba(237,242,234,.6); }
.calc-total {
  text-align: center;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 6px 0 8px;
  background: linear-gradient(180deg, #EDF2EA, var(--sage));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.calc-earned { text-align: center; font-size: 17px; color: rgba(237,242,234,.55); margin-bottom: 26px; }
.calc-earned b { color: #EDF2EA; font-weight: 600; }
.calc-earned-dim { color: rgba(237,242,234,.4); }

.calc-chart {
  position: relative;
  flex: 1;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  padding-left: 64px;
}
.calc-axis { position: absolute; inset: 0 0 0 0; }
.calc-axis .gl {
  position: absolute;
  left: 64px; right: 0;
  border-top: 1px dashed rgba(237,242,234,.09);
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(237,242,234,.35);
}
.calc-axis .gl span { position: absolute; left: -60px; top: -7px; }
.calc-bars {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  width: 100%;
  height: 100%;
}
.calc-bar {
  flex: 1 1 auto;
  min-width: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  cursor: pointer;
  transition: height .5s cubic-bezier(.2,.8,.2,1), opacity .18s, filter .18s;
}
.calc-bar .seg-earn { background: linear-gradient(180deg, #6f8f85, #3f5b52); }
.calc-bar .seg-base { background: linear-gradient(180deg, var(--sage), var(--teal)); }
/* hover: dim the rest; light up the hovered bar AND every bar before it */
.calc-bars:hover .calc-bar { opacity: .35; }
.calc-bars .calc-bar.hi {
  opacity: 1;
  filter: brightness(1.14) saturate(1.08);
}
.calc-bars .calc-bar.hi-main {
  box-shadow: 0 0 0 1.5px var(--layer), 0 6px 18px rgba(169,207,170,.4);
}
.calc-xaxis {
  display: flex;
  justify-content: space-between;
  padding-left: 64px;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(237,242,234,.45);
}
.calc-caption {
  text-align: center;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(237,242,234,.08);
  font-size: 15px;
  color: rgba(237,242,234,.5);
}
.calc-caption b { color: #EDF2EA; font-weight: 600; }

@media (max-width: 900px) {
  .calc-card { grid-template-columns: 1fr; }
  .calc-panel { border-right: none; border-bottom: 1px solid rgba(237,242,234,.08); }
}

/* ---------- ecosystem stats ---------- */
.eco { padding: clamp(90px, 12vh, 160px) var(--pad) 0; }
.eco-title { font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 28px; }
.eco-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(23,23,23,.12);
  border-radius: 16px;
  background: var(--paper);
  overflow: hidden;
}
.eco-card {
  padding: 28px 28px 34px;
  min-height: clamp(220px, 30vh, 340px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.eco-card + .eco-card { border-left: 1px solid rgba(23,23,23,.12); }
.eco-label { font-size: 15px; opacity: .65; }
.eco-num {
  font-size: clamp(48px, 6.4vw, 104px);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

/* ---------- partner directory ---------- */
.pdir { padding: clamp(70px, 9vh, 120px) var(--pad) 0; }
.pdir-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(23,23,23,.1);
  padding-bottom: 22px;
}
.pf {
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: clamp(26px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  color: var(--ink);
  opacity: .3;
  padding: 0;
  transition: opacity .25s;
  position: relative;
}
.pf:hover { opacity: .6; }
.pf.active { opacity: 1; }
.pf sup {
  font-size: .38em;
  opacity: .7;
  margin-left: 3px;
  letter-spacing: 0;
}
.pdir-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pt {
  background: #ECECE7;
  border-radius: 16px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s;
}
.pt:hover { transform: translateY(-4px); background: #E7EAE2; }
.pt-icon {
  width: 62px; height: 62px;
  border-radius: 14px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(23,23,23,.06);
}
.pt-icon img { width: 60%; height: 60%; object-fit: contain; border-radius: 8px; }
.pt-name { font-size: 15.5px; }
.pt.hide { display: none; }

/* ---------- partner cta (light) ---------- */
.pcta { padding: clamp(70px, 9vh, 120px) var(--pad) 0; }
.pcta-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(70% 120% at 50% 118%, var(--mint) 0%, transparent 65%),
    linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%);
  border: 1px solid rgba(23,23,23,.1);
  text-align: center;
  padding: clamp(70px, 10vh, 120px) var(--pad);
}
.pcta-swirl {
  position: absolute;
  width: clamp(300px, 34vw, 520px);
  color: #DFE9DD;
  opacity: .8;
}
.pcta-swirl-l { left: 0; top: 50%; transform: translate(-58%, -50%) rotate(12deg); }
.pcta-swirl-r { right: 0; top: 50%; transform: translate(58%, -50%) rotate(-12deg); }
.pcta-card h2 {
  position: relative;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.12;
  max-width: 24ch;
  margin: 0 auto 36px;
}
.pcta-strong { color: var(--ink); }
.pcta-soft { color: rgba(23,23,23,.38); }
.pcta-card .btn { position: relative; }

/* ---------- learn ---------- */
.learn { padding: clamp(90px, 12vh, 160px) var(--pad) 0; }
.learn-title { font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 28px; }
.learn-feature {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(23,23,23,.1);
  margin-bottom: 14px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.learn-feature:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(14,13,12,.1); }
.lf-media {
  position: relative;
  min-height: 320px;
  background: linear-gradient(180deg, var(--mint), var(--sage));
  overflow: hidden;
}
.lf-media img {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 82%;
  object-fit: cover;
  object-position: center bottom;
}
.lf-mark {
  position: absolute;
  top: 22px; left: 24px;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(250,249,244,.9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lf-mark svg { width: 22px; height: 22px; color: var(--ink); }
.lf-body {
  padding: clamp(28px, 3.4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  align-items: flex-start;
}
.lf-body h3 { font-size: clamp(30px, 3.2vw, 48px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; }
.lf-excerpt { font-size: 16.5px; opacity: .65; max-width: 40ch; }
.lf-read { font-size: 15px; font-weight: 500; margin-top: 8px; }

.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.learn-post {
  background: var(--paper);
  border: 1px solid rgba(23,23,23,.1);
  border-radius: 20px;
  padding: 14px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.learn-post:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(14,13,12,.09); }
.lp-media {
  height: 150px;
  border-radius: 12px;
  margin: 0 -8px 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-media img { width: 100%; height: 100%; object-fit: cover; }
.lp-media svg { width: 54px; height: 54px; color: var(--ink); opacity: .75; }
.lp-media-dark { background: var(--ink-deep); }
.lp-media-mint { background: linear-gradient(140deg, var(--mint), var(--sage-2)); }
.lp-media-sage { background: linear-gradient(140deg, var(--sage), var(--teal)); }
.learn-post h4 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.lp-sub { font-size: 14.5px; opacity: .6; }

/* ---------- language switcher ---------- */
.lang { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  color: currentColor;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s, border-color .25s;
}
.nav.scrolled .lang-btn { border-color: rgba(23,23,23,.2); background: transparent; }
.lang-btn:hover { background: rgba(255,255,255,.18); }
.nav.scrolled .lang-btn:hover { background: rgba(23,23,23,.05); }
.lang-btn svg { width: 10px; height: 7px; opacity: .7; }
.lang-menu[hidden] { display: none; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(23,23,23,.1);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(14,13,12,.18);
  padding: 6px;
  display: flex;
  flex-direction: column;
  min-width: 150px;
  z-index: 120;
}
.lang-menu button {
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 14.5px;
  text-align: left;
  padding: 9px 12px;
  border-radius: 9px;
  cursor: pointer;
  color: var(--ink);
}
.lang-menu button:hover { background: rgba(23,23,23,.06); }

/* logo right-click download menu */
.logo-menu {
  position: fixed;
  z-index: 300;
  background: var(--white);
  border: 1px solid rgba(22,21,15,.1);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(14,13,12,.2);
  padding: 6px;
  display: flex;
  flex-direction: column;
  min-width: 178px;
}
.logo-menu[hidden] { display: none; }
.logo-menu button {
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 14px;
  text-align: left;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
}
.logo-menu button:hover { background: var(--frost); }

/* ---------- infra ---------- */
.infra {
  background: var(--ink-deep);
  color: var(--cream);
  border-radius: 36px;
  margin: 0 12px;
  position: relative;
  z-index: 2;
}
.infra-inner { padding: clamp(80px, 10vh, 140px) var(--pad) clamp(70px, 8vh, 110px); text-align: center; }
.infra .mono-label { color: var(--sage); opacity: .9; }
.infra h2 { font-size: clamp(36px, 4.6vw, 72px); line-height: 1.04; margin: 18px 0; }
.infra-copy { max-width: 56ch; margin: 0 auto 56px; opacity: .65; font-size: 17px; }
.infra-visual { max-width: 980px; margin: 0 auto; border-radius: 24px; overflow: hidden; }
.infra-visual img { width: 100%; display: block; }

/* ---------- big cta ---------- */
.bigcta {
  text-align: center;
  padding: clamp(110px, 16vh, 200px) var(--pad);
  background:
    radial-gradient(60% 80% at 50% 110%, var(--sage) 0%, transparent 70%),
    linear-gradient(180deg, var(--cream), var(--mint));
}
.bigcta h2 {
  font-size: clamp(52px, 9vw, 150px);
  line-height: .98;
  letter-spacing: -0.04em;
  margin-bottom: 44px;
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink-deep);
  color: var(--cream);
  padding: clamp(60px, 8vh, 100px) var(--pad) 0;
  overflow: hidden;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  gap: 32px;
  padding-bottom: 64px;
}
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.foot-brand .mark { width: 40px; height: 40px; color: var(--cream); }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h3 { margin-bottom: 6px; color: var(--sage); opacity: .9; }
.foot-col a { font-size: 14.5px; opacity: .6; transition: opacity .2s; }
.foot-col a:hover { opacity: 1; }
.foot-legal { border-top: 1px solid rgba(243,243,240,.12); padding: 28px 0; display: flex; flex-direction: column; gap: 10px; }
.foot-legal p { font-size: 11px; line-height: 1.6; opacity: .4; max-width: 110ch; }
.foot-word {
  font-size: clamp(90px, 17vw, 330px);
  line-height: .78;
  letter-spacing: -0.05em;
  font-weight: 500;
  text-align: center;
  color: var(--cream);
  opacity: .07;
  transform: translateY(14%);
  user-select: none;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 1024px) {
  .pdir-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .eco-cards { grid-template-columns: 1fr; }
  .eco-card + .eco-card { border-left: none; border-top: 1px solid rgba(23,23,23,.12); }
  .eco-card { min-height: 180px; }
  .pdir-grid { grid-template-columns: repeat(2, 1fr); }
  .pt { min-height: 160px; }
  .learn-feature { grid-template-columns: 1fr; }
  .lf-media { min-height: 220px; }
  .learn-grid { grid-template-columns: 1fr; }
  .hero-title { max-width: none; font-size: clamp(34px, 9vw, 52px); }
  .hero-qr .qr { width: 64px; height: 64px; }
  .cardsec { grid-template-columns: 1fr; }
  .stat-1 { left: 0; } .stat-3 { left: -2%; } .stat-5 { left: 2%; }
  .stat-2 { right: 0; } .stat-4 { right: -2%; } .stat-6 { right: 1%; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}


/* === castar-sections:faq === */
/* ---------- faq ---------- */
.faq-section {
  background: var(--ink-deep);
  color: #EDF2EA;
  padding: clamp(80px, 10vh, 140px) var(--pad);
}
.faq-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-head { position: sticky; top: 96px; }
.faq-section .mono-label { color: var(--sage); opacity: .9; }
.faq-head h2 {
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 16px 0 14px;
  color: #EDF2EA;
}
.faq-sub { font-size: 17px; opacity: .55; max-width: 34ch; }
.faq-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.faq-cta > span { font-size: 14.5px; opacity: .5; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  transition: background .3s ease, border-color .3s ease;
}
.faq-item.open { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #EDF2EA;
  font-family: var(--font);
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.faq-plus {
  flex: none;
  color: var(--sage);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .45s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
}
.faq-item.open .faq-a { max-height: 460px; opacity: 1; }
.faq-a p {
  padding: 0 22px 22px 56px;
  font-size: 15.5px;
  line-height: 1.6;
  opacity: .6;
  max-width: 62ch;
}

@media (max-width: 860px) {
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .faq-head { position: static; }
  .faq-a p { padding-left: 22px; }
}


/* === castar-sections:cmp === */
/* ===================== CARD COMPARISON (cmp-) ===================== */
.cmp {
  padding: clamp(80px, 10vh, 140px) var(--pad);
  background: var(--cream);
}
.cmp-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vh, 72px);
  text-align: center;
}
.cmp-head .mono-label { display: block; margin-bottom: 16px; }
.cmp-head h2 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}
.cmp-sub {
  margin: 18px auto 0;
  max-width: 560px;
  color: var(--olive);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.5;
}

.cmp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.cmp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(23, 23, 23, .08);
  border-radius: 24px;
  padding: 22px 22px 24px;
}
.cmp-card-featured {
  border-color: rgba(23, 23, 23, .14);
  box-shadow: 0 26px 60px -24px rgba(14, 13, 12, .3);
  z-index: 1;
}
@media (min-width: 861px) {
  .cmp-card-featured { transform: scale(1.035); }
}

.cmp-pill {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

/* card tier visual band */
.cmp-band {
  position: relative;
  height: 128px;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  overflow: hidden;
}
.cmp-band-word {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.cmp-band-visa {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.cmp-band-lite {
  background: linear-gradient(140deg, #FBFBF8 0%, var(--drift) 55%, var(--frost) 100%);
  color: var(--ink);
  border: 1px solid rgba(23, 23, 23, .06);
}
.cmp-band-core {
  background: radial-gradient(95% 130% at 28% 18%, #26301F 0%, #171E12 52%, #10150C 100%);
  color: #EDF2EA;
}
.cmp-band-prime {
  /* warm brushed-silver, derived from --paper-2 / --ash so it sits in the palette */
  background: linear-gradient(135deg, #F4F4F1 0%, #CBCBC4 30%, var(--ash) 52%, #D9D9D3 74%, #9C9C95 100%);
  color: var(--ink);
}

.cmp-tier {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 20px 0 4px;
}
.cmp-tag {
  color: var(--olive);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.cmp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px 0;
}
.cmp-stat {
  padding: 0 10px;
  text-align: center;
}
.cmp-stat:not(:last-child) {
  border-right: 1px solid rgba(23, 23, 23, .1);
}
.cmp-stat b {
  display: block;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cmp-stat .mono-label {
  display: block;
  margin-top: 7px;
  line-height: 1.3;
}

.cmp-cta { width: 100%; }

.cmp-rule {
  height: 1px;
  background: rgba(23, 23, 23, .1);
  margin: 22px 0 20px;
}

.cmp-feat {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
}
.cmp-feat li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink);
}
.cmp-check {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  color: var(--teal);
}

.cmp-terms {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--grey);
  line-height: 1.4;
}

@media (max-width: 860px) {
  .cmp-grid { grid-template-columns: 1fr; max-width: 440px; }
  .cmp-card-featured { transform: none; order: -1; }
}


/* === castar-sections:bento === */
/* ---------- why-castar bento ---------- */
.bento { padding: clamp(80px, 10vh, 140px) var(--pad); }
.bento-head { max-width: 720px; margin-bottom: clamp(36px, 5vh, 60px); }
.bento-head .mono-label { display: block; margin-bottom: 16px; }
.bento-title {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.bento-sub {
  margin-top: 18px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--olive);
  max-width: 560px;
  line-height: 1.5;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.bento-tile {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--paper);
  border: 1px solid rgba(23,23,23,.08);
  border-radius: 22px;
  overflow: hidden;
}
.bento-span2 { grid-column: span 2; }

.bento-copy { margin-bottom: 20px; }
.bento-h {
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.bento-p {
  font-size: 15px;
  line-height: 1.45;
  color: var(--olive);
  max-width: 38ch;
}

/* generic visual area fills remaining tile height */
.bento-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.bento-svg { width: 100%; max-width: 260px; height: auto; }

/* 1. stock logo chips */
.bento-chips {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  gap: 12px;
}
.bento-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(52px, 6vw, 68px);
  height: clamp(52px, 6vw, 68px);
  background: var(--cream);
  border: 1px solid rgba(23,23,23,.06);
  border-radius: 16px;
}
.bento-chip img { width: 62%; height: 62%; object-fit: contain; }

/* 4 & 6. photo tiles */
.bento-img { position: relative; padding-bottom: 0; }
.bento-img .bento-copy { position: relative; z-index: 1; }
.bento-photo {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
}
.bento-photo-hand { height: 62%; object-position: center top; }
.bento-photo-laptop { height: 66%; border-top-left-radius: 14px; border-top-right-radius: 14px; }

/* 5. ownership pills */
.bento-pills {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  gap: 10px;
}
.bento-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--cream);
  border: 1px solid rgba(23,23,23,.08);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
}
.bento-pill svg { width: 16px; height: 16px; color: var(--teal); flex: none; }

@media (max-width: 860px) {
  .bento-grid { grid-template-columns: 1fr; gap: 12px; }
  .bento-tile, .bento-span2 { grid-column: span 1; min-height: 260px; }
  .bento-photo-hand { height: 56%; }
  .bento-photo-laptop { height: 58%; }
}


/* === castar-sections:footer-brand === */
.foot-logo { display: inline-flex; align-items: center; gap: 12px; }
.foot-logo .mark { width: 34px; height: 34px; color: var(--cream); }
.foot-wordmark { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; color: var(--cream); }
.foot-qr { box-shadow: 0 12px 44px rgba(14,13,12,.5); }
@media (max-width: 1024px) { .foot-qr { order: 0; } }
@media (max-width: 820px) { .foot-qr { width: 68px; height: 68px; } }


/* === jeff-bezos === */
.bezos { padding: clamp(60px, 8vh, 110px) var(--pad); }
.bezos-head { max-width: 720px; margin: 0 auto clamp(32px, 5vh, 56px); text-align: center; }
.bezos-head .mono-label { display: block; margin-bottom: 16px; }
.bezos-head h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.03; letter-spacing: -0.03em; }
.bezos-sub { margin: 16px auto 0; max-width: 52ch; color: var(--olive); font-size: clamp(15px, 1.5vw, 17px); line-height: 1.5; }
/* three-way tableau: blurred everyman | comparison | Bezos */
.bezos-stage { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 0.82fr 1.2fr 0.82fr; gap: clamp(16px, 2.5vw, 40px); align-items: stretch; }
.bezos-figure-you, .bezos-photo { position: relative; min-height: 380px; border-radius: 24px; overflow: hidden; margin: 0; border: 1px solid rgba(23,23,23,.08); }
.bezos-figure-you { background: radial-gradient(120% 120% at 50% 22%, #23231F, #0C0B0A); }
.bezos-sil { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; color: var(--ash); opacity: .38; filter: blur(8px); }
.bezos-sil svg { width: 86%; height: 94%; }
/* real "regular guy" photo (already blurred, black bg) fades in over the placeholder */
.bezos-you-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: 0; transition: opacity .5s ease; }
.bezos-figure-you.is-loaded .bezos-sil { display: none; }
.bezos-figure-you.is-loaded .bezos-you-img { opacity: 1; }
.bezos-cols { display: grid; grid-template-columns: 1fr; gap: 12px; align-content: center; }
.bezos-card { background: var(--paper); border: 1px solid rgba(23,23,23,.1); border-radius: 20px; padding: 22px 24px; }
.bezos-card-him { border-color: color-mix(in srgb, var(--teal) 45%, transparent); background: linear-gradient(180deg, var(--frost), var(--paper)); }
.bezos-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bezos-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; font-weight: 500; }
.bezos-card-him .bezos-tag { color: var(--teal); }
.bezos-card-you .bezos-tag { color: var(--grey); }
.bezos-badge { font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--cream); color: var(--olive); border: 1px solid rgba(23,23,23,.08); white-space: nowrap; }
.bezos-badge-win { background: var(--teal); color: #fff; border-color: transparent; }
.bezos-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.bezos-list li { position: relative; padding-left: 24px; font-size: 14.8px; line-height: 1.45; color: var(--ink); }
.bezos-card-you .bezos-list li { color: var(--olive); }
.bezos-list li::before { content: ""; position: absolute; left: 6px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.bezos-card-you .bezos-list li::before { background: var(--grey); }
.bezos-figure { margin-top: 16px; display: flex; align-items: baseline; gap: 10px; }
.bezos-figure b { font-size: clamp(26px, 3vw, 36px); font-weight: 400; letter-spacing: -0.03em; color: var(--teal); }
.bezos-figure span { font-size: 13px; color: var(--olive); }
.bezos-figure-dim b { color: var(--grey); }
.bezos-vs { justify-self: center; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: var(--cream); font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .04em; box-shadow: 0 6px 20px rgba(14,13,12,.18); }
.bezos-cta { max-width: 1180px; margin: clamp(28px, 4vh, 44px) auto 0; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; text-align: center; }
.bezos-note { font-size: 13.5px; color: var(--olive); max-width: 40ch; line-height: 1.4; }
/* photo slot: laughing-face placeholder is the always-on base (box sizing shared
   with .bezos-figure-you); the real photo fades in on top once it loads */
.bezos-photo { background: radial-gradient(120% 120% at 50% 28%, var(--frost), var(--mint-steel)); }
.bezos-photo-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--teal); }
.bezos-photo-ph svg { width: 40%; height: 40%; opacity: .5; }
.bezos-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 16%; opacity: 0; transition: opacity .5s ease; }
.bezos-photo.is-loaded .bezos-photo-ph { display: none; }
.bezos-photo.is-loaded img { opacity: 1; }
@media (max-width: 860px) {
  .bezos-stage { grid-template-columns: 1fr 1fr; }
  .bezos-cols { grid-column: 1 / -1; order: -1; }
  .bezos-figure-you, .bezos-photo { min-height: 240px; }
}
