/* Spring Pilates 春序垣·普拉提 — brand palette from VI manual (color.jpg)
   A 莫兰迪深绿  #2C7E87  standard color
   B 深灰        #231815
   C 青绿        #4BA69F
   D 淡青        #8EC0BB
   E 沙米白      #FEEFE2 */
:root {
  --teal: #2C7E87;
  --teal-dark: #1f5f66;
  --ink: #231815;
  --green: #4BA69F;
  --mist: #8EC0BB;
  --sand: #FEEFE2;
  --sand-soft: #FFF8F1;
  --paper: #FFFDFB;
  --text: #2e2724;
  --muted: #6c6460;
  --line: rgba(35, 24, 21, .12);
  --radius: 18px;
  --shadow: 0 10px 30px -14px rgba(31, 95, 102, .35);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* ---------- language switching ---------- */
html[data-lang="zh"] .l-en { display: none !important; }
html:not([data-lang="zh"]) .l-zh { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.75;
  color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
html[data-lang="zh"] body { letter-spacing: .02em; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.22rem; }
.h2-sm { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: 1.2rem; color: var(--ink); line-height: 1.7; }
.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal); font-weight: 600; margin-bottom: 1rem; display: block;
}
html[data-lang="zh"] .eyebrow { letter-spacing: .3em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 251, .88); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: .9rem; padding: 8px 11px; border-radius: 999px;
  white-space: nowrap; transition: background .2s, color .2s;
}
.nav a:hover { background: var(--sand); color: var(--teal); }
.nav a.active { color: var(--teal); background: var(--sand); font-weight: 600; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  font: inherit; font-size: .85rem; cursor: pointer; border: 1px solid var(--teal); color: var(--teal);
  background: transparent; border-radius: 999px; padding: 5px 14px; transition: .2s;
}
.lang-toggle:hover { background: var(--teal); color: #fff; }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; padding: 10px 8px; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav-tools { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    display: none; box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
  }
  .menu-open .nav { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1rem; border-radius: 12px; }
}
@media (max-width: 480px) { .brand img { height: 38px; } }

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font: inherit; font-size: .95rem; font-weight: 500; text-decoration: none; cursor: pointer;
  background: var(--teal); color: #fff; border: 1px solid var(--teal);
  padding: 12px 24px; border-radius: 999px; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.btn-ghost:hover { background: var(--sand); border-color: var(--sand); color: var(--teal); box-shadow: none; }
.btn-light { background: var(--sand); border-color: var(--sand); color: var(--teal-dark); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--teal-dark); }
.btn-outline-light { background: transparent; border-color: rgba(254,239,226,.7); color: var(--sand); }
.btn-outline-light:hover { background: var(--sand); border-color: var(--sand); color: var(--teal-dark); }
.btn-sm { padding: 7px 16px; font-size: .88rem; }
.btn.is-disabled { opacity: .45; pointer-events: none; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--sand-soft) 0%, var(--sand) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 40px; min-height: min(78vh, 720px); padding: 72px 0; }
.hero h1 { margin-bottom: .5em; }
.hero-sub { color: var(--muted); font-size: 1.05rem; }
.hero-sub i { font-style: normal; color: var(--mist); margin: 0 .5em; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.hero-art img { position: absolute; inset: 20%; width: 60%; height: 60%; animation: float 9s ease-in-out infinite; }
.hero-circle { position: absolute; border-radius: 50%; }
.hero-circle.c1 { inset: 0; background: radial-gradient(circle at 30% 30%, #fff 0%, rgba(255,255,255,.4) 60%, transparent 70%); }
.hero-circle.c2 { inset: 6%; border: 1px solid var(--mist); }
.hero-circle.c3 { width: 34%; height: 34%; right: -4%; bottom: 4%; background: var(--mist); opacity: .35; animation: float 12s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.page-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--sand-soft), var(--sand)); padding: 96px 0 80px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 880px; }
.page-hero-sub { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--teal); max-width: 760px; }
.page-hero-mark { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 380px; opacity: .08; pointer-events: none; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.tint { background: var(--sand-soft); }
.section-head { margin-bottom: 44px; max-width: 760px; }
.section-head.center { text-align: center; }
.two-col { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: start; }
.prose p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-classes { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(44,126,135,.25); }
.card p:last-child { margin-bottom: 0; }
.num { display: inline-block; font-family: var(--serif); color: var(--green); font-size: 1rem; letter-spacing: .1em; margin-bottom: 14px; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); font-size: .97rem; }

.explore-card {
  position: relative; display: block; padding: 34px 30px 64px; border-radius: var(--radius);
  background: var(--teal); color: var(--sand); text-decoration: none; overflow: hidden; transition: transform .25s, background .25s;
}
.explore-card:nth-child(2) { background: var(--green); }
.explore-card:nth-child(3) { background: var(--ink); }
.explore-card .eyebrow { color: var(--mist); }
.explore-card h3 { color: #fff; font-size: 1.35rem; }
.explore-card .arrow { position: absolute; left: 30px; bottom: 24px; font-size: 1.4rem; transition: transform .25s; }
.explore-card:hover { color: var(--sand); transform: translateY(-4px); }
.explore-card:hover .arrow { transform: translateX(8px); }

.cta-band { background: var(--teal); color: var(--sand); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(254,239,226,.15); left: -160px; top: -260px; }
.cta-band::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(142,192,187,.15); right: -120px; bottom: -200px; }
.cta-band h2 { color: #fff; max-width: 820px; margin-inline: auto; position: relative; z-index: 1; }
.cta-band .btn-row { justify-content: center; position: relative; z-index: 1; }

/* about */
.philosophy { margin: 0; padding: 0; }
.philosophy p { font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.5; color: var(--teal-dark); }
.philosophy::before { content: "“"; display: block; font-family: var(--serif); font-size: 5rem; line-height: .6; color: var(--mist); }

/* classes */
.class-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .25s, box-shadow .25s;
}
.class-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.class-card.featured { border-color: rgba(75,166,159,.5); background: linear-gradient(180deg, #fff 60%, #f3faf9); }
.class-head { display: flex; justify-content: space-between; align-items: center; }
.class-card h3 { margin-bottom: .1em; }
.class-alt { color: var(--green); font-size: .95rem; margin-bottom: 1em; }
.class-card p { font-size: .97rem; }
.badge { font-size: .75rem; letter-spacing: .08em; background: var(--sand); color: var(--teal-dark); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }

/* rptt */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stats div { background: var(--sand-soft); border-radius: 14px; padding: 18px 14px; font-size: .85rem; color: var(--muted); }
.stats strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--teal); line-height: 1.1; }
.arc-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.arc { text-align: center; background: #fff; border-radius: var(--radius); padding: 34px 20px 24px; border: 1px solid var(--line); }
.arc-letter { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--teal); color: var(--sand); font-family: var(--serif); font-size: 2.4rem; }
.arc:nth-child(2) .arc-letter { background: var(--green); }
.arc:nth-child(3) .arc-letter { background: var(--mist); color: var(--ink); }
.arc:nth-child(4) .arc-letter { background: var(--ink); }
.arc h3 { margin: 0; }
.lineage { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; margin-top: 44px; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.lineage span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; }
.lineage span.here { background: var(--teal); color: #fff; border-color: var(--teal); }
.lineage i { font-style: normal; color: var(--green); }
.hour-card { display: grid; grid-template-columns: 110px 1fr; gap: 22px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.hour-num { font-family: var(--serif); font-size: 2.6rem; color: var(--teal); line-height: 1; }
.hour-num small { display: block; font-family: var(--sans); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.hour-card h3 { font-size: 1.1rem; }
.hour-card p { font-size: .95rem; color: var(--muted); margin: 0; }
.note { margin-top: 28px; padding: 22px 28px; border-left: 3px solid var(--green); background: var(--sand-soft); border-radius: 0 14px 14px 0; }
.note p { margin: 0; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.checklist.numbered { counter-reset: n; }
.checklist.numbered li::before { counter-increment: n; content: counter(n); transform: none; border: 0; top: 11px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .75rem; display: grid; place-items: center; }

/* workshops */
.events { display: grid; gap: 18px; margin-bottom: 18px; }
.event-card { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.event-card.empty { grid-template-columns: 1fr auto; border-style: dashed; border-color: var(--mist); }
.event-card.empty p { margin: 0; font-size: 1.05rem; }
.event-date { text-align: center; color: var(--teal); }
.event-date strong { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 500; line-height: 1; }
.event-pay { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { aspect-ratio: 4 / 3; border-radius: var(--radius); object-fit: cover; width: 100%; }
.gallery-item.ph { background: linear-gradient(140deg, var(--sand), #e9f3f2); display: grid; place-items: center; }
.gallery-item.ph img { width: 26%; opacity: .25; }

/* studio */
.space-card p { font-size: 1rem; color: var(--ink); }

/* faq */
.faq-group { margin-bottom: 44px; }
.faq-group-title { font-size: .8rem; font-family: var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 12px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--serif); font-size: 1.2rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.5rem; color: var(--teal); transition: transform .25s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--teal); }
.faq-a { padding: 0 0 20px; color: var(--muted); }
.faq-a p { margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.info-block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-block:first-child { padding-top: 0; }
.info-block:last-child { border-bottom: 0; }
.info-block .eyebrow { margin-bottom: .5rem; }
.info-block p:last-child { margin-bottom: 0; }
.info-block .btn-row { margin-top: .8rem; }
.inquiry { position: sticky; top: 100px; padding: 36px; }
.inquiry:hover { transform: none; }
.inquiry label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.inquiry input, .inquiry select, .inquiry textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; font-size: 1rem; color: var(--text);
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .2s, box-shadow .2s;
}
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(75,166,159,.18); }
.inquiry textarea { resize: vertical; }
.inquiry .btn { width: 100%; margin-top: 4px; }
.form-error { color: #a23b2a; font-size: .9rem; }

/* payment */
.pay-card h3 { font-size: 1.8rem; margin-bottom: .2em; }
.pay-card h3 small { font-family: var(--sans); font-size: 1rem; color: var(--muted); margin-left: .3em; }
.pay-card .btn { margin-top: .6rem; }
.pay-pending { margin-top: .8rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(254,239,226,.75); padding: 72px 0 0; font-size: .93rem; }
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { color: var(--mist); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 56px; padding-bottom: 56px; }
.footer-brand img { width: 180px; height: auto; margin-bottom: 24px; }
.footer-brand p { max-width: 420px; }
.site-footer h4 { color: var(--sand); font-family: var(--sans); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(254,239,226,.12); padding: 22px 0 28px; font-size: .82rem; color: rgba(254,239,226,.5); }

/* ---------- reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art img, .hero-circle.c3 { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .arc-row { grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .inquiry { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .page-hero { padding: 68px 0 56px; }
  .page-hero-mark { width: 240px; right: -80px; }
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 64px; min-height: 0; }
  .hero-art { max-width: 260px; order: -1; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-classes { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .event-card, .event-card.empty { grid-template-columns: 1fr; gap: 16px; }
  .hour-card { grid-template-columns: 1fr; gap: 10px; }
  .stats strong { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .btn-row .btn { flex: 1 1 auto; }
}
@media (max-width: 480px) {
  .wrap { width: min(1180px, 100% - 32px); }
  .grid-4, .grid-5, .arc-row { grid-template-columns: 1fr; }
  .card, .class-card { padding: 24px; }
}

/* ---------- v2 additions ---------- */
/* social */
.social { margin-top: 18px; }
.social-title { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--sand); margin-bottom: 10px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; margin: 0 18px 8px 0; }
.social-link img { width: 34px; height: 34px; border-radius: 9px; transition: transform .2s; }
.social-link:hover img { transform: translateY(-2px); }
.social-link.is-pending { cursor: default; }
.social-on-light .social-title { color: var(--teal); }
.social-on-light .social-link { color: var(--ink); text-decoration: none; }

/* photo placeholders */
.ph-box { border-radius: var(--radius); background: linear-gradient(140deg, var(--sand), #e9f3f2); border: 1px dashed var(--mist);
  display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-size: .88rem; }
.ph-box img { width: 56px; opacity: .3; margin: 0 auto 10px; }
.gallery .ph-box { aspect-ratio: 4 / 3; }
.gallery .ph-box.wide { grid-column: span 2; aspect-ratio: auto; }
.portrait { aspect-ratio: 4 / 5; }

/* founder / bio */
.bio { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.quote { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.5; color: var(--teal-dark); margin: 0 0 .6em; }
.quote-by { color: var(--muted); font-size: .95rem; }

/* faculty highlight */
.highlight { background: var(--teal); color: var(--sand); border-radius: var(--radius); padding: 40px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.highlight h2, .highlight h3 { color: #fff; margin-bottom: .3em; }
.highlight p { margin: 0; }
.highlight-icon { width: 88px; height: 88px; border-radius: 50%; background: rgba(254,239,226,.14); display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; color: #fff; }

/* pricing */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.price-table caption { text-align: left; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); padding: 0 0 12px; }
.price-table th, .price-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--sand-soft); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.price-table tbody tr:last-child td, .price-table tbody tr:last-child th { border-bottom: 0; }
.price-table td.amt, .price-table th.amt { text-align: right; font-variant-numeric: tabular-nums; }
.price-table td.amt strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.price-table tbody th { font-weight: 500; color: var(--ink); }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.price-card { text-align: center; }
.price-card .eyebrow { margin-bottom: .6rem; }
.price-card h3 { font-size: 1.4rem; }
.price-big { font-family: var(--serif); font-size: 2.6rem; color: var(--teal); line-height: 1.1; margin: .2em 0 .1em; }
.price-big small { font-size: 1rem; color: var(--muted); font-family: var(--sans); }
.price-was { color: var(--muted); text-decoration: line-through; }
.price-card.featured { border-color: rgba(75,166,159,.5); background: linear-gradient(180deg, #fff 60%, #f3faf9); }
.price-note { font-size: .9rem; color: var(--muted); margin-top: 18px; }
.trial-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; background: #fff; border: 1px solid rgba(75,166,159,.5); border-radius: var(--radius); padding: 26px 32px; }
.trial-strip h3 { margin: 0; }
.trial-strip .price-big { font-size: 2.2rem; margin: 0; }

/* credit */
.credit { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; }

@media (max-width: 1240px) {
  .menu-btn { display: block; }
  .nav-tools { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    display: none; box-shadow: 0 20px 30px -20px rgba(0,0,0,.2); max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .menu-open .nav { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1rem; border-radius: 12px; }
}
@media (max-width: 1000px) {
  .bio { grid-template-columns: 1fr; gap: 32px; }
  .bio .portrait { max-width: 340px; }
}
@media (max-width: 760px) {
  .price-grid { grid-template-columns: 1fr; }
  .highlight { grid-template-columns: 1fr; padding: 30px; }
  .price-table th, .price-table td { padding: 12px 12px; font-size: .92rem; }
  .gallery .ph-box.wide { grid-column: auto; }
}

.lineage span span { background: none; border: 0; padding: 0; color: inherit; }

/* application questionnaire */
.app-form { position: static; max-width: 920px; }
.form-section { font-size: 1.1rem; color: var(--teal); margin: 26px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.inquiry .checks { border: 0; padding: 0; margin: 0 0 16px; }
.inquiry .checks legend { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.inquiry .checks label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; margin: 0 18px 8px 0; }
.inquiry .checks input { display: inline-block; width: auto; margin: 0; }
.inquiry [aria-invalid="true"] { border-color: #a23b2a; }
.app-form .btn { max-width: 360px; }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- v3 additions ---------- */
.price-table .per { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.price-table .sub { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.price-table td.founding strong { color: var(--teal); }
.price-table td.muted { color: var(--muted); }
.founding-note { margin-top: 20px; padding: 18px 24px; border-left: 3px solid var(--teal); background: var(--sand-soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: .92rem; }
.founding-note p { margin: 0; }
.grid + .highlight { margin-top: 0; }
@media (max-width: 760px) {
  .trial-strip > div[style] { text-align: left !important; }
}

/* ---------- v4 additions ---------- */
.social-handle { display: block; font-size: .78rem; opacity: .75; letter-spacing: .02em; }
.social-link > span { line-height: 1.25; }
a.addr-link { color: inherit; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a.addr-link:hover { opacity: .8; }
.wecom-qr { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.qr-frame { width: 120px; height: 120px; flex: none; border-radius: 12px; background: #fff; border: 1px solid var(--mist); padding: 6px; display: grid; place-items: center; }
.qr-frame img { width: 100%; height: 100%; object-fit: contain; }
.qr-frame.qr-missing { background: linear-gradient(140deg, var(--sand), #e9f3f2); border-style: dashed; }
.qr-frame.qr-missing::after { content: "企业微信二维码\A WeCom QR"; white-space: pre; text-align: center; font-size: .72rem; color: var(--teal); opacity: .7; }
.seats-badge { display: inline-block; margin-top: 12px; padding: 6px 16px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 600; font-size: .9rem; letter-spacing: .04em; }
