:root {
  --bg: #F3F3F1;
  --card: #FFFFFF;
  --surface: #EDEDEA;
  --text: #282B29;
  --soft: #5D625C;
  --faint: #6B706A;
  --line: rgba(40, 43, 41, 0.08);
  --blue: #1A66F5;
  --blue-tint: rgba(26, 102, 245, 0.1);
  --red: #D63A26;
  --red-fill: #FF5B47;
  --red-tint: rgba(255, 91, 71, 0.12);
  --lime: #D8F35A;
  --violet: #8C7CF7;
  --ink: #111215;
  --radius: 28px;
  --shadow: 0 1px 2px rgba(17, 18, 21, 0.04), 0 12px 32px rgba(17, 18, 21, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.mono { font-family: "DM Mono", ui-monospace, monospace; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(243, 243, 241, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a.link { color: var(--soft); text-decoration: none; font-size: 15px; }
.nav a.link:hover { color: var(--text); }

/* Download pill */
.dl {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 16px; border-radius: 14px;
  background: var(--ink); color: #fff; text-decoration: none;
  box-shadow: 0 6px 18px rgba(17, 18, 21, 0.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.dl:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(17, 18, 21, 0.22); }
.dl svg { width: 22px; height: 22px; flex: none; }
.dl small { display: block; font-size: 11px; opacity: .7; line-height: 1.2; }
.dl b { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; }
.dl.sm { padding: 7px 14px 7px 12px; border-radius: 12px; gap: 9px; }
.dl.sm svg { width: 17px; height: 17px; }
.dl.sm small { font-size: 9.5px; }
.dl.sm b { font-size: 14px; }

/* Type */
h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font-size: clamp(40px, 7vw, 66px); line-height: 1.04; letter-spacing: -0.045em; }
h2 { font-size: clamp(32px, 4.6vw, 43px); line-height: 1.08; letter-spacing: -0.04em; }
h3 { font-size: 18px; letter-spacing: -0.01em; }
.lead { font-size: 18px; color: var(--soft); max-width: 560px; margin: 18px auto 0; }
.center { text-align: center; }
section { padding: 96px 0 0; }
.head { text-align: center; margin-bottom: 44px; }
.head p { color: var(--soft); font-size: 17px; margin: 14px auto 0; max-width: 540px; }

/* Hero */
.hero { padding-top: 40px; text-align: center; }
.demo { position: relative; height: 530px; margin: 0 auto 36px; max-width: 640px; user-select: none; -webkit-user-select: none; }
.phone {
  position: absolute; left: 50%; top: 0; translate: -50% 0;
  width: 250px; height: 460px; border-radius: 40px; padding: 10px;
  background: #0E0F12; box-shadow: 0 30px 60px rgba(17, 18, 21, 0.25), inset 0 0 0 1px rgba(255,255,255,0.06);
}
.screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: #0E0F12; }
.screen-top { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 16px 8px; color: #F2F3F5; }
.screen-top b { font-size: 22px; letter-spacing: -0.03em; }
.screen-top span { font-size: 10px; color: #9AA0A8; letter-spacing: .06em; }
.stack { position: absolute; left: 12px; right: 12px; top: 58px; bottom: 74px; }
.card {
  position: absolute; inset: 0; border-radius: 22px; overflow: hidden; background: #1A1C21;
  touch-action: none; cursor: grab; will-change: transform;
}
.card:active { cursor: grabbing; }
.card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.card .tint { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.card .stamp {
  position: absolute; top: 18px; padding: 4px 10px; border-radius: 8px; border: 2.5px solid;
  font-weight: 700; font-size: 15px; letter-spacing: .04em; opacity: 0; pointer-events: none; background: rgba(255,255,255,0.9);
}
.stamp.del { right: 16px; color: #D63A26; rotate: 12deg; }
.stamp.keep { left: 16px; color: #2F74F6; rotate: -12deg; }
.card .meta {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 10px;
  background: rgba(14,15,18,0.6); color: #fff; font-size: 10px; backdrop-filter: blur(6px);
}
.btns { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 10px; }
.btns button {
  font: inherit; font-size: 13px; font-weight: 600; border: 0; cursor: pointer;
  height: 38px; padding: 0 16px; border-radius: 19px; display: inline-flex; align-items: center; gap: 6px;
}
.btns .b-del { background: rgba(255,122,102,0.14); color: #FF7A66; }
.btns .b-keep { background: rgba(111,163,255,0.14); color: #6FA3FF; }
.float {
  position: absolute; background: var(--card); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow);
  text-align: left; font-size: 12px; color: var(--soft); min-width: 140px; z-index: 2;
}
.float b { display: block; font-size: 24px; color: var(--text); letter-spacing: -0.03em; line-height: 1.1; }
.float.left { left: 0; top: 70px; rotate: -4deg; }
.float.right { right: 0; top: 230px; rotate: 3deg; }
.float .pts { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 10px; background: var(--lime); color: var(--ink); font-weight: 600; }
.hint { font-size: 14px; color: var(--faint); margin-top: 18px; }
.sub { font-weight: 500; margin-top: 18px; }
.cta { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta p { margin: 0; font-size: 13px; color: var(--faint); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.stat b { font-size: 44px; letter-spacing: -0.04em; line-height: 1; display: block; }
.stat h3 { margin-top: 10px; }
.stat p { color: var(--soft); margin: 6px 0 0; font-size: 15px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feat { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); grid-column: span 2; display: flex; flex-direction: column; }
.feat.wide { grid-column: span 3; }
.feat .art { height: 170px; border-radius: 18px; background: var(--surface); margin-bottom: 20px; display: grid; place-items: center; overflow: hidden; position: relative; }
.feat p { color: var(--soft); margin: 6px 0 0; font-size: 15px; }

.months { width: 82%; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.months .row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: 13px; }
.months .row + .row { border-top: 1px solid var(--line); }
.months .th { width: 26px; height: 30px; border-radius: 6px; background-size: cover; background-position: center; flex: none; }
.months .nm { flex: 1; font-weight: 600; }
.chip { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 10px; }
.chip.done { background: var(--blue); color: #fff; }
.chip.prog { background: var(--blue-tint); color: var(--blue); }
.chip.todo { background: var(--lime); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0 18px; }
.chips span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 18px; background: #fff; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); }
.chips span.on { background: var(--ink); color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 3px; }

.bars { width: 80%; display: grid; gap: 10px; }
.bars div { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.bars i { height: 8px; border-radius: 4px; background: var(--red-fill); display: block; }
.bars span { width: 30px; color: var(--faint); }
.bars em { font-style: normal; font-weight: 600; margin-left: auto; }

.trash { display: grid; grid-template-columns: repeat(4, 44px); gap: 6px; }
.trash div { width: 44px; height: 56px; border-radius: 8px; background-size: cover; background-position: center; position: relative; }
.trash div.keep { opacity: .35; }
.trash-btn { margin-top: 12px; padding: 7px 14px; border-radius: 14px; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; }

.ring { width: 110px; height: 110px; border-radius: 50%; background: conic-gradient(var(--blue) 0 72%, #DCDFE4 72% 100%); display: grid; place-items: center; }
.ring div { width: 84px; height: 84px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; text-align: center; font-size: 11px; color: var(--soft); line-height: 1.1; }
.ring b { font-size: 20px; color: var(--text); display: block; }

/* Privacy */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pcard { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.pcard p { color: var(--soft); margin: 8px 0 0; }
.ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.ico svg { width: 20px; height: 20px; }
.ico.red { background: var(--red-tint); color: var(--red); }
.ico.blue { background: var(--blue-tint); color: var(--blue); }

/* Download */
.final { background: var(--card); border-radius: 36px; padding: 64px 24px; text-align: center; box-shadow: var(--shadow); }
.final .appicon { width: 76px; height: 76px; border-radius: 20px; margin: 0 auto 22px; box-shadow: 0 12px 28px rgba(17,18,21,0.16); }
.final p.lead { margin-bottom: 26px; }
.checks { list-style: none; padding: 0; margin: 30px auto 0; display: grid; gap: 10px; width: fit-content; text-align: left; color: var(--soft); font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 3px; }
.note { margin-top: 22px; font-size: 14px; color: var(--faint); }

footer { margin-top: 64px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 30px; font-size: 13px; color: var(--faint); flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }
footer nav { display: flex; gap: 18px; }

/* Text pages */
.doc { max-width: 720px; margin: 48px auto 0; }
.doc h1 { font-size: clamp(36px, 6vw, 52px); }
.doc .lead { margin-left: 0; }
.doc h2 { font-size: 24px; letter-spacing: -0.02em; margin-top: 40px; }
.doc p, .doc li { color: var(--soft); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 18px; }
.steps li { counter-increment: s; background: var(--card); border-radius: 20px; padding: 18px 20px 18px 64px; position: relative; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.steps b { color: var(--text); }
.release { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-top: 28px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.release img { width: 64px; height: 64px; border-radius: 16px; }
.release .info { flex: 1; min-width: 200px; }
.release .info p { margin: 4px 0 0; font-size: 14px; }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .feat, .feat.wide { grid-column: span 1; }
}
@media (max-width: 640px) {
  .nav a.link { display: none; }
  section { padding-top: 72px; }
  .stats, .two, .grid { grid-template-columns: 1fr; }
  .float { display: none; }
  .demo { height: 530px; }
  .dirs { gap: 10px; }
  .dir { font-size: 12px; padding: 7px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Swipe direction hints under the demo phone */
.dirs { position: absolute; left: 0; right: 0; top: 478px; display: flex; justify-content: center; gap: 14px; }
.dir { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 18px; font-size: 14px; font-weight: 600; background: var(--card); box-shadow: var(--shadow); }
.dir svg { width: 16px; height: 16px; }
.dir.del { color: var(--red); }
.dir.keep { color: var(--blue); }
.dir.del svg { animation: nudge-l 1.6s ease-in-out infinite; }
.dir.keep svg { animation: nudge-r 1.6s ease-in-out infinite; }
@keyframes nudge-l { 0%, 100% { translate: 0; } 50% { translate: -4px; } }
@keyframes nudge-r { 0%, 100% { translate: 0; } 50% { translate: 4px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border-radius: 18px; background: var(--lime); color: var(--ink); font-weight: 600; font-size: 15px; }
.eyebrow span { font-size: 13px; }
.dir em { font-style: normal; }
@media (max-width: 480px) {
  .dir em { display: none; }
  .dir { text-transform: capitalize; }
  .eyebrow { font-size: 13px; padding: 6px 12px; }
}

/* Pixel-style device frame */
.phone {
  width: 262px; height: 500px; border-radius: 46px; padding: 9px;
  background: linear-gradient(145deg, #3B3E44 0%, #1B1C20 38%, #2A2C31 70%, #44474D 100%);
  box-shadow: 0 34px 70px rgba(17, 18, 21, 0.28), 0 0 0 1px #0B0C0E, inset 0 0 0 1.5px rgba(255,255,255,0.12), inset 0 0 0 4px #0B0C0E;
}
.screen { border-radius: 38px; }
.pbtn { position: absolute; right: -3px; width: 4px; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #2A2C31, #50535A); }
.pbtn.power { top: 112px; height: 44px; }
.pbtn.vol { top: 176px; height: 82px; }
.status { position: relative; height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 6px 22px 0; color: #F2F3F5; font-size: 11px; font-weight: 600; }
.status .cam { position: absolute; left: 50%; top: 9px; translate: -50% 0; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2B3550 0 20%, #050608 45%); box-shadow: 0 0 0 1.5px #16171B; }
.sicons { display: flex; align-items: center; gap: 4px; }
.sicons svg { height: 10px; width: auto; }
.screen-top { padding-top: 6px; }
.stack { top: 82px; bottom: 86px; }
.btns { bottom: 30px; }
.gesture { position: absolute; left: 50%; bottom: 9px; translate: -50% 0; width: 92px; height: 4px; border-radius: 2px; background: rgba(242,243,245,0.55); z-index: 3; }
.dirs { top: 520px; }
.demo { height: 572px; }
@media (max-width: 640px) { .demo { height: 572px; } }

/* Update log */
.rel { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-top: 20px; }
.rel h2 { font-size: 24px; letter-spacing: -0.02em; margin: 0; }
.rel time { display: block; font-size: 12px; letter-spacing: .06em; color: var(--faint); margin-top: 4px; }
.rel h3 { margin-top: 18px; }
.rel-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.badge { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 12px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700; }
.doc h2.older { margin-top: 48px; font-size: 20px; color: var(--soft); }
.changes { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.changes li { display: flex; gap: 12px; align-items: flex-start; color: var(--soft); }
.tag { flex: none; width: 82px; text-align: center; padding: 2px 0; border-radius: 11px; font-size: 12px; font-weight: 700; margin-top: 1px; }
.tag.new { background: var(--blue-tint); color: var(--blue); }
.tag.improved { background: rgba(140,124,247,0.14); color: #5B4BD6; }
.tag.fixed { background: var(--red-tint); color: var(--red); }
