/* ─── Tokens ────────────────────────────────────────────── */
:root {
  --color-dark:      #1c1c22;
  --color-dark-2:    #2d2d35;
  --color-bg:        #f8f6f1;
  --color-surface:   #f2ede7;
  --color-surface-2: #e8e4de;
  --color-border:    #e4e1da;
  --color-accent:    #22c55e;
  --color-accent-dim:rgba(34,197,94,0.12);
  --color-text:      #1c1c22;
  --color-muted:     #6b6867;

  --card-warm:    #eeebe4;
  --card-lavender:#e6dff5;
  --card-dark:    #1c1c22;

  --radius-card:  22px;
  --radius-btn:   999px;
  --shadow-hover: 0 12px 40px rgba(28,28,34,0.09), 0 2px 8px rgba(28,28,34,0.05);

  --font:       'Sora', system-ui, sans-serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
  --max-width:  1120px;
  --nav-height: 68px;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ─── Container ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ─── Eyebrow ────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 20px;
}
.eyebrow__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97) translateY(0); }

.btn--dark {
  background: var(--color-dark);
  color: #fff;
}
.btn--dark:hover {
  background: var(--color-dark-2);
  box-shadow: 0 4px 20px rgba(28,28,34,0.20);
}

/* ─── Store Buttons ──────────────────────────────────────── */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--color-dark);
  color: #fff;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.store-btn:hover {
  background: var(--color-dark-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(28,28,34,0.18);
}
.store-btn:active { transform: scale(0.97); }
.store-btn__line1 {
  display: block;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.6;
  line-height: 1;
}
.store-btn__line2 {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

/* ─── Launch Status ──────────────────────────────────────── */
.launch-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34,197,94,0.45); }
  50%       { opacity: 0.85; transform: scale(1.12); box-shadow: 0 0 0 7px rgba(34,197,94,0); }
}
.launch-status__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.launch-status__label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}
.launch-status__sub {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.3;
}
.btn--disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
.hero .launch-status { margin-inline: auto; }

/* ─── Nav ────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(248,246,241,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled {
  border-color: var(--color-border);
  background: rgba(248,246,241,0.96);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--color-text);
}
.nav__logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.nav .btn {
  margin-left: auto;
  padding: 9px 20px;
  font-size: 13px;
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  padding-block: 100px 80px;
  text-align: center;
  overflow: hidden;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}
.hero__text { max-width: 600px; }
.hero__headline {
  font-family: var(--font);
  font-size: clamp(42px, 6.5vw, 72px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.05;
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero__headline em {
  font-style: italic;
  color: var(--color-accent);
}
.hero__sub {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 440px;
  margin: 0 auto 36px;
  text-wrap: pretty;
}
.hero .store-buttons { justify-content: center; }

/* ─── Hero Phone ─────────────────────────────────────────── */
.hero__phone {
  position: relative;
  display: inline-flex;
  justify-content: center;
  padding-inline: 130px;
}
.hero__phone::before {
  content: '';
  position: absolute;
  inset: -40px 0;
  background: radial-gradient(ellipse 80% 70% at 50% 60%, rgba(180,170,155,0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__screenshot {
  width: 290px;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 32px 64px rgba(28,28,34,0.18)) drop-shadow(0 8px 20px rgba(28,28,34,0.09));
  animation: phoneEntrance 0.75s cubic-bezier(0.22,1,0.36,1) 0.36s both;
}

/* ─── Float Badges ───────────────────────────────────────── */
.float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  padding: 8px 14px 8px 10px;
  box-shadow: 0 4px 20px rgba(28,28,34,0.07), 0 1px 3px rgba(28,28,34,0.04);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}
.float-badge__emoji {
  font-size: 17px;
  line-height: 1;
}
.float-badge--1 {
  top: 12%;
  left: 0;
  animation: floatBob 3.5s ease-in-out 1.3s infinite;
}
.float-badge--2 {
  top: 44%;
  right: 0;
  animation: floatBob 3.5s ease-in-out 2.1s infinite;
}
.float-badge--3 {
  bottom: 20%;
  left: 0;
  animation: floatBob 3.5s ease-in-out 2.9s infinite;
}

/* ─── Features Intro ─────────────────────────────────────── */
.features-intro {
  padding-block: 96px 48px;
}
.features-intro__inner {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.features-intro__desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.75;
  max-width: 220px;
  flex-shrink: 0;
  padding-top: 10px;
}
.features-intro__title {
  flex: 1;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  text-wrap: balance;
}

/* ─── Feature Cards ──────────────────────────────────────── */
.features {
  padding-block: 0 96px;
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.feature-card--warm    { background: var(--card-warm); }
.feature-card--lavender { background: var(--card-lavender); }
.feature-card--dark    { background: var(--card-dark); color: #fff; }

.feature-card__top {
  flex: 1;
  padding: 28px 28px 0;
}
.feature-card__icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(28,28,34,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--color-dark);
  flex-shrink: 0;
}
.feature-card__icon-btn--light {
  background: rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.85);
}
.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.feature-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
}
.feature-card--dark h3 { color: #fff; }
.feature-card--dark p  { color: rgba(255,255,255,0.44); }

.feature-card__img {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: 24px;
  overflow: hidden;
}
.feature-card__img img {
  width: 150px;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(28,28,34,0.12));
}
.feature-card--dark .feature-card__img img {
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.50));
}

/* ─── How It Works ───────────────────────────────────────── */
.how {
  padding-block: 96px;
  background: var(--color-surface);
}
.how__header {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 60px;
}
.how__header-left { flex: 1; }
.how__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  text-wrap: balance;
}
.how__header-right {
  flex: 1;
  padding-top: 8px;
}
.how__desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 380px;
}
.how__body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 64px;
}
.how__steps {
  display: flex;
  flex-direction: column;
}
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-surface-2);
}
.how-step:last-child { border-bottom: none; }
.how-step__num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  min-width: 28px;
  padding-top: 3px;
}
.how-step__content strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--color-text);
  margin-bottom: 4px;
}
.how-step__content p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.65;
}
.how__phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.how__screenshot {
  width: 220px;
  filter: drop-shadow(0 20px 48px rgba(28,28,34,0.14));
}
.how__btn {
  width: 100%;
  justify-content: center;
}

/* ─── CTA / Download ─────────────────────────────────────── */
.cta {
  padding-block: 96px 0;
}
.cta__inner {
  display: flex;
  align-items: center;
  gap: 80px;
}
.cta__left { flex: 1; min-width: 0; }
.cta__title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.0;
  margin-bottom: 16px;
  text-wrap: balance;
}
.cta__sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: 36px;
  max-width: 380px;
  line-height: 1.65;
}
.cta__right { flex-shrink: 0; }
.cta__screenshot {
  width: 260px;
  filter: drop-shadow(0 24px 56px rgba(28,28,34,0.15));
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--color-border);
  padding-block: 40px 32px;
  margin-top: 80px;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer__tagline {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-muted);
  font-style: italic;
}
.footer__nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
}
.footer__nav a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 500;
  transition: color 0.15s;
}
.footer__nav a:hover { color: var(--color-text); }
.footer__copy {
  width: 100%;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(107,104,103,0.65);
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  margin-top: 8px;
}
.footer__legal {
  display: inline-flex;
  gap: 16px;
  margin-left: 20px;
}
.footer__legal a {
  font-size: 12px;
  color: rgba(107,104,103,0.75);
  transition: color 0.15s;
}
.footer__legal a:hover { color: var(--color-text); }

/* ─── Legal Pages ────────────────────────────────────────── */
.legal-hero {
  padding-block: 72px 48px;
  border-bottom: 1px solid var(--color-border);
}
.legal-hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 12px;
}
.legal-hero__meta {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-muted);
}
.legal-content {
  padding-block: 64px 96px;
}
.legal-body {
  max-width: 720px;
}
.legal-intro {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-muted);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
}
.legal-body h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-top: 48px;
  margin-bottom: 14px;
  color: var(--color-text);
}
.legal-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--color-text);
}
.legal-body p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: #4a4845;
  margin-bottom: 16px;
}
.legal-body ul,
.legal-body ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-body ol { list-style: decimal; }
.legal-body li {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: #4a4845;
  margin-bottom: 8px;
}
.legal-body a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a:hover { color: var(--color-accent); text-decoration: none; }
.legal-body address {
  font-style: normal;
  font-family: var(--font-body);
  background: var(--color-surface);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 8px;
}
.legal-body address p { margin-bottom: 0; }

/* ─── Page Load Animations ───────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes phoneEntrance {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatBob {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}

.hero .eyebrow       { animation: fadeUp 0.55s cubic-bezier(0.22,1,0.36,1) 0.05s both; }
.hero__headline      { animation: fadeUp 0.55s cubic-bezier(0.22,1,0.36,1) 0.13s both; }
.hero__sub           { animation: fadeUp 0.55s cubic-bezier(0.22,1,0.36,1) 0.21s both; }
.hero .store-buttons { animation: fadeUp 0.55s cubic-bezier(0.22,1,0.36,1) 0.29s both; }

/* ─── Scroll Reveals ─────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity   0.65s cubic-bezier(0.22,1,0.36,1) calc(var(--reveal-delay, 0) * 1ms),
      transform 0.65s cubic-bezier(0.22,1,0.36,1) calc(var(--reveal-delay, 0) * 1ms);
  }
  .reveal-item.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Responsive — Tablet ────────────────────────────────── */
@media (max-width: 960px) {
  .features-intro__inner {
    flex-direction: column;
    gap: 20px;
  }
  .features-intro__desc { max-width: 100%; }
  .features-intro__title { font-size: clamp(28px, 5vw, 44px); }

  .feature-cards { grid-template-columns: 1fr 1fr; }
  .feature-card { min-height: 380px; }
  .feature-card:last-child {
    grid-column: span 2;
    flex-direction: row;
  }
  .feature-card:last-child .feature-card__top { flex: 1; }
  .feature-card:last-child .feature-card__img {
    width: 180px;
    flex-shrink: 0;
    padding-top: 0;
    align-self: flex-end;
  }

  .how__header { flex-direction: column; gap: 16px; margin-bottom: 48px; }
  .how__header-right { padding-top: 0; }
  .how__body { grid-template-columns: 1fr; gap: 48px; }
  .how__phone { flex-direction: row; justify-content: center; gap: 32px; }
  .how__btn { flex: 0 0 auto; width: auto; }

  .cta__inner { flex-direction: column; gap: 48px; text-align: center; }
  .cta__sub { max-width: 100%; }
  .cta .store-buttons { justify-content: center; }
  .cta__right { display: none; }
}

@media (max-width: 768px) {
  .hero { padding-block: 72px 60px; }
  .hero__phone { padding-inline: 70px; }
  .float-badge--1 { left: -8px; }
  .float-badge--2 { right: -8px; }
  .float-badge--3 { left: -8px; }
  .footer__inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer__left { flex-direction: column; gap: 4px; }
  .footer__brand { flex-direction: column; gap: 4px; }
  .footer__nav { margin-left: 0; }
  .footer__legal { margin-left: 0; display: flex; justify-content: center; }
}

@media (max-width: 600px) {
  .hero__phone { padding-inline: 32px; }
  .hero__screenshot { width: 240px; }
  .hero__headline { letter-spacing: -1.8px; }
  .hero__sub { font-size: 16px; }
  .float-badge { display: none; }
  .features-intro { padding-block: 64px 32px; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-card:last-child { grid-column: span 1; flex-direction: column; }
  .feature-card:last-child .feature-card__img { width: auto; }
  .feature-card { min-height: 380px; }
  .how { padding-block: 64px; }
  .how__phone { flex-direction: column; }
  .how__btn { width: 100%; }
  .cta { padding-block: 64px 0; }
  .cta__title { letter-spacing: -1.8px; }
}

/* ─── Reduced Motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero__screenshot,
  .float-badge,
  .hero .eyebrow,
  .hero__headline,
  .hero__sub,
  .hero .launch-status,
  .pulse-dot {
    animation: none;
  }
}
