:root {
  --bg: #050505;
  --bg-soft: #0c0c0c;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.03);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-soft: rgba(255, 255, 255, 0.06);
  --text: #f5f0e8;
  --muted: rgba(245, 240, 232, 0.56);
  --accent: #00ff88;
  --accent-2: #00e67a;
  --gold: #c8a84b;
  --danger: #ff697d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 14px;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -10%, rgba(0, 255, 136, 0.1), transparent 32%),
    radial-gradient(circle at 85% 0%, rgba(200, 168, 75, 0.08), transparent 28%),
    var(--bg);
  display: flex;
  flex-direction: column;
}

.landing-body {
  background:
    radial-gradient(circle at 82% -30%, rgba(0, 255, 136, 0.09), transparent 34%),
    radial-gradient(circle at -8% 20%, rgba(200, 168, 75, 0.08), transparent 38%),
    var(--bg);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 18px 56px;
}

.container-fluid {
  max-width: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.container {
  flex: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--stroke-soft);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(12px);
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(0, 255, 136, 0.45);
}

.brand-text {
  font-family: "Syne", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a,
.link-btn {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 8px 10px;
  font-family: "Syne", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  background: transparent;
  cursor: pointer;
  transition: 0.18s ease;
}

.site-nav a:hover,
.link-btn:hover {
  color: var(--text);
  border-color: var(--stroke);
  background: var(--bg-soft);
}

.pill,
.cta,
.ghost {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-family: "Syne", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.pill {
  color: #050505;
  border: 1px solid var(--accent);
  background: var(--accent);
}

.pill:hover {
  background: var(--text);
  border-color: var(--text);
  color: #050505;
}

.cta {
  color: #050505;
  border: 1px solid var(--accent);
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

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

.cta.small {
  width: 100%;
  margin-top: auto;
}

.ghost {
  color: var(--text);
  border: 1px solid var(--stroke);
  background: transparent;
}

.ghost:hover {
  border-color: rgba(0, 255, 136, 0.35);
  transform: translateY(-1px);
}

.site-footer {
  margin-top: 28px;
  border-top: 1px solid var(--stroke-soft);
  background: rgba(8, 11, 18, 0.92);
  backdrop-filter: blur(10px);
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer-brand {
  font-weight: 700;
  color: var(--text);
}

.site-footer-signature {
  font-style: italic;
  color: var(--gold);
}

.device-steps {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.token-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.token-row input {
  width: 100%;
}

.token-row button {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 8px 12px;
  background: var(--panel-2);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.token-row button:hover {
  border-color: #3d4a62;
}

.token-hint {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.status-box {
  margin-top: 16px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px;
  background: rgba(17, 23, 34, 0.92);
}

.status-box h3 {
  margin: 0 0 10px;
}

.status-box pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  color: var(--accent-2);
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(30, 40, 57, 0.56), rgba(20, 27, 39, 0.72)),
    var(--panel);
  overflow: hidden;
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: -44% auto auto 70%;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(211, 225, 255, 0.2), transparent 62%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.landing-chip {
  margin: 0;
  width: fit-content;
  border: 1px solid #465370;
  border-radius: 999px;
  padding: 5px 11px;
  color: #bcc9df;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.hero-copy h1 {
  margin: 14px 0 11px;
  max-width: 720px;
  font-size: clamp(31px, 4.1vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.034em;
  font-weight: 800;
}

.landing-subtitle {
  margin: 0;
  max-width: 610px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.landing-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 2;
  border: 1px solid #32405a;
  border-radius: 18px;
  padding: 14px;
  background: rgba(15, 20, 31, 0.88);
}

.stats-head {
  display: grid;
  gap: 3px;
  margin-bottom: 10px;
}

.stats-head span {
  font-size: 11px;
  color: #b9c5d9;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.stats-head strong {
  font-size: 16px;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mini-stat {
  border: 1px solid #2e3b54;
  border-radius: 12px;
  background: rgba(26, 34, 49, 0.72);
  padding: 10px;
  display: grid;
  gap: 4px;
}

.mini-stat span {
  font-size: 11px;
  color: #aab8cf;
}

.mini-stat strong {
  font-size: 13px;
  font-weight: 700;
}

.trust-strip {
  margin-top: 12px;
  border: 1px solid var(--stroke-soft);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(16, 22, 33, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-strip > span {
  font-size: 12px;
  color: var(--muted);
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.trust-logos span {
  border: 1px solid #2d384b;
  border-radius: 999px;
  background: rgba(19, 24, 35, 0.86);
  color: #d0dbef;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
}

.feature-grid {
  margin-top: 14px;
  border: 1px solid var(--stroke-soft);
  border-radius: 16px;
  background: rgba(18, 24, 35, 0.78);
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.feature-card {
  border: 1px solid #2b3649;
  border-radius: 12px;
  background: rgba(24, 31, 44, 0.66);
  padding: 12px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.feature-line {
  grid-column: 1 / -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3a4862 14%, #3a4862 86%, transparent);
  opacity: 0.62;
}

.pricing-head {
  margin-top: 24px;
  text-align: center;
}

.pricing-head h2 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 34px);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.pricing-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.pricing {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 10px;
}

.card,
.panel {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: var(--panel);
}

.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 298px;
  padding: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.offer-card:hover {
  transform: translateY(-2px);
  border-color: #425273;
}

.offer-card-highlight {
  border-color: #4b5c7c;
  background:
    linear-gradient(180deg, rgba(38, 49, 69, 0.82), rgba(24, 31, 44, 0.92)),
    var(--panel-2);
}

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

.offer-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.offer-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.badge {
  border-radius: 999px;
  border: 1px solid #cfdaf0;
  background: #e7eefc;
  color: #0f1a2e;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  white-space: nowrap;
}

.price-wrap {
  margin-top: 11px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price {
  font-size: clamp(27px, 3.2vw, 34px);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.billing {
  color: var(--muted);
  font-size: 12px;
}

.offer-meta {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.offer-meta li {
  position: relative;
  padding-left: 12px;
}

.offer-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #d4ddf0;
}

.contact-surface {
  margin-top: 14px;
  border: 1px solid #364663;
  border-radius: 18px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(36, 47, 67, 0.66), rgba(22, 29, 41, 0.86)),
    var(--panel-2);
}

.contact-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.contact-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.contact-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.contact-card {
  text-decoration: none;
  border: 1px solid #354765;
  border-radius: 13px;
  background: rgba(18, 24, 36, 0.9);
  padding: 11px;
  display: grid;
  gap: 4px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.contact-card:hover {
  transform: translateY(-1px);
  border-color: #4b6187;
}

.contact-card span {
  color: #c4d0e4;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.contact-card strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.contact-card small {
  color: var(--muted);
  font-size: 11px;
}

.panel {
  margin-top: 14px;
  padding: 16px;
}

.panel h1,
.panel h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

input,
select {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 10px;
  font: inherit;
  background: #111722;
  color: var(--text);
  min-height: 44px;
}

button {
  border: 1px solid #dbe5fb;
  border-radius: 10px;
  padding: 10px 13px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #121b2b;
  font-weight: 700;
  cursor: pointer;
}

.auth-btn {
  border-color: #16803f;
  background: linear-gradient(180deg, #34d57a, #1ea951);
  color: #04150a;
}

.auth-btn:hover {
  filter: brightness(1.02);
}

button.secondary {
  border-color: var(--stroke);
  background: var(--panel);
  color: var(--text);
}

.inline-form {
  display: inline;
}

.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.error {
  color: var(--danger);
  font-weight: 700;
}

.success {
  color: #5ef0a0;
  font-weight: 700;
}

.form-help {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.recovery-box {
  margin: 10px 0 12px;
  border: 1px solid #2f7f53;
  border-radius: 10px;
  padding: 10px;
  background: rgba(14, 48, 31, 0.35);
  display: grid;
  gap: 8px;
}

.recovery-box p {
  margin: 0;
  color: #ccefdc;
  font-size: 12px;
}

.auth-switch {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.auth-switch a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--stroke);
}

.auth-switch a:hover {
  border-bottom-color: #6f85ad;
}

code {
  display: inline-block;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 2px 6px;
  background: #0f151f;
}

.manual-instructions,
.api-box {
  margin-top: 12px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px;
  background: #101722;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--stroke);
  padding: 8px 6px;
  font-size: 12px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  gap: 14px;
}

.dashboard-main,
.dashboard-side {
  margin-top: 0;
}

.dashboard-hero,
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
}

.dashboard-subtitle,
.section-head p,
.muted-line {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.summary-grid,
.receipt-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.summary-card {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(17, 23, 34, 0.9);
  padding: 12px;
  display: grid;
  gap: 5px;
}

.summary-card span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.summary-card strong {
  font-size: 16px;
  font-weight: 800;
}

.summary-card small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.plan-chip {
  border: 1px solid #43516a;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(22, 29, 42, 0.75);
  font-size: 12px;
  font-weight: 800;
}

.plan-chip-free {
  color: #dbe6ff;
}

.plan-chip-starter3000,
.plan-chip-basic {
  color: #8cffc5;
  border-color: #2e7751;
}

.plan-chip-vscode7500,
.plan-chip-plus {
  color: #a6d7ff;
  border-color: #365b89;
}

.plan-chip-premium10000,
.plan-chip-pro {
  color: #ffe59f;
  border-color: #8c7341;
}

.quick-links {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.compact-list {
  margin-top: 10px;
}

.table-link {
  width: auto;
  margin: 0;
  padding: 6px 10px;
}

.touchpay-summary {
  margin-top: 14px;
  margin-bottom: 12px;
}

.receipt-card h1 {
  margin: 0;
}

.fade-up {
  animation: fadeUp 0.48s ease both;
}

.feature-grid .feature-card:nth-child(1) {
  animation-delay: 0.03s;
}

.feature-grid .feature-card:nth-child(2) {
  animation-delay: 0.07s;
}

.feature-grid .feature-card:nth-child(3) {
  animation-delay: 0.11s;
}

.feature-grid .feature-card:nth-child(4) {
  animation-delay: 0.15s;
}

.feature-grid .feature-card:nth-child(5) {
  animation-delay: 0.19s;
}

.pricing .offer-card:nth-child(1) {
  animation-delay: 0.04s;
}

.pricing .offer-card:nth-child(2) {
  animation-delay: 0.1s;
}

.pricing .offer-card:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  .hero-copy h1 {
    font-size: clamp(30px, 7vw, 42px);
  }

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

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .container {
    padding: 20px 14px 42px;
  }

  .hero-shell {
    border-radius: 18px;
    padding: 17px;
  }

  .hero-stats {
    padding: 12px;
  }

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

  .pricing-head h2 {
    font-size: 27px;
  }

}

/* Father Paul portal design system */
.portal-page {
  padding-top: 42px;
  padding-bottom: 72px;
}

.fp-page-intro {
  padding: 14px 0 28px;
}

.fp-page-intro-subscriptions {
  padding-top: 8px;
}

.fp-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(0, 255, 136, 0.22);
  border-radius: 999px;
  background: rgba(0, 255, 136, 0.05);
  color: var(--gold);
  font-family: "Syne", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fp-title {
  margin: 18px 0 10px;
  font-family: "Syne", sans-serif;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.fp-title .italic {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.fp-subtitle {
  max-width: 720px;
  margin: 0;
  color: rgba(245, 240, 232, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.fp-section {
  padding-top: 24px;
}

.fp-section-tight {
  padding-top: 18px;
}

.fp-section-headline {
  margin-bottom: 14px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.fp-card {
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(13, 18, 28, 0.94), rgba(10, 14, 22, 0.9));
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.fp-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.fp-card-current-plan {
  background:
    linear-gradient(180deg, rgba(8, 19, 42, 0.96), rgba(5, 11, 22, 0.94)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.fp-subscription-card {
  background:
    linear-gradient(180deg, rgba(10, 16, 30, 0.94), rgba(7, 10, 18, 0.92)),
    rgba(255, 255, 255, 0.03);
}

.fp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.fp-card-title {
  font-family: "Syne", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fp-card-copy {
  margin: 0 0 18px;
  color: rgba(245, 240, 232, 0.6);
  font-size: 13px;
  line-height: 1.6;
}

.fp-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: "Syne", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.fp-badge-active {
  color: var(--accent);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.18);
}

.fp-badge-expired {
  color: var(--danger);
  background: rgba(255, 105, 125, 0.08);
  border: 1px solid rgba(255, 105, 125, 0.18);
}

.fp-badge-pending {
  color: var(--gold);
  background: rgba(200, 168, 75, 0.09);
  border: 1px solid rgba(200, 168, 75, 0.16);
}

.fp-badge-current {
  color: var(--accent);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.16);
  margin-bottom: 12px;
}

.fp-info-grid,
.fp-detail-grid,
.fp-plan-grid,
.fp-actions-grid,
.fp-receipts-grid {
  display: grid;
  gap: 14px;
}

.fp-info-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 18px;
}

.fp-info-grid-dev {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.fp-info-span-2 {
  grid-column: span 2;
}

.fp-info-block,
.fp-detail-item {
  padding: 18px;
  border: 1px solid var(--stroke-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.fp-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  background: var(--stroke);
}

.fp-summary-item {
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.fp-summary-label {
  margin-bottom: 8px;
  font-family: "Syne", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.35);
}

.fp-summary-value {
  font-family: "Syne", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.fp-summary-value.neon,
.fp-neon {
  color: var(--accent);
}

.fp-summary-value.gold {
  color: var(--gold);
}

.fp-detail-value {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.fp-api-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fp-api-key {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--stroke-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  word-break: break-all;
}

.fp-muted-block {
  color: rgba(245, 240, 232, 0.56);
  font-size: 14px;
}

.fp-details {
  margin-top: 10px;
}

.fp-details summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}

.fp-details code {
  display: block;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke-soft);
  color: var(--accent);
  word-break: break-all;
}

.fp-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.fp-actions-center {
  justify-content: center;
}

.fp-btn-primary,
.fp-btn-secondary,
.fp-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-family: "Syne", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.fp-btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}

.fp-btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-1px);
}

.fp-btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--stroke);
}

.fp-btn-secondary:hover {
  border-color: rgba(0, 255, 136, 0.3);
  transform: translateY(-1px);
}

.fp-btn-gold {
  background: rgba(200, 168, 75, 0.08);
  color: var(--gold);
  border: 1px solid rgba(200, 168, 75, 0.18);
}

.fp-btn-gold:hover {
  border-color: rgba(200, 168, 75, 0.3);
  transform: translateY(-1px);
}

.fp-btn-static {
  pointer-events: none;
}

.fp-plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.fp-plan {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.fp-plan.featured {
  border-color: rgba(0, 255, 136, 0.24);
  background: rgba(0, 255, 136, 0.05);
}

.fp-plan-name {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}

.fp-plan-price {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 16px;
}

.fp-plan-price span {
  color: rgba(245, 240, 232, 0.48);
  font-size: 12px;
  font-weight: 500;
}

.fp-feature-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
  color: rgba(245, 240, 232, 0.65);
  font-size: 14px;
}

.fp-feature-list li::before {
  content: "✦";
  margin-right: 8px;
  color: var(--accent);
}

.fp-section .fp-plan .fp-btn-secondary,
.fp-section .fp-plan .fp-btn-gold {
  margin-top: auto;
}

.fp-filter-row,
.fp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fp-chip-row-tight {
  margin-top: 12px;
}

.fp-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: transparent;
  color: rgba(245, 240, 232, 0.6);
  text-decoration: none;
  font-family: "Syne", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fp-filter.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.fp-stack-list {
  display: grid;
  gap: 14px;
}

.fp-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.fp-list-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fp-list-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.fp-list-price {
  font-family: "Syne", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.fp-mini-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke-soft);
  color: rgba(245, 240, 232, 0.68);
  font-size: 12px;
}

.fp-empty-state {
  text-align: center;
  padding: 48px 28px;
}

.fp-empty-title {
  margin-bottom: 10px;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
}

.fp-empty-state p {
  margin: 0 0 18px;
  color: rgba(245, 240, 232, 0.58);
}

.fp-receipts-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: start;
}

.fp-card-clickable {
  position: relative;
}

.fp-card-selected {
  border-color: rgba(0, 255, 136, 0.28);
}

.fp-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.fp-card-clickable .fp-list-head,
.fp-card-clickable .fp-detail-grid,
.fp-card-clickable .fp-actions-row {
  position: relative;
  z-index: 2;
}

.fp-receipt-preview-wrap {
  position: sticky;
  top: 96px;
}

.fp-receipt-detail-grid {
  align-items: start;
}

.fp-receipt {
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: rgba(245, 240, 232, 0.03);
  padding: 28px;
}

.fp-receipt-brand {
  text-align: center;
  margin-bottom: 28px;
}

.fp-receipt-brand-top {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.fp-receipt-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.fp-receipt-title {
  margin-top: 6px;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 24px;
  color: var(--gold);
}

.fp-receipt-block {
  margin-bottom: 18px;
}

.fp-receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fp-receipt-label {
  color: rgba(245, 240, 232, 0.5);
}

.fp-receipt-value {
  color: var(--text);
  text-align: right;
  font-weight: 600;
}

.fp-receipt-sheet {
  background: linear-gradient(180deg, rgba(245, 240, 232, 0.08), rgba(245, 240, 232, 0.03));
}

.fp-actions-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.fp-action-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: var(--text);
}

.fp-action-card:hover {
  border-color: rgba(0, 255, 136, 0.24);
}

.fp-action-icon {
  font-size: 18px;
}

.fp-action-label {
  font-family: "Syne", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .fp-receipts-grid {
    grid-template-columns: 1fr;
  }

  .fp-receipt-preview-wrap {
    position: static;
  }

  .fp-info-span-2 {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .portal-page {
    padding-top: 28px;
  }

  .fp-title {
    font-size: clamp(30px, 11vw, 44px);
  }

  .fp-subtitle {
    font-size: 14px;
  }

  .fp-card,
  .fp-receipt {
    padding: 20px;
    border-radius: 18px;
  }

  .fp-plan {
    min-height: auto;
  }

  .fp-actions-row,
  .fp-filter-row,
  .fp-chip-row {
    gap: 8px;
  }

  .fp-btn-primary,
  .fp-btn-secondary,
  .fp-btn-gold {
    width: 100%;
  }
}

@media print {
  body {
    background: #fff !important;
    color: #111 !important;
  }

  .site-header,
  .topbar,
  .site-footer,
  .fp-print-hidden {
    display: none !important;
  }

  .portal-page,
  .container {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .fp-section,
  .fp-card,
  .fp-receipt {
    border: 1px solid #ddd !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .fp-receipts-grid,
  .fp-receipt-detail-grid {
    display: block !important;
  }

  .fp-receipt-preview-wrap {
    position: static !important;
    margin-top: 16px;
  }

  .fp-receipt-title,
  .fp-title,
  .fp-card-title,
  .fp-receipt-brand-top,
  .fp-receipt-value,
  .fp-summary-value,
  .fp-info-block strong {
    color: #111 !important;
  }

  .fp-card-copy,
  .fp-subtitle,
  .fp-summary-label,
  .fp-receipt-label,
  .fp-info-block small {
    color: #555 !important;
  }
}

.fp-checkout-hero {
  align-items: center;
}

.fp-checkout-heading {
  max-width: 760px;
}

.fp-checkout-chip-row {
  margin-top: 18px;
}

.fp-actions-end {
  justify-content: flex-end;
}

.fp-checkout-grid,
.fp-checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.fp-checkout-shell-main {
  display: grid;
  gap: 18px;
}

.fp-checkout-heading {
  display: grid;
  gap: 8px;
}

.fp-payment-brand {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
}

.fp-payment-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.fp-payment-brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), rgba(0, 255, 136, 0.55));
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.28);
}

.fp-payment-brand-name {
  font-family: "Syne", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.fp-checkout-main,
.fp-checkout-side {
  gap: 24px;
}

.fp-checkout-panel,
.fp-checkout-secondary,
.fp-checkout-summary-card {
  gap: 20px;
}

.fp-alert {
  padding: 20px 22px;
}

.fp-alert-title {
  margin-bottom: 8px;
  font-family: "Syne", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.fp-alert p {
  margin: 0;
  color: rgba(245, 240, 232, 0.76);
}

.fp-alert-success {
  border-color: rgba(0, 255, 136, 0.18);
  background: rgba(0, 255, 136, 0.06);
}

.fp-alert-error {
  border-color: rgba(255, 111, 97, 0.2);
  background: rgba(255, 111, 97, 0.06);
}

.fp-checkout-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fp-payment-intro {
  display: grid;
  gap: 18px;
}

.fp-checkout-secondary {
  background: rgba(255, 255, 255, 0.02);
}

.fp-checkout-point {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
}

.fp-checkout-point strong {
  font-family: "Syne", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.fp-checkout-point span {
  color: rgba(245, 240, 232, 0.76);
  font-size: 14px;
  line-height: 1.55;
}

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

.fp-operator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fp-operator-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.fp-operator-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 255, 136, 0.24);
}

.fp-operator-card.selected {
  border-color: rgba(0, 255, 136, 0.3);
  background: rgba(0, 255, 136, 0.06);
}

.fp-operator-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.fp-operator-logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-family: "Syne", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.fp-operator-mtn {
  background: linear-gradient(135deg, #f7c600, #ffdb4d);
  color: #111;
}

.fp-operator-orange {
  background: linear-gradient(135deg, #ff7b00, #ff9c2b);
  color: #111;
}

.fp-operator-copy {
  display: grid;
  gap: 4px;
}

.fp-operator-copy strong {
  font-family: "Syne", sans-serif;
  font-size: 16px;
}

.fp-operator-copy small {
  color: rgba(245, 240, 232, 0.58);
}

.fp-checkout-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 18px;
}

.fp-field {
  display: grid;
  gap: 10px;
}

.fp-field-label {
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.82);
}

.fp-input,
.fp-select {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(9, 17, 33, 0.86);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fp-select,
.fp-textarea {
  width: 100%;
}

.fp-input-lg {
  min-height: 62px;
  font-size: 18px;
  font-weight: 700;
}

.fp-input:focus,
.fp-select:focus {
  border-color: rgba(0, 255, 136, 0.26);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.08);
}

.fp-field-help {
  color: rgba(245, 240, 232, 0.48);
  font-size: 12px;
}

.fp-textarea {
  min-height: 110px;
  padding: 14px 18px;
  resize: vertical;
}

.fp-input-sm {
  min-height: 44px;
  min-width: 120px;
}

.fp-btn-wide {
  min-width: 280px;
}

.fp-refresh-form {
  margin-top: 14px;
}

.fp-summary-item-full {
  grid-column: 1 / -1;
}

.fp-break {
  word-break: break-word;
}

.fp-checkout-summary-box {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.fp-checkout-summary-card .fp-summary-grid {
  gap: 10px;
}

.fp-checkout-summary-card .fp-summary-item {
  min-height: 98px;
}

.fp-security-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(0, 255, 136, 0.14);
  background: linear-gradient(180deg, rgba(0, 255, 136, 0.08), rgba(255, 255, 255, 0.02));
}

.fp-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-family: "Syne", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.fp-security-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 16px;
}

.fp-security-copy {
  margin: 0;
  color: rgba(245, 240, 232, 0.66);
  line-height: 1.7;
}

.fp-admin-login-shell {
  max-width: 720px;
  margin-inline: auto;
}

.fp-admin-login-card {
  padding: 28px;
}

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

.fp-admin-list {
  display: grid;
  gap: 12px;
}

.fp-admin-item {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--stroke-soft);
  background: rgba(255, 255, 255, 0.03);
}

.fp-admin-item-meta {
  display: grid;
  gap: 4px;
}

.fp-admin-item-title {
  font-family: "Syne", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.fp-admin-item-subtitle {
  color: rgba(245, 240, 232, 0.62);
  font-size: 14px;
}

.fp-admin-item-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: rgba(245, 240, 232, 0.68);
  font-size: 13px;
}

.fp-admin-actions {
  margin-top: 0;
}

.fp-inline-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

@media (max-width: 980px) {
  .fp-checkout-grid,
  .fp-checkout-shell {
    grid-template-columns: 1fr;
  }

  .fp-admin-grid,
  .fp-checkout-points,
  .fp-checkout-form-grid,
  .fp-operator-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 16px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 6px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .inline-form,
  .site-nav .link-btn {
    width: 100%;
  }

  .site-nav a,
  .site-nav .link-btn {
    min-height: 42px;
    justify-content: flex-start;
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--stroke-soft);
  }

  .site-nav .pill {
    justify-content: center;
  }

  .fp-inline-stack {
    flex-direction: column;
    align-items: stretch;
  }
}
