@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("/assets/fonts/poppins-300.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/poppins-700.woff2") format("woff2");
}

/* Innermy site styles. One palette (violet brand on neutral base), one radius scale (12px), one font family (Outfit).
   Design dials: variance 7, motion 5, density 3. */

:root {
  --bg: #f7f6fb;
  --surface: #fdfcff;
  --ink: #17142a;
  --muted: #5d5975;
  --line: #e2dfef;
  --primary: #4e50ab;
  --primary-ink: #f7f6fb;
  --primary-soft: #ebebf7;
  --accent: #9899dc;
  --band: #303569;
  --band-ink: #f1eefb;
  --shadow: 0 24px 60px -30px rgba(50, 45, 110, 0.35);
  --radius: 12px;
  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #110f1c;
    --surface: #191627;
    --ink: #ebe8f5;
    --muted: #a7a2bd;
    --line: #2a2640;
    --primary: #abaacd;
    --primary-ink: #110f1c;
    --primary-soft: #221f3d;
    --accent: #9899dc;
    --band: #303569;
    --band-ink: #f1eefb;
    --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.7);
  }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }

p { margin: 0; }

.container { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: 16px; top: -48px;
  padding: 8px 12px; background: var(--primary); color: var(--primary-ink);
  border-radius: var(--radius); z-index: 100;
}
.skip-link:focus { top: 16px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: var(--radius);
  background: var(--primary); color: var(--primary-ink);
  font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(0.98); }
.button-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.button) { text-decoration: none; color: var(--muted); font-weight: 500; transition: color 0.2s var(--ease); }
.nav-links a:not(.button):hover { color: var(--ink); }
.nav-toggle {
  display: none; font: inherit; font-weight: 500; color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px;
}

@media (max-width: 767px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.button) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .button { margin-top: 16px; }
}

/* Hero */
.hero { padding: 64px 0 80px; overflow: hidden; position: relative; }
/* Brand glow behind the hero visual: lavender from the logo, kept faint. */
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -10vw; top: -20%; width: 60vw; height: 140%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.9rem); font-weight: 600; max-width: 13ch;
}
.hero h1 .word { display: inline-block; }
.hero-text > p { margin-top: 20px; font-size: 1.2rem; color: var(--muted); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.store-badges a { display: inline-block; border-radius: 8px; transition: transform 0.25s var(--ease); }
.store-badges a:hover { transform: translateY(-2px); }
.store-badges img { height: 48px; width: auto; }
.store-badges img.play { height: 70px; margin: -11px; }

.hero-visual { position: relative; justify-self: end; width: min(100%, 380px); }
/* App screenshots are shown in a simple phone frame. */
.phone {
  display: block; width: 100%; height: auto;
  border-radius: 36px; border: 8px solid #1b1a2e;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,0.06);
  background: #1b1a2e;
}
.hero-visual .phone { transform: rotate(-3deg); }
.hero-visual::after {
  content: ""; position: absolute; inset: 12% -8% -6% 10%; z-index: -1; border-radius: 40px;
  background: linear-gradient(135deg, var(--primary-soft), transparent 70%);
}

@media (max-width: 767px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { justify-self: center; width: min(100%, 300px); }
  .hero-visual .phone { transform: none; }
}

/* Sections */
.section { padding: 96px 0; }
.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }

/* Bento */
.bento {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px;
}
.cell {
  border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cell h3 { font-size: 1.35rem; margin-bottom: 10px; }
.cell p { color: var(--muted); }
.cell-image { grid-row: 1 / 3; padding: 32px 32px 0; border: 0; min-height: 380px; background: var(--primary-soft); display: flex; align-items: flex-end; justify-content: center; }
.cell-image .phone { width: min(100%, 260px); border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; transition: transform 0.8s var(--ease); }
.cell-image:hover .phone { transform: translateY(-8px); }
.cell-tint { background: var(--primary-soft); border-color: transparent; }
.cell-band {
  grid-column: 2 / 4; border: 0; color: var(--band-ink);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(152, 153, 220, 0.5), transparent 55%),
    linear-gradient(135deg, #4e50ab, #303569);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px;
}
.cell-band p { color: color-mix(in srgb, var(--band-ink) 78%, transparent); }
.cell-band .big { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .cell-image { grid-row: 1 / 2; grid-column: 1 / 3; min-height: 260px; }
  .cell-band { grid-column: 1 / 3; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .cell-image, .cell-band { grid-column: auto; }
  .cell-band { grid-template-columns: 1fr; }
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.step {
  display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 36px 0; align-items: start;
}
.step + .step { border-top: 1px solid var(--line); }
.step-num { font-size: 3.2rem; font-weight: 300; line-height: 1; color: var(--primary); letter-spacing: -0.03em; }
.step h3 { font-size: 1.5rem; margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 52ch; }
@media (max-width: 560px) { .step { grid-template-columns: 56px 1fr; gap: 16px; } .step-num { font-size: 2.2rem; } }

/* About panel */
.about { padding: 96px 0 0; }
.about-panel {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding: 48px; border-radius: var(--radius); background: var(--band); color: var(--band-ink);
  background-image: radial-gradient(70% 90% at 100% 100%, rgba(152, 153, 220, 0.35), transparent 60%);
}
.about-panel h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.about-panel a { color: inherit; }
.about-panel p { margin-top: 16px; color: color-mix(in srgb, var(--band-ink) 78%, transparent); max-width: 48ch; }
.about-panel img { width: min(100%, 360px); justify-self: center; border-radius: var(--radius); }
@media (max-width: 767px) { .about-panel { grid-template-columns: 1fr; padding: 32px 24px; } .about-panel img { order: -1; } }

/* Privacy statement */
.statement { text-align: center; padding: 104px 0 8px; }
.privacy-note { padding: 96px 0; }
.privacy-note h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.privacy-note p { margin-top: 14px; max-width: 60ch; color: var(--muted); }
.privacy-note a { display: inline-block; margin-top: 18px; font-weight: 500; color: var(--primary); }
.statement h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 36ch; margin-inline: auto; }
.statement p { margin: 20px auto 0; max-width: 52ch; color: var(--muted); font-size: 1.15rem; }
.statement a { display: inline-block; margin-top: 28px; font-weight: 500; color: var(--primary); }

/* Download band */
.band {
  margin: 0; padding: 88px 0; color: var(--band-ink);
  background:
    radial-gradient(60% 90% at 10% 100%, rgba(78, 80, 171, 0.75), transparent 60%),
    radial-gradient(50% 80% at 90% 0%, rgba(152, 153, 220, 0.4), transparent 60%),
    var(--band);
}
.band-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.band h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.band p { margin-top: 14px; color: color-mix(in srgb, var(--band-ink) 75%, transparent); font-size: 1.15rem; max-width: 40ch; }
.band .button { background: var(--band-ink); color: var(--band); justify-self: end; }
@media (max-width: 767px) {
  .band-grid { grid-template-columns: 1fr; }
  .band .button { justify-self: start; }
}

/* Footer */
.site-footer { padding: 56px 0 32px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 32px; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 30ch; }
.site-footer h2 { font-size: 0.95rem; font-weight: 600; margin-bottom: 12px; }
.site-footer p, .site-footer li { color: var(--muted); font-size: 0.95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-bottom p { font-size: 0.85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Legal and support pages */
.page { padding: 64px 0 96px; }
.page-head { max-width: 70ch; margin-bottom: 40px; }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.page-head .updated { margin-top: 14px; color: var(--muted); }
.page-head .lede { margin-top: 18px; font-size: 1.15rem; color: var(--muted); }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--primary); }
.prose .callout {
  padding: 18px 22px; border-radius: var(--radius); background: var(--primary-soft); margin: 20px 0;
}

.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0 48px;
  padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.contact-card h2 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card .email { font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 500; color: var(--primary); text-decoration: none; word-break: break-all; }
.contact-card p { color: var(--muted); margin-top: 6px; }
@media (max-width: 640px) { .contact-card { grid-template-columns: 1fr; } }

.faq-title { font-size: 1.5rem; margin-top: 48px; }
.faq { max-width: 70ch; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 20px 0; font-size: 1.15rem; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.6rem; color: var(--primary); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; max-width: 62ch; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.notfound p { margin: 16px 0 28px; color: var(--muted); }

/* Motion. Everything here collapses to static under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .word {
    opacity: 0; transform: translateY(24px);
    animation: rise 0.9s var(--ease) forwards;
  }
  .hero h1 .word:nth-child(2) { animation-delay: 70ms; }
  .hero h1 .word:nth-child(3) { animation-delay: 140ms; }
  .hero h1 .word:nth-child(4) { animation-delay: 210ms; }
  .hero h1 .word:nth-child(5) { animation-delay: 280ms; }
  .hero h1 .word:nth-child(6) { animation-delay: 350ms; }
  .hero-text > p, .hero .hero-actions {
    opacity: 0; transform: translateY(16px);
    animation: rise 0.9s var(--ease) forwards;
  }
  .hero-text > p { animation-delay: 0.4s; }
  .hero .hero-actions { animation-delay: 0.55s; }
  .hero-visual { opacity: 0; transform: translateY(20px); animation: rise 1.1s var(--ease) 0.2s forwards; }


  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .bento .cell.reveal:nth-child(2) { transition-delay: 0.08s; }
  .bento .cell.reveal:nth-child(3) { transition-delay: 0.16s; }
  .bento .cell.reveal:nth-child(4) { transition-delay: 0.24s; }
}

@keyframes rise { to { opacity: 1; transform: none; } }
