:root {
  --kook-page: #e6f3f1;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--kook-page);
}
.nav-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding-top: env(safe-area-inset-top, 0px);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}
.nav-brand img {
  display: block;
  width: auto;
  height: 44px;
  flex: none;
}
.nav-brand span {
  color: #56949d;
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Arial Rounded Bold", sans-serif;
  font-size: clamp(0.92rem, 2.1vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  color: #4f4f4f;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-links a:hover,
.nav-links a.is-current { color: #008483; }
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 22px;
  background: #000;
  color: #fff;
  -webkit-text-fill-color: #fff;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  line-height: 1;
  flex: none;
  cursor: default;
}
.store-badge:link,
.store-badge:visited,
.store-badge:hover,
.store-badge:active {
  background: #000;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-decoration: none;
}
.store-badge .store-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.nav .store-badge {
  height: 32px;
  padding: 0 18px;
  border-radius: 16px;
}
.nav .store-badge .store-text { font-size: 13px; }
@media (max-width: 900px) {
  .nav-shell {
    flex-wrap: wrap;
    row-gap: 8px;
    padding-bottom: 10px;
  }
  .nav-links {
    margin-left: auto;
  }
  .nav-links a:not(.store-badge) { display: none; }
  .nav .store-badge { height: 30px; }
  .nav-brand img { height: 36px; }
  .nav-brand span {
    font-size: 0.82rem;
    white-space: normal;
    line-height: 1.05;
  }
}

.site-footer {
  background: #008483;
  color: #fff;
  margin-top: 8px;
}
.site-footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 48px;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 80px;
}
.foot-cols h2 {
  margin: 0 0 22px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}
.foot-logo {
  display: block;
  width: fit-content;
  margin: 0;
}
.foot-logo img {
  display: block;
  width: 108px;
  height: auto;
  filter: brightness(1.42) contrast(1.04) saturate(1.06);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}
.foot-cols a {
  display: block;
  font-size: 1.02rem;
  font-weight: 500;
  margin: 0 0 14px;
}
.foot-cols a:hover { color: #ff9933; }
.foot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.foot-actions a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 10px;
  background: #fff;
  color: #008483;
}
.foot-actions a:hover {
  background: #ff9933;
  color: #fff;
}
.foot-actions svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.site-copy {
  margin: 0;
  padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  background: #008483;
}
@media (max-width: 800px) {
  .site-footer-inner { padding: 40px 0 32px; }
  .foot-cols {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: none;
  }
}
