/* Frisk — premium app-store marketing surface (dark + purple + teal) */
:root {
  --brand: #f1f5f9;
  --brand-soft: rgba(241, 245, 249, 0.06);
  --primary: #8b7cf0;
  --primary-dark: #6c5ce7;
  --primary-soft: rgba(139, 124, 240, 0.14);
  --primary-line: rgba(139, 124, 240, 0.5);
  --accent-teal: #2dd4bf;
  --accent-teal-soft: rgba(45, 212, 191, 0.12);
  --text: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --surface: rgba(21, 26, 35, 0.65);
  --surface-muted: rgba(15, 23, 42, 0.45);
  --surface-elevated: rgba(26, 32, 44, 0.92);
  --page-bg: #06080d;
  --page-tint: #0c1222;
  --border: rgba(148, 163, 184, 0.12);
  --border-hairline: rgba(148, 163, 184, 0.08);
  --shadow-sheet: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 40px 80px -36px rgba(0, 0, 0, 0.55),
    0 12px 32px -20px rgba(0, 0, 0, 0.4);
  --shadow-float: 0 24px 56px -28px rgba(0, 0, 0, 0.5), 0 12px 32px -18px rgba(139, 124, 240, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-soft: 0 20px 48px -32px rgba(0, 0, 0, 0.45);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-2xl: 28px;
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.75rem;
  --s-7: 2.25rem;
  --s-8: 3rem;
  --s-9: 4.5rem;
  --s-10: 6rem;
  --s-11: 7.5rem;
  --s-12: 8.5rem;
  --content-max: 72rem;
  --showcase-max: 56rem;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  --font-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --lang-chrome-bg: rgba(30, 41, 59, 0.75);
  --lang-chrome-border: rgba(148, 163, 184, 0.14);
  --lang-slot-hover: rgba(255, 255, 255, 0.06);
  --lang-slot-active: rgba(15, 23, 42, 0.95);
  --lang-indicator-glow: rgba(139, 124, 240, 0.35);
  /* Phone mockup: keep 390:844 glass in sync with image assets; paired max-height + width cap */
  --phone-screen-max-h: min(58vh, 32rem);
  --phone-screen-max-h-hero: min(72vh, 40rem);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

::selection {
  background: rgba(139, 124, 240, 0.35);
  color: #f8fafc;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: var(--page-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(139, 124, 240, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 45% at 85% 10%, rgba(45, 212, 191, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(108, 92, 231, 0.1), transparent 55%),
    linear-gradient(180deg, #070a10 0%, var(--page-bg) 38%, #0a0e18 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 0;
}

.site-wrap {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--s-7) var(--s-5) calc(var(--s-10) + var(--s-3));
}

/* Subtle alternating bands behind main content (full-bleed within padded wrap) */
.content-band {
  margin-left: calc(-1 * var(--s-5));
  margin-right: calc(-1 * var(--s-5));
  padding-left: var(--s-5);
  padding-right: var(--s-5);
  border-radius: calc(var(--radius-2xl) + 4px);
}

@media (min-width: 640px) {
  .content-band {
    margin-left: calc(-1 * var(--s-6));
    margin-right: calc(-1 * var(--s-6));
    padding-left: var(--s-6);
    padding-right: var(--s-6);
  }
}

.content-band--a {
  background:
    linear-gradient(180deg, rgba(12, 18, 30, 0.55) 0%, rgba(6, 8, 13, 0.08) 55%, transparent 100%),
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(139, 124, 240, 0.06), transparent 60%);
}

.content-band--b {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.42) 0%, rgba(6, 8, 13, 0.04) 50%, transparent 100%),
    radial-gradient(ellipse 65% 38% at 20% 0%, rgba(45, 212, 191, 0.05), transparent 55%);
}

@media (min-width: 640px) {
  .site-wrap {
    padding: var(--s-8) var(--s-6) calc(var(--s-11) + var(--s-2));
  }
}

/* —— Header —— */
.site-header {
  margin-bottom: var(--s-9);
}

.header-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-5) var(--s-5);
  background: linear-gradient(145deg, rgba(21, 26, 35, 0.88) 0%, rgba(15, 23, 42, 0.72) 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-xl) + 2px);
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

@media (min-width: 720px) {
  .header-bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4) var(--s-6);
    padding: var(--s-4) var(--s-5) var(--s-4) var(--s-5);
  }
}

.header-brand-row {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-width: 0;
}

.header-brand-text {
  min-width: 0;
  text-align: left;
}

@media (max-width: 719px) {
  .header-brand-text {
    flex: 1;
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  font-weight: 600;
  font-variation-settings: "SOFT" 40, "WONK" 0;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brand);
}

.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--border-hairline);
}

.tagline {
  margin-top: var(--s-2);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-tertiary);
  line-height: 1.45;
  max-width: 22rem;
}

.header-lang {
  flex-shrink: 0;
  align-self: stretch;
}

@media (min-width: 720px) {
  .header-lang {
    align-self: center;
  }
}

.header-lang .lang-modal-trigger {
  width: 100%;
  max-width: none;
  margin: 0;
}

@media (min-width: 720px) {
  .header-lang .lang-modal-trigger {
    width: auto;
    min-width: 10.5rem;
  }
}

/* —— Sections (rhythm) —— */
.section {
  margin-top: calc(var(--s-11) + var(--s-3));
  scroll-margin-top: var(--s-8);
}

.section:first-of-type,
main > .hero:first-child {
  margin-top: 0;
}

.section-header {
  max-width: 36rem;
  margin: 0 auto var(--s-8);
  text-align: center;
}

@media (min-width: 720px) {
  .section-header.section-header--left {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
  }
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.05rem);
  font-weight: 600;
  font-variation-settings: "SOFT" 42, "WONK" 0;
  letter-spacing: -0.032em;
  line-height: 1.14;
  color: var(--brand);
  margin-bottom: var(--s-5);
}

.section-lead {
  font-size: 1.03125rem;
  line-height: 1.74;
  color: var(--text-secondary);
  font-weight: 450;
}

/* —— Hero (premium split + device glow) —— */
.hero {
  position: relative;
  overflow: visible;
  background: linear-gradient(155deg, rgba(21, 26, 35, 0.95) 0%, rgba(15, 23, 42, 0.88) 48%, rgba(12, 18, 34, 0.92) 100%);
  border-radius: calc(var(--radius-2xl) + 8px);
  padding: var(--s-9) var(--s-6) var(--s-10);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sheet), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

@media (min-width: 640px) {
  .hero {
    padding: calc(var(--s-10)) var(--s-8) calc(var(--s-10) + var(--s-2));
  }
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-9);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: var(--s-8) var(--s-10);
    align-items: center;
  }
}

.hero-copy {
  text-align: center;
}

@media (min-width: 960px) {
  .hero-copy {
    text-align: left;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .hero-inner {
    margin: 0;
    max-width: 32rem;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: var(--s-5);
  padding: 0.35rem 0.85rem 0.35rem 0.75rem;
  background: var(--accent-teal-soft);
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 999px;
}

.hero-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6.5vw, 3.5rem);
  font-weight: 600;
  font-variation-settings: "SOFT" 48, "WONK" 0;
  letter-spacing: -0.038em;
  line-height: 1.05;
  color: var(--brand);
  margin-bottom: var(--s-5);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 960px) {
  .hero h1 {
    margin-left: 0;
    margin-right: 0;
    max-width: 14ch;
  }
}

.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 34rem;
  margin: 0 auto var(--s-3);
  font-weight: 450;
}

@media (min-width: 960px) {
  .hero-lead {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-sub {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-tertiary);
  font-weight: 500;
  max-width: 32rem;
  margin: 0 auto var(--s-7);
}

@media (min-width: 960px) {
  .hero-sub {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  margin-bottom: 0;
}

@media (min-width: 960px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
}

.hero-device-glow {
  position: absolute;
  width: min(118%, 30rem);
  height: min(108%, 40rem);
  max-height: 78vh;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(139, 124, 240, 0.52) 0%, transparent 58%),
    radial-gradient(ellipse at 28% 58%, rgba(45, 212, 191, 0.28) 0%, transparent 48%),
    radial-gradient(ellipse at 78% 62%, rgba(108, 92, 231, 0.22) 0%, transparent 42%);
  filter: blur(48px);
  opacity: 0.92;
  pointer-events: none;
  z-index: 0;
}

.hero-device-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 22.5rem;
  margin: 0 auto;
  padding-bottom: var(--s-6);
  animation: hero-device-float 6.5s var(--ease-soft) infinite;
  will-change: transform;
}

@media (min-width: 960px) {
  .hero-device-wrap {
    max-width: 25rem;
    margin: 0 auto 0 0;
  }
}

@media (min-width: 1200px) {
  .hero-device-wrap {
    max-width: 27rem;
  }
}

@keyframes hero-device-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-device-wrap {
    animation: none;
  }
}

.hero-device-wrap::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, transparent 72%);
  filter: blur(14px);
  z-index: 0;
}

.phone-frame--hero .phone-screen {
  --phone-screen-max-h: var(--phone-screen-max-h-hero);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.95rem 1.65rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-soft),
    border-color 0.25s var(--ease-soft), color 0.2s var(--ease-soft);
}

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

.btn-primary {
  position: relative;
  color: #f8fafc;
  background: linear-gradient(165deg, #a78bfa 0%, var(--primary-dark) 48%, #4c3d9e 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 2px 0 rgba(0, 0, 0, 0.15) inset,
    0 16px 40px -12px rgba(108, 92, 231, 0.55);
}

.btn-primary:hover {
  background: linear-gradient(165deg, #b49cff 0%, #7c6ae8 45%, var(--primary-dark) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 2px 0 rgba(0, 0, 0, 0.12) inset,
    0 22px 48px -14px rgba(108, 92, 231, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.06) inset,
    0 8px 20px -8px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
  color: var(--brand);
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 8px 24px -12px rgba(0, 0, 0, 0.35);
}

.btn-secondary:hover {
  border-color: rgba(139, 124, 240, 0.45);
  background: rgba(51, 65, 85, 0.75);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 12px 32px -14px rgba(108, 92, 231, 0.2);
}

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

/* —— Features —— */
.features-prologue {
  margin-top: calc(var(--s-12) + var(--s-2));
  margin-bottom: var(--s-8);
  text-align: center;
}

@media (min-width: 720px) {
  .features-prologue {
    text-align: left;
    max-width: 36rem;
  }
}

.features-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--s-3);
}

.features-prologue .section-lead {
  margin: 0 auto;
  max-width: 34rem;
}

@media (min-width: 720px) {
  .features-prologue .section-lead {
    margin: 0;
  }
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-bottom: 0;
}

@media (min-width: 560px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-5);
  }
}

.feature {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-6) var(--s-5);
  min-height: 100%;
  background: rgba(21, 26, 35, 0.55);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: border-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft), transform 0.35s var(--ease-out);
}

.feature:hover {
  border-color: rgba(139, 124, 240, 0.28);
  box-shadow: var(--shadow-float);
  transform: translateY(-4px);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.1) 0%, rgba(108, 92, 231, 0.12) 100%);
  border: 1px solid var(--border-hairline);
  color: var(--accent-teal);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
}

.feature-body strong {
  display: block;
  font-size: 1rem;
  font-weight: 650;
  color: var(--brand);
  margin-bottom: var(--s-2);
  letter-spacing: -0.02em;
}

.feature-body span {
  font-size: 0.875rem;
  line-height: 1.62;
  color: var(--text-secondary);
  font-weight: 450;
}

/* —— Trust —— */
.trust {
  position: relative;
  padding: var(--s-9) var(--s-6);
  background: linear-gradient(168deg, rgba(21, 26, 35, 0.92) 0%, rgba(15, 23, 42, 0.88) 55%, rgba(30, 27, 55, 0.35) 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-2xl) + 4px);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
}

.trust::before {
  content: "";
  position: absolute;
  left: var(--s-6);
  right: var(--s-6);
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.45), rgba(139, 124, 240, 0.45), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.trust-grid {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-8);
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4) var(--s-5);
  }
}

.trust-item {
  position: relative;
  padding: var(--s-6) var(--s-5) var(--s-6) calc(var(--s-5) + 6px);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: border-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}

.trust-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--s-5);
  bottom: var(--s-5);
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--accent-teal) 0%, var(--primary-dark) 100%);
  opacity: 0.65;
}

.trust-item:hover {
  border-color: rgba(139, 124, 240, 0.22);
  box-shadow: 0 16px 40px -24px rgba(0, 0, 0, 0.4);
}

.trust-item h3 {
  font-family: var(--font-display);
  font-size: 1.03125rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--brand);
  margin-bottom: var(--s-3);
  line-height: 1.22;
}

.trust-item-sub {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.82;
  margin-bottom: var(--s-3);
}

.trust-item p {
  font-size: 0.875rem;
  line-height: 1.68;
  color: var(--text-secondary);
  font-weight: 450;
}

/* —— Trust proof strip (understated credibility) —— */
.trust-proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--s-2);
  margin-top: var(--s-8);
  padding: var(--s-5) var(--s-5);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.trust-proof li {
  flex: 1 1 auto;
  min-width: min(100%, 11rem);
  text-align: center;
  padding: var(--s-3) var(--s-4);
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Trust — product highlights (sync, tracking, simplicity) */
.trust-highlights {
  list-style: none;
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-7);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .trust-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-3) var(--s-5);
    max-width: none;
  }
}

@media (min-width: 900px) {
  .trust-highlights {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trust-highlights li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-4);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 450;
  transition: border-color 0.28s var(--ease-soft), box-shadow 0.32s var(--ease-out), transform 0.32s var(--ease-out);
}

.trust-highlights-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.12) 0%, rgba(108, 92, 231, 0.14) 100%);
  border: 1px solid var(--border-hairline);
  color: var(--accent-teal);
}

.trust-highlights-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

@media (hover: hover) {
  .trust-highlights li:hover {
    border-color: rgba(139, 124, 240, 0.24);
    box-shadow: 0 18px 44px -28px rgba(0, 0, 0, 0.45);
    transform: translateY(-3px);
  }
}

@media (min-width: 720px) {
  .trust-proof {
    flex-wrap: nowrap;
    gap: 0;
    padding: var(--s-4) var(--s-2);
  }

  .trust-proof li {
    flex: 1;
    min-width: 0;
    position: relative;
    padding: var(--s-4) var(--s-5);
  }

  .trust-proof li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.15), transparent);
  }
}

/* —— Why / Day flow —— */
.why-grid,
.dayflow-steps {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-7);
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-4) var(--s-5);
  }
}

.why-card,
.dayflow-step {
  padding: var(--s-6) var(--s-5);
  border-radius: var(--radius-xl);
  background: rgba(21, 26, 35, 0.55);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
}

.why-card:hover,
.dayflow-step:hover {
  border-color: rgba(139, 124, 240, 0.22);
  box-shadow: var(--shadow-soft);
}

.why-card h3,
.dayflow-step h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand);
  margin-bottom: var(--s-3);
}

.why-card p,
.dayflow-step p {
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--text-secondary);
  font-weight: 450;
}

.dayflow-steps {
  counter-reset: dayflow;
}

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

.dayflow-step {
  position: relative;
  padding-top: var(--s-7);
}

.dayflow-step::before {
  counter-increment: dayflow;
  content: counter(dayflow, decimal-leading-zero);
  position: absolute;
  top: var(--s-5);
  left: var(--s-5);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--primary);
  opacity: 0.85;
}

/* —— App screenshot showcase (structured sections) —— */
.app-showcase {
  margin-top: calc(var(--s-12) + var(--s-3));
  display: flex;
  flex-direction: column;
  gap: calc(var(--s-12) + var(--s-2));
}

.app-showcase-intro {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 var(--s-2);
}

.app-showcase-intro .section-eyebrow {
  border-bottom-color: var(--border);
}

.app-showcase-intro .section-title {
  margin-bottom: var(--s-4);
}

.app-showcase-intro .section-lead {
  margin: 0 auto;
}

.app-showcase-section {
  position: relative;
  display: grid;
  gap: var(--s-8);
  align-items: center;
  padding: var(--s-9) var(--s-6);
  border-radius: calc(var(--radius-2xl) + 6px);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(21, 26, 35, 0.72) 0%, rgba(15, 23, 42, 0.55) 100%);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
}

.app-showcase-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.62;
  background:
    radial-gradient(ellipse 72% 52% at 82% 18%, rgba(139, 124, 240, 0.14), transparent 55%),
    radial-gradient(ellipse 58% 46% at 12% 82%, rgba(45, 212, 191, 0.09), transparent 50%);
}

/* 👇 ADD HERE */
.app-showcase-section--home::before {
  background:
    radial-gradient(ellipse 72% 52% at 82% 18%, rgba(139, 124, 240, 0.18), transparent 55%),
    radial-gradient(ellipse 58% 46% at 12% 82%, rgba(45, 212, 191, 0.12), transparent 50%);
}

.app-showcase-section--rehab::before {
  background:
    radial-gradient(ellipse 72% 52% at 82% 18%, rgba(45, 212, 191, 0.16), transparent 55%),
    radial-gradient(ellipse 58% 46% at 12% 82%, rgba(139, 124, 240, 0.08), transparent 50%);
}

.app-showcase-section--meal::before {
  background:
    radial-gradient(ellipse 72% 52% at 82% 18%, rgba(139, 124, 240, 0.20), transparent 55%),
    radial-gradient(ellipse 58% 46% at 12% 82%, rgba(108, 92, 231, 0.10), transparent 50%);
}

.app-showcase-section--health::before {
  background:
    radial-gradient(ellipse 72% 52% at 82% 18%, rgba(45, 212, 191, 0.14), transparent 55%),
    radial-gradient(ellipse 58% 46% at 12% 82%, rgba(139, 124, 240, 0.12), transparent 50%);
}

.app-showcase-section--journal::before {
  background:
    radial-gradient(ellipse 72% 52% at 82% 18%, rgba(139, 124, 240, 0.12), transparent 55%),
    radial-gradient(ellipse 58% 46% at 12% 82%, rgba(45, 212, 191, 0.06), transparent 50%);
}

.app-showcase-section--water::before {
  background:
    radial-gradient(ellipse 72% 52% at 82% 18%, rgba(45, 212, 191, 0.14), transparent 55%),
    radial-gradient(ellipse 58% 46% at 12% 82%, rgba(139, 124, 240, 0.10), transparent 50%);
}

.app-showcase-section > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .app-showcase-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: var(--s-10);
    padding: var(--s-10) var(--s-9);
  }

  .app-showcase-section--flip {
    direction: rtl;
  }

  .app-showcase-section--flip > * {
    direction: ltr;
  }

  .app-showcase-section--flip .app-showcase-visual-block {
    align-items: center;
  }
}

.app-showcase-copy {
  max-width: 32rem;
}

.app-showcase-copy .section-eyebrow {
  margin-bottom: var(--s-3);
}

.app-showcase-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--brand);
  margin-bottom: var(--s-4);
}

.app-showcase-lead {
  font-size: 1.03125rem;
  line-height: 1.72;
  color: var(--text-secondary);
  font-weight: 450;
  margin-bottom: 0;
}

.app-showcase-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.app-showcase-bullets li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 450;
}

.app-showcase-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-teal), var(--primary-dark));
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.12);
}

.app-showcase-visual-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-7);
  width: 100%;
}

.app-showcase-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-7);
  width: 100%;
}

.app-showcase-stack .app-showcase-visual {
  width: 100%;
}

.app-showcase-bullets--below {
  margin: 0;
  max-width: 26rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .app-showcase-bullets--below {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .app-showcase-section--flip .app-showcase-bullets--below {
    margin-left: auto;
    margin-right: auto;
  }
}

.app-showcase-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

@media (min-width: 900px) {
  .app-showcase-visual {
    align-items: center;
    justify-content: center;
  }

  .app-showcase-section--flip .app-showcase-visual {
    align-items: center;
    justify-content: center;
  }
}

.app-showcase-device-wrap {
  position: relative;
  width: clamp(16rem, 32vw, 19rem);
  max-width: 100%;
  flex-shrink: 0;
  z-index: 1;
}

@media (min-width: 1200px) {
  .app-showcase-device-wrap {
    width: clamp(17rem, 30vw, 20rem);
  }
}

.app-showcase-glow {
  position: absolute;
  inset: -12% -8% -10%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(108, 92, 231, 0.16) 0%, transparent 52%),
    radial-gradient(ellipse at 35% 70%, rgba(45, 212, 191, 0.10) 0%, transparent 38%);
  filter: blur(28px);
  opacity: 0.78;
  pointer-events: none;
  z-index: 0;
}

.app-showcase-device-wrap::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -6px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.28) 0%, transparent 72%);
  filter: blur(10px);
  z-index: 0;
}

.phone-chassis {
  position: relative;
  width: 100%;
  padding: 4px;
  border-radius: 36px;
  background: linear-gradient(180deg, #1a2130 0%, #0c1119 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 60px -34px rgba(0, 0, 0, 0.65),
    0 10px 24px -16px rgba(108, 92, 231, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -1px 0 rgba(0, 0, 0, 0.35) inset;
  overflow: hidden;
}

.phone-chassis::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 28%;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(6, 10, 15, 0.98) 0%, rgba(15, 20, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
  z-index: 3;
}

.phone-chassis::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 35px;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset;
}

@media (min-width: 900px) {
  .app-showcase-section .phone-chassis {
    transform: rotate(-1deg);
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  }

  .app-showcase-section--flip .phone-chassis {
    transform: rotate(1deg);
  }

  .app-showcase-section:hover .phone-chassis,
  .app-showcase-section--flip:hover .phone-chassis {
    transform: rotate(0deg) translateY(-3px);
  }
}

.phone-screen {
  position: relative;
  aspect-ratio: 390 / 844;
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
}

.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
  transition: transform 0.46s var(--ease-out), filter 0.32s var(--ease-soft);
  filter: saturate(1.02) contrast(1.02);
}

.phone-screen:has(img) .showcase-placeholder {
  display: none;
}

.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.045) 0%,
      rgba(255, 255, 255, 0.015) 14%,
      rgba(255, 255, 255, 0) 34%
    );
  pointer-events: none;
  z-index: 1;
}

.phone-screen img {
  z-index: 0;
  transition: transform 0.46s var(--ease-out), filter 0.32s var(--ease-soft);
  filter: saturate(1.02) contrast(1.02);
}

.showcase-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  padding: var(--s-6);
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(139, 124, 240, 0.12) 0%, transparent 55%),
    linear-gradient(168deg, #151a23 0%, #0b0e14 100%);
  z-index: 0;
}

.showcase-placeholder-inner {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1.2;
}

.showcase-placeholder-hint {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  max-width: 14rem;
  line-height: 1.5;
}

.showcase-placeholder-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(139, 124, 240, 0.35);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.12) 0%, rgba(108, 92, 231, 0.15) 100%);
}

.showcase-placeholder-mark::before {
  content: "";
  display: block;
  margin: 50% auto 0;
  width: 0.85rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(139, 124, 240, 0.7);
  transform: translateY(-50%);
}

.phone-screen img + .showcase-placeholder {
  display: none;
}

/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.app-showcase-section .app-showcase-visual-block.reveal-on-scroll {
  transition-delay: 0.12s;
}

.features .feature:nth-child(1) {
  transition-delay: 0.04s;
}
.features .feature:nth-child(2) {
  transition-delay: 0.1s;
}
.features .feature:nth-child(3) {
  transition-delay: 0.16s;
}
.features .feature:nth-child(4) {
  transition-delay: 0.22s;
}

.features .feature.reveal-on-scroll {
  opacity: 0;
  transform: translateY(1.1rem);
  transition:
    opacity 0.72s var(--ease-out),
    transform 0.78s var(--ease-out),
    border-color 0.3s var(--ease-soft),
    box-shadow 0.3s var(--ease-soft);
}

.features .feature.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .app-showcase-section .app-showcase-visual-block.reveal-on-scroll {
    transition-delay: 0s;
  }

  .features .feature:nth-child(1),
  .features .feature:nth-child(2),
  .features .feature:nth-child(3),
  .features .feature:nth-child(4) {
    transition-delay: 0s;
  }

  .features .feature.reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— Closing CTA —— */
.closing-cta {
  margin-top: calc(var(--s-11) + var(--s-2));
  padding: calc(var(--s-9) + var(--s-2)) var(--s-6) calc(var(--s-9) + var(--s-3));
  text-align: center;
  background: linear-gradient(168deg, rgba(21, 26, 35, 0.95) 0%, rgba(15, 23, 42, 0.88) 55%, rgba(30, 27, 55, 0.25) 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-2xl) + 4px);
  box-shadow: var(--shadow-sheet), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.closing-cta::after {
  content: "";
  display: block;
  clear: both;
}

.closing-cta-inner {
  max-width: 32rem;
  margin: 0 auto;
}

.closing-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.5vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--brand);
  margin-bottom: var(--s-4);
}

.closing-cta .section-lead {
  margin-bottom: var(--s-8);
}

.cta-panel {
  position: relative;
  padding: var(--s-8) var(--s-6) var(--s-7);
  border-radius: calc(var(--radius-xl) + 4px);
  background: linear-gradient(172deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.75) 38%, rgba(108, 92, 231, 0.12) 100%);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 24px 56px -28px rgba(108, 92, 231, 0.2);
  text-align: center;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.25), transparent);
  opacity: 0.9;
}

.cta-panel-label {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: var(--s-3);
  padding: 0.25rem 0.65rem;
  background: var(--accent-teal-soft);
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.22);
}

.cta-panel-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 450;
  margin-bottom: var(--s-6);
  line-height: 1.62;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
}

.store-badges a {
  display: block;
  line-height: 0;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-lg);
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid var(--border-hairline);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-soft), border-color 0.25s var(--ease-soft);
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.store-badges a:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(139, 124, 240, 0.35);
  box-shadow: 0 24px 48px -18px rgba(108, 92, 231, 0.35), 0 1px 0 rgba(255, 255, 255, 1) inset;
}

.store-badges a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.store-badges img {
  height: 56px;
  width: auto;
  display: block;
  border-radius: var(--radius-sm);
}

/* —— Mid-page legal —— */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2) var(--s-6);
  margin: var(--s-9) 0 var(--s-6);
  padding: var(--s-7) 0 0;
  border-top: 1px solid var(--border-hairline);
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--s-2) 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft);
}

.nav-links a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary-line);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 2px;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--s-11) + var(--s-2));
  padding: calc(var(--s-9) + var(--s-2)) var(--s-6) calc(var(--s-9) + var(--s-1));
  background: linear-gradient(176deg, rgba(21, 26, 35, 0.92) 0%, rgba(15, 23, 42, 0.88) 55%, rgba(12, 18, 34, 0.9) 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-2xl) + 6px);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(24px) saturate(1.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 0;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.35), rgba(139, 124, 240, 0.35), transparent);
  opacity: 0.95;
}

.footer-top {
  display: grid;
  gap: calc(var(--s-8) + var(--s-2));
  padding-bottom: calc(var(--s-8) + var(--s-2));
  border-bottom: 1px solid var(--border);
}

@media (min-width: 720px) {
  .footer-top {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.45fr);
    align-items: start;
    gap: var(--s-9);
  }
}

.footer-brand-block .logo {
  margin-bottom: var(--s-4);
}

.footer-brand-block {
  padding-right: var(--s-2);
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--text-secondary);
  font-weight: 450;
  max-width: 23rem;
}

.footer-aside {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

@media (min-width: 560px) {
  .footer-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .footer-aside {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-block {
  min-width: 0;
  padding: var(--s-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.footer-block--lang {
  grid-column: 1 / -1;
}

@media (min-width: 560px) {
  .footer-block--lang {
    grid-column: span 2;
  }
}

@media (min-width: 980px) {
  .footer-block--lang {
    grid-column: auto;
  }
}

.footer-col-title {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-2);
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--brand);
  text-decoration: none;
  width: 100%;
  border-bottom: none;
  border-radius: 8px;
  padding: 0.42rem 0.15rem;
  transition: color 0.2s var(--ease-soft), background 0.2s var(--ease-soft), transform 0.2s var(--ease-soft);
}

.footer-links a:hover {
  color: var(--primary);
  background: rgba(139, 124, 240, 0.12);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-lang-modal {
  margin-top: 0;
  padding: 0;
  border-top: none;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.footer-lang-modal .lang-modal-trigger {
  max-width: none;
  width: 100%;
}

.site-footer .footer-lang-modal {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.footer-bottom {
  padding-top: calc(var(--s-7) + var(--s-1));
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: center;
  text-align: center;
  border-top: 1px solid var(--border);
}

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

.footer-meta {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.65;
  font-weight: 450;
}

.footer-meta strong {
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-trustline {
  max-width: 33rem;
  font-size: 0.72rem;
  line-height: 1.65;
  color: var(--text-secondary);
  letter-spacing: 0.012em;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-hairline);
}

@media (min-width: 640px) {
  .footer-trustline {
    text-align: right;
    margin-left: auto;
  }
}

/* —— Root redirect —— */
.redirect-page {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--s-6);
}

.redirect-card {
  width: 100%;
  max-width: 26rem;
  text-align: center;
  padding: var(--s-8) var(--s-6);
  background: var(--surface-elevated);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sheet);
}

.redirect-card > p:first-of-type {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--brand);
  margin-bottom: var(--s-3);
  letter-spacing: -0.02em;
}

.redirect-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 450;
}

.redirect-card a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--primary-soft);
  transition: color 0.2s;
}

.redirect-card a:hover {
  color: var(--primary-dark);
}

.redirect-lang-modal {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border-hairline);
}

/* Final production polish */
@media (min-width: 720px) {
  .section {
    margin-top: calc(var(--s-10) + var(--s-2));
  }

  .section-header {
    margin-bottom: calc(var(--s-8) + var(--s-1));
  }
}

.section-lead {
  line-height: 1.8;
  letter-spacing: -0.008em;
}

.why-card,
.dayflow-step,
.trust-item,
.footer-links a,
.app-showcase-section {
  transition:
    border-color 0.26s var(--ease-soft),
    box-shadow 0.26s var(--ease-soft),
    transform 0.36s var(--ease-out),
    background 0.26s var(--ease-soft),
    color 0.22s var(--ease-soft);
}

/* Trust strip — pill chips on small screens */
.trust-proof li {
  border-radius: 999px;
  border: 1px solid var(--border-hairline);
  background: rgba(15, 23, 42, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

@media (min-width: 720px) {
  .trust-proof li {
    border: 0;
    background: transparent;
    box-shadow: none;
  }
}

@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px) scale(1.012);
  }

  .btn-secondary:hover {
    transform: translateY(-2px);
  }

  .why-card:hover,
  .dayflow-step:hover,
  .trust-item:hover,
  .footer-block:hover,
  .app-showcase-section:hover {
    transform: translateY(-3px);
  }

  .app-showcase-section:hover .phone-screen img {
    transform: scale(1.01);
    filter: saturate(1.03) contrast(1.03);
  }

  .footer-links a:hover {
    transform: translateX(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-showcase-section,
  .why-card,
  .dayflow-step,
  .trust-item,
  .feature,
  .footer-block,
  .btn,
  .footer-links a,
  .trust-highlights li {
    transition: none !important;
    transform: none !important;
  }
}


/* Support page */
.logo-link{{text-decoration:none;color:inherit;}}
.hero--support{{padding-bottom:clamp(2.5rem,5vw,4rem);}}
.hero-layout--single{{grid-template-columns:minmax(0,1fr);}}
.support-layout{{display:grid;gap:clamp(1.25rem,3vw,2rem);grid-template-columns:minmax(0,1.4fr) minmax(280px,0.85fr);align-items:start;}}
.support-form-card,.support-side-card{{background:rgba(255,255,255,.82);border:1px solid rgba(38,56,49,.08);border-radius:28px;box-shadow:0 20px 60px rgba(17,24,39,.08);backdrop-filter:blur(18px);}}
.support-form-card{{padding:clamp(1.2rem,2.6vw,2rem);}}
.support-side-stack{{display:grid;gap:1rem;}}
.support-side-card{{padding:1.25rem 1.25rem 1.35rem;}}
.support-side-card--soft{{background:linear-gradient(180deg,rgba(247,248,252,.96),rgba(255,255,255,.88));}}
.support-card-intro{{margin-bottom:1rem;}}
.support-endpoint-note{{margin-bottom:1rem;padding:.9rem 1rem;border-radius:18px;background:rgba(108,92,231,.08);border:1px solid rgba(108,92,231,.14);color:var(--text);font-size:.95rem;}}
.support-endpoint-note code{{display:inline-block;margin-top:.35rem;padding:.18rem .45rem;border-radius:999px;background:rgba(26,31,43,.06);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;}}
.support-form{{display:grid;gap:1rem;}}
.support-form-grid{{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr));}}
.support-field{{display:grid;gap:.45rem;font-size:.96rem;color:var(--text);}}
.support-field--wide{{grid-column:1 / -1;}}
.support-field span{{font-weight:600;}}
.support-field input,.support-field select,.support-field textarea{{width:100%;border:1px solid rgba(26,31,43,.11);border-radius:18px;background:rgba(255,255,255,.92);color:var(--text);padding:.9rem 1rem;font:inherit;transition:border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;resize:vertical;}}
.support-field input:focus,.support-field select:focus,.support-field textarea:focus{{outline:none;border-color:rgba(108,92,231,.45);box-shadow:0 0 0 4px rgba(108,92,231,.12);}}
.support-submit{{justify-self:start;}}
.support-checklist{{margin:.85rem 0 0;padding-left:1.2rem;color:var(--muted);display:grid;gap:.75rem;}}
.support-contact-list{{display:grid;gap:1rem;margin-top:.95rem;}}
.support-contact-list strong{{display:block;margin-bottom:.3rem;color:var(--text);}}
.support-contact-list p,.support-contact-list span{{margin:0;color:var(--muted);}}
.support-contact-list a{{color:var(--accent);text-decoration:none;}}
.support-contact-list a:hover{{text-decoration:underline;}}
@media (max-width:920px){{.support-layout{{grid-template-columns:1fr;}}}}
@media (max-width:640px){{.support-form-grid{{grid-template-columns:1fr;}}.support-field--wide{{grid-column:auto;}}.support-form-card,.support-side-card{{border-radius:24px;}}}}


/* ===== Premium polish pass ===== */
:root {
  --content-max: 74rem;
  --shadow-float-strong: 0 32px 90px -42px rgba(0, 0, 0, 0.68), 0 16px 44px -26px rgba(139, 124, 240, 0.16);
}

body {
  letter-spacing: -0.011em;
}

.site-wrap {
  max-width: var(--content-max);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: var(--s-3);
  backdrop-filter: blur(0px);
}

.header-bar {
  position: relative;
  overflow: hidden;
}

.header-bar::after,
.hero-inner::after,
.support-form-card::before,
.support-side-card::before,
.feature::before,
.why-card::before,
.trust-item::before,
.dayflow-step::before,
.app-showcase-section::after,
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.header-bar::after,
.hero-inner::after,
.support-form-card::before,
.support-side-card::before,
.feature::before,
.why-card::before,
.trust-item::before,
.dayflow-step::before,
.site-footer::after {
  background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0));
  opacity: 0.75;
}

.hero-inner,
.feature,
.why-card,
.trust-item,
.dayflow-step,
.support-form-card,
.support-side-card,
.site-footer,
.app-showcase-section {
  position: relative;
  overflow: hidden;
}

.hero-inner {
  box-shadow: var(--shadow-float-strong);
}

.hero-lead,
.hero-sub,
.section-lead,
.footer-tagline {
  text-wrap: pretty;
}

.section-title,
.app-showcase-title,
.hero h1 {
  text-wrap: balance;
}

.feature,
.why-card,
.trust-item,
.dayflow-step {
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255,255,255,0.03) inset;
}

.feature:hover,
.why-card:hover,
.trust-item:hover,
.dayflow-step:hover,
.app-showcase-section:hover {
  border-color: rgba(139, 124, 240, 0.18);
  box-shadow: var(--shadow-float), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.btn {
  min-height: 3.15rem;
  box-shadow: 0 10px 26px -18px rgba(0,0,0,0.5);
}

.btn-primary {
  box-shadow: 0 16px 38px -22px rgba(108, 92, 231, 0.55), 0 6px 18px -12px rgba(0,0,0,0.45);
}

.btn-secondary {
  backdrop-filter: blur(10px);
}

.footer-links a {
  border-radius: 12px;
}

.app-showcase-section::after {
  background: linear-gradient(135deg, rgba(139,124,240,0.06), transparent 38%, transparent 64%, rgba(45,212,191,0.04));
}

.phone-screen img {
  transition: transform 0.5s var(--ease-out), filter 0.4s var(--ease-soft);
}

@media (min-width: 920px) {
  .hero-layout {
    gap: min(7vw, 5rem);
  }

  .app-showcase-section {
    gap: clamp(1.5rem, 4vw, 3.5rem);
  }
}

/* ===== Support page rebuild ===== */
.logo-link {
  text-decoration: none;
  color: inherit;
}

.hero--support {
  padding-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.hero-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.support-layout {
  display: grid;
  gap: clamp(1.2rem, 2.8vw, 2rem);
  grid-template-columns: minmax(0, 1.32fr) minmax(17rem, 0.82fr);
  align-items: start;
}

.support-form-card,
.support-side-card {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.86), rgba(10, 16, 28, 0.82)),
    radial-gradient(circle at top right, rgba(139,124,240,0.14), transparent 34%);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow-sheet);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.support-form-card {
  padding: clamp(1.4rem, 2.8vw, 2.15rem);
}

.support-card-intro {
  margin-bottom: 1rem;
}

.support-side-stack {
  display: grid;
  gap: 1rem;
}

.support-side-card {
  padding: 1.25rem 1.2rem 1.35rem;
}

.support-side-card--soft {
  background:
    linear-gradient(180deg, rgba(16, 24, 37, 0.9), rgba(10, 16, 28, 0.84)),
    radial-gradient(circle at bottom left, rgba(45,212,191,0.08), transparent 34%);
}

.support-endpoint-note {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(139, 124, 240, 0.09);
  border: 1px solid rgba(139, 124, 240, 0.18);
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.support-endpoint-note code {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.42rem;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.79rem;
  overflow-wrap: anywhere;
}

.support-form {
  display: grid;
  gap: 1rem;
}

.support-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.support-field {
  display: grid;
  gap: 0.48rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.support-field span {
  font-weight: 600;
  color: var(--brand);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.support-field--wide {
  grid-column: 1 / -1;
}

.support-field input,
.support-field select,
.support-field textarea {
  width: 100%;
  appearance: none;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.78);
  color: var(--brand);
  padding: 0.96rem 1rem;
  min-height: 3.2rem;
  font: inherit;
  line-height: 1.45;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  transition: border-color 180ms var(--ease-soft), box-shadow 180ms var(--ease-soft), transform 180ms var(--ease-soft), background 180ms var(--ease-soft);
}

.support-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.support-field select {
  padding-right: 2.8rem;
  background-image: linear-gradient(45deg, transparent 50%, rgba(226,232,240,0.7) 50%), linear-gradient(135deg, rgba(226,232,240,0.7) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.support-field input::placeholder,
.support-field textarea::placeholder {
  color: rgba(148, 163, 184, 0.72);
}

.support-field input:hover,
.support-field select:hover,
.support-field textarea:hover {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.9);
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  outline: none;
  border-color: rgba(139, 124, 240, 0.52);
  box-shadow: 0 0 0 4px rgba(139, 124, 240, 0.13), 0 14px 28px -22px rgba(139, 124, 240, 0.5);
  transform: translateY(-1px);
}

.support-submit {
  justify-self: start;
}

.support-status {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.62);
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.support-status.is-visible {
  display: block;
}

.support-status.is-success {
  border-color: rgba(45, 212, 191, 0.28);
  background: rgba(45, 212, 191, 0.08);
  color: #c8fff4;
}

.support-status.is-error {
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.08);
  color: #ffe0e0;
}

.support-submit.is-loading {
  opacity: 0.88;
  pointer-events: none;
}

.support-submit.is-loading::after {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  margin-left: 0.7rem;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.24);
  border-top-color: rgba(255,255,255,0.95);
  display: inline-block;
  vertical-align: -0.14rem;
  animation: support-spin 0.7s linear infinite;
}

@keyframes support-spin {
  to { transform: rotate(360deg); }
}

.support-hp {
  position: absolute !important;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.support-checklist {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.72rem;
  color: var(--text-secondary);
}

.support-contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 0.95rem;
}

.support-contact-list strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--brand);
}

.support-contact-list p,
.support-contact-list span {
  margin: 0;
  color: var(--text-secondary);
}

.support-contact-list a {
  color: var(--brand);
  text-decoration: none;
}

.support-contact-list a:hover,
.support-contact-list a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 920px) {
  .support-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .support-form-grid {
    grid-template-columns: 1fr;
  }

  .support-field--wide {
    grid-column: auto;
  }

  .support-form-card,
  .support-side-card {
    border-radius: 24px;
  }
}
