@font-face {
  font-family: "Yuxin Serif";
  src: url("yuxin-serif.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f9fbff;
  --white: #fff;
  --ink: #141827;
  --muted: #535d73;
  --olive: #2154df;
  --olive-deep: #183eaf;
  --sage: #8b9fde;
  --line: #e1e7f1;
  --heading: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --body: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--body); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--heading); font-weight: 700; line-height: 1.14; }
h3 { font-size: clamp(18px, 2.05vw, 24px); line-height: 1.35; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: clamp(58px, 8.4vw, 112px); }
section[id], article[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 2px solid #527eff; outline-offset: 4px; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-180%); background: var(--white); padding: 8px 14px; z-index: 5; }
.skip:focus { transform: translateY(0); }
.eyebrow { color: var(--olive); font-size: 13px; font-weight: 700; letter-spacing: .10em; }

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 20px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: white; background: var(--olive); font: 700 19px/1 var(--heading); }
.site-header nav, .header-actions, .hero-actions { display: flex; align-items: center; }
.site-header nav { gap: clamp(16px, 2.4vw, 36px); }
.site-header nav a, .login-link { font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-header nav a:hover, .login-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-actions { gap: 22px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid var(--olive);
  background: var(--olive);
  color: #fff;
  border-radius: 100px;
  padding: 13px 23px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover { background: var(--olive-deep); }
.button-small { padding: 9px 16px; font-size: 14px; }
.button-outline { color: var(--olive-deep); background: transparent; border-color: #cbd7f3; }
.button-outline:hover { background: #edf2ff; }

.hero { text-align: center; padding-top: clamp(43px, 6.5vw, 93px); }
.hero h1 { font-size: clamp(38px, 6.15vw, 92px); letter-spacing: -.055em; margin: 13px 0 17px; text-wrap: balance; }
.hero h1 em { color: var(--olive); font-style: normal; }
.hero-intro { color: var(--muted); font-size: clamp(15px, 1.45vw, 19px); max-width: 40em; margin: auto; text-wrap: pretty; }
.hero-actions { justify-content: center; flex-wrap: wrap; gap: 11px; margin-top: 23px; }
.hero-note { color: var(--muted); font-size: 12px; margin-top: 9px; }
.product-stage { margin-top: 34px; padding: 0 clamp(16px, 8vw, 116px); position: relative; isolation: isolate; }
.product-stage::before {
  position: absolute;
  content: "";
  z-index: -1;
  inset: 34% 0 0;
  border-radius: 26px;
  background: linear-gradient(112deg,#9ea784,#77825c);
}
.product-window {
  overflow: hidden;
  text-align: left;
  border: 6px solid #282d22;
  border-radius: 22px 22px 18px 18px;
  background: #f9f8f3;
  box-shadow: 0 20px 58px #28301734;
  margin-bottom: 16px;
}
.window-top {
  background: #292e24;
  color: #eeefe6;
  min-height: 40px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  text-align: center;
  font-size: 12px;
  padding: 0 12px;
  gap: 8px;
}
.window-top a { justify-self: end; text-decoration: none; color: #d9e1ce; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; background: #939b88; border-radius: 50%; }
.window-dots i:first-child { background: #c68568; }
.window-inner { display: grid; grid-template-columns: 150px minmax(0,1fr); }
.product-nav { display: grid; align-content: start; gap: 9px; background: #253542; padding: 18px 11px; color: #d9e1e6; font-size: 12px; }
.product-nav > :is(strong,a) { display: block; border-radius: 7px; padding: 7px 9px; text-decoration: none; }
.product-nav strong { color: #fff; background: #3c4f5d; }
.product-nav a:hover { background: #3c4f5d; }
.product-nav a span { float: right; }
.mini-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; padding-inline: 4px; }
.mini-brand > span { display: grid; place-items: center; background: #d58e66; color: #34241b; font-weight: 800; border-radius: 6px; width: 24px; height: 24px; }
.product-content { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: 14px; padding: clamp(14px,2vw,27px); }
.product-main h2 { font: 800 clamp(20px,2.3vw,31px)/1.25 var(--body); margin: 4px 0 10px; letter-spacing: -.05em; }
.preview-label { font-size: 11px; color: #59604e; font-weight: 700; letter-spacing: .06em; }
.mini-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.mini-topics span { padding: 3px 8px; border: 1px solid #d9ddd1; background: #f1f1ea; border-radius: 40px; font-size: 11px; color: #48523d; }
.mini-list { display: grid; gap: 6px; }
.mini-list > * { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 6px; text-decoration: none; color: #27313b; background: #fffefb; border: 1px solid #e1e2da; padding: 7px 9px; border-radius: 7px; }
.mini-list a:hover { border-color: #a5ab94; }
.mini-list > * > span { font-size: 10px; color: #66543e; }
.mini-list strong { grid-row: 2; font-size: clamp(11px,1.13vw,15px); line-height: 1.45; }
.mini-list b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #66543e; }
.mini-daily { display: flex; flex-direction: column; justify-content: center; gap: 9px; background: #e6e8d7; border: 1px solid #d5dac5; border-radius: 9px; padding: clamp(11px,1.5vw,19px); text-decoration: none; }
.mini-daily:hover { background: #dce1cc; }
.mini-daily strong { font: 700 clamp(17px,1.75vw,25px)/1.32 var(--heading); }
.mini-daily span:not(.preview-label) { font-size: 12px; color: #515946; }
.mini-daily b { font-size: 12px; color: var(--olive); }

.section-intro { margin-bottom: clamp(21px,3vw,39px); }
.section-intro h2, .host h2 { margin-top: 8px; font-size: clamp(33px,4.55vw,65px); letter-spacing: -.035em; text-wrap: balance; }
.split-intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: end; }
.split-intro > p { color: var(--muted); max-width: 32em; padding-bottom: 4px; }
.three { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.three article { padding: 20px 0 0; border-top: 1px solid #b7bba5; }
.three p, .benefit-grid p { color: var(--muted); margin-top: 9px; }
.benefits { border-top: 1px solid var(--line); }
.benefit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.benefit-grid article { padding: clamp(16px,2vw,27px); border-radius: 13px; border: 1px solid var(--line); background: var(--white); }
.benefit-grid h3 { margin-top: 10px; }
.benefit-tag { display: inline-block; color: var(--olive); font-weight: 700; font-size: 12px; }
.scope { margin-top: 18px; color: var(--muted); font-size: 14px; }

.samples { background: #e8eadf; border-block: 1px solid #d9dfcd; }
.sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sample-card { background: var(--white); border: 1px solid #d3d7c6; border-radius: 16px; padding: clamp(19px,3vw,38px); }
.sample-daily { background: #f1f2e8; }
.sample-card h3 { margin: 11px 0 10px; font-size: clamp(23px,2.45vw,35px); font-family: var(--heading); }
.sample-card p:not(.eyebrow), .faq details p { color: var(--muted); }
.sample-card details { margin-top: 20px; border-top: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 15px; align-items: center; cursor: pointer; list-style: none; font-weight: 700; color: var(--olive-deep); padding: 13px 0; }
summary::-webkit-details-marker { display: none; }
summary:hover { text-decoration: underline; text-underline-offset: 4px; }
details[open] summary span { transform: rotate(180deg); }
.sample-card blockquote { margin: 2px 0 9px; padding: 10px 15px; background: #e9ede0; border-left: 3px solid var(--sage); }
.sample-card details p + p { margin-top: 7px; }

.host { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(22px,7vw,100px); align-items: center; }
.host-photo { overflow: hidden; background: #deddd2; border-radius: 16px; height: clamp(290px,33vw,470px); }
.host-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 29%; }
.host p:not(.eyebrow) { color: var(--muted); max-width: 32em; margin-top: 17px; }
.join { padding-top: 0; }
.join-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(210px, .45fr); align-items: center; gap: clamp(24px,6vw,90px); border-radius: 22px; background: var(--olive-deep); color: #fffef7; padding: clamp(25px,5.9vw,77px); }
.join-card .eyebrow { color: #dce6c7; }
.join-card h2 { margin: 8px 0 21px; font-size: clamp(25px,3.6vw,50px); }
.join-card h2 .price { font: 700 clamp(52px,7vw,92px)/1 var(--heading); letter-spacing: -.07em; }
.join-card ol { padding-left: 1.25em; margin: 0; }
.join-card li { padding-left: 5px; margin-top: 12px; }
.join-card li strong { font-size: 16px; }
.join-card li p { color: #e6e9da; margin-top: 2px; font-size: 14px; }
.join-contact { text-align: center; }
.join-contact a { display: block; max-width: 229px; margin: auto; }
.join-contact img { width: 100%; border-radius: 12px; }
.join-contact p { font-size: 12px; color: #e6e9da; margin-top: 11px; }

.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 25px; padding-top: 0; }
.faq details { border-top: 1px solid var(--line); padding-block: 4px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq details p { padding-bottom: 14px; }
.site-footer { display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-block: 22px 36px; }
.site-footer > span { color: var(--muted); font-size: 13px; }
.site-footer > a:last-child { margin-left: auto; color: var(--olive); font-size: 14px; font-weight: 700; }

@media (max-width: 920px) {
  .wrap { width: calc(100% - 56px); }
  .site-header { gap: 14px; }
  .site-header nav { gap: 13px; }
  .header-actions { gap: 12px; }
  .benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 710px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { height: auto; min-height: 60px; flex-wrap: wrap; row-gap: 0; padding-block: 10px 6px; }
  .site-header nav { order: 3; flex-basis: 100%; justify-content: space-between; gap: 7px; padding-top: 8px; }
  .site-header nav a, .login-link { font-size: 12px; }
  .brand { font-size: 17px; gap: 7px; }
  .brand-mark { width: 27px; height: 27px; font-size: 16px; }
  .button-small { padding: 7px 11px; font-size: 12px; gap: 4px; }
  .hero-intro { max-width: 27em; }
  .product-stage { padding: 0 8px; margin-top: 24px; }
  .product-window { border-width: 4px; border-radius: 14px; margin-bottom: 8px; }
  .window-top { min-height: 32px; font-size: 10px; }
  .window-inner { grid-template-columns: 1fr; }
  .product-nav { display: none; }
  .product-content { padding: 11px; }
  .split-intro, .host { grid-template-columns: 1fr; gap: 14px; }
  .three { grid-template-columns: 1fr; gap: 14px; }
  .three article { padding-top: 12px; }
  .three p, .benefit-grid p { margin-top: 6px; }
  .sample-grid, .faq { grid-template-columns: 1fr; gap: 10px; }
  .host { gap: 24px; }
  .host-photo { height: 320px; }
  .join-card { grid-template-columns: 1fr; }
  .faq .section-intro { margin-bottom: 8px; }
}
@media (max-width: 460px) {
  .hero h1 em { display: inline-block; }
  .hero-actions .button { padding-inline: 14px; }
  .product-content { grid-template-columns: 1fr; gap: 8px; }
  .mini-daily { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 8px; }
  .mini-daily strong { grid-column: 1; font-size: 17px; }
  .mini-daily strong br, .mini-daily > span:not(.preview-label) { display: none; }
  .mini-daily b { grid-column: 2; grid-row: 1 / span 2; max-width: 58px; text-align: right; }
  .benefit-grid { grid-template-columns: 1fr; }
  .site-footer { gap: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Official homepage, product information and invitation entry. */
.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  align-items: center;
  gap: clamp(28px, 6vw, 100px);
  padding-block: clamp(42px, 7vw, 103px);
}
.portal-hero h1 { font-size: clamp(52px, 8.3vw, 112px); letter-spacing: -.055em; }
.portal-hero h1 span { display: block; color: var(--olive); font-size: .54em; margin-top: 10px; }
.portal-hero > div > p { color: var(--muted); max-width: 32em; margin-top: 19px; }
.portal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.portal-hero-panel { padding: clamp(18px, 2.9vw, 38px); background: #e9efff; border-radius: 20px; border: 1px solid #d9e3f8; }
.portal-hero-panel strong { font-size: 22px; }
.portal-hero-panel > p { margin: 0 0 12px; font-size: 14px; }
.portal-hero-panel a { display: flex; justify-content: space-between; padding: 9px 0; font-size: 15px; text-decoration: none; border-top: 1px solid #d9e3f8; }
.portal-hero-panel a:hover { color: var(--olive); text-decoration: underline; text-underline-offset: 4px; }
.portal-section { border-top: 1px solid var(--line); }
.portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.portal-tile { display: block; position: relative; border: 1px solid var(--line); background: var(--white); border-radius: 14px; text-decoration: none; padding: clamp(16px, 2.2vw, 29px); }
a.portal-tile:hover { border-color: var(--sage); background: #edf2ff; }
.portal-tile h3, .portal-tile h2 { font-size: clamp(18px, 2vw, 26px); padding-right: 18px; }
.portal-tile p { color: var(--muted); margin-top: 8px; }
.portal-access { display: inline-block; color: var(--olive); font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.portal-tile-arrow { position: absolute; top: 19px; right: 19px; color: var(--olive); }
.portal-feature { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: clamp(17px, 3.2vw, 42px); border-radius: 17px; background: #e9efff; text-decoration: none; }
.portal-feature:hover { background: #dfe7ff; }
.portal-feature h3 { margin: 8px 0; font-size: clamp(23px, 3vw, 42px); font-family: var(--heading); }
.portal-feature p:not(.eyebrow), .coaching-note p { color: var(--muted); }
.portal-feature > span { text-align: right; white-space: nowrap; }
.portal-feature b { font: 700 clamp(26px, 4.2vw, 52px)/1.15 var(--heading); }
.portal-feature small { display: block; color: var(--olive); font-weight: 700; }
.help-section { padding-block: 13px 27px; }
.join-help { display: flex; gap: 20px; align-items: center; padding: 6px 0 15px; }
.join-help p + p { margin-top: 10px; }
.join-help a { flex: 0 0 min(160px, 29%); }
.join-help img { border-radius: 8px; border: 1px solid var(--line); }
.invite-page { display: grid; place-items: start center; padding-top: clamp(48px, 8vw, 112px); }
.invite-card { width: min(100%, 490px); display: grid; gap: 13px; padding: clamp(20px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: 17px; }
.invite-card h1, .coaching-page h1 { font-size: clamp(35px, 5.2vw, 68px); }
.invite-card p { color: var(--muted); }
.invite-card label { margin-top: 6px; font-weight: 700; }
.invite-card input[type=password] { width: 100%; padding: 10px 13px; min-height: 46px; background: #f4f7ff; border: 1px solid #c3d0ef; border-radius: 8px; font: inherit; }
.invite-card .button { cursor: pointer; justify-self: start; }
.invite-card .invite-error { color: #8a332b; }
.coaching-page > section > p:not(.eyebrow) { max-width: 48em; margin-top: 12px; }
.coaching-page .coaching-price { color: var(--olive); font-size: 20px; font-weight: 700; }
.coaching-note .button { margin-top: 14px; }

.portal-hero > div > .hero-description { font-size: clamp(16px, 1.8vw, 20px); }
.skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.skill-grid .portal-tile { min-height: 117px; }
.portal-text-link { display: inline-block; margin-top: 19px; color: var(--olive); font-weight: 700; text-underline-offset: 5px; }
.portal-rows { border-top: 1px solid var(--line); }
.portal-row { display: grid; align-items: baseline; gap: 14px; padding: 17px 7px; border-bottom: 1px solid var(--line); text-decoration: none; }
.portal-row h3, .portal-row h2 { font: 700 clamp(16px, 2vw, 20px)/1.4 var(--body); }
.portal-row p { color: var(--muted); font-size: 15px; }
.resource-row { grid-template-columns: minmax(165px, .75fr) 1.25fr; }
.update-row { grid-template-columns: minmax(4em, auto) 1fr auto; }
.update-row:hover { background: #edf2ff; }
.update-row time, .updates-page article time { color: var(--olive); font-variant-numeric: tabular-nums; font-size: 14px; }
.update-row div > p { margin-top: 3px; }
.highlights-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 60px); padding: clamp(18px, 4vw, 46px); background: #e9efff; border: 1px solid #d9e3f8; border-radius: 20px; }
.highlights-panel p { margin-top: 8px; color: var(--muted); }
.highlights-panel .button { margin-top: 20px; }
.topic-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 15px; }
.topic-links a { display: flex; justify-content: space-between; gap: 5px; padding: 9px 0; border-bottom: 1px solid #d9e3f8; text-decoration: none; font-size: 14px; }
.topic-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rights-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 24px; }
.rights-summary > div { padding-top: 12px; border-top: 1px solid var(--sage); }
.rights-summary dt { font-weight: 700; }
.rights-summary dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.join-steps { padding-left: 1.45em; }
.join-steps li + li { margin-top: 8px; }
.join-contact { max-width: 650px; }
.join-contact summary { color: var(--olive); font-weight: 700; cursor: pointer; }
.updates-page h1 { font-size: clamp(36px, 6vw, 74px); }
.updates-page article { max-width: 750px; margin-inline: auto; }
.updates-page article time { display: block; margin-block: 24px 8px; }
.updates-page article .portal-text-link { margin-top: 0; }
.notice-summary { margin-block: 16px 22px; color: var(--muted); font-size: clamp(16px, 2vw, 20px); }
.share-box { display: grid; justify-items: start; gap: 10px; margin-top: 38px; padding: clamp(14px, 3vw, 30px); background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.share-box label { font-weight: 700; }
.share-box textarea { display: block; width: 100%; resize: vertical; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; }
.share-box button { cursor: pointer; }
.share-box button[hidden] { display: none; }
.update-pages { display: flex; justify-content: center; gap: 20px; margin-top: 21px; }

@media (max-width: 710px) {
  .portal-hero { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlights-panel { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .portal-feature { align-items: start; flex-direction: column; gap: 9px; }
  .portal-feature > span { text-align: left; }
  .portal-actions .button { padding-inline: 14px; }
  .portal-tile { padding: 13px; }
  .portal-tile p { font-size: 14px; }
  .portal-tile-arrow { top: 12px; right: 11px; }
  .skill-grid .portal-tile { min-height: 0; }
  .resource-row { grid-template-columns: 1fr; gap: 4px; }
  .update-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; }
  .rights-summary { grid-template-columns: 1fr; gap: 12px; }
}
