/* K68 */

:root {
  --bg: #0A0A0B;
  --bg-alt: #0D0D0F;
  --panel-top: #17171A;
  --panel-bottom: #101012;
  --line: #26262A;
  --text: #F5F2EA;
  --text-soft: #D9D5CB;
  --muted: #B3AEA3;
  --gold: #FFC83D;
  --silver: #D5DAE0;
  --chip: #F5F2EA;
  --gold-fill: linear-gradient(180deg, #FFE99A 0%, #F7B500 46%, #C98500 100%);
  --silver-fill: linear-gradient(180deg, #FFFFFF 0%, #D5DAE0 46%, #9AA1AB 100%);
  --orange-fill: linear-gradient(180deg, #FFB25C 0%, #FF7A1A 46%, #E05A00 100%);
  --panel-fill: linear-gradient(180deg, var(--panel-top) 0%, var(--panel-bottom) 100%);
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 9vw, 128px);
  --sans: 'Plus Jakarta Sans', 'Helvetica Neue', Helvetica, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; }
a { color: var(--text); }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Shared pieces */

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ''; flex: none; width: 28px; height: 2px; background: linear-gradient(90deg, #B87400, #FFE38A); }

.accent { font-family: var(--serif); font-style: italic; font-weight: 800; letter-spacing: -0.01em; color: var(--gold); }

.section-title { font-size: clamp(34px, 4.8vw, 66px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; overflow-wrap: break-word; }
.section-head { display: flex; flex-direction: column; gap: 20px; }
.muted { color: var(--muted); text-wrap: pretty; }

.btn {
  flex: 1 1 220px; max-width: 280px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 64px; padding: 12px 24px; border-radius: 18px;
  font-size: 19px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; text-decoration: none;
  transition: transform .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-3px); filter: brightness(1.07); }
.btn svg { flex: none; }
.btn--gold, .btn--gold:hover { background: var(--gold-fill); color: #1A1200; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 16px 36px -12px rgba(247, 181, 0, 0.6); }
.btn--silver, .btn--silver:hover { background: var(--silver-fill); color: #121418; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 16px 36px -14px rgba(213, 218, 224, 0.5); }
.btn--orange, .btn--orange:hover { background: var(--orange-fill); color: #1F0E00; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 16px 36px -12px rgba(255, 122, 26, 0.6); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.panel { border: 1px solid var(--line); background: var(--panel-fill); }

/* Hero */

.hero { position: relative; overflow: hidden; background: var(--bg) url(../img/k68-stage.jpg) 62% 0% / cover no-repeat; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 10, 11, .82) 0%, rgba(10, 10, 11, .5) 34%, rgba(10, 10, 11, 0) 58%);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0) 0%, var(--bg) 100%);
}
.hero > .wrap { position: relative; z-index: 1; }

.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding: 20px 0; }
.nav__brand { display: flex; align-items: center; min-height: 48px; }
.nav__brand img { width: 96px; height: auto; }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 -12px; }
.nav__links a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 16px; font-weight: 600; text-decoration: none; }

.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: clamp(24px, 4vw, 48px) 0 clamp(72px, 9vw, 120px); }
.hero__copy { flex: 1.2 1 460px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero__title { font-size: clamp(40px, 5vw, 70px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; overflow-wrap: break-word; }
.hero__lead { max-width: 30em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--text-soft); text-wrap: pretty; }
.hero__actions { align-self: stretch; display: flex; flex-direction: column; gap: 16px; }
.hero__note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.hero__visual { flex: 1 1 500px; min-width: 0; display: flex; justify-content: center; animation: k-rise 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.hero__visual img { width: 100%; max-width: 620px; height: auto; animation: k-float 7s ease-in-out 1.1s infinite; }

@keyframes k-rise { from { transform: translateY(56px); } }
@keyframes k-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* App details bar */

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.facts__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 28px 24px; padding: 36px 0; }
.facts__list > div { display: flex; flex-direction: column; gap: 8px; }
.facts__list dt { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.facts__list dd { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

/* About */

.about { padding: var(--section) 0 0; }
.about > .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 64px; }
.about .section-head { flex: 1 1 320px; min-width: 0; }
.about__body { flex: 1.5 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about__lead { font-size: clamp(19px, 1.7vw, 23px); font-weight: 500; line-height: 1.5; text-wrap: pretty; }

/* Features */

.features { padding: var(--section) 0; }
.features > .wrap { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px); }
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.feature { display: flex; flex-direction: column; gap: 24px; padding: 20px 20px 28px; border-radius: 28px; }
.feature__art {
  height: 172px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 18px;
  background: radial-gradient(circle at 50% 46%, rgba(255, 200, 61, 0.2) 0%, rgba(255, 200, 61, 0) 62%), #0C0C0E;
}
.feature__body { display: flex; flex-direction: column; gap: 10px; padding: 0 8px; }
.feature__num { font-family: var(--serif); font-style: italic; font-weight: 800; font-size: 34px; line-height: 1; color: var(--gold); }
.feature__num--silver { color: var(--silver); }
.feature h3 { margin-top: 4px; font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }

/* Install */

.install { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); padding: var(--section) 0; }
.install > .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; }
.install__main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

.tabs { display: none; gap: 4px; margin-top: 12px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-top); }
.js .tabs { display: flex; }
.tabs button { min-height: 44px; padding: 0 24px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.tabs button[data-tab="android"][aria-pressed="true"] { background: var(--gold-fill); color: #1A1200; }
.tabs button[data-tab="ios"][aria-pressed="true"] { background: var(--silver-fill); color: #121418; }

.steps-wrap { align-self: stretch; margin-top: 10px; border-bottom: 1px solid var(--line); }
.steps__label { padding: 18px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.js .steps__label { display: none; }
.js .steps[hidden] { display: none; }
.steps li { display: flex; align-items: flex-start; gap: clamp(16px, 3vw, 36px); padding: 26px 0; border-top: 1px solid var(--line); }
.steps__num { flex: none; width: 64px; font-family: var(--serif); font-style: italic; font-weight: 800; font-size: 44px; line-height: 1; color: var(--gold); }
.steps[data-panel="ios"] .steps__num { color: var(--silver); }
.steps li > div { display: flex; flex-direction: column; gap: 6px; }
.steps h3 { font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }

.install__card { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding: 32px; border-radius: 28px; }
.app-id { display: flex; align-items: center; gap: 14px; }
.app-id img { flex: none; width: 64px; height: 64px; border-radius: 16px; }
.app-id__name { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.app-id__meta { font-size: 14px; line-height: 1.3; color: var(--muted); }
.install__card-copy { display: flex; flex-direction: column; gap: 8px; }
.install__card-title { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; text-wrap: pretty; }
.install__card .btn { flex: none; max-width: none; align-self: stretch; }

/* Top-up methods */

.topup { padding: var(--section) 0 0; }
.topup > .wrap { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.topup .muted { max-width: 40em; }
.topup__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 16px; }
.topup__list li { height: 112px; display: flex; align-items: center; justify-content: center; padding: 14px; border-radius: 18px; background: var(--chip); }
.topup__list img { width: auto; max-width: 100%; }

/* Questions */

.faq { padding: var(--section) 0; }
.faq > .wrap { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px); }
.faq__list { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 44px; padding: 22px 0; list-style: none; cursor: pointer;
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { max-width: 44em; padding: 0 0 26px; color: var(--muted); text-wrap: pretty; }
.faq details p a { color: var(--gold); }

.chat { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 28px 32px; border-radius: 24px; }
.chat__copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.chat__title { font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.chat .btn { flex: 0 1 240px; padding: 12px 28px; }

/* Closing call to action + footer */

.closing { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg) url(../img/k68-stage.jpg) 72% 20% / cover no-repeat; }
.closing::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.86) 0%, rgba(10, 10, 11, 0.42) 38%, rgba(10, 10, 11, 0.92) 100%);
}
.closing > .wrap { position: relative; z-index: 1; padding-top: var(--section); }
.cta { display: flex; flex-direction: column; align-items: center; gap: clamp(24px, 3vw, 36px); text-align: center; }
.cta__icon { width: 148px; height: 148px; border-radius: 34px; box-shadow: 0 28px 56px rgba(0, 0, 0, 0.7), 0 0 72px rgba(247, 181, 0, 0.38); }
.cta__title { font-size: clamp(36px, 5.6vw, 80px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; overflow-wrap: break-word; }
.cta .btn-row { align-self: stretch; justify-content: center; }

.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; margin-top: clamp(64px, 8vw, 112px); padding: 22px 0 36px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer a { display: flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.footer__legal { flex: 1 1 100%; font-size: 13px; }

/* Stacked layout: the hero copy sits above the phones, so the scrim runs top to bottom */

@media (max-width: 1110px) {
  .hero::before { background: linear-gradient(180deg, rgba(10, 10, 11, .95) 0%, rgba(10, 10, 11, .9) 44%, rgba(10, 10, 11, 0) 74%); }
}

@media (max-width: 768px) {
  .hero__copy .btn-row { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary svg { transition: none; }
  .hero__visual, .hero__visual img { animation: none; }
}
