:root {
  --bg: #eef4ff;
  --bg-strong: #e4efff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --stroke: rgba(19, 44, 86, 0.08);
  --text: #10213f;
  --muted: #62718d;
  --blue: #2d7fff;
  --blue-deep: #1d4fb8;
  --green: #31c56d;
  --green-deep: #1e8d4f;
  --amber: #ffb74d;
  --amber-deep: #b77720;
  --shadow-lg: 0 28px 60px rgba(28, 59, 117, 0.12);
  --shadow-md: 0 16px 30px rgba(28, 59, 117, 0.10);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(45, 127, 255, 0.18), transparent 35%),
    radial-gradient(circle at top right, rgba(49, 197, 109, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.26), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.2), transparent 55%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.shell {
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 18px;
}

.site-header .shell {
  border-radius: 999px;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
}

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

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  box-shadow: 0 18px 28px rgba(45, 127, 255, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong,
.hero-kicker,
.section-tag,
.button,
.chip-link,
.nav-links a,
.hero-card strong,
.feature-card h3,
.news-card h3,
.comment-card strong,
.policy-card h2,
.news-article h2 {
  font-family: "Sora", sans-serif;
}

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

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

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

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

.mobile-bottom-nav {
  display: none;
}

.chip-link {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--stroke);
  font-size: 13px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 18px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 18px 30px rgba(45, 127, 255, 0.24);
}

.button.soft {
  color: var(--text);
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--stroke);
}

.feedback-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 80;
}

.feedback-modal.is-open {
  display: flex;
}

.feedback-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 19, 40, 0.46);
  backdrop-filter: blur(6px);
}

.feedback-modal-card {
  position: relative;
  width: min(560px, 100%);
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
}

.feedback-modal-card h2 {
  margin: 16px 0 12px;
  font-family: "Sora", sans-serif;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.9px;
}

.feedback-modal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.feedback-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.feedback-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(255,255,255,0.82);
  color: var(--text);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 24px;
  align-items: center;
}

.hero-kicker,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(45, 127, 255, 0.12);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
}

.hero-copy h1,
.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -1.4px;
}

.hero-copy p,
.page-hero p,
.section-head p,
.feature-card p,
.news-card p,
.comment-card p,
.policy-card p,
.news-article p,
.comment-form label span {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.hero-card,
.feature-card,
.news-card,
.comment-card,
.policy-card,
.news-article {
  background: var(--surface-strong);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-xl);
}

.hero-card {
  padding: 18px;
}

.hero-card strong {
  display: block;
  margin-bottom: 8px;
}

.hero-panel {
  padding: 20px;
  border-radius: var(--radius-xl);
}

.hero-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(49, 197, 109, 0.14);
  color: var(--green-deep);
  font-weight: 700;
  font-size: 12px;
}

.tiny-text {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-stack {
  display: grid;
  gap: 14px;
}

.stack-card {
  border-radius: 28px;
  padding: 20px;
  color: #fff;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stack-card span {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .84;
}

.stack-card strong {
  font-size: 22px;
  line-height: 1.2;
}

.stack-card.blue {
  background: linear-gradient(135deg, #163e87, #2d7fff);
}

.stack-card.green {
  background: linear-gradient(135deg, #23565a, #31c56d);
}

.stack-card.amber {
  background: linear-gradient(135deg, #7f5b17, #ffb74d);
}

.section {
  padding: 28px 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(228,239,255,0.54));
}

.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.feature-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-spotlight-section {
  padding-top: 10px;
}

.live-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.live-news-feature,
.live-news-mini {
  background: var(--surface-strong);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-md);
}

.live-news-feature {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 360px;
  display: grid;
  align-items: end;
  background: linear-gradient(135deg, #173d84 0%, #245ea0 48%, #2d8a79 100%);
}

.live-news-feature-media {
  position: absolute;
  inset: 0;
}

.live-news-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-news-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 19, 40, 0.10) 0%, rgba(10, 19, 40, 0.72) 70%, rgba(10, 19, 40, 0.88) 100%);
}

.live-news-feature-body {
  position: relative;
  z-index: 1;
  padding: 28px;
  color: #fff;
}

.live-news-feature-body h3 {
  margin: 14px 0 10px;
  font-family: "Sora", sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.06;
  letter-spacing: -1px;
}

.live-news-feature-body p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}

.live-news-feature .button.soft {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}

.live-news-feature .button.primary {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: none;
}

.live-news-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.18);
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.live-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #31c56d;
  box-shadow: 0 0 0 5px rgba(49, 197, 109, 0.16);
}

.live-news-side {
  display: grid;
  gap: 14px;
}

.live-news-mini {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 24px;
}

.live-news-mini-media {
  width: 110px;
  height: 100%;
  min-height: 110px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(45,127,255,0.14), rgba(49,197,109,0.14));
}

.live-news-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-news-mini-body {
  display: grid;
  gap: 8px;
}

.live-news-mini-body h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.live-news-mini-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.mini-news-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.news-inline-button {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 14px;
}

.news-article-cover {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(45,127,255,0.12), rgba(49,197,109,0.16));
}

.news-article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.article-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.news-empty {
  text-align: center;
}

.feature-card,
.news-card,
.comment-card,
.policy-card,
.news-article {
  padding: 24px;
}

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.comment-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.comment-form label {
  display: grid;
  gap: 8px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid rgba(45, 127, 255, 0.14);
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: rgba(45, 127, 255, 0.42);
  box-shadow: 0 0 0 5px rgba(45, 127, 255, 0.10);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.comments-embed {
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--stroke);
  padding: 10px;
}

.comment-list {
  display: grid;
  gap: 14px;
}

.comment-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-head span,
.news-meta span {
  color: var(--muted);
  font-size: 13px;
}

.page-hero {
  padding: 44px 0 20px;
}

.page-hero .shell {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.news-list,
.policy-layout {
  display: grid;
  gap: 14px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.article-summary {
  font-size: 17px;
  margin-bottom: 16px;
}

.article-body {
  color: var(--text);
  line-height: 1.86;
}

.policy-layout {
  grid-template-columns: repeat(2, 1fr);
}

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

.footer-line {
  border-top: 1px solid var(--stroke);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-line p {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 520px;
}

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

@media (max-width: 1040px) {
  .hero-grid,
  .dual-grid,
  .feature-grid,
  .news-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .live-news-layout,
  .live-news-mini {
    grid-template-columns: 1fr;
  }

  .hero-highlights,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .nav-bar {
    border-radius: 28px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links,
  .nav-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    padding-top: 12px;
  }

  .nav-bar,
  .hero-panel,
  .feature-card,
  .news-card,
  .comment-card,
  .policy-card,
  .news-article,
  .live-news-feature-body,
  .live-news-mini,
  .page-hero .shell,
  .comment-form,
  .feedback-modal-card {
    padding: 18px;
  }

  .live-news-feature {
    min-height: 320px;
  }

  .live-news-mini-media {
    width: 100%;
    min-height: 180px;
  }

  .hero-copy h1,
  .page-hero h1,
  .section-head h2 {
    letter-spacing: -1.1px;
  }

  .nav-bar {
    gap: 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .brand {
    justify-content: flex-start;
    min-width: 0;
  }

  .brand-copy small {
    font-size: 11px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 45;
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(255,255,255,0.94);
  }

  .mobile-bottom-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-bottom-nav a {
    flex: 0 0 auto;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid var(--stroke);
    background: rgba(248,251,255,0.98);
    font-family: "Sora", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
  }

  .mobile-bottom-nav a.is-active {
    background: linear-gradient(135deg, rgba(45,127,255,0.16), rgba(49,197,109,0.16));
    color: var(--text);
  }

  .footer {
    padding-bottom: 108px;
  }
}
