/* Kantu home, sticker-passport look from the app: paper, ink outlines with a hard
   offset shadow, one chartreuse accent, coral for heat, Plus Jakarta Sans throughout. */
:root {
  --paper: #F9F6E9;
  --paper-2: #F4F0D9;
  --surface: #FFFEF7;
  --ink: #222227;
  --muted: #666158;
  --pear: #DEED2D;
  --pear-soft: #F2F7B5;
  --coral: #EB5C4D;
  --coral-soft: #FBE3DE;
  --stroke: 2.5px;
  --lift: 5px;
  --radius: 26px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 999px; z-index: 20; }
.skip-link:focus { top: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 12px var(--gutter); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: var(--stroke) solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; border: var(--stroke) solid var(--ink); }
.spark { width: 14px; height: 18px; align-self: flex-start; margin-left: -6px; background:
  linear-gradient(var(--ink), var(--ink)) 7px 0 / 2.5px 6px no-repeat,
  linear-gradient(var(--ink), var(--ink)) 0 7px / 6px 2.5px no-repeat,
  linear-gradient(var(--ink), var(--ink)) 7px 12px / 2.5px 6px no-repeat; transform: rotate(-12deg); }
.top__nav { display: flex; gap: 4px; margin-left: auto; }
.top__nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.top__nav a:hover { background: var(--pear); }
.top__tools { display: flex; align-items: center; gap: 8px; }
.language-select { font: 600 14px var(--font); color: var(--ink); background: var(--surface); border: var(--stroke) solid var(--ink); border-radius: 999px; padding: 8px 12px; }
.pill { display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; font-size: 15px; padding: 9px 18px; border-radius: 999px; border: var(--stroke) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.pill--ink { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--pear); }
.pill:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }

/* Shared */
.band { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.band > * { max-width: var(--max); margin-inline: auto; }
.band--dark { background: var(--ink); color: var(--paper); }
.band--pear { background: var(--pear-soft); border-block: var(--stroke) solid var(--ink); }
.band--paper2 { background: var(--paper-2); border-top: var(--stroke) solid var(--ink); }
.eyebrow { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border: var(--stroke) solid currentColor; border-radius: 999px; margin-bottom: 18px; }
.eyebrow--pear { color: var(--pear); }
h2 { font-size: clamp(36px, 5.4vw, 64px); margin-bottom: 18px; }
.section-head { text-align: center; max-width: 760px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); font-size: 19px; }
.band--dark .section-head p:last-child, .band--dark p { color: #D9D6C8; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 36px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; border: var(--stroke) solid currentColor; background: var(--pear) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23222227' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.note { color: var(--muted); font-size: 15px; margin-top: 14px; }
.note--center { text-align: center; margin-top: 28px; }

/* Phones and stickers */
.phone { position: relative; width: min(300px, 70vw); border-radius: 38px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); background: var(--paper); }
.band--dark .phone { box-shadow: 8px 8px 0 var(--pear); }
.phone img { width: 100%; }
.phone--tilt-l { transform: rotate(-3deg); }
.phone--tilt-r { transform: rotate(3deg); }
.sticker { position: absolute; width: clamp(92px, 12vw, 140px); filter: drop-shadow(0 8px 10px rgb(34 34 39 / .18)); pointer-events: none; }
.chip { position: absolute; display: inline-flex; flex-direction: column; padding: 8px 14px; background: var(--surface); border: var(--stroke) solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.25; }
.chip b { color: var(--ink); font-size: 17px; font-weight: 800; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(64px, 8vw, 110px); }
.hero h1 { font-size: clamp(46px, 7.4vw, 92px); margin-bottom: 22px; }
.hero h1 span { background: linear-gradient(transparent 62%, var(--pear) 62%, var(--pear) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.stores--center { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 16px; border: var(--stroke) solid var(--ink); box-shadow: 4px 4px 0 var(--pear); transition: transform .12s ease, box-shadow .12s ease; }
.store:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--pear); }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 12px; font-weight: 600; opacity: .8; }
.store b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.hero__art { position: relative; margin: 0; min-height: 560px; display: grid; place-items: center; }
.hero__art .phone--back { position: absolute; transform: translate(-30%, 4%) rotate(-7deg); width: min(250px, 52vw); opacity: .96; }
.hero__art .phone--front { transform: translate(18%, 0) rotate(4deg); }
.sticker--a { top: 2%; right: 2%; transform: rotate(10deg); }
.sticker--b { bottom: 4%; left: 0; transform: rotate(-8deg); }
.chip--one { top: 30%; left: 2%; transform: rotate(-4deg); }
.chip--two { bottom: 16%; right: 0; transform: rotate(5deg); background: var(--pear); }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 6vw, 96px); }
.split__art { position: relative; margin: 0; display: grid; place-items: center; }
.split__copy > p:not(.eyebrow) { font-size: 19px; color: var(--muted); }
.band--dark .split__copy > p:not(.eyebrow) { color: #D9D6C8; }
.band--pear .split__copy > p:not(.eyebrow) { color: #4B4840; }
.sticker--c { top: -4%; right: 6%; transform: rotate(12deg); }
.sticker--d { bottom: -2%; left: 4%; transform: rotate(-10deg); }
.split__art--pair { min-height: 600px; }
.split__art--pair .phone { position: absolute; left: 4%; top: 0; width: min(270px, 56vw); }
.card { position: absolute; right: 0; bottom: 0; width: min(290px, 58vw); border-radius: 26px; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--coral); transform: rotate(4deg); }

/* Games */
.games { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.game { background: var(--surface); border: var(--stroke) solid var(--ink); border-radius: var(--radius); box-shadow: var(--lift) var(--lift) 0 var(--ink); padding: 18px 18px 22px; text-align: center; transition: transform .15s ease; }
.game:nth-child(odd) { transform: rotate(-1.2deg); }
.game:nth-child(even) { transform: rotate(1.2deg); }
.game:hover { transform: rotate(0) translateY(-4px); }
.game--pear { background: var(--pear); }
.game--coral { background: var(--coral-soft); }
.game img { width: 96px; margin: 0 auto 10px; filter: drop-shadow(0 6px 8px rgb(34 34 39 / .15)); }
.game h3 { font-size: 20px; margin-bottom: 6px; }
.game p { font-size: 15px; color: var(--muted); line-height: 1.45; }
.shots { display: flex; justify-content: center; gap: clamp(16px, 4vw, 48px); margin-top: 64px; }
.shots .phone { width: min(260px, 30vw); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: var(--surface); border: var(--stroke) solid var(--ink); border-radius: var(--radius); box-shadow: var(--lift) var(--lift) 0 var(--ink); padding: 28px; }
.plan--pear { background: var(--pear); }
.plan--ink { background: var(--ink); color: var(--paper); box-shadow: var(--lift) var(--lift) 0 var(--pear); }
.plan h3 { font-size: 24px; }
.plan__price { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; margin: 8px 0 14px; }
.plan__price small { font-size: 16px; font-weight: 600; letter-spacing: 0; margin-left: 4px; opacity: .75; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; font-weight: 600; font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.plan--ink li::before { background: var(--pear); }

/* Languages */
.languages { text-align: center; }
.languages h2, .languages p { max-width: 820px; margin-inline: auto; }
.languages__sample { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px !important; }
.languages__sample span, .languages__sample b { padding: 10px 18px; border-radius: 999px; border: var(--stroke) solid var(--paper); font-size: 20px; font-weight: 700; color: var(--paper); }
.languages__sample b { background: var(--pear); color: var(--ink); border-color: var(--pear); }

/* Release */
.release { text-align: center; }
.release__icon { width: 140px; margin: 0 auto 26px; border-radius: 34px; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--pear); transform: rotate(-4deg); }
.release h2 { max-width: 760px; margin-inline: auto; }
.release > p:not(.eyebrow) { color: var(--muted); font-size: 19px; max-width: 620px; }

/* Footer */
.foot { background: var(--ink); color: var(--paper); padding: 56px var(--gutter) 40px; }
.foot__statement { max-width: var(--max); margin: 0 auto 36px; font-size: clamp(32px, 5vw, 60px); font-weight: 800; letter-spacing: -0.04em; color: var(--pear); }
.foot__meta { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; font-size: 14px; color: #D9D6C8; }
.foot__meta .brand { color: var(--paper); }
.foot__meta .brand img { border-color: var(--paper); }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot nav a { text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: var(--pear); }

/* Motion: cards and phones settle in once, nothing loops. */
@media (prefers-reduced-motion: no-preference) {
  .phone, .card, .game, .plan { animation: settle .7s cubic-bezier(.2, .8, .2, 1) both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  @keyframes settle { from { opacity: 0; translate: 0 28px; } }
}

/* Small screens */
@media (max-width: 960px) {
  .top__nav { display: none; }
  .top__tools { margin-left: auto; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero__art { min-height: 520px; }
  .split--flip .split__art { order: -1; }
  .games { grid-template-columns: repeat(2, 1fr); }
  .games .game:last-child { grid-column: 1 / -1; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .top { gap: 8px; }
  .top .pill { display: none; }
  .brand span { font-size: 20px; }
  .hero__art { min-height: 460px; }
  .hero__art .phone--front { width: 230px; transform: translate(14%, 0) rotate(4deg); }
  .hero__art .phone--back { width: 190px; }
  .chip--one { left: 0; }
  .shots { gap: 10px; }
  .shots .phone { border-radius: 22px; box-shadow: 4px 4px 0 var(--ink); }
  .split__art--pair { min-height: 520px; }
  .games { grid-template-columns: 1fr; }
}
