:root {
  --canvas: #0b0f19;
  --surface: #1e293b;
  --primary: #6366f1;
  --secondary: #06b6d4;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

h1, h2, h3 {
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  text-align: center;
}

.eyebrow {
  display: block;
  text-align: center;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nav-cta:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1566915541858-48b56240e292?w=1600&q=70&fm=jpg&fit=crop&auto=format');
  background-size: cover;
  background-position: center 35%;
  filter: grayscale(1) contrast(1.15) brightness(0.8);
  z-index: 0;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 32%, rgba(11, 15, 25, 0.25) 0%, var(--canvas) 92%);
}

.hero-glow {
  position: absolute;
  top: -240px;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.35), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(6, 182, 212, 0.28), transparent 55%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  z-index: 1;
}

.pill {
  display: inline-block;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.beta-hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.beta-hero-pills .pill {
  margin-bottom: 0;
}

.pill-prize {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.3);
  color: #a5f3fc;
}

.hero-tagline {
  display: block;
  font-weight: 800;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 22px;
}

.subhead {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 1rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.button-primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.button-primary:hover {
  opacity: 0.92;
}

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

.button-ghost:hover {
  border-color: var(--text-muted);
}

/* Stats strip */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

section {
  padding: 88px 0;
  scroll-margin-top: 72px;
}

.section-lead {
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.tag {
  display: inline-block;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

/* Wipz payment-group cards */
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.type-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 600px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease;
}

.type-card:hover {
  transform: translateY(-3px);
}

.type-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(1.15) saturate(1.1);
}

.type-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.1) 0%, rgba(11, 15, 25, 0.35) 45%, rgba(11, 15, 25, 0.65) 100%);
  z-index: 1;
}

.type-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 24px;
}

/* Cards where the write-up sits at the top of the photo instead of the bottom */
.type-card-top::after {
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.75) 0%, rgba(11, 15, 25, 0.35) 45%, rgba(11, 15, 25, 0.05) 100%);
}

.type-card-top .type-card-body {
  justify-content: flex-start;
}

.type-card .tag {
  color: #a5b4fc;
}

.type-card-tag-top {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  margin-bottom: 0;
}

.type-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Example progress-ring mockup, reused inside each payment-group card */
.example-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.example-ring {
  flex-shrink: 0;
}

.example-card-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.example-card-title {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.example-card-amount {
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 3px;
}

.example-card-target {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
}

.example-card-meta {
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
}

.type-card-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.type-card-features li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.type-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Payments section */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pay-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.pay-card-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.pay-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pay-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.pay-card p {
  color: var(--text-muted);
  margin: 0 0 18px;
}

.method-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.method-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.virtual-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  padding: 22px 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1.586;
  max-width: 340px;
  margin-bottom: 24px;
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.35);
}

.virtual-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.virtual-card-logo {
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.virtual-card-chip {
  width: 34px;
  height: 24px;
  border-radius: 5px;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
}

.virtual-card-number {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.virtual-card-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
}

.steps {
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-weight: 800;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Waitlist */
.waitlist {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.waitlist-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  width: 800px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.waitlist-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
}

.waitlist-form input {
  flex: 1;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 1rem;
}

.waitlist-form input::placeholder {
  color: var(--text-dim);
}

.waitlist-form button {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.waitlist-form button:hover {
  opacity: 0.92;
}

.waitlist-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.waitlist-message {
  min-height: 24px;
  margin-top: 16px;
  color: var(--secondary);
  font-size: 0.9rem;
  position: relative;
}

.waitlist-message.error {
  color: #f87171;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-size: 1.1rem;
}

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

.footer-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text-muted);
}

/* Legal / contact / investor pages */
.legal {
  padding: 140px 0 100px;
}

.legal-container {
  max-width: 720px;
  margin: 0 auto;
}

.legal-container h1 {
  text-align: left;
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 8px;
}

.legal-container .eyebrow {
  text-align: left;
}

.legal-updated {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-container h2 {
  text-align: left;
  font-size: 1.2rem;
  margin-top: 36px;
}

.legal-container p {
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-container a {
  color: var(--secondary);
}

.legal-disclaimer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.legal-container-narrow {
  max-width: 560px;
}

.confirmed-container {
  text-align: center;
}

.confirmed-container .eyebrow {
  text-align: center;
}

.confirmed-container h1 {
  text-align: center;
}

.confirmed-container .legal-updated {
  margin-left: auto;
  margin-right: auto;
}

.confirmed-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 28px 0;
}

.contact-card-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card-email {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.contact-card-email:hover {
  color: var(--secondary);
}

.forecast-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.forecast-table th,
.forecast-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.forecast-table th {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.forecast-table td {
  color: var(--text);
}

.forecast-table td:first-child {
  color: var(--secondary);
  font-weight: 700;
}

.legal-caption {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: -8px;
}

/* Feedback form */
.feedback-form {
  margin-top: 32px;
}

.feedback-field {
  border: none;
  padding: 0;
  margin: 0 0 36px;
}

.feedback-field legend {
  padding: 0;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

.feedback-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feedback-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.feedback-option:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.feedback-option input {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.feedback-option:has(input:checked) {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.12);
}

.feedback-option span {
  color: var(--text);
  font-size: 0.92rem;
}

.feedback-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  resize: vertical;
}

.feedback-textarea::placeholder {
  color: var(--text-dim);
}

.feedback-nps-scale {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.feedback-nps-btn {
  flex: 1;
  min-width: 36px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.feedback-nps-btn:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.feedback-nps-btn.selected {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: #fff;
}

.feedback-nps-labels {
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-top: 8px;
}

.feedback-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
}

.feedback-waitlist-link {
  display: block;
  margin-top: 12px;
  color: var(--secondary);
  font-weight: 600;
}

/* Beta testing page */
.beta-hero {
  position: relative;
  padding: 120px 0 60px;
  text-align: center;
  overflow: hidden;
}

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

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

.beta-step-alt {
  background: var(--surface);
}

.beta-download-card,
.beta-feedback-card {
  max-width: 480px;
  margin: 40px auto 0;
  text-align: center;
}

.beta-download-button {
  width: 100%;
  text-align: center;
}

.beta-platform-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.beta-steps-list {
  text-align: left;
  color: var(--text-muted);
  max-width: 480px;
  margin: 28px auto 0;
  padding-left: 22px;
  line-height: 1.7;
}

.beta-steps-list li {
  margin-bottom: 10px;
}

.beta-steps-list strong {
  color: var(--text);
}

.beta-checklist {
  max-width: 480px;
  margin: 40px auto 0;
}

.beta-note {
  max-width: 480px;
  margin: 32px auto 0;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  text-align: left;
}

.beta-note-label {
  display: block;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.beta-note p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.beta-feedback-note {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 12px;
}

@media (max-width: 800px) {
  .grid-4,
  .type-grid,
  .pay-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 90px 0 70px;
  }

  .hero-card {
    flex-direction: column;
    text-align: center;
  }

  .hero-card-text {
    align-items: center;
  }
}

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

@media (max-width: 500px) {
  .waitlist-form {
    flex-direction: column;
  }
}

/* iPhone preview gallery */
.phone-gallery-section {
  padding: 60px 0 100px;
}

.phone-gallery {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 20px 4px 30px;
  scroll-snap-type: x mandatory;
}

.phone-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-align: center;
  width: 280px;
}

.phone-caption {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.phone-caption strong {
  color: var(--text);
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.phone-frame {
  width: 280px;
  height: 588px;
  background: #05070d;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #05070d;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--canvas);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  font-size: 10px;
  color: var(--text);
  padding: 22px 14px 14px;
  text-align: left;
}

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

.m-title {
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.m-header-buttons {
  display: flex;
  gap: 6px;
  align-items: center;
}

.m-pill {
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.m-pill-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--secondary);
}

.m-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--secondary);
}

.m-lead {
  color: var(--text-muted);
  font-size: 9px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.m-photo-card {
  height: 92px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 10px;
  overflow: hidden;
}

.m-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.1), rgba(11, 15, 25, 0.75));
}

.m-photo-card-body {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  z-index: 1;
}

.m-tag {
  color: #a5b4fc;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.m-hint {
  color: #fff;
  font-size: 8px;
  line-height: 1.4;
  margin-top: 2px;
}

.m-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.m-step {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.m-step-num {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.m-step-text {
  color: var(--text-muted);
  font-size: 8.5px;
  line-height: 1.4;
}

.m-type-row {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.m-type-option {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 0;
  text-align: center;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.m-type-option.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.m-box {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 8px;
}

.m-check-row {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  margin-bottom: 4px;
  font-size: 8.5px;
  color: #e2e8f0;
  line-height: 1.4;
}

.m-check {
  color: var(--secondary);
  font-weight: 700;
}

.m-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 8.5px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.m-section-title {
  font-weight: 700;
  font-size: 10px;
  margin: 10px 0 5px;
}

.m-button {
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  text-align: center;
  padding: 8px 0;
  font-size: 9.5px;
  font-weight: 600;
  margin-top: 6px;
}

.m-button-outline {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--secondary);
}

.m-badge {
  display: inline-block;
  color: var(--secondary);
  font-size: 8px;
  font-weight: 600;
  margin-bottom: 3px;
}

.m-purpose {
  color: var(--text-muted);
  font-size: 8.5px;
  margin-bottom: 2px;
}

.m-schedule {
  color: var(--text-dim);
  font-size: 8px;
  margin-bottom: 10px;
}

.m-ring-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.m-ring-amount {
  font-size: 11px;
  font-weight: 700;
  fill: #fff;
}

.m-ring-target {
  font-size: 7px;
  fill: var(--text-dim);
}

.m-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 9px;
  margin-bottom: 6px;
}

.m-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.m-row-name {
  font-size: 9px;
  font-weight: 600;
}

.m-row-meta {
  color: var(--text-dim);
  font-size: 7.5px;
}

.m-row-link {
  color: var(--secondary);
  font-size: 7.5px;
  font-weight: 600;
}

.m-bubble-row {
  display: flex;
  margin-bottom: 6px;
}

.m-bubble-row.me {
  justify-content: flex-end;
}

.m-bubble {
  max-width: 78%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 9px;
  font-size: 8.5px;
  line-height: 1.4;
}

.m-bubble.me {
  background: var(--primary);
  border-color: var(--primary);
}

.m-bubble-sender {
  color: var(--secondary);
  font-size: 7px;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.m-msg-input-row {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 5px;
}

.m-msg-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 8.5px;
  color: var(--text-dim);
}

.m-send {
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 8.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
}
