:root {
  --sky-1: #eaf4fc;
  --sky-2: #cfe4f7;
  --sky-3: #8fbfe8;
  --cream: #fbf7f0;
  --ink: #2b211b;
  --ink-soft: #5e5149;
  --bean: #3a2a20;
  --accent: #d9603b;
  --card: #ffffff;
  --line: rgba(43, 33, 27, 0.12);
  --radius: 22px;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }
.zh { font-family: "Noto Serif SC", serif; }

/* Nav */
nav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--sky-2) 0%, var(--sky-1) 55%, var(--cream) 100%);
  padding: 168px 0 120px;
  overflow: hidden;
}
.cloud { position: absolute; background: #fff; border-radius: 999px; opacity: .7; filter: blur(1px); }
.cloud.c1 { width: 220px; height: 54px; top: 120px; right: 8%; animation: drift 38s linear infinite; }
.cloud.c2 { width: 140px; height: 38px; top: 250px; right: 30%; opacity: .5; animation: drift 52s linear infinite reverse; }
.cloud.c3 { width: 180px; height: 44px; top: 70px; left: 6%; opacity: .45; animation: drift 46s linear infinite; }
@keyframes drift { 0% { transform: translateX(0); } 50% { transform: translateX(40px); } 100% { transform: translateX(0); } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(44px, 6.4vw, 80px); margin-bottom: 24px; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--bean); }
.hero p.lead { font-size: 19px; color: var(--ink-soft); max-width: 31em; margin-bottom: 36px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--bean); color: #fff; }
.btn-primary:hover { background: #1f1611; }
.btn-ghost { background: rgba(255,255,255,.6); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; }

.seal { position: relative; justify-self: center; width: min(360px, 100%); aspect-ratio: 1; }
.seal-card {
  position: absolute; inset: 0; border-radius: 40px; background: var(--card);
  box-shadow: 0 30px 60px -30px rgba(43, 33, 27, .35), 0 0 0 1px var(--line);
  display: grid; place-items: center; text-align: center;
}
.seal-card .chars { font-size: clamp(88px, 11vw, 132px); line-height: 1; letter-spacing: .04em; }
.seal-card .chars span:first-child { color: var(--sky-3); }
.seal-card .chars span:last-child { color: var(--bean); }
.seal-card .gloss { display: flex; justify-content: center; gap: 36px; margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.seal-card .gloss b { display: block; font-weight: 600; color: var(--ink); font-size: 15px; }
.seal .stamp {
  position: absolute; right: -14px; bottom: 28px; transform: rotate(-8deg);
  background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 10px;
  font-size: 13px; font-weight: 600; box-shadow: 0 10px 20px -10px rgba(217, 96, 59, .6);
}

section { padding: 112px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 18px; }
.section-head p { font-size: 18px; color: var(--ink-soft); }

/* Product */
.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden;
  background: var(--card); border-radius: 32px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(43, 33, 27, .4);
}
.product-copy { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--sky-1); color: #2f6a9e; padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; }
.product-copy h3 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 18px; }
.product-copy p { color: var(--ink-soft); font-size: 17px; margin-bottom: 26px; }
.feature-list { list-style: none; display: grid; gap: 14px; margin-bottom: 32px; }
.feature-list li { display: flex; gap: 12px; font-size: 16px; }
.feature-list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--sky-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%232f6a9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

.product-demo { background: linear-gradient(160deg, var(--sky-2), var(--sky-1)); display: grid; place-items: center; padding: 56px 32px; }
.phone {
  width: 270px; background: var(--cream); border-radius: 38px; padding: 14px;
  box-shadow: 0 0 0 8px #1f1611, 0 40px 60px -30px rgba(31, 22, 17, .6);
}
.phone-inner { background: #fff; border-radius: 28px; padding: 22px 18px 20px; }
.phone-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-soft); margin-bottom: 18px; }
.progress { height: 6px; flex: 1; margin: 0 12px; background: var(--sky-1); border-radius: 99px; overflow: hidden; }
.progress span { display: block; width: 60%; height: 100%; background: var(--sky-3); border-radius: 99px; }
.flash { text-align: center; padding: 22px 0 18px; border-radius: 20px; background: var(--sky-1); margin-bottom: 16px; }
.flash .big { font-size: 56px; line-height: 1.1; }
.flash .pinyin { font-size: 17px; font-weight: 600; color: #2f6a9e; margin-top: 6px; }
.flash .tones { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.flash .tones i { width: 22px; height: 4px; border-radius: 2px; background: var(--sky-3); }
.flash .tones i:nth-child(2) { background: var(--accent); }
.choices { display: grid; gap: 8px; }
.choice { font-size: 14px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line); font-weight: 500; }
.choice.right { border-color: #6fae7f; background: #eef7f0; color: #2f6b3d; }

/* Principles */
.principles { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principle { padding: 32px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.principle .glyph { font-size: 40px; line-height: 1; margin-bottom: 22px; color: var(--bean); }
.principle h3 { font-size: 23px; margin-bottom: 10px; }
.principle p { color: var(--ink-soft); font-size: 16px; }

/* Contact */
.contact { text-align: center; }
.contact h2 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 18px; }
.contact p { font-size: 18px; color: var(--ink-soft); max-width: 30em; margin: 0 auto 32px; }
.contact .btns { justify-content: center; }

footer { padding: 36px 0 44px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .brand { font-size: 15px; color: var(--ink); }
footer .brand svg { width: 26px; height: 26px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cloud { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .hero { padding: 132px 0 88px; }
  .hero-grid, .product { grid-template-columns: 1fr; }
  .seal { width: min(300px, 82%); }
  .product-copy { padding: 40px 28px; }
  .grid-3 { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav-links { gap: 18px; font-size: 14px; }
  .nav-links a.hide-sm { display: none; }
  .hero p.lead { font-size: 17px; }
  .btn { width: 100%; justify-content: center; }
  .seal .stamp { right: -6px; }
  .phone { width: 100%; max-width: 270px; }
}

/* LingTing name */
.name-zh { font-size: .62em; font-weight: 500; color: var(--sky-3); margin-left: 6px; letter-spacing: .04em; }
.product-copy p.name-gloss { font-size: 14px; margin: -8px 0 18px; color: var(--ink-soft); }
.name-gloss b { color: #2f6a9e; font-weight: 600; }

/* Approach */
.approach-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.approach-intro h2 { font-size: clamp(34px, 4.4vw, 52px); }
.approach-copy p { font-size: 18px; color: var(--ink-soft); }
.approach-copy p + p { margin-top: 14px; }
.glyph-gloss { font-size: 13px; color: var(--ink-soft); margin: -12px 0 16px; letter-spacing: .02em; }
.practice { margin-top: 56px; padding: 44px; border-radius: 28px; background: linear-gradient(160deg, var(--sky-1), var(--cream)); border: 1px solid var(--line); }
.practice h3 { font-size: 26px; margin-bottom: 28px; }
.practice-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.practice-list li { display: flex; gap: 16px; color: var(--ink-soft); font-size: 16px; }
.practice-list b { color: var(--ink); font-weight: 600; }
.practice-list .num { flex: none; font-family: "Fraunces", Georgia, serif; font-size: 22px; color: var(--accent); line-height: 1.3; }

/* Contact page */
.page-hero { background: linear-gradient(180deg, var(--sky-2) 0%, var(--sky-1) 60%, var(--cream) 100%); padding: 150px 0 56px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(42px, 6vw, 72px); margin-bottom: 18px; }
.page-hero p { font-size: 19px; color: var(--ink-soft); max-width: 32em; }
.contact-page { padding: 24px 0 112px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 32px; align-items: start; }
.form-card { background: var(--card); border-radius: 28px; padding: 44px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(43, 33, 27, .4); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 14px; font-weight: 600; }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--cream);
  border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky-3); box-shadow: 0 0 0 4px var(--sky-1); background: #fff; }
.form-card button { border: 0; cursor: pointer; font-family: inherit; }
.form-note { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }
.form-error { font-size: 14px; color: #b23b1c; margin-top: 12px; min-height: 1.4em; }
.side { display: grid; gap: 20px; }
.side-card { border-radius: 24px; padding: 30px; background: var(--card); border: 1px solid var(--line); }
.side-card h2 { font-size: 22px; margin-bottom: 10px; }
.side-card p { color: var(--ink-soft); font-size: 16px; }
.side-card a.mail { display: inline-block; margin-top: 12px; font-weight: 600; color: #2f6a9e; text-decoration: none; word-break: break-all; }
.side-card a.mail:hover { text-decoration: underline; }
.side-card.lt { background: linear-gradient(160deg, var(--sky-2), var(--sky-1)); border: 0; }
.side-card.lt .zh { font-size: 40px; line-height: 1; color: var(--bean); margin-bottom: 14px; }

@media (max-width: 900px) {
  .approach-intro, .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .practice { padding: 32px 24px; }
  .practice-list { grid-template-columns: 1fr; }
  .page-hero { padding: 124px 0 40px; }
}
@media (max-width: 560px) {
  .form-card { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
