/* Appcora — design tokens & base */
:root {
  --bg: #f5f6f8;
  --bg-elevated: #ffffff;
  --ink: #111318;
  --ink-muted: #5c6370;
  --ink-subtle: #8b929e;
  --line: rgba(17, 19, 24, 0.08);
  --line-strong: rgba(17, 19, 24, 0.12);
  --accent: #5b7c8f;
  --accent-soft: rgba(91, 124, 143, 0.14);
  --glow-a: rgba(139, 168, 191, 0.35);
  --glow-b: rgba(198, 184, 214, 0.28);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(17, 19, 24, 0.05);
  --shadow-md: 0 8px 30px rgba(17, 19, 24, 0.06);
  --shadow-lg: 0 24px 60px rgba(17, 19, 24, 0.08);
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;
  --max: 1120px;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-muted);
  background-color: #f0f3fa;
  background-image: 
    radial-gradient(circle 400px at 15% 10%, rgba(255, 122, 198, 0.5), transparent 100%),
    radial-gradient(circle 500px at 85% 80%, rgba(99, 102, 241, 0.45), transparent 100%),
    radial-gradient(circle 600px at 50% 120%, rgba(56, 189, 248, 0.4), transparent 100%),
    radial-gradient(circle 350px at 90% 20%, rgba(250, 204, 21, 0.35), transparent 100%),
    linear-gradient(180deg, #f0f4f8 0%, #e2e8f0 100%);
  background-attachment: fixed;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.page-home {
  background-color: #fdfbfb;
  background-image: 
    radial-gradient(circle 500px at 80% -10%, rgba(139, 92, 246, 0.5), transparent 100%),
    radial-gradient(circle 450px at 20% 50%, rgba(236, 72, 153, 0.45), transparent 100%),
    radial-gradient(circle 550px at 90% 90%, rgba(14, 165, 233, 0.4), transparent 100%),
    radial-gradient(circle 350px at 10% 90%, rgba(250, 204, 21, 0.3), transparent 100%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

a:hover {
  color: var(--ink);
}

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

.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;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin: 0 0 var(--space-md);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin: 0 0 var(--space-md);
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 var(--space-sm);
}

p {
  margin: 0 0 var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-muted);
  max-width: 36rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-sm);
}

/* Hero tagline: sentence case, not label caps */
.eyebrow--tagline {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 600;
  max-width: 26rem;
  line-height: 1.45;
}

/* Layout */
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .wrap {
    width: min(100% - 3rem, var(--max));
  }
}

.section {
  padding-block: var(--space-3xl);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-4xl);
  }
}

.section--tight {
  padding-block: var(--space-2xl);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-block: var(--space-md);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(145deg, #6d8aa0, #9a86b3);
  box-shadow: var(--shadow-sm);
}

.logo__name {
  color: var(--ink);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .logo__name {
    background-image: linear-gradient(115deg, #1e3a8a 0%, #7e22ce 50%, #e11d48 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: var(--space-xs);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

.nav a {
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: all 0.2s var(--ease);
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.4);
}

.nav a.is-active {
  color: var(--ink);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.site-header--centered .site-header__inner {
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-md);
  padding-block: var(--space-lg);
}

@media (min-width: 900px) {
  .site-header--centered .site-header__inner {
    padding-block: var(--space-md);
  }
}

.site-header--centered .logo {
  margin-inline: auto;
}

.site-header--centered .nav {
  flex-wrap: wrap;
  justify-content: center;
  width: max-content;
  max-width: 100%;
}

.site-header--centered .menu-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.nav-cta {
  margin-left: var(--space-sm);
  padding: 0.55rem 1rem !important;
  background: var(--ink) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-size: 0.875rem !important;
}

.nav-cta:hover {
  opacity: 0.92;
  color: #fff !important;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink);
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle:hover {
  background: rgba(17, 19, 24, 0.05);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--space-md) 0 var(--space-lg);
  border-top: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  font-weight: 500;
}

.mobile-nav a:hover {
  background: rgba(17, 19, 24, 0.04);
  color: var(--ink);
}

.site-header--centered .mobile-nav {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    opacity 0.25s var(--ease), background-color 0.25s var(--ease), backdrop-filter 0.25s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(165deg, #1e2430 0%, #111318 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(17, 19, 24, 0.12), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.btn--primary:hover {
  color: #fff;
  opacity: 0.96;
  box-shadow: 0 8px 28px rgba(17, 19, 24, 0.14), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05), inset 0 0 10px rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), inset 0 0 15px rgba(255, 255, 255, 0.6);
}

.btn--ghost:active {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

/* Hero */
.hero {
  position: relative;
  padding-block: var(--space-3xl) var(--space-2xl);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-block: var(--space-4xl) var(--space-3xl);
  }
}

.hero__bg {
  pointer-events: none;
  position: absolute;
  inset: -35% -20% -10%;
  background: radial-gradient(ellipse 85% 55% at 15% 15%, rgba(56, 189, 248, 0.35), transparent 58%),
    radial-gradient(ellipse 70% 50% at 85% 10%, rgba(192, 132, 252, 0.32), transparent 52%),
    radial-gradient(ellipse 60% 45% at 70% 55%, rgba(251, 113, 133, 0.2), transparent 50%),
    radial-gradient(ellipse 90% 60% at 40% 90%, rgba(52, 211, 153, 0.14), transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--glow-a), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 25%, var(--glow-b), transparent 50%);
  opacity: 1;
}

/* Hero brand — intro headline */
.hero-brand {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
  max-width: 52rem;
  margin-inline: auto;
}

.hero-brand--intro {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  max-width: min(100%, 52rem);
}



.hero-brand__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  text-wrap: balance;
}

.hero-brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 8vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-feature-settings: "kern" 1, "liga" 1;
  color: #1e3a8a;
  padding-inline: var(--space-xs);
}

.hero-brand__tagline {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #4b5563;
  padding-inline: var(--space-xs);
  margin-top: 0.25rem;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-brand__name {
    background-image: linear-gradient(
      115deg,
      #1e3a8a 0%,
      #7e22ce 50%,
      #e11d48 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .hero-brand__tagline {
    background-image: linear-gradient(
      115deg,
      #4b5563 0%,
      #111827 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.75vw, 2rem) !important;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0 0 var(--space-md) !important;
}

.hero-subtitle--center {
  text-align: center;
  margin-inline: auto !important;
  max-width: 34rem;
  color: #5a6570 !important;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem) !important;
  line-height: 1.45 !important;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
  margin-top: var(--space-md);
  padding-top: var(--space-lg);
}

@media (max-width: 959px) {
  .hero__grid > div:first-of-type {
    text-align: center;
  }

  .hero__grid .lead {
    margin-inline: auto;
  }

  .hero__grid .btn-row {
    justify-content: center;
  }
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.phone-stack {
  position: relative;
  width: min(280px, 85vw);
  aspect-ratio: 9 / 18.5;
}

.phone {
  position: absolute;
  width: 78%;
  border-radius: 28px;
  background: linear-gradient(165deg, #1c1f26, #2a3038);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  padding: 10px;
  transform: rotate(-6deg) translateX(-8%);
}

.phone--back {
  right: 0;
  top: 8%;
  transform: rotate(8deg) translateX(8%);
  background: linear-gradient(165deg, #252830, #383e4a);
  z-index: 0;
}

.phone--front {
  z-index: 1;
  left: 50%;
  top: 0;
  transform: translateX(-50%) rotate(-2deg);
}

.hero-glass-container {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  margin-top: var(--space-xl);
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-glass-container {
    padding: var(--space-3xl);
  }
}

.section-block--intro {
  position: relative;
  overflow: hidden;
  padding-bottom: var(--space-4xl);
}

.section-block--intro::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(244, 114, 182, 0.15), transparent 50%);
  z-index: 0;
}

.phone__screen {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  background: linear-gradient(180deg, #e8eef3 0%, #dce4ec 40%, #cfd9e6 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
}

.phone__screen--alt {
  background: linear-gradient(180deg, #ede8f4 0%, #e0d8ef 50%, #d4c9e6 100%);
}

.phone__line {
  width: 36%;
  height: 4px;
  border-radius: 4px;
  background: rgba(17, 19, 24, 0.08);
  margin-bottom: 1rem;
}

.phone__quote {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  opacity: 0.85;
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 10px 40px rgba(31, 38, 135, 0.08), inset 0 0 20px rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}

.card:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 15px 50px rgba(31, 38, 135, 0.12), inset 0 0 30px rgba(255, 255, 255, 0.5);
  transform: translateY(-4px);
}

.card--link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card--link:hover {
  transform: translateY(-2px);
  color: inherit;
}

.card--muted {
  background: rgba(255, 255, 255, 0.6);
  border-style: dashed;
}

.app-card {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .app-card:not(.app-card--centered) {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

.app-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.5rem 0 0.25rem;
  color: var(--ink);
  font-weight: 500;
}

.app-card__tagline {
  font-size: 0.95rem;
  margin: 0;
  color: var(--ink-muted);
}

.app-card__desc {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.app-card__cta {
  margin-top: 1rem;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--accent);
}

.app-card__note {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--ink-subtle);
}

.app-card--centered {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.app-card--centered .app-card__tagline,
.app-card--centered .app-card__desc {
  margin-inline: auto;
  max-width: 28rem;
}

.app-card--centered .app-icon {
  margin-inline: auto;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(145deg, #8ba8bf, #b5a8cc);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.app-icon--sm {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.badge--gradient {
  color: #3730a3;
  background: linear-gradient(120deg, rgba(224, 242, 254, 0.95) 0%, rgba(237, 233, 254, 0.95) 45%, rgba(252, 231, 243, 0.98) 100%);
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

/* Grids */
.grid-2 {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-xl) 0 0;
  display: grid;
  gap: var(--space-md);
}

.feature-list li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.feature-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.feature-list--center li {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
}

.feature-list--center svg {
  margin-top: 0;
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  background: linear-gradient(135deg, #14161c 0%, #252a35 42%, #1e2430 100%);
  color: #c9ced8;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 15% 35%, rgba(56, 189, 248, 0.22), transparent 42%),
    radial-gradient(circle at 88% 25%, rgba(192, 132, 252, 0.2), transparent 40%),
    radial-gradient(circle at 72% 85%, rgba(251, 146, 60, 0.12), transparent 38%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
}

.cta-band .lead {
  color: #a8b0bd;
  margin-inline: auto;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--ink);
}

.cta-band .btn--primary:hover {
  color: var(--ink);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: var(--space-2xl);
  margin-top: var(--space-2xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(248, 250, 252, 0.88) 100%);
}

.footer-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
  }
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin: 0 0 var(--space-md);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Page header */
.page-head {
  padding-block: var(--space-2xl) var(--space-xl);
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.page-head .lead {
  margin-inline: auto;
}

.page-head--solo {
  padding-block: var(--space-2xl) var(--space-sm);
  margin-bottom: var(--space-md);
}

/* Legal prose */
.legal {
  max-width: 42rem;
  margin-inline: auto;
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: var(--space-2xl);
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  font-size: 1.05rem;
  margin-top: var(--space-lg);
}

.legal ul {
  padding-left: 1.25rem;
  margin: 0 0 var(--space-md);
}

.legal li {
  margin-bottom: 0.35rem;
}

.meta-note {
  font-size: 0.875rem;
  color: var(--ink-subtle);
  margin-bottom: var(--space-xl);
}

/* Forms */
.form {
  display: grid;
  gap: var(--space-md);
  max-width: 28rem;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 0.35rem;
}

input,
textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* App detail mockups & slider */
.slider-wrapper {
  position: relative;
  max-width: 100%;
  margin: var(--space-xl) auto 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.screenshot-slider {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: var(--space-md) var(--space-sm);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.screenshot-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.slider-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  flex-shrink: 0;
  z-index: 2;
}

.slider-btn:hover {
  background: var(--surface-hover);
  color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.slider-btn:active {
  transform: translateY(0);
}

.mock-shot {
  flex: 0 0 240px;
  scroll-snap-align: center;
  border-radius: 24px;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(160deg, #eef2f7, #dfe6ef);
  border: 4px solid var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mock-shot:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.mock-shot::after {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.mock-shot--b {
  background: linear-gradient(160deg, #f0ecf6, #e2d9ef);
}

.mock-shot--c {
  background: linear-gradient(160deg, #ecf4f2, #d9e8e4);
}

/* Utilities */
.text-center {
  text-align: center;
}

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

.main-legal {
  text-align: center;
}

.main-legal .legal.card {
  text-align: left;
}

.mt-0 {
  margin-top: 0;
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.stack-lg {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.divider {
  height: 1px;
  background: var(--line);
  margin-block: var(--space-2xl);
}

/* —— Gradient text & ambient sections —— */

.text-gradient {
  color: var(--ink);
  font-weight: inherit;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .text-gradient {
    background-image: linear-gradient(115deg, #1e3a8a 0%, #7e22ce 50%, #e11d48 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.text-gradient--warm {
  color: #9d4b63;
  font-weight: inherit;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .text-gradient--warm {
    background-image: linear-gradient(115deg, #1e3a8a 0%, #7e22ce 50%, #e11d48 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* Softer accent for supporting headlines */
.text-gradient-soft {
  color: #5c6370;
  font-weight: inherit;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .text-gradient-soft {
    background-image: linear-gradient(115deg, #1e3a8a 0%, #7e22ce 50%, #e11d48 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.text-gradient--light {
  color: #fff;
  font-weight: inherit;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .text-gradient--light {
    background-image: linear-gradient(95deg, #ffffff 0%, #bfdbfe 32%, #f9a8d4 62%, #fde68a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.eyebrow--gradient {
  color: var(--accent);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .eyebrow--gradient {
    background-image: linear-gradient(115deg, #1e3a8a 0%, #7e22ce 50%, #e11d48 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.section--mesh {
  position: relative;
  isolation: isolate;
}

.section--mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 75% 90% at 0% 45%, rgba(94, 234, 212, 0.16), transparent 58%),
    radial-gradient(ellipse 65% 85% at 100% 25%, rgba(196, 181, 253, 0.18), transparent 52%),
    radial-gradient(ellipse 55% 70% at 55% 100%, rgba(251, 207, 232, 0.14), transparent 50%);
  pointer-events: none;
}

.section--wash {
  position: relative;
  isolation: isolate;
}

.section--wash::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 80% 100% at 50% -10%, rgba(253, 230, 138, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 80% at 0% 60%, rgba(251, 207, 232, 0.12), transparent 50%),
    radial-gradient(ellipse 65% 75% at 100% 70%, rgba(165, 243, 252, 0.14), transparent 52%);
  pointer-events: none;
}


/* —— Home: centered sections & footer —— */

.main-centered {
  text-align: center;
  overflow-x: hidden;
}

.section-block {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-3xl);
}

@media (min-width: 768px) {
  .section-block {
    padding-block: var(--space-4xl);
  }
}

.section-block__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin-inline: auto;
}

.section-block--apps .section-block__inner {
  max-width: 40rem;
}

.section-block__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section-block--intro {
  padding-block: clamp(2.25rem, 6vw, 3.5rem) clamp(1.75rem, 4vw, 2.75rem);
  min-height: min(52vh, 36rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section-block--intro .section-block__bg {
  background: radial-gradient(ellipse 120% 90% at 50% -20%, rgba(255, 250, 252, 0.95) 0%, transparent 58%),
    radial-gradient(ellipse 80% 60% at 80% 100%, rgba(236, 254, 255, 0.35), transparent 45%),
    linear-gradient(175deg, #fdf8fa 0%, #faf7f8 38%, #f7f8fa 72%, #ffffff 100%);
}

.section-block--apps {
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 48%, #eef1f5 100%);
  border-block: 1px solid rgba(17, 19, 24, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section-block--about {
  background: linear-gradient(168deg, #161a22 0%, #222831 45%, #1a1f28 100%);
  color: #b8c0cc;
}

.section-block--about .section-title {
  color: #fff;
}

.section-block--about .lead {
  color: #c5ccd6;
}

.section-kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9aa5b1;
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 var(--space-md);
}

.lead--narrow {
  max-width: 36rem;
  margin-inline: auto;
}

.btn-row--center {
  justify-content: center;
  margin-top: var(--space-xl);
}

.btn-row--intro-tight {
  margin-top: var(--space-lg);
  margin-bottom: 0;
}

.home-apps-stack {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: stretch;
  text-align: center;
}

.home-apps-stack--after-card {
  margin-bottom: var(--space-xl);
}

.section-block--apps-tight {
  padding-block: var(--space-2xl);
}

@media (min-width: 768px) {
  .section-block--apps-tight {
    padding-block: var(--space-3xl);
  }
}

.section--apps-list {
  padding-bottom: var(--space-2xl);
}

.section--apps-list .home-apps-stack {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.section-foot {
  margin-top: var(--space-2xl);
  margin-bottom: 0;
}

.eyebrow--on-dark {
  color: rgba(210, 220, 232, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.principles {
  list-style: none;
  padding: 0;
  margin: var(--space-2xl) auto 0;
}

.principles--center {
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.principles__item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
}

.principles__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 0.4rem;
}

.principles__item strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.35;
}

.site-footer--centered {
  text-align: center;
  border-top: 1px solid var(--line);
  padding-block: var(--space-3xl);
  margin-top: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, #f0f3f8 100%);
}

.footer-centered {
  max-width: 32rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.logo--footer {
  margin-bottom: 0;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin-top: var(--space-sm);
}

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-email {
  margin: 0;
  font-size: 0.95rem;
}

.footer-copy {
  margin: var(--space-md) 0 0;
  font-size: 0.85rem;
  color: var(--ink-subtle);
}
