/* 心语展示官网：统一品牌 Token、响应式布局与可访问交互，不影响 APP 公共样式。 */
:root {
    --brand: #b53667;
    --brand-hover: #c94c7a;
    --brand-pressed: #92264f;
    --page: #fffaf8;
    --card: #fff;
    --peach: #ffece8;
    --peach-strong: #ffe4d9;
    --peach-text: #945544;
    --lavender: #f0e8fa;
    --lavender-text: #68458d;
    --accent: #8060a6;
    --subtle: #f8eff4;
    --text: #352b3c;
    --secondary: #6e5d71;
    --tertiary: #786779;
    --border: #efe1e8;
    --border-strong: #e3cdda;
    color-scheme: light;
    font-family:
        -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
        sans-serif;
    color: var(--text);
    background: var(--page);
    font-synthesis: none;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}
body {
    margin: 0;
    line-height: 1.65;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
}
button,
a,
summary {
    -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
h1,
h2,
h3,
p {
    margin: 0;
}
.shell {
    width: min(1160px, calc(100% - 80px));
    margin-inline: auto;
}
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 10;
    background: var(--card);
    padding: 12px 20px;
}
.skip-link:focus {
    top: 12px;
}
.header {
    border-bottom: 1px solid var(--border);
}
.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}
.brand-sub {
    font-size: 12px;
    font-weight: 400;
    color: var(--secondary);
    letter-spacing: 0.08em;
    margin-left: 10px;
}
nav {
    display: flex;
    gap: 32px;
    font-size: 14px;
}
nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}
nav a:hover,
.text-link:hover,
.footer a:hover {
    color: var(--brand);
}
.button {
    min-height: 50px;
    border-radius: 16px;
    padding: 12px 24px;
    background: var(--brand);
    color: var(--card);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    font-size: 15px;
    font-weight: 600;
    transition:
        background 180ms,
        transform 180ms;
}
.button:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
}
.button:active {
    background: var(--brand-pressed);
    transform: none;
}
.button-small {
    min-height: 44px;
    padding: 9px 18px;
    font-size: 13px;
    gap: 16px;
}
.hero {
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    min-height: 730px;
    align-items: center;
    gap: 24px;
}
.hero-copy {
    align-self: stretch;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.intro-label {
    color: var(--brand-pressed);
    font-size: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tiny-heart {
    font-size: 24px;
}
h1 {
    font-size: clamp(48px, 5.3vw, 72px);
    line-height: 1.24;
    letter-spacing: -0.045em;
    font-weight: 750;
}
h1 span {
    color: var(--brand);
}
.hero-description {
    margin-top: 28px;
    font-size: 20px;
    line-height: 1.8;
}
.hero-detail {
    color: var(--secondary);
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.9;
}
.actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 32px;
}
.text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
}
.hero-note {
    margin-top: 24px;
    font-size: 12px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-note span {
    color: var(--accent);
}
.hero-visual {
    position: relative;
    height: 660px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(
        ellipse at 55% 50%,
        var(--peach) 0%,
        var(--peach) 28%,
        transparent 67%
    );
}
.phone {
    width: 244px;
    border: 7px solid var(--card);
    border-radius: 38px;
    overflow: hidden;
    transform: rotate(5deg);
    box-shadow: 0 20px 50px rgba(74, 46, 65, 0.11);
}
.visual-caption {
    position: absolute;
    top: 18px;
    right: 28px;
    font-size: 12px;
    letter-spacing: 0.16em;
    color: var(--secondary);
}
.floating-message {
    position: absolute;
    padding: 16px 20px;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(74, 46, 65, 0.04);
    font-size: 15px;
}
.message-label {
    display: block;
    font-size: 11px;
    margin-bottom: 8px;
}
.incoming {
    background: var(--card);
    border: 1px solid var(--border);
    top: 150px;
    left: 0;
    transform: rotate(-5deg);
}
.incoming .message-label {
    color: var(--secondary);
}
.outgoing {
    background: var(--brand);
    color: var(--card);
    right: -12px;
    bottom: 122px;
    transform: rotate(3deg);
    padding-right: 48px;
}
.outgoing .message-label {
    color: var(--peach);
}
.message-heart {
    position: absolute;
    right: 16px;
    bottom: 12px;
    font-size: 24px;
}
.visual-spark {
    position: absolute;
    color: var(--accent);
}
.spark-one {
    font-size: 46px;
    top: 68px;
    right: 68px;
}
.spark-two {
    font-size: 24px;
    left: 70px;
    bottom: 100px;
    color: var(--brand);
}
.image-note {
    position: absolute;
    bottom: 22px;
    font-size: 11px;
    color: var(--tertiary);
}
.belief {
    min-height: 100px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.belief p {
    font-size: 22px;
}
.belief strong {
    font-weight: 600;
    color: var(--brand);
}
.belief > span {
    font-size: 13px;
    color: var(--secondary);
}
.section {
    padding-block: 96px;
}
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 36px;
}
.section-kicker {
    color: var(--brand-pressed);
    font-size: 13px;
    margin-bottom: 12px;
}
h2 {
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -0.03em;
    line-height: 1.45;
    font-weight: 700;
}
.section-heading > p {
    font-size: 14px;
    color: var(--secondary);
    line-height: 1.9;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature {
    border-radius: 22px;
    padding: 28px;
    min-width: 0;
}
.feature-peach {
    background: var(--peach);
}
.feature-lavender {
    background: var(--lavender);
}
.feature-white {
    background: var(--card);
    border: 1px solid var(--border);
}
.feature-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.feature-number {
    font-size: 12px;
    color: var(--secondary);
}
.feature-icon {
    color: var(--brand);
    font-size: 32px;
    line-height: 1;
}
.feature-lavender .feature-icon {
    color: var(--lavender-text);
}
.feature h3 {
    font-size: 25px;
}
.feature h3 > span {
    display: block;
    font-size: 14px;
    margin-top: 4px;
    font-weight: 500;
}
.feature > p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--secondary);
    margin-top: 16px;
}
.mini-conversation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 12px;
    margin-top: 28px;
}
.mini-conversation > span {
    background: var(--card);
    padding: 10px 12px;
    border-radius: 12px 12px 12px 0;
}
.mini-conversation > span + span {
    align-self: flex-end;
    background: var(--brand);
    color: var(--card);
    border-radius: 12px 12px 0 12px;
}
.rewrite-example {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
}
.rewrite-example > span {
    color: var(--secondary);
}
.rewrite-example > strong {
    color: var(--lavender-text);
    font-weight: 500;
}
.context-lines {
    margin-top: 28px;
    padding: 16px;
    background: var(--subtle);
    border-radius: 16px;
    display: grid;
    gap: 10px;
}
.context-lines > span {
    display: block;
    height: 6px;
    width: 70%;
    background: var(--border-strong);
    border-radius: 3px;
}
.context-lines > span:nth-child(2) {
    width: 55%;
    justify-self: end;
    background: var(--accent);
}
.context-lines > span:nth-child(3) {
    width: 45%;
}
.feature .feature-footnote {
    font-size: 11px;
    margin-top: 12px;
}
.persona-row {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 20px;
    padding: 28px 32px;
    border: 1px solid var(--border);
    border-radius: 22px;
}
.persona-mark {
    color: var(--accent);
    font-size: 40px;
}
.persona-row h3 {
    font-size: 18px;
}
.persona-row p {
    font-size: 13px;
    color: var(--secondary);
    margin-top: 8px;
}
.persona-row .text-link {
    margin-left: auto;
    flex-shrink: 0;
}
.scene-section {
    background: var(--subtle);
    padding-block: 80px;
}
.scene-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}
.scene-copy > p:not(.section-kicker):not(.demo-notice) {
    font-size: 15px;
    color: var(--secondary);
    margin-top: 20px;
    line-height: 1.9;
}
.scene-buttons {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.scene-buttons button {
    min-height: 56px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 16px;
    text-align: left;
    background: transparent;
    cursor: pointer;
    color: var(--text);
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
}
.scene-buttons button > span {
    font-size: 12px;
    font-weight: 400;
    color: var(--secondary);
    margin-left: auto;
}
.scene-buttons button[aria-pressed="true"] {
    background: var(--card);
    border-color: var(--border-strong);
    color: var(--brand);
    box-shadow: 0 2px 8px rgba(74, 46, 65, 0.04);
}
.scene-buttons button:hover {
    border-color: var(--brand);
}
.demo-notice {
    font-size: 11px;
    margin-top: 16px;
    color: var(--tertiary);
}
.demo-window {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(74, 46, 65, 0.04);
}
.demo-window-top {
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: var(--secondary);
}
.demo-dots {
    display: flex;
    gap: 5px;
}
.demo-dots i {
    width: 6px;
    height: 6px;
    background: var(--border-strong);
    border-radius: 50%;
}
.demo-badge {
    font-size: 10px;
    padding: 2px 8px;
    background: var(--subtle);
    border-radius: 16px;
}
.demo-content {
    padding: 28px;
    min-height: 405px;
}
.demo-context {
    font-size: 12px;
    color: var(--secondary);
    margin-bottom: 24px;
}
.demo-input {
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 16px 16px 16px 0;
    background: var(--page);
}
.demo-input > span {
    color: var(--secondary);
    font-size: 11px;
}
.demo-input > p {
    margin-top: 8px;
    font-size: 15px;
    white-space: pre-line;
}
.demo-divider {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: var(--brand);
    margin-block: 20px;
}
.demo-divider > span:first-child {
    font-size: 20px;
    line-height: 1;
}
.demo-response {
    position: relative;
    padding: 20px;
    border-radius: 16px;
    background: var(--peach);
}
.response-style {
    font-size: 11px;
    color: var(--brand-pressed);
}
.demo-response p {
    font-size: 16px;
    line-height: 1.9;
    margin-top: 8px;
    padding-right: 8px;
}
.response-heart {
    display: block;
    text-align: right;
    color: var(--brand);
    font-size: 22px;
    line-height: 1;
    margin-top: 8px;
}
.demo-tip {
    font-size: 12px;
    color: var(--secondary);
    margin-top: 20px;
}
.demo-bottom {
    padding: 16px 24px;
    background: var(--page);
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--secondary);
}
.demo-bottom > span {
    color: var(--brand);
    margin-right: 6px;
}
.input-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: center;
}
.keyboard-visual {
    min-height: 560px;
    background: var(--lavender);
    border-radius: 28px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.keyboard-photo {
    width: 224px;
    border: 6px solid var(--card);
    border-radius: 32px;
    overflow: hidden;
    transform: rotate(-5deg);
    box-shadow: 0 8px 24px rgba(74, 46, 65, 0.04);
}
.keyboard-caption {
    position: absolute;
    right: 16px;
    bottom: 64px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 16px;
    font-size: 13px;
    transform: rotate(3deg);
}
.keyboard-caption > span:first-child {
    font-size: 28px;
    color: var(--accent);
}
.keyboard-caption strong {
    font-weight: 600;
}
.keyboard-note {
    position: absolute;
    bottom: 16px;
    font-size: 11px;
    color: var(--secondary);
}
.section-description {
    margin-top: 20px;
    color: var(--secondary);
    font-size: 15px;
    line-height: 1.9;
}
.input-list {
    margin: 32px 0 0;
}
.input-list > div {
    padding-block: 20px;
    border-top: 1px solid var(--border);
}
.input-list dt {
    font-size: 15px;
    font-weight: 600;
}
.input-list dd {
    margin: 8px 0 0;
    color: var(--secondary);
    font-size: 13px;
}
.faq-section {
    padding-top: 0;
}
.faq-list {
    border-top: 1px solid var(--border-strong);
}
details {
    border-bottom: 1px solid var(--border);
}
summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 76px;
    font-size: 15px;
    font-weight: 500;
    padding-block: 20px;
}
summary::-webkit-details-marker {
    display: none;
}
summary > span {
    color: var(--brand);
    font-size: 22px;
    flex-shrink: 0;
    transition: transform 180ms;
}
details[open] summary > span {
    transform: rotate(45deg);
}
details p {
    max-width: 800px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--secondary);
    padding-bottom: 24px;
}
.download-section {
    border-radius: 28px;
    background: var(--peach);
    padding: 56px 24px;
    text-align: center;
}
.download-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--brand-pressed);
    font-size: 13px;
    margin-bottom: 24px;
}
.download-section h2 {
    font-size: clamp(32px, 4vw, 48px);
}
.download-section > p {
    color: var(--secondary);
    margin-top: 16px;
    font-size: 15px;
}
.download-status {
    margin: 16px auto 0;
    width: fit-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 16px 24px;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--border-strong);
}
.download-status > span {
    color: var(--brand);
    font-size: 30px;
}
.download-status strong {
    font-size: 15px;
    display: block;
}
.download-status div > span {
    display: block;
    font-size: 11px;
    color: var(--secondary);
    margin-top: 4px;
}
.download-section .download-note {
    font-size: 11px;
    margin-top: 20px;
}
.footer {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 132px;
    font-size: 12px;
    color: var(--secondary);
}
.footer .brand {
    font-size: 20px;
    color: var(--text);
}
.footer > span {
    margin-left: auto;
}
.footer > a:last-child {
    min-height: 44px;
    display: flex;
    align-items: center;
}
/* 中等屏幕减少装饰占位，产品画面与功能正文保持可读。 */
@media (max-width: 1050px) {
    .shell {
        width: calc(100% - 48px);
    }
    .hero {
        min-height: 660px;
    }
    .hero-visual {
        height: 620px;
    }
    .phone {
        width: 218px;
    }
    .floating-message {
        font-size: 13px;
        padding: 12px 16px;
    }
    .incoming {
        top: 125px;
    }
    .outgoing {
        right: 0;
        bottom: 105px;
        padding-right: 40px;
    }
    .feature {
        padding: 24px;
    }
    .scene-layout {
        gap: 40px;
    }
    .input-section {
        gap: 48px;
    }
    .persona-row {
        padding: 24px;
    }
    .persona-row .text-link {
        gap: 12px;
    }
    .keyboard-visual {
        min-height: 540px;
    }
}
/* 手机使用内容顺序自然堆叠，避免固定画布造成文字裁切与横向滚动。 */
@media (max-width: 760px) {
    .shell {
        width: calc(100% - 40px);
    }
    .header-inner {
        min-height: 76px;
        gap: 12px;
        flex-wrap: wrap;
        padding-block: 12px;
    }
    .brand {
        font-size: 23px;
        gap: 8px;
    }
    .brand img {
        width: 36px;
    }
    .brand-sub {
        font-size: 11px;
        margin-left: 6px;
    }
    nav {
        width: 100%;
        order: 3;
        justify-content: space-between;
        gap: 8px;
        font-size: 13px;
        border-top: 1px solid var(--border);
        padding-top: 4px;
    }
    .button-small {
        padding-inline: 14px;
        gap: 12px;
    }
    .hero {
        display: flex;
        flex-direction: column;
        gap: 0;
        min-height: auto;
        align-items: stretch;
    }
    .hero-copy {
        padding-top: 0;
    }
    .intro-label {
        font-size: 12px;
        margin-bottom: 20px;
    }
    h1 {
        font-size: clamp(44px, 11.5vw, 66px);
    }
    .hero-description {
        font-size: 18px;
        margin-top: 24px;
    }
    .hero-detail {
        font-size: 13px;
    }
    .actions {
        margin-top: 24px;
        gap: 24px;
    }
    .button {
        padding-inline: 20px;
        gap: 20px;
    }
    .hero-note {
        margin-top: 20px;
        font-size: 11px;
    }
    .hero-visual {
        height: 620px;
        margin-top: 28px;
    }
    .phone {
        width: 225px;
    }
    .visual-caption {
        top: 12px;
        right: 8px;
        font-size: 11px;
    }
    .incoming {
        left: 0;
        top: 120px;
        font-size: 12px;
    }
    .outgoing {
        bottom: 95px;
        right: 0;
        font-size: 13px;
    }
    .spark-one {
        right: 12px;
        top: 55px;
        font-size: 34px;
    }
    .spark-two {
        left: 8px;
        bottom: 60px;
    }
    .image-note {
        bottom: 12px;
    }
    .belief {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 8px;
        min-height: 120px;
    }
    .belief p {
        font-size: 18px;
    }
    .belief > span {
        font-size: 12px;
    }
    .section {
        padding-block: 64px;
    }
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }
    .section-heading > p {
        font-size: 13px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .feature {
        padding: 24px;
    }
    .feature-top {
        margin-bottom: 16px;
    }
    .mini-conversation,
    .rewrite-example,
    .context-lines {
        margin-top: 24px;
    }
    .persona-row {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px;
        padding: 24px;
    }
    .persona-mark {
        font-size: 28px;
    }
    .persona-row > div:nth-child(2) {
        flex: 1;
    }
    .persona-row h3 {
        font-size: 16px;
    }
    .persona-row .text-link {
        width: 100%;
        margin-left: 0;
        justify-content: flex-end;
    }
    .scene-section {
        padding-block: 56px;
    }
    .scene-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .scene-copy h2 {
        font-size: 30px;
    }
    .scene-buttons {
        margin-top: 24px;
    }
    .demo-content {
        padding: 24px 20px;
        min-height: 420px;
    }
    .demo-window-top {
        padding: 16px 20px;
    }
    .demo-response p {
        font-size: 15px;
    }
    .demo-bottom {
        padding-inline: 20px;
    }
    .input-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .input-copy {
        order: -1;
    }
    .input-list {
        margin-top: 24px;
    }
    .keyboard-visual {
        min-height: 550px;
    }
    .keyboard-caption {
        right: 8px;
        bottom: 60px;
    }
    .faq-section {
        padding-top: 0;
    }
    summary {
        font-size: 14px;
        min-height: 72px;
    }
    details p {
        font-size: 13px;
    }
    .download-section {
        padding: 40px 20px;
    }
    .download-section .download-note {
        font-size: 11px;
    }
    .download-status {
        padding: 16px 20px;
    }
    .footer {
        padding-block: 28px;
        flex-wrap: wrap;
        gap: 16px;
    }
    .footer > p {
        font-size: 11px;
    }
    .footer > span {
        margin-left: 0;
        flex-basis: 65%;
        font-size: 11px;
    }
    .footer > a:last-child {
        margin-left: auto;
        font-size: 11px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
