:root {
  --thm: #5c2974;
  --thm-bar: #412852;
  --thm-deep: #2e284e;
  --thm-ink: #1a1440;
  --thm-title: #0e1d60;
  --thm-muted: #5c5670;
  --thm-line: #ece8f2;
  --thm-soft: #f4f1fb;
}

body {
  background: #fff;
  color: #2c2438;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

.thm-wrap {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.thm-topbar {
  position: relative;
  background: var(--thm-bar);
  color: #fff;
  font-size: 12px;
  letter-spacing: .01em;
}
.thm-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 12px;
}
.thm-topbar a,
.thm-lang { color: #fff; font-weight: 500; }
.thm-topbar a:hover { color: #f3e8ff; }
.thm-topbar-left,
.thm-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.thm-dot { opacity: .45; margin: 0 2px; }
.thm-lang { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; }

.thm-header { background: #fff; overflow: hidden; }
.thm-header-inner { display: flex; align-items: center; padding: 14px 0 8px; min-width: 0; }
.thm-brand,
.thm-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
}
.thm-brand > span,
.thm-footer-logo > span { min-width: 0; }
.thm-brand img,
.thm-footer-logo img {
  width: auto;
  height: 84px;
  object-fit: contain;
  flex-shrink: 0;
  max-width: 96px;
  background: transparent;
}
.thm-brand strong {
  display: block;
  max-width: 100%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.2;
  font-weight: 700;
  color: #4a2170;
  white-space: normal;
  overflow-wrap: anywhere;
}
.thm-brand em,
.thm-footer-logo em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8d86a0;
  font-weight: 600;
}

.thm-nav {
  background: #fff;
  border-bottom: 1px solid #eeeaf3;
  position: sticky;
  top: 0;
  z-index: 40;
}
.thm-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 12px;
}
.thm-nav-links { display: flex; align-items: center; gap: 2px; }
.thm-nav-links > a,
.thm-drop > a {
  color: #2e2740;
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 11px;
}
.thm-nav-links > a:hover,
.thm-drop > a:hover,
.thm-nav-links > a.is-active,
.thm-drop > a.is-active { color: var(--thm); }
.thm-drop { position: relative; }
.thm-drop > a i { font-size: 9px; margin-left: 3px; }
.thm-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--thm-line);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(46, 40, 78, .12);
  padding: 8px;
  z-index: 30;
}
.thm-drop:hover .thm-drop-menu,
.thm-drop.is-open .thm-drop-menu { display: block; }
.thm-drop-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: #2e2740;
  font-size: 14px;
}
.thm-drop-menu a:hover { background: #f6f1fb; color: var(--thm); }
.thm-nav-tools { display: flex; align-items: center; gap: 8px; }
.thm-search {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #2e2740;
}
.thm-topbar-track {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 4px;
  color: #fff !important;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.thm-topbar-track:hover {
  background: #fff;
  color: #412852 !important;
}
.thm-submit,
.thm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--thm);
  color: #fff !important;
  border-radius: 6px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1;
}
.thm-submit:hover,
.thm-btn:hover { background: #4a2160; color: #fff; }
button.thm-join-cta {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.thm-join-cta {
  display: inline-flex;
  align-items: center;
  background: #f3a812;
  color: #2a1840 !important;
  border-radius: 6px;
  padding: 9px 14px;
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(243, 168, 18, .7);
  animation: thm-cta-blink 1.05s ease-in-out infinite;
}
.thm-join-cta:hover {
  background: #ffc53d;
  color: #2a1840 !important;
}
@keyframes thm-cta-blink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(243, 168, 18, .65);
  }
  50% {
    opacity: .72;
    transform: scale(1.04);
    box-shadow: 0 0 0 8px rgba(243, 168, 18, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .thm-join-cta { animation: none; }
}
.thm-btn-light {
  background: #fff;
  color: #2a245c !important;
  border: 1px solid #d9d3e4;
  box-shadow: 0 1px 2px rgba(20, 10, 40, .04);
}
.thm-btn-light:hover { background: #faf8fd; }
.thm-btn-light i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--thm);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
}
.thm-btn-sm { margin-top: 18px; padding: 10px 14px; }
.thm-burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--thm-line);
  background: #fff;
  border-radius: 8px;
}
.thm-burger span { display: block; height: 2px; margin: 5px 8px; background: #2e2740; }

.thm-hero {
  background: #f3eef8 url("../images/hero-banner.png?v=3") right center / cover no-repeat;
  padding: 56px 0 72px;
  overflow: visible;
  text-align: left;
}
.thm-ticker {
  width: 100%;
  background: #3a1556;
  color: #fff;
  border-bottom: 3px solid #f3a812;
  overflow: hidden;
}
.thm-ticker-viewport {
  overflow: hidden;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}
.thm-ticker-viewport:hover .thm-ticker-track { animation-play-state: paused; }
.thm-ticker-track {
  display: flex;
  width: max-content;
  min-height: 42px;
  animation: thmHeroScroll 16s linear infinite;
}
.thm-ticker-set {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: min(1240px, calc(100vw - 48px));
  box-sizing: border-box;
  padding-left: 0;
}
.thm-ticker-track span {
  display: inline-flex;
  align-items: center;
  padding: 0 28px 0 0;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}
.thm-ticker-track span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin: 0 14px 0 0;
  background: #f3a812;
  transform: rotate(45deg);
  flex: 0 0 auto;
}
@keyframes thmHeroScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .thm-ticker-track { animation: none; }
  .thm-ticker-set[aria-hidden="true"] { display: none; }
}
.thm-hero-copy {
  max-width: 980px;
  text-align: left;
}
.thm-kicker {
  margin: 0 0 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7d7390;
  font-size: 12px;
  font-weight: 700;
}
.thm-hero h1 {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--thm-title);
  font-size: clamp(1.85rem, 2.8vw, 2.7rem);
  line-height: 1.15;
  font-weight: 700;
  text-align: left;
}
.thm-hero h1 span {
  display: block;
  white-space: nowrap;
}
.thm-lead {
  margin: 0 0 22px;
  max-width: 460px;
  color: #4e4760;
  font-size: 1.05rem;
}
.thm-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.thm-features {
  background: #fff;
  border-bottom: 1px solid #f2eef6;
}
.thm-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 28px 0 26px;
  text-align: center;
}
.thm-feature-grid svg {
  width: 42px;
  height: 42px;
  stroke: var(--thm);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.thm-feature-grid h3 {
  margin: 8px 0 4px;
  color: #241838;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
}
.thm-feature-grid p { margin: 0; color: #7a7388; font-size: 13px; }

.thm-about { background: #fff; padding: 42px 0 36px; }
.thm-about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
}
.thm-about h2,
.thm-scope h2,
.thm-split h2 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  color: #1b1630;
  font-size: 1.85rem;
  font-weight: 700;
}
.thm-about p { color: #4a445c; line-height: 1.7; font-size: 15px; margin-bottom: 12px; }
.thm-why h3 {
  margin: 4px 0 12px;
  color: var(--thm);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
}
.thm-why ul { list-style: none; margin: 0; padding: 0; }
.thm-why li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 5px 0;
  color: #3c3550;
  font-size: 15px;
}
.thm-why li i {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: #22a35a;
  color: #fff;
  font-size: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.thm-scope {
  position: relative;
  overflow: hidden;
  background: #f6f1fc;
  padding: 72px 0 78px;
}
.thm-scope::before,
.thm-scope::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 140px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.thm-scope::before {
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='%23efe6fa' d='M0 70c180-50 320 40 520 20s300-80 480-40 280 70 440 20V0H0z'/%3E%3Cpath fill='%23f8f4fd' d='M0 40c220 50 380-30 600 10s340 40 520-10 200 30 320 10V0H0z'/%3E%3C/svg%3E");
}
.thm-scope::after {
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='%23efe6fa' d='M0 50c200 40 360-50 560-20s320 70 500 30 240-40 380 10v70H0z'/%3E%3Cpath fill='%23f8f4fd' d='M0 90c240-40 400 30 640 10s360-50 520-10 160 40 280 10v40H0z'/%3E%3C/svg%3E");
}
.thm-scope .thm-wrap { position: relative; z-index: 1; }
.thm-scope-head { text-align: center; margin-bottom: 28px; }
.thm-scope-head p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 8px;
  color: #5c3d86;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.thm-scope-head p::before,
.thm-scope-head p::after {
  content: "";
  width: 42px;
  height: 1.5px;
  background: #6d4b98;
}
.thm-scope h2 {
  margin: 0;
  text-align: center;
  color: #3a1468;
  font-size: 2.55rem;
  line-height: 1.15;
}
.thm-scope h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: #3a1468;
}
.thm-scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.thm-scope-grid a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(76, 29, 110, .07);
  color: #3d176c;
}
.thm-scope-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(76, 29, 110, .12);
  color: #3d176c;
}
.thm-scope-grid span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f1e6fb;
  color: #5b2c91;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 18px;
}
.thm-scope-grid strong {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #3d176c;
}

.thm-split { background: #f7f5fb; padding: 34px 0 40px; }
.thm-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 28px;
  align-items: start;
}
.thm-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid #eeeaf2;
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow: 0 8px 24px rgba(76, 29, 110, .05);
}
.thm-split h2 i { color: var(--thm); margin-right: 8px; font-size: .9em; }
.thm-article-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #eeeaf2;
  font-size: 14.5px;
}
.thm-article-row span {
  min-width: 0;
  color: #2c2640;
  overflow-wrap: anywhere;
}
.thm-article-row a { color: var(--thm); font-weight: 700; white-space: nowrap; font-size: 13.5px; flex: 0 0 auto; }
.thm-announce {
  height: 320px;
  overflow: hidden;
  margin-bottom: 8px;
}
.thm-announce-track { animation: thmAnnounceScroll 22s linear infinite; }
.thm-announce:hover .thm-announce-track { animation-play-state: paused; }
.thm-news-row {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #eeeaf2;
  font-size: 14.5px;
}
.thm-news-row strong {
  display: block;
  color: #3a1556;
  font-weight: 700;
  line-height: 1.35;
}
.thm-news-detail {
  margin-top: 4px;
  color: #4b445c;
  font-size: 13.5px;
  line-height: 1.5;
}
.thm-news-detail p,
.thm-news-detail h1,
.thm-news-detail h2,
.thm-news-detail h3,
.thm-news-detail h4 {
  margin: 0;
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
}
@keyframes thmAnnounceScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .thm-announce { height: auto; overflow: visible; }
  .thm-announce-track { animation: none; }
  .thm-announce-track .thm-news-row[aria-hidden="true"] { display: none; }
}
.thm-empty { color: var(--thm-muted); }

.thm-newsletter { background: #f1f1fd; padding: 22px 0; }
.thm-news-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  gap: 22px;
  align-items: center;
}
.thm-news-copy { display: flex; gap: 12px; align-items: flex-start; }
.thm-news-copy > i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--thm);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.thm-newsletter h2 {
  margin: 0 0 2px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  color: #1b1630;
}
.thm-newsletter p { margin: 0; color: #6a6478; font-size: 13.5px; }
.thm-subscribe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.thm-subscribe input {
  flex: 1 1 190px;
  border: 1px solid #e1dcec;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  min-width: 0;
}
.thm-subscribe button {
  background: var(--thm);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 700;
}
.thm-note, .thm-form-msg { flex: 1 1 100%; margin: 0; font-size: 12px; color: #8a8498; }
.thm-form-msg.is-ok { color: #1f8a4c; }
.thm-form-msg.is-err { color: #b42318; }
.thm-follow span { display: block; font-weight: 700; margin-bottom: 8px; color: #1b1630; font-size: 14px; }
.thm-social { display: flex; gap: 8px; }
.thm-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #5a4d86;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.thm-newsletter .thm-social a { background: var(--thm); }
.thm-social a:hover { background: #3d3168; color: #fff; }

.thm-footer { background: var(--thm-deep); color: #efeaf6; }
.thm-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr .55fr;
  gap: 24px;
  padding: 28px 0 18px;
  align-items: start;
}
.thm-footer-logo img { width: auto; height: 72px; max-width: 84px; background: transparent; }
.thm-footer-logo strong {
  display: block;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.3;
  max-width: 340px;
}
.thm-footer h4 { color: #fff; margin: 0 0 10px; font-size: 15px; }
.thm-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 28px;
}
.thm-footer li { margin: 0 0 7px; break-inside: avoid; }
.thm-footer a { color: #e7e0f2; font-size: 14px; }
.thm-footer a:hover { color: #fff; }
.thm-footer-mail { margin: 12px 0 0; font-size: 14px; }
.thm-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 12px 0 16px;
  font-size: 12.5px;
  color: #cfc6de;
}
.thm-footer-bottom a { color: #fff; }
.thm-visitor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.thm-visitor i,
.thm-visitor strong { color: #f3a812; }
.thm-visitor strong {
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}

.page-banner {
  background: var(--thm-bar) !important;
  background-image: none !important;
}

@media (max-width: 992px) {
  .thm-burger { display: inline-block; }
  .thm-nav-inner { flex-wrap: wrap; padding: 8px 0; }
  .thm-nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;
  }
  .thm-nav-links.is-open { display: flex; }
  .thm-drop-menu { position: static; box-shadow: none; }
  .thm-feature-grid,
  .thm-about-grid,
  .thm-split-grid,
  .thm-news-grid,
  .thm-footer-grid { grid-template-columns: 1fr; }
  .thm-scope-grid { grid-template-columns: 1fr 1fr; }
  .thm-scope h2 { font-size: 2rem; }
  .thm-hero { background-position: 65% center; padding: 48px 0; }
  .thm-topbar-inner,
  .thm-footer-bottom { flex-direction: column; align-items: flex-start; padding: 8px 0; }
  .thm-footer ul { columns: 1; }
  .thm-brand strong { font-size: 1.15rem; }
}
@media (max-width: 640px) {
  .thm-scope { padding: 52px 0 56px; }
  .thm-scope-grid { grid-template-columns: 1fr; }
  .thm-scope h2 { font-size: 1.7rem; }
  .thm-scope-head p { letter-spacing: .12em; }
}
