/* 戒了吧 · 橙色主题。所有页面使用本地资源，无构建依赖。 */
:root {
  --brand: #f77722;
  --brand-deep: #b84a0c;
  --brand-light: #ffaf6b;
  --ink: #261b14;
  --body: #70645b;
  --muted: #80746a;
  --line: #eae3dd;
  --paper: #ffffff;
  --soft: #fff5ed;
  --hero: #19110d;
  --container: 960px;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
svg { display: block; flex-shrink: 0; }
::selection { color: var(--ink); background: #ffc492; }
:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 5px; }
.hero :focus-visible { outline-color: var(--brand-light); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px 20px; border-radius: 8px; background: white; color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

/* 首屏：保留原站居中全屏构图，使用橙色光晕和细网格。 */
.hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 720px; min-height: max(720px, 100svh); padding: 120px 24px 136px; overflow: hidden; color: #fff; background: var(--hero); }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; pointer-events: none; background: radial-gradient(ellipse 65% 85% at 2% 87%, #a847162e, transparent 75%), radial-gradient(ellipse 65% 78% at 95% 0%, #e871203b, transparent 72%), radial-gradient(ellipse 40% 55% at 50% 48%, #73321a1c, transparent 100%), linear-gradient(145deg, #241a13 0%, #20150f 43%, #100e0c 100%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .12; background-image: linear-gradient(#f4ccac20 1px, transparent 1px), linear-gradient(90deg, #f4ccac20 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000, transparent 95%); }
.hero-frame { position: absolute; z-index: -1; inset: 24px; border: 1px solid #ffffff09; border-radius: 4px; pointer-events: none; }
.hero-frame::before, .hero-frame::after { content: ""; position: absolute; width: 36px; height: 36px; border-color: #efa16235; border-style: solid; }
.hero-frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.hero-frame::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }
.hero-inner { width: 100%; max-width: 760px; text-align: center; animation: enter .7s ease-out both; }
.eyebrow { font-size: .875rem; font-weight: 650; letter-spacing: .13em; line-height: 1.6; }
.hero-eyebrow { display: inline-flex; gap: 14px; align-items: center; margin-bottom: 30px; color: var(--brand-light); text-transform: uppercase; font-size: .8125rem; letter-spacing: .2em; }
.hero-eyebrow::before, .hero-eyebrow::after { content: ""; width: 26px; height: 1px; background: #ffaf6b59; }
.hero h1 { font-size: clamp(2.25rem, 5.15vw, 4.5rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.24; }
.highlight { color: var(--brand-light); background: linear-gradient(100deg, #ffb777, #ff882f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { margin: 28px auto 0; max-width: 520px; color: #bdb0a5; font-size: clamp(1rem, 1.4vw, 1.1875rem); font-weight: 400; line-height: 1.9; letter-spacing: .015em; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 54px; padding: 14px 28px; border: 1px solid transparent; border-radius: 999px; font-size: .9375rem; font-weight: 650; line-height: 1.5; text-decoration: none; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s; }
.button-primary { color: #271307; background: var(--brand); border-color: #ff9e52; box-shadow: 0 6px 28px #ee66142e, inset 0 1px 0 #ffc89b80; }
.button-secondary { background: #ffffff08; border-color: #ffffff29; color: #f6efe9; }
.scroll-hint { position: absolute; bottom: 36px; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 12px; color: #a8998c; font-size: .75rem; letter-spacing: .15em; text-decoration: none; transform: translateX(-50%); }
.scroll-line { display: block; position: relative; width: 1px; height: 34px; overflow: hidden; background: #c6a2852e; }
.scroll-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, var(--brand-light), transparent); animation: scroll-line 2.5s ease-in-out infinite; }

/* 内容区：四个板块及原站全部文案。 */
.section { padding: 108px 28px; }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 48px; }
.intro-title { flex-shrink: 0; }
.section-eyebrow { color: var(--brand-deep); margin-bottom: 17px; }
.section h2 { font-size: clamp(1.875rem, 3.25vw, 2.75rem); line-height: 1.3; font-weight: 850; letter-spacing: -.025em; }
.section-intro h2 span { color: #847369; }
.section-lead { max-width: 355px; margin-bottom: 3px; color: var(--body); font-size: 1rem; line-height: 1.85; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pillar { display: flex; align-items: flex-start; gap: 25px; position: relative; min-width: 0; padding: 36px 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, #fff 55%, #fffaf6); transition: border-color .25s, background .25s, transform .25s, box-shadow .25s; }
.pillar::before { content: ""; position: absolute; width: 28px; height: 2px; top: -1px; left: 30px; background: #f88b3e; }
.pillar-num { padding-top: 2px; flex: 0 0 auto; color: #e8b48c; font-size: 3.25rem; font-weight: 800; line-height: 1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.pillar-body { min-width: 0; }
.pillar h3 { font-size: 1.3125rem; font-weight: 750; line-height: 1.4; margin-bottom: 10px; }
.pillar p { color: var(--body); font-size: 1rem; line-height: 1.8; overflow-wrap: break-word; }

/* 下载区。 */
.download { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding-block: 89px 96px; border-block: 1px solid #f4e5d9; background: var(--soft); }
.download::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse 42% 80% at 50% 100%, #ffbb7838, transparent 100%); }
.download .section-eyebrow { margin-bottom: 12px; }
.download-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }
.download-button { display: inline-flex; justify-content: flex-start; align-items: center; gap: 16px; min-width: 230px; min-height: 90px; padding: 18px 22px; border: 1px solid #3f3026; border-radius: 16px; background: #241c17; color: white; text-decoration: none; box-shadow: 0 5px 12px #3815000a; transition: background .2s, transform .2s, box-shadow .2s; }
.platform-icon { width: 32px; height: 36px; }
.download-text { display: flex; flex-direction: column; align-items: flex-start; flex: 1; gap: 2px; text-align: left; }
.download-small { color: #c5b9af; font-size: .8125rem; font-weight: 400; line-height: 1.5; }
.download-big { font-size: 1.125rem; font-weight: 650; line-height: 1.45; white-space: nowrap; }
.download-arrow { margin-left: 6px; color: #c59471; }
.footer { padding: 30px 28px; color: var(--muted); font-size: .75rem; line-height: 1.8; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.footer-dot { padding-inline: 7px; }
.footer a { text-decoration: none; text-underline-offset: 4px; }
.footer a:hover { color: var(--brand-deep); text-decoration: underline; }

/* 共享导航及关于我们页面，沿用全站色彩变量与内容宽度。 */
.site-header { position: absolute; z-index: 2; top: 42px; left: 50%; transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; width: calc(100% - 112px); max-width: 1120px; }
.site-brand { display: inline-flex; align-items: baseline; min-height: 44px; color: #f6efe9; font-size: 1.25rem; font-weight: 800; letter-spacing: -.025em; text-decoration: none; }
.site-brand span { margin-left: 3px; color: var(--brand); font-size: 1.75rem; line-height: 1; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; color: #c7b7ab; font-size: .9375rem; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand-light); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; border-radius: 2px; background: var(--brand); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; font-size: .875rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-nav a[aria-current="page"] { color: var(--brand-deep); }
.about-hero { min-height: 460px; padding: 158px 28px 96px; }
.about-hero .hero-eyebrow { margin-bottom: 22px; }
.about-hero h1 { font-size: clamp(2.75rem, 5.15vw, 4rem); }
.about-hero .hero-lead { max-width: 620px; margin-top: 24px; }
.about-story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.about-story-copy > p:not(.eyebrow) { margin-top: 22px; color: var(--body); font-size: 1rem; line-height: 1.95; }
.about-quote { padding: 30px 34px 34px; border: 1px solid #f2dccb; border-radius: var(--radius); background: linear-gradient(145deg, var(--soft), #fffaf6); }
.quote-mark { display: block; height: 54px; color: var(--brand); font-family: Georgia, serif; font-size: 5rem; line-height: 1; }
.about-quote blockquote { margin: 12px 0 22px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 750; line-height: 1.6; letter-spacing: -.025em; }
.about-quote blockquote span { color: var(--brand-deep); }
.about-quote p { color: var(--body); font-size: 1rem; line-height: 1.85; }
.quote-rule { display: block; width: 36px; height: 2px; margin-block: 28px 18px; background: #eab794; }
.about-quote .quote-signature { font-size: .8125rem; color: var(--muted); }
.about-contact-section { padding-top: 0; }
.about-contact-section .section-intro { margin-bottom: 32px; }
.contact-details { font-style: normal; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 20px; margin: 0; }
.contact-card { min-width: 0; padding: 30px; border: 1px solid #f2dccb; border-radius: var(--radius); background: linear-gradient(135deg, #fffaf6, var(--soft)); }
.contact-card dt { display: flex; align-items: center; gap: 14px; color: var(--body); font-size: 1rem; font-weight: 500; }
.contact-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #f4d4bb; border-radius: 13px; background: #ffeddf; color: var(--brand-deep); }
.contact-card dd { margin: 20px 0 0; color: var(--ink); font-size: 1.25rem; font-weight: 650; line-height: 1.7; overflow-wrap: anywhere; }
.contact-card dd.contact-pending { color: var(--muted); font-size: 1rem; font-weight: 400; }
.contact-card a { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-deep); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button-outline { border-color: #d8b496; background: #ffffff66; color: var(--ink); }
.button-outline:hover { border-color: var(--brand-deep); background: #fff; }
.about-join .hero-actions { margin-top: 30px; }

/* iOS 上架提示使用原站文案，原生 dialog 支持 Esc 和焦点管理。 */
.notice-dialog { position: fixed; width: min(420px, calc(100% - 40px)); max-height: calc(100% - 48px); padding: 38px 30px 28px; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); background: white; box-shadow: 0 24px 80px #0003; }
.notice-dialog:not([open]) { display: none; }
.notice-dialog::backdrop { background: #160b0480; backdrop-filter: blur(6px); }
.notice-dialog h2 { font-size: 1.875rem; line-height: 1.3; margin-bottom: 14px; }
.notice-dialog .section-eyebrow { margin-bottom: 10px; }
.notice-dialog p:not(.eyebrow) { font-size: 1rem; line-height: 1.8; color: var(--body); }
.dialog-close { display: grid; place-items: center; width: 40px; height: 40px; position: absolute; top: 10px; right: 10px; padding: 0; border: 0; border-radius: 50%; color: var(--body); background: transparent; }
.dialog-close:hover { background: var(--soft); }
.dialog-confirm { width: 100%; margin-top: 26px; }
.noscript-notice { margin: 0; padding: 16px 24px; text-align: center; background: var(--soft); color: var(--brand-deep); }

/* 悬停效果只在支持悬停的设备生效，避免手机点击残留。 */
@media (hover: hover) and (pointer: fine) {
  .button-primary:hover { background: #ff8d3b; box-shadow: 0 10px 34px #ef701240, inset 0 1px 0 #ffc89b80; transform: translateY(-2px); }
  .button-secondary:hover { border-color: #ffffff4d; background: #ffffff12; transform: translateY(-2px); }
  .pillar:hover { border-color: #ebc1a2; background: #fffbf7; box-shadow: 0 10px 28px #70330507; transform: translateY(-3px); }
  .download-button:hover { background: #3b291e; box-shadow: 0 12px 24px #38150014; transform: translateY(-3px); }
}

/* 平板与小尺寸笔记本。 */
@media (max-width: 900px) {
  .section { padding: 80px 28px; }
  .section-intro { gap: 32px; }
  .section-lead { max-width: 310px; }
  .pillar { padding: 28px 24px; gap: 18px; }
  .pillar-num { font-size: 2.625rem; }
  .about-story { gap: 32px; }
  .about-quote { padding: 26px; }
  .about-contact-section { padding-top: 0; }
  .contact-card { padding: 26px; }
}

/* 手机：完整保留文案，四大板块改为单列。 */
@media (max-width: 640px) {
  .hero { min-height: 640px; min-height: max(640px, 100svh); padding: 100px 20px 125px; }
  .hero-frame { inset: 14px; }
  .hero h1 { font-size: clamp(2rem, 7.7vw, 3rem); letter-spacing: -.045em; line-height: 1.32; }
  .hero-eyebrow { margin-bottom: 25px; font-size: .75rem; gap: 12px; letter-spacing: .16em; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 20px; }
  .hero-lead { margin-top: 24px; font-size: 1rem; line-height: 1.9; }
  .hero-actions { margin-top: 32px; gap: 12px; }
  .button { padding: 13px 22px; gap: 12px; min-height: 52px; }
  .scroll-hint { bottom: 30px; }
  .section { padding: 64px 20px; }
  .section-intro { display: block; margin-bottom: 30px; }
  .section-eyebrow { margin-bottom: 14px; }
  .section h2 { font-size: 2rem; }
  .section-lead { max-width: 100%; margin-top: 20px; font-size: 1rem; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pillar { border-radius: 16px; padding: 27px 23px; gap: 21px; }
  .pillar-num { font-size: 2.5rem; padding-top: 3px; }
  .pillar h3 { font-size: 1.25rem; margin-bottom: 7px; }
  .pillar p { font-size: 1rem; line-height: 1.8; }
  .download { padding-block: 62px 66px; }
  .download-actions { gap: 12px; margin-top: 28px; }
  .download-button { width: min(100%, 330px); min-height: 84px; padding: 16px 24px; }
  .footer { padding: 26px 20px calc(26px + env(safe-area-inset-bottom, 0px)); }
  .footer-inner { flex-direction: column; text-align: center; gap: 7px; }
  .site-header { top: 28px; width: calc(100% - 64px); gap: 8px 16px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: .875rem; }
  .site-brand { font-size: 1.125rem; }
  .about-hero { min-height: 420px; padding: 150px 24px 68px; }
  .about-hero h1 { font-size: 2.75rem; }
  .about-story { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-quote { padding: 28px; }
  .about-quote blockquote { font-size: 1.75rem; }
  .about-contact-section { padding-top: 0; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .contact-card { padding: 24px; border-radius: 16px; }
  .contact-card dd { margin-top: 16px; font-size: 1.125rem; }
}

@media (max-width: 359px) {
  .hero { padding-inline: 16px; }
  .hero h1 { font-size: 1.875rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding-inline: 18px; }
  .pillar { padding-inline: 18px; gap: 17px; }
  .pillar-num { font-size: 2.25rem; }
  .section { padding-inline: 16px; }
}

/* 横屏手机不依赖固定屏高，放大文字时内容自然撑开。 */
@media (max-height: 560px) and (min-width: 641px) {
  .hero { min-height: 600px; padding-block: 80px 120px; }
}
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll-line { 0%, 100% { transform: translateY(-70%); opacity: .4; } 55% { transform: translateY(70%); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .hero { min-height: auto; padding: 40px 20px; color: #261b14; background: #fff; }
  .hero::before, .hero::after, .hero-frame, .scroll-hint { display: none; }
  .hero-lead { color: #70645b; }
  .hero h1 { font-size: 36px; }
  .button-secondary { color: #261b14; border-color: #eae3dd; }
  .section { padding-block: 32px; }
  .pillar { break-inside: avoid; }
  .site-header { display: none; }
  .about-story { gap: 28px; }
  .about-quote { break-inside: avoid; }
}
