/* CashTap Official Website — Zero-dependency Apple/iOS Design System */

:root {
  --accent-green: #0FA673;
  --accent-mint: #14B882;
  --accent-emerald: #10B981;
  --accent-emerald-soft: rgba(16, 185, 129, 0.14);

  /* Light mode defaults (iOS systemGroupedBackground palette) */
  --bg-page: #F2F2F7;
  --bg-card: #FFFFFF;
  --bg-elevated: #E5E5EA;
  --bg-header: rgba(242, 242, 247, 0.82);
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --border-subtle: rgba(15, 23, 42, 0.09);
  --shadow-card: 0 2px 14px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.04);

  /* Dark Hero tokens (consistent in both light & dark modes) */
  --hero-bg: #07100E;
  --hero-surface: #121817;
  --hero-surface-2: #1A2220;
  --hero-border: rgba(255, 255, 255, 0.11);
  --hero-text: #F5F5F7;
  --hero-sub: #A1A1AA;

  /* Category Palette from ExpenseCategory.swift */
  --cat-food: #F97316;
  --cat-groceries: #10B981;
  --cat-transport: #3B82F6;
  --cat-leisure: #8B5CF6;
  --cat-shopping: #EC4899;
  --cat-household: #14B8A6;
  --cat-health: #EF4444;
  --cat-other: #64748B;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-rounded: ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Helvetica Neue", sans-serif;

  --max-w: 1120px;
  --prose-w: 780px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-page: #000000;
    --bg-card: #1C1C1E;
    --bg-elevated: #2C2C2E;
    --bg-header: rgba(12, 16, 15, 0.82);
    --text-primary: #F5F5F7;
    --text-secondary: #A1A1AA;
    --text-muted: #8E8E93;
    --border-subtle: rgba(255, 255, 255, 0.1);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.35);
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-emerald);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.container--prose {
  max-width: var(--prose-w);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-header);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header--hero {
  background: rgba(7, 16, 14, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: var(--hero-text);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  min-height: 44px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.header-nav a {
  opacity: 0.84;
  transition: opacity 0.15s ease, color 0.15s ease;
  padding: 8px 2px;
}

.header-nav a:hover,
.header-nav a[aria-current="page"] {
  opacity: 1;
  color: var(--accent-emerald);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* EN | DE Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(128, 128, 128, 0.14);
  border: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  font-weight: 600;
}

.site-header--hero .lang-switch {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.lang-switch a,
.lang-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-switch .is-active {
  background: var(--accent-green);
  color: #FFFFFF;
}

.lang-switch a:not(.is-active):hover {
  background: rgba(16, 185, 129, 0.16);
}

.nav-subbar {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 0 10px;
  font-size: 0.875rem;
  font-weight: 500;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  scrollbar-width: none;
}

.nav-subbar::-webkit-scrollbar {
  display: none;
}

.nav-subbar a {
  white-space: nowrap;
  opacity: 0.8;
  padding: 4px 2px;
}

.nav-subbar a[aria-current="page"],
.nav-subbar a:hover {
  opacity: 1;
  color: var(--accent-emerald);
}

/* Hero Section */
.hero {
  position: relative;
  background:
    radial-gradient(640px 420px at 78% 22%, rgba(16, 185, 129, 0.2), transparent 70%),
    radial-gradient(520px 380px at 14% 72%, rgba(15, 166, 115, 0.12), transparent 70%),
    var(--hero-bg);
  color: var(--hero-text);
  padding: 36px 0 64px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.34);
  color: #6EE7B7;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
}

.hero-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
}

.hero-title .accent {
  color: #34D399;
}

.hero-subtitle {
  margin: 0 0 26px;
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  line-height: 1.55;
  color: var(--hero-sub);
  max-width: 540px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 22px;
  border-radius: 14px;
  background: #FFFFFF;
  color: #090D0C;
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  box-shadow: 0 10px 28px rgba(15, 166, 115, 0.25);
}

.btn-appstore:hover {
  transform: translateY(-1px);
  background: #F4FBF8;
}

.btn-appstore:active {
  transform: scale(0.98);
}

.btn-appstore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.btn-appstore-small {
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.72;
}

.btn-appstore-big {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #F5F5F7;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.15s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.coming-soon-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #A7F3D0;
  margin-bottom: 22px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: #D4D4D8;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust svg {
  color: #34D399;
  flex-shrink: 0;
}

/* Interactive iPhone Mockup */
.phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.iphone-frame {
  width: 100%;
  max-width: 344px;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(145deg, #323635, #181B1A 60%, #262A29);
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 2px rgba(0, 0, 0, 0.65);
}

.iphone-screen {
  background: #111314;
  border-radius: 35px;
  padding: 12px 14px 16px;
  color: #F5F5F7;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.iphone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #E4E4E7;
}

.dynamic-island {
  width: 86px;
  height: 22px;
  border-radius: 999px;
  background: #000000;
  margin: 0 auto;
}

.app-nav-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0 2px;
}

.app-reset-btn {
  background: none;
  border: none;
  color: #34D399;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
}

.app-reset-btn:hover {
  background: rgba(16, 185, 129, 0.14);
}

.capture-toast {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0FA673, #14B882);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
}

.capture-toast.is-visible {
  display: flex;
  animation: fadeSlide 0.2s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.amount-card {
  background: #1C1E20;
  border: 1.5px solid rgba(15, 166, 115, 0.65);
  border-radius: 18px;
  padding: 12px;
  text-align: center;
}

.amount-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #A1A1AA;
  text-transform: uppercase;
}

.amount-value {
  font-family: var(--font-rounded);
  font-variant-numeric: tabular-nums;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 4px 0 10px;
  color: #FFFFFF;
}

.amount-value .currency {
  color: #34D399;
  font-size: 1.85rem;
  margin-left: 3px;
}

.quick-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.quick-step-btn {
  padding: 7px 4px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.34);
  color: #34D399;
  font-family: var(--font-rounded);
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease, background-color 0.15s ease;
}

.quick-step-btn:hover {
  background: rgba(16, 185, 129, 0.24);
}

.quick-step-btn:active {
  transform: scale(0.95);
}

.cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  color: #A1A1AA;
  padding: 0 2px;
}

.cat-selected-name {
  color: #FB923C;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 3px;
  border-radius: 12px;
  background: #1C1E20;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cat-tile[data-cat-color] .cat-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-tile .cat-label {
  font-size: 0.625rem;
  font-weight: 600;
  color: #A1A1AA;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cat-tile.is-selected {
  background: rgba(249, 115, 22, 0.14);
  border-color: var(--active-cat-color, #F97316);
}

.cat-tile.is-selected .cat-label {
  color: #FFFFFF;
}

.merchant-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #1C1E20;
  font-size: 0.75rem;
}

.merchant-pill-sub {
  display: block;
  font-size: 0.65rem;
  color: #A1A1AA;
}

.app-save-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-mint));
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 166, 115, 0.35);
  transition: transform 0.1s ease, filter 0.15s ease;
}

.app-save-btn:hover {
  filter: brightness(1.06);
}

.app-save-btn:active {
  transform: scale(0.98);
}

.phone-hint {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: #A1A1AA;
  text-align: center;
}

/* Standard Sections */
.section {
  padding: 64px 0;
}

.section--tight {
  padding: 44px 0 64px;
}

.section-header {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 8px;
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Bento Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-emerald-soft);
  color: var(--accent-green);
}

.feature-icon--blue {
  background: rgba(59, 130, 246, 0.14);
  color: #3B82F6;
}

.feature-icon--purple {
  background: rgba(139, 92, 246, 0.14);
  color: #8B5CF6;
}

.feature-icon--orange {
  background: rgba(249, 115, 22, 0.14);
  color: #F97316;
}

.feature-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.chip--green {
  background: var(--accent-emerald-soft);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-card--pro {
  border: 2px solid var(--accent-green);
  position: relative;
}

.plan-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-green);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-price {
  font-family: var(--font-rounded);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.pricing-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-list svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.tier-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
}

.tier-row--highlight {
  background: var(--accent-emerald-soft);
  border-color: rgba(16, 185, 129, 0.4);
}

.tier-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.tier-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.tier-amount {
  font-family: var(--font-rounded);
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
}

.pricing-footnote {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--accent-green);
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.faq-answer p {
  margin: 0;
}

/* Subpage Hero & Editorial Prose / Support Cards */
.page-hero {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.page-hero p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
}

.summary-callout {
  background: var(--accent-emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 24px;
}

.summary-callout h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--accent-green);
}

.summary-callout p {
  margin: 0;
  font-size: 0.95rem;
}

.prose-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
}

.prose-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.prose-card p {
  margin: 0 0 12px;
  color: var(--text-secondary);
}

.prose-card p:last-child {
  margin-bottom: 0;
}

.prose-card ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--text-secondary);
}

.prose-card li {
  margin-bottom: 6px;
}

.prose-card a {
  color: var(--accent-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Support Guides */
.support-contact-card {
  background: var(--hero-bg);
  color: var(--hero-text);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-contact-card p {
  margin: 0;
  color: var(--hero-sub);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--accent-green);
  color: #FFFFFF;
  font-weight: 700;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: filter 0.15s ease;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.guide-card h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.guide-card .guide-sub {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.guide-steps {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.guide-steps strong {
  color: var(--text-primary);
}

/* CTA Banner */
.cta-banner {
  background:
    radial-gradient(480px 260px at 85% 20%, rgba(16, 185, 129, 0.22), transparent 70%),
    var(--hero-bg);
  color: var(--hero-text);
  border-radius: 24px;
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.cta-banner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-banner p {
  margin: 0;
  color: var(--hero-sub);
  max-width: 560px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 38px 0 46px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Modal / Coming Soon Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.modal-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.modal-card p {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-close {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: none;
  font-weight: 600;
  cursor: pointer;
}

/* 404 Page */
.error-wrap {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  text-align: center;
}

.error-card {
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
}

.error-code {
  display: inline-block;
  font-family: var(--font-rounded);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-green);
  background: var(--accent-emerald-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Responsive Breakpoints */
@media (min-width: 720px) {
  .header-nav {
    display: flex;
  }

  .nav-subbar {
    display: none;
  }

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

  .feature-card--wide {
    grid-column: span 2;
  }

  .pricing-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
  }

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

  .cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 44px 42px;
  }

  .footer-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 58px 0 76px;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }

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

  .feature-card--wide {
    grid-column: span 2;
  }
}
