/*
 * K-Oppa landing — www.koppa.love
 * Copyright © 2026 Coovil Inc. All rights reserved.
 *
 * Colours, radii and spacing come from the app's design tokens
 * (koppa_client lib/design_system/tokens.dart). The app has a single dark
 * theme, so this site has one too. Every horizontal rule uses logical
 * properties so the Arabic page needs no overrides.
 */

:root
{
  --kp-bg: #141414;
  --kp-surface: #1f1f1f;
  --kp-surface-2: #2d2d2d;
  --kp-text: #ffffff;
  --kp-text-2: #bcbcbc;
  --kp-mint: #4effbd;
  --kp-mint-ink: #141414;
  --kp-cyan: #00cfff;
  --kp-line: #2d2d2d;
  --kp-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  --kp-radius-s: 4px;
  --kp-radius-m: 6px;
  --kp-radius-l: 12px;
  --kp-radius-pill: 28px;
  --kp-gutter: 16px;
  --kp-max: 1120px;
  --kp-header-h: 64px;
  --kp-font: system-ui, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", Roboto,
             "Noto Sans", "Noto Sans KR", "Hiragino Sans", "Noto Sans JP", "PingFang TC", "Noto Sans TC",
             "Noto Sans Thai", "Noto Sans Arabic", "Noto Sans Devanagari", "Noto Sans Khmer", "Noto Sans Lao",
             sans-serif;
  color-scheme: dark;
}

/* Latin and Cyrillic: reset, so a language name inside a Japanese or Korean page is not set in a CJK font */
:lang(en), :lang(de), :lang(es), :lang(fr), :lang(it), :lang(pt), :lang(id), :lang(ms), :lang(tl), :lang(vi),
:lang(ru), :lang(uk) { --kp-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif; }
:lang(ko) { --kp-font: "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, sans-serif; }
:lang(ja) { --kp-font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif; }
:lang(zh-Hant) { --kp-font: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif; }
:lang(ar) { --kp-font: "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", system-ui, sans-serif; }
:lang(th) { --kp-font: "Thonburi", "Noto Sans Thai", "Leelawadee UI", system-ui, sans-serif; }
:lang(hi) { --kp-font: "Kohinoor Devanagari", "Noto Sans Devanagari", "Nirmala UI", system-ui, sans-serif; }
:lang(km) { --kp-font: "Khmer Sangam MN", "Noto Sans Khmer", "Leelawadee UI", system-ui, sans-serif; }
:lang(lo) { --kp-font: "Lao Sangam MN", "Noto Sans Lao", "Leelawadee UI", system-ui, sans-serif; }

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

/* font-family is inherited as a resolved value, so every element that declares its own language picks its stack again */
[lang] { font-family: var(--kp-font); }

html
{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-block-start: var(--kp-header-h);
}

body
{
  margin: 0;
  overflow-wrap: break-word;
  background: var(--kp-bg);
  color: var(--kp-text);
  font-family: var(--kp-font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-inline-size: 100%; }
img { block-size: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }

:focus-visible
{
  outline: 2px solid var(--kp-cyan);
  outline-offset: 3px;
  border-radius: var(--kp-radius-s);
}

.kp-visually-hidden
{
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.kp-wrap
{
  inline-size: 100%;
  max-inline-size: var(--kp-max);
  margin-inline: auto;
  padding-inline: var(--kp-gutter);
}

@media (min-width: 48em)
{
  :root { --kp-gutter: 32px; }
}

/* ── header ─────────────────────────────────────────────── */

.kp-header
{
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 20;
  block-size: var(--kp-header-h);
  background: linear-gradient(to bottom, rgba(20, 20, 20, 0.92), rgba(20, 20, 20, 0.6) 70%, rgba(20, 20, 20, 0));
  transition: transform 300ms cubic-bezier(0.33, 1, 0.68, 1);
}

.kp-header.is-hidden { transform: translateY(-100%); }

.kp-header__row
{
  display: flex;
  align-items: center;
  justify-content: space-between;
  block-size: 100%;
}

.kp-header__logo { display: inline-flex; align-items: center; min-block-size: 48px; }
.kp-header__logo svg { block-size: 30px; inline-size: auto; }

.kp-lang-btn
{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: 40px;
  padding-inline: 14px;
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius-pill);
  background: rgba(31, 31, 31, 0.7);
  font-size: 15px;
  cursor: pointer;
}

.kp-lang-btn:hover { border-color: var(--kp-text-2); }
.kp-lang-btn svg { inline-size: 18px; block-size: 18px; color: var(--kp-text-2); }

/* ── hero ───────────────────────────────────────────────── */

.kp-hero
{
  position: relative;
  isolation: isolate;
  /* No forced full-screen height: a min-height left 200+ px of empty dark under the badges before the first
     section (owner 2026-11-01 17:15). The hero is as tall as its content; the bottom gradient below still
     fades the picture into the page colour. */
  padding-block: calc(var(--kp-header-h) + 32px) 24px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.kp-hero__bg
{
  position: absolute;
  inset: 0;
  z-index: -1;
}

.kp-hero__bg img
{
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center bottom;
}

[dir="rtl"] .kp-hero__bg img { transform: scaleX(-1); }

/* The dark side behind the text is veiled with the page colour. Lossy WebP turns that near-black area into
   faint 16 px blocks that no quality setting removes (owner saw them, 2026-11-01 17:13); at 0.8-0.85 the veil
   brings the block steps down to almost nothing (desktop 0.40 -> 0.01 levels) and the area reads as #141414. */
.kp-hero__bg::after
{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 20, 20, 0.8) 0%, rgba(20, 20, 20, 0.8) 22%, rgba(20, 20, 20, 0) 48%,
                    rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.85) 88%, var(--kp-bg) 100%);
}

@media (min-width: 48em)
{
  .kp-hero__bg::after
  {
    background:
      linear-gradient(to right, rgba(20, 20, 20, 0.85) 0%, rgba(20, 20, 20, 0.85) 30%, rgba(20, 20, 20, 0) 52%),
      linear-gradient(to bottom, rgba(20, 20, 20, 0.15) 0%, rgba(20, 20, 20, 0) 40%, rgba(20, 20, 20, 0.85) 88%, var(--kp-bg) 100%);
  }

  [dir="rtl"] .kp-hero__bg::after
  {
    background:
      linear-gradient(to left, rgba(20, 20, 20, 0.85) 0%, rgba(20, 20, 20, 0.85) 30%, rgba(20, 20, 20, 0) 52%),
      linear-gradient(to bottom, rgba(20, 20, 20, 0.15) 0%, rgba(20, 20, 20, 0) 40%, rgba(20, 20, 20, 0.85) 88%, var(--kp-bg) 100%);
  }
}

.kp-hero__grid
{
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 60em)
{
  .kp-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; }
}

.kp-eyebrow
{
  color: var(--kp-cyan);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-block-end: 14px;
}

.kp-hero__title
{
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

:lang(ko) .kp-hero__title, :lang(ja) .kp-hero__title, :lang(zh-Hant) .kp-hero__title
{
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* keep-all only suits Korean, which spaces its words; Japanese breaks at phrases where supported */
:lang(ko) .kp-hero__title, :lang(ko) .kp-section__title { word-break: keep-all; }
:lang(ja) .kp-hero__title, :lang(ja) .kp-section__title, :lang(ja) .kp-work__title { word-break: auto-phrase; }

:lang(th) .kp-hero__title, :lang(km) .kp-hero__title, :lang(lo) .kp-hero__title,
:lang(hi) .kp-hero__title, :lang(ar) .kp-hero__title
{
  letter-spacing: 0;
  line-height: 1.4;
}

.kp-hero__title em
{
  font-style: normal;
  color: var(--kp-mint);
}

.kp-hero__sub
{
  margin-block-start: 18px;
  max-inline-size: 34em;
  color: var(--kp-text-2);
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
}

:lang(ko) .kp-hero__sub { word-break: keep-all; }

.kp-hero__art
{
  position: relative;
  block-size: clamp(260px, 62vw, 460px);
  max-inline-size: 520px;
  inline-size: 100%;
  margin-inline: auto;
}

@media (min-width: 60em)
{
  .kp-hero { padding-block: calc(var(--kp-header-h) + 56px) 24px; }
  .kp-hero__art { block-size: 400px; }
}

.kp-hero__poster
{
  position: absolute;
  inset-block-start: 50%;
  left: 50%; /* physical on purpose: the translate() offsets below are physical, RTL swaps them explicitly */
  inline-size: 42%;
  aspect-ratio: 1;
  border-radius: var(--kp-radius-m);
  overflow: hidden;
  box-shadow: var(--kp-shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.kp-hero__poster img { inline-size: 100%; block-size: 100%; object-fit: cover; }

.kp-hero__poster:nth-child(1) { transform: translate(-108%, -46%) rotate(-7deg); z-index: 1; }
.kp-hero__poster:nth-child(2) { transform: translate(-50%, -56%); z-index: 3; inline-size: 48%; }

@media (min-width: 60em)
{
  .kp-hero__poster { inline-size: 56%; }
  .kp-hero__poster:nth-child(2) { inline-size: 60%; }
}
.kp-hero__poster:nth-child(3) { transform: translate(8%, -46%) rotate(7deg); z-index: 2; }

[dir="rtl"] .kp-hero__poster:nth-child(1) { transform: translate(8%, -46%) rotate(7deg); }
[dir="rtl"] .kp-hero__poster:nth-child(3) { transform: translate(-108%, -46%) rotate(-7deg); }

/* ── store buttons ──────────────────────────────────────── */

.kp-stores
{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 28px;
  padding-block: 12px;
}

.kp-stores--center { justify-content: center; }

/* "Coming soon" text button (config/stores.json display=coming_soon): no trademark, no link. */
.kp-store-soon
{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-block-size: 52px;
  padding-inline: 18px 22px;
  border-radius: var(--kp-radius-pill);
  background: var(--kp-surface);
  border: 1px solid var(--kp-line);
}

.kp-store-soon svg { inline-size: 22px; block-size: 22px; color: var(--kp-mint); flex: none; }
.kp-store-soon__text { display: flex; flex-direction: column; line-height: 1.25; }
.kp-store-soon__label { font-weight: 700; font-size: 16px; }
.kp-store-soon__sub { color: var(--kp-text-2); font-size: 13px; }

/* Store buttons: HTML text with an inline icon, like the kdating landing (owner 2026-11-01 17:25). Two lines
   5 px apart, the name in the body font's bold — no hairline Korean, no lines sitting on each other. */
.kp-store-btn
{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-block-size: 52px;
  min-inline-size: 168px;
  padding-block: 8px;
  padding-inline: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  background: #000;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.kp-store-btn:hover { border-color: rgba(255, 255, 255, 0.75); transform: translateY(-1px); }
.kp-store-btn__icon { display: inline-flex; flex: none; }
.kp-store-btn__icon svg { inline-size: 26px; block-size: 26px; }

.kp-store-btn__text
{
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1.1;
  text-align: start;
}

.kp-store-btn__text small { font-size: 12px; font-weight: 600; opacity: 0.85; white-space: nowrap; }
.kp-store-btn__text strong { font-size: 16px; font-weight: 700; letter-spacing: 0; white-space: nowrap; }

/* Phones: share the row equally; when a long name (구글 플레이스토어) makes them wrap, each fills the width. */
@media (max-width: 47.99em)
{
  .kp-store-btn { flex: 1 1 150px; justify-content: center; }
}

/* ── sections ───────────────────────────────────────────── */

/* Every section gap matches the hero -> first section gap (about 100-112 px on desktop): the old 96 + 96 px
   left 192 px between sections (owner 2026-11-01 18:2x). */
.kp-section { padding-block: 48px; }

@media (min-width: 48em)
{
  .kp-section { padding-block: 56px; }
}

.kp-section__title
{
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-block-end: 32px;
}

.kp-section__title--eyebrow
{
  color: var(--kp-mint);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-block-end: 24px;
}

:lang(ko) .kp-section__title--eyebrow, :lang(ja) .kp-section__title--eyebrow,
:lang(zh-Hant) .kp-section__title--eyebrow, :lang(ar) .kp-section__title--eyebrow,
:lang(th) .kp-section__title--eyebrow, :lang(hi) .kp-section__title--eyebrow,
:lang(km) .kp-section__title--eyebrow, :lang(lo) .kp-section__title--eyebrow
{
  letter-spacing: 0;
  font-size: 17px;
}

/* stories */

.kp-stories__list
{
  display: grid;
  gap: 20px;
}

@media (min-width: 48em)
{
  .kp-stories__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

.kp-work
{
  display: flex;
  flex-direction: column;
  background: var(--kp-surface);
  border-radius: var(--kp-radius-m);
  overflow: hidden;
  block-size: 100%;
}

.kp-work__poster { aspect-ratio: 1; background: var(--kp-surface-2); }
.kp-work__poster img { inline-size: 100%; block-size: 100%; object-fit: cover; }

.kp-work__body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.kp-work__title { font-size: 20px; font-weight: 700; line-height: 1.3; }
.kp-work__tags { color: var(--kp-cyan); font-size: 14px; font-weight: 600; }
.kp-work__summary { color: var(--kp-text-2); font-size: 15px; line-height: 1.6; }

:lang(ko) .kp-work__summary { word-break: keep-all; }

/* features */

.kp-features
{
  display: grid;
  gap: 16px;
}

@media (min-width: 48em)
{
  .kp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

.kp-feature
{
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  background: var(--kp-surface);
  border-radius: var(--kp-radius-m);
}

.kp-feature__icon
{
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  border-radius: var(--kp-radius-pill);
  background: rgba(78, 255, 189, 0.12);
  color: var(--kp-mint);
}

.kp-feature__icon svg { inline-size: 22px; block-size: 22px; }
.kp-feature__title { font-size: 18px; font-weight: 700; line-height: 1.35; margin-block-end: 6px; }
.kp-feature__body { color: var(--kp-text-2); font-size: 15px; }

:lang(ko) .kp-feature__body { word-break: keep-all; }

/* screenshots */

/* The screenshots have no heading of their own, so they hang under the feature cards as part of 「how」
   (64 px on desktop, 56 px on phones, the rail's 8 px included) and the gap after them is the usual section gap
   (112 / 96 px to the next heading). Owner 2026-11-01 19:1x. */
.kp-shots { padding-block: 0 40px; }

@media (min-width: 48em)
{
  .kp-shots { padding-block: 0 48px; }
}

/* The rail lives inside .kp-wrap, so on desktop it is clipped at the content edges like every other section
   and the first screenshot starts at the content's left edge (it used to start at x = 0 and run off the page).
   On phones it bleeds to the screen edges for swiping, with the first shot snapped to the gutter. */
.kp-shots__rail
{
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  padding-block: 8px;
  -webkit-user-select: none;
  user-select: none;
}

.kp-shots__rail::-webkit-scrollbar { display: none; }

/* Mouse drag (site.js): a grab cursor while there is something to scroll; snapping stays off while dragging
   and until the rail has glided onto the nearest screenshot. */
.kp-shots__rail.is-draggable { cursor: grab; }
.kp-shots__rail.is-dragging { cursor: grabbing; }
.kp-shots__rail.is-free { scroll-snap-type: none; }

.kp-shots__list
{
  display: flex;
  gap: 16px;
  inline-size: max-content;
}

@media (max-width: 47.99em)
{
  .kp-shots__rail
  {
    margin-inline: calc(-1 * var(--kp-gutter));
    scroll-padding-inline: var(--kp-gutter);
  }

  /* two classes: ul[role="list"] { padding: 0 } would win over one */
  .kp-shots__rail .kp-shots__list { padding-inline: var(--kp-gutter); }
}

.kp-shot
{
  scroll-snap-align: start;
  inline-size: clamp(200px, 58vw, 260px);
  flex: none;
}

.kp-shot img
{
  inline-size: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--kp-radius-l);
  background: var(--kp-surface);
  -webkit-user-drag: none;
}

/* The arrows sit over the rail's two edges, centred on the screenshots, so the section ends with the pictures
   instead of a row of buttons under them. Only for a mouse: touch screens swipe, so they get none. An arrow
   with nothing left to show on its side fades out. */
.kp-shots .kp-wrap { position: relative; }
.kp-shots__nav { display: none; }

@media (hover: hover) and (pointer: fine)
{
  .kp-shots__nav
  {
    position: absolute;
    inset-block: 0;
    inset-inline: max(0px, calc(var(--kp-gutter) - 24px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
  }

  .kp-shots__nav .kp-round-btn { pointer-events: auto; }
}

.kp-shots__nav[hidden] { display: none; }

.kp-round-btn
{
  display: grid;
  place-items: center;
  inline-size: 48px;
  block-size: 48px;
  border-radius: 50%;
  border: 1px solid var(--kp-line);
  background: var(--kp-surface);
  box-shadow: var(--kp-shadow);
  cursor: pointer;
  transition: opacity 0.2s, visibility 0.2s, border-color 0.2s;
}

.kp-round-btn:hover { border-color: var(--kp-text-2); }
.kp-round-btn:disabled { opacity: 0; visibility: hidden; }
.kp-round-btn svg { inline-size: 20px; block-size: 20px; }
[dir="rtl"] .kp-round-btn svg { transform: scaleX(-1); }

/* good to know */

.kp-good__list
{
  display: grid;
  gap: 14px;
}

@media (min-width: 48em)
{
  .kp-good__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}

.kp-good__item
{
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--kp-text);
}

.kp-good__item svg { inline-size: 22px; block-size: 22px; color: var(--kp-mint); margin-block-start: 2px; }

/* closing call to action */

/* No panel behind it (owner 2026-11-01 19:1x): logo, name and buttons stand on the page background as one
   centred group, with the section gap above it and the same space below it before the footer line. */
.kp-cta { padding-block: 48px 96px; }

@media (min-width: 48em)
{
  .kp-cta { padding-block: 56px 112px; }
}

.kp-cta__box
{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.kp-cta__logo svg { block-size: 48px; inline-size: auto; }
.kp-cta__name { font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); font-weight: 700; }
.kp-cta .kp-stores { margin-block-start: 12px; }

/* ── footer ─────────────────────────────────────────────── */

.kp-footer
{
  border-block-start: 1px solid var(--kp-line);
  padding-block: 48px 64px;
  color: var(--kp-text-2);
  font-size: 15px;
}

.kp-footer__grid { display: grid; gap: 28px; }
.kp-footer__logo svg { block-size: 26px; inline-size: auto; }

.kp-footer__links
{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.kp-footer__links a,
.kp-footer__langs a
{
  text-decoration: none;
  min-block-size: 32px;
  display: inline-flex;
  align-items: center;
}

.kp-footer__links a { color: var(--kp-text); }
.kp-footer__links a:hover, .kp-footer__langs a:hover { text-decoration: underline; }

.kp-footer__langs
{
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 14px;
}

.kp-footer__langs [aria-current="page"] { color: var(--kp-mint); }
.kp-footer__copy { font-size: 13px; }
.kp-footer__legal { font-size: 12px; color: #8a8a8a; max-inline-size: 60em; }

/* ── language dialog ────────────────────────────────────── */

.kp-lang-dialog
{
  inline-size: min(560px, calc(100vw - 32px));
  max-block-size: min(640px, calc(100svh - 48px));
  padding: 0;
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius-l);
  background: var(--kp-surface);
  color: var(--kp-text);
  box-shadow: var(--kp-shadow);
}

.kp-lang-dialog::backdrop { background: rgba(0, 0, 0, 0.6); }

.kp-lang-dialog__head
{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px 4px;
  padding-inline: 24px 12px;
}

.kp-lang-dialog__title { font-size: 18px; font-weight: 700; }

.kp-lang-dialog__close
{
  display: grid;
  place-items: center;
  inline-size: 48px;
  block-size: 48px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.kp-lang-dialog__close svg { inline-size: 20px; block-size: 20px; }

.kp-lang-dialog__list
{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 8px;
  padding: 8px 16px 20px;
}

.kp-lang-dialog__list a
{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-block-size: 48px;
  padding-inline: 12px;
  border-radius: var(--kp-radius-m);
  text-decoration: none;
}

.kp-lang-dialog__list a:hover { background: var(--kp-surface-2); }
.kp-lang-dialog__list a[aria-current="page"] { color: var(--kp-mint); font-weight: 700; }
.kp-lang-dialog__list svg { inline-size: 16px; block-size: 16px; }

/* ── language suggestion (never redirects) ──────────────── */

.kp-suggest
{
  position: fixed;
  inset-block-end: 16px;
  inset-inline: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 4px;
  max-inline-size: 440px;
  margin-inline: auto;
  padding-inline-start: 18px;
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius-pill);
  background: rgba(31, 31, 31, 0.96);
  box-shadow: var(--kp-shadow);
}

.kp-suggest[hidden] { display: none; }

.kp-suggest__link
{
  flex: 1;
  min-block-size: 52px;
  display: flex;
  align-items: center;
  color: var(--kp-mint);
  font-weight: 600;
  text-decoration: none;
}

.kp-suggest__close
{
  display: grid;
  place-items: center;
  inline-size: 52px;
  block-size: 52px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.kp-suggest__close svg { inline-size: 18px; block-size: 18px; }

/* ── support page ───────────────────────────────────────── */

.kp-support { padding-block: calc(var(--kp-header-h) + 48px) 80px; }
.kp-support__wrap { max-inline-size: 760px; }
.kp-support__title { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-block-end: 20px; }
.kp-support__lead { font-size: 18px; }
.kp-support__lead a { color: var(--kp-mint); }
.kp-support__note { margin-block-start: 14px; color: var(--kp-text-2); font-size: 15px; }

.kp-support__block
{
  margin-block-start: 28px;
  padding: 22px 24px;
  background: var(--kp-surface);
  border-radius: var(--kp-radius-m);
}

.kp-support__block h2 { font-size: 19px; font-weight: 700; margin-block-end: 8px; }
.kp-support__block p { color: var(--kp-text-2); }
.kp-support__block a { color: var(--kp-mint); }

:lang(ko) .kp-support p { word-break: keep-all; }

@media (prefers-reduced-motion: reduce)
{
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
