/* ============================================================
   TrustPay marketing site — self-contained stylesheet
   No Tailwind dependency. Works in any browser/sandbox.
   ============================================================ */

:root {
  --bg: #06100C;
  --bg-soft: #0B1A14;
  --surface: rgba(255,255,255,0.045);
  --surface-strong: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --text: #FFFFFF;
  --text-body: #E6EBE6;
  --text-muted: #B4BEB8;
  --text-dim: #8A958F;
  --brand: #3FB997;
  --brand-soft: #5FD2B0;
  --brand-bright: #7FE6C4;
  --brand-deep: #0D332A;
  --brand-mid: #1A5B47;
  --radius-sm: 0.625rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 999px;
  --shadow-lg: 0 20px 60px -15px rgba(0,0,0,0.6);
  --shadow-glow: 0 10px 30px -8px rgba(63,185,151,0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.011em;
  line-height: 1.55;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated mesh backdrop */
body::before {
  content: '';
  position: fixed;
  inset: -10%;
  z-index: -2;
  background:
    radial-gradient(ellipse 800px 500px at 10% -5%,  rgba(63,185,151,0.28), transparent 60%),
    radial-gradient(ellipse 800px 600px at 95% 10%,  rgba(95,210,176,0.20), transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 110%, rgba(13,51,42,0.55), transparent 60%),
    #06100C;
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0)     scale(1); }
  100% { transform: translate3d(-3%,2%,0)  scale(1.06); }
}

/* Subtle grid overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}

/* ============================================================
   Utility layer — replaces Tailwind CDN
   ============================================================ */

/* Max-widths */
.max-w-xl  { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

/* Padding */
.px-4 { padding-left: 1rem;   padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-8 { padding-left: 2rem;   padding-right: 2rem; }
.py-4  { padding-top: 1rem;    padding-bottom: 1rem; }
.py-6  { padding-top: 1.5rem;  padding-bottom: 1.5rem; }
.py-8  { padding-top: 2rem;    padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem;  padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem;    padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem;  padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem;    padding-bottom: 4rem; }
.py-20 { padding-top: 5rem;    padding-bottom: 5rem; }
.py-24 { padding-top: 6rem;    padding-bottom: 6rem; }
.py-28 { padding-top: 7rem;    padding-bottom: 7rem; }
.pt-6  { padding-top: 1.5rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-12 { padding-top: 3rem; }
.pt-20 { padding-top: 5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.p-8   { padding: 2rem; }
.p-10  { padding: 2.5rem; }

/* Margins */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1  { margin-top: 0.25rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-5  { margin-top: 1.25rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-7  { margin-top: 1.75rem; }
.mt-8  { margin-top: 2rem; }
.mt-9  { margin-top: 2.25rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }

/* Space-y */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* Display */
.block         { display: block; }
.inline-block  { display: inline-block; }
.inline-flex   { display: inline-flex; }
.flex          { display: flex; }
.grid          { display: grid; }
.hidden        { display: none !important; }

/* Flex utilities */
.flex-col     { flex-direction: column; }
.flex-row     { flex-direction: row; }
.flex-wrap    { flex-wrap: wrap; }
.flex-1       { flex: 1 1 0%; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start   { justify-content: flex-start; }
.gap-1  { gap: 0.25rem; }
.gap-2  { gap: 0.5rem; }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem; }
.gap-5  { gap: 1.25rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

/* Grid columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }
.sticky   { position: sticky; }
.inset-0  { inset: 0; }
.top-0    { top: 0; }
.z-0  { z-index: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-49 { z-index: 49; }
.z-50 { z-index: 50; }

/* Sizing */
.w-7    { width: 1.75rem; }
.h-7    { height: 1.75rem; }
.w-full { width: 100%; }
.h-16   { height: 4rem; }
.min-h-screen { min-height: 100vh; }

/* Typography sizes */
.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -0.02em; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem;  letter-spacing: -0.025em; }
.text-5xl  { font-size: 3rem;     line-height: 1.1;     letter-spacing: -0.03em; }
.text-6xl  { font-size: 3.75rem;  line-height: 1.05;    letter-spacing: -0.035em; }
.text-7xl  { font-size: 4.5rem;   line-height: 1.02;    letter-spacing: -0.04em; }
.text-8xl  { font-size: 6rem;     line-height: 1;       letter-spacing: -0.045em; }

/* Font weights */
.font-normal    { font-weight: 400; }
.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Text alignment */
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* Line-height */
.leading-none    { line-height: 1; }
.leading-tight   { line-height: 1.15; }
.leading-snug    { line-height: 1.375; }
.leading-normal  { line-height: 1.5; }
.leading-relaxed { line-height: 1.7; }

/* Letter-spacing */
.tracking-tight   { letter-spacing: -0.025em; }
.tracking-normal  { letter-spacing: 0; }
.tracking-wide    { letter-spacing: 0.025em; }
.tracking-widest  { letter-spacing: 0.12em; }

/* Text transform */
.uppercase   { text-transform: uppercase; }
.lowercase   { text-transform: lowercase; }
.capitalize  { text-transform: capitalize; }

/* Text colors */
.text-white     { color: #fff; }
.text-gray-400  { color: #9CA3AF; }
.text-gray-500  { color: #6B7280; }
.text-teal-300  { color: #5EEAD4; }
.text-teal-400  { color: #2DD4BF; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto   { overflow: auto; }

/* Border radius */
.rounded    { border-radius: 0.375rem; }
.rounded-md { border-radius: 0.5rem; }
.rounded-lg { border-radius: 0.75rem; }
.rounded-xl { border-radius: 1rem; }
.rounded-2xl{ border-radius: 1.5rem; }
.rounded-3xl{ border-radius: 2rem; }
.rounded-full { border-radius: 9999px; }

/* Borders */
.border { border: 1px solid rgba(255,255,255,0.1); }
.border-t { border-top: 1px solid rgba(255,255,255,0.1); }
.border-b { border-bottom: 1px solid rgba(255,255,255,0.1); }

/* Background opacity utilities (simplified) */
.bg-black\/60 { background: rgba(0,0,0,0.6); }
.bg-white\/5  { background: rgba(255,255,255,0.05); }

/* Misc */
.pointer-events-none { pointer-events: none; }
.select-none  { user-select: none; }
.cursor-pointer { cursor: pointer; }
.resize-none  { resize: none; }

/* Responsive breakpoints */
@media (min-width: 640px) {
  .sm\:inline-flex { display: inline-flex !important; }
  .sm\:flex-row    { flex-direction: row; }
  .sm\:w-auto      { width: auto !important; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md\:flex        { display: flex; }
  .md\:block       { display: block; }
  .md\:hidden      { display: none !important; }
  .md\:inline-flex { display: inline-flex; }
  .md\:flex-row    { flex-direction: row; }
  .md\:w-auto      { width: auto; }
  .md\:items-center  { align-items: center; }
  .md\:justify-between { justify-content: space-between; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:px-8        { padding-left: 2rem; padding-right: 2rem; }
  .md\:pt-20       { padding-top: 5rem; }
  .md\:pt-28       { padding-top: 7rem; }
  .md\:pb-24       { padding-bottom: 6rem; }
  .md\:pb-28       { padding-bottom: 7rem; }
  .md\:pb-32       { padding-bottom: 8rem; }
  .md\:py-20       { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:py-24       { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-28       { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:text-4xl    { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl    { font-size: 3rem;    line-height: 1.1; }
  .md\:text-6xl    { font-size: 3.75rem; line-height: 1.05; }
  .md\:text-7xl    { font-size: 4.5rem;  line-height: 1.02; }
  .md\:text-xl     { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:p-12        { padding: 3rem; }
  .md\:p-14        { padding: 3.5rem; }
  .md\:p-16        { padding: 4rem; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:text-7xl    { font-size: 4.5rem;  line-height: 1.02; }
  .lg\:text-8xl    { font-size: 6rem;    line-height: 1; }
  .lg\:col-span-2  { grid-column: span 2 / span 2; }
  .lg\:flex-row    { flex-direction: row; }
}

/* Tailwind important modifier (!py-3, !px-4, etc) */
.\!py-3   { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.\!py-2   { padding-top: 0.5rem  !important; padding-bottom: 0.5rem  !important; }
.\!px-4   { padding-left: 1rem   !important; padding-right: 1rem     !important; }
.\!p-8    { padding: 2rem !important; }
.\!p-10   { padding: 2.5rem !important; }
.\!p-12   { padding: 3rem !important; }
.\!p-14   { padding: 3.5rem !important; }

/* ============================================================
   Reset headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ============================================================
   Layout utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-narrow { max-width: 1060px; }
.container-tight  { max-width: 880px; }

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

.row { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-split { grid-template-columns: 1fr 1fr; }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }

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

.mt-2 { margin-top: 0.5rem; }  .mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }    .mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }  .mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }    .mt-10 { margin-top: 2.5rem; }
.mt-14 { margin-top: 3.5rem; }

.hidden { display: none; }
.block { display: block; }

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
}

/* ============================================================
   Section layout
   ============================================================ */
section {
  position: relative;
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  section { padding: 5rem 0; }
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-lede {
  color: var(--text-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 44rem;
  margin: 1.25rem auto 0;
}

.badge svg,
.eyebrow svg { display: none; }

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(63, 185, 151, 0.12);
  border: 1px solid rgba(63, 185, 151, 0.32);
  color: #9EE9CB;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.badge.badge-purple,
.eyebrow.deep {
  background: rgba(13, 51, 42, 0.55);
  border-color: rgba(63, 185, 151, 0.25);
  color: #9EE9CB;
}

/* ============================================================
   Brand gradient text
   ============================================================ */
.brand-gradient {
  background: linear-gradient(110deg, #7FE6C4 0%, #3FB997 55%, #1A5B47 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   Floating glass nav
   ============================================================ */
.nav-floating {
  position: fixed;
  top: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 1.5rem);
  max-width: 1120px;
  border-radius: var(--radius-full);
  padding: 0.45rem 0.45rem 0.45rem 1.1rem;
  background: rgba(10, 24, 20, 0.6);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 20px 60px -15px rgba(0,0,0,0.6);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: white;
  padding-left: 0.15rem;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.55rem;
  background: #0D332A;
  color: #3FB997;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 14px -4px rgba(63,185,151,0.45);
}
.brand-mark::before { content: 'td'; }
.brand-wordmark {
  height: 1.5rem;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
.brand-wordmark.footer-size { height: 1.75rem; }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.3rem;
}
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-link {
  position: relative;
  padding: 0.55rem 0.95rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 0;
  background: transparent;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-link:hover {
  color: white;
  background: rgba(255,255,255,0.07);
}
.nav-link.active {
  color: white;
  background: rgba(63, 185, 151, 0.18);
}

.nav-cta { display: flex; align-items: center; gap: 0.5rem; }

/* Hide nav Download-app CTA on xs, show sm+ */
.nav-cta-btn { display: none !important; }
@media (min-width: 640px) { .nav-cta-btn { display: inline-flex !important; } }

.nav-toggle {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-full);
  border: 0;
  background: rgba(255,255,255,0.06);
  color: white;
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }
@media (min-width: 900px) { .nav-toggle { display: none; } }

.mobile-drawer {
  position: fixed;
  top: 4.8rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 49;
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  background: rgba(10, 12, 20, 0.9);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mobile-drawer .nav-link { padding: 0.75rem 1rem; }
@media (min-width: 900px) { .mobile-drawer { display: none !important; } }

/* ============================================================
   Buttons
   ============================================================ */
.btn,
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.93rem;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: 0;
  text-decoration: none;
  line-height: 1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn-primary {
  color: #06100C;
  background: linear-gradient(135deg, rgba(127,230,196,0.95) 0%, rgba(63,185,151,0.95) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 -1px 0 rgba(0,0,0,0.18) inset,
    0 10px 28px -10px rgba(63,185,151,0.55),
    0 0 0 1px rgba(63,185,151,0.2);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 14px 34px -10px rgba(63,185,151,0.65), 0 0 0 1px rgba(127,230,196,0.35); }

.btn-ghost {
  color: white;
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }

.btn-block { width: 100%; }
@media (min-width: 640px) { .btn-auto-sm { width: auto; } }

/* App-store style pill */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  color: white;
  white-space: nowrap;
}
.store-btn:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.3); transform: translateY(-1px); }
.store-btn svg { flex-shrink: 0; }
.store-btn .label-sub {
  display: block; font-size: 0.65rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.62); line-height: 1.1;
}
.store-btn .label-main { display: block; font-size: 0.98rem; font-weight: 600; line-height: 1.15; }

/* ============================================================
   Hero bounding box
   ============================================================ */
.page-top { padding-top: 7.25rem; padding-bottom: 2rem; }

.hero-box {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(63,185,151,0.22), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(13,51,42,0.75), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 3rem 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-box { padding: 5rem 3rem; border-radius: 2.25rem; }
}
@media (min-width: 1024px) {
  .hero-box { padding: 6rem 4rem; }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero-lede {
  margin: 1.6rem auto 0;
  max-width: 40rem;
  color: var(--text-body);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.hero-ctas .btn, .hero-ctas .store-btn { width: 100%; }
@media (min-width: 640px) {
  .hero-ctas .btn, .hero-ctas .store-btn { width: auto; }
}

/* ============================================================
   Generic section bounding box
   ============================================================ */
.section-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 2rem;
}
@media (min-width: 768px) { .section-box { padding: 3rem; } }
@media (min-width: 1024px) { .section-box { padding: 4rem; } }
.section-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-3px); }

.card-glow-teal::after,
.card-glow-purple::after,
.card-glow-deep::after {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: var(--radius-full);
  filter: blur(70px);
  opacity: 0.35;
  top: -90px; right: -90px;
  pointer-events: none;
  z-index: 0;
}
.card-glow-teal::after   { background: #3FB997; }
.card-glow-purple::after { background: #5FD2B0; opacity: 0.28; }
.card-glow-deep::after   { background: #0D332A; opacity: 0.8; }
.card > * { position: relative; z-index: 1; }

.card-lg { padding: 2.5rem; border-radius: var(--radius-xl); }
@media (min-width: 768px) { .card-lg { padding: 3.25rem; } }

.icon-bubble {
  width: 2.6rem; height: 2.6rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
}

.card h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.card p  { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

/* Stat card */
.stat { text-align: left; }
.stat .num {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat .label { color: var(--text-muted); font-size: 0.875rem; margin-top: 0.35rem; }

/* ============================================================
   Form fields
   ============================================================ */
input, textarea, select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
textarea { resize: vertical; min-height: 7rem; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.42); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: rgba(63, 185, 151, 0.6);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(63, 185, 151, 0.15);
}
label { color: var(--text-muted); font-size: 0.85rem; }

.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Text colour helpers
   ============================================================ */
.text-body  { color: var(--text-body); }
.text-muted { color: var(--text-muted); }
.text-dim   { color: var(--text-dim); }
.text-brand { color: var(--brand-soft); }

/* ============================================================
   Feature strip row
   ============================================================ */
.feature { display: flex; flex-direction: column; gap: 1rem; }
.feature h3 { margin-top: 1rem; font-size: 1.2rem; }
.feature p  { color: var(--text-muted); line-height: 1.7; font-size: 0.97rem; }

.step-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-soft);
}

/* ============================================================
   Pricing / example rows
   ============================================================ */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.93rem;
}
.price-row + .price-row { margin-top: 0.5rem; }
.price-row .key { color: var(--text-muted); }
.hairline { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent); }

/* ============================================================
   Role row (careers)
   ============================================================ */
.role-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .role-row { flex-direction: row; align-items: center; justify-content: space-between; }
}
.role-row .meta { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.3rem; }

/* ============================================================
   Legal prose
   ============================================================ */
.prose-legal p  { color: #CDD0DA; line-height: 1.75; margin-bottom: 1rem; font-size: 0.97rem; }
.prose-legal h2 { color: white; font-size: 1.5rem; font-weight: 700; margin-top: 2.75rem; margin-bottom: 0.85rem; }
.prose-legal h3 { color: white; font-size: 1.125rem; font-weight: 600; margin-top: 1.75rem; margin-bottom: 0.5rem; }
.prose-legal ul { color: #CDD0DA; list-style: disc; margin-left: 1.5rem; margin-bottom: 1rem; }
.prose-legal li { margin-bottom: 0.5rem; }
.prose-legal a  { color: #5FD2B0; text-decoration: underline; }

/* ============================================================
   Footer
   ============================================================ */
footer { margin-top: 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.8rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a  { color: var(--text-muted); font-size: 0.9rem; transition: color 0.15s ease; }
.footer-col a:hover { color: white; }
.footer-blurb { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; margin-top: 0.85rem; max-width: 24rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.25rem 0;
  font-size: 0.78rem;
  color: var(--text-dim);
  flex-direction: column;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* ============================================================
   Small utility
   ============================================================ */
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================================
   Newsletter form spacing
   ============================================================ */
[data-newsletter-form] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
[data-newsletter-form] input {
  padding: 1rem 1.25rem;
  font-size: 1rem;
}
[data-newsletter-form] button {
  padding: 1rem 1.75rem;
}
@media (min-width: 640px) {
  [data-newsletter-form] { flex-direction: row; }
  [data-newsletter-form] input { flex: 1; }
}

/* Download + newsletter section cards — more breathing room */
#download .card-lg,
#newsletter {
  padding: 2.75rem 2rem;
}
@media (min-width: 768px) {
  #download .card-lg,
  #newsletter { padding: 3.75rem; }
}

/* ============================================================
   Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .btn-primary:hover, .store-btn:hover, .card:hover { transform: none; }
}
