:root {
  color-scheme: light;
  --paper: #faf9f5;
  --ink: #303d35;
  --muted: #626a61;
  --line: #dedfd5;
  --accent: #4f6959;
  --serif: "Songti SC", "STSong", "SimSun", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #526f93; outline-offset: 5px; }
.wrap { width: min(1080px, calc(100% - 80px)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 10px 16px; color: white; background: var(--ink); }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 96px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; font-size: 16px; font-weight: 650; letter-spacing: .02em; }
.brand img { border-radius: 10px; }
.release-status { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.release-status i { width: 5px; height: 5px; background: #a6b799; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 72px; padding-block: 65px 78px; }
.eyebrow, .section-kicker { color: var(--muted); font-size: 12px; font-weight: 450; letter-spacing: .08em; }
.eyebrow { margin-bottom: 22px; }
h1 { font: 700 clamp(46px, 4.6vw, 64px)/1.35 var(--serif); letter-spacing: -.045em; }
.rainbow-rule { display: block; width: 70px; height: 4px; margin-top: 23px; background: linear-gradient(to right, #df998b 0 14.28%, #e8b788 14.28% 28.57%, #ecd28d 28.57% 42.85%, #afc89e 42.85% 57.14%, #92beb7 57.14% 71.42%, #9faecc 71.42% 85.71%, #b6a1c7 85.71%); }
.hero-description { margin-top: 27px; font-size: 16px; line-height: 1.95; color: var(--muted); }
.primary-link { display: inline-flex; align-items: center; gap: 35px; min-height: 48px; margin-top: 30px; padding: 11px 20px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 13px; }
.primary-link span { font-size: 18px; line-height: 1; }
.primary-link:hover { background: var(--accent); border-color: var(--accent); }
.hero-art { align-self: center; padding-top: 2px; }
.rainbow-illustration { width: 100%; image-rendering: pixelated; }
.daily-note { width: 88%; margin: 6px auto 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.daily-note > span { color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.daily-note > p { margin-top: 10px; font-size: 16px; }
.daily-note .daily-reply { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 7px; }
.how-section { border-block: 1px solid var(--line); padding-block: 33px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 18px; align-items: baseline; }
.step-number { color: #667160; font: 11px ui-monospace, monospace; }
.steps h3 { font-size: 14px; font-weight: 550; }
.steps p { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.section { padding-block: 100px; }
.section-kicker { margin-bottom: 16px; }
h2 { font: 600 clamp(27px, 2.65vw, 36px)/1.55 var(--serif); letter-spacing: -.03em; }
.section-description { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 2; }
.styles-section { display: grid; grid-template-columns: .95fr 1.1fr; gap: 100px; align-items: center; }
.style-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 10px; margin-top: 28px; }
.style-picker button { display: flex; align-items: center; gap: 9px; min-height: 45px; padding: 9px 10px; border: 1px solid transparent; background: transparent; text-align: left; font-size: 12px; cursor: pointer; }
.style-picker i { width: 6px; height: 6px; flex: 0 0 6px; background: #afc89e; }
.style-picker [data-style=rainbow] i { background: #e8b788; }
.style-picker [data-style=leader] i { background: #9faecc; }
.style-picker [data-style=sweet_friend] i { background: #df998b; }
.style-picker [data-style=flirty] i { background: #b6a1c7; }
.style-picker [data-style=roast] i { background: #a49b8f; }
.style-picker [data-style=classical] i { background: #92beb7; }
.style-picker button:hover { background: #efeee7; }
.style-picker button[aria-pressed=true] { background: #e9ede3; border-color: #d6dfcf; font-weight: 600; }
.style-demo { --demo-accent: #52694b; background: #f0f1e9; padding: 32px 36px 22px; border: 1px solid #e3e5da; }
.style-demo[data-selected-style=rainbow] { --demo-accent: #7e5b24; }
.style-demo[data-selected-style=leader] { --demo-accent: #4c627f; }
.style-demo[data-selected-style=sweet_friend] { --demo-accent: #885a4f; }
.style-demo[data-selected-style=flirty] { --demo-accent: #745678; }
.style-demo[data-selected-style=roast] { --demo-accent: #655e52; }
.style-demo[data-selected-style=classical] { --demo-accent: #436862; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
.demo-label { font-size: 10px; }
.demo-fact { margin: 20px 0 28px; font: 500 28px/1.6 var(--serif); }
.demo-result { min-height: 209px; padding: 23px 0 28px; border-top: 1px solid #d5dacc; }
.demo-style { color: var(--demo-accent); font-size: 11px; }
.demo-result blockquote { margin-top: 14px; font-size: 18px; font-weight: 400; line-height: 1.95; overflow-wrap: anywhere; }
.demo-bottom { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 10px; }
.demo-bottom > span:last-child { font-family: ui-monospace, monospace; white-space: nowrap; }
.friends-section { display: grid; grid-template-columns: 1.15fr 1fr; gap: 100px; align-items: center; border-top: 1px solid var(--line); padding-block: 80px; }
.friends-detail { margin-top: 20px; max-width: 350px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.friend-letter { padding: 29px 31px 27px; background: #f3eee8; border-left: 2px solid #d8b7a6; }
.friend-letter figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #6b635b; font-size: 11px; }
.friend-letter figcaption > span:last-child { font-size: 10px; }
.friend-letter blockquote { margin-block: 25px 22px; font: 500 23px/1.9 var(--serif); }
.letter-signoff { color: #6b635b; font-size: 11px; }
.privacy-note { display: grid; grid-template-columns: 215px 1fr auto; align-items: baseline; gap: 28px; padding-block: 28px; border-block: 1px solid var(--line); }
.privacy-note h2 { font: 550 14px/1.8 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; }
.privacy-note p { color: var(--muted); font-size: 12px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; white-space: nowrap; text-underline-offset: 5px; }
.text-link:hover { text-decoration: underline; }
.text-link span { margin-left: 7px; }
.faq-section { display: grid; grid-template-columns: .95fr 1.1fr; gap: 100px; padding-block: 85px 100px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; font-size: 14px; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary > span { color: #899285; font-size: 19px; line-height: 1; }
details[open] summary > span { transform: rotate(45deg); }
details p { padding: 0 28px 20px 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
details a { text-decoration: underline; text-underline-offset: 4px; }
.site-footer { padding-block: 30px; border-top: 1px solid var(--line); }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand, .footer-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand > a { font-size: 14px; font-weight: 600; }
.footer-brand > span { font-size: 11px; color: var(--muted); }
.footer-meta { margin-top: 22px; font-size: 10px; color: var(--muted); }
.footer-meta nav { display: flex; gap: 25px; }
.footer-meta a { padding-block: 6px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .primary-link, .style-picker button { transition: background-color .15s, border-color .15s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 42px; padding-block: 48px 66px; }
  h1 { font-size: 52px; }
  .hero-description { font-size: 14px; }
  .daily-note { width: 92%; }
  .daily-note > p { font-size: 14px; }
  .daily-note .daily-reply { font-size: 11px; }
  .steps { gap: 18px; }
  .steps li { gap: 11px; }
  .styles-section, .friends-section, .faq-section { gap: 48px; }
  .style-demo { padding: 28px 26px 22px; }
  .demo-fact { font-size: 26px; }
  .demo-result { min-height: 231px; }
  .demo-result blockquote { font-size: 17px; }
  .friend-letter { padding: 24px; }
  .friend-letter blockquote { font-size: 21px; }
  .privacy-note { grid-template-columns: 180px 1fr; gap: 10px 28px; }
  .privacy-note .text-link { grid-column: 2; justify-self: start; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { min-height: 82px; }
  .brand { font-size: 14px; gap: 9px; }
  .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .release-status { font-size: 11px; gap: 6px; }
  .hero { gap: 28px; padding-block: 40px 52px; }
  h1 { font-size: 42px; }
  .eyebrow { font-size: 11px; margin-bottom: 16px; }
  .hero-description { font-size: 13px; margin-top: 22px; }
  .primary-link { margin-top: 24px; gap: 24px; }
  .daily-note > p { font-size: 13px; }
  .daily-note .daily-reply { font-size: 10px; }
  .daily-note { width: 100%; }
  .steps { gap: 18px; }
  .steps li { display: block; }
  .steps h3 { margin-top: 6px; font-size: 13px; }
  .steps p { font-size: 11px; }
  .section { padding-block: 64px; }
  .styles-section, .friends-section, .faq-section { grid-template-columns: 1fr; gap: 32px; }
  .style-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 540px; margin-top: 22px; }
  .style-demo { max-width: 560px; width: 100%; }
  .demo-result { min-height: 170px; }
  .friends-section { gap: 28px; }
  .friend-letter { max-width: 500px; width: 100%; }
  .friends-detail { max-width: none; }
  .privacy-note { grid-template-columns: 1fr; gap: 9px; }
  .privacy-note .text-link { grid-column: 1; margin-top: 2px; }
  .section-kicker { font-size: 11px; margin-bottom: 12px; }
  .faq-section { gap: 28px; }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 78px; gap: 12px; }
  .brand { font-size: 14px; }
  .brand img { width: 30px; height: 30px; }
  .release-status { font-size: 11px; }
  .release-status i { display: none; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 35px 40px; }
  h1 { font-size: clamp(38px, 10.8vw, 48px); line-height: 1.35; }
  .rainbow-rule { margin-top: 18px; height: 3px; width: 56px; }
  .hero-description { font-size: 14px; margin-top: 23px; }
  .primary-link { margin-top: 25px; }
  .hero-art { width: min(350px, 100%); margin-inline: auto; }
  .rainbow-illustration { width: 88%; margin-inline: auto; }
  .daily-note { width: 100%; margin-top: 0; padding-top: 15px; }
  .daily-note > span { font-size: 10px; }
  .daily-note > p { font-size: 15px; }
  .daily-note .daily-reply { font-size: 12px; }
  .how-section { padding-block: 28px; }
  .steps { grid-template-columns: 1fr; gap: 23px; }
  .steps li { display: flex; gap: 17px; }
  .steps h3 { margin-top: 0; font-size: 14px; }
  .steps p { font-size: 12px; }
  .section { padding-block: 54px; }
  h2 { font-size: 28px; }
  .section-description { font-size: 14px; }
  .style-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .style-picker button { font-size: 12px; padding-inline: 9px; }
  .style-demo { padding: 26px 23px 22px; }
  .demo-fact { font-size: 26px; }
  .demo-result { min-height: 218px; }
  .demo-result blockquote { font-size: 17px; }
  .friend-letter { padding: 25px 23px; }
  .friend-letter blockquote { font-size: 23px; }
  .friends-copy .section-description br { display: none; }
  .friends-detail { margin-top: 16px; }
  .privacy-note { padding-block: 24px; }
  .privacy-note p { font-size: 12px; }
  summary { font-size: 14px; padding-block: 17px; }
  details p { padding-right: 14px; }
  .site-footer { padding-block: 25px; }
  .footer-brand { gap: 12px; }
  .footer-brand > a { font-size: 13px; }
  .footer-brand > span { font-size: 10px; }
  .footer-meta { flex-wrap: wrap; gap: 10px 16px; margin-top: 19px; }
  .footer-meta nav { gap: 18px; }
}
