/* Presentation landing only: existing HF assets, no Journey styling changes. */
.hf-top .top-practice-proof .top-evidence-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; }
.hf-top .top-evidence-metrics li { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; background: #fff; border: 1px solid #e4cdbd; padding: .8rem; border-radius: 12px; }
.hf-top .top-evidence-metrics strong { font-size: 1.8rem; color: #91452e; line-height: 1.3; }
.hf-top .top-evidence-metrics small { font-size: .75rem; color: #625858; }
@media(max-width:639px) { .hf-top .top-practice-proof .top-evidence-metrics { grid-template-columns: 1fr; } }
.top-icon-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.hf-top .top-icon { width: 1.4rem; height: 1.4rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: #a85c50; }
.hf-top .top-relations > button { display: flex; align-items: center; justify-content: center; gap: .45rem; position: relative; }
.hf-top .top-selected-mark { position: absolute; right: .25rem; top: -.35rem; border-radius: 50%; background: #884223; color: white; width: 1.15rem; height: 1.15rem; line-height: 1.15rem; font-size: .75rem; visibility: hidden; }
.hf-top .top-relations > button[aria-pressed=true] .top-selected-mark { visibility: visible; }
.hf-top .top-examples li { display: flex; align-items: flex-start; gap: .5rem; }
.hf-top .top-examples .top-icon { width: 1.1rem; height: 1.1rem; margin-top: .2rem; }
.hf-top .top-support-previews { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; }
.hf-top .top-support-previews details { min-width: 0; border: 1px solid #d9ccc6; border-radius: 12px; background: #fffdf9; align-self: start; }
.hf-top .top-support-previews summary { padding: .8rem; cursor: pointer; min-height: 44px; }
.hf-top .top-support-previews summary .top-icon { vertical-align: middle; margin-right: .35rem; }
.hf-top .top-support-previews summary strong { font-size: .9rem; }
.hf-top .top-support-previews summary > span { display: block; color: #625858; font-size: .8rem; margin-top: .3rem; }
.hf-top .top-support-previews details > p { padding: 0 .8rem .8rem; font-size: .85rem; }
.hf-top .top-practice-proof { padding: 1rem; margin: 1.4rem 0; border-block: 1px solid #e4cdbd; background: #fffcf5ed; border-radius: 12px; }
.hf-top .top-practice-proof h2 { display: flex; align-items: center; gap: .5rem; }
.hf-top .top-practice-proof ul { list-style: none; padding: 0; display: grid; gap: .65rem; }
.hf-top .top-practice-proof li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.hf-top .top-continuation > .text-link { display: flex; justify-content: center; border: 1px solid #b47957; font-weight: 700; background: #fff2df; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.hf-top .top-psa-value > details > summary { border: 1px solid #bc896c; border-radius: 12px; background: #fffdf6; padding: .8rem; font-weight: 700; color: #713d32; }
.hf-top .top-psa-value > details[open] > summary { background: #fff0df; }
@media(max-width:639px) {
  .hf-top .top-support-previews { grid-template-columns: 1fr; }
  .hf-top .top-support-previews summary > span { margin: .15rem 0 0 1.8rem; }
}
body.hf-top {
  --ink: #302727;
  --muted: #625858;
  color: var(--ink);
  font: 1rem/1.75 "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  background: #fbf6f5 url('../images/hf/bg_new.png') no-repeat center top / cover fixed;
}
.hf-top .page-shell, .hf-top .site-header, .hf-top .site-footer { width: min(89.5vw, 725px); }
.hf-top .site-header { min-height: 6rem; justify-content: center; }
.hf-top .brand {
  width: 230px; height: 56px; border-radius: 14px;
  background: white url('../images/hf/logo.svg') no-repeat center / 198px auto;
  font-size: 0; /* The original Japanese link text remains its accessible name. */
}
.hf-top h1, .hf-top h2, .hf-top h3 { font-family: inherit; line-height: 1.5; }
.hf-top h1 { font-size: clamp(1.55rem, 3.5vw, 2.2rem); margin: .7rem 0; letter-spacing: .015em; }
.hf-top h2 { font-size: 1.15rem; margin: 0 0 1rem; }
.hf-top h3 { font-size: 1rem; margin: .2rem 0; }
.hf-top p { margin: .6rem 0; }
.hf-top .top-intro { text-align: center; padding: 1rem; border-radius: 16px; background: rgba(255,255,255,.97); margin-bottom: 1rem; }
.hf-top .top-foundation { font-size: .85rem; color: #625858; letter-spacing: .06em; }
.hf-top .lead { font-size: 1rem; color: #302727; }
.hf-top .lead span { color: #a34520; font-weight: 700; }
.hf-top .top-card, .hf-top .top-support, .hf-top .top-practice { padding: 1.25rem; margin: 1rem 0; background: #fff; border-radius: 16px; box-shadow: 0 3px 18px #653b3510; }
.hf-top .top-card h2 span { color: #ab4054; }
.hf-top [hidden] { display: none !important; }
.hf-top .top-relations, .hf-top .top-examples { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; }
.hf-top .top-relations > button { min-width: 0; min-height: 56px; border: 2px solid #eed9d7; padding: .75rem .4rem; border-radius: 18px; text-align: center; font: inherit; font-weight: 700; color: #302727; background: white; cursor: pointer; }
.hf-top .top-relations > button[aria-pressed="true"] { border-color: #9a4c16; background: linear-gradient(120deg,#ffb3bc,#ffcf9c); }
.hf-top .top-examples { list-style: none; padding: 0; margin: 0; }
.hf-top .top-examples li { padding: .7rem; border-left: 3px solid #eccac2; background: #fcf8f6; line-height: 1.6; font-size: .9rem; }
.hf-top .top-flow { list-style: none; padding: 0; margin: 0; }
.hf-top .top-flow li { display: flex; gap: .8rem; padding: .8rem 0; }
.hf-top .top-flow li > span { color: #a34520; font-weight: 700; }
.hf-top .top-flow p { font-size: .9rem; color: #625858; }
.hf-top .top-note { font-size: .8rem; color: #625858; }
.hf-top .top-preview { padding: 1.25rem; border: 2px solid #f5d391; border-radius: 18px; background: #fffcf4; box-shadow: 0 4px 12px #653b3510; }
.hf-top .top-preview h2 { color: #8f4a12; }
.hf-top .top-preview-action { font-size: 1.2rem; font-weight: 700; }
.hf-top blockquote { margin: 1rem 0 0; background: #fff; border-radius: 18px; padding: .8rem 1rem; }
.hf-top .top-start { text-align: center; padding: .4rem 0; }
.hf-top .primary-action { width: 100%; min-width: 0; min-height: 64px; border: 2px solid #a34d30; border-radius: 999px; background: linear-gradient(110deg,#ff9aa9,#ff9d4d); color: #302727; font-size: 1.125rem; box-shadow: 0 4px 12px #be615b25; }
.hf-top .primary-action:hover { border-color: #302727; }
.hf-top .top-support h2, .hf-top .top-practice { text-align: center; }
.hf-top .top-support h2 small { display: inline-block; font-size: .75rem; color: #625858; }
.hf-top .top-support-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.hf-top .top-support-grid article { border: 1px solid #eadfdd; border-radius: 12px; padding: .9rem; }
.hf-top .top-support-grid p { font-size: .9rem; color: #625858; }
.hf-top .top-support-grid--three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.hf-top .top-login { display: flex; align-items: center; justify-content: center; gap: 2rem; min-height: 48px; border: 1px solid #767676; border-radius: 999px; background: white; color: #302727; font-weight: 700; text-decoration: none; margin: 1.5rem auto; max-width: 360px; }
.hf-top .text-link { min-height: 44px; padding: .5rem; color: #302727; background: white; border-radius: 10px; }
.hf-top .journey-subject-summary { text-align: left; padding: 1rem; background: white; border-radius: 10px; }
.hf-top .sample-notice { margin: 1rem 0; background: white; border-radius: 10px; border-left-color: #ff9d4d; }
.hf-top .site-footer { background: white; padding: 1rem; border-radius: 10px; }
.hf-top :focus-visible { outline: 3px solid #164237; outline-offset: 3px; }
.top-mobile-break { display: none; }
.hf-top .top-flow li, .hf-top .top-psa-examples li { position: relative; border-radius: 12px; }
.hf-top .top-flow li:not(:last-child)::after { content: '→'; position: absolute; right: -.6rem; top: 38%; color: #a86443; font-size: 1.3rem; }
.hf-top .top-psa-art { display: block; width: 100%; height: auto; max-width: 200px; margin: 0 auto .6rem; }
.hf-top .top-psa-examples q { padding: .6rem; background: #fffaf4; border-radius: 12px; }
@keyframes hf-story-emphasis { 0%,100% { box-shadow: inset 0 0 0 2px transparent; } 20%,75% { box-shadow: inset 0 0 0 2px #d6875d; } }
@media(prefers-reduced-motion:no-preference) {
  .hf-top .story-start .top-flow > li, .hf-top .story-start .top-psa-examples > li { animation: hf-story-emphasis 1.5s ease-in-out 1; }
  .hf-top .story-start li:nth-child(2) { animation-delay: 1.5s; }
  .hf-top .story-start li:nth-child(3) { animation-delay: 3s; }
}
@media(prefers-reduced-motion:reduce) {
  .hf-top .top-flow > li, .hf-top .top-psa-examples > li { animation: none !important; }
}
@media(max-width:639px) {
  .hf-top .top-flow li:not(:last-child)::after { content: '↓'; top: auto; bottom: -.6rem; right: 50%; font-size: .9rem; }
  .hf-top .top-psa-art { max-width: 150px; }
}
.hf-top .top-continuation:has(+ .top-today) { margin-bottom: 0; border-radius: 18px 18px 0 0; border-bottom: 0; }
.hf-top .top-continuation + .top-today { margin-top: 0; border-radius: 0 0 22px 22px; }
.hf-top .top-psa-value > .top-psa-examples { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; }
.hf-top .top-psa-value > .top-psa-examples li { border: 0; background: #ffffffd9; border-radius: 12px; padding: .85rem; }
.hf-top .top-psa-explanation { font-weight: 700; }
.hf-top .top-practice-check legend { font-weight: 700; }
@media(max-width:639px) { .hf-top .top-psa-value > .top-psa-examples { grid-template-columns: 1fr; } }
.hf-top .top-today { padding: 1.4rem; margin: 1.4rem 0; border: 2px solid #e7a774; border-radius: 22px; background: linear-gradient(125deg,#fff1d9,#fff7ed); box-shadow: 0 6px 22px #bd794322; }
.hf-top .top-today h2 { font-size: 1.35rem; text-wrap: balance; }
.hf-top .top-today-basis { font-size: .9rem; color: #625858; }
.hf-top .top-today-action { font-size: 1.15rem; font-weight: 700; white-space: pre-line; }
.hf-top .top-today-link { display: inline-flex; min-height: 44px; align-items: center; gap: 1rem; color: #84401f; font-weight: 700; }
.hf-top .top-previous-action summary { min-height: 44px; padding: .5rem 0; cursor: pointer; }
.hf-top .top-next-step { font-size: .9rem; border-left: 3px solid #deac82; padding-left: .8rem; }
.hf-top .top-psa-examples { list-style: none; padding: 0; margin: .6rem 0 0; }
.hf-top .top-psa-examples li { border-top: 1px solid #ebcfc3; padding: .6rem 0; }
.hf-top .top-psa-examples strong { display: block; font-size: .8rem; color: #8b492b; }
.hf-top .top-psa-examples q { display: block; margin-top: .3rem; font-size: .95rem; }
.hf-top .top-example-policy { font-weight: 700; font-size: 1.15rem; }
.hf-top .top-future-support small { font-size: .75rem; font-weight: 400; }
.hf-top .top-visual-flow { padding: 1rem .5rem; background: #fffaf4; border-radius: 18px; margin: 1.4rem 0 .5rem; }
.hf-top .top-visual-flow > h2 { text-align: center; }
.hf-top .top-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; }
.hf-top .top-flow li { display: block; text-align: center; padding: 0; }
.hf-top .top-flow-art { width: 100%; max-width: 160px; height: auto; }
.hf-top .top-flow span { color: #a34520; font-size: .8rem; font-weight: 700; }
.hf-top .top-flow h3 { font-size: .95rem; }
.hf-top .top-flow p { font-size: .8rem; }
.hf-top .top-continuation { background: #fffaf1; border: 1px solid #e8c995; padding: 1.2rem; border-radius: 18px; margin: 1.5rem 0; }
.hf-top .top-saved-action { white-space: pre-line; }
.hf-top .top-practice-check { border: 0; padding: .5rem 0; min-width: 0; }
.hf-top .top-practice-check button { min-height: 44px; background: white; border: 1px solid #a97767; border-radius: 12px; padding: .5rem .8rem; margin: .2rem; font: inherit; color: #302727; cursor: pointer; }
.hf-top .top-practice-check button[aria-pressed=true] { background: #ffddc2; border: 2px solid #955325; }
.hf-top .top-practice-check textarea { display: block; width: 100%; min-height: 80px; }
.hf-top .top-psa-value { padding: 1.4rem; border-radius: 20px; background: linear-gradient(135deg,#fff0f1,#fff6e6); border-top: 4px solid #ef9e83; margin: 2rem 0 1rem; }
.hf-top .top-eyebrow { color: #954625; font-size: .85rem; }
.hf-top .top-value-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hf-top .top-value-comparison > div { padding: .75rem; background: #ffffffc9; border-radius: 10px; }
.hf-top .top-value-comparison p { font-size: .9rem; }
.hf-top .top-delivery { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; font-size: .85rem; }
.hf-top .top-delivery li { background: white; border-radius: 12px; padding: .3rem .6rem; }
.hf-top .top-psa-value summary, .hf-top .top-practice-check summary { cursor: pointer; padding: .7rem 0; min-height: 44px; }
.hf-top .top-future-support { padding: 1rem; background: #ffffffb8; border-radius: 12px; margin: 1rem 0; }
.hf-top .top-future-support h2 { font-size: 1rem; }
/* R22: supportive continuation scene and a quiet, stronger PSA value hierarchy. */
.hf-top .top-resume-summary { display: flex; align-items: center; gap: 1rem; }
.hf-top .top-resume-summary > .journey-subject-summary { flex: 1; min-width: 0; margin: 0; }
.hf-top .top-resume-art { display: block; width: 30%; max-width: 220px; height: auto; flex-shrink: 0; }
.hf-top .top-psa-value { border: 1px solid #e5b49d; border-top: 5px solid #d78e73; background: linear-gradient(145deg,#ffe9ee 0%,#fff7ed 48%,#fff2da 100%); box-shadow: 0 8px 28px #a96c4c18; }
.hf-top .top-psa-value > h2 { font-size: clamp(1.3rem,2.6vw,1.6rem); color: #713d32; font-weight: 800; text-wrap: balance; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 2px solid #e9b9a0; }
.hf-top .top-psa-value > h2 span { display: inline-block; max-width: 100%; }
.hf-top .top-psa-value > .top-psa-examples { gap: .8rem; margin-top: 1rem; }
.hf-top .top-psa-value > .top-psa-examples li { border: 1px solid #e7b5b3; background: #fffaf9; }
.hf-top .top-psa-value > .top-psa-examples li:nth-child(2) { border-color: #bed2d5; background: #f8fcfc; }
.hf-top .top-psa-value > .top-psa-examples li:nth-child(3) { border-color: #ddc59c; background: #fffdf6; }
.hf-top .top-psa-examples strong { font-size: .95rem; line-height: 1.6; color: #713d32; padding: .35rem 0 .5rem; }
.hf-top .top-psa-examples li:nth-child(2) strong { color: #375e63; }
.hf-top .top-psa-examples li:nth-child(3) strong { color: #74502c; }
.hf-top .top-psa-examples q { background: #ffffffb8; margin-top: 0; }
.hf-top .top-delivery { gap: .35rem .5rem; color: #625858; font-size: .8rem; }
.hf-top .top-delivery li { background: #ffffff80; padding: .2rem .5rem; }
@media(max-width:639px) {
  .hf-top .top-resume-summary { gap: .5rem; }
  .hf-top .top-resume-art { width: 28%; }
  .hf-top .top-psa-value { padding: 1.1rem; }
}
@media(max-width:639px) {
  .hf-top .top-flow { grid-template-columns: 1fr; gap: .4rem; }
  .hf-top .top-flow li { display: flex; align-items: center; text-align: left; gap: .7rem; }
  .hf-top .top-flow-art { width: 90px; flex-shrink: 0; }
  .hf-top .top-flow p { margin: .2rem 0; }
  .hf-top .top-value-comparison { grid-template-columns: 1fr; }
}
@media(max-width:960px) {
  body.hf-top { background: #fbf6f5 url('../images/hf/bg_sp_new.png') no-repeat center top / 100% auto; }
}
@media(min-width:640px) and (max-width:960px) {
  .hf-top .page-shell, .hf-top .site-header, .hf-top .site-footer { width: min(86vw,725px); }
}
@media(max-width:639px) {
  .hf-top .top-relations, .hf-top .top-examples { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hf-top .top-card, .hf-top .top-support, .hf-top .top-practice, .hf-top .top-preview { padding: 1rem; }
  .hf-top .top-support-grid, .hf-top .top-support-grid--three { grid-template-columns: 1fr; }
  .hf-top .top-support-grid article { padding: .75rem; }
  .hf-top .top-mobile-break { display: initial; }
  .hf-top .primary-action { font-size: 1rem; padding-inline: .8rem; }
}
