:root {
  --ink: #0a0a0b;
  --ink-2: #161618;
  --ink-3: #232326;
  --paper: #f5f3ef;
  --white: #ffffff;
  --muted: #6c6a66;
  --muted-dark: #a3a19c;
  --line: #e3dfd7;
  --sun: #ff7a1a;
  --sun-2: #ffb23f;
  --ok: #2ecc71;
  --cta: #22c55e;
  --cta-2: #4ade80;
  --radius: 22px;
  --wrap: 1120px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 76px 0; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 14px;
}
.h2 { font-size: clamp(2rem, 7vw, 3.2rem); }
.lead { font-size: 1.08rem; color: var(--muted); margin-top: 14px; max-width: 38em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  border-radius: 999px; border: 0;
  font: 800 1.05rem/1 var(--font);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--cta), var(--cta-2));
  color: var(--ink);
  box-shadow: 0 10px 30px -8px rgba(34,197,94,.6);
}
.btn-primary:hover { box-shadow: 0 14px 38px -8px rgba(34,197,94,.85); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,11,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; }
.brand img { height: 26px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-select {
  appearance: none; -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a3a19c' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  height: 42px; padding: 0 28px 0 14px;
  font: 700 .85rem var(--font); cursor: pointer;
}
.lang-select option { color: var(--ink); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--white);
  padding: 44px 0 0;
}
.hero::before {
  content: ""; position: absolute; left: 50%; bottom: -420px; transform: translateX(-50%);
  width: 1100px; height: 760px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,122,26,.55), rgba(255,178,63,.18) 55%, transparent 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: 44px; }
.hero-copy { text-align: center; }
.hero .eyebrow { color: var(--sun-2); }
.hero h1 { font-size: clamp(2.35rem, 10vw, 4.4rem); }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--sun), var(--sun-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 18px auto 0; color: #cfccc6; font-size: 1.08rem; max-width: 33em; }
.hero-cta { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-cta .btn { width: 100%; max-width: 360px; }
.trust { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: .88rem; color: var(--muted-dark); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--sun-2); flex: none; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; padding-bottom: 0; }
.phone {
  position: relative; width: 270px; aspect-ratio: 9 / 18.6;
  border-radius: 46px; border: 9px solid #1d1d20;
  background: radial-gradient(120% 70% at 50% 0%, #2a1a10 0%, #0d0d0f 55%);
  box-shadow: 0 0 0 1px #2f2f33, 0 40px 80px -20px rgba(0,0,0,.8);
  margin-bottom: -60px;
  overflow: hidden;
}
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 20px; background: #000; }
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 54px 18px 22px; color: var(--white); }
.screen .day { font-size: .82rem; color: #bdbab4; font-weight: 600; }
.screen .time { font-size: 4.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-top: 4px; }
.screen .alarm-label { margin-top: 10px; font-size: .78rem; color: #bdbab4; display: flex; align-items: center; gap: 6px; }
.screen .alarm-label img { width: 18px; }
.screen .spacer { flex: 1; }
.screen .mission-btn {
  width: 100%; border-radius: 999px; padding: 14px; text-align: center;
  background: linear-gradient(135deg, var(--sun), var(--sun-2)); color: var(--ink); font-weight: 800; font-size: 1rem;
  animation: pulse 2.2s ease-in-out infinite;
}
.screen .slide { width: 100%; margin-top: 10px; border-radius: 999px; padding: 6px; background: rgba(255,255,255,.12); display: flex; align-items: center; gap: 10px; font-size: .78rem; color: #cfccc6; }
.screen .slide span:first-child { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.85); flex: none; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,122,26,.55); } 50% { box-shadow: 0 0 0 12px rgba(255,122,26,0); } }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--ink);
  border-radius: 16px; padding: 10px 14px;
  font-weight: 800; font-size: .86rem;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.5);
  white-space: nowrap;
}
.chip .dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: var(--white); font-size: .8rem; }
.chip-1 { left: calc(50% - 205px); top: 46%; animation: float 5s ease-in-out infinite; }
.chip-2 { right: calc(50% - 205px); top: 64%; animation: float 5s ease-in-out -2.5s infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Problem */
.problem { padding-top: 120px; }
.problem-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; margin-top: 28px; }
.problem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.problem-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.problem-list .x { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fde5e3; color: #d6382b; display: grid; place-items: center; font-weight: 800; font-size: .85rem; margin-top: 1px; }
.problem-close { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.problem-close strong { color: var(--ink); }

/* How */
.how { background: var(--white); }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; background: var(--paper); border-radius: var(--radius); padding: 24px 22px 24px 76px; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 20px; top: 22px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: grid; place-items: center; font-weight: 800;
}
.step h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.step p { color: var(--muted); margin-top: 6px; }

/* Missions */
.missions-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mission { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; }
.mission .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--paper); display: grid; place-items: center; font-size: 1.7rem; }
.mission h3 { font-size: 1.05rem; margin-top: 14px; letter-spacing: -0.01em; }
.mission p { color: var(--muted); font-size: .92rem; margin-top: 6px; line-height: 1.45; }
.mission.featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.mission.featured .ico { background: var(--ink-3); }
.mission.featured p { color: var(--muted-dark); }
.mid-cta { margin-top: 32px; display: flex; justify-content: center; }
.mid-cta .btn { width: 100%; max-width: 360px; }

/* Features */
.features { background: var(--ink); color: var(--white); }
.features .lead { color: var(--muted-dark); }
.feature-grid { margin-top: 36px; display: grid; gap: 12px; }
.feature { background: var(--ink-2); border: 1px solid #26262a; border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; }
.feature .fi { flex: none; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,122,26,.14); color: var(--sun-2); display: grid; place-items: center; }
.feature .fi svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; letter-spacing: -0.01em; }
.feature p { color: var(--muted-dark); margin-top: 4px; font-size: .95rem; }

/* Compare */
.compare-table { margin-top: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.crow { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.crow > div { padding: 14px 12px; font-size: .92rem; border-top: 1px solid var(--line); }
.crow:first-child > div { border-top: 0; font-weight: 800; font-size: .85rem; }
.crow > div:first-child { font-weight: 700; color: var(--muted); }
.crow > div:nth-child(2) { color: var(--muted); }
.crow > div:nth-child(3) { background: #fff6ee; font-weight: 800; }
.crow:first-child > div:nth-child(3) { background: var(--ink); color: var(--white); }

/* Relate (persona cards) */
.relate { background: var(--white); }
.relate-grid { margin-top: 32px; display: grid; gap: 12px; }
.persona { background: var(--paper); border-radius: var(--radius); padding: 22px; }
.persona h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
.persona p { color: var(--muted); margin-top: 6px; }
.relate-close { margin-top: 24px; font-weight: 800; font-size: 1.1rem; }

/* Download */
.download { background: var(--ink); color: var(--white); position: relative; overflow: hidden; scroll-margin-top: 64px; }
.download::before {
  content: ""; position: absolute; left: 50%; top: -380px; transform: translateX(-50%);
  width: 900px; height: 640px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,122,26,.45), transparent 72%);
  pointer-events: none;
}
.download .wrap { position: relative; text-align: center; }
.app-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 18px 40px -10px rgba(255,122,26,.5); }
.download .lead { color: #cfccc6; }
.stores { margin: 30px auto 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.download-note { margin-top: 18px; font-size: .88rem; color: var(--muted-dark); }

/* Store badges */
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  width: 100%; max-width: 300px; height: 64px; padding: 0 22px;
  background: #000; color: #fff; text-decoration: none;
  border: 1.5px solid #a6a6a6; border-radius: 14px;
  transition: transform .15s ease, border-color .2s ease;
}
.badge:hover { border-color: #fff; transform: translateY(-2px); }
.badge svg { width: 30px; height: 30px; flex: none; fill: #fff; }
.badge span { display: flex; flex-direction: column; text-align: left; line-height: 1.05; }
.badge small { font-size: .72rem; font-weight: 600; letter-spacing: .01em; }
.badge b { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
.badge-ios { order: 1; }
.badge-android { order: 2; }

/* FAQ */
.faq-list { margin-top: 32px; display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px; font-weight: 800; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230a0a0b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 20px; color: var(--muted); }
.faq-cta { margin-top: 28px; text-align: center; }
.faq-cta .btn { width: 100%; max-width: 360px; }

/* Footer */
.footer { background: var(--ink); color: var(--muted-dark); padding: 56px 0 120px; font-size: .92rem; }
.footer-top { display: grid; gap: 34px; }
.footer-brand img { height: 26px; width: auto; }
.footer-brand p { margin-top: 12px; max-width: 22em; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: var(--ink-3); display: grid; place-items: center; transition: background .2s ease; }
.socials a:hover { background: var(--sun); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer h4 { margin: 0 0 12px; color: var(--white); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-langs { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.footer-langs a[aria-current="true"] { color: var(--white); font-weight: 700; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid #222225; display: grid; gap: 10px; font-size: .8rem; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px;
  background: rgba(10,10,11,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 999px;
  color: var(--white); font-weight: 800; font-size: .95rem;
  transform: translateY(140%); transition: transform .3s ease;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .left { display: flex; align-items: center; gap: 10px; }
.sticky-cta .left img { width: 32px; height: 32px; border-radius: 9px; }

/* Legal pages */
.legal-page { background: var(--paper); }
.legal { padding: 48px 0 90px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
.legal .updated { color: var(--muted); margin-top: 10px; font-size: .92rem; }
.legal .back { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; text-decoration: none; margin-bottom: 26px; color: var(--muted); }
.legal .back:hover { color: var(--ink); }
.legal section { margin-top: 30px; }
.legal h2 { font-size: 1.2rem; letter-spacing: -0.01em; }
.legal section p { margin-top: 8px; color: #3a3936; }
.legal a { color: var(--ink); font-weight: 700; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip, .screen .mission-btn { animation: none; }
}

/* Small phones */
@media (max-width: 380px) {
  .chip { font-size: .78rem; padding: 8px 10px; }
  .chip-1 { left: 4px; }
  .chip-2 { right: 4px; }
  .crow > div { padding: 12px 8px; font-size: .84rem; }
}
@media (max-width: 460px) {
  .chip-1 { left: 6px; }
  .chip-2 { right: 6px; }
}

/* Tablet & desktop */
@media (min-width: 720px) {
  .section { padding: 104px 0; }
  .missions-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .mission { padding: 26px 22px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 80px 24px 26px; }
  .step::before { left: 24px; top: 24px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .relate-grid { grid-template-columns: repeat(3, 1fr); }
  .stores { flex-direction: row; justify-content: center; }
  .badge { width: auto; min-width: 230px; }
  .footer-top { grid-template-columns: 1.2fr 2fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .crow > div { padding: 18px 22px; font-size: 1rem; }
  .problem-card { padding: 36px; }
}
@media (min-width: 960px) {
  .hero { padding: 72px 0 0; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .hero-copy { text-align: left; padding-bottom: 80px; }
  .hero-sub { margin-left: 0; }
  .hero-cta { align-items: flex-start; }
  .trust { justify-content: flex-start; }
  .phone { width: 300px; margin-bottom: -40px; }
  .chip-1 { left: -10px; }
  .chip-2 { right: -10px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .problem .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .problem-card { margin-top: 0; }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 56px; }
}
