:root {
  color-scheme: light;
  --ink: #10213e;
  --copy: #4f6684;
  --paper: #f5f9ff;
  --line: #dce6f4;
  --violet: #7967f4;
  --action: #4448b6;
  --gutter: clamp(20px, 5vw, 72px);
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

body { margin: 0; }
img { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
section[id] { scroll-margin-top: 88px; }

:focus-visible {
  outline: 2px solid #4a44c9;
  outline-offset: 5px;
}

.wrap {
  width: calc(100% - 2 * var(--gutter));
  max-width: 1240px;
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5;
  transform: translateY(-180%);
  padding: 10px 18px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: #fbfdffed;
  backdrop-filter: blur(14px);
}

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner { min-height: 74px; }

.header-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 23px);
}

.language-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--copy);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.language-link:hover { color: var(--action); }

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 11px;
}

.brand span { display: grid; gap: 4px; }
.brand strong { font-size: 17px; line-height: 1.2; letter-spacing: .02em; }
.brand small { color: var(--copy); font-size: 9px; font-weight: 700; letter-spacing: .19em; }

.site-nav, .footer-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.1vw, 44px);
  color: var(--copy);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a, .footer-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.site-nav a:hover, .footer-links a:hover, .text-link:hover { color: var(--action); }

.button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.button {
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}

.button span, .text-link span { font-size: 17px; line-height: 1; }
.button-outline { min-height: 43px; border-color: #c9d5ed; background: #ffffffb8; }
.button-outline:hover { border-color: var(--violet); background: white; }

.button-primary {
  color: white;
  background: linear-gradient(110deg, #5048c6, #2d68ae);
  box-shadow: 0 8px 18px #494abb26;
}

.button-primary:hover {
  background: linear-gradient(110deg, #4238b4, #245c9f);
  box-shadow: 0 11px 24px #494abb36;
}

.text-link { justify-content: flex-start; }
.text-link span { color: var(--action); }

.hero {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 79% 45%, #bef3fb87, transparent 49%),
    radial-gradient(ellipse at 0 0, #eae5ff99, transparent 47%),
    linear-gradient(135deg, #fbfdff, #f0f7ff 54%, #f7f4ff);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr minmax(0, .99fr);
  align-items: center;
  gap: clamp(30px, 6vw, 91px);
  padding-block: clamp(58px, 7.8vw, 110px);
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: #365791;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .13em;
}

.hero-label span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--violet), #1eacda);
  box-shadow: 0 0 0 5px #6a8dff1a;
}

.hero-motto {
  font-size: clamp(40px, 4.85vw, 76px);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -.065em;
}

.hero-motto span { display: block; white-space: nowrap; }

.hero-motto span + span {
  margin-top: 2px;
  color: #4c4cb7;
  background: linear-gradient(105deg, #5449bd 4%, #2873a9 75%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 26em;
  margin-top: 26px;
  color: var(--copy);
  font-size: clamp(15px, 1.22vw, 17px);
  line-height: 1.9;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 25px;
  margin-top: 27px;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  width: 100%;
  min-height: 310px;
  aspect-ratio: 4 / 3;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: -13px 16px 13px -13px;
  border: 1px solid #9ea9ef85;
  border-radius: 22px 22px 55px 22px;
  content: "";
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
  border: 1px solid #ffffffc7;
  border-radius: 22px 22px 55px 22px;
  box-shadow: 0 21px 54px #375d9633;
}

.hero-caption {
  position: absolute;
  right: 16px;
  bottom: 18px;
  padding: 11px 16px;
  border: 1px solid #fff9;
  border-radius: 9px;
  background: #f7fbffef;
  color: #183052;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
}

.section { padding-block: clamp(60px, 6.6vw, 98px); }
.events { background: #fbfdff; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px 30px;
  margin-bottom: 30px;
}

h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 750;
  line-height: 1.17;
  letter-spacing: -.055em;
}

.section-heading p, .membership-heading p, .join-panel p {
  margin-top: 13px;
  color: var(--copy);
  font-size: 15px;
  line-height: 1.85;
  text-wrap: pretty;
}

.section-link { min-height: 42px; margin-bottom: -5px; }

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.65vw, 24px);
}

.event-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 7px 24px #34558607;
}

.event-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e7eef8;
}

.event-copy { padding: 17px 18px 20px; }

h3 {
  font-size: 19px;
  font-weight: 750;
  line-height: 1.3;
}

.event-card p, .benefit p {
  margin-top: 7px;
  color: var(--copy);
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}

.membership {
  border-block: 1px solid var(--line);
  background: linear-gradient(116deg, #f0f4ff, #f3fbff);
}

.membership-inner {
  display: grid;
  grid-template-columns: minmax(0, .73fr) minmax(0, 1.4fr);
  align-items: center;
  gap: clamp(25px, 5.4vw, 78px);
}

.membership-heading p { max-width: 23em; }
.membership-heading .text-link { margin-top: 12px; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #ffffffb8;
}

.benefit img {
  box-sizing: content-box;
  padding: 7px;
  border-radius: 10px;
  background: #ebefff;
}

.benefit:nth-child(even) img { background: #e9f6fb; }
.benefit h3 { font-size: 16px; }
.benefit p { margin-top: 5px; font-size: 13px; }

.faq { background: #fbfdff; }

.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, .73fr) minmax(0, 1.4fr);
  gap: clamp(25px, 5.4vw, 78px);
}

.faq dl { margin: 0; }
.faq dl > div + div { border-top: 1px solid var(--line); margin-top: 17px; padding-top: 17px; }
.faq dt { font-weight: 750; line-height: 1.45; }
.faq dd { margin: 6px 0 0; color: var(--copy); font-size: 15px; line-height: 1.8; }
.faq dd a { color: var(--action); text-decoration: underline; text-underline-offset: .18em; }

.join-section {
  padding-block: clamp(38px, 5.8vw, 84px);
  background: var(--paper);
}

.join-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, .5fr);
  align-items: center;
  gap: 14px;
  min-height: 250px;
  padding: clamp(23px, 4.3vw, 55px);
  border: 1px solid #d3ddf5;
  border-radius: 22px;
  background: linear-gradient(112deg, #eeedff, #eef5ff 53%, #ddf6ff);
}

.join-panel p { max-width: 32em; }
.join-panel .button { margin-top: 20px; }

.mini-code {
  justify-self: center;
  width: max-content;
  margin: 0;
  padding: 10px 13px 13px;
  border: 1px solid #d7e1f7;
  border-radius: 13px;
  background: white;
  box-shadow: 0 8px 20px #4560a410;
  text-align: center;
}

.mini-code figcaption {
  margin-top: 6px;
  color: var(--copy);
  font-size: 12px;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner { min-height: 93px; padding-block: 12px; flex-wrap: wrap; }
.footer-links { gap: 24px; font-size: 12px; }

.footer-brands {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
}

.footer-sistar {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
  padding-inline-start: clamp(12px, 2vw, 20px);
  border-inline-start: 1px solid var(--line);
}

.footer-sistar img { height: auto; }

@media (max-width: 920px) {
  .hero-inner { gap: 30px; }
  .hero-visual { min-height: 280px; }
  .hero-motto { font-size: clamp(37px, 5vw, 52px); }
  .event-copy { padding-inline: 13px; }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .membership-inner, .faq-inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .header-inner { min-height: 62px; gap: 10px; }
  .header-inner .brand img { width: 29px; height: 29px; }
  .header-inner .brand strong { font-size: 15px; }
  .header-inner .brand small { font-size: 8px; }
  .site-nav { display: none; }
  .header-action { padding-inline: 8px; gap: 5px; font-size: 13px; }
  section[id] { scroll-margin-top: 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 37px; padding-block: 46px 40px; }
  .hero-label { margin-bottom: 18px; }
  .hero-motto { font-size: clamp(36px, 8.9vw, 59px); }
  .hero-lead { margin-top: 19px; }
  .hero-actions { margin-top: 20px; }
  .hero-visual { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-visual::before { inset: -8px 9px 9px -8px; }
  .hero-caption { right: 13px; bottom: 15px; }
  .section-heading { align-items: start; flex-direction: column; gap: 5px; margin-bottom: 20px; }
  .event-grid { gap: 12px; }
  .event-copy { padding: 12px 11px 14px; }
  .event-copy h3 { font-size: 17px; }
  .event-copy p { font-size: 13px; }
  .benefit-grid { gap: 10px; }
  .benefit { grid-template-columns: 1fr; padding: 12px; }
  .join-panel { grid-template-columns: 1fr; gap: 20px; min-height: 0; }
  .footer-inner { gap: 6px 18px; }
  .footer-links { flex-wrap: wrap; gap: 0 16px; }
}

@media (max-width: 360px) {
  .header-links { gap: 7px; }
  .header-inner .brand { gap: 7px; }
  .section-heading .text-link { white-space: normal; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.filing-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 33px;
  border-top: 1px solid var(--line);
  color: var(--copy);
  font-size: 12px;
}

.filing-link:hover { color: var(--action); }
