*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f6fb;
  --color-text: #0f0f1a;
  --color-text-muted: #4a4c6a;
  --color-text-on-dark: #e8e9f4;
  --color-primary: #4f46e5;
  --color-primary-hover: #4338ca;
  --color-accent: #7c3aed;
  --color-border: rgba(0, 0, 0, 0.06);
  --color-card-bg: #ffffff;
  --color-glass: rgba(255, 255, 255, 0.45);
  --color-glass-border: rgba(255, 255, 255, 0.5);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1080px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.04), 0 4px 16px rgba(79, 70, 229, 0.04);
  --shadow-card-hover: 0 8px 32px rgba(79, 70, 229, 0.1), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.15);
  --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a78bfa 100%);
  --gradient-text: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 40%, #7c3aed 70%, #a78bfa 100%);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  display: block;
}

/* ── Layout ── */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

main {
  flex: 1;
}

/* ── Scroll Animations ── */

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate][data-delay="1"] { transition-delay: 0.1s; }
[data-animate][data-delay="2"] { transition-delay: 0.2s; }
[data-animate][data-delay="3"] { transition-delay: 0.3s; }
[data-animate][data-delay="4"] { transition-delay: 0.4s; }

/* ── Header / Nav ── */

.site-header {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header:hover {
  box-shadow: 0 4px 24px rgba(79, 70, 229, 0.06);
}

.hero-area .site-header {
  background: rgba(15, 15, 26, 0.3);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Outfit', var(--font-sans);
  font-size: 1.45rem;
  font-weight: 400;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.logo::before,
.logo::after {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 300;
  font-size: 1.1em;
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

.logo::before { content: "["; }
.logo::after { content: "]"; }

.logo:hover {
  opacity: 0.85;
}

.logo:hover::before,
.logo:hover::after {
  opacity: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
}

.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s ease, background 0.25s ease;
  padding: 6px 14px;
  border-radius: 8px;
  position: relative;
}

.nav-links a:hover {
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.06);
}

.nav-links a.active {
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-text);
}

/* ── Hero ── */

.hero {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0f0a2e 0%, #1a1145 25%, #1e1550 40%, #1a1046 60%, #120d33 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.3) 0%, rgba(124, 58, 237, 0.15) 35%, transparent 70%);
  z-index: 0;
  animation: heroGlow 12s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-48%, -52%) scale(1.08); }
  100% { opacity: 0.8; transform: translate(-52%, -48%) scale(1); }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 680px;
  margin: 0 auto 20px;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(196, 196, 226, 0.85);
  max-width: 520px;
  margin: 0 auto;
}

.hero-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: blobFloat 18s ease-in-out infinite alternate;
}

.blob--1 {
  width: 500px;
  height: 500px;
  background: rgba(99, 102, 241, 0.35);
  top: -160px;
  right: -120px;
  animation-duration: 22s;
}

.blob--2 {
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.25);
  bottom: -140px;
  left: -100px;
  animation-duration: 18s;
  animation-delay: -5s;
}

.blob--3 {
  width: 250px;
  height: 250px;
  background: rgba(167, 139, 250, 0.3);
  top: 30%;
  left: 55%;
  animation-duration: 15s;
  animation-delay: -8s;
}

.blob--4 {
  width: 180px;
  height: 180px;
  background: rgba(236, 72, 153, 0.15);
  top: 60%;
  left: 15%;
  animation-duration: 20s;
  animation-delay: -3s;
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -25px) scale(1.06); }
  66% { transform: translate(-25px, 18px) scale(0.94); }
  100% { transform: translate(12px, -12px) scale(1.02); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
  z-index: 3;
}

/* ── Section ── */

.section {
  padding: 80px 0;
  position: relative;
}

.section--alt {
  background: var(--color-bg-alt);
  position: relative;
}

.section--alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.12), transparent);
}

.section--alt::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.12), transparent);
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 44px;
  max-width: 560px;
}

.section-subtitle.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title.center {
  text-align: center;
}

/* ── Feature Grid ── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(79, 70, 229, 0.12);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card .icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease;
}

.feature-card:hover .icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(124, 58, 237, 0.15));
}

.feature-card .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── Approach Block ── */

.approach {
  max-width: 680px;
}

.approach p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ── CTA Button ── */

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(79, 70, 229, 0.35);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.btn-outline:hover {
  background: rgba(79, 70, 229, 0.06);
  border-color: rgba(79, 70, 229, 0.3);
  color: var(--color-primary);
}

/* Hero-specific button override for dark bg */
.hero .btn-primary {
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.hero .btn-primary:hover {
  box-shadow: 0 6px 32px rgba(79, 70, 229, 0.55);
}

.cta-row {
  margin-top: 48px;
  text-align: center;
}

/* ── App Cards ── */

.app-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

.app-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.app-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), transparent 40%, transparent 60%, rgba(124, 58, 237, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover), var(--shadow-glow);
  border-color: transparent;
}

.app-card:hover::after {
  opacity: 1;
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}

.app-card:hover .app-icon {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.app-icon svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
}

.app-icon--habit {
  background: linear-gradient(135deg, #6366f1, #818cf8);
}

.app-icon--focus {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.app-icon--notes {
  background: linear-gradient(135deg, #10b981, #34d399);
}

.app-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.app-card .platforms {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.platform-badge {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 500;
  border: 1px solid var(--color-border);
}

.app-card > p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.app-details-toggle {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  transition: gap 0.25s ease;
}

.app-details-toggle:hover {
  gap: 8px;
}

.app-details-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-details-toggle.open svg {
  transform: rotate(180deg);
}

.app-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease,
              padding-top 0.35s ease,
              margin-top 0.35s ease;
  border-top: 1px solid transparent;
}

.app-details.open {
  max-height: 400px;
  opacity: 1;
  padding-top: 16px;
  margin-top: 16px;
  border-top-color: var(--color-border);
}

.app-details p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.app-details ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.app-details ul li {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.app-details ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.apps-disclaimer {
  text-align: center;
  margin-top: 48px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

/* ── About ── */

.about-content {
  max-width: 680px;
}

.about-content p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.value-item {
  padding: 28px 24px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(79, 70, 229, 0.12);
}

.value-item:hover::before {
  opacity: 1;
}

.value-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.value-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── Contact ── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--color-text-muted);
  font-size: 0.925rem;
  margin-bottom: 8px;
  line-height: 1.7;
}

.contact-info a {
  font-weight: 500;
}

.contact-form {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 32px rgba(79, 70, 229, 0.06);
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid #d4d6e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  margin-bottom: 20px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
  background: #ffffff;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: none;
}

.form-status--success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status--error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ── Legal / Prose Pages ── */

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.prose h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.prose .last-updated {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.prose h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.prose p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.prose ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.prose ul li {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 6px;
  line-height: 1.7;
}

.prose a {
  font-weight: 500;
}

/* ── Page Header (inner pages) ── */

.page-header {
  padding: 72px 0 52px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0f0a2e 0%, #1a1145 30%, #1e1550 50%, #1a1046 70%, #120d33 100%);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 40%;
  width: 600px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.25) 0%, rgba(124, 58, 237, 0.1) 40%, transparent 70%);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
  z-index: 2;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  color: #ffffff;
}

.page-header p {
  color: rgba(196, 196, 226, 0.8);
  font-size: 1rem;
  max-width: 520px;
}

/* ── Footer ── */

.site-footer {
  background: var(--color-bg-alt);
  border-top: none;
  padding: 48px 0 32px;
  margin-top: auto;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.15), transparent);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand .logo {
  display: inline-flex;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-top: 8px;
  line-height: 1.6;
  background: none;
  -webkit-text-fill-color: var(--color-text-muted);
}

.footer-links h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(79, 70, 229, 0.08);
  margin-top: 32px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ── Grain Overlay ── */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* ── Mobile ── */

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .section {
    padding: 56px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .app-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .blob--1 { width: 300px; height: 300px; }
  .blob--2 { width: 220px; height: 220px; }
  .blob--3 { width: 150px; height: 150px; }
  .blob--4 { width: 100px; height: 100px; }
}
