:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #1d2433;
  --muted: #5f6b85;
  --primary: #2f6dff;
  --primary-2: #39a0ff;
  --accent: #11b3a3;
  --border: #dde4f0;
  --shadow: 0 12px 30px rgba(20, 35, 70, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -20%, rgba(47, 109, 255, 0.14), transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(17, 179, 163, 0.12), transparent 30%),
    var(--bg);
  line-height: 1.55;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(244, 247, 251, 0.86);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--text);
  text-decoration: none;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 6px rgba(47, 109, 255, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
}

.hero {
  padding: 72px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.hero-card,
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 6px 12px;
  font-size: 0.84rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  margin: 14px 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.85rem);
  line-height: 1.1;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.cta-row {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
}

.stat b {
  display: block;
  font-size: 1.15rem;
  font-family: "Space Grotesk", sans-serif;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.panel {
  padding: 24px;
}

.panel h3 {
  margin-top: 0;
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.bullet-list li + li {
  margin-top: 10px;
}

.section {
  padding: 24px 0 32px;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--text);
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
}

.faq-a {
  display: none;
  padding: 0 16px 16px;
  color: var(--muted);
}

.faq-item.open .faq-a {
  display: block;
}

.content-page {
  padding: 40px 0 52px;
}

.article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.article h1 {
  margin-top: 0;
}

.article h2 {
  margin-top: 24px;
}

.article p,
.article li {
  color: var(--muted);
}

.article ul,
.article ol {
  padding-left: 20px;
}

.policy-kicker {
  margin: 0 0 8px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.policy-meta {
  margin-top: -2px;
  color: var(--muted);
  font-weight: 600;
}

.policy-list li + li {
  margin-top: 8px;
}

.notice-box {
  margin: 18px 0 22px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(47, 109, 255, 0.18);
  background: linear-gradient(180deg, rgba(47, 109, 255, 0.08), rgba(57, 160, 255, 0.04));
  color: var(--text);
}

.notice-box strong {
  color: var(--text);
}

.notice-box-danger {
  border-color: rgba(220, 53, 69, 0.24);
  background: linear-gradient(180deg, rgba(220, 53, 69, 0.08), rgba(220, 53, 69, 0.03));
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 6px;
}

.mini-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
}

.mini-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.mini-card p {
  margin: 0;
}

.footer {
  margin-top: 30px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer small {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .hero-card,
  .panel {
    padding: 22px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 14px 0;
  }
}

/* Home page refresh */
.home-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar-minimal {
  background: rgba(244, 247, 251, 0.94);
}

.topbar-minimal .topbar-inner {
  justify-content: center;
  min-height: 82px;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 136px;
  height: auto;
  display: block;
}

.hero-minimal {
  padding-top: 40px;
  padding-bottom: 26px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 20px;
}

.hero-card-minimal {
  padding: 32px;
}

.hero-card-minimal h1 {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1.15;
}

.hero-card-minimal .lead {
  font-size: 1rem;
}

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.showcase-card h2 {
  margin-top: 4px;
  margin-bottom: 14px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.showcase-swiper {
  width: 100%;
  padding-bottom: 24px;
  overflow: hidden;
}

.showcase-swiper .swiper-slide {
  width: auto;
}

.showcase-swiper img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #e8edf7;
}

.showcase-swiper .swiper-pagination-bullet {
  background: #9fb2d6;
  opacity: 1;
}

.showcase-swiper .swiper-pagination-bullet-active {
  background: var(--primary);
}

.footer-home {
  min-height: 90px;
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-card-minimal,
  .showcase-card {
    padding: 18px;
  }

  .cta-row .btn {
    flex: 1 1 0;
  }

  .stats {
    gap: 8px;
  }

  .showcase-swiper .swiper-slide {
    width: auto;
  }
}

@media (max-width: 560px) {
  .topbar-minimal .topbar-inner {
    min-height: 74px;
  }

  .hero-minimal {
    padding-top: 20px;
    padding-bottom: 12px;
  }

  .hero-card-minimal {
    padding: 14px;
    border-radius: 16px;
  }

  .showcase-card {
    padding: 14px;
    border-radius: 16px;
  }

  .hero-card-minimal h1 {
    margin: 10px 0 10px;
    font-size: 1.5rem;
    line-height: 1.18;
  }

  .hero-card-minimal .lead {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .eyebrow {
    font-size: 0.78rem;
    padding: 5px 10px;
  }

  .cta-row {
    margin-top: 16px;
    gap: 8px;
  }

  .cta-row .btn {
    width: 100%;
    padding: 11px 12px;
    font-size: 0.95rem;
  }

  .stat {
    padding: 10px;
  }

  .stat b {
    font-size: 1rem;
  }

  .stat span {
    font-size: 0.84rem;
  }

  .showcase-card h2 {
    margin-bottom: 10px;
    font-size: 1.08rem;
  }

  .brand-logo {
    width: 124px;
  }

  .showcase-swiper .swiper-slide {
    width: auto;
  }

  .showcase-swiper img {
    width: min(84vw, 280px);
    margin: 0 auto;
    display: block;
  }

  .footer-home {
    min-height: auto;
  }

  .footer-home .footer-inner {
    padding: 12px 0;
  }

  .footer-home .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    width: 100%;
  }

  .footer-home .footer-links a {
    font-size: 0.9rem;
  }
}
