/* Paspy landing. Tokens from the canvas (passport-tokens.css). */
:root{
  --font-display:Agbalumo,"Trebuchet MS",system-ui,sans-serif;
  --font-ui:"Be Vietnam Pro",system-ui,sans-serif;
  --ink:#18324f;--ink-muted:#466581;--ground:#c6e7fe;
  --surface:#fff;--surface-edge:#69c1ff;--surface-sunken:#eaf3ff;
  --sun:#ffd58a;--sun-edge:#ffb42e;--cover:#18324f;--foil:#d8b45a;
  --action:#206bf5;--action-edge:#0142b8;
  --page:#fbf6ea;--page-edge-2:#d6caae;
  --ink-red:#981115;--ink-blue:#184982;--ink-brown:#8d4020;--ink-navy:#18324f;
  --ok:#2f9e6b;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font-ui);color:var(--ink);background:var(--ground);-webkit-font-smoothing:antialiased}
img{max-width:100%}
a{color:inherit}
.wrap{width:min(1200px,100% - 40px);margin:0 auto}
.disp{font-family:var(--font-display);font-weight:400;color:var(--ink);margin:0}
.eyebrow{font:700 13px/18px var(--font-ui);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-muted);margin:0}
.body{font:400 20px/32px var(--font-ui);color:var(--ink-muted);margin:0}
h1.disp{font-size:76px;line-height:84px}
h2.disp{font-size:52px;line-height:60px}
.stack{display:flex;flex-direction:column;gap:16px}

/* App Store button */
.store{display:inline-flex;align-items:center;gap:12px;height:60px;padding:0 26px;border-radius:14px;background:#000;color:#fff;text-decoration:none;box-shadow:0 4px 0 #2b2b2b;transition:translate .12s,box-shadow .12s}
.store:active{translate:0 4px;box-shadow:0 0 0 #2b2b2b}
.store svg{width:26px;height:26px;flex:none}
.store small{display:block;font:400 12px/14px var(--font-ui)}
.store b{display:block;font:700 22px/24px var(--font-ui)}
.store.sm{height:48px;padding:0 20px;border-radius:12px}
.store.sm b{font-size:17px;line-height:20px}

/* Hero */
.hero{position:relative;overflow:hidden;padding-bottom:120px}
.hero::before{content:"";position:absolute;inset:0;background:url(img/map-dots.jpg) center/cover;opacity:.14}
.nav{position:relative;display:flex;justify-content:space-between;align-items:center;height:96px}
.nav .disp{font-size:34px;text-decoration:none}
.hero-grid{position:relative;display:grid;grid-template-columns:520px 1fr;gap:40px;align-items:center;padding-top:56px}
.hero-copy{display:flex;flex-direction:column;gap:28px}
.hero-cta{display:flex;align-items:center;gap:20px}
.hero-cta span{font:400 15px/22px var(--font-ui);color:var(--ink-muted)}
.book-wrap{position:relative;height:560px}
.book{position:absolute;left:0;top:0;width:700px;height:560px;transform-origin:top left}
.paper{background:var(--page) url(img/paper.jpg) center/cover;box-shadow:inset 14px 0 18px -14px rgba(60,40,10,.35),0 6px 0 var(--page-edge-2),0 18px 40px rgba(24,50,79,.18)}
.leaf{position:absolute;top:40px;width:300px;height:440px;transform:rotate(-2deg)}
.leaf.l{left:50px;border-radius:10px 4px 4px 10px}
.leaf.r{left:350px;border-radius:4px 10px 10px 4px;transform-origin:left center}
.leaf header{position:absolute;left:22px;top:18px;right:22px;display:flex;justify-content:space-between;font:700 10px/14px var(--font-ui);letter-spacing:.14em;color:#6b5b43}
.st{position:absolute;text-align:center}
.st img{width:100%;display:block}
.st i{display:block;font:700 11px/14px var(--font-ui);font-style:normal;letter-spacing:.08em;margin-top:2px}
.hero-seal{position:absolute;left:580px;top:380px;width:120px;transform:rotate(10deg);filter:drop-shadow(0 4px 4px rgba(30,42,68,.3))}

/* Sections */
section{padding:120px 0}
.sunken{background:var(--surface-sunken)}
.card{background:var(--surface);border-radius:24px;box-shadow:0 5px 0 var(--surface-edge);padding:32px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:56px}
.steps .card{display:flex;flex-direction:column;gap:16px}
.steps h3{margin:0;font:700 24px/32px var(--font-ui)}
.steps .body,.two .body,.plans .body{font-size:18px;line-height:28px}
.num{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--sun);box-shadow:0 3px 0 var(--sun-edge);font:700 18px/1 var(--font-ui);color:var(--ink)}

.stamps{overflow:hidden}
.stamps-head{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:48px}
.stamps-head .body{max-width:440px}
.track{display:flex;width:max-content;animation:slide 45s linear infinite}
.track figure{margin:0 28px 0 0;width:150px;text-align:center}
.track img{width:150px;height:150px;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(30,42,68,.2))}
.track figcaption{font:700 13px/18px var(--font-ui);color:var(--ink-muted);margin-top:8px}
@keyframes slide{to{translate:-50% 0}}

.plans{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:48px 0 28px}
.plans .card{padding:40px;display:flex;flex-direction:column;gap:20px}
.plans h3{font-size:36px;line-height:44px}
.plans .pro{background:var(--cover);box-shadow:0 5px 0 #0d1c33}
.plans .pro h3{color:var(--foil)}
.ticks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.ticks li{display:flex;gap:12px;align-items:flex-start;font:400 18px/28px var(--font-ui)}
.ticks li::before{content:"";flex:none;width:20px;height:20px;margin-top:4px;background:var(--ok);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
.plans .pro .ticks li{color:#fff}
.fine{font-size:16px!important;line-height:24px!important}

.private{background:var(--cover)}
.private .wrap{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.private .eyebrow{color:var(--foil)}
.private h2{color:#fff}
.private .body{color:rgba(255,255,255,.75)}
.facts{display:flex;flex-direction:column;gap:32px}
.fact{display:flex;gap:16px;align-items:flex-start}
.fact .ic{flex:none;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.1);color:var(--foil)}
.fact b{display:block;font:700 20px/28px var(--font-ui);color:#fff}
.fact p{margin:4px 0 0;font:400 17px/26px var(--font-ui);color:rgba(255,255,255,.75)}

.two{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.two .card{display:grid;grid-template-columns:1fr 160px;gap:24px;align-items:center;padding:40px}
.two h3{font-size:36px;line-height:44px}
.two .text{display:flex;flex-direction:column;gap:14px}
.mini{position:relative;width:140px;height:210px;border-radius:6px;transform:rotate(-4deg)}

.cta{background:var(--action);padding:110px 0;text-align:center;position:relative;overflow:hidden}
.cta::before{content:"";position:absolute;inset:0;background:url(img/map-dots.jpg) center/cover;opacity:.12;mix-blend-mode:multiply}
.cta .wrap{position:relative;display:flex;flex-direction:column;align-items:center;gap:28px}
.cta h2{font-size:64px;line-height:72px;color:#fff}
.cta .body{color:rgba(255,255,255,.85);max-width:560px}
.cta .store{box-shadow:0 4px 0 var(--action-edge)}

footer{padding:40px 0 56px}
footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
footer .disp{font-size:24px;text-decoration:none}
footer nav{display:flex;gap:32px;flex-wrap:wrap}
footer a,footer small{color:var(--ink-muted);text-decoration:none;font:400 15px/20px var(--font-ui)}
footer a:hover{color:var(--ink)}

/* Legal pages */
.legal{background:var(--surface);border-radius:24px;box-shadow:0 5px 0 var(--surface-edge);padding:56px;max-width:820px;margin:24px auto 0}
.legal h1{font-size:52px;line-height:60px;margin-bottom:8px}
.legal h2{font:700 22px/30px var(--font-ui);margin:40px 0 8px}
.legal p,.legal li{font:400 17px/28px var(--font-ui);color:var(--ink-muted)}
.legal li{margin-bottom:6px}
.legal .updated{font-size:15px;margin:0 0 24px}

/* Motion: hero plays once, sections rise into view, all off with Reduce Motion */
@keyframes press{0%{opacity:0;scale:1.7}55%{opacity:1;scale:.9}80%{scale:1.04}100%{opacity:1;scale:1}}
@keyframes seal{0%{opacity:0;scale:1.5;translate:0 -30px}60%{opacity:1;scale:.92;translate:0 0}100%{opacity:1;scale:1}}
@keyframes thump{0%,70%{scale:1;translate:0 0}76%{scale:1.12;translate:0 -18px}82%{scale:.94;translate:0 0}86%,100%{scale:1}}
.pi{animation:press .6s cubic-bezier(.2,.8,.3,1) both}
.ps{animation:seal .7s cubic-bezier(.2,.8,.3,1) 3.4s both}
.sealp{animation:thump 4s ease-in-out infinite}
.js .rv{opacity:0;translate:0 28px;transition:opacity .6s ease,translate .6s cubic-bezier(.2,.8,.3,1)}
.js .rv.in{opacity:1;translate:0 0}
@media (prefers-reduced-motion:reduce){
  .pi,.ps,.sealp,.track{animation:none}
  .js .rv{opacity:1;translate:none;transition:none}
  html{scroll-behavior:auto}
}

/* Phone (the canvas's 390 board) */
@media (max-width:760px){
  h1.disp{font-size:44px;line-height:50px}
  h2.disp{font-size:34px;line-height:40px}
  .body{font-size:17px;line-height:26px}
  .eyebrow{font-size:11px;line-height:16px}
  section{padding:64px 0}
  .hero{padding-bottom:56px}
  .nav{height:72px}
  .nav .disp{font-size:28px}
  .hero-grid{grid-template-columns:1fr;gap:24px;padding-top:16px}
  .hero-cta{flex-wrap:wrap}
  .book-wrap{height:330px}
  .book{scale:.54}
  .nav .store,.st.us{display:none}
  .store{height:54px;padding:0 22px}
  .store b{font-size:19px;line-height:22px}
  .steps,.plans,.two,.private .wrap{grid-template-columns:1fr;gap:16px}
  .private .wrap{gap:40px}
  .steps{margin-top:24px}
  .card,.plans .card,.two .card{padding:24px;border-radius:20px}
  .steps h3{font-size:20px;line-height:28px}
  .steps .body,.two .body,.plans .body,.ticks li{font-size:16px;line-height:24px}
  .plans{margin:24px 0 16px}
  .plans h3,.two h3{font-size:28px;line-height:34px}
  .two .card{grid-template-columns:1fr 96px}
  .two .card img{width:96px!important}
  .mini{scale:.68;transform-origin:center}
  .stamps-head{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:24px}
  .track figure{width:112px;margin-right:16px}
  .track img{width:112px;height:112px}
  .cta{padding:72px 0}
  .cta h2{font-size:40px;line-height:46px}
  footer nav{gap:20px}
  .legal{padding:28px 20px;border-radius:20px}
  .legal h1{font-size:36px;line-height:42px}
}
