:root {
  --primary: #6c74d9;
  --secondary: #9dc6a7;
  --accent: #e58a5e;
  --background: #f6e6dd;
  --surface: #f7f3ee;
  --surface-soft: rgba(247, 243, 238, 0.82);
  --surface-strong: #ffffff;
  --text: #243057;
  --muted: #5e6993;
  --outline: rgba(57, 69, 126, 0.16);
  --outline-strong: #39457e;
  --shadow: 0 24px 60px rgba(36, 48, 87, 0.12);
  --shadow-soft: 0 10px 30px rgba(36, 48, 87, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(108, 116, 217, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(157, 198, 167, 0.24), transparent 24%),
    linear-gradient(180deg, #fffaf6 0%, var(--background) 100%);
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.5;
}

body::before {
  width: 18rem;
  height: 18rem;
  top: 7rem;
  left: -5rem;
  background: rgba(108, 116, 217, 0.18);
}

body::after {
  width: 20rem;
  height: 20rem;
  right: -6rem;
  bottom: 4rem;
  background: rgba(229, 138, 94, 0.16);
}

a {
  color: var(--outline-strong);
}

.site-shell {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 243, 238, 0.8);
  border-bottom: 1px solid var(--outline);
  box-shadow: 0 8px 24px rgba(36, 48, 87, 0.06);
}

.topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  padding: 14px 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.brand-link img {
  height: 52px;
  width: auto;
  display: block;
}

.topbar-nav {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  width: auto;
  align-items: center;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(108, 116, 217, 0.08);
  border: 1px solid rgba(108, 116, 217, 0.12);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}

.lang-switch a.active {
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: 0 4px 14px rgba(36, 48, 87, 0.08);
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 72px;
}

.hero {
  display: block;
  margin-bottom: 28px;
}

.hero-card,
.summary-card,
.section-card,
.feature-card {
  background: var(--surface-soft);
  border: 1px solid var(--outline);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card {
  padding: 34px 34px 30px;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(108, 116, 217, 0.12);
  color: var(--outline-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.meta {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.lead {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--text);
}

.notice {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 5px solid var(--accent);
  border-radius: 20px;
  background: rgba(229, 138, 94, 0.1);
  color: var(--text);
  line-height: 1.7;
}

.summary-card {
  padding: 26px 24px;
  position: static;
  margin-top: 18px;
  margin-bottom: 24px;
}

.summary-card h2,
.section-card h2,
.section-card h3,
.feature-card h2,
.feature-card h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

.summary-card h2 {
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.summary-card ol,
.summary-card ul {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.8;
}

.summary-card li + li {
  margin-top: 10px;
}

.summary-card a {
  color: var(--outline-strong);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
  font-weight: 600;
}

.content {
  display: grid;
  gap: 18px;
}

.section-card {
  padding: 28px 30px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(108, 116, 217, 0.18), rgba(157, 198, 167, 0.32));
  color: var(--outline-strong);
  font-weight: 800;
}

.section-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.section-card p,
.section-card ul,
.section-card ol,
.feature-card p,
.feature-card ul {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.section-card p + p,
.section-card p + ul,
.section-card p + ol,
.section-card ul + p,
.section-card ol + p,
.section-card ul + ul,
.section-card ol + ol {
  margin-top: 16px;
}

.section-card ul,
.section-card ol,
.feature-card ul {
  padding-left: 22px;
}

.section-card li + li,
.feature-card li + li {
  margin-top: 8px;
}

.section-card strong,
.feature-card strong,
.notice strong,
.lead strong {
  color: var(--text);
}

.contact-card {
  background: linear-gradient(135deg, rgba(108, 116, 217, 0.14), rgba(157, 198, 167, 0.24));
}

.home-grid {
  display: block;
  margin-top: 24px;
}

.feature-card {
  padding: 24px;
}

.feature-card + .feature-card {
  margin-top: 18px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-card p {
  margin-bottom: 14px;
}

.feature-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
}

.home-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 24px;
}

.button-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(57, 69, 126, 0.14);
  background: var(--surface-strong);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.button-link.primary {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 720px) {
  .topbar-inner {
    padding: 12px 16px;
    gap: 14px;
    min-height: 0;
    flex-direction: column;
  }

  .topbar-nav {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .brand-link img {
    height: 42px;
  }

  .page {
    padding: 20px 16px 56px;
  }

  .hero-card,
  .summary-card,
  .section-card,
  .feature-card {
    border-radius: 22px;
  }

  .hero-card,
  .section-card,
  .feature-card {
    padding: 22px 20px;
  }

  .summary-card {
    padding: 22px 20px;
  }

  .lead {
    font-size: 1rem;
  }
}
