:root {
  --ka-bg: #f6f4ef;
  --ka-surface: rgba(255, 255, 255, 0.88);
  --ka-surface-solid: #ffffff;
  --ka-ink: #181818;
  --ka-muted: #68645f;
  --ka-line: rgba(24, 24, 24, 0.12);
  --ka-violet: #6847c6;
  --ka-violet-soft: #eee9ff;
  --ka-gold: #9b742f;
  --ka-green: #2f7556;
  --ka-shadow: 0 24px 70px rgba(32, 26, 20, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 8%, rgba(104, 71, 198, .10), transparent 31rem),
    radial-gradient(circle at 5% 38%, rgba(155, 116, 47, .08), transparent 28rem),
    var(--ka-bg);
  color: var(--ka-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

.ka-shell { min-height: 100vh; }
.ka-container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.ka-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(24, 24, 24, .08);
  background: rgba(246, 244, 239, .88);
  backdrop-filter: blur(18px);
}
.ka-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ka-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 780;
  letter-spacing: -.02em;
}
.ka-brand img { width: 38px; height: 38px; border-radius: 10px; }
.ka-nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; flex-wrap: wrap; }
.ka-nav > a {
  color: #48443f;
  font-size: .9rem;
  font-weight: 680;
  text-decoration: none;
}
.ka-nav > a:hover { color: var(--ka-ink); }
.ka-language {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--ka-line);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
}
.ka-language a {
  min-width: 35px;
  padding: 7px 8px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 780;
  color: #66615c;
}
.ka-language a[aria-current="page"] { background: var(--ka-ink); color: #fff; }
.ka-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ka-ink);
  color: white !important;
}

.ka-hero { padding: clamp(62px, 8vw, 112px) 0 clamp(68px, 8vw, 108px); }
.ka-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
}
.ka-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(104, 71, 198, .22);
  border-radius: 999px;
  background: rgba(238, 233, 255, .72);
  color: #4d329c;
  font-size: .78rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.ka-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ka-violet); box-shadow: 0 0 0 5px rgba(104,71,198,.10); }
.ka-hero h1 {
  max-width: 760px;
  margin: 23px 0 0;
  font-size: clamp(3rem, 6.25vw, 6rem);
  line-height: .94;
  letter-spacing: -.062em;
  font-weight: 790;
  text-wrap: balance;
}
.ka-hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: #49453f;
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.68;
}
.ka-hero-lead strong { color: var(--ka-ink); }
.ka-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ka-button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid var(--ka-line);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  color: var(--ka-ink);
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease;
}
.ka-button:hover { transform: translateY(-1px); background: #fff; }
.ka-button-primary { border-color: var(--ka-ink); background: var(--ka-ink); color: #fff; }
.ka-button-primary:hover { background: #292929; }
.ka-note { margin: 18px 0 0; color: var(--ka-muted); font-size: .84rem; line-height: 1.6; }

.ka-device {
  position: relative;
  width: min(335px, 80vw);
  margin: 0 auto;
  padding: 8px;
  border-radius: 42px;
  background: #121319;
  box-shadow: 0 28px 75px rgba(23, 20, 17, .18);
}
.ka-device::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 50%;
  width: 34%;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 0 0 13px 13px;
  background: #121319;
}
.ka-device img { display: block; width: 100%; border-radius: 34px; background: #fff; }
.ka-device-tag {
  position: absolute;
  right: -18px;
  bottom: 28px;
  max-width: 190px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 14px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 12px 35px rgba(0,0,0,.10);
  font-size: .82rem;
  line-height: 1.4;
  font-weight: 760;
}
.ka-device-tag span { display: block; margin-top: 3px; color: var(--ka-green); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }

.ka-section { padding: clamp(68px, 7.5vw, 100px) 0; border-top: 1px solid var(--ka-line); }
.ka-section-soft { background: rgba(255,255,255,.52); }
.ka-section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 82px); align-items: start; margin-bottom: 42px; }
.ka-kicker { display: inline-block; color: var(--ka-gold); font-size: .74rem; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
.ka-section h2 { margin: 12px 0 0; font-size: clamp(2.15rem, 4vw, 4rem); line-height: 1; letter-spacing: -.047em; text-wrap: balance; }
.ka-section-intro { margin: 4px 0 0; max-width: 660px; color: #54504a; font-size: 1.06rem; line-height: 1.72; }

.ka-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ka-card {
  min-height: 215px;
  padding: 25px;
  border: 1px solid var(--ka-line);
  border-radius: 18px;
  background: var(--ka-surface);
  box-shadow: 0 14px 38px rgba(32,26,20,.035);
}
.ka-card-index { display: inline-block; margin-bottom: 28px; color: var(--ka-violet); font-size: .74rem; font-weight: 820; letter-spacing: .1em; }
.ka-card h3 { margin: 0; font-size: 1.12rem; letter-spacing: -.02em; }
.ka-card p { margin: 11px 0 0; color: var(--ka-muted); font-size: .92rem; line-height: 1.65; }

.ka-now-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.ka-now-card {
  padding: clamp(27px, 4vw, 42px);
  border-radius: 22px;
  border: 1px solid var(--ka-line);
  background: var(--ka-surface-solid);
}
.ka-now-card.is-current { background: var(--ka-ink); color: #f5f1ea; border-color: var(--ka-ink); }
.ka-now-card .ka-mini-status { display: inline-flex; margin-bottom: 24px; padding: 7px 10px; border-radius: 999px; background: var(--ka-violet-soft); color: #4f359f; font-size: .72rem; font-weight: 820; letter-spacing: .055em; text-transform: uppercase; }
.ka-now-card.is-current .ka-mini-status { background: rgba(255,255,255,.12); color: #e7ddff; }
.ka-now-card h3 { margin: 0; font-size: clamp(1.65rem, 2.6vw, 2.45rem); letter-spacing: -.035em; }
.ka-now-card p { margin: 14px 0 0; color: var(--ka-muted); line-height: 1.7; }
.ka-now-card.is-current p { color: #cbc7c1; }

.ka-access-panel {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 30px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 24px;
  background: #e9e1c9;
}
.ka-access-panel h2 { margin: 0; }
.ka-access-panel p { margin: 15px 0 0; max-width: 680px; color: #575044; line-height: 1.7; }
.ka-access-links { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }

.ka-footer { padding: 34px 0 42px; border-top: 1px solid var(--ka-line); }
.ka-footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.ka-footer strong { display: block; margin-bottom: 7px; }
.ka-footer p { margin: 0; color: var(--ka-muted); font-size: .86rem; line-height: 1.55; }
.ka-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.ka-footer-links a { color: #5b5650; font-size: .82rem; text-decoration: none; }
.ka-footer-links a:hover { color: var(--ka-ink); text-decoration: underline; }

@media (max-width: 940px) {
  .ka-nav > a:not(.ka-account), .ka-nav .ka-account { display: none; }
  .ka-hero-grid, .ka-section-head, .ka-access-panel { grid-template-columns: 1fr; }
  .ka-hero-copy { text-align: left; }
  .ka-device { width: min(310px, 76vw); }
  .ka-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ka-access-links { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .ka-container { width: min(100% - 28px, 1160px); }
  .ka-header-inner { min-height: 68px; }
  .ka-brand img { width: 34px; height: 34px; }
  .ka-hero { padding-top: 48px; }
  .ka-hero h1 { font-size: clamp(2.75rem, 15vw, 4.5rem); }
  .ka-device-tag { right: -7px; bottom: 18px; }
  .ka-grid, .ka-now-grid { grid-template-columns: 1fr; }
  .ka-card { min-height: 0; }
  .ka-footer-inner { flex-direction: column; }
  .ka-footer-links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ka-button { transition: none; }
}
