/* =============================================================================
   PACE LEDGER — Marketing Site Stylesheet
   Hand-authored, framework-free. Organized by section.
   -----------------------------------------------------------------------------
   TABLE OF CONTENTS
   01. Design Tokens (:root)
   02. Reset & Base
   03. Typography
   04. Layout Helpers (container, sections, grid)
   05. Buttons
   06. Badges, Chips & Pills
   07. Header / Navigation / Mobile Drawer
   08. Hero + Phone Mockup
   09. Trust Bar
   10. Value Proposition
   11. Feature Highlights (bento)
   12. Benefits
   13. How It Works
   14. Testimonials
   15. FAQ Accordion
   16. Blog Preview / Blog Index / Blog Post
   17. CTA Band (navy + gold premium moment)
   18. Footer
   19. Forms (Contact)
   20. Legal / Article Prose
   21. Scroll-reveal Animations
   22. Utilities
   23. Responsive (media queries)
   24. Reduced Motion
   ========================================================================== */


/* =============================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Brand color ramp --- */
  --indigo-50:  #EEF0FE;
  --indigo-100: #E0E3FD;
  --indigo-200: #C3C9FB;
  --indigo-300: #9AA3F7;
  --indigo-400: #6E78EE;
  --indigo-500: #4F46E5;   /* PRIMARY / personal accent */
  --indigo-600: #4338CA;
  --indigo-700: #3730A3;

  --gold-300:   #F2D27E;
  --gold-400:   #ECC25C;
  --gold-500:   #E8B53D;   /* premium highlight — use sparingly */
  --gold-600:   #C9991F;

  --navy-700:   #16203A;
  --navy-800:   #111A30;
  --navy-900:   #0B1226;   /* dark premium band base */

  /* --- Ink / neutrals --- */
  --ink-900: #0F172A;      /* primary text */
  --ink-700: #334155;
  --ink-500: #64748B;      /* muted text */
  --ink-400: #94A3B8;
  --ink-300: #CBD5E1;
  --line:    #E2E8F0;      /* hairline borders */
  --line-soft:#EDF1F6;
  --surface: #FFFFFF;
  --surface-2:#F8FAFC;     /* soft off-white background */
  --surface-3:#F1F5F9;

  /* --- Semantic --- */
  --success-500: #16A34A;
  --success-50:  #E8F6EE;
  --danger-500:  #DC2626;
  --danger-50:   #FCEBEB;

  /* --- Typography --- */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Modular type scale (1.2 minor third, fluid via clamp) */
  --fs-xs:   0.78rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --fs-xl:   clamp(1.5rem, 1.3rem + 1vw, 1.95rem);
  --fs-2xl:  clamp(1.95rem, 1.6rem + 1.8vw, 2.7rem);
  --fs-3xl:  clamp(2.5rem, 1.9rem + 3vw, 4rem);
  --fs-hero: clamp(2.7rem, 2rem + 3.8vw, 4.6rem);

  --lh-tight: 1.08;
  --lh-snug:  1.25;
  --lh-base:  1.65;

  /* --- Spacing scale (4px base) --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-12: 7rem;
  --space-16: 9rem;

  /* --- Radii --- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* --- Shadows (soft, layered) --- */
  --shadow-xs: 0 1px 2px rgba(15,23,42,0.04), 0 1px 1px rgba(15,23,42,0.03);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 6px 16px -4px rgba(15,23,42,0.10), 0 2px 6px -2px rgba(15,23,42,0.06);
  --shadow-lg: 0 18px 40px -12px rgba(15,23,42,0.18), 0 6px 14px -6px rgba(15,23,42,0.10);
  --shadow-xl: 0 40px 80px -24px rgba(15,23,42,0.28), 0 12px 28px -12px rgba(15,23,42,0.14);
  --shadow-indigo: 0 16px 40px -12px rgba(79,70,229,0.45);
  --shadow-gold:   0 14px 36px -12px rgba(232,181,61,0.5);

  /* --- Gradients --- */
  --grad-indigo: linear-gradient(135deg, #5B52F0 0%, #4F46E5 45%, #4338CA 100%);
  --grad-gold:   linear-gradient(135deg, #F2D27E 0%, #E8B53D 100%);
  --grad-mesh:   radial-gradient(900px 500px at 75% -10%, rgba(79,70,229,0.14), transparent 60%),
                 radial-gradient(700px 500px at 5% 10%, rgba(232,181,61,0.10), transparent 55%);

  /* --- Layout --- */
  --container: 1200px;
  --container-narrow: 760px;
  --header-h: 72px;
  --header-bg: rgba(255, 255, 255, 0.72);

  /* --- Theme-adaptive helpers (overridden in dark) --- */
  --icon-tint-bg: var(--indigo-50);
  --icon-tint-fg: var(--indigo-600);
  --hero-grid: rgba(15, 23, 42, 0.035);
  color-scheme: light;

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 140ms;
  --t-med:  240ms;
  --t-slow: 420ms;
}


/* =============================================================================
   02. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--ink-900);
  background: var(--surface-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }

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

ul, ol { list-style: none; padding: 0; }

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

:focus-visible {
  outline: 3px solid var(--indigo-400);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

::selection { background: rgba(79,70,229,0.18); color: var(--ink-900); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--ink-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  transition: top var(--t-med) var(--ease);
}
.skip-link:focus { top: 16px; }


/* =============================================================================
   03. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--ink-900);
  text-wrap: balance;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { color: var(--ink-700); }
strong { color: var(--ink-900); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-600);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}

.section-head { max-width: 680px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: var(--space-3); }
.section-head .lead { margin-top: var(--space-4); font-size: var(--fs-md); color: var(--ink-500); }

.lead { font-size: var(--fs-md); color: var(--ink-500); line-height: 1.6; }

.text-gradient {
  background: var(--grad-indigo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* =============================================================================
   04. LAYOUT HELPERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container-narrow { max-width: var(--container-narrow); }

section { position: relative; }
.section { padding-block: var(--space-12); }
.section-sm { padding-block: var(--space-9); }
.bg-soft { background: var(--surface-2); }
.bg-white { background: var(--surface); }
.bg-tint { background: linear-gradient(180deg, #fff 0%, var(--surface-2) 100%); }

.grid { display: grid; gap: var(--space-6); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.divider { height: 1px; background: var(--line); border: 0; }


/* =============================================================================
   05. BUTTONS
   ========================================================================== */
.btn {
  --btn-bg: var(--indigo-500);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-base);
  line-height: 1;
  padding: 0.95rem 1.4rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-med) var(--ease),
              background var(--t-med) var(--ease),
              filter var(--t-med) var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: var(--grad-indigo);
  box-shadow: var(--shadow-indigo);
}
.btn-primary:hover { box-shadow: 0 22px 48px -12px rgba(79,70,229,0.55); }

.btn-secondary {
  background: var(--surface);
  color: var(--ink-900);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--indigo-300); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--ink-700);
}
.btn-ghost:hover { background: var(--surface-3); }

.btn-gold {
  background: var(--grad-gold);
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}

.btn-sm { padding: 0.6rem 1rem; font-size: var(--fs-sm); }
.btn-lg { padding: 1.1rem 1.7rem; font-size: var(--fs-md); }
.btn-block { width: 100%; }

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.2);
}

/* Store badge buttons (inline-SVG, not hotlinked) */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--r-md);
  /* Fixed dark badge — these sit on the always-dark CTA band & footer in BOTH themes,
     so the colour must NOT flip with the theme. */
  background: #06090F;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  box-shadow: var(--shadow-md);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: rgba(255,255,255,0.3); }
.store-btn svg { flex: none; }
.store-btn .store-btn__label { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn .store-btn__small { font-size: 0.62rem; letter-spacing: 0.04em; opacity: 0.8; text-transform: uppercase; }
.store-btn .store-btn__big { font-size: 1.05rem; font-weight: 600; font-family: var(--font-display); letter-spacing: -0.01em; }
.store-btn--soon { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.store-btn--light { background: #fff; color: var(--ink-900); border-color: var(--line); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }


/* =============================================================================
   06. BADGES, CHIPS & PILLS
   ========================================================================== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-700);
  box-shadow: var(--shadow-xs);
}
.chip svg { color: var(--indigo-500); }
.chip strong { font-weight: 700; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill-indigo { background: var(--indigo-50); color: var(--indigo-600); }
.pill-gold   { background: #FBF2DC; color: var(--gold-600); }
.pill-green  { background: var(--success-50); color: var(--success-500); }
.pill-soft   { background: var(--surface-3); color: var(--ink-500); }

.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.placeholder-note {
  font-size: var(--fs-xs);
  color: var(--ink-400);
  font-style: italic;
}


/* =============================================================================
   07. HEADER / NAVIGATION / MOBILE DRAWER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gold-500);   /* premium gold hairline */
  transition: box-shadow var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

/* Brand / logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--grad-indigo);
  box-shadow: var(--shadow-indigo);
  flex: none;
}
.brand__mark svg { width: 20px; height: 20px; }
.brand:hover .brand__mark { transform: rotate(-4deg); transition: transform var(--t-med) var(--ease); }

/* Desktop nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav__link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-700);
  padding: 6px 2px;
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--grad-indigo);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav__link:hover { color: var(--ink-900); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink-900); }

.nav__actions { display: flex; align-items: center; gap: var(--space-4); }

/* Hamburger */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--surface);
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after  { position: absolute; top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  position: fixed;
  inset: 0;
  height: 100vh;
  z-index: 999;
  background: rgba(15,23,42,0.42);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
}
.nav__drawer.is-open { opacity: 1; visibility: visible; }
.nav__panel {
  position: fixed;
  top: var(--header-h); right: 0;
  width: min(88vw, 360px);
  height: calc(100vh - var(--header-h));
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  overflow-y: auto;
}
.nav__drawer.is-open .nav__panel { transform: translateX(0); }
.nav__panel-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-400);
  padding: 0 var(--space-3);
  margin-bottom: var(--space-3);
}
.nav__panel-label::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}
.nav__panel a.nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink-700);
  padding: 0.85rem var(--space-3);
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav__panel a.nav__link::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 2px solid var(--ink-300);
  border-bottom: 2px solid var(--ink-300);
  transform: rotate(-45deg);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.nav__panel a.nav__link:hover {
  background: var(--surface-2);
  color: var(--ink-900);
}
.nav__panel a.nav__link:hover::after { border-color: var(--indigo-500); transform: translateX(2px) rotate(-45deg); }
.nav__panel a.nav__link.is-active { color: var(--indigo-600); background: var(--indigo-50); }
.nav__panel .theme-toggle--row { margin-top: auto; }   /* push toggle + CTA to the bottom */
.nav__panel .btn { margin-top: var(--space-3); }


/* =============================================================================
   08. HERO + PHONE MOCKUP
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 5vw, 6rem) var(--space-12);
  background: var(--grad-mesh), var(--surface-2);
  overflow: hidden;
}
.hero::before {  /* subtle grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--hero-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hero-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(900px 500px at 70% 20%, #000 0%, transparent 75%);
          mask-image: radial-gradient(900px 500px at 70% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
}
.hero__copy { max-width: 600px; }
.hero h1 { margin-top: var(--space-5); }
.hero__sub { margin-top: var(--space-5); font-size: var(--fs-md); color: var(--ink-500); max-width: 52ch; }
.hero .btn-row { margin-top: var(--space-7); }
.hero__trust {
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-size: var(--fs-sm);
  color: var(--ink-500);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__trust svg { color: var(--success-500); flex: none; }
.hero__trust .sep { color: var(--ink-300); }

/* Phone mockup */
.hero__art {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1150px;
}
.phone {
  position: relative;
  width: clamp(248px, 22vw, 300px);
  aspect-ratio: 300 / 620;
  border-radius: 44px;
  background: linear-gradient(160deg, #1B2440, #0B1226);
  padding: 12px;
  box-shadow: var(--shadow-xl), inset 0 0 0 2px rgba(255,255,255,0.06);
  transform: rotateY(-13deg) rotateX(5deg) rotateZ(1deg);
  transition: transform var(--t-slow) var(--ease);
  z-index: 2;
}
.hero__art:hover .phone { transform: rotateY(-6deg) rotateX(2deg); }
/* (camera dot removed for a clean top bezel) */
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  background: var(--surface-2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-700);
}
.phone__status .dots { display: flex; gap: 3px; align-items: center; }
.phone__status .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-400); display: block; }

/* Profile switch hint */
.profile-switch {
  margin: 4px 16px 10px;
  display: flex;
  background: var(--surface-3);
  border-radius: var(--r-pill);
  padding: 3px;
  font-size: 11px;
  font-weight: 600;
}
.profile-switch span {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: var(--r-pill);
  color: var(--ink-500);
}
.profile-switch span.active {
  background: #fff;
  color: var(--indigo-600);
  box-shadow: var(--shadow-xs);
}

.phone__body { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }

.balance-card {
  border-radius: var(--r-lg);
  padding: 16px;
  background: var(--grad-indigo);
  color: #fff;
  box-shadow: var(--shadow-indigo);
  position: relative;
  overflow: hidden;
}
.balance-card::after {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
}
.balance-card small { font-size: 10px; opacity: 0.85; letter-spacing: 0.04em; text-transform: uppercase; }
.balance-card .amount { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-top: 4px; letter-spacing: -0.02em; }
.balance-card .delta { font-size: 10px; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,0.16); padding: 3px 7px; border-radius: var(--r-pill); }

/* Mini chart */
.mini-chart {
  background: #fff;
  border-radius: var(--r-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.mini-chart .mc-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.mini-chart .mc-head b { font-size: 11px; font-family: var(--font-display); }
.mini-chart .mc-head em { font-size: 9px; color: var(--ink-400); font-style: normal; }
.mini-chart .bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; }
.mini-chart .bars i {
  flex: 1;
  background: var(--indigo-100);
  border-radius: 3px 3px 0 0;
  display: block;
}
.mini-chart .bars i.hot { background: var(--grad-indigo); }
.mini-chart .bars i.gold { background: var(--grad-gold); }

/* Transaction rows */
.tx-list { display: flex; flex-direction: column; gap: 8px; }
.tx {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--r-sm);
  padding: 9px 11px;
  box-shadow: var(--shadow-xs);
}
.tx__icon {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
}
.tx__icon svg { width: 15px; height: 15px; }
.tx__meta { flex: 1; min-width: 0; }
.tx__meta b { font-size: 11px; font-weight: 600; display: block; }
.tx__meta span { font-size: 9px; color: var(--ink-400); }
.tx__amt { font-size: 11px; font-weight: 700; font-family: var(--font-display); }
.tx__amt.in { color: var(--success-500); }
.tx__amt.out { color: var(--ink-700); }

/* Floating accent cards around phone */
.float-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  z-index: 3;
  border: 1px solid var(--line-soft);
}
.float-card svg { flex: none; }
.float-card .fc-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.float-card small { display: block; font-weight: 500; font-size: 10px; color: var(--ink-400); }
.float-card.fc-1 { top: 12%; left: -8%; }
.float-card.fc-2 { bottom: 16%; right: -10%; }
.float-card.fc-3 { bottom: -4%; left: 6%; }
.hero__glow {
  position: absolute;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(79,70,229,0.28), transparent 65%);
  filter: blur(20px);
  z-index: 0;
  border-radius: 50%;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.float-card { animation: floaty 5s ease-in-out infinite; }
.float-card.fc-2 { animation-delay: 1.3s; }
.float-card.fc-3 { animation-delay: 0.7s; }


/* =============================================================================
   09. TRUST BAR
   ========================================================================== */
.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4) var(--space-6);
  padding-block: var(--space-5);
}
.trustbar__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-400);
  font-weight: 600;
}


/* =============================================================================
   10. VALUE PROPOSITION
   ========================================================================== */
.value__grid {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.value-card__ic {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--indigo-50);
  color: var(--indigo-600);
  margin-bottom: var(--space-4);
}
.value-card h3 { font-size: var(--fs-lg); }
.value-card p { margin-top: var(--space-3); font-size: var(--fs-sm); }


/* =============================================================================
   11. FEATURE HIGHLIGHTS (bento)
   ========================================================================== */
.bento {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: var(--space-5);
}
.feature {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: var(--space-6);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature__ic {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--indigo-50);
  color: var(--indigo-600);
  margin-bottom: var(--space-4);
}
.feature h3 { font-size: var(--fs-lg); }
.feature p { margin-top: var(--space-3); font-size: var(--fs-sm); color: var(--ink-500); }
.feature .pill { margin-bottom: var(--space-3); align-self: flex-start; }

/* bento spans */
.feature--wide { grid-column: span 4; }
.feature--tall { grid-column: span 2; }
.feature--half { grid-column: span 3; }
.feature--third { grid-column: span 2; }

/* Hero feature (dual profiles) — premium treatment */
.feature--spotlight {
  grid-column: span 4;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(79,70,229,0.10), transparent 60%),
    var(--surface);
}
.feature--spotlight .switch-demo {
  margin-top: auto;
  display: flex;
  gap: var(--space-3);
  padding-top: var(--space-5);
}
.switch-demo .sd-card {
  flex: 1;
  border-radius: var(--r-md);
  padding: var(--space-4);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.switch-demo .sd-card.personal { border-color: var(--indigo-200); box-shadow: 0 0 0 1px var(--indigo-100) inset; }
.switch-demo .sd-card.business { border-color: var(--gold-300); }
.switch-demo .sd-card .sd-top { display: flex; align-items: center; justify-content: space-between; }
.switch-demo .sd-card small { font-size: var(--fs-xs); color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.switch-demo .sd-card b { display: block; font-family: var(--font-display); font-size: var(--fs-lg); margin-top: var(--space-2); }

/* export formats feature */
.export-formats { display: flex; gap: var(--space-3); margin-top: auto; padding-top: var(--space-4); flex-wrap: wrap; }
.export-formats .fmt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.export-formats .fmt svg { color: var(--indigo-500); }


/* =============================================================================
   12. BENEFITS
   ========================================================================== */
.benefit-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.benefit {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.benefit__ic {
  flex: none;
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--grad-indigo);
  color: #fff;
  box-shadow: var(--shadow-indigo);
}
.benefit h3 { font-size: var(--fs-md); }
.benefit p { margin-top: var(--space-2); font-size: var(--fs-sm); color: var(--ink-500); }
.benefit__stat {
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--indigo-600);
}
.benefit__stat small { font-family: var(--font-body); font-size: var(--fs-xs); color: var(--ink-400); font-weight: 500; display: block; }


/* =============================================================================
   13. HOW IT WORKS
   ========================================================================== */
.steps {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  counter-reset: step;
  position: relative;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--space-7) var(--space-6) var(--space-6);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step__num {
  counter-increment: step;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: #fff;
  background: var(--grad-indigo);
  box-shadow: var(--shadow-indigo);
  margin-bottom: var(--space-4);
}
.step__num::before { content: counter(step); }
.step h3 { font-size: var(--fs-lg); }
.step p { margin-top: var(--space-3); font-size: var(--fs-sm); color: var(--ink-500); }
.step__ic { position: absolute; top: var(--space-6); right: var(--space-6); color: var(--indigo-200); }


/* =============================================================================
   14. TESTIMONIALS
   ========================================================================== */
.testi-grid {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.testi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testi__stars { display: flex; gap: 2px; color: var(--gold-500); }
.testi__quote { font-size: var(--fs-md); color: var(--ink-700); line-height: 1.55; }
.testi__person { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.testi__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  flex: none;
}
.testi__person b { font-size: var(--fs-sm); display: block; }
.testi__person span { font-size: var(--fs-xs); color: var(--ink-400); }


/* =============================================================================
   15. FAQ ACCORDION
   ========================================================================== */
.faq {
  margin-top: var(--space-8);
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.faq__item.is-open { border-color: var(--indigo-200); box-shadow: var(--shadow-md); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-md);
  text-align: left;
  color: var(--ink-900);
}
.faq__icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-3);
  color: var(--indigo-600);
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease);
  position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after  { width: 2px; height: 12px; transition: transform var(--t-med) var(--ease); }
.faq__item.is-open .faq__icon { background: var(--indigo-500); color: #fff; }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow) var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p {
  padding: 0 var(--space-5) var(--space-5);
  font-size: var(--fs-base);
  color: var(--ink-500);
  margin: 0;
}


/* =============================================================================
   16. BLOG PREVIEW / INDEX / POST
   ========================================================================== */
.posts-grid {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card__thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}
.post-card__thumb svg.deco { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }
.post-card__thumb .glyph { position: relative; z-index: 1; opacity: 0.92; }
.thumb-a { background: linear-gradient(135deg, #6366F1, #4338CA); }
.thumb-b { background: linear-gradient(135deg, #0EA5E9, #2563EB); }
.thumb-c { background: linear-gradient(135deg, #E8B53D, #C9991F); }
.thumb-d { background: linear-gradient(135deg, #10B981, #0D9488); }
.thumb-e { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.thumb-f { background: linear-gradient(135deg, #F472B6, #DB2777); }
.thumb-g { background: linear-gradient(135deg, #1B2440, #0B1226); }
.post-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.post-card__body h3 { font-size: var(--fs-md); line-height: 1.3; }
.post-card__body h3 a { transition: color var(--t-fast) var(--ease); }
.post-card:hover h3 a { color: var(--indigo-600); }
.post-card__excerpt { font-size: var(--fs-sm); color: var(--ink-500); }
.post-card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--ink-400);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line-soft);
}
.post-card__meta .avatar-xs {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: #fff;
  font-family: var(--font-display);
}
.read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--indigo-600);
}
.read-more svg { transition: transform var(--t-med) var(--ease); }
.post-card:hover .read-more svg, .read-more:hover svg { transform: translateX(4px); }

/* Blog index featured */
.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.featured-post__media { min-height: 320px; position: relative; display: grid; place-items: center; color: #fff; }
.featured-post__body { padding: var(--space-8); display: flex; flex-direction: column; justify-content: center; gap: var(--space-4); }
.featured-post__body h2 { font-size: var(--fs-2xl); }

/* Category filter */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.cat-filter button {
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-500);
  transition: all var(--t-fast) var(--ease);
}
.cat-filter button:hover { border-color: var(--indigo-300); color: var(--ink-900); }
.cat-filter button.is-active {
  background: var(--grad-indigo);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-indigo);
}

/* Newsletter block */
.newsletter {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(232,181,61,0.12), transparent 60%),
    var(--navy-900);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter h2 { color: #fff; }
.newsletter p { color: rgba(255,255,255,0.7); margin-top: var(--space-3); }
.newsletter__form {
  margin: var(--space-6) auto 0;
  max-width: 480px;
  display: flex;
  gap: var(--space-3);
}
.newsletter__form input {
  flex: 1;
  padding: 0.95rem 1.2rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.newsletter__form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter__form input:focus { border-color: var(--gold-400); outline: none; }
.newsletter small { display: block; margin-top: var(--space-4); color: rgba(255,255,255,0.45); font-size: var(--fs-xs); }


/* =============================================================================
   17. CTA BAND (navy + gold premium moment)
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(232,181,61,0.16), transparent 55%),
    radial-gradient(600px 400px at 10% 90%, rgba(79,70,229,0.28), transparent 55%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #fff;
}
.cta-band::before {  /* hairline grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(700px 400px at 50% 50%, #000, transparent 80%);
          mask-image: radial-gradient(700px 400px at 50% 50%, #000, transparent 80%);
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: center;
  padding-block: var(--space-12);
}
.cta-band .eyebrow { color: var(--gold-400); }
.cta-band .eyebrow::before { background: var(--grad-gold); }
.cta-band h2 { color: #fff; margin-top: var(--space-3); }
.cta-band h2 .text-gold { display: inline; }
.cta-band p { color: rgba(255,255,255,0.72); margin-top: var(--space-4); font-size: var(--fs-md); max-width: 46ch; }
.cta-band__actions { margin-top: var(--space-7); display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.cta-band__points { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
.cta-band__points li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); color: rgba(255,255,255,0.78); }
.cta-band__points svg { color: var(--gold-400); flex: none; }

/* Decorative mini stack on the right of CTA */
.cta-visual { position: relative; display: grid; place-items: center; }
.cta-visual .ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
}
.cta-visual .ring.r1 { width: 280px; height: 280px; }
.cta-visual .ring.r2 { width: 200px; height: 200px; }
.cta-visual .ring.r3 { width: 120px; height: 120px; }
.cta-visual .badge-stack {
  position: relative;
  z-index: 1;
  width: 130px; height: 130px;
  border-radius: 34px;
  background: var(--grad-gold);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-gold);
  color: var(--navy-900);
}
.cta-visual .badge-stack svg { width: 64px; height: 64px; }


/* =============================================================================
   18. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding-top: var(--space-10);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-9);
}
.footer__brand .brand { color: #fff; }
.footer__brand p { margin-top: var(--space-4); font-size: var(--fs-sm); color: rgba(255,255,255,0.55); max-width: 34ch; }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  transition: all var(--t-fast) var(--ease);
}
.footer__social a:hover { background: var(--indigo-500); color: #fff; transform: translateY(-2px); border-color: transparent; }
.footer__col h4 {
  color: #fff;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__col a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--t-fast) var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer__bottom p { font-size: var(--fs-sm); color: rgba(255,255,255,0.5); }
.footer__badges { display: flex; gap: var(--space-3); flex-wrap: wrap; }


/* =============================================================================
   19. FORMS (Contact)
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: start;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: var(--space-5); }
.field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: var(--space-2);
}
.field label .req { color: var(--danger-500); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  font-size: var(--fs-base);
  color: var(--ink-900);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--indigo-400);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79,70,229,0.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .error-msg {
  display: none;
  margin-top: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--danger-500);
}
.field.has-error input,
.field.has-error textarea {
  border-color: var(--danger-500);
  background: var(--danger-50);
}
.field.has-error .error-msg { display: block; }
.field.is-valid input,
.field.is-valid textarea { border-color: var(--success-500); }

.form-note { font-size: var(--fs-xs); color: var(--ink-400); margin-top: var(--space-4); }
.form-success {
  display: none;
  align-items: center;
  gap: var(--space-3);
  background: var(--success-50);
  border: 1px solid #BBE6CC;
  color: #14743C;
  padding: var(--space-4);
  border-radius: var(--r-md);
  margin-bottom: var(--space-5);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.form-success.show { display: flex; }

.contact-aside { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--space-6);
}
.contact-info h3 { font-size: var(--fs-md); margin-bottom: var(--space-4); }
.contact-info__item { display: flex; gap: var(--space-3); align-items: flex-start; margin-bottom: var(--space-4); }
.contact-info__item:last-child { margin-bottom: 0; }
.contact-info__ic {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--indigo-50);
  color: var(--indigo-600);
  flex: none;
}
.contact-info__item b { font-size: var(--fs-sm); display: block; }
.contact-info__item a, .contact-info__item span { font-size: var(--fs-sm); color: var(--ink-500); }
.contact-info__item a:hover { color: var(--indigo-600); }
.map-placeholder {
  border-radius: var(--r-lg);
  border: 1px dashed var(--ink-300);
  background:
    repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(79,70,229,0.04) 14px, rgba(79,70,229,0.04) 28px),
    var(--surface-2);
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-400);
  font-size: var(--fs-sm);
  position: relative;
}
.map-placeholder svg { color: var(--indigo-400); }


/* =============================================================================
   20. LEGAL / ARTICLE PROSE
   ========================================================================== */
.page-hero {
  background: var(--grad-mesh), var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding-block: var(--space-10) var(--space-9);
}
.breadcrumb { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-sm); color: var(--ink-400); margin-bottom: var(--space-4); }
.breadcrumb a:hover { color: var(--indigo-600); }
.breadcrumb svg { color: var(--ink-300); }
.page-hero h1 { font-size: var(--fs-3xl); }
.page-hero .lead { margin-top: var(--space-4); max-width: 60ch; }
.last-updated { margin-top: var(--space-4); font-size: var(--fs-sm); color: var(--ink-500); }

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-8);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  font-size: var(--fs-sm);
}
.legal-toc h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-400); margin-bottom: var(--space-3); }
.legal-toc ul { display: flex; flex-direction: column; gap: var(--space-1); }
.legal-toc a {
  display: block;
  padding: 0.4rem 0.7rem;
  border-radius: var(--r-sm);
  color: var(--ink-500);
  border-left: 2px solid transparent;
  transition: all var(--t-fast) var(--ease);
}
.legal-toc a:hover, .legal-toc a.is-active { color: var(--indigo-600); background: var(--indigo-50); border-left-color: var(--indigo-500); }

.prose { max-width: 720px; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--space-8); padding-top: var(--space-2); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-lg); margin-top: var(--space-6); }
.prose p { margin-top: var(--space-4); color: var(--ink-700); }
.prose ul, .prose ol { margin-top: var(--space-4); padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.prose ul li { list-style: disc; color: var(--ink-700); }
.prose ol li { list-style: decimal; color: var(--ink-700); }
.prose li::marker { color: var(--indigo-400); }
.prose a { color: var(--indigo-600); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink-900); }
.prose blockquote {
  margin: var(--space-6) 0;
  padding: var(--space-5) var(--space-6);
  border-left: 4px solid var(--indigo-500);
  background: var(--indigo-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--ink-700);
}
.prose blockquote cite { display: block; margin-top: var(--space-3); font-size: var(--fs-sm); color: var(--ink-400); font-style: normal; font-family: var(--font-body); }
/* Article tables (comparisons) */
.prose table { width: 100%; border-collapse: collapse; margin: var(--space-6) 0; font-size: var(--fs-sm); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.prose thead { background: var(--surface-2); }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-display); font-weight: 700; color: var(--ink-900); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) { background: var(--surface-2); }
/* Definition lists (cryptography-free term definitions) */
.prose dl { margin: var(--space-5) 0; border-left: 3px solid var(--indigo-200); padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.prose dt { font-family: var(--font-display); font-weight: 700; color: var(--ink-900); }
.prose dd { margin: 0; color: var(--ink-700); }
.callout {
  margin: var(--space-6) 0;
  padding: var(--space-5);
  border-radius: var(--r-md);
  background: #FBF2DC;
  border: 1px solid var(--gold-300);
  font-size: var(--fs-sm);
  color: var(--ink-700);
  display: flex;
  gap: var(--space-3);
}
.callout svg { color: var(--gold-600); flex: none; }
/* Dark mode: the gold tint background is too light for the default ink text. */
:root[data-theme="dark"] .callout {
  background: rgba(232, 181, 61, 0.12);
  border-color: rgba(232, 181, 61, 0.30);
  color: var(--ink-700);
}
:root[data-theme="dark"] .callout svg { color: var(--gold-400); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .callout {
    background: rgba(232, 181, 61, 0.12);
    border-color: rgba(232, 181, 61, 0.30);
    color: var(--ink-700);
  }
  :root:not([data-theme="light"]) .callout svg { color: var(--gold-400); }
}

/* Article (blog post) */
.article-hero { padding-block: var(--space-9) var(--space-7); }
.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
  color: var(--ink-500);
  flex-wrap: wrap;
}
.article-meta .author { display: flex; align-items: center; gap: var(--space-2); }
.article-meta .avatar-sm {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 13px;
  font-family: var(--font-display);
}
.article-cover {
  margin: var(--space-7) 0;
  aspect-ratio: 16 / 7;
  border-radius: var(--r-xl);
  display: grid; place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.author-bio {
  margin-top: var(--space-9);
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.author-bio .avatar-lg {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 22px;
  font-family: var(--font-display);
  flex: none;
}
.author-bio b { font-size: var(--fs-md); }
.author-bio p { margin-top: var(--space-2); font-size: var(--fs-sm); color: var(--ink-500); }
.share-row { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.share-row span { font-size: var(--fs-sm); color: var(--ink-400); font-weight: 600; }
.share-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--ink-500);
  transition: all var(--t-fast) var(--ease);
}
.share-row a:hover { background: var(--indigo-500); color: #fff; border-color: transparent; transform: translateY(-2px); }


/* =============================================================================
   21. SCROLL-REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 80ms; }
[data-reveal][data-delay="2"] { transition-delay: 160ms; }
[data-reveal][data-delay="3"] { transition-delay: 240ms; }
[data-reveal][data-delay="4"] { transition-delay: 320ms; }


/* =============================================================================
   22. UTILITIES
   ========================================================================== */
.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;
}
.text-center { text-align: center; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.hide { display: none !important; }
.icon-16 { width: 16px; height: 16px; }
.icon-20 { width: 20px; height: 20px; }
.icon-24 { width: 24px; height: 24px; }


/* =============================================================================
   23. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-9); }
  .hero__art { order: 2; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-visual { display: none; }
  .featured-post { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: none; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  /* bento collapses to simpler spans */
  .bento { grid-template-columns: repeat(4, 1fr); }
  .feature--wide, .feature--spotlight { grid-column: span 4; }
  .feature--half { grid-column: span 2; }
  .feature--tall, .feature--third { grid-column: span 2; }
}

@media (max-width: 860px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions .nav__toggle { display: flex; }

  .value__grid { grid-template-columns: 1fr; }
  .benefit-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature--wide, .feature--tall, .feature--half, .feature--third, .feature--spotlight { grid-column: span 2; }
  .switch-demo { flex-direction: column; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .section { padding-block: var(--space-9); }
  .container { padding-inline: var(--space-4); }
  .btn-row .btn { width: 100%; }
  .hero .btn-row { flex-direction: column; }
  .newsletter__form { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .float-card { display: none; }       /* keep mobile hero clean */
  .article-meta { gap: var(--space-3); }
}


/* =============================================================================
   25. THEME SYSTEM (dark / light) + theme-swapped assets
   -----------------------------------------------------------------------------
   The pre-paint inline script in each page sets <html data-theme="…">. We also
   declare a prefers-color-scheme block so auto-dark still works with JS disabled.
   ========================================================================== */

/* Shared dark token values, applied two ways (explicit + system auto) */
:root[data-theme="dark"],
:root[data-theme="dark"] body {
  color-scheme: dark;
}
:root[data-theme="dark"] {
  --surface:   #111A30;
  --surface-2: #0B1226;
  --surface-3: #1B2440;

  --ink-900: #F1F5F9;
  --ink-700: #CBD5E1;
  --ink-500: #97A6BC;
  --ink-400: #6E7F96;
  --ink-300: #4A5A72;
  --line:      rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.05);

  --indigo-50:  rgba(124, 131, 247, 0.16);
  --indigo-600: #AEB4FB;

  --header-bg:  rgba(11, 18, 38, 0.72);
  --icon-tint-bg: rgba(124, 131, 247, 0.16);
  --icon-tint-fg: #AEB4FB;
  --hero-grid:  rgba(255, 255, 255, 0.04);

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.40);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.40);
  --shadow-md: 0 6px 18px -4px rgba(0,0,0,0.55), 0 2px 8px -2px rgba(0,0,0,0.40);
  --shadow-lg: 0 18px 44px -12px rgba(0,0,0,0.60), 0 6px 16px -6px rgba(0,0,0,0.45);
  --shadow-xl: 0 40px 90px -24px rgba(0,0,0,0.70), 0 12px 30px -12px rgba(0,0,0,0.50);
}

/* Auto dark when the OS prefers dark AND the user hasn't forced light (no-JS safety net) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface:   #111A30;
    --surface-2: #0B1226;
    --surface-3: #1B2440;
    --ink-900: #F1F5F9;
    --ink-700: #CBD5E1;
    --ink-500: #97A6BC;
    --ink-400: #6E7F96;
    --ink-300: #4A5A72;
    --line:      rgba(255, 255, 255, 0.09);
    --line-soft: rgba(255, 255, 255, 0.05);
    --indigo-50:  rgba(124, 131, 247, 0.16);
    --indigo-600: #AEB4FB;
    --header-bg:  rgba(11, 18, 38, 0.72);
    --icon-tint-bg: rgba(124, 131, 247, 0.16);
    --icon-tint-fg: #AEB4FB;
    --hero-grid:  rgba(255, 255, 255, 0.04);
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.40);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.40);
    --shadow-md: 0 6px 18px -4px rgba(0,0,0,0.55), 0 2px 8px -2px rgba(0,0,0,0.40);
    --shadow-lg: 0 18px 44px -12px rgba(0,0,0,0.60), 0 6px 16px -6px rgba(0,0,0,0.45);
    --shadow-xl: 0 40px 90px -24px rgba(0,0,0,0.70), 0 12px 30px -12px rgba(0,0,0,0.50);
  }
}

/* Slight separation so the (dark) footer reads against a dark page */
.site-footer { border-top: 1px solid var(--line-soft); }

/* --- Theme-swapped logo (brand mark holds two images) --- */
.brand__mark {
  background: none;
  box-shadow: var(--shadow-sm), 0 0 0 1.3px var(--gold-500);  /* 1.3px golden hairline ring */
  display: block;
  overflow: hidden;
  padding: 0;
}
.brand__mark .logo-img { width: 100%; height: 100%; display: block; object-fit: cover; }
.logo-img--dark { display: none; }
[data-theme="dark"] .logo-img--light { display: none; }
[data-theme="dark"] .logo-img--dark  { display: block; }

/* --- Theme toggle button --- */
.theme-toggle {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-700);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.theme-toggle:hover { color: var(--ink-900); border-color: var(--indigo-300); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Drawer variant (full-width row) */
.theme-toggle--row {
  width: 100%;
  height: auto;
  justify-content: flex-start;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  padding: var(--space-4) var(--space-2);
  margin-top: var(--space-2);
}
.theme-toggle--row .tt-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink-700);
}

/* --- Real app screenshot inside the phone frame, swapped by theme --- */
.phone__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
}
.phone__shot--dark { display: none; }
[data-theme="dark"] .phone__shot--light { display: none; }
[data-theme="dark"] .phone__shot--dark  { display: block; }


/* =============================================================================
   25b. IN-PHONE APP MOCKUP (hand-built dashboards, swapped by theme)
   -----------------------------------------------------------------------------
   .appui--personal = light UI (shown in light theme)
   .appui--business = dark UI  (shown in dark theme)
   Each has a FIXED internal palette (it represents the app's own look), so it
   does not depend on the website theme other than which one is visible.
   ========================================================================== */
.appui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px 14px 11px;          /* top padding clears the camera punch-hole */
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.appui > * { flex: 0 0 auto; }
/* Explicit, even spacing between sections */
.appui__top { margin-bottom: 13px; }
.appui__bal { margin-bottom: 13px; }   /* clear gap before the projected box */
.appui__proj { margin-bottom: 9px; }
.appui__cal { margin-bottom: 11px; }
.appui__rec { margin-bottom: 9px; }
.appui__txs { flex: 1 1 auto; min-height: 0; margin-bottom: 11px; }  /* list fills; tab stays at bottom */
.appui--personal { background: #EEF1F8; color: #0F172A; }
.appui--business { background: #0A0F1E; color: #E7ECF6; display: none; }
[data-theme="dark"] .appui--personal { display: none; }
[data-theme="dark"] .appui--business { display: flex; }

/* Header */
.appui__top { display: flex; align-items: center; gap: 8px; }
.appui__burger {
  display: grid; place-items: center; flex: none;
  background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0;
}
.appui--personal .appui__burger { color: #1E293B; }
.appui--business .appui__burger { color: #FFFFFF; }
.appui__burger i { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; margin: 2px 0; }
.appui__hello { flex: 1; min-width: 0; line-height: 1.1; }
.appui__hello small { display: block; font-size: 8px; font-weight: 700; letter-spacing: 0.08em; }
.appui--personal .appui__hello small { color: #6366F1; }
.appui--business .appui__hello small { color: #E8B53D; }
.appui__hello b { display: flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.appui__hello b svg { width: 11px; height: 11px; opacity: 0.7; flex: none; }
.appui__avatar { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.appui--personal .appui__avatar { background: #E0E3FD; color: #4F46E5; box-shadow: 0 0 0 1.5px #4F46E5; }
.appui__avatar--biz { background: #fff !important; box-shadow: 0 0 0 1.5px #E8B53D !important; }
.appui__avatar svg { width: 16px; height: 16px; }

/* Balance card */
.appui__bal { border-radius: 16px; padding: 11px 13px; position: relative; overflow: hidden; }
.appui__bal--indigo { background: var(--grad-indigo); color: #fff; box-shadow: 0 10px 22px -10px rgba(79,70,229,0.65); }
.appui__bal--gold { background: linear-gradient(135deg, #F3D580, #E2A828); color: #3B2C05; box-shadow: 0 10px 22px -10px rgba(232,181,61,0.55); }
.appui__bal small { font-size: 8px; font-weight: 700; letter-spacing: 0.08em; opacity: 0.82; }
.appui__amt { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-top: 3px; }
.appui__subs { display: flex; gap: 8px; margin-top: 9px; }
.appui__subcard { flex: 1; display: flex; align-items: center; gap: 6px; border-radius: 11px; padding: 7px 8px; }
.appui__bal--indigo .appui__subcard { background: rgba(255,255,255,0.14); }
.appui__bal--gold .appui__subcard { background: rgba(255,255,255,0.32); }
.appui__chip { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; flex: none; color: #fff; }
.appui__chip svg { width: 11px; height: 11px; }
.appui__chip.in { background: #22C55E; }
.appui__chip.out { background: #F46362; }
.appui__subtxt { line-height: 1.15; }
.appui__subtxt em { display: block; font-size: 8px; font-style: normal; letter-spacing: 0.04em; opacity: 0.82; }
.appui__subtxt b { font-size: 11px; font-weight: 700; }

/* Projected row */
.appui__proj { display: flex; align-items: center; gap: 9px; border-radius: 13px; padding: 9px 11px; }
.appui--personal .appui__proj { background: #fff; box-shadow: 0 2px 8px rgba(15,23,42,0.06); }
.appui--business .appui__proj { background: #121A2E; }
.appui__projic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.appui--personal .appui__projic { background: #DCF6E8; color: #16A34A; }
.appui__projic.teal { background: #0E2B2B; color: #2DD4BF; }
.appui__projic svg { width: 13px; height: 13px; }
.appui__projtxt { flex: 1; min-width: 0; line-height: 1.15; }
.appui__projtxt em { display: block; font-size: 8px; font-style: normal; letter-spacing: 0.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appui--personal .appui__projtxt em { color: #94A3B8; }
.appui--business .appui__projtxt em { color: #6E7F96; }
.appui__projtxt b { font-family: var(--font-display); font-size: 12px; font-weight: 700; }
.appui--business .appui__projtxt b { color: #E7ECF6; }
.appui__projdelta { font-size: 8.5px; font-weight: 700; color: #16A34A; white-space: nowrap; flex: none; }

/* Calendar row */
.appui__cal { display: flex; align-items: center; gap: 8px; border-radius: 12px; padding: 9px 11px; font-size: 11px; font-weight: 600; }
.appui--personal .appui__cal { background: #fff; box-shadow: 0 2px 8px rgba(15,23,42,0.05); }
.appui--business .appui__cal { background: #121A2E; }
.appui__cal > span:nth-of-type(2) { flex: 1; }
.appui__calic { display: grid; place-items: center; color: #4F46E5; }
.appui__calic.gold { color: #E8B53D; }
.appui__calic svg { width: 15px; height: 15px; }
.appui__chevd { width: 13px; height: 13px; opacity: 0.5; }

/* Recent transactions heading */
.appui__rec { display: flex; align-items: center; justify-content: space-between; }
.appui__rec b { font-family: var(--font-display); font-size: 12.5px; font-weight: 700; }
.appui__seeall { font-size: 8px; font-weight: 700; letter-spacing: 0.04em; padding: 4px 8px; border-radius: 999px; }
.appui--personal .appui__seeall { background: #E0E3FD; color: #4F46E5; }
.appui--business .appui__seeall { background: #2A2410; color: #E8B53D; }

/* Transactions card */
.appui__txs { border-radius: 14px; padding: 9px 10px; display: flex; flex-direction: column; gap: 7px; }
.appui--personal .appui__txs { background: #fff; box-shadow: 0 2px 10px rgba(15,23,42,0.05); }
.appui--business .appui__txs { background: #121A2E; }
.appui__date { font-size: 8px; font-weight: 600; letter-spacing: 0.04em; color: #94A3B8; }
.appui--business .appui__date { color: #6E7F96; }
.appui__tx { display: flex; align-items: center; gap: 9px; }
.appui__txic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.appui__txic svg { width: 15px; height: 15px; }
.appui__txm { flex: 1; min-width: 0; line-height: 1.18; }
.appui__txm b { display: block; font-size: 10.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appui__txm em { font-size: 8px; font-style: normal; color: #94A3B8; }
.appui--business .appui__txm em { color: #6E7F96; }
.appui__txa { font-family: var(--font-display); font-size: 11px; font-weight: 700; white-space: nowrap; }
.appui--business .appui__txa { color: #E7ECF6; }
.appui__txa.pos { color: #16A34A; }

/* Bottom tab bar */
.appui__tab { display: flex; align-items: center; justify-content: space-between; padding: 9px 4px 4px; border-radius: 16px 16px 0 0; }
.appui--personal .appui__tab { background: #fff; box-shadow: 0 -2px 12px rgba(15,23,42,0.06); }
.appui--business .appui__tab { background: #0E1626; box-shadow: 0 -2px 12px rgba(0,0,0,0.4); }
.appui__tabitem { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.appui__tabitem svg { width: 16px; height: 16px; }
.appui__tabitem i { font-size: 7.5px; font-style: normal; font-weight: 600; }
.appui--personal .appui__tabitem { color: #9AA6B8; }
.appui--business .appui__tabitem { color: #5C6B82; }
.appui--personal .appui__tabitem.on { color: #4F46E5; }
.appui--business .appui__tabitem.on { color: #E8B53D; }


/* =============================================================================
   25c. PRICING CARDS
   ========================================================================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  max-width: 1080px;
  margin: var(--space-8) auto 0;
  align-items: start;
}
.price-card__yearly { font-size: var(--fs-sm); color: var(--ink-500); margin: 0 0 var(--space-2); }
.price-card__yearly strong { color: var(--ink-700); }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--space-7);
  box-shadow: var(--shadow-md);
}
.price-card--featured { position: relative; box-shadow: var(--shadow-lg); border-color: transparent; outline: 2px solid var(--indigo-500); }
.price-card__badge {
  position: absolute; top: -13px; left: var(--space-7);
  background: var(--grad-indigo); color: #fff;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem; border-radius: var(--r-pill);
  box-shadow: var(--shadow-indigo);
}
.price-card h2 { font-size: var(--fs-xl); }
.price-card__price { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -0.02em; margin: var(--space-3) 0 var(--space-1); }
.price-card__price small { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 500; color: var(--ink-500); }
.price-card__sub { color: var(--ink-500); font-size: var(--fs-sm); min-height: 2.6em; }
.price-card .btn { width: 100%; margin: var(--space-5) 0; }
.price-list { display: flex; flex-direction: column; gap: var(--space-3); }
.price-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-700); }
.price-list li svg { flex: none; color: var(--success-500); margin-top: 1px; }
.price-list li.muted { color: var(--ink-400); }
.price-list li.muted svg { color: var(--ink-300); }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; } }


/* =============================================================================
   26. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .float-card { animation: none; }
  .phone { transform: none; }
}
