
:root {
  --brand: #24A33A;
  --brand-dark: #168056;
  --brand-soft: #EDF9EF;
  --brand-soft-2: #DFF5E5;
  --text: #070A12;
  --muted: #667085;
  --line: #E6E8EF;
  --surface: #FFFFFF;
  --surface-soft: #F8FAFC;
  --soft: var(--surface-soft);
  --dark: #000000;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 24px 70px rgba(15, 23, 42, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: #fff; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.page-wrap { position: relative; min-height: 100vh; }
.bg-blur { position: absolute; z-index: -1; border-radius: 999px; filter: blur(60px); opacity: .9; }
.bg-blur-1 { width: 320px; height: 320px; background: #f1f5f9; left: -100px; top: -50px; }
.bg-blur-2 { width: 400px; height: 400px; background: #f8fafc; right: -80px; top: 40px; }
.bg-blur-3 { width: 300px; height: 300px; background: #f8fafc; left: 50%; transform: translateX(-50%); top: 80px; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(226,232,240,0.8); transition: transform .28s ease, box-shadow .28s ease; will-change: transform; }
.site-header.header-hidden { transform: translateY(-110%); box-shadow: none; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; border-radius: 14px; }
.brand:hover .brand-title { color: #000; }
.brand-mark { width: 44px; height: 44px; border-radius: 16px; background: #0f172a; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); }
.brand-title { margin: 0; font-size: 16px; font-weight: 700; }
.brand-sub { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.nav-links { display: flex; gap: 28px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.nav-links a:hover, .footer-links a:hover { color: var(--text); }
.mobile-pages-menu { display: none; width: 100%; }
.mobile-pages-menu details { position: relative; width: 100%; }
.mobile-pages-menu summary { list-style: none; width: 100%; }
.mobile-pages-menu summary::-webkit-details-marker { display: none; }
.mobile-pages-menu-list {
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: grid;
  gap: 4px;
}
.mobile-pages-menu-list a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.mobile-pages-menu-list a:hover {
  background: var(--soft);
}

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 24px; border-radius: 18px; font-size: 14px; font-weight: 700; transition: .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-small { padding: 12px 20px; }
.button-dark { background: #0f172a; color: #fff; box-shadow: var(--shadow); border: 0; }
.button-light { background: #fff; color: var(--text); border: 1px solid #cbd5e1; }
.button-full { width: 100%; }

.hero { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 64px; padding: 80px 0 96px; align-items: center; }
.eyebrow, .section-kicker { display: inline-flex; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.eyebrow { border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; box-shadow: var(--shadow); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; }
.hero h1, .page-hero h1 { margin: 24px 0 0; font-size: clamp(44px, 6vw, 66px); line-height: 1.05; letter-spacing: -0.04em; }
.lead, .section-head p, .text-col p, .cta-box p, .page-hero p { margin: 16px 0 0; font-size: 18px; line-height: 1.8; color: var(--muted); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-secondary-link { align-self: center; font-weight: 700; color: #334155; padding: 16px 0; }
.hero-secondary-link:hover { color: #0f172a; text-decoration: underline; }
.page-hero { padding: 88px 0 48px; max-width: 860px; }

.about-hero {
  display: block;
  max-width: 860px;
  padding-top: 64px;
}

.about-values {
  margin-top: 24px;
}

.about-values .value-card h3 {
  margin-top: 0;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-principles .card {
  padding: 24px;
}

.about-principles h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.about-principles p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: #020617; color: #fff; }
.section-dark .section-head p, .section-dark .dark, .section-dark .service-card p { color: rgba(255,255,255,0.72); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2, .text-col h2, .cta-box h2 { margin: 14px 0 0; font-size: clamp(34px, 4vw, 46px); line-height: 1.14; letter-spacing: -0.03em; }
.center { display: block; text-align: center; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.stat-card { padding: 20px; }
.stat-value { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.stat-label { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.hero-visual { position: relative; }
.floating-card { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(15,23,42,0.12); padding: 14px 16px; max-width: 260px; }
.floating-left { left: -12px; top: 36px; }
.floating-right { right: -12px; bottom: 54px; }
.bottom-note { left: 24px; bottom: -20px; }
.top-right-note { right: 20px; top: 20px; }
.floating-label { margin: 0; color: #94a3b8; text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 700; }
.floating-text { margin: 6px 0 0; font-size: 14px; font-weight: 700; line-height: 1.5; }

.hero-shell { border: 1px solid var(--line); border-radius: 32px; background: #fff; padding: 16px; box-shadow: var(--shadow-strong); }
.hero-shell-grid { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 16px; }
.pass-panel { border-radius: 28px; background: #020617; color: #fff; padding: 20px; }
.pass-mini { margin: 0; font-size: 11px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: .26em; }
.pass-panel h3 { margin: 14px 0 0; font-size: 30px; }
.pass-sub { margin: 6px 0 0; color: rgba(255,255,255,0.72); font-size: 14px; }
.glass-box { margin-top: 28px; background: rgba(255,255,255,0.1); border-radius: 18px; padding: 16px; }
.glass-label { margin: 0; color: rgba(255,255,255,0.65); font-size: 14px; }
.glass-row { margin-top: 8px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.glass-big { margin: 0; font-size: 38px; font-weight: 700; }
.glass-side { margin: 0; font-size: 14px; color: rgba(255,255,255,0.72); }
.scan-box { margin-top: 18px; background: #fff; color: var(--text); border-radius: 18px; padding: 16px; }
.scan-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.scan-row p { margin: 0; }
.scan-dot { width: 10px; height: 10px; border-radius: 999px; background: #22c55e; }
.barcode { margin-top: 14px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.barcode span { display: block; height: 18px; border-radius: 4px; background: #cbd5e1; }
.barcode .dark { background: #0f172a; }

.side-panel { background: var(--soft); border-radius: 28px; padding: 16px; }
.side-panel img, .image-wrap img { width: 100%; object-fit: cover; border-radius: 22px; display: block; }
.side-panel img { height: 224px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.mini-card { padding: 16px; }
.mini-label { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.mini-strong { margin: 8px 0 0; font-size: 15px; font-weight: 700; }
.mini-muted { margin: 4px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.mini-feature { margin-top: 16px; padding: 16px; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 24px; }
.trust-item { padding: 16px; text-align: center; background: var(--soft); color: var(--muted); font-size: 14px; font-weight: 600; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(15,23,42,0.12); }
.landing-split { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.value-card { padding: 26px; background: linear-gradient(180deg, #fff, #f8fafc); }
.value-card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }
.quote-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.quote-card { padding: 24px; }
.quote-card blockquote { margin: 0; color: #334155; line-height: 1.8; font-size: 15px; }
.quote-meta { margin-top: 16px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }

.ui-icon { width:24px; height:24px; flex:0 0 24px; }
.icon-box { width:48px; height:48px; border-radius:16px; display:grid; place-items:center; background:#f1f5f9; }
.icon-box .ui-icon { width:24px; height:24px; }
.icon-inline { display:inline-flex; align-items:center; gap:10px; }
.outcome-item{ display:flex; align-items:center; gap:12px; }

.feature-card h3, .service-card h3, .step-card h3, .faq-item h3, .price-card h3, .dashboard-card h3 { margin: 18px 0 0; font-size: 22px; }
.feature-card p, .service-card p, .step-card p, .faq-item p, .price-card p, .dashboard-card p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { border-radius: 24px; padding: 26px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); }

.split-section { display: grid; grid-template-columns: 0.98fr 1.02fr; gap: 48px; align-items: center; }
.outcomes-section { grid-template-columns: 1fr 0.95fr; }
.image-wrap { position: relative; }
.image-wrap img { height: 430px; box-shadow: var(--shadow-strong); border-radius: 32px; }
.photo-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #334155;
}
.story-points {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.story-points div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  background: #fff;
}
.story-points strong {
  display: block;
  font-size: 15px;
}
.story-points span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.ministry-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}
.ministry-photo-card {
  overflow: hidden;
}
.ministry-photo-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.ministry-photo-card > div {
  padding: 18px;
}
.ministry-photo-card h3 {
  margin: 8px 0 0;
  font-size: 24px;
}
.ministry-touchpoints {
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: center;
}
.page-media-hero {
  align-items: center;
}
.page-media-hero .image-wrap img {
  height: clamp(280px, 42vw, 460px);
}
.media-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
}
.media-band-image img {
  width: 100%;
  height: 360px;
  border-radius: 28px;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-strong);
}

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { padding: 26px; transition: transform .2s ease; }
.step-card:hover { transform: scale(1.02); }
.step-no { margin: 0; color: #94a3b8; font-size: 13px; font-weight: 700; letter-spacing: .08em; }

.outcomes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.outcome-item { padding: 16px; color: #334155; font-size: 15px; line-height: 1.6; }

.media-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.media-card { overflow: hidden; }
.media-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.media-card .media-copy { padding: 16px; }
.media-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.context-media-list { display: grid; gap: 16px; }
.context-media-item { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 18px; padding: 14px; }
.context-media-item img { width: 100%; height: 140px; border-radius: 14px; object-fit: cover; display: block; }
.context-media-copy h3 { margin: 0; font-size: 18px; }
.context-media-copy p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource-card { padding: 24px; }
.resource-card h3 { margin: 14px 0 0; font-size: 22px; }
.resource-card p { margin: 10px 0 0; color: var(--muted); line-height: 1.7; }
.resource-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.resource-links a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; color: #0f172a; background: #fff; }
.resource-links a:hover { background: #f8fafc; }

.faq-list { display: grid; gap: 14px; margin-top: 30px; }
.faq-item { padding: 24px; background: var(--soft); }

.cta-box { position: relative; overflow: hidden; border-radius: 32px; background: #020617; color: #fff; padding: 48px; box-shadow: 0 30px 70px rgba(15,23,42,0.2); }
.cta-box::before, .cta-box::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 999px; background: rgba(255,255,255,0.05); filter: blur(40px); }
.cta-box::before { right: -40px; top: 0; }
.cta-box::after { left: -40px; bottom: 0; }
.cta-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 36px; align-items: center; }
.cta-box .dark, .cta-box p { color: rgba(255,255,255,0.72); }

.cta-form, .login-card { padding: 24px; color: var(--text); }
.cta-form .button-full { margin-top: 20px; }
.form-grid { display: grid; gap: 14px; }
.form-grid label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  font-size: 14px;
  background: #fff;
  font-family: inherit;
}
.form-grid textarea { resize: vertical; min-height: 120px; }
.helper-text { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.form-group input, .form-group select { width: 100%; padding: 14px 16px; border: 1px solid #cbd5e1; border-radius: 16px; font-size: 14px; background: #fff; }
.success-message, .error-message, .helper-message { margin: 12px 0 0; display: none; font-size: 14px; }
.success-message.show { display: block; color: #16a34a; }
.error-message.show { display: block; color: #dc2626; }
.helper-message.show { display: block; color: var(--muted); }

.price-grid, .dashboard-grid, .simple-grid { display: grid; gap: 20px; }
.price-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.price-card, .dashboard-card { padding: 26px; }
.price-price { font-size: 40px; font-weight: 700; margin: 8px 0 0; }
.price-list { margin: 18px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; color: #0f172a; background: #e2e8f0; padding: 8px 10px; border-radius: 999px; }

.dashboard-grid { grid-template-columns: repeat(4, 1fr); }
.metric { font-size: 34px; font-weight: 700; margin: 6px 0 0; }
.metric-label { font-size: 14px; color: var(--muted); }
.table-wrap { margin-top: 24px; overflow: auto; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
th { color: var(--muted); font-weight: 700; background: var(--soft); }
.pill { display: inline-block; padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill-green { background: #dcfce7; color: #166534; }
.pill-blue { background: #dbeafe; color: #1d4ed8; }
.pill-amber { background: #fef3c7; color: #92400e; }
.pill-red { background: #fee2e2; color: #b91c1c; }

.notice { border: 1px solid #cbd5e1; background: #f8fafc; border-radius: 20px; padding: 18px 20px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp .7s ease forwards; }
.delay-1 { animation-delay: .1s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Entitlements experience */
.entitlements-shell {
  max-width: 900px;
  padding: 64px 0;
}
.entitlements-header,
.entitlement-viewer {
  padding: 28px;
}
.entitlements-header h1 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 40px);
}
.entitlements-order {
  margin: 8px 0 0;
  color: var(--muted);
}
.entitlement-viewer {
  margin-top: 16px;
}
.entitlement-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.entitlement-counter {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.entitlement-viewer h2 {
  margin: 14px 0 0;
  font-size: 32px;
  letter-spacing: -0.02em;
}
.entitlement-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 18px;
}
.entitlement-details p {
  margin: 0 0 10px;
  color: #334155;
  line-height: 1.7;
}
.entitlement-code {
  padding: 16px;
}
.entitlement-barcode {
  margin-top: 12px;
  grid-template-columns: repeat(12, 1fr);
}
.entitlement-token {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
}
.entitlement-package {
  margin-top: 16px;
  padding: 16px;
}
.entitlement-package ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #334155;
}
.entitlement-controls {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 1100px) {
  .hero, .split-section, .outcomes-section, .cta-grid, .hero-shell-grid, .price-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .about-principles { grid-template-columns: 1fr; }
  .ministry-grid, .media-band { grid-template-columns: 1fr; }
  .feature-grid, .landing-split, .quote-grid, .media-mosaic, .resource-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .floating-left, .floating-right, .bottom-note, .top-right-note { position: static; margin-bottom: 16px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, 1200px); }
  .nav { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; background: #fff; color: #334155; }
  .nav:has(.mobile-pages-menu) .nav-links { display: none; }
  .mobile-pages-menu { display: block; }
  .site-header .nav-cta { display: none; }
  .section, .page-hero { padding: 64px 0; }
  .stats-grid, .feature-grid, .services-grid, .steps-grid, .trust-grid, .outcomes-grid, .mini-grid, .price-grid, .dashboard-grid, .landing-split, .quote-grid, .media-mosaic, .resource-grid { grid-template-columns: 1fr; }
  .context-media-item { grid-template-columns: 1fr; }
  .context-media-item img { height: 190px; }
  .image-wrap img, .ministry-photo-card img, .media-band-image img { height: 260px; border-radius: 20px; }
  .photo-caption { position: static; margin-top: 10px; }
  .ministry-touchpoints { grid-template-columns: 1fr; }
  .site-header .button-small { width: 100%; justify-content: space-between; }
  .hero { padding: 56px 0 72px; }
  .hero h1, .page-hero h1 { font-size: 40px; }
  .lead, .section-head p, .text-col p, .cta-box p, .page-hero p { font-size: 17px; }
  .cta-box { padding: 28px; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .entitlement-grid { grid-template-columns: 1fr; }
}

/* Elite dashboard */
.dashboard-shell {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(241,245,249,0.9), transparent 30%),
    radial-gradient(circle at bottom right, rgba(248,250,252,0.9), transparent 30%),
    #ffffff;
}
.sidebar {
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  padding: 28px 22px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.sidebar-nav {
  display: grid;
  gap: 8px;
}
.sidebar-nav-label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #94a3b8;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--muted);
  font-weight: 600;
  background: transparent;
  border: 1px solid #e2e8f0;
  transition: .2s ease;
}
.sidebar-link .nav-glyph {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  text-align: center;
  line-height: 20px;
  font-size: 9px;
  letter-spacing: .03em;
  font-weight: 700;
}
.sidebar-link:hover,
.sidebar-link.active {
  background: #0f172a;
  color: white;
  border-color: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}
.sidebar-link:hover .nav-glyph,
.sidebar-link.active .nav-glyph {
  background: rgba(255,255,255,0.2);
  color: #e2e8f0;
}
.sidebar-panel {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: var(--shadow);
}
.sidebar-panel-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #94a3b8;
}
.sidebar-panel h3 {
  margin: 10px 0 0;
  font-size: 18px;
}
.sidebar-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.dashboard-main {
  padding: 30px clamp(20px, 3vw, 40px) 34px;
  max-width: 1460px;
  width: 100%;
}
.dashboard-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.dashboard-title {
  margin: 12px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.dashboard-subtitle {
  max-width: 800px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.dashboard-top-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.notification-btn {
  position: relative;
  padding-right: 40px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ui-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  flex: 0 0 auto;
}
.notification-btn .ui-icon {
  width: 18px;
  height: 18px;
}
.notification-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #dc2626;
  color: white;
  font-size: 12px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
}
.notification-badge.show {
  display: inline-flex;
}
.notifications-panel {
  margin-top: 16px;
}
.notifications-list {
  display: grid;
  gap: 12px;
}
.notification-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
  padding: 14px;
}
.notification-item.is-read {
  opacity: 0.72;
}
.notification-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f3efff;
  color: #6d3df2;
  display: grid;
  place-items: center;
}
.notification-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.notification-row strong {
  font-size: 15px;
}
.notification-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.notification-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #1d4ed8;
}
.notifications-empty {
  margin: 0;
  color: var(--muted);
}
.hidden {
  display: none !important;
}
.elite-hero-card {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 28px;
  background:
    linear-gradient(135deg, #0f172a 0%, #111827 60%, #1e293b 100%);
  color: white;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
}
.elite-hero-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.elite-hero-card h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.elite-hero-card p {
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  font-size: 16px;
}
.elite-insight-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.elite-insight-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  font-size: 14px;
  font-weight: 600;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}
.dot.green { background: #22c55e; }
.dot.blue { background: #60a5fa; }
.elite-hero-visual {
  position: relative;
  border-radius: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  min-height: 240px;
  overflow: hidden;
}
.elite-mini-chart {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: end;
  height: 160px;
}
.bar {
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(148,163,184,0.45));
}
.bar.h1 { height: 42%; }
.bar.h2 { height: 65%; }
.bar.h3 { height: 54%; }
.bar.h4 { height: 84%; }
.bar.h5 { height: 71%; }
.bar.h6 { height: 92%; }
.elite-floating-stat {
  position: absolute;
  top: 22px;
  right: 22px;
  border-radius: 20px;
  background: white;
  color: var(--text);
  padding: 16px 18px;
  box-shadow: var(--shadow-strong);
  min-width: 140px;
}
.elite-floating-stat p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.elite-floating-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 32px;
  letter-spacing: -0.03em;
}
.elite-metric-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.elite-metric-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 24px;
  box-shadow: var(--shadow);
}
.metric-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #f3efff;
  color: #6d3df2;
}
.metric-icon .ui-icon {
  width: 22px;
  height: 22px;
}
.metric-meta {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.elite-split-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.elite-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  padding: 24px;
  box-shadow: var(--shadow);
}
.full-width {
  margin-top: 24px;
}
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.panel-kicker {
  margin: 0;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.panel-head h3 {
  margin: 10px 0 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.summary-list,
.queue-list {
  display: grid;
  gap: 14px;
}
.summary-item,
.queue-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f8fafc;
}
.summary-item strong,
.queue-item strong {
  display: block;
  margin: 0;
}
.summary-item p,
.queue-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.summary-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f3efff;
  color: #6d3df2;
  font-weight: 700;
}
.summary-icon .ui-icon {
  width: 18px;
  height: 18px;
}
.queue-badge {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 12px;
  font-weight: 700;
}
.queue-badge .ui-icon {
  width: 16px;
  height: 16px;
}
.queue-badge.amber { background: #f59e0b; }
.queue-badge.blue { background: #3b82f6; }
.queue-badge.green { background: #16a34a; }
.elite-table-wrap {
  margin-top: 0;
}
@media (max-width: 980px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 18px;
    gap: 16px;
  }
  .sidebar-brand {
    padding-bottom: 4px;
  }
  .sidebar-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .sidebar-nav-label {
    grid-column: 1 / -1;
  }
  .sidebar-link {
    justify-content: center;
    padding: 11px 10px;
    font-size: 14px;
  }
  .sidebar-link .nav-glyph {
    width: auto;
    min-width: 28px;
    height: 22px;
    line-height: 22px;
  }
  .elite-hero-card,
  .elite-metric-grid,
  .elite-split-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sidebar-panel {
    margin-top: 2px;
  }
}
@media (max-width: 860px) {
  .dashboard-main {
    padding: 22px;
  }
  .sidebar-nav {
    grid-template-columns: 1fr 1fr;
  }
  .elite-hero-card,
  .elite-metric-grid,
  .elite-split-grid {
    grid-template-columns: 1fr;
  }
}
/* JOIN PAGE */

.join-page {
  min-height: 100vh;
  background: #0f172a;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.join-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  width: 100%;
  gap: 40px;
  padding: 40px;
}

.join-left h1 {
  font-size: 42px;
  margin-top: 20px;
}

.join-subtext {
  color: #94a3b8;
  margin-top: 10px;
  line-height: 1.6;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: white;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.join-card {
  background: white;
  color: black;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.join-card input {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
}

.join-status {
  margin-top: 10px;
  font-size: 14px;
}

@media (max-width: 800px) {
  .join-container {
    grid-template-columns: 1fr;
  }
}
/* Premium Join Page */

.join-premium-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, #f1f5f9 0, transparent 26%),
    radial-gradient(circle at 90% 10%, #f8fafc 0, transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.join-premium-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
}

.join-premium-left {
  position: relative;
  padding: 34px 20px 34px 0;
}

.join-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.join-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.join-premium-title {
  margin: 28px 0 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 700px;
}

.join-premium-copy {
  margin: 24px 0 0;
  max-width: 640px;
  font-size: 20px;
  line-height: 1.8;
  color: var(--muted);
}

.join-premium-points {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  max-width: 620px;
}

.join-point-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.join-point-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #0f172a;
  color: white;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  flex: 0 0 auto;
}

.join-point-card strong {
  display: block;
  font-size: 16px;
}

.join-point-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.join-floating-card {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);
  max-width: 240px;
}

.join-floating-top {
  right: 18px;
  top: 120px;
}

.join-floating-bottom {
  right: 0;
  bottom: 30px;
}

.join-premium-right {
  display: flex;
  justify-content: center;
}

.join-form-shell {
  width: 100%;
  max-width: 560px;
  border-radius: 32px;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(15,23,42,0.14);
  padding: 28px;
  backdrop-filter: blur(16px);
}

.join-form-top {
  margin-bottom: 22px;
}

.join-form-kicker {
  margin: 0;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.join-form-top h2 {
  margin: 12px 0 0;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.join-form-top p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.join-premium-form {
  display: grid;
  gap: 14px;
}

.join-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.join-premium-form .form-group {
  margin-bottom: 0;
}

.join-premium-form input {
  background: white;
}

.join-status {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.join-form-footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .join-premium-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 0 50px;
  }

  .join-premium-left {
    padding-right: 0;
  }

  .join-floating-card {
    position: static;
    margin-top: 16px;
  }
}

@media (max-width: 720px) {
  .join-premium-shell {
    width: min(100% - 32px, 1280px);
  }

  .join-premium-title {
    font-size: 40px;
  }

  .join-premium-copy {
    font-size: 17px;
  }

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

  .join-form-shell {
    padding: 22px;
    border-radius: 24px;
  }
}
/* Welcome page */

.welcome-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.welcome-hero {
  padding: 32px;
  border-radius: 32px;
  background: rgba(255,255,255,0.94);
  margin-bottom: 24px;
}

.welcome-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.welcome-copy {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.welcome-copy-small {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.welcome-panel {
  padding: 28px;
}

.welcome-panel h2,
.welcome-actions-panel h2 {
  margin: 10px 0 0;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.welcome-actions-panel {
  margin-top: 24px;
  padding: 28px;
}

@media (max-width: 900px) {
  .welcome-grid {
    grid-template-columns: 1fr;
  }
}
/* ENHANCED DASHBOARD STYLES */

.dot.orange { background: #f59e0b; }

.metric-trend {
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
  margin: 4px 0 0;
}

.search-filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-bar {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 14px;
}

.filter-select {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 14px;
  background: white;
  min-width: 140px;
}

.chart-container {
  position: relative;
  height: 300px;
}

.alert {
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.alert-warning {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
}

.alert-danger {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.alert-info {
  background: #dbeafe;
  border: 1px solid #93c5fd;
  color: #1e40af;
}

.queue-action-btn {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-align: left;
  font-size: 14px;
}

.queue-action-btn:hover {
  background: var(--soft);
  transform: translateX(4px);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.modal-header h3 {
  margin: 0;
  font-size: 20px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--muted);
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 20px;
  border-top: 1px solid var(--line);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

.action-btn {
  padding: 6px 12px;
  background: #0f172a;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.action-btn:hover {
  opacity: 0.8;
}

@media (max-width: 900px) {
  .search-filter-bar {
    flex-direction: column;
  }

  .search-bar,
  .filter-select {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .dashboard-top-actions {
    flex-direction: column;
  }

  .dashboard-top-actions .button {
    width: 100%;
  }

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

  .chart-container {
    height: 200px;
  }

  .modal-content {
    width: 95%;
  }
}

/* Guest portal */
.guest-portal-shell {
  padding-top: 56px;
}

.guest-portal-hero {
  background: linear-gradient(140deg, rgba(15,23,42,0.96), rgba(30,41,59,0.92));
  color: white;
}

.guest-portal-hero .welcome-copy {
  color: rgba(255,255,255,0.78);
}

.guest-portal-hero .section-kicker {
  color: rgba(255,255,255,0.75);
}

.guest-metrics {
  grid-template-columns: repeat(3, 1fr);
}

.guest-grid {
  margin-top: 24px;
}

.guest-reward-item {
  align-items: center;
}

.guest-reward-copy {
  flex: 1;
}

.guest-reward-cost {
  font-weight: 700;
  color: var(--text) !important;
}

.guest-redeem-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

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

/* Mobile-first content clarity updates */
.simple-steps-illustration {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.simple-illustration-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.simple-illustration-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 15px;
}

.simple-illustration-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

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

@media (max-width: 760px) {
  .button {
    min-height: 46px;
  }

  .join-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .join-point-card {
    padding: 14px;
  }

  .welcome-shell,
  .join-premium-shell {
    width: min(100% - 24px, 1280px);
  }

  .welcome-hero,
  .welcome-panel,
  .welcome-actions-panel,
  .join-form-shell {
    padding: 20px;
    border-radius: 22px;
  }

  .simple-steps-illustration {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero h1,
  .page-hero h1,
  .join-premium-title,
  .welcome-hero h1,
  .dashboard-title {
    font-size: 32px;
    line-height: 1.12;
  }

  .lead,
  .section-head p,
  .text-col p,
  .cta-box p,
  .page-hero p,
  .join-premium-copy,
  .welcome-copy {
    font-size: 16px;
    line-height: 1.65;
  }

  .container {
    width: min(100% - 24px, 1200px);
  }

  .sidebar-nav {
    grid-template-columns: 1fr;
  }
}

/* --- Minimal visual refresh inspired by clean Apple-style layouts --- */
:root {
  --brand: #24A33A;
  --brand-dark: #168056;
  --brand-soft: #EDF9EF;
  --brand-soft-2: #DFF5E5;
  --text: #070A12;
  --muted: #667085;
  --line: #E6E8EF;
  --surface: #FFFFFF;
  --surface-soft: #F8FAFC;
  --soft: var(--surface-soft);
  --dark: #000;
  --shadow: none;
  --shadow-strong: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.5;
}

.container {
  width: min(980px, calc(100% - 40px));
}

.bg-blur,
.floating-card,
.cta-box::before,
.cta-box::after {
  display: none;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(12px);
}

.nav {
  padding: 12px 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 11px;
  box-shadow: none;
}

.brand-title {
  font-size: 14px;
  letter-spacing: -0.01em;
}

.brand-sub,
.nav-links {
  font-size: 13px;
  color: var(--muted);
}

.section,
.hero,
.page-hero {
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero,
.split-section,
.outcomes-section,
.hero-shell-grid,
.cta-grid,
.feature-grid,
.services-grid,
.steps-grid,
.price-grid,
.dashboard-grid,
.resource-grid,
.quote-grid,
.trust-grid,
.media-mosaic,
.landing-split {
  gap: 16px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.section-head h2,
.text-col h2,
.cta-box h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
}

.lead,
.section-head p,
.text-col p,
.cta-box p,
.page-hero p,
.feature-card p,
.service-card p,
.step-card p,
.faq-item p,
.price-card p,
.dashboard-card p,
.resource-card p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.card,
.hero-shell,
.side-panel,
.feature-card,
.value-card,
.quote-card,
.service-card,
.step-card,
.price-card,
.dashboard-card,
.resource-card,
.faq-item,
.trust-item,
.mini-card,
.outcome-item,
.media-card,
.context-media-item,
.cta-form,
.login-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
}

.icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--soft);
}

.button {
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  transform: none;
}

.button:hover,
.feature-card:hover,
.step-card:hover {
  transform: none;
  box-shadow: none;
}

.button-dark {
  background: #000;
}

.button-light {
  border-color: var(--line);
}

.section-soft,
.side-panel,
.trust-item,
.faq-item {
  background: var(--soft);
}

.section-dark {
  background: #fff;
  color: var(--text);
}

.section-dark .section-head p,
.section-dark .dark,
.section-dark .service-card p {
  color: var(--muted);
}

.pass-panel,
.cta-box {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: none;
}

.pass-mini,
.pass-sub,
.glass-label,
.glass-side {
  color: var(--muted);
}

.glass-box,
.scan-box {
  background: var(--soft);
  border-radius: 14px;
}

@media (max-width: 900px) {
  .container {
    width: min(980px, calc(100% - 28px));
  }

  .section,
  .hero,
  .page-hero {
    padding-top: 44px;
    padding-bottom: 44px;
  }
}

/* Shared site menu */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(226, 232, 240, 0.65);
}

.site-header.header-hidden {
  box-shadow: none;
}

.nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
}

.nav > .button[href="/demo.html"],
.nav-cta {
  white-space: nowrap;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
  padding: 5px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.88);
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  flex-wrap: nowrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.nav-links a[href="/tap.html"],
.nav-links a[href="/demo.html"],
.nav-links a[href="/about"],
.nav-links a[href="/contact"],
.nav-links a[href="/faq"],
.nav-links a[href="/legal"],
.nav-links a[href="/login.html"] {
  display: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: #fff;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.95);
}

.mobile-pages-menu {
  display: block;
  position: relative;
  width: auto;
  justify-self: end;
}

.mobile-pages-menu details {
  width: auto;
}

.mobile-pages-menu summary {
  min-height: 42px;
  width: auto;
  padding: 11px 14px;
  border-radius: 999px;
  justify-content: center;
}

.menu-label-small {
  display: none;
}

.mobile-pages-menu-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  width: min(280px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  margin-top: 0;
  overflow: auto;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
}

.mobile-pages-menu-list a {
  color: #334155;
}

.mobile-pages-menu-list a:hover,
.mobile-pages-menu-list a:focus-visible,
.mobile-pages-menu-list a[aria-current="page"] {
  background: var(--soft);
  color: var(--text);
}

.mobile-pages-menu details:has(a[aria-current="page"]) summary {
  background: #fff;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.95);
}

.mobile-menu-cta {
  display: block;
  margin-top: 6px;
  padding: 12px;
  border-radius: 12px;
  background: var(--text);
  color: #fff !important;
  font-weight: 800;
  text-align: center;
}

.sticky-scroll-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 75;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: min(520px, calc(100vw - 44px));
  padding: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity .2s ease, transform .2s ease;
}

.sticky-scroll-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-scroll-cta-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sticky-scroll-cta-copy strong {
  font-size: 14px;
  color: var(--text);
}

.sticky-scroll-cta-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 980px) and (min-width: 761px) {
  .brand-sub {
    display: none;
  }

  .nav {
    gap: 10px;
  }

  .nav-links a {
    padding-right: 9px;
    padding-left: 9px;
  }
}

@media (max-width: 760px) {
  .site-header {
    z-index: 90;
  }

  .nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-sub {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .mobile-pages-menu {
    display: block;
  }

  .menu-label-wide {
    display: none;
  }

  .menu-label-small {
    display: inline;
  }

  .site-header .nav-cta,
  .site-header .nav > .button[href="/demo.html"] {
    display: none;
  }

  .site-header .mobile-pages-menu .button-small {
    width: auto;
    justify-content: center;
  }

  .sticky-scroll-cta {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
    justify-content: space-between;
    gap: 12px;
    border-radius: 16px;
  }

  .sticky-scroll-cta-copy span {
    display: none;
  }
}

/* Public marketing screenshot sections */
.marketing-page {
  background: var(--surface);
}

.marketing-page .container {
  width: min(1180px, calc(100% - 48px));
}

.marketing-page .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
}

.marketing-page .brand-mark {
  background: #000;
  color: #fff;
}

.marketing-page .nav-links a:hover,
.marketing-page .nav-links a:focus-visible {
  color: #000;
  box-shadow: inset 0 0 0 1px var(--brand-soft-2);
}

.marketing-page .button-dark {
  background: #000;
  color: #fff;
}

.marketing-page .button-light {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.marketing-page .button-light:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.marketing-page .section-kicker {
  color: var(--brand-dark);
  letter-spacing: .14em;
}

.marketing-page .section-soft {
  background: var(--brand-soft);
}

.marketing-page main a:not(.button):not(.brand):not(.card) {
  color: var(--brand-dark);
  font-weight: 700;
}

.marketing-page .hero-secondary-link {
  color: var(--brand-dark);
}

.marketing-page .hero-secondary-link:hover {
  color: #000;
}

.marketing-page .card,
.marketing-page .cta-box,
.marketing-page .content-media-image,
.marketing-page .table-wrap,
.marketing-page .notice,
.marketing-page .form-grid input,
.marketing-page .form-grid select,
.marketing-page .form-grid textarea,
.marketing-page .form-group input,
.marketing-page .form-group select,
.marketing-page .form-input {
  border-color: var(--line);
}

.marketing-page .card:hover {
  border-color: rgba(36, 163, 58, 0.24);
}

.marketing-page .cta-box {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.marketing-page .content-media-caption {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.marketing-page .icon-box,
.marketing-page .metric-icon,
.marketing-page .summary-icon,
.marketing-page .simple-illustration-icon {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.marketing-page .simple-illustration-icon {
  color: var(--brand-dark);
}

.marketing-page .badge,
.marketing-page .status-pill,
.marketing-page .join-badge {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border: 1px solid var(--brand-soft-2);
}

.marketing-page .price-card:nth-child(3) {
  border-color: rgba(36, 163, 58, 0.36);
  box-shadow: 0 24px 70px rgba(36, 163, 58, 0.10);
}

.marketing-page .price-price,
.marketing-page .try-proof strong,
.marketing-page .metric,
.marketing-page .guest-reward-cost {
  color: #000;
}

.marketing-page .metric-trend,
.marketing-page .try-note,
.marketing-page .try-step-no,
.marketing-page .step-no {
  color: var(--brand-dark);
}

.marketing-page .try-check .checkmark,
.marketing-page .benefit-mark,
.marketing-page .queue-badge.green {
  background: var(--brand);
  color: #fff;
}

.marketing-page .queue-badge.blue,
.marketing-page .queue-badge.amber {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.marketing-page .pill-green,
.marketing-page .pill-blue,
.marketing-page .pill-amber {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.marketing-page .notice {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-color: var(--brand-soft-2);
}

.marketing-page .form-grid input:focus,
.marketing-page .form-grid select:focus,
.marketing-page .form-grid textarea:focus,
.marketing-page .form-group input:focus,
.marketing-page .form-group select:focus,
.marketing-page .form-input:focus {
  outline: 3px solid rgba(36, 163, 58, 0.16);
  border-color: var(--brand);
}

.marketing-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(36px, 6vw, 76px);
  padding-top: 76px;
  padding-bottom: 70px;
}

.marketing-hero h1,
.how-hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.marketing-hero .lead,
.how-hero .lead {
  max-width: 700px;
  color: var(--muted);
}

.hero-proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--brand-soft-2);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.screenshot-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.screenshot-grid-wide {
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 1.24fr);
}

.screenshot-copy {
  max-width: 560px;
}

.screenshot-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.screenshot-copy p:not(.section-kicker) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: #344054;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 650;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
}

.screenshot-frame {
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #E6E8EF;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.phone-frame {
  max-width: 430px;
}

.hero-screenshot-frame {
  max-width: 390px;
}

.wide-frame {
  max-width: 820px;
}

.score-frame {
  max-width: 520px;
}

.screenshot-image {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  object-fit: contain;
}

.screenshot-image-phone {
  max-height: 740px;
}

.marketing-hero .screenshot-image-phone {
  max-height: 680px;
}

.screenshot-image-wide {
  max-height: 640px;
}

.screenshot-image-score {
  max-height: 560px;
}

.how-hero {
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  padding-bottom: 48px;
}

.marketing-page .step-card {
  border-radius: 20px;
}

.marketing-page .step-no {
  color: var(--brand-dark);
}

.marketing-page .icon-box {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.marketing-cta {
  background: #000;
  color: #fff;
  border: 0;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.marketing-cta .section-kicker {
  color: var(--brand-soft-2);
}

.marketing-cta p,
.marketing-cta .mini-muted {
  color: rgba(255, 255, 255, 0.74);
}

.marketing-cta .cta-form {
  color: var(--text);
  background: #fff;
}

.marketing-cta .cta-form .mini-label,
.marketing-cta .cta-form .mini-muted {
  color: var(--muted);
}

.marketing-cta .cta-form .mini-strong {
  color: var(--text);
}

@media (max-width: 980px) {
  .marketing-page .container {
    width: min(100% - 36px, 1180px);
  }

  .marketing-hero,
  .how-hero,
  .screenshot-grid,
  .screenshot-grid-wide {
    grid-template-columns: 1fr;
  }

  .marketing-hero,
  .how-hero {
    padding-top: 56px;
  }

  .screenshot-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .screenshot-copy {
    max-width: 720px;
  }

  .image-first .screenshot-copy {
    order: 1;
  }

  .image-first .screenshot-frame {
    order: 2;
  }
}

@media (max-width: 760px) {
  .marketing-page .container {
    width: min(100% - 28px, 1180px);
  }

  .marketing-hero h1,
  .how-hero h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .screenshot-copy h2 {
    font-size: 32px;
  }

  .screenshot-copy p:not(.section-kicker) {
    font-size: 17px;
  }

  .screenshot-frame {
    border-radius: 24px;
  }

  .phone-frame,
  .hero-screenshot-frame {
    max-width: min(100%, 380px);
  }

  .screenshot-image-phone,
  .marketing-hero .screenshot-image-phone {
    max-height: 580px;
  }

  .screenshot-image-wide {
    max-height: 420px;
  }

  .screenshot-image-score {
    max-height: 440px;
  }
}
