:root {
  --ink: #ffffff;
  --ink-soft: #e6eae4;
  --paper: #0a0a0a;
  --paper-2: #161616;
  --surface: rgba(22, 22, 22, 0.88);
  --lime: #3ec8ff;
  --lime-deep: #1eaeef;
  --clay: #e08a4f;
  --mute: #b9c0b6;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --font: system-ui, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 19px;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  color-scheme: dark;
}

body {
  position: relative;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(62, 200, 255, 0.14), transparent 55%),
    radial-gradient(720px 480px at 100% 0%, rgba(196, 92, 38, 0.1), transparent 50%),
    radial-gradient(600px 400px at 50% 100%, rgba(255, 255, 255, 0.04), transparent 55%),
    linear-gradient(165deg, #050505 0%, #0c0c0c 42%, #0a1014 100%);
  animation: drift 18s ease-in-out infinite alternate;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 72%);
  pointer-events: none;
}

@keyframes drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.04) translate3d(-1.5%, 1%, 0);
  }
}

.hero {
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.25rem, 4vw, 3rem) 1.5rem;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
}

.brand {
  margin: 0;
  line-height: 0;
  animation: brand-in 0.7s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.brand-logo {
  width: min(420px, 72vw);
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.brand.small .brand-logo {
  width: min(260px, 55vw);
}

@keyframes brand-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.tagline {
  margin: 0.9rem 0 1.6rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink-soft);
  animation: brand-in 0.7s 0.08s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.search-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-shell:focus-within {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(183, 242, 85, 0.55);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.search-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mute);
}

#q {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font: 500 1.05rem/1.2 var(--font);
  color: var(--ink);
}

#q::placeholder {
  color: #a4aba1;
}

.hint {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--mute);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.15rem 0.45rem;
  background: var(--paper-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
  animation: brand-in 0.7s 0.14s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  font: 600 0.92rem/1 var(--font);
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover,
.btn:focus,
.btn:visited,
a.btn:hover,
a.btn:focus,
a.btn:visited {
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  background: #1f1f1f;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn.primary {
  background: var(--lime);
  border-color: transparent;
  color: #0a0a0a;
}

.btn.primary:hover {
  background: var(--lime-deep);
  color: #0a0a0a;
}

.btn.ghost {
  background: transparent;
}

.panel {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 3rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 0.85rem;
}

.stat {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: #fff;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filters label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mute);
}

.filters select {
  font: 500 0.9rem/1.2 var(--font);
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  min-width: 8.5rem;
}

.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
  max-height: min(62vh, 740px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.grid th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  padding: 0.85rem 1rem;
  background: #050505;
  color: var(--lime);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.grid td {
  padding: 0.78rem 1rem;
  border-top: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink);
}

.grid tbody tr {
  transition: background 0.12s ease;
}

.grid tbody tr:hover {
  background: rgba(183, 242, 85, 0.08);
}

.phone {
  font-family: var(--mono);
  white-space: nowrap;
}

.dept {
  white-space: nowrap;
}

.address {
  max-width: 16rem;
  color: var(--mute);
}

.email {
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 500;
}

.muted {
  color: var(--mute);
}

.site a {
  color: var(--clay);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site a:hover {
  border-bottom-color: currentColor;
}

.empty {
  margin: 0;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--mute);
}

.foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--mute);
  font-size: 0.82rem;
}

.foot code {
  font-family: var(--mono);
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}

.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  background: var(--lime);
  color: #0a0a0a;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
  z-index: 20;
}

.toast.show {
  transform: none;
  opacity: 1;
}

/* —— nav / auth / credits —— */
.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem clamp(1.25rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 10;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.nav-logo {
  height: 72px;
  width: auto;
  max-width: min(320px, 70vw);
  display: block;
  border-radius: 0;
  object-fit: contain;
}

@media (max-width: 700px) {
  .nav-logo {
    height: 56px;
    max-width: min(240px, 62vw);
  }
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--lime);
}

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

/* Keep Logout + Get credits the same height and aligned on the Y axis */
.topnav .btn,
.topnav a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0 1.15rem;
  margin: 0;
  line-height: 1;
  font: 600 0.88rem/1 var(--font);
  vertical-align: middle;
}

.credit-pill {
  font-family: var(--mono);
  font-size: 0.78rem;
  background: rgba(183, 242, 85, 0.12);
  color: var(--lime);
  border: 1px solid rgba(183, 242, 85, 0.35);
  height: 2.5rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  padding: 0 0.85rem;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.credit-pill:empty,
.credit-pill[hidden],
#btn-logout[hidden],
#nav-login[hidden],
[hidden] {
  display: none !important;
  padding: 0 !important;
  border: 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.gate {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.gate-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}

.gate-card h1 {
  margin: 0.3rem 0 0.8rem;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.lede {
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 1.2rem;
  max-width: 36rem;
}

.lede.wide {
  max-width: 42rem;
}

.hero.compact {
  padding-top: 1.5rem;
}

/* —— Database page —— */
body.app-page .app-panel,
body.app-page .foot {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

body.app-page .app-panel {
  padding: 1rem clamp(0.75rem, 1.5vw, 1.5rem) 1.5rem;
}

body.app-page .foot {
  display: none;
}

body.app-page .topnav {
  padding-left: clamp(0.75rem, 1.5vw, 1.5rem);
  padding-right: clamp(0.75rem, 1.5vw, 1.5rem);
}

.brand.small {
  margin: 0;
}

/* One slim control row above the table */
.db-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.db-bar-spacer {
  flex: 1 1 auto;
}

.db-search {
  flex: 1 1 22rem;
  max-width: 34rem;
  margin: 0;
}

.db-state {
  font: 500 0.88rem/1.2 var(--font);
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
}

.db-stat {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink);
  white-space: nowrap;
}

.btn.db-quiet {
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
}

.btn.db-unlock {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

/* Unlock / clear stay visible while the table scrolls */
.db-dock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
}

.db-dock[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .db-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    margin: 0;
    padding: 0.75rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 8, 8, 0.94);
    border-top: 1px solid rgba(183, 242, 85, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.45);
    justify-content: stretch;
  }

  .db-dock .btn {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 2.85rem;
  }

  .db-dock .db-unlock {
    flex: 1.4 1 auto;
  }

  body.has-db-dock .db-table {
    padding-bottom: 5.5rem;
    max-height: calc(100vh - 210px);
  }
}

body.app-page .db-table {
  max-height: calc(100vh - 170px);
  min-height: min(50vh, 540px);
  border-radius: 18px;
}

body.app-page .grid th,
body.app-page .grid td {
  padding: 0.85rem 1.1rem;
}

/* First column doubles as the "select N" field + row marker */
.col-pick {
  width: 4.5rem;
  text-align: center;
  vertical-align: middle;
}

.grid th.col-pick {
  padding: 0.4rem 0.5rem;
}

#select-count {
  width: 3.6rem;
  padding: 0.4rem 0.35rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--lime);
  background: rgba(183, 242, 85, 0.08);
  border: 1px solid rgba(183, 242, 85, 0.35);
  border-radius: 8px;
}

#select-count::placeholder {
  color: rgba(183, 242, 85, 0.5);
}

#select-count:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(183, 242, 85, 0.16);
}

.pick-mark {
  display: inline-block;
  min-width: 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.locked-row {
  opacity: 1;
}

.selectable-row {
  cursor: pointer;
  user-select: none;
}

/* Beat `.grid tbody tr:hover` so a selected row stays lit under the cursor */
.grid tbody tr.selectable-row.is-selected,
.grid tbody tr.selectable-row.is-selected:hover {
  background: rgba(183, 242, 85, 0.18);
  box-shadow: inset 3px 0 0 var(--lime);
  opacity: 1;
}

.grid tbody tr.selectable-row.is-selected .pick-mark {
  color: var(--lime);
  font-weight: 700;
}

.open-tag {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.1rem 0.4rem;
  font-family: var(--font);
  font-weight: 700;
  background: rgba(183, 242, 85, 0.12);
  border: 1px solid rgba(183, 242, 85, 0.35);
  color: var(--lime);
}

.site-locked {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.auth-wrap {
  max-width: 460px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 4rem;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin: 0.2rem 0 0.5rem;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin: 1.2rem 0 1rem;
  padding: 0.3rem;
  background: #0f0f0f;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.tab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.7rem;
  font: 600 0.9rem/1 var(--font);
  cursor: pointer;
  color: var(--mute);
}

.tab.active {
  background: #1c1c1c;
  color: var(--lime);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.btn.google-btn {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #131314;
  color: #e3e3e3;
  border: 1px solid #8e918f;
  font-weight: 700;
  text-decoration: none;
  margin: 0.15rem 0 1rem;
  box-shadow: none;
  text-align: center;
}

.btn.google-btn:hover,
.btn.google-btn:focus {
  background: #1e1f20;
  border-color: #c4c7c5;
  color: #e3e3e3;
  text-decoration: none;
}

.btn.google-btn:visited {
  color: #e3e3e3;
  text-decoration: none;
}

.btn.google-btn:active {
  background: #2a2b2c;
}

.google-icon {
  flex: 0 0 auto;
}

.auth-form {
  display: none;
  gap: 0.85rem;
}

.auth-form.is-visible {
  display: grid;
}

.auth-form label,
.filters label {
  display: grid;
  gap: 0.35rem;
}

.auth-form input,
.redeem-row input {
  font: 500 1rem/1.2 var(--font);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  background: #0f0f0f;
  color: var(--ink);
}

.btn.wide {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.form-error {
  margin: 0.9rem 0 0;
  color: #ff8f6b;
  font-weight: 600;
  font-size: 0.9rem;
}

.fine {
  margin: 0;
  color: var(--mute);
  font-size: 0.85rem;
}

.otp-display {
  margin: 0.75rem 0 0.35rem;
  padding: 0.9rem 1rem;
  text-align: center;
  font-family: var(--mono);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--lime);
  background: rgba(183, 242, 85, 0.08);
  border: 1px solid rgba(183, 242, 85, 0.35);
  border-radius: 16px;
}

.page-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 0.5rem;
}

body:has(.credits-layout.single) .page-hero {
  text-align: center;
  max-width: 42rem;
}

body:has(.credits-layout.single) .page-hero .lede {
  margin-left: auto;
  margin-right: auto;
}

.page-title {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.balance {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.credits-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

/* One pack card — centered, wide enough for even pack grid */
.credits-layout.single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 42rem;
  width: 100%;
  justify-items: stretch;
  margin-left: auto;
  margin-right: auto;
}

.credits-layout.single .pack-card {
  width: 100%;
  min-width: 0;
  padding: 1.75rem clamp(1.25rem, 4vw, 2.25rem) 1.9rem;
  text-align: center;
}

.credits-layout.single .pack-kicker,
.credits-layout.single .deal-badge,
.credits-layout.single h2,
.credits-layout.single .price,
.credits-layout.single .price-was,
.credits-layout.single .price-sub {
  text-align: center;
}

.credits-layout.single .credits-input-label {
  text-align: left;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.credits-layout.single .fine,
.credits-layout.single .price-hint,
.credits-layout.single .price-sub,
.credits-layout.single #pay-status {
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.credits-layout.single .pay-box {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.credits-layout.single .checks.two-col {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.credits-layout.single #credits-input {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.credits-layout.single .credits-expand {
  text-align: center;
}

.credits-expand {
  margin: -0.25rem 0 0.75rem;
  min-height: 1.25rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--lime);
}

.credits-expand.is-error {
  color: #ff8f6b;
}

.pay-box {
  margin: 0.75rem 0 1rem;
  min-height: 3rem;
  display: grid;
  gap: 0.6rem;
}

.btn.pay-whop {
  background: #ff6243;
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn.pay-whop:hover {
  background: #e85130;
  color: #fff;
}

.btn.pay-whop:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn.small {
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
}

.pay-log {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.pay-invoice {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.pay-status {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.pay-status.completed {
  color: var(--lime);
  border-color: rgba(183, 242, 85, 0.4);
}

.pack-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.pack-card.featured {
  background: linear-gradient(165deg, rgba(183, 242, 85, 0.12), rgba(20, 20, 20, 0.95) 42%);
  border-color: rgba(183, 242, 85, 0.35);
}

.pack-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mute);
}

.pack-card h2 {
  margin: 0.35rem 0 0.8rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.deal-badge {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.56rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6243, #ff8a3d);
  color: #fff;
  font-size: 1.56rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.deal-badge[hidden] {
  display: none;
}

.price-was {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.price-was[hidden] {
  display: none;
}

.credits-layout.single .quick-packs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  max-width: 28rem;
  margin: 0 auto 0.85rem;
}

.quick-packs button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: 100%;
  min-width: 0;
  min-height: 3.1rem;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  box-sizing: border-box;
}

.quick-packs button em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  color: #ff8a3d;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.quick-packs button.active em {
  color: #ffe1c7;
}

.tier-deal {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 98, 67, 0.18);
  color: #ff8a3d;
  font-size: 0.78rem;
  font-weight: 700;
}

.price {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  word-break: break-word;
}

.price-sub {
  margin: 0.35rem 0 1.1rem;
  color: var(--mute);
}

.credits-input-label {
  display: grid;
  gap: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mute);
  margin-bottom: 0.65rem;
}

#credits-input {
  width: 100%;
  max-width: 16rem;
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 500;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
}

#credits-input:focus {
  outline: none;
  border-color: rgba(183, 242, 85, 0.55);
}

.quick-packs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.quick-packs button {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  color: var(--mute);
  cursor: pointer;
}

.quick-packs button:hover,
.quick-packs button.active {
  border-color: rgba(183, 242, 85, 0.55);
  color: var(--lime);
  background: rgba(183, 242, 85, 0.08);
}

@media (max-width: 480px) {
  .credits-layout.single {
    max-width: 100%;
  }

  .credits-layout.single .quick-packs {
    max-width: none;
  }
}

.price-hint {
  margin: 0 0 1rem;
}

.slider-label {
  display: grid;
  gap: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mute);
  margin-bottom: 0.4rem;
}

#pack-slider {
  width: 100%;
  accent-color: var(--lime-deep);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mute);
  margin-bottom: 1rem;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.55rem;
}

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

.checks li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 2px #0a0a0a;
}

.beyond {
  max-width: 1100px;
  margin: 1rem auto 0;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.beyond-inner {
  border-radius: 24px;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid transparent;
  background-image:
    linear-gradient(#141414, #141414),
    linear-gradient(120deg, #8fd40f, #c45c26, #333);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.beyond-inner h2 {
  margin: 0.2rem 0 0.5rem;
  letter-spacing: -0.03em;
}

.redeem-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0.6rem;
}

.redeem-row input {
  flex: 1 1 220px;
}

.tiers {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem;
}

.tiers h2 {
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.tier-table th,
.tier-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
}

.tier-table th {
  background: #050505;
  color: var(--lime);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-top: 0;
}

@media (max-width: 860px) {
  .credits-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .search-shell {
    grid-template-columns: 1fr auto;
  }

  .search-label {
    display: none;
  }

  .grid th:nth-child(5),
  .grid td:nth-child(5),
  .grid th:nth-child(9),
  .grid td:nth-child(9) {
    display: none;
  }
}

/* —— landing page —— */
.land-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 3rem) 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.land-hero.land-hero-solo {
  grid-template-columns: 1fr;
}

.land-hero.land-hero-solo .land-hero-copy {
  max-width: 46rem;
}

.land-hero.land-hero-solo .lede.wide {
  max-width: 42rem;
}

.land-title {
  margin: 0.2rem 0 0.9rem;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  font-weight: 800;
  animation: brand-in 0.7s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.land-fine {
  margin: 1rem 0 0;
  color: var(--mute);
  font-size: 0.88rem;
}

.land-hero-visual {
  animation: brand-in 0.8s 0.12s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.land-preview {
  background: linear-gradient(165deg, rgba(183, 242, 85, 0.1), rgba(18, 18, 18, 0.96) 40%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.land-preview-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  color: var(--mute);
  font-size: 0.72rem;
  font-family: var(--mono);
}

.land-preview-bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #3a3a3a;
}

.land-preview-bar span:nth-child(1) {
  background: #e08a4f;
}
.land-preview-bar span:nth-child(2) {
  background: #b7f255;
}
.land-preview-bar span:nth-child(3) {
  background: #6aa8ff;
}

.land-preview-bar em {
  margin-left: 0.5rem;
  font-style: normal;
}

.land-preview-search {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: var(--mute);
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  background: rgba(0, 0, 0, 0.35);
}

.land-preview-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.4fr;
  gap: 0.5rem;
  padding: 0.55rem 0.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.land-preview-row b {
  font-family: var(--mono);
  font-weight: 500;
}

.land-preview-row i {
  font-style: normal;
  color: var(--mute);
}

.land-preview-row.dim {
  opacity: 0.45;
}

.land-trust {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 2rem;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.trust-list li {
  position: relative;
  padding-left: 1.1rem;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--lime);
}

.land-stats {
  max-width: 1100px;
  margin: 0 auto 1rem;
  padding: 0.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat-block {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1rem;
  background: var(--surface);
}

.stat-block strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  color: var(--lime);
  font-family: var(--mono);
}

.stat-block span {
  color: var(--mute);
  font-size: 0.82rem;
}

.land-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
}

.land-section.alt {
  max-width: none;
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--line);
}

.land-section.alt > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.land-section.alt .feature-grid,
.land-section.alt .tool-grid,
.land-section.alt .compare,
.land-section.alt .hero-actions {
  max-width: 1100px;
}

.land-h2 {
  margin: 0.25rem 0 0.85rem;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 18ch;
}

.feature-grid,
.tool-grid,
.reason-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

@media (max-width: 700px) {
  .feature-grid.feature-grid-2x2 {
    grid-template-columns: 1fr;
  }
}

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

.reason-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature,
.tool,
.reason-grid article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
  background: rgba(10, 10, 10, 0.55);
}

.feature-grid-2x2 .feature .deal-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  margin: 0;
}

.feature-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 700;
}

.feature-grid-2x2 .feature-kicker {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  font-family: var(--mono);
  font-size: 2rem;
  letter-spacing: -0.04em;
  text-transform: none;
  line-height: 1;
  color: var(--lime);
  font-weight: 700;
}

.feature h3,
.tool h3,
.reason-grid h3,
.compare h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.feature p,
.tool p,
.reason-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.95rem;
}

.tool a {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--lime);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.tool a:hover {
  text-decoration: underline;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.filter-chips span {
  border: 1px solid var(--line);
  background: #121412;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 1.2rem;
}

.compare-col {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
  background: rgba(10, 10, 10, 0.45);
}

.compare-col.good {
  border-color: rgba(183, 242, 85, 0.35);
  background: linear-gradient(165deg, rgba(183, 242, 85, 0.1), rgba(16, 16, 16, 0.9));
}

.compare-col ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.land-cta {
  max-width: 1100px;
  margin: 1rem auto 0;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  text-align: left;
}

.land-cta .land-h2 {
  max-width: 22ch;
}

.land-foot {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

/* scroll reveals + counters */
.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.985);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.9, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.9, 0.2, 1),
    filter 0.7s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform, filter;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

.land-preview {
  transition: transform 0.35s ease-out;
}

.land-preview-row.reveal {
  transform: translate3d(-12px, 0, 0);
}

.land-preview-row.reveal.is-in {
  transform: none;
}

.stat-block strong {
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1), color 0.35s ease;
}

#stat-ratio.is-pop {
  animation: pop-in 0.55s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes pop-in {
  from {
    opacity: 0.3;
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.feature,
.tool,
.reason-grid article,
.compare-col,
.stat-block {
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.7s cubic-bezier(0.2, 0.9, 0.2, 1),
    filter 0.7s ease;
}

.feature.is-in:hover,
.tool.is-in:hover,
.reason-grid article.is-in:hover,
.stat-block.is-in:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 242, 85, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.filter-chips span {
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    opacity 0.7s cubic-bezier(0.2, 0.9, 0.2, 1),
    filter 0.7s ease;
}

.filter-chips span.is-in:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 242, 85, 0.4);
  color: var(--ink);
  background: rgba(183, 242, 85, 0.08);
}

.trust-list li.reveal {
  transform: translate3d(-10px, 8px, 0);
}

.trust-list li.reveal.is-in {
  transform: none;
}

.land-hero-copy .eyebrow,
.land-hero-copy .lede,
.land-hero-copy .hero-actions,
.land-hero-copy .land-fine {
  animation: brand-in 0.75s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.land-hero-copy .lede {
  animation-delay: 0.08s;
}

.land-hero-copy .hero-actions {
  animation-delay: 0.14s;
}

.land-hero-copy .land-fine {
  animation-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .feature,
  .tool,
  .reason-grid article,
  .compare-col,
  .stat-block,
  .filter-chips span,
  .land-preview {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }

  .atmosphere {
    animation: none;
  }
}

.land-h2.wide-h2 {
  max-width: 28ch;
}

.vs-wrap {
  margin-top: 1.75rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(10, 10, 10, 0.55);
  -webkit-overflow-scrolling: touch;
}

.vs-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.vs-table th,
.vs-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.45;
}

.vs-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: #101210;
  font-weight: 700;
}

.vs-table tbody th[scope="row"] {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  background: rgba(16, 18, 16, 0.65);
}

.vs-table tbody tr:last-child th,
.vs-table tbody tr:last-child td {
  border-bottom: 0;
}

.vs-table .vs-dfn {
  color: var(--ink);
  background: rgba(183, 242, 85, 0.06);
}

.vs-table thead .vs-dfn {
  color: var(--lime);
  background: rgba(183, 242, 85, 0.1);
}

.vs-table .vs-dfn strong {
  color: var(--lime);
  font-weight: 700;
}

.vs-takeaways {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  max-width: 720px;
}

.vs-takeaways li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: rgba(10, 10, 10, 0.45);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.vs-takeaways strong {
  color: var(--lime);
  font-weight: 700;
}

.vs-note {
  margin: 1.1rem 0 0;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0.85;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
  max-width: 1100px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
  background: rgba(10, 10, 10, 0.55);
}

.faq-item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.95rem;
}

.land-foot .foot-seo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: center;
  justify-content: center;
}

.land-foot .foot-seo a {
  color: var(--lime);
  text-decoration: none;
  font-weight: 600;
}

.land-foot .foot-seo a:hover {
  text-decoration: underline;
}

.land-foot .foot-tag {
  margin: 0.65rem 0 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

.growth-section {
  padding-top: 0.5rem;
}

.growth-panel {
  margin-top: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(10, 10, 10, 0.65);
  padding: 1.25rem 1.25rem 1.1rem;
  max-width: 1100px;
}

.growth-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}

.growth-kicker {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 700;
}

.growth-now {
  margin: 0.2rem 0 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.04em;
  color: var(--lime);
  font-family: var(--mono);
  font-weight: 700;
}

.growth-now em {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-family: var(--font);
  font-weight: 500;
  margin-left: 0.45rem;
}

.growth-delta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.growth-chart-wrap {
  width: 100%;
  overflow: hidden;
}

.growth-chart {
  display: block;
  width: 100%;
  height: auto;
}

.growth-line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.growth-area {
  opacity: 0;
  transition: opacity 0.9s ease 0.35s;
}

.growth-panel.is-drawn .growth-line {
  stroke-dashoffset: 0;
}

.growth-panel.is-drawn .growth-area {
  opacity: 1;
}

.growth-dots circle {
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.growth-panel.is-drawn .growth-dots circle {
  opacity: 1;
}

.growth-vals {
  opacity: 0;
  transition: opacity 0.45s ease 0.7s;
}

.growth-panel.is-drawn .growth-vals {
  opacity: 1;
}

.growth-legend {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.growth-legend li {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.growth-legend strong {
  color: var(--lime);
  font-family: var(--mono);
}

@media (max-width: 620px) {
  .growth-legend {
    grid-template-columns: 1fr 1fr;
  }
}

.land-section.alt .vs-wrap,
.land-section.alt .vs-takeaways,
.land-section.alt .vs-note {
  max-width: 1100px;
}

@media (max-width: 920px) {
  .land-hero {
    grid-template-columns: 1fr;
  }

  .land-hero-visual {
    order: -1;
  }

  .trust-list,
  .land-stats,
  .feature-grid,
  .reason-grid,
  .compare,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .trust-list,
  .land-stats,
  .feature-grid,
  .tool-grid,
  .reason-grid,
  .compare,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .nav-links a:not(.nav-cta):not(#nav-login) {
    display: none;
  }
}

/* ── Maturski Radovi extras: pricing grid + messenger ── */

.nav-wordmark {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.nav-wordmark span {
  color: var(--lime);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 3rem;
}

@media (max-width: 700px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.price-card .deal-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
}
.price-card .price-was {
  margin: -0.15rem 0 0.15rem;
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono);
  font-size: 0.95rem;
}
.price-card.featured .deal-badge {
  background: linear-gradient(135deg, #ff6243, #ff8a3d);
  box-shadow: 0 8px 20px rgba(255, 98, 67, 0.35);
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 242, 85, 0.45);
}
.price-card.featured {
  border-color: rgba(183, 242, 85, 0.55);
  background: linear-gradient(165deg, rgba(183, 242, 85, 0.08), rgba(22, 22, 22, 0.92));
}
.price-card .pack-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 700;
}
.price-card h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.price-card .price {
  margin: 0.2rem 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  font-family: var(--mono);
  font-size: 2.55rem;
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
  letter-spacing: -0.04em;
}
.price-card .price .price-num,
.price-card .price .price-cur,
.price-card .price small {
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: inherit;
  color: var(--lime);
}
.price-card .lede {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.app-shell {
  max-width: min(1560px, 98vw);
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.25rem) 3rem;
  display: grid;
  gap: 1.25rem;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.55fr);
  gap: 1.25rem;
  align-items: stretch;
  min-height: 70vh;
}

@media (max-width: 1100px) {
  .app-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

@media (max-width: 900px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 480px;
}

.panel-head {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.panel-body {
  padding: 1rem 1.15rem;
  flex: 1;
  overflow: auto;
}

.order-form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  color: var(--mute);
  font-weight: 600;
}
.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: 500 0.95rem/1.3 var(--font);
}
.order-form textarea {
  min-height: 90px;
  resize: vertical;
}

.order-list {
  display: grid;
  gap: 0.65rem;
}
.order-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: var(--paper-2);
}
.order-item h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}
.order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mute);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status-pill.pending {
  background: rgba(224, 138, 79, 0.18);
  color: #f0b07a;
}
.status-pill.ready {
  background: rgba(183, 242, 85, 0.16);
  color: var(--lime);
}
.status-pill.paid {
  background: rgba(94, 186, 255, 0.16);
  color: #8ecfff;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
}

.btn.danger {
  background: transparent;
  border: 1px solid rgba(255, 98, 67, 0.55);
  color: #ff8f78;
  font-weight: 600;
}
.btn.danger:hover {
  background: rgba(255, 98, 67, 0.14);
  color: #ffb4a4;
}

.thread-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.thread-row .thread-item {
  border-bottom: none;
}
.thread-del {
  border: none;
  border-radius: 0;
  padding: 0 0.65rem;
  font-size: 1.1rem;
  line-height: 1;
  min-width: 2rem;
}

/* Messenger */
.chat-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  min-height: 560px;
  height: min(78vh, 900px);
}

@media (max-width: 800px) {
  .chat-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
}

.chat-threads {
  border-right: 1px solid var(--line);
  overflow: auto;
  background: rgba(10, 10, 10, 0.35);
}
.thread-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0.9rem 1rem;
  cursor: pointer;
  font: inherit;
}
.thread-item:hover,
.thread-item.active {
  background: rgba(183, 242, 85, 0.08);
}
.thread-item .t-email {
  font-weight: 650;
  font-size: 0.88rem;
}
.thread-item .t-preview {
  margin-top: 0.2rem;
  color: var(--mute);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thread-item .t-unread {
  display: inline-block;
  margin-left: 0.35rem;
  background: var(--lime);
  color: #0a0a0a;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
}

.chat-main {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.chat-messages {
  flex: 1;
  overflow: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.bubble {
  max-width: min(72%, 560px);
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  align-self: flex-start;
}
.bubble.mine {
  align-self: flex-end;
  background: rgba(183, 242, 85, 0.12);
  border-color: rgba(183, 242, 85, 0.35);
}
.bubble .b-meta {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--mute);
  margin-bottom: 0.25rem;
}
.bubble .b-body {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.92rem;
  line-height: 1.4;
}
.bubble .b-files {
  margin-top: 0.45rem;
  display: grid;
  gap: 0.3rem;
}
.bubble .b-files a {
  color: var(--lime);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}
.bubble .b-files a:hover {
  text-decoration: underline;
}

.chat-compose {
  border-top: 1px solid var(--line);
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
  background: rgba(10, 10, 10, 0.4);
}
.chat-compose textarea {
  width: 100%;
  min-height: 64px;
  max-height: 140px;
  resize: vertical;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 14px;
  padding: 0.7rem 0.85rem;
  font: 500 0.95rem/1.35 var(--font);
}
.compose-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.file-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1;
}
.file-chip {
  font-size: 0.72rem;
  font-family: var(--mono);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--mute);
}
.attach-btn {
  position: relative;
  overflow: hidden;
}
.attach-btn input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.unread-badge {
  display: inline-flex;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: #0a0a0a;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  margin-left: 0.25rem;
}

.empty-chat {
  margin: auto;
  text-align: center;
  color: var(--mute);
  padding: 2rem;
}
