/* 一问一课官网 (docs/PLAN-website.md). Paper + owl orange, the same palette as the app (docs/brand/README.md). */
:root {
  color-scheme: light;
  --paper: #faf6ee; --paper2: #f3ecdf; --card: #fffdf8; --ink: #2b2620; --muted: #6f665b; --line: #e7dccb;
  --orange: #e8793a; --orange-d: #c95f22; --orange-l: #fde9db; --green: #2f9e5b; --navy: #1d2a5b; --red: #c0392b;
  --r: 16px; --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 6px 20px rgba(60, 40, 20, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", Roboto, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-d); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: clamp(24px, 6.4vw, 42px); font-weight: 800; }
h2 { font-size: clamp(22px, 3.6vw, 32px); font-weight: 800; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lead-p { font-size: 17px; color: var(--muted); max-width: 46em; }
.center .lead-p { margin-left: auto; margin-right: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .08s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--orange); color: #fff; box-shadow: 0 3px 0 var(--orange-d); }
.btn.primary:hover { background: #ee8547; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--orange); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.danger { background: var(--red); color: #fff; }
.btn.big { min-height: 52px; padding: 12px 26px; font-size: 17px; }
.btn.sm { min-height: 38px; padding: 6px 16px; font-size: 15px; box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.center .btns { justify-content: center; }
.tlink { font-weight: 700; }

/* header */
.notice { background: var(--orange); color: #fff; text-align: center; font-size: 14px; padding: 7px 16px; font-weight: 600; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(250, 246, 238, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topin { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; flex: none; }
.brand img { border-radius: 50%; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: 15px; }
.nav a:hover { background: var(--paper2); }
.topr { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.signin { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; padding: 6px 8px; white-space: nowrap; }
.signin:hover { text-decoration: underline; }
.lang { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; }
.menu { display: none; position: relative; background: none; border: 0; padding: 0; margin: 0; border-radius: 0; }
.menu summary { list-style: none; cursor: pointer; padding: 0; font-weight: 400; background: var(--card); width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; font-size: 18px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: none; }
.menubox { position: absolute; right: 0; top: 46px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: grid; min-width: 160px; }
.menubox a { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 8px; }
.menubox a:hover { background: var(--paper2); }
@media (max-width: 860px) { .nav { display: none; } .menu { display: block; } }
@media (max-width: 420px) {
  .topin { gap: 6px; } .topr { gap: 6px; min-width: 0; } .brand { font-size: 16px; gap: 6px; } .brand img { width: 28px; height: 28px; }
  .topcta { padding: 6px 10px; font-size: 13px; min-height: 36px; } .signin { padding: 4px 4px; font-size: 13px; } .lang { padding: 4px 6px; font-size: 13px; } .menu summary { width: 36px; height: 36px; }
}
@media (max-width: 350px) { .topcta { display: none; } }
.nw { white-space: nowrap; }
.notice.gate { background: var(--ink); }
.waitnote { margin: 0; padding: 10px 12px; background: var(--orange-l); border-radius: 10px; font-size: 14px; }

/* hero */
.hero { padding: 40px 0 24px; background: radial-gradient(1200px 500px at 85% 0%, #fde9db 0%, rgba(250, 246, 238, 0) 60%); }
.heroin { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--orange-d); background: var(--orange-l); padding: 3px 12px; border-radius: 999px; margin-bottom: 14px; }
.hero .sub, .pagehead .sub { font-size: 18px; color: var(--muted); max-width: 32em; }
.heroart { position: relative; }
.heroart img { border-radius: 24px; box-shadow: 0 18px 40px rgba(29, 42, 91, .22); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.bubble { position: absolute; left: -14px; top: 18px; background: #fff; border-radius: 18px; padding: 10px 16px; font-weight: 700; box-shadow: var(--shadow); max-width: 70%; }
.bubble::after { content: ""; position: absolute; left: 34px; bottom: -10px; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; }
@media (max-width: 860px) {
  .hero { padding-top: 24px; }
  .heroin { grid-template-columns: 1fr; gap: 22px; }
  .heroart { order: -1; }
  .bubble { left: 10px; top: 10px; font-size: 14px; }
  .hero .btns .btn { flex: 1 1 100%; }
}

/* sections */
.sec { padding: 56px 0; }
.sec.alt { background: var(--paper2); }
.sec.end { padding-bottom: 72px; }
.sec.end img { margin: 0 auto 8px; }
.pagehead { padding: 40px 0 16px; }
.pagehead .two { align-items: center; }
.pageart { justify-self: end; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .two, .grid2 { grid-template-columns: 1fr; gap: 24px; } .grid3 { grid-template-columns: 1fr; } .pageart { display: none; } .sec { padding: 40px 0; } }
@media (min-width: 600px) and (max-width: 860px) { .grid3 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.step img { width: 100%; max-width: 240px; aspect-ratio: 300 / 520; object-fit: cover; object-position: top; border-radius: 22px; border: 6px solid #fff; box-shadow: var(--shadow); margin: 0 auto 16px; }
.step h3 { display: flex; align-items: center; gap: 10px; }
.step h3 span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 15px; flex: none; }
.step p { color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: start; }
  .step img { margin: 0; border-width: 4px; border-radius: 16px; }
  .step h3 { margin: 2px 0 6px; }
}

.samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 20px; }
.sample { margin: 0; }
.sbtn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: #222; aspect-ratio: 16 / 9; }
.sbtn img { width: 100%; height: 100%; object-fit: cover; }
.sbtn .play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(232, 121, 58, .95); color: #fff; display: grid; place-items: center; font-size: 22px; }
.sbtn .ai, .sbtn .dur { position: absolute; top: 8px; font-size: 12px; color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 8px; border-radius: 6px; }
.sbtn .ai { left: 8px; } .sbtn .dur { right: 8px; top: auto; bottom: 8px; }
.sample figcaption { padding: 8px 2px; display: grid; }
.sample figcaption .muted { font-size: 14px; }

.trusthead { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.trusthead img { flex: none; width: 96px; }
.tcard .ico { font-size: 26px; display: block; margin-bottom: 6px; }
.tcard p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.ol { padding-left: 22px; } .ol li { margin-bottom: 8px; }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 22px 0; }
.price { position: relative; }
.price.hot { border: 2px solid var(--orange); }
.price .amt { font-size: 34px; font-weight: 800; margin: 2px 0 8px; }
.price .amt small { font-size: 16px; color: var(--muted); font-weight: 600; margin-left: 2px; }
.price .amt s { font-size: 18px; color: var(--muted); font-weight: 500; margin-right: 8px; }
.price .tag { position: absolute; top: -12px; right: 16px; background: var(--orange); color: #fff; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.closed { text-align: center; padding: 32px 20px; }

/* wechat */
.wechat { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px dashed #c9b99e; border-radius: var(--r); padding: 16px; margin-top: 18px; text-align: left; }
.wechat .qr { flex: none; width: 112px; height: 112px; border-radius: 8px; }
.wechat p { margin: 4px 0 0; font-size: 15px; }
.sec.end .wechat { max-width: 560px; margin: 24px auto 0; }

/* forms */
.lead { display: grid; gap: 14px; }
.lead label { display: block; font-size: 14px; font-weight: 700; }
.lead label > input, .lead label > select, .lead label > textarea { display: block; margin-top: 5px; }
.lead label i { color: var(--red); font-style: normal; }
.lead input, .lead select, .lead textarea { font: inherit; font-weight: 400; width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.lead input:focus, .lead select:focus, .lead textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-l); }
.lead .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead .frow.contact { grid-template-columns: 130px 1fr; align-items: end; }
.lead .chk { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.lead .chk input { width: 20px; min-height: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--orange); }
.lead .small { margin: -8px 0 0; font-weight: 400; }
.formmsg:empty { display: none; }
.formmsg { padding: 10px 12px; border-radius: 10px; font-size: 15px; background: #eaf6ee; color: #1e6b3d; }
.formmsg.err { background: #fdecea; color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) { .lead .frow { grid-template-columns: 1fr; } .lead .frow.contact { grid-template-columns: 110px 1fr; } }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 22px; color: var(--orange); }
details[open] summary::after { content: "–"; }
details > div { padding: 0 0 14px; color: var(--muted); }

/* legal */
.legal h2, .legal h3 { margin-top: 1.4em; }
.legal ul { padding-left: 22px; }
.note { background: var(--orange-l); border-color: #f6c9a8; }

/* footer */
.foot { background: #2b2620; color: #d8cfc2; padding: 36px 0 28px; font-size: 14px; }
.foot .muted { color: #a99d8d; }
.foot a { color: #f3d9c3; }
.fcols { display: flex; gap: 28px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.fbrand { display: flex; gap: 12px; align-items: center; } .fbrand b { color: #fff; font-size: 17px; }
.fbrand img { border-radius: 50%; }
.flinks { display: flex; flex-wrap: wrap; gap: 6px 18px; max-width: 560px; }
.fcomp a, .fcomp span { white-space: nowrap; }

/* video overlay */
.vbox { position: fixed; inset: 0; z-index: 50; background: rgba(15, 12, 8, .86); display: grid; place-items: center; padding: 16px; }
.vbox video { max-width: min(960px, 100%); max-height: 86vh; border-radius: 14px; background: #000; }
.vbox .x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 22px; cursor: pointer; }
.card .qr { display: block; width: 128px; height: 128px; border-radius: 8px; margin-top: 8px; }
