:root {
  --page: #e8e5de;
  --paper: #fdf6f0;
  --white: #fffdfb;
  --ink: #2c2622;
  --muted: #75685f;
  --soft: #9a8c7e;
  --coral: #e57b5f;
  --coral-deep: #c95d45;
  --gold: #e5b354;
  --teal: #2aa497;
  --sage: #86a27f;
  --line: #ecddcf;
  --shadow: 0 18px 45px rgba(62, 45, 34, .09);
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.brand-page { background: var(--page); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(229, 123, 95, .42); outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 9px 14px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.brand-header { position: sticky; top: 0; z-index: 30; width: min(100%, 960px); margin: 0 auto; border-bottom: 1px solid #efe4d8; background: rgba(253, 246, 240, .96); backdrop-filter: blur(14px); }
.brand-header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 26px; padding: 0 24px; }
.brand-logo { display: flex; flex: 0 0 auto; align-items: center; gap: 11px; }
.brand-logo-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: var(--coral); color: #fff; font-size: 15px; font-weight: 850; }
.brand-logo > span:last-child { display: flex; flex-direction: column; }
.brand-logo strong { font-size: 14px; letter-spacing: .03em; line-height: 1.2; }
.brand-logo small { margin-top: 2px; color: var(--soft); font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.brand-nav { display: flex; align-items: center; gap: 27px; color: #675b53; font-size: 12px; font-weight: 700; }
.brand-nav a { padding: 27px 0; }
.brand-nav a:hover { color: var(--coral-deep); }
.brand-cta, .brand-secondary { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 24px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.brand-cta { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(229, 123, 95, .22); }
.brand-cta:hover { background: #ea856a; transform: translateY(-1px); }
.brand-cta.small, .brand-secondary.small { min-height: 39px; padding: 0 18px; font-size: 11px; }
.brand-secondary { border: 1px solid #ddcfc1; background: var(--white); }

.brand-main { width: min(100%, 960px); margin: 0 auto; overflow: hidden; background: var(--paper); }
.home-hero { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 36px; min-height: 510px; padding: 54px 40px 58px; }
.soft-label { display: inline-flex; min-height: 29px; align-items: center; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .7); color: var(--coral-deep); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.home-hero h1 { margin: 20px 0 0; font-size: clamp(39px, 5vw, 53px); line-height: 1.13; letter-spacing: -.045em; }
.home-hero h1 span { color: var(--coral); }
.home-hero-copy > p { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.home-hero-visual { position: relative; }
.home-hero-visual > img { width: 100%; aspect-ratio: 1.08; border-radius: 27px; object-fit: cover; box-shadow: var(--shadow); }
.visual-chip { position: absolute; padding: 8px 12px; border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(60, 43, 32, .12); font-size: 10px; font-weight: 800; }
.chip-one { top: -12px; left: -10px; color: var(--coral-deep); }
.chip-two { top: 18%; right: -12px; color: #ad7927; }
.chip-three { bottom: -12px; left: 9%; color: #177d74; }
.chip-four { right: -5px; bottom: 11%; color: #627c5c; }

.dimensions-section { padding: 60px 36px 66px; border-top: 1px solid rgba(236, 221, 207, .62); background: #fffaf6; }
.section-title { max-width: 620px; margin: 0 auto 34px; text-align: center; }
.section-title > span, .principles-section > div:first-child > span { color: #b69e89; font-size: 9px; font-weight: 850; letter-spacing: .2em; }
.section-title h2 { margin: 8px 0 0; font-size: clamp(26px, 3.5vw, 34px); line-height: 1.25; }
.section-title p { margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.dimension-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dimension-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 11px; background: #fffdfb; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.dimension-card:hover { transform: translateY(-4px); border-color: #e3b39f; box-shadow: 0 13px 30px rgba(60, 43, 32, .08); }
.dimension-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 10px; }
.dimension-icon img { width: 25px; height: 25px; }
.dimension-icon.coral { background: var(--coral); }.dimension-icon.gold { background: var(--gold); }.dimension-icon.teal { background: var(--teal); }.dimension-icon.sage { background: var(--sage); }
.dimension-card h3 { margin: 17px 0 0; font-size: 16px; }
.dimension-card p { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.dimension-card b { display: block; margin-top: 12px; color: var(--coral-deep); font-size: 10px; }
.dimension-card .muted-link { color: #b1a397; font-weight: 650; }

.mini-quiz-section { min-height: 360px; padding: 56px 40px; background: #f8eee4; }
.mini-quiz-card { width: min(100%, 560px); min-height: 250px; margin: 0 auto; padding: 28px 30px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow); }
.mini-quiz-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mini-quiz-head span { color: var(--coral-deep); font-size: 11px; font-weight: 850; }
.mini-quiz-head b { color: var(--soft); font-size: 10px; }
.mini-progress { height: 5px; margin-top: 13px; overflow: hidden; border-radius: 99px; background: #f1e6d9; }
.mini-progress i { display: block; height: 100%; border-radius: inherit; background: var(--coral); transition: width .3s ease; }
.mini-question h3 { margin: 27px 0 19px; font-size: 18px; }
.mini-question > div { display: grid; gap: 10px; }
.mini-question button { min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: #fdf9f5; cursor: pointer; text-align: left; font-size: 12px; font-weight: 750; }
.mini-question button:hover { border-color: var(--coral); background: #fff; }
.mini-result { padding: 22px 10px 0; text-align: center; }
.mini-result small { color: var(--soft); }
.mini-result h3 { margin: 7px 0 0; color: var(--coral-deep); font-size: 23px; }
.mini-result p { max-width: 430px; margin: 11px auto 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.mini-result a { display: inline-flex; min-height: 40px; align-items: center; margin-top: 17px; padding: 0 18px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 800; }
.mini-result button { display: block; margin: 11px auto 0; padding: 3px; border: 0; background: transparent; color: var(--soft); cursor: pointer; font-size: 10px; text-decoration: underline; }

.principles-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; padding: 64px 48px; background: #fffaf6; }
.principles-section h2 { margin: 10px 0 0; font-size: 27px; line-height: 1.45; }
.principle-list p { display: flex; gap: 16px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.7; }
.principle-list b { color: var(--coral-deep); font-size: 9px; }
.home-bottom-cta { padding: 58px 32px; background: var(--coral); color: #fff; text-align: center; }
.home-bottom-cta h2 { margin: 0; font-size: 28px; }.home-bottom-cta p { margin: 10px 0 0; color: #ffe9e2; font-size: 12px; }
.home-bottom-cta a { display: inline-flex; min-height: 43px; align-items: center; margin-top: 23px; padding: 0 23px; border-radius: 999px; background: #fff; color: var(--coral-deep); font-size: 12px; font-weight: 850; }
.brand-footer { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 24px; width: min(100%, 960px); margin: 0 auto; padding: 34px 40px; background: #fffaf6; color: var(--soft); font-size: 9px; line-height: 1.8; }
.brand-footer > div { display: flex; flex-direction: column; align-items: flex-start; }.brand-footer strong { color: var(--ink); font-size: 12px; }.brand-footer a:hover { color: var(--coral-deep); }

/* Personality catalog */
.subpage-main, .enneagram-main { padding-bottom: 64px; }
.breadcrumb { display: flex; align-items: center; gap: 7px; padding: 25px 40px 0; color: var(--soft); font-size: 10px; }
.breadcrumb a:hover { color: var(--coral-deep); }.breadcrumb strong { color: #685b52; }
.subpage-hero { padding: 64px 40px 49px; text-align: center; }
.subpage-hero h1 { margin: 18px 0 0; font-size: clamp(42px, 7vw, 66px); line-height: 1; }
.subpage-hero p { max-width: 600px; margin: 20px auto 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.test-catalog { display: grid; grid-template-columns: 1.12fr .88fr; gap: 16px; padding: 0 40px; }
.test-card { padding: 28px; border: 1px solid var(--line); border-radius: 19px; background: #fffdfb; }
.test-card.featured { grid-row: span 2; box-shadow: var(--shadow); }
.test-card.featured:hover { transform: translateY(-3px); border-color: #e2ad98; }
.test-card-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.test-card-top em { color: var(--soft); font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .08em; }
.test-card h2 { margin: 23px 0 0; font-size: 24px; line-height: 1.35; }.test-card > p { color: var(--muted); font-size: 11px; line-height: 1.8; }
.test-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; padding: 0; list-style: none; }
.test-card li { padding: 7px 10px; border-radius: 999px; background: #faeee5; color: #785b4e; font-size: 9px; font-weight: 700; }
.test-card > b { display: block; margin-top: 25px; color: var(--coral-deep); font-size: 11px; }.test-card.muted { background: rgba(255, 253, 251, .58); }.test-card.muted > b { color: #aa9c90; }
.catalog-note { margin: 28px 40px 0; padding: 19px 22px; border-left: 3px solid var(--gold); background: #f7eddf; }
.catalog-note strong { font-size: 11px; }.catalog-note p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.8; }

/* Growth courses */
.brand-nav a[aria-current="page"] { color: var(--coral-deep); }
.course-hero { padding: 66px 40px 55px; border-bottom: 1px solid var(--line); background: linear-gradient(145deg, #fffaf6 0%, #f7eadf 100%); text-align: center; }
.course-hero h1 { margin: 20px 0 0; font-size: clamp(38px, 6vw, 58px); line-height: 1.17; letter-spacing: -.045em; }
.course-hero p { max-width: 660px; margin: 20px auto 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.course-category { padding: 58px 40px 48px; background: #fffaf6; }
.course-category-head { display: grid; grid-template-columns: .75fr 1.25fr; align-items: end; gap: 54px; margin-bottom: 28px; }
.course-category-head span { color: #b69e89; font-size: 9px; font-weight: 850; letter-spacing: .2em; }
.course-category-head h2 { margin: 8px 0 0; font-size: 32px; }
.course-category-head p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.learning-product-card { display: grid; grid-template-columns: .88fr 1.12fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.learning-product-card:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(62, 45, 34, .13); }
.learning-product-visual { position: relative; display: grid; min-height: 350px; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 43%, #fff7c8 0 20%, transparent 21%), linear-gradient(145deg, #d8f4df, #f1e9ff); }
.learning-product-visual::before, .learning-product-visual::after { position: absolute; border-radius: 50%; content: ""; }
.learning-product-visual::before { width: 210px; height: 210px; border: 1px dashed rgba(64, 115, 77, .24); }
.learning-product-visual::after { right: -46px; bottom: -65px; width: 180px; height: 180px; background: rgba(255, 255, 255, .42); }
.turtle-shell { position: relative; z-index: 2; font-size: 86px; filter: drop-shadow(0 13px 18px rgba(61, 90, 65, .18)); transform: rotate(-4deg); }
.word-chip { position: absolute; z-index: 3; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .9); box-shadow: 0 8px 24px rgba(58, 78, 60, .12); color: #4d6b53; font-size: 9px; font-weight: 850; letter-spacing: .03em; }
.word-chip-one { top: 18%; left: 11%; }.word-chip-two { top: 27%; right: 9%; color: #765eb9; }.word-chip-three { bottom: 18%; left: 18%; color: #b16c37; }
.learning-product-copy { display: flex; flex-direction: column; justify-content: center; padding: 44px; }
.course-status { align-self: flex-start; padding: 7px 11px; border-radius: 999px; background: #edf7ec; color: #5e825e; font-size: 9px; font-weight: 850; }
.learning-product-copy h3 { margin: 18px 0 0; font-size: 31px; }
.learning-product-copy > p { margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.85; }
.learning-product-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 15px; margin: 22px 0 0; padding: 0; list-style: none; }
.learning-product-copy li { position: relative; padding-left: 15px; color: #675b53; font-size: 9px; line-height: 1.6; }
.learning-product-copy li::before { position: absolute; top: .6em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); content: ""; }
.learning-product-copy strong { margin-top: 27px; color: var(--coral-deep); font-size: 11px; }
.course-note { margin: 0 40px 14px; padding: 22px 25px; border-left: 3px solid var(--teal); background: #edf5f1; }
.course-note strong { font-size: 11px; }.course-note p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.8; }

/* Enneagram test page */
.enneagram-intro { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 50px; padding: 54px 40px 58px; }
.enneagram-intro h1 { margin: 17px 0 0; font-size: clamp(43px, 6vw, 64px); line-height: 1.13; letter-spacing: -.04em; }
.enneagram-intro p { max-width: 560px; margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.enneagram-intro dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 21px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.enneagram-intro dl div { padding: 0 10px; text-align: center; }.enneagram-intro dl div + div { border-left: 1px solid var(--line); }
.enneagram-intro dt { color: var(--coral-deep); font-size: 20px; font-weight: 850; }.enneagram-intro dd { margin: 5px 0 0; color: var(--soft); font-size: 9px; }
.quiz-light-section { display: grid; grid-template-columns: .37fr .63fr; min-height: 630px; margin: 0 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.quiz-light-aside { padding: 48px 30px; background: #f3e5d8; }
.quiz-light-aside > span { color: var(--coral-deep); font-size: 9px; font-weight: 850; letter-spacing: .17em; }
.quiz-light-aside h2 { margin: 17px 0 0; font-size: 27px; line-height: 1.35; }.quiz-light-aside p { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.85; }
.quiz-light-aside ul { margin: 31px 0 0; padding: 0; list-style: none; }.quiz-light-aside li { padding: 11px 0; border-bottom: 1px solid rgba(117, 104, 95, .16); color: #6a5c53; font-size: 10px; }
.quiz-shell { min-width: 0; padding: 44px 38px; background: #fff; }
.quiz-welcome { display: flex; min-height: 535px; flex-direction: column; justify-content: center; }
.quiz-mini-label, .question-no, .result-badge { color: var(--coral-deep); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.quiz-welcome h3 { margin: 16px 0 0; font-size: clamp(27px, 3.5vw, 39px); line-height: 1.38; }.quiz-welcome > p { margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.85; }
.scale-demo { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 28px; }.scale-demo span { display: grid; min-height: 47px; place-items: center; padding: 4px; border: 1px solid var(--line); border-radius: 8px; color: var(--soft); font-size: 8px; text-align: center; }
.consent-row { display: flex; align-items: flex-start; gap: 9px; margin-top: 24px; color: var(--muted); cursor: pointer; font-size: 9px; line-height: 1.7; }.consent-row input { width: 16px; height: 16px; margin: 0; accent-color: var(--coral); }
.quiz-start-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.quiz-button { min-height: 43px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--coral); color: #fff; cursor: pointer; font-size: 10px; font-weight: 850; }.quiz-button:disabled { cursor: not-allowed; opacity: .4; }.quiz-button.secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.quiz-progress-head { display: flex; align-items: end; justify-content: space-between; }.quiz-progress-head p { margin: 0; color: var(--soft); font-size: 9px; }.quiz-progress-head strong { color: var(--coral-deep); font-size: 17px; }
.quiz-progress { height: 5px; margin-top: 10px; overflow: hidden; border-radius: 99px; background: #f1e6d9; }.quiz-progress i { display: block; height: 100%; border-radius: inherit; background: var(--coral); transition: width .3s ease; }
.question-card { display: flex; min-height: 485px; flex-direction: column; justify-content: center; }.question-card h3 { margin: 17px 0 0; font-size: clamp(23px, 3.1vw, 34px); line-height: 1.5; }.question-hint { margin: 11px 0 0; color: var(--soft); font-size: 9px; }
.answer-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-top: 28px; }.scale-option { min-width: 0; min-height: 76px; padding: 9px 3px; border: 1px solid var(--line); border-radius: 10px; background: #fdf9f5; cursor: pointer; }.scale-option span { display: grid; width: 26px; height: 26px; margin: 0 auto; place-items: center; border-radius: 50%; background: #f0e5da; font-size: 9px; font-weight: 800; }.scale-option small { display: block; margin-top: 7px; color: var(--soft); font-size: 7px; }.scale-option.selected { border-color: var(--coral); background: #fff3ec; }.scale-option.selected span { background: var(--coral); color: #fff; }
.question-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 17px; }.back-button { border: 0; background: transparent; color: var(--soft); cursor: pointer; font-size: 9px; font-weight: 750; }
.result-view { padding-bottom: 10px; }.result-hero { padding: 30px; border-radius: 17px; background: #f4e6da; }.result-hero h3 { margin: 10px 0 0; font-size: clamp(29px, 4vw, 42px); }.result-tagline { margin: 9px 0 0; color: var(--coral-deep); font-size: 11px; font-weight: 700; }.result-summary { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid #e4cfc1; color: var(--muted); font-size: 11px; line-height: 1.8; }
.close-result-note { padding: 12px; border-left: 3px solid var(--gold); background: #faf1e7; color: var(--muted); font-size: 9px; line-height: 1.7; }.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }.result-panel { padding: 17px; border: 1px solid var(--line); border-radius: 12px; }.result-panel h4 { margin: 0 0 10px; font-size: 14px; }.result-panel p, .result-panel li { color: var(--muted); font-size: 9px; line-height: 1.7; }.result-panel ul { margin: 0; padding-left: 16px; }.score-panel { grid-column: 1 / -1; }.score-row { display: grid; grid-template-columns: 75px 1fr 25px; align-items: center; gap: 8px; margin-top: 7px; }.score-row span, .score-row b { color: var(--soft); font-size: 8px; }.score-bar { height: 5px; overflow: hidden; border-radius: 99px; background: #eee4da; }.score-bar i { display: block; height: 100%; background: #a7b7a2; }.score-row.top .score-bar i { background: var(--coral); }
.unlock-card { margin-top: 12px; padding: 22px; border-radius: 14px; background: #efbc68; }.unlock-top { display: flex; align-items: center; justify-content: space-between; }.unlock-top span { font-size: 8px; font-weight: 850; letter-spacing: .12em; }.unlock-top strong { font-size: 22px; }.unlock-card h4 { margin: 11px 0 0; font-size: 17px; }.unlock-card > p { color: #6f523a; font-size: 9px; line-height: 1.7; }.unlock-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }.unlock-button { min-height: 39px; padding: 0 18px; border: 0; border-radius: 999px; background: #5b483a; color: #fff; cursor: pointer; font-size: 9px; font-weight: 850; }.pay-message { margin: 0; color: #724b2d; font-size: 8px; font-weight: 750; }.result-utilities { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }.result-utilities button { min-height: 32px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--soft); cursor: pointer; font-size: 8px; }

@media (max-width: 760px) {
  .brand-header-inner { min-height: 66px; padding: 0 16px; }.brand-nav { display: none; }.brand-logo strong { font-size: 13px; }
  .home-hero { grid-template-columns: 1fr; padding: 48px 20px; }.home-hero-visual { margin-top: 8px; }.home-hero-visual > img { aspect-ratio: 1.35; }
  .dimensions-section { padding: 52px 20px; }.dimension-grid { grid-template-columns: 1fr 1fr; }
  .mini-quiz-section { padding: 42px 16px; }.mini-quiz-card { padding: 24px 20px; }
  .principles-section { grid-template-columns: 1fr; gap: 25px; padding: 50px 22px; }.brand-footer { grid-template-columns: 1fr; padding: 32px 22px; }
  .breadcrumb { padding-inline: 20px; }.subpage-hero { padding: 52px 20px 38px; }.test-catalog { grid-template-columns: 1fr; padding: 0 20px; }.test-card.featured { grid-row: auto; }.catalog-note { margin-inline: 20px; }
  .course-hero { padding: 52px 20px 44px; }.course-category { padding: 46px 20px 36px; }.course-category-head { grid-template-columns: 1fr; gap: 15px; }.learning-product-card { grid-template-columns: 1fr; }.learning-product-visual { min-height: 260px; }.learning-product-copy { padding: 32px 25px; }.course-note { margin-inline: 20px; }
  .enneagram-intro { grid-template-columns: 1fr; gap: 28px; padding: 45px 20px; }.quiz-light-section { grid-template-columns: 1fr; margin: 0 12px; }.quiz-light-aside { padding: 34px 24px; }.quiz-light-aside ul { display: none; }.quiz-shell { padding: 34px 18px; }.quiz-welcome { min-height: 520px; }
  .result-grid { grid-template-columns: 1fr; }.score-panel { grid-column: auto; }.answer-scale { gap: 4px; }.scale-option small { font-size: 6px; }
}

@media (max-width: 420px) {
  .brand-header .brand-cta.small { padding: 0 13px; }.dimension-grid { grid-template-columns: 1fr; }.visual-chip { display: none; }
  .learning-product-copy ul { grid-template-columns: 1fr; }.learning-product-visual { min-height: 230px; }.turtle-shell { font-size: 72px; }
  .hero-actions { flex-direction: column; align-items: stretch; }.enneagram-intro dl { padding-inline: 0; }.quiz-light-section { margin-inline: 0; border-radius: 0; }.quiz-shell { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Unified account */
.auth-main { min-height: calc(100vh - 72px); padding: 58px 40px 72px; }
.auth-card { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 550px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.auth-visual { display: flex; flex-direction: column; justify-content: center; padding: 48px; background: radial-gradient(circle at 30% 22%, rgba(255,255,255,.8), transparent 32%), linear-gradient(145deg, #d8f4df, #f1e9ff); }
.auth-visual > span { font-size: 82px; filter: drop-shadow(0 13px 18px rgba(61, 90, 65, .16)); }
.auth-visual strong { max-width: 300px; margin-top: 27px; font-size: 26px; line-height: 1.4; }
.auth-visual p { max-width: 310px; margin: 13px 0 0; color: #627267; font-size: 11px; line-height: 1.9; }
.auth-form-wrap { align-self: center; padding: 48px 56px; }
.auth-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: #f5ece4; }
.auth-tabs button { min-width: 72px; min-height: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--soft); cursor: pointer; font-size: 10px; font-weight: 800; }
.auth-tabs button.active { background: #fff; color: var(--coral-deep); box-shadow: 0 4px 12px rgba(75, 53, 41, .09); }
.auth-form-wrap h1 { margin: 25px 0 0; font-size: 34px; }
.auth-form-wrap > p { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.auth-form-wrap form { display: grid; gap: 17px; margin-top: 28px; }
.auth-form-wrap label { display: grid; gap: 7px; color: #5f534b; font-size: 10px; font-weight: 800; }
.auth-form-wrap label input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; outline: none; background: #fdfaf7; color: var(--ink); font: inherit; font-size: 12px; font-weight: 500; }
.auth-form-wrap label input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(229, 123, 95, .12); }
.auth-form-wrap label small { color: var(--soft); font-size: 8px; font-weight: 500; line-height: 1.6; }
.auth-submit { min-height: 48px; border: 0; border-radius: 999px; background: var(--coral); color: #fff; cursor: pointer; font-size: 11px; font-weight: 850; box-shadow: 0 8px 20px rgba(229, 123, 95, .22); }
.auth-submit:disabled { cursor: wait; opacity: .65; }
.auth-status { min-height: 18px; margin: -6px 0 0 !important; font-size: 9px !important; }
.auth-status.error { color: #b84f3c; }.auth-status.success { color: #438061; }
.auth-privacy { padding-top: 18px; border-top: 1px solid var(--line); color: var(--soft) !important; font-size: 8px !important; }

.account-logout { cursor: pointer; }
.account-main { min-height: calc(100vh - 72px); padding-bottom: 70px; }
.account-loading { min-height: 400px; margin: 0; padding: 90px 30px; color: var(--soft); text-align: center; font-size: 11px; }
.account-loading.error { color: #b84f3c; }
.account-hero { display: flex; align-items: center; gap: 23px; padding: 52px 40px 34px; }
.account-avatar { display: grid; width: 72px; height: 72px; place-items: center; border-radius: 22px; background: var(--coral); color: #fff; font-size: 25px; font-weight: 900; box-shadow: 0 10px 24px rgba(229, 123, 95, .2); }
.account-hero p { margin: 0; color: var(--soft); font-size: 8px; font-weight: 850; letter-spacing: .16em; }
.account-hero h1 { margin: 7px 0 0; font-size: 31px; }.account-hero div > span { display: block; margin-top: 6px; color: var(--soft); font-size: 9px; }
.account-app-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 21px; margin: 0 40px; padding: 27px 30px; border: 1px solid #dbe8db; border-radius: 20px; background: linear-gradient(120deg, #eff8ee, #f7f2ff); }
.account-app-card > div:first-child { font-size: 48px; }.account-app-card span { color: #739078; font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.account-app-card h2 { margin: 5px 0 0; font-size: 21px; }.account-app-card p { margin: 6px 0 0; color: #647269; font-size: 9px; line-height: 1.6; }
.account-app-card > a { display: inline-flex; min-height: 41px; align-items: center; gap: 8px; padding: 0 17px; border-radius: 999px; background: #50815f; color: #fff; font-size: 9px; font-weight: 850; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 40px 0; }
.account-panel { min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.account-panel-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.account-panel-head span { color: var(--soft); font-size: 7px; font-weight: 850; letter-spacing: .15em; }.account-panel-head h2 { margin: 5px 0 0; font-size: 19px; }
.account-panel-head > a { color: var(--coral-deep); font-size: 8px; font-weight: 800; }
.account-list { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.account-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 12px 0; border-top: 1px solid #f0e7df; }
.account-list li > div { display: grid; gap: 5px; min-width: 0; }.account-list strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.account-list span { color: var(--soft); font-size: 8px; line-height: 1.5; }.account-list li > a { flex: 0 0 auto; color: var(--coral-deep); font-size: 8px; font-weight: 800; }
.account-list .account-empty { display: block; color: var(--soft); font-size: 9px; line-height: 1.7; }

@media (max-width: 760px) {
  .auth-main { padding: 24px 14px 48px; }.auth-card { grid-template-columns: 1fr; }.auth-visual { min-height: 220px; padding: 30px; }.auth-visual > span { font-size: 55px; }.auth-visual strong { margin-top: 12px; font-size: 21px; }.auth-form-wrap { padding: 35px 25px 40px; }
  .account-hero { padding-inline: 20px; }.account-app-card { grid-template-columns: auto 1fr; margin-inline: 20px; padding: 22px; }.account-app-card > a { grid-column: 1 / -1; justify-content: center; }.account-grid { grid-template-columns: 1fr; margin-inline: 20px; }
}
