:root {
  --bg: #fff9ee;
  --panel: #ffffff;
  --ink: #111111;
  --muted: #4d4d4d;
  --line: #ffd894;
  --accent: #f07a00;
  --accent-dark: #c95700;
  --accent-soft: #fff2d9;
  --ok: #ea7a00;
  --warn: #c9a200;
  --shadow: 0 14px 34px rgba(31, 20, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 12%, rgba(240, 122, 0, 0.16), transparent 34%),
    radial-gradient(circle at 85% 0%, rgba(255, 199, 0, 0.14), transparent 28%),
    linear-gradient(170deg, #fffdf7 0%, #fff8e8 52%, #fff3dc 100%);
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 8% 8%, rgba(240, 122, 0, 0.12), transparent 32%),
    radial-gradient(circle at 91% 0%, rgba(255, 185, 0, 0.11), transparent 28%);
  z-index: -1;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(255, 252, 245, 0.9);
  border-bottom: 1px solid rgba(255, 216, 148, 0.75);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-pks {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.logo-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
}

.logo-text {
  display: grid;
  gap: 1px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.logo-text small {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;
  letter-spacing: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.nav-action {
  display: flex;
  gap: 10px;
}

.hero {
  padding: 26px 0 18px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.15em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1 {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 8px 0 4px;
  line-height: 1.03;
}

.tagline {
  margin: 0;
  font-weight: 700;
  color: #1b1b1b;
}

.narrative {
  margin: 10px 0 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.55;
}

.cta-row {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-large {
  min-height: 48px;
  padding: 10px 22px;
}

.btn-solid {
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
  color: var(--ink);
}

.is-hidden {
  display: none;
}

.teaser-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.teaser-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

.ok {
  color: var(--ok);
}

.warn {
  color: var(--warn);
}

.section-block {
  margin-top: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.section-head h2 {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
}

.section-head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.card-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.info-card {
  border: 1px solid var(--line);
  background: linear-gradient(170deg, #ffffff 0%, var(--accent-soft) 140%);
  border-radius: 12px;
  min-height: 52px;
  padding: 8px 10px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.info-card:hover,
.info-card:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.flow-wrap {
  background: linear-gradient(130deg, #101010, #2b2b2b);
  border-color: #1f1f1f;
  color: #f6f8f7;
}

.flow-wrap .section-head p {
  color: #ffd27a;
}

.flow-line {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.flow-line span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.87rem;
}

.flow-line i {
  color: #ffb648;
  font-style: normal;
  font-weight: 700;
}

.quick-login {
  margin: 16px 0 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 18px 0 22px;
  font-size: 0.86rem;
  color: var(--muted);
}

.site-footer p,
.site-footer strong {
  margin: 0;
}

.modal-box {
  border: 0;
  border-radius: 14px;
  padding: 0;
  width: min(520px, 92vw);
}

.modal-box::backdrop {
  background: rgba(26, 30, 27, 0.62);
}

.modal-content {
  margin: 0;
  padding: 20px;
  display: grid;
  gap: 10px;
}

.modal-label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 700;
}

.modal-content h3 {
  margin: 3px 0 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-weight: 800;
}

.modal-content p {
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .teaser-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    min-height: 64px;
  }

  .nav-action {
    gap: 6px;
  }

  .btn {
    font-size: 0.9rem;
  }

  .teaser-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
