@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans.woff2') format('woff2');
}

:root {
  --bg: #FCFBF6;
  --ink: #111114;
  --text: #3D3D45;
  --mute: #6A6A73;
  --navy: #1E2A3A;
  --navy-tint: #E9EDF3;
  --card: #FFFFFF;
  --shadow: 0 1px 2px rgba(17, 17, 20, .04), 0 10px 30px -12px rgba(17, 17, 20, .12);
  --font: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: 20px;
  --nav-h: 64px;
  /* phone scales: hero, features, split sections */
  --hs: .56;
  --fs: .86;
  --ss: .86;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- store badges ---------- */
[data-badges] { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 52px; padding: 6px 18px 6px 14px;
  background: #000; color: #fff; border-radius: 12px; line-height: 1.1;
  transition: transform .2s ease, box-shadow .2s ease;
}
.badge:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); }
.badge svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.badge small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .01em; }
.badge b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top); background: rgba(252, 251, 246, .82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); transition: box-shadow .25s ease; }
.nav.scrolled { box-shadow: 0 8px 24px -18px rgba(17,17,20,.35); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.wm { display: inline-flex; align-items: center; min-height: 44px; font-size: 23px; font-weight: 800; letter-spacing: -.035em; }
.links { display: none; }
.menu-btn { margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; place-content: center; gap: 5px; border-radius: 12px; }
.menu-btn span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sheet {
  position: fixed; inset: calc(var(--nav-h) + env(safe-area-inset-top)) 0 0 0; z-index: 49;
  background: var(--bg); padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; overflow-y: auto;
}
.sheet[hidden] { display: none; }
.sheet nav { display: grid; gap: 8px; }
.sheet nav a { display: flex; align-items: center; min-height: 60px; padding: 0 20px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); font-size: 20px; font-weight: 600; }
.sheet-badges { margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* ---------- real app screenshots in device frames ---------- */
:root { --phone-height: calc(18px + 262px * 2622 / 1206); }
.ph-box { width: calc(280px * var(--s)); height: calc(var(--phone-height) * var(--s)); flex: none; }
.phone {
  width: 280px; height: var(--phone-height); border-radius: 48px; padding: 9px; background: #0E0E10;
  transform: scale(var(--s)); transform-origin: 0 0;
  box-shadow: inset 0 0 0 1.5px #2E2E33, 0 50px 70px -30px rgba(17,17,20,.45);
}
.scr {
  position: relative; width: 100%; height: 100%; border-radius: 39px; overflow: hidden;
  background: #F6F6F8; color: #111114; font-family: -apple-system, 'SF Pro Text', var(--font);
}
.app-shot { display: block; width: 100%; height: 100%; object-fit: contain; }
.screen { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.screen.on { opacity: 1; }

/* ---------- hero ---------- */
.hero { padding: 28px 0 56px; overflow: hidden; }
.hero-in { display: grid; gap: 36px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: 99px; background: #fff; box-shadow: var(--shadow);
  font-size: 14px; font-weight: 600; color: var(--text);
}
.pill svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1 {
  margin-top: 20px;
  font-size: clamp(38px, 10.4vw, 64px); line-height: 1.12; letter-spacing: -.028em; font-weight: 800;
  text-wrap: balance;
}
h1 span { display: block; }
.lede { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--mute); max-width: 32em; }
.hero-badges { margin-top: 28px; }

.hero-art { position: relative; height: calc(var(--phone-height) * var(--hs) + 70px); perspective: 1200px; }
.h-ph { position: absolute; transform-style: preserve-3d; will-change: transform; }
.h-ph-1 { left: 3%; top: 64px; z-index: 1; }
.h-ph-2 { right: 3%; top: 0; z-index: 2; }
.h-ph .ph-box { animation: float 7s ease-in-out infinite; }
.h-ph-2 .ph-box { animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.chip {
  position: absolute; z-index: 4; white-space: nowrap;
  background: #fff; border-radius: 14px; padding: 7px 11px; box-shadow: 0 10px 24px -10px rgba(17,17,20,.3);
  font-size: 11px; font-weight: 600; color: var(--text); line-height: 1.25; text-align: center;
}
.chip b { display: block; font-size: 13px; color: var(--ink); font-weight: 700; }
.chip-a { left: -26px; top: 22%; }
.chip-b { right: -14px; top: 6%; }
.chip-c { right: -10px; top: 70%; display: none; }

/* ---------- sections ---------- */
.sec { padding: 88px 0; }
.sec-title { text-align: center; max-width: 760px; margin: 0 auto; }
h2 { font-size: clamp(32px, 8vw, 54px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.sec-title p { margin-top: 14px; font-size: 18px; color: var(--mute); }
.kicker { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }

.sec-include { background: linear-gradient(180deg, var(--bg), #F6F7EE); }
.include { display: grid; gap: 28px; margin-top: 44px; }
.inc-phone { display: flex; flex-direction: column; align-items: center; }
.dots { display: flex; gap: 7px; margin-top: 20px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #CFCFD6; transition: background-color .3s ease, transform .3s ease; }
.dots i.on { background: var(--navy); transform: scale(1.15); }

/* mobile: swipeable feature cards under the phone */
.inc-cards {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; scrollbar-width: none;
}
.inc-cards::-webkit-scrollbar { display: none; }
.inc-card {
  flex: 0 0 86%; scroll-snap-align: center; text-align: left; cursor: pointer;
  background: var(--card); border: 1.5px solid transparent; border-radius: 22px; padding: 22px 22px 24px;
  box-shadow: var(--shadow); transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.inc-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.inc-card p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--text); }
.inc-card.on { background: #F1F3F7; border-color: var(--navy); }

.sec-why { background: #F1F6F3; }
.why { display: grid; gap: 16px; margin-top: 44px; }
.why-card { background: var(--card); border-radius: 26px; padding: 30px 28px 32px; box-shadow: var(--shadow); }
.ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: #F3F4F7; }
.ic svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { margin-top: 22px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.why-card p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--text); }

.split { display: grid; gap: 44px; align-items: center; }
.split-lede { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--mute); max-width: 34em; }
.split-art { display: flex; justify-content: center; perspective: 1400px; }
.tilt { transition: transform .9s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.tilt-r { transform: rotateY(-14deg) rotateZ(3deg); }
.tilt-l { transform: rotateY(14deg) rotateZ(-3deg); }
.sec-practice { background: #F3F5F9; }
.mini { display: grid; gap: 12px; margin-top: 32px; }
.mini > div { background: var(--card); border-radius: 20px; padding: 20px 20px 22px; box-shadow: var(--shadow); }
.mini h3 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.mini p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.ticks { display: grid; gap: 10px; margin-top: 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; font-weight: 500; line-height: 1.45; }
.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: -1px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9'/%3E%3C/svg%3E") center/18px no-repeat; }

.sec-faq { background: linear-gradient(180deg, #F4F7F5, var(--bg)); }
.faq { max-width: 780px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 68px; padding: 18px 22px; font-size: 17px; font-weight: 600; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #F3F4F7; position: relative; transition: transform .25s ease; }
.faq summary i::after { content: ""; position: absolute; left: 11px; top: 9px; width: 7px; height: 7px; border: solid var(--ink); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.faq details[open] summary i { transform: rotate(180deg); }
.faq details p { padding: 0 22px 22px; font-size: 16px; line-height: 1.6; color: var(--text); }

.foot {
  padding: 110px 0 env(safe-area-inset-bottom);
  background:
    radial-gradient(60% 70% at 12% 10%, #FCE5D2 0%, transparent 60%),
    radial-gradient(60% 70% at 90% 40%, #E2E9F4 0%, transparent 60%),
    #FBF5EF;
}
.foot-cta { text-align: center; }
.foot-cta h2 { max-width: 14ch; margin: 0 auto; }
.foot-cta p { margin: 18px auto 0; font-size: 18px; line-height: 1.6; color: var(--text); max-width: 32em; }
.foot-row { display: grid; gap: 18px; margin-top: 88px; }
.foot-tag { font-size: 15px; color: var(--mute); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 26px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--text); }
.foot-links a:hover { color: var(--ink); }
.foot-mark { display: block; width: 100%; height: auto; margin-top: 40px; }
.foot-mark text { font-family: var(--font); font-weight: 800; font-size: 150px; letter-spacing: -.04em; fill: rgba(17, 17, 20, .055); }
.foot-legal { margin-top: 20px; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.6; color: var(--mute); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } }

/* ---------- ≥ 600 ---------- */
@media (min-width: 600px) {
  :root { --gutter: 32px; --hs: .78; --fs: .95; --ss: .95; }
  .h-ph-1 { left: 6%; top: 80px; }
  .h-ph-2 { right: 6%; }
  .chip-c { display: block; }
  .chip { font-size: 12px; padding: 9px 14px; }
  .chip b { font-size: 15px; }
    .why { grid-template-columns: 1fr 1fr; }
  .mini { grid-template-columns: 1fr 1fr; }
  .inc-card { flex-basis: 60%; }
}

/* ---------- ≥ 1024 ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 48px; --nav-h: 80px; --hs: .9; --fs: 1; --ss: 1; }
  .links { display: flex; gap: 36px; margin-left: auto; font-size: 16px; font-weight: 600; }
  .links a { display: inline-flex; align-items: center; min-height: 44px; transition: color .2s ease; }
  .links a:hover { color: var(--navy); }
  .menu-btn, .sheet { display: none !important; }
  .hero { padding: 72px 0 110px; }
  .hero-in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; }
  .lede { font-size: 19px; }
  .hero-art { height: 640px; }
  .h-ph-1 { left: 0; top: 96px; }
  .h-ph-2 { right: 0; top: 10px; }
    .chip-a { left: -44px; top: 24%; }
  .chip-b { right: -30px; top: 8%; }
  .chip-c { right: -36px; top: 68%; }
  .sec { padding: 130px 0; }
  .include { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; margin-top: 64px; }
  .inc-phone { position: sticky; top: calc(var(--nav-h) + 40px); }
  .inc-cards { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 14px; }
  .inc-card { flex: none; padding: 24px 28px 26px; }
  .inc-card:not(.on):hover { transform: translateX(4px); }
  .why { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split-rev .split-copy { order: 2; }
  .faq { margin-top: 56px; }
  .foot { padding-top: 150px; }
  .foot-row { grid-template-columns: auto 1fr; align-items: center; margin-top: 120px; }
  .foot-links { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .hero-copy > * { opacity: 1; transform: none; transition: none; animation: none; }
  .h-ph .ph-box { animation: none; }
}
