/* ===== DESIGN TOKENS ===== */
:root {
  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(2.5rem,   0.25rem + 4.6vw,  4.75rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Brand palette – dark mode default */
  --color-bg:             #0d0d14;
  --color-surface:        #12121c;
  --color-surface-2:      #17172a;
  --color-surface-offset: #1c1c30;
  --color-border:         #2a2a40;
  --color-divider:        #222235;
  --color-text:           #e8e8f2;
  --color-text-muted:     #8888aa;
  --color-text-faint:     #444460;
  --color-text-inverse:   #0d0d14;

  /* Brand gradients */
  --grad-main:   linear-gradient(135deg, #7C3AED 0%, #4F46E5 40%, #06B6D4 100%);
  --grad-subtle: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(6,182,212,0.15) 100%);
  --grad-glow:   radial-gradient(ellipse at 60% 40%, rgba(124,58,237,0.3) 0%, transparent 60%);

  --color-primary:       #7C3AED;
  --color-primary-light: #a78bfa;
  --color-cyan:          #06B6D4;
  --color-green:         #10B981;
  --color-amber:         #F59E0B;

  /* Radii */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.875rem;
  --radius-xl:   1.25rem;
  --radius-2xl:  2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.6);
  --shadow-glow:  0 0 40px rgba(124,58,237,0.25);

  /* Transitions */
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts */
  --font-display: 'Clash Display', 'Inter', sans-serif;
  --font-body:    'Satoshi', 'Inter', sans-serif;

  /* Content widths */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;
}

/* Light mode override */
[data-theme="light"] {
  --color-bg:             #f5f4ff;
  --color-surface:        #ffffff;
  --color-surface-2:      #f0effb;
  --color-surface-offset: #ebe9f8;
  --color-border:         #d4d2ef;
  --color-divider:        #dddcf0;
  --color-text:           #1a1830;
  --color-text-muted:     #5a5878;
  --color-text-faint:     #a0a0c0;
  --color-text-inverse:   #ffffff;
  --shadow-sm:    0 1px 3px rgba(100,80,200,0.1);
  --shadow-md:    0 4px 16px rgba(100,80,200,0.12);
  --shadow-lg:    0 12px 40px rgba(100,80,200,0.15);
  --shadow-glow:  0 0 40px rgba(124,58,237,0.12);
  --grad-subtle: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(6,182,212,0.08) 100%);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg:             #f5f4ff;
    --color-surface:        #ffffff;
    --color-surface-2:      #f0effb;
    --color-surface-offset: #ebe9f8;
    --color-border:         #d4d2ef;
    --color-divider:        #dddcf0;
    --color-text:           #1a1830;
    --color-text-muted:     #5a5878;
    --color-text-faint:     #a0a0c0;
    --color-text-inverse:   #ffffff;
    --shadow-sm:    0 1px 3px rgba(100,80,200,0.1);
    --shadow-md:    0 4px 16px rgba(100,80,200,0.12);
    --shadow-lg:    0 12px 40px rgba(100,80,200,0.15);
    --shadow-glow:  0 0 40px rgba(124,58,237,0.12);
    --grad-subtle: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(6,182,212,0.08) 100%);
  }
}

/* ===== BASE RESET ===== */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}
body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1,h2,h3,h4 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li { text-wrap: pretty; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
a, button, [role="button"] {
  transition: color var(--transition), background var(--transition), box-shadow var(--transition), opacity var(--transition), transform var(--transition);
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}
.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-light, #a78bfa);
  margin-bottom: var(--space-4);
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--grad-main);
  border-radius: 2px;
}
.section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
}
.section-header {
  margin-bottom: var(--space-12);
}
.tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  background: var(--grad-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-primary-light, #a78bfa);
}
.stack-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-cyan);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
  cursor: pointer;
}
.btn--sm  { font-size: var(--text-sm);  padding: var(--space-2) var(--space-4); }
.btn--md  { font-size: var(--text-sm);  padding: var(--space-3) var(--space-6); }
.btn--lg  { font-size: var(--text-base); padding: var(--space-4) var(--space-8); }
.btn--xl  { font-size: var(--text-lg);  padding: var(--space-5) var(--space-10); }

.btn--primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn--primary:hover { opacity: 0.9; box-shadow: 0 6px 28px rgba(124,58,237,0.55); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.btn--ghost:hover { background: var(--color-surface-offset); border-color: var(--color-primary); }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 80%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.header--scrolled { box-shadow: var(--shadow-md); }
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.logo__text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav {
  display: flex;
  gap: var(--space-8);
  margin-left: auto;
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-main);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav__link:hover { color: var(--color-text); }
.nav__link:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: var(--space-3); }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--space-6) var(--space-6) var(--space-8);
  border-top: 1px solid var(--color-border);
  gap: var(--space-4);
}
.mobile-menu.open { display: flex; }
.mobile-menu__link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
}
@media (max-width: 960px) {
  .nav, .header__actions .btn--primary { display: none; }
  .burger { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: min(92vh, 960px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-block: clamp(var(--space-12), 5vw, var(--space-24));
}
.hero__bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.orb--1 { width: 600px; height: 600px; background: rgba(124,58,237,0.22); top: -200px; right: -100px; }
.orb--2 { width: 400px; height: 400px; background: rgba(6,182,212,0.18);  bottom: -100px; left: -100px; }
.orb--3 { width: 300px; height: 300px; background: rgba(79,70,229,0.15);  top: 40%; left: 40%; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: center;
  flex: 1;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.badge__dot {
  width: 8px; height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.hero__title {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}
.hero__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 48ch;
  margin-bottom: var(--space-8);
  line-height: 1.65;
}
.hero__cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}
.hero__sub {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.04em;
}

/* Phone mockup */
.hero__phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-mockup {
  position: relative;
  /* height-driven so the phone never overflows the first screen */
  height: clamp(420px, 62vh, 600px);
  max-height: calc(100vh - 220px);
  aspect-ratio: 540 / 1206;
  border-radius: 40px;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  padding: 12px;
}
.phone-mockup__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: var(--color-bg);
  border-radius: 12px;
  z-index: 10;
}
.phone-mockup__screen {
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  height: 100%;
}
.phone-mockup__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-ui {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px 14px 12px;
  gap: var(--space-3);
}
.app-ui__header { padding-top: var(--space-2); }
.app-ui__greeting { font-size: 13px; font-weight: 700; color: var(--color-text); font-family: var(--font-display); }
.app-ui__date { font-size: 10px; color: var(--color-text-muted); margin-top: 2px; }
.app-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 12px;
}
.app-card--budget {}
.app-card__label { font-size: 9px; color: var(--color-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.app-card__value { font-size: 20px; font-weight: 700; font-family: var(--font-display); color: var(--color-text); margin-bottom: 8px; }
.app-card__bar { height: 5px; background: var(--color-surface-offset); border-radius: 3px; overflow: hidden; margin-bottom: 5px; }
.app-card__fill { height: 100%; background: var(--grad-main); border-radius: 3px; }
.app-card__sub { font-size: 9px; color: var(--color-text-muted); }
.app-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.app-card__icon { font-size: 16px; margin-bottom: 4px; }
.app-card__value-sm { font-size: 14px; font-weight: 700; font-family: var(--font-display); color: var(--color-text); }
.app-card--tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(6,182,212,0.1));
  border-color: rgba(124,58,237,0.3);
}
.app-card__tip-icon { font-size: 14px; flex-shrink: 0; }
.app-card__tip-text { font-size: 9px; color: var(--color-text-muted); line-height: 1.4; }
.app-ui__nav {
  display: flex;
  justify-content: space-around;
  padding: 8px 0 4px;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}
.app-nav__item { font-size: 18px; opacity: 0.4; }
.app-nav__item--active { opacity: 1; }

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__desc { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__phone-wrap { order: -1; }
  .phone-mockup { height: clamp(360px, 48vh, 460px); max-height: none; }
  .hero { min-height: auto; padding-block: var(--space-16) var(--space-10); }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
  padding-block: var(--space-8);
}
.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__num { font-size: var(--text-xl); font-weight: 700; font-family: var(--font-display); }
.stat__label { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-1); }
.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--color-divider);
}
@media (max-width: 600px) { .stat__divider { display: none; } }

/* ===== FEATURES ===== */
.features {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-5);
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}
.feature-card--large {
  grid-column: span 2;
}
.feature-card--accent {
  grid-column: span 2;
  background: var(--grad-subtle);
  border-color: rgba(124,58,237,0.25);
}
.feature-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color);
  margin-bottom: var(--space-5);
}
.feature-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.feature-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}
.feature-card__tags { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.feature-card__quote {
  font-size: 72px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.7;
  color: var(--color-primary);
  opacity: 0.3;
  margin-bottom: var(--space-4);
}
.feature-card__quote-text {
  font-size: var(--text-lg);
  color: var(--color-text);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: var(--space-6);
}
.feature-card__author { display: flex; align-items: center; gap: var(--space-3); }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.author__name { font-size: var(--text-sm); font-weight: 600; }
.author__role { font-size: var(--text-xs); color: var(--color-text-muted); }

@media (max-width: 900px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--large, .feature-card--accent { grid-column: span 2; }
}
@media (max-width: 560px) {
  .features__grid { grid-template-columns: 1fr; }
  .feature-card--large, .feature-card--accent { grid-column: span 1; }
}

/* ===== SCREENS ===== */
.screens {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: var(--color-surface);
}
.screens__carousel { position: relative; }
.screens__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), color var(--transition), opacity var(--transition);
}
.screens__arrow:hover { background: var(--color-surface-2); color: var(--color-primary-light); transform: scale(1.06); }
.screens__arrow:focus-visible { outline: 2px solid var(--color-primary-light); outline-offset: 2px; }
.screens__arrow--prev { left: 0; }
.screens__arrow--next { right: 0; }
@media (max-width: 768px) { .screens__arrow { display: none; } }
@media (hover: none) and (pointer: coarse) { .screens__arrow { display: none; } }
.screens__scroll-wrap {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-inline: calc(-1 * clamp(var(--space-6), 5vw, var(--space-16)));
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
  padding-block: var(--space-4);
}
.screens__scroll-wrap::-webkit-scrollbar { display: none; }
.screens__track {
  display: flex;
  gap: var(--space-6);
  width: max-content;
  /* lets the first and last screens sit in the centre of the carousel */
  padding-inline: calc(50% - 115px);
}
@media (max-width: 560px) { .screens__track { padding-inline: calc(50% - 100px); } }
.screen-card {
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.screen-card { margin: 0; }
.screen-card__phone {
  width: 230px;
  border-radius: 36px;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  aspect-ratio: 540 / 1206;
  padding: 10px;
}
.screen-card__phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  background: #000;
}
@media (max-width: 560px) { .screen-card__phone { width: 200px; } }
.screen-ui {
  height: 100%;
  border-radius: 26px;
  background: var(--color-bg);
  padding: 36px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow: hidden;
}
.su__status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--color-text-muted);
  padding: 0 2px;
  position: absolute;
  top: 20px;
  left: 28px;
  right: 28px;
}
/* position status-bar inside screen-card__phone */
.screen-card__phone { position: relative; }
.su__greeting { font-size: 13px; font-weight: 700; color: var(--color-text); font-family: var(--font-display); }
.su__date { font-size: 9px; color: var(--color-text-muted); }
.su__big-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px;
}
.su__bc-label { font-size: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin-bottom: 3px; }
.su__bc-value { font-size: 18px; font-weight: 700; font-family: var(--font-display); color: var(--color-text); margin-bottom: 6px; }
.su__bc-bar { height: 4px; background: var(--color-surface-offset); border-radius: 3px; overflow: hidden; margin-bottom: 4px; }
.su__bc-sub { font-size: 8px; color: var(--color-text-muted); }
.su__row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.su__mini-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 8px;
  font-size: 9px;
  font-weight: 600;
  color: var(--c, var(--color-text));
}
.su__tip {
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(6,182,212,0.1));
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 10px;
  padding: 8px;
  font-size: 9px;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.su__page-title { font-size: 15px; font-weight: 700; font-family: var(--font-display); color: var(--color-text); margin-bottom: 2px; }
.su__balance {
  background: var(--grad-main);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.su__bal-label { font-size: 9px; color: rgba(255,255,255,0.7); margin-bottom: 2px; }
.su__bal-value { font-size: 20px; font-weight: 700; font-family: var(--font-display); color: #fff; }
.su__tx-list { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.su__tx {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 8px;
  background: var(--color-surface);
  border-radius: 8px;
  font-size: 9px;
}
.su__tx-neg { color: #f87171; font-weight: 600; }
.su__tx-pos { color: #4ade80; font-weight: 600; }
.su__add-btn {
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  color: var(--color-primary-light, #a78bfa);
  padding: 8px;
  background: rgba(124,58,237,0.1);
  border: 1px dashed rgba(124,58,237,0.3);
  border-radius: 8px;
  margin-top: auto;
}
.su__task-list { display: flex; flex-direction: column; gap: 4px; }
.su__task {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: var(--color-surface);
  border-radius: 8px;
  font-size: 9px;
  color: var(--color-text);
}
.su__task--done { color: var(--color-text-muted); }
.su__chk {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  flex-shrink: 0;
}
.su__chk--done {
  background: var(--grad-main);
  border-color: transparent;
  position: relative;
}
.su__chk--done::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: white;
}
.su__progress { margin-top: auto; }
.su__pr-label { font-size: 8px; color: var(--color-text-muted); margin-bottom: 4px; }
.su__pr-bar { height: 4px; background: var(--color-surface-offset); border-radius: 3px; overflow: hidden; }
.su__health-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.su__h-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.su__h-icon { font-size: 18px; margin-bottom: 4px; }
.su__h-val { font-size: 12px; font-weight: 700; color: var(--hc, var(--color-text)); font-family: var(--font-display); }
.su__h-label { font-size: 8px; color: var(--color-text-muted); margin-top: 2px; }

.screen-card__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}
.screens__dots {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-8);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}
.dot--active { width: 24px; background: var(--grad-main); }

/* ===== ABOUT ===== */
.about {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-16);
  align-items: center;
}
.about__visual {
  display: flex;
  justify-content: center;
}
.about__glyph {
  position: relative;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}
.about__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  max-width: 60ch;
}
.about__stack { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
@media (max-width: 768px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { order: 0; }
}

/* ===== DOWNLOAD ===== */
.download {
  position: relative;
  padding-block: clamp(var(--space-20), 10vw, var(--space-32));
  text-align: center;
  overflow: hidden;
}
.download__bg {
  position: absolute;
  inset: 0;
  background: var(--grad-main);
  opacity: 0.06;
}
.download__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.3) 0%, transparent 70%);
}
.download__inner { position: relative; z-index: 1; }
.download__badge {
  display: inline-block;
  padding: var(--space-2) var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: var(--space-6);
}
.download__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-5);
  color: var(--color-text);
}
.download__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 50ch;
  margin: 0 auto var(--space-10);
}
.download__cta { margin-bottom: var(--space-5); }
.download__note { font-size: var(--text-xs); color: var(--color-text-faint); letter-spacing: 0.06em; }

/* ===== FOOTER ===== */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-8);
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-left: auto;
}
.footer__nav {
  display: flex;
  gap: var(--space-6);
}
.footer__nav a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.footer__nav a:hover { color: var(--color-text); }

@media (max-width: 640px) {
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__copy { margin-left: 0; }
}

/* ===== SCROLL ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .reveal.visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ===== MODULES ===== */
.modules {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: var(--color-surface);
}
.modules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.module-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.module-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-subtle);
  opacity: 0;
  transition: opacity var(--transition);
}
.module-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary); transform: translateY(-3px); }
.module-card:hover::before { opacity: 1; }
.module-card__num {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: var(--space-4);
  opacity: 0.25;
  position: relative;
}
.module-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--ib);
  color: var(--ic);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  position: relative;
}
.module-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
  position: relative;
}
.module-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-6);
  position: relative;
}
.module-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
}
.module-card__list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}
.module-card__list li::before {
  content: '→';
  color: var(--color-primary-light, #a78bfa);
  flex-shrink: 0;
  font-weight: 700;
}
@media (max-width: 900px) { .modules__grid { grid-template-columns: 1fr; } }

/* ===== FEATURES UPDATED ===== */
.features {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.features__block-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.features__block-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--ib);
  color: var(--ic);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.features__block-label {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-display);
}
.features__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.feature-card--highlight {
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(6,182,212,0.08));
  border-color: rgba(124,58,237,0.3);
}
.feature-card--wide {
  grid-column: span 2;
}
.feature-card__ai-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary-light, #a78bfa);
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  margin-bottom: var(--space-4);
}
@media (max-width: 1000px) { .features__cards { grid-template-columns: repeat(2, 1fr); } .feature-card--wide { grid-column: span 2; } }
@media (max-width: 560px)  { .features__cards { grid-template-columns: 1fr; } .feature-card--wide { grid-column: span 1; } }

/* ===== SCREEN UI (updated) ===== */
.su__topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  margin-bottom: 8px;
}
.su__logo-dot { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; }
.su__topbar-title { font-size: 11px; font-weight: 700; color: var(--color-text); font-family: var(--font-display); }
.su__search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 9px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.su__banner-art {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 10px;
  padding: 10px;
  position: relative;
  margin-bottom: 8px;
}
.su__ban-title { font-size: 11px; font-weight: 700; color: #fff; }
.su__ban-sub { font-size: 8px; color: rgba(255,255,255,0.8); margin-top: 2px; }
.su__ban-arr { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #fff; font-size: 16px; font-weight: 700; }
.su__art-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border-radius: 8px;
  padding: 6px;
  margin-bottom: 4px;
}
.su__art-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.su__art-name { font-size: 9px; font-weight: 600; color: var(--color-text); }
.su__art-info { font-size: 8px; color: var(--color-text-muted); margin-top: 2px; }
.su__bottomnav {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--color-border);
  padding-top: 6px;
}
.su__navit { font-size: 8px; color: var(--color-text-muted); text-align: center; }
.su__navit--on { color: var(--color-primary-light, #a78bfa); font-weight: 700; }

/* Recipe screen */
.su__recipe-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 8px; }
.su__rec-btn {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px;
  font-size: 8px;
  font-weight: 600;
  color: var(--color-text);
}
.su__recipe-card {
  background: var(--color-surface);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 4px;
}
.su__rec-img {
  height: 60px;
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.su__rec-name { font-size: 9px; font-weight: 700; color: var(--color-text); padding: 6px 6px 2px; }
.su__rec-meta { font-size: 8px; color: var(--color-text-muted); padding: 0 6px 6px; }

/* Finance screen */
.su__fin-head { padding: 4px 0 8px; }
.su__fin-hl { font-size: 14px; font-weight: 800; color: var(--color-text); font-family: var(--font-display); }
.su__fin-sub { font-size: 8px; color: var(--color-text-muted); margin-top: 2px; }
.su__fin-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 6px; }
.su__fin-big {
  border-radius: 12px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 70px;
}
.su__fin-big-icon { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.su__fin-big-label { font-size: 9px; font-weight: 700; color: #fff; }
.su__fin-med {
  background: var(--color-surface);
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
}
.su__fin-btn-outline {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 8px;
  font-size: 9px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.su__fin-add {
  background: var(--color-surface-offset);
  border-radius: 10px;
  padding: 8px;
  font-size: 9px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 8px;
}

/* Finance categories */
.su__cat-section { font-size: 9px; font-weight: 700; color: var(--color-text); margin: 6px 0 4px; }
.su__tag-card {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  background: var(--color-surface);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 6px;
}
.su__tag-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.su__tag-body { flex: 1; min-width: 0; }
.su__tag-name { font-size: 9px; font-weight: 700; color: var(--color-text); }
.su__tag-spent { font-size: 7px; color: var(--color-text-muted); }
.su__tag-limit { font-size: 7px; color: #4ade80; }
.su__tag-bar { height: 3px; background: var(--color-surface-offset); border-radius: 2px; overflow: hidden; margin-top: 3px; }
.su__goal-card {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  background: var(--color-surface);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 6px;
}
.su__goal-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.su__goal-body { flex: 1; min-width: 0; }
.su__goal-name { font-size: 9px; font-weight: 700; color: var(--color-text); }
.su__goal-meta { font-size: 7px; color: var(--color-text-muted); margin-top: 1px; }

/* ===== AI SECTION ===== */
.ai-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: var(--color-surface);
}
.ai-section__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.ai-section__steps {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}
.ai-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  flex: 1;
  min-width: 120px;
}
.ai-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-main);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-step__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.ai-step__arrow {
  font-size: var(--text-lg);
  color: var(--color-text-faint);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 4px;
}
.ai-card {
  background: var(--color-bg);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: 0 0 40px rgba(124,58,237,0.12);
}
.ai-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary-light, #a78bfa);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.ai-card__budget {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.ai-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.ai-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.ai-item__check {
  color: #10B981;
  font-weight: 700;
  flex-shrink: 0;
}
.ai-item--muted { color: var(--color-text-faint); }
.ai-card__total {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #10B981;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .ai-section__inner { grid-template-columns: 1fr; }
  .ai-section__steps { flex-direction: column; align-items: flex-start; }
  .ai-step__arrow { display: none; }
}

/* ===== HERO phone (updated) ===== */
.app-ui__statusbar {
  position: absolute;
  top: 16px;
  left: 30px;
  font-size: 9px;
  color: var(--color-text-muted);
}
.app-ui__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.app-ui__logo-dot {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
}
.app-ui__title-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-display);
}
.app-ui__search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 9px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.app-ui__banner {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 10px;
  padding: 10px;
  position: relative;
  margin-bottom: 8px;
}
.app-ui__banner-title { font-size: 11px; font-weight: 700; color: #fff; }
.app-ui__banner-sub { font-size: 8px; color: rgba(255,255,255,0.8); }
.app-ui__banner-arrow { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #fff; font-size: 14px; font-weight: 700; }
.app-ui__article {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border-radius: 8px;
  padding: 6px;
}
.app-ui__art-img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-ui__art-title { font-size: 9px; font-weight: 600; color: var(--color-text); }
.app-ui__art-meta { font-size: 8px; color: var(--color-text-muted); margin-top: 2px; }
.app-ui__bottomnav {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--color-border);
  padding-top: 8px;
}
.app-ui__navitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 8px;
  color: var(--color-text-muted);
}
.app-ui__navitem--active {
  color: var(--color-primary-light, #a78bfa);
  font-weight: 700;
}

/* ===== DEMO (VIDEO) ===== */
.demo {
  position: relative;
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: var(--color-bg);
}
.demo__video {
  position: relative;
  max-width: var(--content-default);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.demo__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.demo__video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  color: var(--color-text-muted);
  background: var(--grad-subtle);
}
.demo__video-placeholder svg { color: var(--color-primary-light); }
.demo__video-placeholder p { font-size: var(--text-sm); letter-spacing: 0.04em; }
.demo__video-link {
  text-align: center;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
}
.demo__video-link a { color: var(--color-primary-light); }
.demo__video-link a:hover { color: var(--color-text); }
/* ===== ABOUT THE PROJECT + GRANT SUPPORT ===== */
.support {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: var(--color-bg);
}
.support__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: start;
}
.support__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-5);
  max-width: 62ch;
}
.support__text:first-child { color: var(--color-text); font-size: var(--text-lg); }
.support__card {
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  position: sticky;
  top: 96px;
}
.support__grant {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.7;
}
.support__logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.support__logos .logo-plate--dark { grid-column: span 2; }
.logo-plate {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.logo-plate:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.logo-plate--light { background: #ffffff; }
.logo-plate--dark  { background: #0d0d14; }
.logo-plate img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 900px) {
  .support__grid { grid-template-columns: 1fr; }
  .support__card { position: static; }
}
@media (max-width: 480px) {
  .support__logos { grid-template-columns: 1fr; }
  .support__logos .logo-plate--dark { grid-column: span 1; }
}
