:root {
  --accent: #e85c5c;
  --accent-deep: #d14545;
  --ink: #1a1a2e;
  --ink2: #6b6b7a;
  --bg: #f7f7f3;
  --card: #ffffff;
  --border: #e7e6de;
  --tint: rgba(232,92,92,.10);
  --yt: #ff0033;
  --tt: #0f0f14;
  --shadow: 0 10px 30px rgba(26,26,46,.08);
  --shadow-lg: 0 24px 60px rgba(26,26,46,.14);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Apple SD Gothic Neo", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.badge-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--tint); color: var(--accent);
  border-radius: 99px; padding: 7px 16px;
  font-size: 13px; font-weight: 800; letter-spacing: .02em;
}

/* ---------- platform icons (pure CSS, brand colors) ---------- */
.pb {
  display: grid; place-items: center; flex: none;
  width: 22px; height: 22px; border-radius: 7px;
  color: #fff; font-size: 11px; font-weight: 900;
  box-shadow: 0 2px 6px rgba(26,26,46,.18);
}
.pb.yt { background: var(--yt); }
.pb.tt { background: var(--tt); }
.pb.ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.pb.any { background: var(--accent); }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,247,243,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26,26,46,.07);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; font-weight: 900; font-size: 17px; letter-spacing: -0.01em; }
.wordmark img { width: 30px; height: 30px; border-radius: 8px; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.lang a { font-size: 12px; font-weight: 700; text-decoration: none; padding: 4px 7px; border-radius: 7px; color: var(--ink2); }
.lang a:hover { color: var(--ink); }
.lang a.cur { color: var(--accent); pointer-events: none; }
.nav-cta {
  display: inline-flex; align-items: center; text-decoration: none;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 800;
  border-radius: 99px; padding: 8px 16px; transition: transform .15s ease, background .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--accent-deep); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(640px 420px at 12% -10%, rgba(232,92,92,.14), transparent 70%),
    radial-gradient(720px 480px at 95% 8%, rgba(232,92,92,.10), transparent 70%),
    var(--bg);
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 44px; align-items: center;
  padding-top: 64px; padding-bottom: 0;
}
.hero h1 {
  margin: 22px 0 0; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.12;
  font-weight: 900; letter-spacing: -0.02em; word-break: keep-all;
}
.hero h1 em {
  font-style: normal; color: var(--accent);
  background: linear-gradient(transparent 64%, var(--tint) 64%);
  border-radius: 4px; padding: 0 2px;
}
.hero .sub { margin-top: 20px; max-width: 33em; font-size: 17px; color: var(--ink2); word-break: keep-all; }
.cta { margin: 26px 0 0; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--ink); color: #fff; border-radius: 16px; padding: 13px 24px;
  box-shadow: var(--shadow); transition: transform .15s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 26px; height: 26px; fill: #fff; }
.store-badge .txt { line-height: 1.15; text-align: left; }
.store-badge .txt small { display: block; font-size: 11px; opacity: .75; }
.store-badge .txt strong { font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.cta .note { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink2); }

/* save-flow demo */
.flow {
  margin: 34px 0 56px; display: flex; align-items: center; gap: 18px;
  background: var(--card); border: 1px solid var(--border); border-radius: 22px;
  padding: 16px 20px; box-shadow: var(--shadow-lg);
  max-width: 520px; position: relative;
}
.vcard {
  display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1;
  position: relative; transition: transform .55s cubic-bezier(.5,-0.1,.3,1.1), opacity .55s ease;
}
.vcard .thumb {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 66px; border-radius: 12px; font-size: 26px;
  background: linear-gradient(160deg, #ffe3d6, #ffc7bd);
  box-shadow: inset 0 0 0 1px rgba(26,26,46,.05);
  position: relative;
}
.vcard .thumb .pb { position: absolute; left: -7px; top: -7px; width: 20px; height: 20px; border-radius: 6px; font-size: 10px; }
.vcard .t { font-size: 14px; font-weight: 800; line-height: 1.3; word-break: keep-all; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vcard.fly { transform: translateX(var(--fly-x, 180px)) scale(.18); opacity: 0; }
.vcard.hidden { opacity: 0; transition: none; }
.flow .pin {
  position: absolute; left: 38px; top: 2px; z-index: 3; font-size: 26px;
  transform: scale(0) rotate(-30deg); transform-origin: bottom left;
  transition: transform .3s cubic-bezier(.3,1.6,.5,1);
  pointer-events: none;
}
.flow .pin.stamp { transform: scale(1) rotate(0deg); }
.flow .arr { color: var(--accent); font-weight: 900; font-size: 20px; flex: none; }
.fold {
  display: flex; align-items: center; gap: 9px; flex: none;
  background: var(--tint); border-radius: 16px; padding: 10px 14px;
  font-weight: 800; font-size: 14px;
  transition: transform .25s ease;
}
.fold .ic { font-size: 22px; }
.fold .cnt {
  display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  background: var(--accent); color: #fff; border-radius: 99px; font-size: 12px; font-weight: 900;
}
.fold.bump { transform: scale(1.08); }

/* hero phone + floating cards */
.hero .phone-col { position: relative; align-self: end; }
.phone {
  position: relative; width: min(320px, 78vw); margin: 0 auto;
  border-radius: 46px; padding: 11px; background: #101010;
  box-shadow: 0 40px 80px rgba(26,26,46,.28), inset 0 0 0 2px rgba(255,255,255,.09);
}
.phone img { border-radius: 36px; }
.phone .island { position: absolute; top: 21px; left: 50%; transform: translateX(-50%); width: 86px; height: 26px; border-radius: 14px; background: #030303; }
.hero .phone { margin-bottom: -64px; }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px;
  background: var(--card); border-radius: 14px; padding: 8px 12px 8px 8px;
  box-shadow: var(--shadow-lg); font-size: 12.5px; font-weight: 800; line-height: 1.25;
  max-width: 175px;
}
.float-card .thumb {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 44px; border-radius: 9px; font-size: 18px; position: relative;
}
.float-card .thumb .pb { position: absolute; left: -6px; top: -6px; width: 17px; height: 17px; border-radius: 5px; font-size: 9px; }
.float-card.f1 { left: -10%; top: 18%; transform: rotate(-6deg); }
.float-card.f2 { right: -12%; top: 36%; transform: rotate(5deg); }
.float-card.f3 { left: -6%;  top: 58%; transform: rotate(4deg); }
.float-chip {
  position: absolute; z-index: 2; right: -7%; top: 72%; transform: rotate(-5deg);
  display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; border-radius: 99px; padding: 9px 16px;
  font-size: 13px; font-weight: 800; box-shadow: 0 14px 30px rgba(209,69,69,.4);
}
.t1 { background: linear-gradient(160deg, #ffe9c9, #ffd1a3); }
.t2 { background: linear-gradient(160deg, #e8e3ff, #cfc5f5); }
.t3 { background: linear-gradient(160deg, #d8f2e3, #b4e3c8); }
.t4 { background: linear-gradient(160deg, #ffe0e6, #ffc2cd); }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.hero + section { padding-top: 132px; }
section h2 { font-size: clamp(27px, 3.6vw, 40px); font-weight: 900; letter-spacing: -0.02em; margin: 18px 0 14px; word-break: keep-all; }
section h2 em { font-style: normal; color: var(--accent); }
section .lede { color: var(--ink2); max-width: 40em; font-size: 17px; word-break: keep-all; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: 24px; padding: 26px 24px; box-shadow: var(--shadow);
}
.step .ico {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px;
  background: var(--tint); font-size: 26px; margin-bottom: 16px;
}
.step .n {
  position: absolute; right: 20px; top: 20px;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 900;
}
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; word-break: keep-all; }
.step p { color: var(--ink2); font-size: 14.5px; word-break: keep-all; }

/* memory → place */
.mems { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.mem {
  display: grid; grid-template-columns: 1.1fr auto 1fr; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 16px 20px; box-shadow: var(--shadow);
}
.mem .q { font-size: clamp(14.5px, 1.8vw, 17px); font-weight: 700; color: var(--ink2); font-style: italic; word-break: keep-all; }
.mem .q::before { content: "💭 "; font-style: normal; }
.mem .arr { color: var(--accent); font-weight: 900; font-size: 19px; }
.mem .dest { display: flex; align-items: center; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.mem .dest .chipf {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--tint); color: var(--accent); border-radius: 12px; padding: 7px 13px;
  font-weight: 800; font-size: clamp(13.5px, 1.7vw, 15.5px); white-space: nowrap;
}

/* platforms */
.providers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.prov {
  background: var(--card); border: 1px solid var(--border); border-radius: 24px;
  padding: 24px 22px; box-shadow: var(--shadow);
}
.prov .pic {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px;
  color: #fff; font-size: 22px; font-weight: 900; box-shadow: var(--shadow);
}
.prov .pic.yt { background: var(--yt); }
.prov .pic.tt { background: var(--tt); }
.prov .pic.ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.prov .pic.any { background: var(--accent); }
.prov h3 { font-size: 15.5px; font-weight: 800; margin: 14px 0 12px; }
.prov ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.prov li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.prov .g {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--tint); color: var(--accent); font-size: 11px; font-weight: 900; flex: none;
}

/* folder share flow */
.share-flow { margin-top: 40px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.scard {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 16px 22px; box-shadow: var(--shadow);
}
.scard.sfolder { display: flex; align-items: center; gap: 12px; }
.scard.sfolder .ic { font-size: 30px; }
.scard.sfolder strong { display: block; font-size: 16px; font-weight: 800; }
.scard.sfolder small { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.scard.slink {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14.5px; font-weight: 700; color: var(--accent);
  background: var(--tint); border-color: rgba(232,92,92,.22);
}
.scard.sfriend { display: flex; flex-direction: column; gap: 7px; }
.scard.sfriend strong { font-size: 13px; font-weight: 800; color: var(--ink2); }
.scard.sfriend span { font-size: 14.5px; font-weight: 700; }
.sarr { color: var(--accent); font-weight: 900; font-size: 20px; }

/* screenshots */
.shots { background: linear-gradient(180deg, var(--bg), #f7e9e6); }
.shots .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 50px; align-items: start; }
.shots .phone { width: 100%; }
.shots figcaption { text-align: center; margin-top: 18px; }
.shots figcaption span {
  display: inline-block; background: var(--card); border: 1px solid var(--border);
  border-radius: 99px; padding: 7px 16px; font-size: 12.5px; font-weight: 800; color: var(--ink);
  box-shadow: var(--shadow);
}
.shots figure:nth-child(2) { transform: translateY(34px); }

/* feature grid */
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.feat {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 22px; box-shadow: var(--shadow);
}
.feat .ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px;
  background: var(--tint); font-size: 20px; margin-bottom: 13px;
}
.feat h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.feat p { color: var(--ink2); font-size: 14px; word-break: keep-all; }

/* ---------- final cta / footer ---------- */
.final {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, var(--accent), var(--accent-deep)); color: #fff; text-align: center;
}
.final::before {
  content: "📌"; position: absolute; left: 6%; top: -12px; font-size: 90px;
  transform: rotate(-14deg); opacity: .3;
}
.final::after {
  content: "📌"; position: absolute; right: 7%; bottom: -18px; font-size: 74px;
  transform: rotate(12deg); opacity: .25;
}
.final h2 { margin: 0 0 12px; }
.final .lede { color: rgba(255,255,255,.92); margin: 0 auto; }
.final .cta { justify-content: center; }
.final .store-badge { background: #0b0b0b; border: 1px solid rgba(255,255,255,.25); }

footer { background: #161616; color: #bdbdbd; padding: 44px 0; font-size: 14px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer .brand { display: flex; align-items: center; gap: 10px; color: #fff; }
footer .brand img { width: 24px; height: 24px; border-radius: 6px; }
footer .brand a { text-decoration: none; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: #bdbdbd; text-decoration: none; }
footer a:hover { color: #fff; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 10px; padding-top: 48px; }
  .hero .phone { margin-bottom: -48px; margin-top: 30px; }
  .flow { margin-bottom: 12px; }
  .float-card.f1 { left: 0; } .float-card.f3 { left: 1%; }
  .float-card.f2 { right: 0; } .float-chip { right: 1%; }
  .steps, .providers, .grid6, .shots .row { grid-template-columns: 1fr; }
  .mem { grid-template-columns: 1fr; gap: 8px; }
  .mem .arr { display: none; }
  .share-flow { flex-direction: column; align-items: stretch; }
  .sarr { display: none; }
  .mem .dest { justify-content: flex-start; }
  .shots figure:nth-child(2) { transform: none; }
  section { padding: 60px 0; }
  .nav-cta { display: none; }
}
