.hp-features-heading, .hp-guides-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hp-features-heading > div, .hp-guides-heading > div { min-width: 0; flex: 1; }
.hp-features-heading > p, .hp-guides-heading > p { flex: 0 1 420px; max-width: 420px; margin: 0; }
.hp-feature-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 20px; margin-top: 34px; }
.hp-feature-card { min-width: 0; border: 1px solid var(--sc-line); border-radius: 20px; background: var(--sc-surface); padding: 28px; overflow: hidden; }
.hp-feature-icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--sc-soft); color: var(--sc-accent); }
.hp-feature-icon svg { width: 23px; height: 23px; }
.hp-feature-icon--blue { background: #edf1f4; color: #758f9f; }
.hp-feature-icon--rose { background: #f5eae4; color: #b18273; }
.hp-feature-icon--sand { background: #f4eedf; color: #ae965f; }
.hp-feature-card h3 { color: var(--sc-ink); font-size: 21px; font-weight: 650; line-height: 1.8; letter-spacing: -.3px; margin: 17px 0 12px; }
.hp-feature-card p { color: var(--sc-muted); font-size: 14px; line-height: 2.05; margin: 0; }
.hp-feature-records { grid-row: span 2; background: #eff4eb; padding: 31px 29px 25px; display: flex; flex-direction: column; }
.hp-feature-label { display: block; font-size: 11px; font-weight: 500; color: #7d957e; margin-top: 18px; }
.hp-feature-records h3 { font-size: 28px; line-height: 1.65; margin: 9px 0 14px; }
.hp-feature-records .hp-feature-icon { background: #dfeadd; }
.hp-record-illustration { position: relative; margin: 35px 0 0; padding-top: 4px; }
.hp-record-paper { position: relative; padding: 20px; border: 1px solid #dde7d7; border-radius: 15px; background: var(--sc-surface); box-shadow: 0 10px 20px #344a3310; transform: rotate(-2deg); }
.hp-record-paper::before { content: ''; position: absolute; z-index: -1; inset: 7px -5px -7px 5px; border: 1px solid #dae3d1; border-radius: 15px; background: #f4f7ed; transform: rotate(4deg); }
.hp-record-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--sc-line); }
.hp-record-topline > span:first-child { display: flex; align-items: center; gap: 5px; color: var(--sc-accent); font-size: 11px; font-weight: 600; }
.hp-record-topline svg { width: 17px; height: 17px; }
.hp-record-sample { color: #94a08f; font-size: 9px; background: var(--sc-tint); border-radius: 5px; padding: 2px 6px; }
.hp-record-field { margin-bottom: 13px; }
.hp-record-field > span { display: block; color: #95a08f; font-size: 9px; margin-bottom: 5px; }
.hp-record-field > strong { display: block; color: var(--sc-ink); font-size: 12px; font-weight: 600; }
.hp-record-note { padding: 10px 12px; border-radius: 8px; background: var(--sc-tint); color: var(--sc-muted); font-size: 10px; line-height: 2.1; }
.hp-record-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 5px; color: #8fa086; }
.hp-record-bottom > span:first-child { display: flex; align-items: center; gap: 5px; font-size: 8px; }
.hp-record-bottom svg { width: 14px; height: 14px; }
.hp-record-leaf { display: flex; color: #80956e; }
.hp-record-leaf svg { width: 23px; height: 23px; }
.hp-record-illustration figcaption { color: #91a088; font-size: 10px; text-align: center; margin: 18px 8px 0; line-height: 1.9; }
.hp-feature-chat { grid-column: span 2; padding: 29px 31px; }
.hp-feature-card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.hp-feature-tag { color: var(--sc-muted); font-size: 10px; border: 1px solid var(--sc-line); border-radius: 20px; padding: 5px 10px; }
.hp-feature-chat h3 { font-size: 24px; line-height: 1.75; margin-top: 20px; }
.hp-feature-chat h3 br { display: none; }
.hp-feature-chat p { max-width: 590px; }
.hp-feature-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.hp-feature-topics > span { background: var(--sc-tint); border: 1px solid var(--sc-line); color: var(--sc-muted); border-radius: 7px; font-size: 11px; padding: 5px 10px; }
.hp-feature-images, .hp-feature-emergency { padding: 25px; }
.hp-feature-images h3, .hp-feature-emergency h3 { font-size: 19px; }
.hp-feature-images p, .hp-feature-emergency p { font-size: 13px; }
.hp-feature-detail { display: block; padding-top: 17px; margin-top: 22px; border-top: 1px solid var(--sc-line); color: #8a9b8d; font-size: 10px; line-height: 1.9; }
.hp-emergency-link { color: var(--sc-accent); font-size: 12px; min-height: 44px; }
.hp-emergency-link .hp-svg { width: 17px; height: 17px; margin-inline-start: 6px; }
.hp-emergency-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hp-how { background: var(--sc-tint); border-block: 1px solid var(--sc-line); }
.hp-how-heading { display: block; max-width: 780px; margin-inline: auto; text-align: center; }
.hp-how-heading p { max-width: 600px; margin-inline: auto; }
.hp-how-steps { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.hp-how-step { position: relative; min-width: 0; }
.hp-how-step:not(:last-child)::after { content: ''; position: absolute; top: 24px; inset-inline-start: 70px; width: calc(100% - 40px); border-top: 1px dashed #cbd9cb; }
.hp-how-number { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 49px; height: 49px; border: 1px solid #cbdcca; border-radius: 16px; background: var(--sc-paper); color: var(--sc-accent); font-size: 20px; font-weight: 600; }
.hp-how-step-copy { padding-top: 22px; }
.hp-how-step h3 { color: var(--sc-ink); font-size: 19px; line-height: 1.8; font-weight: 650; margin: 0 0 10px; }
.hp-how-step p { color: var(--sc-muted); font-size: 14px; line-height: 2; margin: 0; }
.hp-how-caption { display: block; color: #849783; font-size: 11px; margin-top: 17px; }
.hp-how-note { display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--sc-muted); border-top: 1px solid var(--sc-line); padding-top: 27px; margin: 39px 0 0; font-size: 12px; text-align: center; line-height: 2; }
.hp-how-note svg { width: 18px; height: 18px; flex-shrink: 0; color: #8ca184; }
.hp-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; margin-top: 36px; }
.hp-guide-card { display: flex; flex-direction: column; min-width: 0; padding: 29px; border: 1px solid var(--sc-line); border-radius: 18px; background: var(--sc-surface); }
.hp-guide-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.hp-guide-number { font-size: 34px; line-height: 1; font-weight: 400; color: #c2cebf; letter-spacing: -2px; }
.hp-guide-card-top .hp-feature-icon { width: 42px; height: 42px; border-radius: 13px; }
.hp-guide-card-top .hp-feature-icon svg { width: 21px; height: 21px; }
.hp-guide-label { display: block; color: #8a9a87; font-size: 11px; margin-bottom: 7px; }
.hp-guide-card h3 { color: var(--sc-ink); font-size: 19px; line-height: 1.8; font-weight: 650; margin: 0 0 12px; }
.hp-guide-card > p { color: var(--sc-muted); font-size: 13px; line-height: 2; margin: 0; }
.hp-guide-card ul { list-style: none; padding: 0; margin: 19px 0 23px; display: grid; gap: 12px; }
.hp-guide-card li { position: relative; padding-inline-start: 16px; color: var(--sc-muted); font-size: 12px; line-height: 2; }
.hp-guide-card li::before { content: ''; position: absolute; inset-inline-start: 0; top: 9px; width: 5px; height: 5px; border: 1px solid #8fa78c; border-radius: 50%; }
.hp-guide-takeaway { color: #6f846d; font-size: 11px; line-height: 1.95; border-top: 1px solid var(--sc-line); padding-top: 18px; margin-top: auto; }
[data-bs-theme="dark"] .hp-feature-records { background: #233529; }
[data-bs-theme="dark"] .hp-feature-records .hp-feature-icon { background: #314b37; }
[data-bs-theme="dark"] .hp-record-paper { border-color: #40513b; }
[data-bs-theme="dark"] .hp-record-paper::before { background: #293b2b; border-color: #40533b; }
[data-bs-theme="dark"] .hp-feature-icon--blue { background: #2a3d45; color: #a0b9c7; }
[data-bs-theme="dark"] .hp-feature-icon--rose { background: #43362f; color: #c6a398; }
[data-bs-theme="dark"] .hp-feature-icon--sand { background: #413e2d; color: #cbb77b; }
[data-bs-theme="dark"] .hp-how-number { border-color: #41573e; }
[data-bs-theme="dark"] .hp-how-step:not(:last-child)::after { border-color: #465b41; }
[data-bs-theme="dark"] .hp-guide-number { color: #5d745b; }
@media (max-width: 1199px) {
    .hp-feature-grid { grid-template-columns: 1fr 1fr; }
    .hp-feature-records { grid-row: span 2; }
    .hp-feature-chat { grid-column: auto; }
    .hp-feature-chat h3 { font-size: 23px; }
    .hp-feature-emergency { grid-column: 1/-1; display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.2fr); gap: 0 20px; align-items: center; }
    .hp-feature-emergency h3 { margin: 0; }
    .hp-feature-emergency p { grid-column: 3; grid-row: 1/3; }
    .hp-feature-emergency .hp-feature-detail { grid-column: 2; margin: 4px 0 0; padding: 0; border: 0; }
    .hp-feature-emergency .hp-feature-icon { grid-row: 1/3; }
    .hp-guide-card { padding: 24px; }
    .hp-guide-card h3 { font-size: 18px; }
    .hp-how-steps { gap: 35px; }
}
@media (max-width: 991px) {
    .hp-features-heading, .hp-guides-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
    .hp-features-heading > p, .hp-guides-heading > p { flex: 0 1 auto; max-width: 620px; }
    .hp-guide-grid { gap: 17px; }
    .hp-guide-card { padding: 22px 20px; }
    .hp-guide-card h3 { font-size: 17px; }
    .hp-how-steps { gap: 26px; }
    .hp-how-step h3 { font-size: 17px; }
    .hp-how-step p { font-size: 13px; }
    .hp-feature-records { padding-inline: 25px; }
    .hp-feature-chat { padding: 25px; }
    .hp-feature-card-top { align-items: flex-start; gap: 10px; }
    .hp-feature-tag { font-size: 9px; padding: 4px 7px; }
    .hp-feature-records h3 { font-size: 26px; }
}
@media (max-width: 767px) {
    .hp-feature-grid { grid-template-columns: 1fr; gap: 17px; margin-top: 26px; }
    .hp-feature-records { grid-row: auto; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 25px; }
    .hp-feature-records h3 { font-size: 25px; }
    .hp-record-illustration { margin-top: 0; }
    .hp-record-paper { padding: 16px; }
    .hp-feature-emergency { grid-column: auto; display: block; }
    .hp-feature-emergency h3 { margin: 17px 0 12px; }
    .hp-feature-emergency .hp-feature-detail { padding-top: 17px; margin-top: 22px; border-top: 1px solid var(--sc-line); }
    .hp-feature-images p, .hp-feature-emergency p { font-size: 14px; }
    .hp-feature-detail { font-size: 11px; }
    .hp-how-heading { text-align: start; }
    .hp-how-heading p { margin-inline: 0; }
    .hp-how-steps { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
    .hp-how-step { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 19px; }
    .hp-how-number { width: 45px; height: 45px; border-radius: 14px; font-size: 19px; }
    .hp-how-step:not(:last-child)::after { top: 58px; bottom: -15px; inset-inline-start: 22px; width: 0; border-top: 0; border-inline-start: 1px dashed #cbd9cb; }
    .hp-how-step-copy { padding-top: 5px; }
    .hp-how-step h3 { font-size: 19px; margin-bottom: 8px; }
    .hp-how-step p { font-size: 14px; }
    .hp-how-caption { margin-top: 11px; }
    .hp-how-note { margin-top: 30px; padding-top: 22px; text-align: start; justify-content: flex-start; align-items: flex-start; font-size: 12px; }
    .hp-how-note svg { margin-top: 3px; }
    .hp-guide-grid { grid-template-columns: 1fr; gap: 17px; margin-top: 27px; }
    .hp-guide-card { padding: 25px; }
    .hp-guide-card-top { margin-bottom: 20px; }
    .hp-guide-card h3 { font-size: 21px; }
    .hp-guide-card > p, .hp-guide-card li { font-size: 14px; }
    .hp-guide-card li::before { top: 12px; }
    .hp-guide-takeaway { font-size: 12px; }
}
@media (max-width: 575px) {
    .hp-feature-card { padding: 24px 22px; border-radius: 17px; }
    .hp-feature-records { display: flex; gap: 0; }
    .hp-feature-copy { width: 100%; }
    .hp-feature-records h3 { font-size: 28px; }
    .hp-feature-records h3 br { display: none; }
    .hp-record-illustration { width: 100%; max-width: 315px; align-self: center; margin: 27px 0 0; padding: 0 3px; }
    .hp-record-paper { padding: 19px; }
    .hp-record-field > span, .hp-record-sample { font-size: 10px; }
    .hp-record-field > strong { font-size: 13px; }
    .hp-record-note { font-size: 11px; }
    .hp-record-bottom > span:first-child { font-size: 9px; }
    .hp-record-illustration figcaption { font-size: 11px; }
    .hp-feature-chat h3 { font-size: 23px; }
    .hp-feature-card h3 { margin-top: 16px; }
    .hp-feature-icon { width: 43px; height: 43px; border-radius: 13px; }
    .hp-feature-icon svg { width: 22px; height: 22px; }
    .hp-feature-card-top { align-items: center; }
    .hp-feature-tag { font-size: 9px; max-width: 175px; text-align: center; }
    .hp-feature-topics { gap: 6px; margin-top: 20px; }
    .hp-feature-topics > span { font-size: 10px; padding: 5px 8px; }
    .hp-feature-images h3, .hp-feature-emergency h3 { font-size: 20px; }
    .hp-how-step { gap: 16px; grid-template-columns: 42px minmax(0, 1fr); }
    .hp-how-number { width: 42px; height: 42px; }
    .hp-how-step:not(:last-child)::after { inset-inline-start: 20px; }
    .hp-how-step h3 { font-size: 18px; }
    .hp-how-step p { line-height: 2; }
    .hp-how-caption { font-size: 11px; }
    .hp-guide-card { padding: 23px 22px; }
    .hp-guide-card h3 { font-size: 20px; }
    .hp-guide-number { font-size: 32px; }
}
