/* Base layout */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #f8f4ff 0, #efe7ff 40%, #e8e0ff 100%);
  color: #291648;
  min-height: 100vh;
}

/* Container */

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 255, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212, 198, 255, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #291648;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #f2e8ff 40%, #c2b2ff 100%);
  box-shadow: 0 10px 25px rgba(105, 73, 180, 0.5);
  margin-right: 10px;
}

.brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #7b6aa5;
}

.main-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.main-nav a {
  text-decoration: none;
  color: #5b4b9b;
}

.main-nav a:hover {
  color: #8b6cff;
}

.header-cta {
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, #f6e6ff, #d5c2ff);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: #3a236f;
  border: 1px solid rgba(196, 170, 255, 0.9);
}

/* Hero */

.hero {
  padding: 36px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(260px, 1.2fr);
  gap: 32px;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(214, 199, 255, 0.8);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7a6aa2;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 40px;
  line-height: 1.12;
  margin: 0 0 14px;
  font-weight: 800;
}

.hero-title span {
  color: #7a54ff;
}

.hero-subtitle {
  margin: 0 0 18px;
  color: #6b5e9e;
  font-size: 15px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.hero-search {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(215, 203, 255, 0.9);
  min-width: 260px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(207, 191, 255, 0.9);
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  text-decoration: none;
  color: #5c48a8;
}

.chip:hover {
  background: #f5eeff;
}

.hero-note {
  margin: 0;
  font-size: 13px;
  color: #8573b3;
}

/* Hero side card */

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 20px 18px;
  border: 1px solid rgba(210, 199, 255, 0.9);
  box-shadow: 0 14px 30px rgba(122, 96, 188, 0.18);
}

.hero-card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7c6ab1;
  margin-bottom: 8px;
}

.hero-card-number {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.hero-card-text {
  font-size: 14px;
  color: #594385;
}

/* Sections */

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

.section-inner {
  padding-top: 8px;
}

.section-header h2 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 800;
}

.section-header p {
  margin: 0 0 14px;
  font-size: 14px;
  color: #7464a6;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1.2fr);
  gap: 28px;
}

.section-main {
  font-size: 14px;
}

.section-main ul {
  columns: 2;
  column-gap: 36px;
  padding-left: 18px;
}

.section-main li {
  margin-bottom: 4px;
}

.section-main a {
  color: #5b3fc6;
  text-decoration: none;
}

.section-main a:hover {
  text-decoration: underline;
}

.section-highlight {
  padding: 10px 14px;
  margin-bottom: 10px;
  border-radius: 999px;
  border: 1px dashed rgba(194, 176, 255, 0.9);
  font-size: 13px;
  color: #6e5ba8;
}

/* Side cards */

.section-side,
.article-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.side-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  border: 1px solid rgba(210, 199, 255, 0.9);
  padding: 14px 16px;
  font-size: 14px;
  color: #5a477e;
  box-shadow: 0 10px 24px rgba(115, 88, 178, 0.16);
}

.side-card-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7c68b5;
  margin-bottom: 6px;
}

/* Article pages */

.article-container {
  padding: 32px 0 40px;
}

.breadcrumb {
  font-size: 12px;
  color: #7a6bb0;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: #5b3fc6;
  text-decoration: none;
}

.breadcrumb span {
  margin-right: 4px;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1.1fr);
  gap: 30px;
}

.article-title {
  font-size: 32px;
  margin: 0 0 10px;
  font-weight: 800;
}

.article-intro {
  margin: 0 0 18px;
  font-size: 14px;
  color: #6e5f9e;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(218, 205, 255, 0.8);
}

.article-section {
  margin-bottom: 20px;
}

.article-section h2 {
  font-size: 20px;
  margin: 0 0 6px;
  font-weight: 700;
}

.article-section p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #463668;
}

/* Link list */

.link-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

.link-list li {
  margin-bottom: 4px;
}

.link-list a {
  color: #5b3fc6;
  text-decoration: none;
}

.link-list a:hover {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(210, 199, 255, 0.8);
  margin-top: 24px;
  background: rgba(247, 241, 255, 0.9);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  padding: 18px 20px 10px;
  font-size: 13px;
  color: #5c4d89;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-links a,
.footer-links span {
  font-size: 13px;
  color: #5b3fc6;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  font-size: 11px;
  padding: 6px 0 10px;
  color: #8b7cc0;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .section-grid,
  .article-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .section-main ul {
    columns: 1;
  }
}

