/* KkooApp — kkooapp.com landing page. No build step. */

:root {
  --paper: #F4EFE4;
  --paper-2: #EDE6D6;
  --surface: #FFFFFF;
  --ink: #13241B;
  --ink-2: #4A5A51;
  --ink-3: #6F7D75;
  --line: rgba(19, 36, 27, .10);
  --green: #1A4B35;
  --green-2: #0F3324;
  --teal: #00806F;
  --mint: #D6EBE5;
  --orange: #FF7A00;
  --sun: #F6C445;
  --bezel: #121815;
  --screen: #FAFAF8;
  --shadow: 0 30px 60px -20px rgba(15, 51, 36, .35), 0 12px 24px -12px rgba(15, 51, 36, .25);
  --shadow-sm: 0 1px 2px rgba(15, 51, 36, .06), 0 8px 24px -12px rgba(15, 51, 36, .18);
  --radius: 28px;
  --head: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E1612;
    --paper-2: #121C17;
    --surface: #17221D;
    --ink: #EEF2EE;
    --ink-2: #B9C6BF;
    --ink-3: #8E9E96;
    --line: rgba(238, 242, 238, .10);
    --mint: #1F3A31;
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 12px 24px -12px rgba(0, 0, 0, .5);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--head); text-decoration: none;
  padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--green); color: #fff; }
.btn-dark:hover { background: var(--green-2); }
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--head); letter-spacing: -.02em; color: var(--green); }
@media (prefers-color-scheme: dark) { .brand { color: var(--ink); } }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font: 500 15px/1 var(--head); color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; color: var(--ink-3); cursor: pointer;
  font: 600 12px/1 var(--head); padding: 8px 11px; border-radius: 999px; letter-spacing: .04em;
}
.lang button[aria-pressed="true"] { background: var(--green); color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 40px 0 72px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--mint) 85%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
  background: var(--surface); border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
h1 { margin: 22px 0 20px; font-size: clamp(40px, 5.4vw, 70px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; }
h1 span { display: block; }
.mark { position: relative; display: inline-block !important; z-index: 0; white-space: nowrap; }
.mark::after {
  content: ""; position: absolute; z-index: -1; left: -.08em; right: -.1em; bottom: .04em; height: .42em;
  background: var(--sun); border-radius: .5em .2em .6em .25em; transform: rotate(-1.6deg);
}
@media (prefers-color-scheme: dark) { .mark::after { opacity: .55; } }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-width: 172px;
  background: #0B0F0D; color: #fff; text-decoration: none;
  padding: 10px 18px 10px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12);
  transition: transform .2s ease, opacity .2s ease;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 11px; opacity: .8; }
.store b { font: 600 18px/1.15 var(--head); letter-spacing: -.01em; white-space: nowrap; }
.stores.is-soon .store { opacity: .9; cursor: default; }
.soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.soon[hidden] { display: none; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--orange); opacity: 0; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 26px 0 0; font-size: 15px; color: var(--ink-2); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2300806F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- phone frame ---------- */
.phone {
  margin: 0; width: 280px; padding: 9px; border-radius: 48px;
  background: linear-gradient(145deg, #2A322E, var(--bezel) 40%);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255,255,255,.08);
}
.phone-screen { position: relative; border-radius: 40px; overflow: hidden; background: var(--screen); }
.sbar { position: relative; height: 34px; background: var(--screen); }
.sbar::before { /* dynamic island */
  content: ""; position: absolute; left: 50%; top: 9px; width: 84px; height: 22px; transform: translateX(-50%);
  background: #0B0F0D; border-radius: 999px;
}
.phone-screen img { width: 100%; }

.hero-phones { position: relative; height: 640px; display: grid; place-items: center; }
.hero-phones .phone { position: absolute; }
.phone-front { z-index: 3; width: 300px; }
.phone-back { z-index: 1; width: 250px; filter: saturate(.95); }
.phone-left { transform: translate(-58%, 6%) rotate(-9deg); }
.phone-right { transform: translate(58%, 6%) rotate(9deg); }

.float {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 12px 16px 12px 12px; box-shadow: var(--shadow-sm);
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font: 600 14px/1.25 var(--head); }
.float small { display: block; font-size: 13px; color: var(--ink-3); }
.float-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-ic svg { width: 22px; height: 22px; }
.float-ic.wa { background: #25D366; color: #fff; }
.float-ic.ok { background: var(--mint); color: var(--teal); }
.float-a { left: -3%; bottom: 20%; }
.float-b { right: -2%; top: 10%; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- category strip ---------- */
.strip { padding: 8px 0 24px; }
.strip-title { text-align: center; font: 600 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.cats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cats li {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px 10px 12px; font: 500 15px/1 var(--head);
}
.cats svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cats circle { fill: var(--teal); stroke: none; }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--paper-2); }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.kicker { font: 600 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.kicker-light { color: var(--sun); }

/* how it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 28px; box-shadow: var(--shadow-sm); }
.step-shot {
  height: 300px; border-radius: 20px; overflow: hidden; background: var(--screen); margin-bottom: 22px;
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent);
}
.step-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.step-n {
  position: absolute; top: 34px; left: 34px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: #fff; font: 700 17px/1 var(--head);
  box-shadow: 0 6px 14px -4px rgba(255,122,0,.6);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 16px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento .card { min-height: 380px; }
.bento .card-lang { min-height: 0; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.card-text { padding: 28px 28px 0; }
.card-text h3 { margin-bottom: 8px; }
.card-text p { color: var(--ink-2); font-size: 16px; }
.card-tall { grid-row: span 2; }
.card-green { background: var(--green); border-color: transparent; }
.card-green h3 { color: #fff; }
.card-green p { color: rgba(255,255,255,.78); }
.card-shot { position: relative; margin: 24px 24px 0; flex: 1 0 230px; border-radius: 20px 20px 0 0; overflow: hidden; background: var(--screen); box-shadow: 0 0 0 1px var(--line); }
.card-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 0); }
.shot-bottom { margin: 28px 40px 0; border: 8px solid var(--bezel); border-bottom: 0; border-radius: 38px 38px 0 0; }
.shot-bottom img { position: static; height: auto; }
.card-lang { grid-column: 1 / -1; flex-direction: row; align-items: center; background: linear-gradient(110deg, var(--surface) 30%, var(--mint)); }
.card-lang .card-text { padding: 32px; flex: 0 1 420px; }
.lang-art { flex: 1; display: flex; flex-wrap: wrap; align-content: center; justify-content: flex-end; gap: 10px; padding: 28px 32px; }
.lang-art span { font: 700 26px/1 var(--head); letter-spacing: -.02em; padding: 10px 16px; border-radius: 14px; background: var(--green); color: #fff; }
.lang-art .alt { background: var(--surface); color: var(--green); border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { .lang-art .alt { color: var(--ink); } }

/* safety */
.safety { background: var(--green); color: #fff; padding: 104px 0; position: relative; overflow: hidden; }
.safety::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(246,196,69,.18), transparent);
}
.safety h2 { color: #fff; }
.safety-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.safe-lead { color: rgba(255,255,255,.8); margin-top: 18px; font-size: 18px; max-width: 30em; }
.safe-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.safe-list li { display: flex; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 22px; }
.safe-list b { display: block; font: 600 17px/1.3 var(--head); margin-bottom: 6px; }
.safe-list p { color: rgba(255,255,255,.75); font-size: 15px; }
.safe-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(246,196,69,.16); }
.safe-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--sun); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* sell */
.sell-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.sell-phone { display: grid; place-items: center; position: relative; }
.sell-phone::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--mint); }
.phone-flat { position: relative; width: 290px; transform: rotate(-4deg); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 38px; font-size: 18px; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/15px no-repeat;
}
.note { margin-top: 26px; font-size: 15px; color: var(--ink-3); }

/* faq */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 0 24px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
  font: 600 18px/1.35 var(--head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint); color: var(--teal); font: 600 20px/1 var(--head); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }
.faq details a { color: var(--teal); font-weight: 600; }

/* get */
.get { padding: 104px 0; }
.get-card {
  text-align: center; border-radius: 40px; padding: 72px 24px;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(246,196,69,.22), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(0,128,111,.45), transparent 60%),
    var(--green);
  color: #fff;
}
.get-logo { width: 72px; height: 72px; margin: 0 auto 22px; background: var(--paper); border-radius: 20px; padding: 8px; }
.get-card h2 { color: #fff; max-width: 14em; margin-inline: auto; }
.get-card > p { color: rgba(255,255,255,.8); margin-top: 12px; font-size: 18px; }
.stores-center { justify-content: center; }
.store-light { background: #fff; color: #0B0F0D; border-color: transparent; }
.soon-light { color: rgba(255,255,255,.85); }

/* footer */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 48px; }
.footer-brand p { margin: 14px 0 10px; color: var(--ink-2); font-size: 15px; }
.mail { color: var(--teal); font-weight: 600; text-decoration: none; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links b { display: block; font: 600 13px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.footer-links a { display: block; text-decoration: none; color: var(--ink-2); font-size: 15px; padding: 5px 0; }
.footer-links a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .pulse::after { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .stores, .ticks { justify-content: center; }
  .hero-phones { height: 600px; margin-top: 8px; }
  .float-a { left: 2%; }
  .float-b { right: 2%; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-tall { grid-row: span 2; }
  .safety-grid, .sell-grid { grid-template-columns: 1fr; }
  .sell-phone { order: 2; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-inner { height: 64px; }
  .nav .btn-sm { display: none; }
  .hero { padding-top: 24px; }
  .hero-phones { height: 520px; }
  .phone-front { width: 250px; }
  .phone-back { width: 200px; }
  .phone-left { transform: translate(-52%, 8%) rotate(-9deg); }
  .phone-right { transform: translate(52%, 8%) rotate(9deg); }
  .float { padding: 10px 12px 10px 10px; }
  .float-a { left: 0; bottom: 4%; }
  .float-b { right: 0; top: 2%; }
  .store { min-width: 0; flex: 1 1 140px; padding: 10px 12px; gap: 8px; }
  .store b { font-size: 16px; }
  .soon { text-align: left; }
  .section, .safety, .get { padding: 72px 0; }
  .bento { grid-template-columns: 1fr; }
  .card-tall { grid-row: auto; }
  .card-tall .card-shot { flex: 0 0 420px; }
  .card-lang { flex-direction: column; align-items: stretch; }
  .card-lang .card-text { flex: none; padding: 28px 28px 0; }
  .lang-art { justify-content: flex-start; }
  .safe-list { grid-template-columns: 1fr; }
  .sell-phone::before { width: 320px; height: 320px; }
  .phone-flat { width: 240px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .get-card { padding: 56px 20px; border-radius: 30px; }
}
