:root {
  color-scheme: dark;
  --night: #100d0c;
  --surface: #171110;
  --surface-raised: #211613;
  --ember: #e2350a;
  --ember-deep: #c92e0c;
  --white: #f8f5f0;
  --ink: #f8f5f0;
  --body: #d5c9c2;
  --muted: #ab9a92;
  --line: #58433b;
  font-family: "Helvetica Neue", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100dvh; margin: 0; display: flex; justify-content: center; background: #080706; color: var(--ink); }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid #ffb198; outline-offset: 3px; }
[hidden] { display: none !important; }
.app { position: relative; width: min(100%, 440px); height: 100dvh; display: flex; flex-direction: column; overflow: hidden; background: var(--night); }
.scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }

.masthead { position: sticky; top: 0; z-index: 10; min-height: calc(64px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #100d0cf2; border-bottom: 1px solid #604138; backdrop-filter: blur(12px); }
.wordmark { min-height: 48px; display: inline-flex; align-items: center; color: var(--white); font-size: 16px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.wordmark::before { content: ""; width: 5px; height: 17px; margin-right: 9px; background: var(--ember); }
.age-note { color: #c7b8b0; font-size: 11px; white-space: nowrap; }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 500px; padding: 60px 25px 25px; display: flex; flex-direction: column; align-items: center; text-align: center; background: radial-gradient(ellipse 89% 57% at 75% 36%, #82301f 0%, #442017 41%, transparent 78%), linear-gradient(155deg, #100d0c 8%, #301913 67%, #9b260e 130%); }
.hero::before { content: ""; position: absolute; z-index: -1; top: 19px; left: 50%; width: 330px; height: 330px; border: 1px solid #e2350a40; border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 0 37px #e2350a0d, 0 0 0 75px #e2350a0a; }
.hero::after { content: ""; position: absolute; z-index: -1; top: 86px; left: calc(50% - 119px); width: 14px; height: 14px; background: var(--ember); transform: rotate(45deg); }
.hero-leaf { display: none; }
.intro-line { display: flex; align-items: center; gap: 10px; color: #f3d4c8; font-size: 11px; font-weight: 600; letter-spacing: .08em; white-space: nowrap; }
.intro-line::before, .intro-line::after { content: ""; width: 20px; height: 1px; background: var(--ember); }
.hero h1 { max-width: 390px; margin: 50px 0 19px; color: var(--white); font-size: clamp(35px, 9.6vw, 44px); font-weight: 800; line-height: 1.34; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 em { color: var(--white); font-style: normal; }
.hero p { max-width: 338px; margin: 0 auto; color: #f0dfd7; font-size: 15px; line-height: 1.75; }
.hero-actions { width: 100%; margin-top: 26px; }
.hero-foot { width: 100%; margin-top: auto; padding-top: 18px; border-top: 1px solid #d883674d; color: #eac9ba; font-size: 11px; line-height: 1.6; letter-spacing: .06em; }
.button-primary, .button-outline { position: relative; min-height: 52px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 3px; font-size: 14px; font-weight: 800; text-align: center; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
a.button-primary, a.button-outline { width: 100%; }
.button-primary span, .button-outline span { font-size: 20px; font-weight: 400; line-height: 1; }
.button-primary { border: 1px solid var(--ember-deep); color: #fff; background: var(--ember-deep); }
.button-primary:hover { border-color: #f14923; background: #f14923; }
.button-outline { border: 1px solid #de9680; color: var(--white); background: transparent; }
.button-outline:hover { border-color: var(--white); background: #ffffff12; }
.button-primary:active, .button-outline:active { filter: brightness(.86); }
.hero .button-primary { width: 100%; }

.course-feature { padding: 26px 22px 34px; background: #0b0a10; }
.course-card { position: relative; overflow: hidden; padding: 30px 24px 24px; border: 1px solid #776183; border-radius: 12px; background: linear-gradient(110deg, #100e18f5 7%, #17111edb 74%), url("course-mystic-bg.png") center 17% / cover; box-shadow: 0 16px 35px #0005, inset 0 0 0 1px #d2b5df1c; }
.course-card::after { content: ""; position: absolute; top: -77px; right: -65px; width: 195px; height: 195px; border: 1px solid #d6bce267; border-radius: 50%; box-shadow: 0 0 0 23px #b993cc12, 0 0 42px #b993cc26; pointer-events: none; }
.course-card-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; color: #cba6d8; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.course-card-top::before { content: ""; width: 22px; height: 2px; background: #b993cc; }
.course-card h2 { position: relative; z-index: 1; max-width: 260px; margin: 35px 0 12px; font-size: 29px; font-weight: 800; line-height: 1.34; letter-spacing: -.045em; }
.course-card p { position: relative; z-index: 1; margin: 0; color: #d8cedf; font-size: 15px; line-height: 1.8; }
.course-card .button-primary { margin-top: 28px; border-color: #89649b; background: #624775; }
.course-card .button-primary:hover { border-color: #ae8dc1; background: #79568c; }

.section { padding: 39px 24px; }
.section-white { background: var(--surface); }
.section-paper { background: var(--night); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: 25px; font-weight: 800; line-height: 1.38; letter-spacing: -.04em; }
.section-number { flex: none; color: #f19679; font-size: 12px; }
.section-copy, .delivery-intro { margin: 0; color: var(--body); font-size: 15px; line-height: 1.8; }
.test-invite { position: relative; overflow: hidden; border-top: 1px solid #8b3724; background: radial-gradient(circle at 100% 0%, #74301e 0, #361c16 50%, #1d1411 100%); }
.test-invite::after { content: ""; position: absolute; right: -61px; bottom: -80px; width: 200px; height: 200px; border: 1px solid #e2350a75; border-radius: 50%; pointer-events: none; }
.test-invite .section-heading { position: relative; z-index: 1; max-width: 270px; margin-bottom: 14px; }
.test-invite .section-copy, .test-invite .button-outline { position: relative; z-index: 1; }
.test-invite .button-outline { width: 100%; margin-top: 24px; }
.foot { padding: 28px 24px 32px; color: var(--muted); background: var(--night); border-top: 1px solid var(--line); font-size: 12px; line-height: 1.8; }
.legal-foot { padding: 18px 24px 24px; color: var(--muted); background: var(--night); border-top: 1px solid var(--line); text-align: center; font-size: 11px; line-height: 1.8; }
.legal-foot a { color: inherit; text-underline-offset: 3px; }
.quiet-link { min-height: 44px; display: inline-flex; align-items: center; margin-top: 5px; color: #ff9270; text-decoration: underline; text-underline-offset: 3px; }

.page-head { position: relative; overflow: hidden; padding: 32px 24px 31px; background: radial-gradient(circle at 95% -10%, #5c281c, #201512 54%, #171110 100%); border-bottom: 1px solid #763d2d; }
.page-head::after { content: ""; position: absolute; top: 7px; right: -83px; width: 230px; height: 230px; border: 1px solid #e2350a33; border-radius: 50%; pointer-events: none; }
.page-head > * { position: relative; z-index: 1; }
.page-head .eyeline { color: #ff9d7e; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.page-head h1 { margin: 22px 0 15px; font-size: 35px; font-weight: 800; line-height: 1.33; letter-spacing: -.05em; }
.page-head p { margin: 0; color: #ead8cf; font-size: 15px; line-height: 1.8; }
.friends-hero { position: relative; isolation: isolate; overflow: hidden; padding: 37px 24px 44px; color: #f9f3f8; background: radial-gradient(circle at 83% 21%, #4b2a36 0, #241820 37%, transparent 68%), linear-gradient(165deg, #151017 4%, #23151d 72%, #321c19 120%); border-bottom: 1px solid #5f4657; }
.friends-hero::before { content: ""; position: absolute; z-index: -1; top: 61px; right: -94px; width: 264px; height: 264px; border: 1px solid #c09cbb4d; border-radius: 50%; box-shadow: 0 0 0 28px #a77f9c10, 0 0 0 57px #a77f9c09; pointer-events: none; }
.friends-eyeline { display: flex; align-items: center; gap: 9px; color: #e0b8d0; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.friends-eyeline span { width: 21px; height: 2px; background: #e97c5c; }
.friends-hero h1 { max-width: 380px; margin: 58px 0 18px; font-size: clamp(31px, 8vw, 37px); font-weight: 800; line-height: 1.3; letter-spacing: -.055em; }
.friends-hero p { max-width: 360px; margin: 0; color: #e1d2dd; font-size: 14px; line-height: 1.85; }
.friends-benefits { padding: 36px 24px 41px; background: #161117; }
.friends-section-label { display: flex; align-items: center; justify-content: space-between; color: #b993cc; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.friends-section-label span { color: #c5afc6; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.friends-benefits h2 { margin: 14px 0 24px; font-size: 24px; font-weight: 800; line-height: 1.4; letter-spacing: -.04em; }
.friends-benefit { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; padding: 17px 0; border-top: 1px solid #574353; }
.friends-benefit:nth-of-type(4) { border-bottom: 1px solid #574353; }
.friends-benefit > span { color: #bd93b7; font-size: 15px; font-weight: 800; }
.friends-benefit strong { display: block; color: #f7eff5; font-size: 15px; line-height: 1.5; }
.friends-benefit p { margin: 5px 0 0; color: #cdbfca; font-size: 13px; line-height: 1.7; }
.friends-action { margin-top: 24px; color: #cdbfca; font-size: 13px; line-height: 1.7; }
.friends-action .button-primary { width: 100%; border-color: #d83915; background: #d83915; }
.friends-action .button-primary:hover { border-color: #f14c25; background: #f14c25; }
.friends-action p { margin: 11px 0 0; }
.friends-action a:not(.button-primary) { color: #f6aa92; text-underline-offset: 3px; }
.friends-action:not(.friends-member):not(.friends-error) p { text-align: center; font-size: 12px; }
.friends-member { padding: 18px; border: 1px solid #725a73; background: #211924; }
.friends-member strong { color: #f5e8f5; font-size: 15px; }
.friends-member p { margin: 8px 0 17px; }
.friends-error .button-outline { width: 100%; margin-top: 14px; }
.friends-error > a { min-height: 44px; display: inline-flex; align-items: center; margin-top: 7px; }
.friends-consult { margin-top: 30px; padding-top: 24px; border-top: 1px solid #574353; }
.friends-consult p { margin: 0 0 15px; color: #cdbfca; font-size: 13px; line-height: 1.8; text-align: center; }
.friends-consult .button-outline { width: 100%; border-color: #725a73; color: #f5e8f5; background: #21192480; }
.friends-consult .button-outline:hover { border-color: #c09cbb; background: #2a1f2e; }
.friends-foot { padding: 22px 24px 29px; border-top: 1px solid #463748; color: #baaab7; background: #100d12; font-size: 12px; line-height: 1.7; text-align: center; }
.back-link { min-height: 44px; display: inline-flex; align-items: center; margin: -5px 0 13px; color: #ffe5dc; font-size: 13px; text-decoration: none; }
.detail-facts { margin: 26px 0 0; padding: 2px 16px; border: 1px solid #704536; background: #140f0dcf; }
.fact { min-height: 49px; display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 8px; border-bottom: 1px solid #584137; font-size: 13px; line-height: 1.55; }
.fact:last-child { border-bottom: 0; }
.fact dt { color: #b6a29a; }
.fact dd { margin: 0; color: var(--white); font-weight: 600; }

.basic-detail-head { padding: 25px 24px 39px; border-bottom-color: #675272; color: #faf6fc; background: linear-gradient(105deg, #0d0b14f5, #1b1324c9), url("course-mystic-bg.png") center 22% / cover; }
.basic-detail-head::after { top: 48px; right: -99px; width: 270px; height: 270px; border-color: #c5a3d36b; box-shadow: 0 0 0 25px #b993cc12, 0 0 50px #b993cc26; }
.basic-detail-head .back-link { color: #d6c4df; }
.basic-hero-copy { padding-top: 19px; }
.basic-detail-head .eyeline { color: #cba6d8; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.basic-detail-head .eyeline span { margin: 0 6px; color: #a78aae; }
.basic-detail-head h1 { max-width: 360px; margin: 27px 0 15px; color: #faf6fc; font-size: clamp(30px, 8vw, 36px); font-weight: 800; line-height: 1.38; letter-spacing: -.05em; }
.basic-detail-head h1 em { color: #f7eafa; font-style: normal; }
.basic-detail-head p { max-width: 320px; color: #dacde0; font-size: 14px; line-height: 1.8; }
.basic-jump { min-height: 48px; margin-top: 26px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; border: 1px solid #89649b; border-radius: 4px; color: #f7f1fa; background: #624775; font-size: 13px; font-weight: 700; }
.basic-jump span { font-size: 19px; line-height: 1; }
.basic-jump:hover { background: #79568c; }
.basic-detail-content { padding-top: 36px; padding-bottom: 49px; color: #f7f1fa; background: #100d16; }
.basic-section-label { display: flex; justify-content: space-between; gap: 12px; color: #b993cc; font-size: 10px; font-weight: 800; letter-spacing: .08em; line-height: 1.5; }
.basic-section-label span { color: #b9a5c1; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.basic-overview { padding: 0 0 34px; border-bottom: 1px solid #5e4c68; }
.basic-overview h2, .basic-syllabus h2, .basic-delivery h2 { margin: 17px 0; color: #f7f1fa; font-size: 25px; font-weight: 800; line-height: 1.4; letter-spacing: -.04em; }
.basic-overview p { margin: 0; color: #e2d9e5; font-size: 15px; line-height: 1.88; }
.basic-overview p + p { margin-top: 19px; }
.basic-highlights { display: grid; gap: 9px; margin-top: 27px; }
.basic-highlights > div { min-height: 68px; padding: 12px 16px; display: flex; align-items: center; gap: 18px; border: 1px solid #65516f; border-radius: 7px; background: #1b1422; }
.basic-highlights strong { min-width: 50px; color: #c6a4d3; font-size: 25px; font-weight: 800; line-height: 1; }
.basic-highlights span { color: #e1d5e5; font-size: 13px; line-height: 1.55; }
.basic-syllabus { padding-top: 49px; scroll-margin-top: 18px; }
.basic-syllabus .section-heading { align-items: center; margin: 0; }
.basic-syllabus .section-heading h2 { margin: 14px 0 0; }
.basic-syllabus .section-number { color: #bfa4cb; font-size: 11px; }
.basic-syllabus-intro { margin: 10px 0 18px; color: #cbbbd1; font-size: 13px; line-height: 1.7; }
.basic-lesson-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid #5e4c68; }
.basic-lesson-list li { min-height: 68px; padding: 15px 0; display: grid; grid-template-columns: 35px minmax(0, 1fr); align-items: center; gap: 10px; border-bottom: 1px solid #45374e; color: #f5eff7; }
.basic-lesson-list .lesson-index { color: #bfa4cb; font-size: 13px; font-weight: 800; }
.basic-lesson-list .lesson-title { font-size: 15px; font-weight: 650; line-height: 1.6; }
.basic-takeaway { margin-top: 40px; padding: 21px 20px; border-left: 2px solid #b993cc; color: #f6edf9; background: #21182a; }
.basic-takeaway p { margin: 17px 0; color: #e2d9e5; font-size: 14px; line-height: 1.85; }
.basic-takeaway strong { display: block; padding-top: 16px; border-top: 1px solid #65516f; font-size: 16px; line-height: 1.7; }
.basic-delivery { padding-top: 37px; padding-bottom: 44px; border-top: 1px solid #493a51; color: #f7f1fa; background: #17111e; }
.basic-delivery .section-heading { margin-bottom: 14px; }
.basic-delivery .section-heading h2 { margin: 15px 0 0; }
.basic-delivery .detail-facts { margin: 0; padding: 2px 16px; border: 1px solid #65516f; border-radius: 0; background: #18121f; }
.basic-delivery .fact { min-height: 58px; grid-template-columns: 75px minmax(0, 1fr); gap: 10px; border-color: #493a51; font-size: 12px; }
.basic-delivery .fact dt { color: #bcaac6; }
.basic-delivery .fact dd { color: #f7f1fa; font-weight: 650; }
.basic-buy { width: 100%; margin-top: 22px; border-color: #89649b; background: #624775; }
.basic-buy:hover { border-color: #ae8dc1; background: #79568c; }
.basic-sale-state { margin: 12px 0 0; color: #c9b9cf; font-size: 12px; line-height: 1.7; text-align: center; }
.basic-foot { border-top: 1px solid #493a51; color: #c7b2d0; background: #100d16; text-align: center; }
.basic-foot a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.basic-back-top { position: absolute; z-index: 11; right: 16px; bottom: calc(85px + env(safe-area-inset-bottom)); width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 1px solid #e6d0ed88; border-radius: 50%; color: #f8eefb; background: #271b31bf; box-shadow: 0 7px 22px #0006; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background-color .2s ease, transform .2s ease; }
.basic-back-top svg { width: 22px; height: 22px; }
.basic-back-top:hover { background: #493154d9; transform: translateY(-2px); }
.purchase-bar:not([hidden]) + .basic-back-top { bottom: calc(157px + env(safe-area-inset-bottom)); }

.course-catalog { padding-top: 24px; padding-bottom: 32px; background: #0b0a10; }
.catalog-grid { display: grid; gap: 18px; }
.track-card { overflow: hidden; border: 1px solid #6f5a7a; border-radius: 13px; background: #15111c; box-shadow: 0 14px 32px #0006; }
.track-art { position: relative; isolation: isolate; overflow: hidden; min-height: 188px; aspect-ratio: 16 / 9; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; color: #f8f3fa; background: linear-gradient(90deg, #0b0a12e8 0%, #0d0b15b8 52%, #0c0a13aa 100%), url("course-mystic-bg.png") center 8% / cover; }
.track-art::before { content: ""; position: absolute; z-index: -1; inset: 9px; border: 1px solid #bd9acb73; border-radius: 9px; pointer-events: none; }
.track-art::after { content: ""; position: absolute; z-index: -1; top: -65px; right: -32px; width: 235px; height: 235px; border: 1px solid #d7c6e39c; border-radius: 50%; box-shadow: 0 0 34px #b493c647; pointer-events: none; }
.track-card-men .track-art { background-position: center, center 43%; }
.track-card-women .track-art { background-position: center, center 82%; }
.track-card-women .track-art::after { top: 1px; right: -89px; border-color: #b495c5a6; }
.track-art-brand { position: relative; z-index: 1; display: block; padding-bottom: 9px; border-bottom: 1px solid #ab91b574; color: #c8a8d5; font-size: 12px; font-weight: 700; letter-spacing: .24em; }
.track-art-title { position: relative; z-index: 1; display: grid; gap: 9px; }
.track-art-title small { color: #c8b8d0; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.track-art-title b { max-width: 260px; font-size: 27px; font-weight: 800; line-height: 1.3; letter-spacing: -.05em; text-shadow: 0 2px 15px #000a; }
.track-body { padding: 19px 20px 20px; }
.track-body h2 { margin: 0; color: #f7f2fa; font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.track-metrics { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 0; color: #d8c5e1; font-size: 11px; }
.track-metrics span { padding: 5px 8px; border: 1px solid #65516f; border-radius: 3px; line-height: 1.3; }
.track-body .button-primary { margin-top: 20px; border-color: #83658f; color: #f7f1fa; background: #3d2d49; }
.track-body .button-primary:hover { border-color: #b391c2; background: #563e64; }
.advanced-card { --advanced-accent: #a8bed2; --advanced-line: #35424f; display: block; width: 100%; padding: 22px 20px 0; overflow: hidden; border: 1px solid var(--advanced-line); border-radius: 13px; color: #f0f2f5; background: #12171d; text-align: left; text-decoration: none; }
.advanced-card-women { --advanced-accent: #ccb6d6; --advanced-line: #493b50; background: #1a141e; }
.advanced-card:hover { border-color: var(--advanced-accent); }
.advanced-card:focus-visible { outline: 2px solid var(--advanced-accent); outline-offset: 3px; }
.advanced-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--advanced-line); color: var(--advanced-accent); font-size: 12px; }
.advanced-state { padding: 4px 9px; border: 1px solid var(--advanced-line); border-radius: 20px; font-size: 11px; line-height: 1.4; }
.advanced-card-title { display: block; margin-top: 20px; font-size: 25px; font-weight: 750; line-height: 1.35; letter-spacing: -.035em; }
.advanced-card-intro { display: block; margin-top: 12px; color: #c2c0c8; font-size: 14px; line-height: 1.8; font-weight: 400; }
.advanced-card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 17px 0 24px; color: var(--advanced-accent); font-size: 11px; font-weight: 400; }
.advanced-card-tags > span { padding: 5px 9px; border: 1px solid var(--advanced-line); border-radius: 4px; line-height: 1.4; }
.advanced-card-foot { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 51px; margin: 0 -20px; border-top: 1px solid var(--advanced-line); color: var(--advanced-accent); background: #ffffff03; font-size: 13px; font-weight: 650; }
.advanced-card-foot > span { font-size: 20px; font-weight: 400; }
dialog.upcoming-dialog { inset: 0; width: min(calc(100% - 40px),360px); max-height: calc(100dvh - 48px); margin: auto; padding: 28px 24px 24px; border: 1px solid #63516e; border-radius: 16px; color: #f7f2fa; background: #1b1522; box-shadow: 0 24px 80px #0008; }
.upcoming-dialog::backdrop { background: #08060bbe; backdrop-filter: blur(5px); }
.upcoming-dialog-label { display: block; margin-bottom: 12px; color: #c2a6d1; font-size: 12px; }
.upcoming-dialog h2 { font-size: 22px; line-height: 1.45; letter-spacing: -.025em; }
.upcoming-dialog p { margin-bottom: 24px; color: #c9bdcf; font-size: 14px; line-height: 1.8; }
.upcoming-dialog form { margin: 0; }
.upcoming-dialog :focus-visible { outline: 2px solid #c2a6d1; outline-offset: 3px; }
.upcoming-dialog .button-primary { min-height: 48px; border-color: #766080; border-radius: 7px; background: #4c385b; }
.course-structure { display: grid; }
.course-structure > div { padding: 18px 0; border-top: 1px solid var(--line); }
.course-structure > div:last-child { border-bottom: 1px solid var(--line); }
.course-structure strong { color: #ff9a78; font-size: 14px; }
.course-structure p { margin: 7px 0 0; color: var(--body); font-size: 14px; line-height: 1.75; }
.curriculum-blocks { margin-top: 22px; border-top: 1px solid var(--line); }
.curriculum-block { padding: 19px 0; border-bottom: 1px solid var(--line); }
.curriculum-block span { color: #ff9673; font-size: 12px; font-weight: 700; }
.curriculum-block h3 { margin: 8px 0; font-size: 17px; }
.curriculum-block p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.8; }
.topic-list { padding: 0; margin: 18px 0 0; list-style: none; }
.topic-list li { position: relative; padding: 14px 0 14px 20px; border-bottom: 1px solid var(--line); color: var(--body); font-size: 14px; line-height: 1.7; }
.topic-list li:first-child { border-top: 1px solid var(--line); }
.topic-list li::before { content: ""; position: absolute; left: 2px; top: 24px; width: 7px; height: 7px; background: var(--ember); transform: rotate(45deg); }
.curriculum-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.terms { margin-top: 18px; padding: 17px; border-left: 2px solid var(--ember); background: #2c1b15; color: var(--body); font-size: 13px; line-height: 1.75; }

.delivery-list { display: grid; gap: 0; padding: 0; margin: 20px 0 0; list-style: none; counter-reset: delivery; }
.delivery-list li { position: relative; min-height: 69px; padding: 12px 0 12px 44px; border-top: 1px solid var(--line); counter-increment: delivery; }
.delivery-list li:last-child { border-bottom: 1px solid var(--line); }
.delivery-list li::before { content: counter(delivery, decimal-leading-zero); position: absolute; left: 0; top: 12px; color: #ff8e6b; font-size: 17px; font-weight: 800; }
.delivery-list strong { display: block; font-size: 14px; }
.delivery-list span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.lesson-path { margin-top: 19px; border-top: 1px solid var(--line); }
.path-row { display: grid; grid-template-columns: 31px 1fr; gap: 10px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.path-row .index { color: #ff9270; font-size: 16px; font-weight: 800; }
.path-row h3 { margin: 0 0 5px; font-size: 16px; }
.path-row p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.7; }
.note { margin: 0; padding-left: 14px; border-left: 2px solid var(--ember); color: var(--body); font-size: 14px; line-height: 1.75; }
.articles-reading { padding: 30px 24px 32px; background: var(--night); }
.article-group + .article-group { margin-top: 36px; }
.article-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #9a5039; }
.article-group-head h2 { margin: 0; font-size: 21px; line-height: 1.4; font-weight: 800; }
.article-group-head h2::before { content: ""; display: inline-block; width: 3px; height: 16px; margin-right: 10px; background: #ef7956; vertical-align: -1px; }
.article-group-head > span { flex: none; font-size: 12px; color: var(--muted); }
.beginner-article { padding: 23px 0 15px; border-bottom: 1px solid #58433b80; }
.beginner-article h3 { margin: 0 0 11px; font-size: 18px; font-weight: 700; line-height: 1.55; overflow-wrap: anywhere; }
.beginner-article h3 a { text-decoration: none; }
.beginner-article h3 a:hover { color: #ffaf94; }
.beginner-article p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.85; }
.article-read-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; color: #f39b7e; font-size: 12px; text-decoration: none; }
.article-read-link span { font-size: 18px; }
.articles-source { margin: 25px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.reading-list { margin-top: 20px; border-top: 1px solid var(--line); }
.reading-item { padding: 19px 0; border-bottom: 1px solid var(--line); }
.reading-item small { display: block; margin-bottom: 7px; color: #ff9673; font-size: 12px; }
.reading-item h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.5; }
.reading-item p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.7; }

.purchase-bar { min-height: 72px; padding: 10px 17px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #73412f; background: #1b110e; }
.purchase-bar small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; }
.purchase-bar strong { font-size: 13px; }
.purchase-bar .button-primary { min-width: 143px; padding: 0 11px; font-size: 12px; }
.bottom-nav { height: calc(69px + env(safe-area-inset-bottom)); flex: 0 0 calc(69px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #5f4033; background: #100d0c; }
.nav-link { position: relative; min-height: 69px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #a8978d; font-size: 11px; text-decoration: none; }
.nav-link[aria-current="page"] { color: #ff8d67; font-weight: 700; }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; bottom: 8px; left: 50%; width: 20px; height: 2px; transform: translateX(-50%); background: currentColor; }
.nav-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.checkout-summary { border: 1px solid #704536; padding: 0 16px; background: #140f0d; }
.checkout-summary > div { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.checkout-summary > div:last-child { border-bottom: 0; }
.checkout-summary span { flex: none; color: var(--muted); }
.checkout-summary strong { text-align: right; line-height: 1.5; }
.checkout-summary #checkout-price { color: #ff9d7e; font-size: 20px; }
.pay-methods { margin: 25px 0 0; padding: 0; border: 0; }
.pay-methods legend { margin-bottom: 12px; font-size: 16px; font-weight: 800; }
.pay-methods label { min-height: 65px; margin-top: 9px; padding: 10px 13px; display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: center; border: 1px solid #704536; background: #211613; }
.pay-methods label:has(input:checked) { border-color: #f36c44; background: #3a211a; }
.pay-methods input { grid-row: span 2; width: 18px; height: 18px; margin: 0; accent-color: var(--ember); }
.pay-methods span { font-size: 14px; font-weight: 700; }
.pay-methods small { grid-column: 2; color: var(--muted); font-size: 11px; }
.checkout-info { margin: 18px 0 0; color: var(--body); font-size: 12px; line-height: 1.7; }
.checkout-content .quiet-link { font-size: 13px; }
.terms-confirm { margin-top: 16px; padding: 13px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid #704536; background: #241813; color: var(--body); font-size: 12px; line-height: 1.65; }
.terms-confirm input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--ember); }
.checkout-submit { width: 100%; margin-top: 20px; }
.button-primary:disabled, .button-outline:disabled { cursor: not-allowed; border-color: #58433b; color: #a8978d; background: #3a2b26; }
.form-status { min-height: 20px; margin: 12px 0 0; color: #f5b8a4; font-size: 12px; line-height: 1.6; }
.order-created { margin-top: 24px; padding: 20px 17px; border: 1px solid #a45138; background: #2b1b16; }
.order-created h2 { margin: 0 0 9px; font-size: 19px; }
.order-created p { margin: 0; color: var(--body); font-size: 13px; line-height: 1.7; }
.order-created dl { margin: 17px 0; }
.order-created dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.order-created dt { color: var(--muted); font-size: 11px; }
.order-created dd { margin: 6px 0 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 700; }
.order-list { display: grid; gap: 13px; }
.order-card { padding: 18px 16px; border: 1px solid #704536; background: #211613; }
.order-watch { margin-top: 16px; }
.order-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.order-card-head strong { font-size: 16px; }
.order-state { flex: none; color: #f3b8a4; font-size: 12px; }
.order-state-paid { color: #9cdda9; }
.order-meta { margin: 10px 0 0; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.order-delivery { margin: 14px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--white); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.order-actions { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.order-actions .button-primary, .order-actions .button-outline { min-height: 44px; padding: 0 7px; font-size: 11px; }

dialog { position: fixed; inset: auto 0 0; width: min(100%, 440px); max-width: none; max-height: calc(100dvh - 16px); overflow-y: auto; margin: auto auto 0; padding: 28px 24px calc(25px + env(safe-area-inset-bottom)); border: 1px solid #814633; border-bottom: 0; border-radius: 6px 6px 0 0; color: var(--white); background: #1f1512; }
dialog::backdrop { background: #080606d9; }
dialog h2 { margin: 0 0 12px; font-size: 23px; }
dialog p { margin: 0 0 17px; color: var(--body); font-size: 14px; line-height: 1.75; }
dialog .delivery-list { margin: 15px 0 20px; }
dialog .button-primary { width: 100%; }
@media (min-width: 600px) {
  body { align-items: center; }
  .app { height: min(900px, calc(100dvh - 48px)); border: 1px solid #5a3327; border-radius: 17px; box-shadow: 0 25px 80px #0009; }
}
@media (max-width: 360px) {
  .masthead { padding-right: 17px; padding-left: 17px; }
  .wordmark { font-size: 14px; }
  .age-note { font-size: 10px; }
  .hero { padding-right: 20px; padding-left: 20px; }
  .hero h1 { font-size: 34px; }
  .section, .page-head, .friends-hero, .friends-benefits { padding-right: 20px; padding-left: 20px; }
  .course-feature { padding-right: 18px; padding-left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button-primary, .button-outline { transition: none; }
}

/* Approved visual refresh: 2026-10-05 */

.hero-image-preview{min-height:0;padding:27px 25px 23px;background:#100d0c}
.hero-image-preview::before,.hero-image-preview::after{display:none}
.hero-art{position:relative;flex:none;width:calc(100% + 50px);height:192px;margin:15px -25px 0;overflow:hidden}
.hero-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 52%}
.hero-art::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#100d0c 0%,transparent 18%,transparent 72%,#100d0c 100%),linear-gradient(90deg,#100d0c44,transparent 25%,transparent 80%,#100d0c44)}
.hero-image-preview h1{margin:12px 0 15px;font-size:clamp(32px,9.1vw,40px);line-height:1.3;letter-spacing:-.045em}
.hero-image-preview p{font-size:14px;line-height:1.85;color:#d5c9c2}
.hero-image-preview .hero-actions{margin-top:23px}
.hero-image-preview .hero-foot{margin-top:23px;padding-top:15px;color:#b8a69b;border-color:#58433b80}
@media(max-width:360px){.hero-art{height:166px}.hero-image-preview h1{font-size:31px}.hero-image-preview{padding-right:20px;padding-left:20px}.hero-art{width:calc(100% + 40px);margin-left:-20px;margin-right:-20px}}


.track-card-basic .track-art{background:#171110;min-height:196px;aspect-ratio:16/9;padding:21px}
.track-card-basic .track-art::before,.track-card-basic .track-art::after{display:none}
.course-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
.track-card-basic .track-art:after{display:block;content:"";position:absolute;inset:0;width:auto;height:auto;border:0;border-radius:0;box-shadow:none;z-index:-1;background:linear-gradient(90deg,#100d0cce 0%,#100d0c33 58%,transparent 100%),linear-gradient(0deg,#100d0c8c,transparent 60%)}
.track-art-brand{border-bottom:0;color:#dbc7b4;font-size:10px;letter-spacing:.35em}
.track-art-title small{color:#d9c7b5}.track-art-title b{font-size:26px;max-width:190px}
.track-card-basic{border-color:#604539;background:#171110}
.track-card-basic .track-body{background:#171110}
.track-card-basic .track-body .button-primary{background:#9c462c;border-color:#a95b40}
.advanced-card{position:relative;isolation:isolate;padding-top:22px;background:#12171d}
.advanced-card-women{background:#1a141e}
.advanced-art{position:absolute;z-index:-1;inset:0 0 auto;height:174px;overflow:hidden;pointer-events:none}
.advanced-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.advanced-art::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#12171df0 0%,#12171d85 43%,#12171d0a 80%),linear-gradient(0deg,#12171d 0%,#12171d22 43%,transparent 100%)}
.advanced-card-women .advanced-art::after{background:linear-gradient(90deg,#1a141ef0 0%,#1a141e85 43%,#1a141e0a 80%),linear-gradient(0deg,#1a141e 0%,#1a141e22 43%,transparent 100%)}
.advanced-card-head{border-bottom:0;padding-bottom:16px;font-size:11px}
.advanced-state{background:#100d0c66;backdrop-filter:blur(8px)}
.advanced-card-title{margin-top:20px;font-size:27px}
.advanced-card-intro{margin-top:45px;font-size:14px}
.advanced-card-tags{margin-top:18px}



.friends-hero{padding:27px 24px 29px;background:#100d0c;border-bottom:1px solid #49382f;text-align:center}
.friends-hero::before{display:none}
.friends-eyeline{justify-content:center;font-size:11px;color:#d2b9ac;font-weight:600}
.friends-eyeline span{width:19px;height:1px;background:#c16b4a}
.friends-visual{position:relative;width:calc(100% + 48px);height:208px;margin:18px -24px 0;overflow:hidden}
.friends-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.friends-visual::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#100d0c 0%,transparent 18%,transparent 77%,#100d0c 100%)}
.friends-hero h1{margin:15px auto 16px;font-size:clamp(31px,8.8vw,38px);letter-spacing:-.04em;line-height:1.3}
.friends-hero p{margin:0 auto;font-size:14px;line-height:1.85;color:#d5c9c2;max-width:342px}
.friends-hero .friends-action{margin-top:23px}
.friends-hero .friends-action .button-primary{background:#a54d31;border-color:#b36b4d;color:#fff}
.friends-hero .friends-member{background:#221821b3;border-color:#5d465d;border-radius:10px;padding:17px;text-align:left}
.friends-hero .friends-member p{font-size:13px;line-height:1.8;margin-top:7px;margin-bottom:16px;color:#ccbfc9}
.friends-hero .friends-member strong{font-size:14px;font-weight:650}
.friends-benefits{padding:29px 24px 30px;background:#141015}
.friends-section-label{color:#c5a5ba;font-size:10px;letter-spacing:.1em}
.friends-section-label span{font-size:10px;color:#a69ba3}
.friends-benefits h2{margin-top:13px;margin-bottom:19px;font-size:23px}
.friends-benefit{grid-template-columns:28px minmax(0,1fr);gap:14px;padding:19px 0;border-color:#463647}
.friends-benefit>span{font-size:12px;color:#c18f76;padding-top:3px;letter-spacing:.07em;font-weight:600}
.friends-benefit strong{font-size:15px}
.friends-benefit p{font-size:13px;color:#bdaeB9;margin-top:6px}
.friends-consult{margin-top:24px;padding-top:24px;border-color:#463647}
.friends-consult p{font-size:12px;color:#b9adb8}
.friends-consult .button-outline{border-color:#70516b;background:#21172366}
.friends-foot{padding-top:20px;padding-bottom:25px;font-size:11px;background:#100d12}
@media(max-width:360px){.friends-hero{padding-left:20px;padding-right:20px}.friends-visual{width:calc(100% + 40px);margin-left:-20px;margin-right:-20px;height:185px}.friends-hero h1{font-size:30px}}


.hero-image-preview .section-copy{font-size:14px;line-height:1.85;color:#d5c9c2}
.friends-hero>.section-copy{margin:0 auto;font-size:14px;line-height:1.85;color:#d5c9c2;max-width:342px}
.friends-hero .friends-member .section-copy{font-size:13px;line-height:1.8;margin:7px 0 16px;color:#ccbfc9}

/* Compact platform introduction, shared by guests and members. */
.friends-platform{margin-top:25px;padding:21px 19px 20px;border:1px solid #594453;border-radius:12px;background:linear-gradient(135deg,#2c202c66,#191419 68%);overflow-wrap:anywhere}
.friends-platform-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#d3bacb;font-size:11px;line-height:1.5}
.friends-platform-heading>span:first-child{display:flex;align-items:center;gap:8px}
.friends-platform-heading>span:first-child::before{content:"";width:2px;height:11px;border-radius:2px;background:#c18f76;flex:none}
.friends-platform-heading>span:last-child{color:#b9a395;font-size:10px;white-space:nowrap}
.friends-benefits .friends-platform-title{margin:17px 0 12px;font-size:22px;line-height:1.45;letter-spacing:-.025em;font-weight:600;color:#f5edf2}
.friends-platform-copy{margin:0;color:#c3b3bf;font-size:13px;line-height:1.9}
.friends-platform-tags{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0;padding:16px 0 0;border-top:1px solid #4b3946;list-style:none}
.friends-platform-tags li{padding:5px 8px;border:1px solid #5c4655;border-radius:5px;color:#d8c5d1;background:#34253355;font-size:10px;line-height:1.6}
@media(max-width:360px){.friends-platform{padding:19px 16px}.friends-benefits .friends-platform-title{font-size:21px}.friends-platform-tags{gap:7px}}

/* Platform introduction: the whole summary is a native, keyboard-accessible link. */
a.friends-platform{display:block;color:inherit;text-decoration:none}
a.friends-platform:focus-visible{outline:2px solid #d3a382;outline-offset:4px}
.friends-platform-more{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:18px;padding-top:15px;border-top:1px solid #4b3946;color:#ead8e3;font-size:12px;font-weight:600}
.friends-platform-more span{font-size:18px;line-height:1}
@media(hover:hover){a.friends-platform:hover{border-color:#9c728d;background:linear-gradient(135deg,#38263a88,#1d161e 68%)}}
.platform-detail{background:#141015}
.platform-detail-hero{padding:20px 24px 30px;background:#100d0c;border-bottom:1px solid #49382f}
.platform-detail-hero .back-link{font-size:12px;color:#b9a99f;min-height:28px;display:inline-flex;align-items:center}
.platform-detail-art{position:relative;height:160px;margin:8px -24px 19px;overflow:hidden}
.platform-detail-art img{display:block;width:100%;height:100%;object-fit:cover}
.platform-detail-art::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#100d0c,transparent 25%,transparent 70%,#100d0c)}
.platform-detail-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#d3bacb;font-size:11px}
.platform-detail-brand>span:last-child{color:#b9a395;font-size:10px;white-space:nowrap}
.platform-detail-hero h1{font-size:clamp(25px,7.1vw,31px);line-height:1.4;letter-spacing:-.035em;margin:15px 0 17px;color:#f5edf2;font-weight:650}
.platform-detail-intro p,.platform-offering p,.platform-detail-join p,.platform-detail-faq details p{margin:0;color:#c7b8c1;font-size:14px;line-height:1.9;overflow-wrap:anywhere}
.platform-detail-intro p+p,.platform-offering p+p,.platform-detail-join p+p,.platform-detail-faq details p+p{margin-top:12px}
.platform-detail-offerings,.platform-detail-join,.platform-detail-faq{padding:29px 24px}
.platform-detail h2{margin:0;color:#f5edf2;font-size:23px;line-height:1.4;letter-spacing:-.025em}
.platform-detail-lead{margin:9px 0 0;color:#af9faa;font-size:13px;line-height:1.8}
.platform-offering{display:grid;grid-template-columns:24px minmax(0,1fr);gap:13px;padding:24px 0;border-bottom:1px solid #453443}
.platform-offering:last-child{padding-bottom:0;border:0}
.platform-offering>svg{width:23px;height:23px;margin-top:1px;fill:none;stroke:#c99b83;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.platform-offering h3{margin:0 0 10px;font-size:17px;line-height:1.5;font-weight:600;color:#eee1e9}
.platform-offering p{font-size:13px}
.platform-offering-tags{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:13px;color:#bfa8b9;font-size:11px;line-height:1.7}
.platform-detail-join{background:#241b25;border-top:1px solid #544050;border-bottom:1px solid #544050}
.platform-detail-join h2{margin-bottom:15px}
.platform-detail-join .button-primary{margin-top:22px;background:#a54d31;border-color:#b36b4d}
.platform-detail-return{display:flex;gap:9px;align-items:center;justify-content:center;min-height:44px;margin-top:7px;color:#d1bacc;font-size:12px;text-decoration:none}
.platform-detail-return:focus-visible,.platform-detail .back-link:focus-visible{outline:2px solid #d3a382;outline-offset:3px}
.platform-detail-faq h2{margin-bottom:14px}
.platform-detail-faq details{border-bottom:1px solid #453443}
.platform-detail-faq summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:15px 0;list-style:none;color:#e5d4df;font-size:14px;line-height:1.6;cursor:pointer}
.platform-detail-faq summary::-webkit-details-marker{display:none}
.platform-detail-faq summary::after{content:"+";flex:none;color:#c7a9bd;font-size:22px;font-weight:300;line-height:1;transform-origin:center}
.platform-detail-faq details[open] summary::after{transform:rotate(45deg)}
.platform-detail-faq summary:focus-visible{outline:2px solid #d3a382;outline-offset:3px}
.platform-detail-faq details>div{padding:0 0 20px}
.platform-detail-faq details p{font-size:13px}
.platform-detail-support{margin-top:28px;text-align:center}
.platform-detail-support p{margin:0 0 16px;color:#b9adb8;font-size:12px;line-height:1.8}
.platform-detail-support .button-outline{background:#21172366;border-color:#70516b}
@media(max-width:360px){.platform-detail-hero,.platform-detail-offerings,.platform-detail-join,.platform-detail-faq{padding-left:20px;padding-right:20px}.platform-detail-art{margin-left:-20px;margin-right:-20px;height:140px}.platform-offering{grid-template-columns:21px minmax(0,1fr);gap:11px}.platform-offering h3{font-size:16px}.platform-detail-hero h1{font-size:25px}}
