:root {
  /* Editorial palette — subdued, signage-friendly accents */
  --purple: #9E96BF;
  --blue: #6F86A9;
  --green: #799680;
  --teal: #6A8F8E;
  --bg: #E9E8E5;
  --ink: #1a1d21;
  --ink-muted: #4a5058;
  --white: #ffffff;
  --surface-warm: #f7f6f3;
  --purple-deep: #554d72;
  /* Hyperframe: layered edge + lifted surface */
  --frame-line: rgba(26, 29, 33, 0.12);
  --frame-line-strong: rgba(26, 29, 33, 0.26);
  --shadow-sm: 0 2px 10px rgba(26, 29, 33, 0.05);
  --shadow-frame:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 14px 36px rgba(26, 29, 33, 0.08);
  --radius-frame: 12px;
  --layout-max: 1340px;
  --pad-x: clamp(20px, 4vw, 48px);
  --pad-y-section: clamp(56px, 7vw, 96px);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: clamp(16px, 0.45vw + 15px, 19px);
}

body {
  margin: 0;
  font-family: 'Nunito', 'Noto Sans KR', sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 140% 60% at 50% -20%, rgba(158, 150, 191, 0.09), transparent 55%);
  line-height: 1.56;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.surface-white { background: var(--surface-warm); }
.surface-bg { background: transparent; }

/* Hyperframe elevated panel (applied to stacked cards across the site) */
.hyperframe {
  border: 1px solid var(--frame-line);
  border-radius: var(--radius-frame);
  background: var(--white);
  box-shadow: var(--shadow-frame), var(--shadow-sm);
  position: relative;
}

.hyperframe::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.5;
  background: linear-gradient(
    125deg,
    rgba(158, 150, 191, 0.07) 0%,
    transparent 42%,
    rgba(106, 143, 142, 0.055) 100%
  );
}

.hyperframe > * {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame-line-strong);
}

.nav-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.nav-badge-cb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--purple), var(--white) 18%), var(--purple));
  border: 1px solid var(--frame-line-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
}

.nav-brand-text { font-weight: 800; font-size: clamp(16px, 1.15vw + 14px, 19px); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 20px;
  font-size: clamp(14px, 0.35vw + 13px, 17px);
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover { background: color-mix(in srgb, var(--purple), transparent 76%); }
.nav-links a.active {
  background: var(--purple);
  border-color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  overflow: hidden;
  border-bottom: 1.5px solid var(--ink);
  background: var(--white);
  max-height: 0;
  transition: max-height 0.35s ease;
}

.nav-drawer.open { max-height: 440px; }

.nav-drawer-inner {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-drawer-inner a {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 600;
  border: 1.5px solid transparent;
}

.nav-drawer-inner a.active {
  background: var(--purple);
  border-color: var(--ink);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-drawer { display: block; }
  .nav-links { display: none; }
}

.container { max-width: var(--layout-max); margin: 0 auto; padding: var(--pad-y-section) var(--pad-x); }
.section-title {
  font-size: clamp(2rem, 2.4vw + 1.35rem, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  font-size: clamp(15px, 0.55vw + 14px, 19px);
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 40px;
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes pulse-mid {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulse-soft { animation: pulse-mid 2s ease-in-out infinite; }
.pulse-dot { animation: pulse 2s ease-in-out infinite; display: inline-block; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.shake { animation: shake 0.4s ease; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 24px;
  border: 1px solid var(--frame-line-strong);
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(15px, 0.4vw + 14px, 18px);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary {
  background: linear-gradient(to bottom, #2a2d32 0%, #1a1d21 100%);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  border: 1px solid var(--frame-line-strong);
  font-weight: 600;
}

.icon-square {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  border: 1px solid var(--frame-line-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.icon-square svg {
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  background: transparent;
  overflow: clip;
  display: flex;
  align-items: center;
  padding: clamp(96px, 12vh, 120px) var(--pad-x) clamp(64px, 8vh, 100px);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-blob-1 {
  width: 220px;
  height: 220px;
  background: var(--purple);
  top: -60px;
  left: -60px;
  opacity: 0.22;
}

.hero-blob-2 {
  width: 150px;
  height: 150px;
  background: var(--teal);
  bottom: 40px;
  right: -40px;
  opacity: 0.2;
}

.hero-blob-3 {
  width: 90px;
  height: 90px;
  background: var(--blue);
  top: 80px;
  right: 100px;
  opacity: 0.18;
}

.hero-blob-4 {
  width: 70px;
  height: 70px;
  background: var(--green);
  bottom: 120px;
  left: 140px;
  opacity: 0.18;
}

.hero-inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: var(--layout-max);
  text-align: center;
  width: 100%;
}

@keyframes heroIn {
  from { transform: scale(0.95); opacity: 0.85; }
  to { transform: scale(1); opacity: 1; }
}

.hero-copy { animation: heroIn 1.2s ease forwards; }

.hero-chip {
  font-size: clamp(13px, 0.35vw + 12px, 15px);
  padding: 8px 22px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--purple), var(--white) 12%), var(--purple));
  border: 1px solid var(--frame-line-strong);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-family: 'Nunito', 'Noto Sans KR', sans-serif;
  font-size: clamp(2rem, 3.8vw + 1.05rem, 3.35rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 16px;
}

.hero h1 .accent { color: var(--purple-deep); }

.hero-sub-en {
  font-size: clamp(18px, 0.8vw + 16px, 22px);
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.hero-tagline {
  background: var(--white);
  border: 1px solid var(--frame-line);
  box-shadow: var(--shadow-sm);
  font-size: clamp(14px, 0.4vw + 13px, 17px);
  padding: 10px 26px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
  margin-bottom: 10px;
}

.video-row {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  gap: clamp(18px, 2.8vw, 36px);
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

.video-row.video-row--framed {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(18px, 3vw, 28px);
  width: 100%;
  max-width: 100%;
}

@media (min-width: 820px) {
  .video-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.video-card {
  background: var(--white);
  border: 1px solid var(--frame-line);
  border-radius: var(--radius-frame);
  box-shadow: var(--shadow-frame), var(--shadow-sm);
  overflow: hidden;
  text-align: left;
  min-width: 0;
  position: relative;
}

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
}

@supports not (aspect-ratio: 16 / 9) {
  .video-wrap {
    height: 0;
    padding-bottom: 56.25%;
    aspect-ratio: unset;
  }
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-foot {
  padding: 14px 18px;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: clamp(14px, 0.35vw + 13px, 17px);
}

.mini-badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--ink);
  font-weight: 800;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal-card {
  background: var(--white);
  border-radius: var(--radius-frame);
  border: 1px solid var(--frame-line);
  box-shadow: var(--shadow-frame), var(--shadow-sm);
  max-width: min(960px, 96vw);
  width: 100%;
  padding: clamp(20px, 3vw, 28px);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.modal-tab {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  background: var(--white);
}

.modal-tab.active { background: var(--purple); }

.about-lede {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
  font-size: clamp(15px, 0.35vw + 14px, 18px);
  color: var(--ink-muted);
}

.feature-board {
  max-width: min(1040px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(20px, 3vw, 36px);
}

.feature-board .feature-grid {
  max-width: none;
  margin: 0;
}

.feature-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2vw, 24px);
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--frame-line);
  border-radius: var(--radius-frame);
  padding: clamp(22px, 2.5vw, 30px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover { transform: translateY(-4px); }

.feature-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 4px;
  font-size: clamp(17px, 0.55vw + 15px, 20px);
}
.feature-card .en {
  margin: 0 0 10px;
  font-size: clamp(13px, 0.35vw + 12px, 15px);
  color: var(--ink-muted);
}

.feature-card p {
  margin: 0;
  font-size: clamp(14px, 0.35vw + 13px, 17px);
  color: var(--ink);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: clamp(16px, 2vw, 22px);
  max-width: var(--layout-max);
  margin: 0 auto 56px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--frame-line);
  border-radius: var(--radius-frame);
  padding: 22px;
  padding-top: 26px;
  text-align: center;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.stat-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px 4px 0 0;
}

.stat-num {
  font-size: clamp(2.35rem, 2.5vw + 1.4rem, 2.95rem);
  font-weight: 800;
  color: var(--purple-deep);
  line-height: 1.2;
}

.stat-label-ko { font-weight: 700; font-size: clamp(14px, 0.35vw + 13px, 17px); margin-top: 8px; }
.stat-label-detail {
  margin-top: 6px;
  font-size: clamp(12px, 0.4vw + 11px, 14px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.stat-label-en { font-size: clamp(11px, 0.35vw + 11px, 14px); color: var(--ink-muted); }

.history-timeline-shell {
  max-width: var(--layout-max);
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  padding: clamp(22px, 3.2vw, 44px);
}

.history-timeline-shell.hyperframe {
  box-shadow:
    var(--shadow-frame),
    var(--shadow-sm),
    0 22px 52px rgba(26, 29, 33, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.history-timeline-shell.hyperframe::before {
  opacity: 0.62;
  background: linear-gradient(
    118deg,
    rgba(158, 150, 191, 0.09) 0%,
    transparent 36%,
    rgba(111, 134, 169, 0.07) 52%,
    rgba(106, 143, 142, 0.08) 100%
  );
}

.history-timeline-shell .timeline-wrap {
  max-width: none;
  margin: 0;
}

.timeline-wrap { max-width: var(--layout-max); margin: 0 auto; }
.timeline-year-group { margin-bottom: 40px; }

.year-label-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.year-label-row span {
  font-weight: 800;
  font-size: 30px;
  color: var(--purple-deep);
  flex-shrink: 0;
}

.year-label-row::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--frame-line-strong);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.book-card {
  background: var(--white);
  border: 1px solid var(--frame-line);
  border-radius: var(--radius-frame);
  padding: 18px 20px;
  position: relative;
  transition: transform 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.book-card:hover { transform: translateY(-3px); }
.book-card--now {
  border: 1px solid var(--purple-deep);
  box-shadow: var(--shadow-frame), var(--shadow-sm);
}

.book-now-pin {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--purple);
  border: 1px solid var(--ink);
  border-radius: 10px;
  font-size: 10px;
  padding: 3px 10px;
  font-weight: 800;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.book-row-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.book-icon-ring {
  width: clamp(52px, 4vw + 40px, 60px);
  height: clamp(52px, 4vw + 40px, 60px);
  border-radius: 50%;
  border: 1.5px solid var(--frame-line-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--icon-c, var(--purple));
}

.book-icon-ring svg {
  width: clamp(26px, 2.2vw + 18px, 30px);
  height: clamp(26px, 2.2vw + 18px, 30px);
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.book-names h4 { margin: 0 0 2px; font-size: 15px; font-weight: 800; }
.book-names .en { margin: 0; font-size: 12px; color: var(--ink-muted); font-weight: 400; }

.book-divider {
  height: 1px;
  background: var(--frame-line-strong);
  margin: 10px 0;
}

.book-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  align-items: center;
}

.badge-state {
  border-radius: 20px;
  padding: 3px 10px;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.badge-state.done { background: var(--green); }
.badge-state.ing { background: var(--purple); animation: pulse 2s ease-in-out infinite; }
.badge-state.pre { background: #E8E8E8; color: var(--ink-muted); }

.badge-church {
  background: var(--bg);
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 11px;
}

.badge-church--hosanna {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  padding: 4px 11px 4px 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Align with book status: 완료 / 진행중 / 준비중 */
.badge-church--hosanna.badge-church--st-done {
  background: color-mix(in srgb, var(--green) 22%, var(--white));
  border: 1px solid color-mix(in srgb, var(--green) 42%, var(--frame-line));
}

.badge-church--hosanna.badge-church--st-ing {
  background: color-mix(in srgb, var(--purple) 20%, var(--white));
  border: 1px solid color-mix(in srgb, var(--purple) 38%, var(--frame-line));
}

.badge-church--hosanna.badge-church--st-pre {
  background: color-mix(in srgb, var(--ink-muted) 10%, var(--surface-warm));
  border: 1px solid var(--frame-line);
  color: var(--ink-muted);
}

@supports not (color: color-mix(in srgb, red, blue)) {
  .badge-church--hosanna.badge-church--st-done {
    background: rgba(121, 150, 128, 0.16);
    border: 1px solid rgba(121, 150, 128, 0.35);
  }
  .badge-church--hosanna.badge-church--st-ing {
    background: rgba(158, 150, 191, 0.18);
    border: 1px solid rgba(158, 150, 191, 0.38);
  }
  .badge-church--hosanna.badge-church--st-pre {
    background: #f3f2ef;
    border: 1px solid var(--frame-line);
  }
}

.badge-lesson {
  background: var(--teal);
  border: 1px solid var(--ink);
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 11px;
}

.book-meta { font-size: 12px; color: var(--ink-muted); line-height: 1.7; }

.method-steps {
  display: flex;
  align-items: stretch;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.method-step {
  flex: 1;
  min-width: min(100%, clamp(160px, 24vw, 240px));
  padding: 0;
  overflow: hidden;
  text-align: center;
  container-type: inline-size;
  background: var(--white);
  border: 1px solid var(--frame-line);
  border-radius: var(--radius-frame);
  box-shadow:
    var(--shadow-frame),
    var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

/* Top stripe + step index (replacing numbered circles) */
.step-topbar {
  margin: 0;
  width: 100%;
  flex-shrink: 0;
  padding: 13px 16px;
  font-weight: 800;
  font-size: clamp(16px, 1.05vw + 14px, 20px);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  border-bottom: 1px solid var(--frame-line-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.step-topbar--purple {
  background: linear-gradient(to bottom, var(--purple), color-mix(in srgb, var(--purple), #000 14%));
}
.step-topbar--blue {
  background: linear-gradient(to bottom, var(--blue), color-mix(in srgb, var(--blue), #000 14%));
}
.step-topbar--green {
  background: linear-gradient(to bottom, var(--green), color-mix(in srgb, var(--green), #000 14%));
}
.step-topbar--teal {
  background: linear-gradient(to bottom, var(--teal), color-mix(in srgb, var(--teal), #000 14%));
}

.step-inner {
  padding: clamp(16px, 2.2vw, 22px) clamp(12px, 2vw, 18px);
  padding-bottom: clamp(18px, 2.4vw, 24px);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
}

.step-icon {
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  width: clamp(40px, 5.5vw + 22px, 58px);
  height: auto;
  max-height: 56px;
  stroke: var(--ink);
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: block;
  margin: 0 auto;
}

.method-arrow {
  display: none;
  align-self: center;
  color: var(--ink-muted);
  font-size: 18px;
  font-weight: 800;
  padding-bottom: min(72px, 12vw);
  opacity: 0.85;
}

@media (min-width: 769px) {
  .method-arrow { display: block; }
}

.method-step h4 {
  margin: 0 0 5px;
  font-size: clamp(17px, 0.95vw + 14px, 21px);
  font-weight: 800;
  line-height: 1.2;
}

.method-step .en-step {
  margin: 0 0 10px;
  font-size: clamp(13px, 0.45vw + 12px, 16px);
  color: var(--ink-muted);
  line-height: 1.3;
}

.method-step .step-desc,
.method-step p.step-desc {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 8px;
  color: var(--ink);
  font-size: clamp(12px, 0.65cqi + 10px, 15px);
  line-height: 1.48;
  word-break: keep-all;
  overflow-wrap: break-word;
}

@supports not (font-size: 1cqi) {
  .method-step .step-desc,
  .method-step p.step-desc {
    font-size: clamp(12px, 0.42vw + 11px, 15px);
  }
}

.rule-board {
  max-width: var(--layout-max);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(18px, 2.8vw, 28px);
}

.rule-board .rule-row {
  max-width: none;
  margin: 0;
}

.rule-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(16px, 2vw, 22px);
  max-width: var(--layout-max);
  margin: 0 auto;
}

.rule-card {
  background: var(--white);
  border-radius: var(--radius-frame);
  padding: clamp(17px, 2vw, 21px) clamp(18px, 2.2vw, 24px);
  border: 1px solid var(--frame-line);
  border-left: 5px solid var(--frame-line-strong);
  box-shadow: var(--shadow-sm);
}

.rule-card.rule-p {
  border-left-color: var(--purple);
}

.rule-card.rule-g { border-left-color: var(--green); }
.rule-card.rule-t { border-left-color: var(--teal); }
.rule-card h5 { margin: 0 0 8px; font-size: 15px; }
.rule-card p { margin: 0; font-size: 14px; color: var(--ink); }

.meet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 2.8vw, 28px);
}

.meet-card {
  border: 1px solid var(--frame-line);
  border-radius: var(--radius-frame);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  box-shadow: var(--shadow-frame), var(--shadow-sm);
}

.meet-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--frame-line-strong);
}

.meet-head--t1 { background: rgba(158, 150, 191, 0.16); }
.meet-head--t2 { background: rgba(111, 134, 169, 0.16); }
.meet-head--t3 { background: rgba(121, 150, 128, 0.17); }

@supports (color: color-mix(in srgb, red, blue)) {
  .meet-head--t1 {
    background: color-mix(in srgb, var(--purple) 22%, transparent);
  }
  .meet-head--t2 {
    background: color-mix(in srgb, var(--blue) 22%, transparent);
  }
  .meet-head--t3 {
    background: color-mix(in srgb, var(--green) 22%, transparent);
  }
}

.meet-head h4 { flex: 1; margin: 0; font-size: clamp(17px, 0.5vw + 15px, 21px); }
.meet-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(18px, 2vw, 26px);
}
.meet-body ul { padding-left: 20px; margin: 0; flex-shrink: 0; }
.meet-body li { margin-bottom: 10px; font-size: clamp(14px, 0.35vw + 13px, 17px); }
.meet-body li:last-child { margin-bottom: 0; }
.meet-body > .btn { margin-top: auto; }

.highlight-box {
  margin-top: 32px;
  padding: clamp(18px, 2.8vw, 26px);
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.highlight-box:not(.hyperframe) {
  background: var(--white);
  border: 1px solid var(--frame-line);
  border-radius: var(--radius-frame);
  box-shadow: var(--shadow-sm);
}

.highlight-icon-box {
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, var(--purple), color-mix(in srgb, var(--purple), #000 18%));
  border: 1px solid var(--frame-line-strong);
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.highlight-icon-box svg {
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.contact-sub {
  max-width: 480px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.6;
}

.form-shell {
  max-width: 640px;
  margin: 0 auto 40px;
  padding: clamp(28px, 4vw, 40px);
}

.form-shell:not(.hyperframe) {
  background: var(--white);
  border: 1px solid var(--frame-line);
  border-radius: var(--radius-frame);
  box-shadow: var(--shadow-frame), var(--shadow-sm);
}

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.field span.hint { font-weight: 400; color: var(--ink-muted); font-size: 12px; }

.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 15px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--purple-deep);
  outline: none;
}

.field.invalid input { border-color: #E05555; }

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-opt {
  border: 1px solid var(--frame-line-strong);
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: var(--white);
}

.pill-opt.selected { background: var(--purple); }

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
}

.form-success.show { display: block; }
.form-fields.hidden { display: none; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2vw, 22px);
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  border: 1px solid var(--frame-line);
  border-radius: var(--radius-frame);
  padding: 18px;
  background: var(--white);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.contact-card-label { margin: 0 0 4px; font-size: 14px; font-weight: 800; }
.contact-card-value { margin: 0; color: var(--ink-muted); font-size: 14px; }

.site-footer {
  background: linear-gradient(to bottom, #22262b 0%, #181a1e 100%);
  padding: clamp(36px, 5vw, 48px) 0;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-dots { display: flex; gap: 6px; margin-bottom: 8px; }

.footer-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dot-p { background: var(--purple); }
.dot-b { background: var(--blue); }
.dot-g { background: var(--green); }
.dot-t { background: var(--teal); }

.footer-title {
  font-weight: 800;
  font-size: clamp(16px, 0.55vw + 14px, 19px);
  margin-bottom: 6px;
  color: var(--white);
}

.footer-meta {
  margin: 0;
  color: #888;
  font-size: clamp(13px, 0.35vw + 12px, 15px);
}
.footer-link {
  margin-top: 8px;
  display: inline-block;
  color: #888;
  font-size: clamp(12px, 0.35vw + 11px, 14px);
}
.footer-link:hover { color: var(--white); }

.yt-btn {
  display: grid;
  place-items: center;
  border: 1.5px solid #444;
  border-radius: 10px;
  padding: 10px;
  color: var(--white);
  transition: background 0.2s ease;
}

.yt-btn svg { display: block; }
.yt-btn:hover { background: #333; }

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple);
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 120;
  color: var(--ink);
  padding: 0;
}

.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: scale(1.03); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
