/* Mariia Sharlai theme. Tokens from Style changes v2. */

:root {
  --bg-0: #0a0b0e;
  --bg-1: #101318;
  --bg-2: #151920;
  --bg-3: #1a1f26;
  --text-1: #ffffff;
  --text-2: #d5d9e0;
  --text-3: #cdd2da;
  --text-4: #e1e4e9;
  --text-5: #a9b0ba;
  --line-1: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.08);
  --cta-bg: #ffffff;
  --cta-text: #0a0b0e;
  --cta-hover: #e9ebef;
  --cta-active: #d5d8de;
  --violet: #8b5cf6;
  --violet-text: #c4b0ff;
  --violet-soft: #d6c8ff;
  --violet-hover: #e4daff;
  --violet-banner: #6d3fe0;
  --ok-text: #7ee8b5;
  --ok-line: rgba(52, 211, 153, 0.5);
  --ok-dot: #34d399;
  --placeholder: #9aa2ad;
  --glow-page: rgba(139, 92, 246, 0.16);
  --glow-panel: rgba(139, 92, 246, 0.1);

  --l0: var(--bg-0);
  --l1: var(--bg-1);
  --l2: var(--bg-2);
  --l3: var(--bg-3);
  --text: var(--text-3);
  --heading: var(--text-1);
  --muted: var(--text-5);
  --sub: var(--text-2);
  --accent: var(--violet);
  --accent-hover: var(--violet-hover);
  --accent-press: var(--cta-active);
  --accent-ink: var(--cta-text);
  --accent-soft: var(--violet-text);
  --chip: var(--ok-text);
  --row: var(--text-4);
  --border: var(--line-1);
  --border-strong: rgba(255, 255, 255, 0.12);
  --radius-card: 24px;
  --radius-card2: 20px;
  --radius-panel: 32px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Montserrat", system-ui, sans-serif;
}

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

html {
  background: var(--l0);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--l0);
  color: var(--text);
  font: 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  background: var(--cta-bg);
  color: var(--cta-text);
  padding: 8px 14px;
  border-radius: 10px;
}

.skip-link:focus {
  top: 12px;
}

.site {
  background: radial-gradient(60% 520px at 85% 0, var(--glow-page), transparent 70%), var(--bg-0);
  min-height: 100vh;
  overflow-x: hidden;
}

.h {
  font-family: var(--display);
  font-weight: 300;
  color: var(--heading);
  margin: 0;
  letter-spacing: -0.01em;
}

.meta {
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.sub {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--sub);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:focus-visible,
.lnk:focus-visible,
.nav a:focus-visible,
.icon-btn:focus-visible,
.site-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--cta-bg);
  color: var(--cta-text);
}

.btn-primary:hover {
  background: var(--cta-hover);
  color: var(--cta-text);
}

.btn-primary:active {
  background: var(--cta-active);
  color: var(--cta-text);
  transform: translateY(1px);
}

/* Beat Elementor kit `a` color on filled primary buttons. */
body.wp-theme-mariia-sharlai a.btn-primary,
body.wp-theme-mariia-sharlai a.btn-primary:link,
body.wp-theme-mariia-sharlai a.btn-primary:visited,
body.wp-theme-mariia-sharlai a.btn-primary:hover,
body.wp-theme-mariia-sharlai a.btn-primary:focus,
body.wp-theme-mariia-sharlai a.btn-primary:focus-visible,
body.wp-theme-mariia-sharlai a.btn-primary:active,
body.wp-theme-mariia-sharlai .btn-primary,
body.wp-theme-mariia-sharlai .wpcf7 input[type="submit"],
body.wp-theme-mariia-sharlai .wpcf7 input[type="submit"]:hover,
body.wp-theme-mariia-sharlai .wpcf7 input[type="submit"]:focus,
body.wp-theme-mariia-sharlai .wpcf7 button,
body.wp-theme-mariia-sharlai .wpcf7 button:hover,
body.wp-theme-mariia-sharlai .wpcf7 button:focus {
  color: var(--cta-text) !important;
}

.btn-outline {
  background: transparent;
  color: var(--heading);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.04);
}

.btn-accent {
  background: transparent;
  color: var(--violet-text);
  border-color: rgba(139, 92, 246, 0.9);
}

.btn-accent:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--violet);
}

.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 12px;
}

.header-cta {
  height: 44px;
  padding: 0 24px;
}

.lnk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--accent-soft);
  transition: gap 0.2s, color 0.2s;
}

.lnk:hover {
  gap: 12px;
  color: var(--violet-hover);
}

.card1 {
  background: var(--l1);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 32px 64px -24px rgba(0, 0, 0, 0.65), 0 8px 16px -8px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s, transform 0.25s;
}

.card1:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.card2 {
  background: var(--l2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card2);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 48px -20px rgba(0, 0, 0, 0.6), 0 6px 12px -6px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s, transform 0.25s;
}

.card2:hover,
.card2.is-selected {
  border-color: rgba(139, 92, 246, 0.5);
}

.card2:hover {
  transform: translateY(-2px);
}

.group-card {
  position: relative;
  transition: border-color 0.45s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.group-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.group-card .btn,
.group-card .lnk {
  position: relative;
  z-index: 2;
}

.group-card:hover,
.group-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 28px 56px -20px rgba(0, 0, 0, 0.65),
    0 16px 40px -12px rgba(139, 92, 246, 0.42);
}

.group-card-link:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--ok-line);
  background: rgba(10, 11, 14, 0.7);
  color: var(--ok-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok-dot);
  display: block;
}

.chip.mute {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--row);
}

.chip.mute i {
  background: var(--muted);
}

.row {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 15px;
  line-height: 24px;
  color: var(--row);
}

.row .e {
  font-size: 14px;
  width: 24px;
  text-align: center;
}

.row em {
  color: var(--heading);
  font-style: normal;
}

.ph {
  position: relative;
  overflow: hidden;
  background: #1c1a26;
  border-radius: var(--radius-card);
}

.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 11, 14, 0) 40%, rgba(10, 11, 14, 0.82) 100%),
    linear-gradient(rgba(30, 24, 52, 0.16), rgba(30, 24, 52, 0.16));
  pointer-events: none;
}

.ph.has-photo::after {
  background: linear-gradient(180deg, rgba(10, 11, 14, 0) 55%, rgba(10, 11, 14, 0.55) 100%);
}

.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.ph-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 11px;
  line-height: 16px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(10, 11, 14, 0.6);
  color: #c9ced5;
  letter-spacing: 0.04em;
}

.ph.has-photo .ph-tag {
  display: none;
}

.ph-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
}

.ph-1 {
  background:
    radial-gradient(40% 70% at 86% 18%, rgba(150, 110, 210, 0.42), transparent 70%),
    radial-gradient(11% 36% at 33% 66%, rgba(8, 10, 13, 0.55), transparent 100%),
    linear-gradient(180deg, #2a2638 0%, #201c2c 60%, #262230 60.4%, #17151d 100%);
}

.ph-2 {
  background:
    radial-gradient(50% 80% at 10% 16%, rgba(130, 100, 190, 0.36), transparent 70%),
    radial-gradient(10% 40% at 52% 64%, rgba(8, 10, 13, 0.55), transparent 100%),
    linear-gradient(180deg, #272238 0%, #1d1a2a 64%, #231f2d 64.4%, #16141c 100%);
}

.ph-3 {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(150, 120, 200, 0.28), transparent 70%),
    radial-gradient(9% 34% at 40% 70%, rgba(8, 10, 13, 0.5), transparent 100%),
    linear-gradient(180deg, #2b2739 0%, #1e1b2b 66%, #242030 66.4%, #16141b 100%);
}

.ph-4 {
  background:
    radial-gradient(44% 70% at 90% 30%, rgba(140, 100, 200, 0.38), transparent 70%),
    radial-gradient(10% 34% at 28% 68%, rgba(8, 10, 13, 0.55), transparent 100%),
    linear-gradient(180deg, #2c2739 0%, #1f1b2b 62%, #262130 62.4%, #17141c 100%);
}

.ph-5 {
  background:
    radial-gradient(46% 70% at 14% 22%, rgba(140, 110, 205, 0.34), transparent 70%),
    radial-gradient(10% 38% at 44% 64%, rgba(8, 10, 13, 0.55), transparent 100%),
    linear-gradient(180deg, #262236 0%, #1d1a29 62%, #221f2c 62.4%, #15131b 100%);
}

.ph-6 {
  background:
    radial-gradient(50% 70% at 70% 12%, rgba(160, 120, 215, 0.34), transparent 70%),
    radial-gradient(9% 32% at 36% 68%, rgba(8, 10, 13, 0.5), transparent 100%),
    linear-gradient(180deg, #2a2638 0%, #1f1b2a 64%, #252130 64.4%, #16141b 100%);
}

.pan {
  background: radial-gradient(90% 280px at 50% 0, var(--glow-panel), transparent 70%), var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 48px 96px -32px rgba(0, 0, 0, 0.7);
}

.stepn {
  font-family: var(--display);
  font-weight: 300;
  font-size: 40px;
  line-height: 1;
  color: var(--violet);
}

details.faq {
  background: var(--l1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}

details.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.3;
  color: var(--heading);
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq summary:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
  border-radius: 8px;
}

details.faq .plus {
  flex: none;
  color: var(--accent-soft);
  transition: transform 0.2s;
}

details.faq[open] .plus {
  transform: rotate(45deg);
}

details.faq p {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--sub);
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--heading);
  font-size: 14px;
  font-weight: 500;
}

.pill:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}

.dc {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--l2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--row);
  font-size: 14px;
  font-weight: 500;
}

.dc.first {
  border-color: rgba(139, 92, 246, 0.6);
  color: var(--violet-text);
}

.crumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.crumb a {
  color: var(--text);
}

.crumb a:hover {
  color: #fff;
}

.banner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--violet-banner);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0 56px;
  text-align: center;
  color: var(--violet-soft);
}

.banner p,
.banner a {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  color: var(--violet-soft);
  text-decoration: none;
}

.banner a:hover {
  color: var(--violet-hover);
}

.banner a span:last-child {
  font-weight: 400;
  font-style: italic;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: var(--violet-text);
  cursor: pointer;
}

.icon-btn:hover {
  background: rgba(139, 92, 246, 0.2);
}

.banner .icon-btn {
  position: absolute;
  right: 40px;
  top: 4px;
  color: #ffffff;
}

.banner .icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site.is-banner-hidden .banner {
  display: none;
}

.site-header {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line-2);
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: var(--heading);
  flex: none;
  min-width: 0;
}

.logo .h {
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 0.01em;
}

.logo-tag {
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-5);
}

.w1 {
  font-weight: 300;
}

.w2 {
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.site-nav .has-sub > span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav .has-sub:hover > span,
.site-nav .has-sub:focus-within > span {
  color: #fff;
}

.has-sub {
  position: relative;
}

.subnav {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 220px;
  padding: 12px;
  background: var(--l3);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.7);
  z-index: 20;
}

.has-sub:hover .subnav,
.has-sub:focus-within .subnav {
  display: grid;
  gap: 4px;
}

.subnav a {
  padding: 10px 12px;
  border-radius: 10px;
}

.subnav a:hover {
  background: rgba(139, 92, 246, 0.2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--heading);
}

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.wrap-wide {
  margin: 128px 40px 0;
  max-width: 1360px;
}

.section {
  padding: 128px 80px 0;
}

.section-sm {
  padding: 40px 80px 0;
}

.hero {
  padding: 96px 80px 0;
}

.directions {
  padding: 80px 80px 0;
}

.about-wrap {
  margin-top: 0;
  padding: 0;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stack-lg {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-copy {
  max-width: 880px;
}

.hero-copy .h {
  font-size: 68px;
  line-height: 1.08;
  margin-top: 24px;
}

.hero-copy .lead {
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.5;
  max-width: 720px;
  color: var(--text-5);
}

.trust {
  margin: 32px 0 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 24px;
  color: var(--text-3);
}

.dir-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.lnk-sm {
  font-size: 14px;
}

.why-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-card .card-title {
  font-size: 26px;
  line-height: 1.25;
}

.why-card .sub {
  font-size: 15px;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--violet-text);
}

.coming-up-card {
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.coming-up-card:hover {
  color: inherit;
}

.coming-up-card .lnk {
  position: relative;
  z-index: 2;
}

.coming-up-date {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.coming-up-dot {
  text-transform: none;
}

.coming-up-empty {
  margin: 32px 0 0;
  color: var(--text-5);
}

.enrollment-note {
  margin: 40px 0 0;
  max-width: 640px;
  font-size: 15px;
}

.ladder-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
}

.ladder-jump {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(196, 176, 255, 0.45);
  color: var(--violet-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-hero {
  margin: 0 0 32px;
  border-radius: 24px;
  overflow: hidden;
}

.post-hero img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.post-body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--sub);
}

.post-content .meta a {
  color: var(--accent-soft);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(560px, 100%), 1fr));
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px;
}

.ratio-16x9 {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.ratio-4x5 {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-body-sm {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-grow {
  display: flex;
  flex-direction: column;
}

.group-title {
  font-size: 40px;
  line-height: 1.15;
}

.card-title {
  font-size: 26px;
  line-height: 1.2;
}

.event-title {
  font-size: 26px;
  line-height: 1.25;
}

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

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mt-auto { margin-top: auto; }

.price-row {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-bar {
  width: 2px;
  align-self: stretch;
  min-height: 48px;
  background: var(--accent);
  border-radius: 2px;
}

.price-copy {
  flex: 1;
  min-width: 0;
}

.price-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.price {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: var(--heading);
}

.price-note {
  font-size: 14px;
  line-height: 20px;
  color: var(--text-3);
}

.panel-pad {
  padding: 72px 40px 64px;
}

.panel-pad-lg {
  padding: 72px 56px 64px;
}

.about-grid {
  padding: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 64px;
  align-items: center;
}

.about-photo {
  max-width: 480px;
  width: 100%;
}

.about-photo .ph {
  border-radius: 24px;
}

.section-head {
  max-width: 640px;
}

.section-head .h {
  font-size: 44px;
  line-height: 1.15;
}

.between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.ladder-card {
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-end;
}

.ladder-card[data-step="1"] { min-height: 200px; }
.ladder-card[data-step="2"] { min-height: 256px; }
.ladder-card[data-step="3"] { min-height: 312px; }
.ladder-card[data-step="4"] { min-height: 368px; }

.faq-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 64px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.studio-panel,
.contact-panel {
  padding: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 64px;
  align-items: center;
}

.contact-panel {
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
}

.contact-panel {
  padding: 72px 56px;
}

.studio-copy,
.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.studio-copy {
  max-width: 520px;
}

.studio-panel .h,
.contact-panel .h {
  font-size: 44px;
  line-height: 1.15;
}

.studio-photo .ph {
  width: 100%;
  border-radius: 24px;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  text-decoration: none;
  color: inherit;
}

.contact-email-address {
  display: block;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--heading);
  white-space: nowrap;
  border-bottom: 1px solid rgba(139, 92, 246, 0.6);
  padding-bottom: 4px;
}

.contact-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  min-height: 88px;
  text-decoration: none;
  color: inherit;
}

.contact-card-title {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--heading);
}

.contact-card-note {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-3);
  word-break: break-all;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--violet-text);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-email .contact-icon {
  width: 72px;
  height: 72px;
}

.contact-email .contact-icon svg {
  width: 32px;
  height: 32px;
}

.site-footer {
  max-width: 1440px;
  margin: 128px auto 0;
  padding: 64px 80px 48px;
  border-top: 1px solid var(--line-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-grid a {
  display: block;
  color: var(--sub);
  font-size: 15px;
  line-height: 32px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-grid .meta {
  margin-bottom: 12px;
}

.footer-brand .h {
  font-size: 22px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.lang {
  letter-spacing: 0.08em;
  color: #fff;
}

.course-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 80px;
  align-items: center;
  margin-top: 40px;
}

.course-hero .stack-lg {
  max-width: none;
}

.course-hero .ph {
  aspect-ratio: 4 / 5;
}

.course-hero .h {
  font-size: 60px;
  line-height: 1.1;
}

.hero-line {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-4);
  font-weight: 500;
}

.story {
  padding: 96px 80px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.story-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-copy .h {
  font-size: 36px;
  line-height: 1.2;
}

.story-copy .sub {
  font-size: 17px;
}

.story-photo .ph {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.teacher-panel {
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.teacher-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.teacher-copy .h {
  font-size: 44px;
  line-height: 1.15;
}

.teacher-copy .sub {
  font-size: 18px;
}

.teacher-photo .ph {
  aspect-ratio: 4 / 5;
}

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

.mt-32 {
  margin-top: 32px;
}

.sched-table {
  display: flex;
  flex-direction: column;
}

.sched-row {
  display: grid;
  grid-template-columns: 280px 1fr 240px;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line-2);
  align-items: baseline;
}

.sched-row .h {
  font-size: 22px;
}

.sched-row p {
  margin: 0;
  font-size: 16px;
  color: var(--text-4);
}

.sched-row .price {
  font-size: 20px;
}

.next-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
}

.next-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.next-step .stepn {
  font-size: 28px;
  width: 40px;
  flex: none;
}

.split-media {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.register-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.form-panel {
  scroll-margin-top: 96px;
}

.form-panel .wpcf7 {
  margin-top: 8px;
}

.wpcf7 form {
  display: grid;
  gap: 8px;
}

.wpcf7 form > p {
  margin: 0;
}

.wpcf7 label,
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 .photo-consent,
.wpcf7 .cf7-choice {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  color: var(--heading);
  font-size: 15px;
  line-height: 1.4;
}

.wpcf7 .photo-consent p,
.wpcf7 .cf7-choice p {
  margin: 0;
}

.wpcf7 .photo-consent .wpcf7-form-control-wrap,
.wpcf7 .cf7-choice .wpcf7-form-control-wrap {
  margin: 0;
}

.wpcf7 .wpcf7-radio,
.wpcf7 .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.wpcf7 [data-name="split-invoice"] .wpcf7-list-item,
.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  line-height: 1.4;
}

.wpcf7-turnstile,
.wpcf7 .cf-turnstile {
  margin: 4px 0 0;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  min-height: 52px;
  background: var(--l3);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0 16px;
  color: var(--heading);
}

.wpcf7 textarea {
  min-height: 112px;
  padding: 14px 16px;
  resize: vertical;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: var(--placeholder);
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wpcf7 input[type="submit"],
.wpcf7 button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 14px;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-weight: 500;
  cursor: pointer;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button:hover {
  background: var(--cta-hover);
}

.wpcf7 .wpcf7-not-valid-tip,
.wpcf7 .wpcf7-response-output {
  color: var(--sub);
}

.wpcf7 .wpcf7-list-item {
  margin: 0;
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  accent-color: var(--accent);
}

.form-fallback {
  padding: 24px;
  border: 1px dashed rgba(139, 92, 246, 0.4);
  border-radius: 16px;
  color: var(--sub);
}

.opt {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 12px 16px;
  background: var(--bg-3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  cursor: pointer;
  color: var(--text-1);
  font-size: 16px;
}

.opt input {
  accent-color: var(--violet);
  width: 20px;
  height: 20px;
  margin: 0;
  flex: none;
}

.opt small {
  display: block;
  font-size: 14px;
  color: var(--text-3);
}

.opt.on,
.opt:has(input:checked) {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.08);
}

.dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px 48px;
}

.page-content .h {
  font-size: 44px;
  margin-bottom: 24px;
}

.page-content a {
  color: var(--accent-soft);
  text-decoration: underline;
}

.is-hidden {
  display: none !important;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.groups-grid .span-3 {
  grid-column: span 3;
}

.groups-grid .span-2 {
  grid-column: span 2;
}

.ratio-21x9 {
  width: 100%;
  aspect-ratio: 21 / 9;
}

.ratio-1x1 {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.wed-card {
  border-color: rgba(245, 158, 11, 0.55);
}

.wed-tag,
.sat-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.wed-tag {
  border: 1px solid rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.14);
  color: #ffd08a;
}

.sat-tag {
  border: 1px solid rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.16);
  color: #c4b0ff;
}

.price-row.is-stack {
  flex-wrap: wrap;
}

.price-row.is-stack .btn {
  width: 100%;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px;
}

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

.week-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.week-heading {
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.week-slot {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-radius: 16px;
}

.week-slot-wed {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.55);
}

.week-slot-sat {
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.6);
}

.week-slot.is-tbc {
  border-style: dashed;
}

.week-time {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  min-width: 64px;
}

.week-slot-wed .week-time {
  color: #ffd08a;
}

.week-slot-sat .week-time {
  color: #c4b0ff;
}

.week-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  color: #ffffff;
}

.week-note {
  font-size: 14px;
  color: #a9b0ba;
}

.twice-banner {
  background:
    radial-gradient(80% 140% at 100% 0, rgba(196, 176, 255, 0.35), transparent 60%),
    linear-gradient(135deg, #4a2bb5, #6d3fe0);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 64px 72px;
}

.twice-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.twice-copy .h {
  font-size: 44px;
  line-height: 1.15;
  color: #ffffff;
}

.chip-on-violet {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  background: rgba(10, 11, 14, 0.25);
}

.chip-on-violet i {
  background: #ffffff;
}

.twice-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #f1ebff;
}

.twice-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.wk {
  display: flex;
  gap: 6px;
}

.wk span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  color: #a9b0ba;
}

.wk span.w {
  background: #f59e0b;
  color: #2a1a00;
}

.wk span.s {
  background: #8b5cf6;
  color: #ffffff;
}

.twice-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  flex-wrap: wrap;
  justify-content: center;
}

.twice-note {
  color: #e4daff;
  font-weight: 400;
}

.level-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.class-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
}

.pt-16 {
  padding-top: 16px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.plan-card.is-featured {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.5),
    0 24px 48px -20px rgba(0, 0, 0, 0.6);
}

.tb {
  position: relative;
  margin-top: 40px;
}

.tb input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tb .tl {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.tb .tl label {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e1e4e9;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.tb .tp {
  display: none;
}

#tbS:checked ~ .pS,
#tbW:checked ~ .pW {
  display: block;
}

#tbS:checked ~ .tl label[for="tbS"],
#tbW:checked ~ .tl label[for="tbW"] {
  background: #ffffff;
  color: #0a0b0e;
  border-color: #ffffff;
}

#tbS:focus-visible ~ .tl label[for="tbS"],
#tbW:focus-visible ~ .tl label[for="tbW"] {
  outline: 2px solid #8b5cf6;
  outline-offset: 3px;
}

.teacher-photo.is-round {
  border-radius: 50%;
  max-width: 340px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

.teacher-photo.is-round .ph {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}

.story-price {
  font-family: var(--display);
  font-weight: 500;
  font-size: 56px;
  line-height: 1.1;
  color: #ffffff;
}

.story-price span {
  font-size: 18px;
  color: #a9b0ba;
  font-weight: 400;
}

@media (max-width: 1100px) {
  .site-header,
  .wrap,
  .section,
  .section-sm,
  .hero,
  .directions,
  .site-footer,
  .story {
    padding-left: 24px;
    padding-right: 24px;
  }

  .wrap-wide {
    margin-left: 16px;
    margin-right: 16px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-cta {
    order: 1;
    margin-left: auto;
    height: 44px;
    padding: 0 24px;
  }

  .menu-toggle {
    order: 2;
  }

  .site-header {
    gap: 12px;
    height: 72px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 120px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    background: var(--l3);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    z-index: 30;
  }

  .site.is-nav-open .site-nav {
    display: flex;
  }

  .subnav {
    position: static;
    display: grid;
    gap: 4px;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 12px;
  }

  .hero,
  .directions {
    padding-top: 40px;
  }

  .hero-copy .h,
  .course-hero .h {
    font-size: 40px;
  }

  .section-head .h,
  .studio-panel .h,
  .contact-panel .h {
    font-size: 32px;
  }

  .contact-email-address {
    font-size: 22px;
    white-space: normal;
    word-break: break-all;
  }

  .group-title {
    font-size: 32px;
  }

  .course-hero,
  .split-media,
  .register-grid,
  .story-grid,
  .teacher-panel,
  .sched-grid,
  .level-grid,
  .sched-row,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .story {
    padding-top: 56px;
  }

  .teacher-panel {
    padding: 32px 20px;
  }

  .course-hero .ph {
    aspect-ratio: 4 / 5;
  }

  .ladder-card {
    min-height: 0 !important;
  }

  .ladder-row {
    grid-template-columns: 1fr;
  }

  .groups-grid,
  .week-grid,
  .twice-banner,
  .level-grid-3,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .groups-grid .span-3,
  .groups-grid .span-2 {
    grid-column: auto;
  }

  .twice-banner {
    padding: 32px 20px;
    gap: 32px;
  }

  .story-price {
    font-size: 40px;
  }

  .ratio-21x9 {
    aspect-ratio: 16 / 9;
  }

  .about-grid,
  .panel-pad,
  .panel-pad-lg,
  .studio-panel,
  .contact-panel {
    padding: 32px 20px;
  }
}

@media (max-width: 640px) {
  .logo .h {
    font-size: 18px;
    line-height: 22px;
  }

  .logo-tag {
    letter-spacing: 0.08em;
    font-size: 10px;
  }

  .hero-copy .h {
    font-size: 40px;
    line-height: 1.12;
    margin-top: 16px;
  }

  .hero .lead {
    margin-top: 16px;
    font-size: 17px;
  }

  .hero .actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 32px;
  }

  .hero .actions .btn {
    width: 100%;
  }

  .dir-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dir-actions .btn {
    width: 100%;
  }

  .banner {
    padding: 8px 44px 8px 16px;
  }

  .banner a {
    flex: 1;
    line-height: 20px;
    padding-right: 8px;
  }

  .card-body,
  .card-body-sm {
    padding: 20px;
  }

  details.faq {
    padding: 0 16px;
  }

  details.faq summary {
    font-size: 17px;
    min-height: 64px;
  }

  .contact-channels {
    grid-template-columns: 1fr;
  }
}

/* text contrast v3 */
h1.h,
h2.h,
.card1 h1,
.card1 h2,
.card1 h3,
.card2 h1,
.card2 h2,
.card2 h3,
details.faq summary {
  font-weight: 500;
  color: var(--text-1);
}
h1 ~ p:not(.meta),
h2 ~ p:not(.meta),
.lead,
.sub,
.card1 p:not(.meta),
.card2 p:not(.meta),
details.faq p {
  color: var(--text-5);
}
.card1 small,
.card2 small,
.opt small,
.opt2 small,
.opt2 .t small {
  color: var(--text-5);
}

.enroll-intro {
  max-width: 720px;
  gap: 24px;
  margin-top: 40px;
}

.enroll-title,
.thank-title {
  font-size: 64px;
  line-height: 1.1;
}

.enroll-lead,
.thank-lead {
  font-size: 20px;
}

.enroll-section {
  margin-top: 56px;
}

.enroll-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.enroll-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.enroll-aside-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.enroll-aside-step {
  display: flex;
  gap: 16px;
}

.enroll-aside-step .stepn {
  font-size: 28px;
  width: 40px;
  flex: none;
}

.enroll-write {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.enroll-form {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.enroll-form fieldset,
.enroll-block {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.enroll-form legend {
  padding: 0;
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  color: var(--heading);
}

.enroll-form legend b {
  font-weight: 300;
  color: var(--muted);
  font-size: 20px;
}

.enroll-kicker,
.sub-h {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  margin: 8px 0 0;
}

.enroll-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fld {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.fld label,
.enroll-form .fld > label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text-4);
}

.wpcf7 .enroll-form input[type="text"],
.wpcf7 .enroll-form input[type="email"],
.wpcf7 .enroll-form input[type="tel"],
.wpcf7 .enroll-form input[type="number"],
.wpcf7 .enroll-form select,
.wpcf7 .enroll-form textarea,
.inp {
  width: 100%;
  min-height: 52px;
  height: 52px;
  background: var(--l3);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0 16px;
  color: var(--heading);
  font-family: inherit;
  font-size: 16px;
}

.wpcf7 .enroll-form textarea,
textarea.inp {
  height: 112px;
  min-height: 112px;
  padding: 14px 16px;
  resize: none;
}

.wpcf7 .enroll-form select,
select.inp {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23A9B0BA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.wpcf7 .enroll-form select:invalid,
select.inp:invalid {
  color: var(--placeholder);
}

.wpcf7 .enroll-form select option {
  color: var(--heading);
  background: var(--l3);
}

.opt2,
.wpcf7 .enroll-course .wpcf7-list-item,
.wpcf7 .enroll-days .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 14px 16px;
  margin: 0;
  background: var(--l3);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  cursor: pointer;
  color: var(--heading);
  transition: border-color 0.2s, background 0.2s;
}

.opt2:hover,
.wpcf7 .enroll-course .wpcf7-list-item:hover,
.wpcf7 .enroll-days .wpcf7-list-item:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.opt2.on,
.wpcf7 .enroll-course .wpcf7-list-item.on,
.wpcf7 .enroll-days .wpcf7-list-item.on {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.08);
}

.opt2 label,
.wpcf7 .enroll-course .wpcf7-list-item label,
.wpcf7 .enroll-days .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  cursor: pointer;
  margin: 0;
}

.opt2 input,
.wpcf7 .enroll-course input[type="radio"],
.wpcf7 .enroll-days input[type="radio"] {
  accent-color: var(--violet);
  width: 20px;
  height: 20px;
  margin: 0;
  flex: none;
}

.opt2 .t,
.wpcf7 .enroll-course .t,
.wpcf7 .enroll-days .t {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--heading);
}

.opt2 .t small,
.wpcf7 .enroll-course .t small,
.wpcf7 .enroll-days .t small {
  display: block;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.opt2 .pr,
.wpcf7 .enroll-course .pr,
.wpcf7 .enroll-days .pr {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  color: var(--heading);
  white-space: nowrap;
}

.wpcf7 .enroll-course,
.wpcf7 .enroll-days .wpcf7-radio,
.wpcf7 .enroll-course .wpcf7-radio {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.enroll-days[hidden],
.enroll-form [hidden] {
  display: none !important;
}

.form-panel.is-course-locked .enroll-course-block .enroll-kicker {
  display: none;
}

.enroll-finish {
  gap: 20px;
  align-items: flex-start;
}

.enroll-form .wpcf7-acceptance {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-2);
}

.enroll-form .wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
}

.enroll-form .wpcf7-acceptance input {
  accent-color: var(--violet);
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: none;
}

.enroll-form .wpcf7-acceptance a {
  color: var(--violet-text);
  text-decoration: underline;
}

.enroll-form input[type="submit"],
.enroll-form .wpcf7-submit {
  min-width: 200px;
}

.enroll-note {
  font-size: 14px;
}

.thank-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.thank-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-text);
}

.thank-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.thank-lead {
  max-width: 560px;
}

.thank-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
}

.thank-card {
  padding: 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thank-dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px 24px;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.thank-dl dt {
  color: var(--muted);
  font-weight: 400;
}

.thank-dl dd {
  margin: 0;
  color: var(--heading);
  font-weight: 500;
}

.thank-dl dd[data-thank="first-class"] {
  font-weight: 400;
  font-style: italic;
}

.thank-copy-note {
  font-size: 14px;
  margin-top: 8px;
}

.tl {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tl .it {
  position: relative;
  padding-left: 32px;
}

.tl .it::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--violet);
}

.tl .it::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 22px;
  bottom: -24px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.tl .it:last-child::after {
  display: none;
}

.tl .d {
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-text);
  margin-bottom: 4px;
}

.thank-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.thank-foot {
  font-size: 14px;
}

@media (max-width: 1100px) {
  .enroll-layout,
  .enroll-grid,
  .thank-dl {
    grid-template-columns: 1fr;
  }

  .enroll-title,
  .thank-title {
    font-size: 40px;
  }

  .thank-page {
    padding: 56px 24px 0;
  }

  .enroll-form {
    gap: 40px;
  }

  .enroll-form input[type="submit"],
  .enroll-form .wpcf7-submit {
    width: 100%;
  }
}
