.xf { background: white; }
.xf-wrap { max-width: 1300px; margin: auto; padding: 0 clamp(18px,4vw,66px); }
.xf-back { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .82rem; padding: 22px 0 25px; color: var(--gx-muted); }
.xf-back a, .xf-end a { font-weight: 650; }
.xf-back a:hover { color: var(--gx-link); text-decoration: underline; }
.xf-hero { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items:start; gap:clamp(32px,5vw,84px); }
.xf-stage { aspect-ratio: 4/3; padding: 5%; background: #f3f5f3; border:1px solid var(--gx-line); border-radius:20px; overflow:hidden; }
.xf-stage img.xf-main { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
.xf-stage.is-scene { padding:0; background:#eff3f0; }
.xf-stage.is-scene img.xf-main { mix-blend-mode:normal; }
.xf-gallery figcaption { font-size:.82rem; line-height:1.4; margin:10px 0; color:var(--gx-muted); }
.xf-thumbs { display:flex; flex-wrap:wrap; gap:6px; }
.xf-thumbs a { display:block; width:clamp(48px,5vw,70px); padding:3px; border:1px solid var(--gx-line); background:#fff; border-radius:9px; }
.xf-thumbs a[aria-current], .xf-thumbs a:hover { border-color:#176744; box-shadow:0 0 0 1px #176744; }
.xf-thumbs img { width:100%; height:auto; aspect-ratio:4/3; object-fit:contain; border-radius:5px; }
.xf-intro { padding-top:clamp(6px,1.6vw,27px); }
.xf-intro h1 { margin:12px 0 18px; font-size:clamp(2.3rem,3.65vw,3.8rem); font-weight:710; overflow-wrap:break-word; }
.xf-deck { color:#33483b; font-size:clamp(1rem,1.2vw,1.17rem); line-height:1.57; }
.xf-variants { margin-top:20px; }
.xf-variants strong, .xf-pack h2 { line-height:1.4; font-family:inherit; font-size:.94rem; font-weight:680; letter-spacing:0; }
.xf-variants>div { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.xf-variants a { display:grid; place-items:center; min-height:42px; padding:4px 16px; font-size:.92rem; border:1px solid #b7c7bc; border-radius:9px; font-weight:650; }
.xf-variants a[aria-current], .xf-variants a:hover { background:#133826; border-color:#133826; color:white; }
.xf-pack { margin:20px 0; padding-top:16px; border-top:1px solid var(--gx-line); }
.xf-pack p, .xf-arrival p { margin-top:4px; color:var(--gx-muted); font-size:.94rem; }
.xf-arrival { border-left:3px solid #26aa66; padding:12px 15px; background:#eef6f0; border-radius:0 9px 9px 0; }
.xf-arrival strong { font-size:.94rem; }
.xf-arrival i { display:inline-block; width:8px; height:8px; margin-right:4px; border-radius:50%; background:#15824d; }
.xf-jump { display:flex; gap:clamp(12px,3vw,44px); flex-wrap:wrap; margin:36px 0 0; padding:0; border-top:1px solid var(--gx-line); border-bottom:1px solid var(--gx-line); }
.xf-jump a { display:flex; align-items:center; min-height:52px; color:var(--gx-muted); font-size:.92rem; font-weight:650; }
.xf-jump a:hover { color:var(--gx-link); text-decoration:underline; text-underline-offset:5px; }
.gx .xf-demo { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); align-items:center; gap:clamp(20px,4vw,60px); margin-top:clamp(25px,4vw,54px); background:#edf4ee; border-radius:16px; overflow:hidden; }
.gx .xf-demo .xh-demo-stage { border-radius:0; }
.gx .xf-demo figcaption { padding:22px clamp(20px,3vw,46px) 22px 0; font-weight:650; font-size:clamp(1.35rem,2.35vw,2.3rem); line-height:1.16; letter-spacing:-.035em; color:var(--gx-ink); }
.gx .xf-demo figcaption .gx-label { display:block; margin-bottom:12px; color:var(--gx-link); }
@media (max-width:700px) {
    .gx .xf-demo { grid-template-columns:1fr; gap:0; }
    .gx .xf-demo figcaption { padding:16px 20px 20px; }
    .gx .xf-demo figcaption .gx-label { margin-bottom:6px; }
}
.xf-block { margin-top:clamp(40px,5.5vw,80px); }
.xf-block h2 { font-size:clamp(1.9rem,3.2vw,3.3rem); margin:.14em 0 .66em; }
.xf-stories { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.xf-story { background:var(--gx-tint); border-radius:17px; overflow:hidden; }
.xf-story>div { padding:clamp(20px,2.6vw,40px); }
.xf-story h3 { font-size:clamp(1.45rem,2vw,2.1rem); margin-bottom:12px; }
.xf-story p { color:#35483c; line-height:1.65; }
.xf-story figure { aspect-ratio:16/9; }
.xf-story img { width:100%; height:100%; object-fit:cover; }
.xf-story:first-child { grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); align-items:center; color:white; background:#122d21; }
.xf-story:first-child figure { height:100%; min-height:260px; aspect-ratio:auto; position:relative; }
.xf-story:first-child img { position:absolute; inset:0; }
.xf-story:first-child p { color:#e2ece6; }
.xf-specs { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.6fr); gap:clamp(25px,5vw,70px); }
.xf-specs dl>div { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr); gap:22px; padding:13px 0; border-bottom:1px solid var(--gx-line); }
.xf-specs dl>div:first-child { border-top:1px solid var(--gx-line); }
.xf-specs dt { font-weight:650; }
.xf-specs dd, .xf-note { color:var(--gx-muted); }
.xf-specs .xf-note { margin-top:15px; font-size:.88rem; }
.xf-help { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:clamp(28px,5vw,70px); align-items:start; }
.xf-qa details { border-bottom:1px solid var(--gx-line); }
.xf-qa details:first-of-type { border-top:1px solid var(--gx-line); }
.xf-qa summary { cursor:pointer; display:flex; gap:18px; align-items:center; justify-content:space-between; font-weight:640; padding:15px 0; line-height:1.4; list-style:none; }
.xf-qa summary::-webkit-details-marker { display:none; }
.xf-qa summary::after { content:'+'; font-size:1.4em; color:var(--gx-link); }
.xf-qa details[open] summary::after { content:'−'; }
.xf-qa details p { margin:0 0 15px; color:var(--gx-muted); }
.xf-docs { background:var(--gx-tint); padding:clamp(20px,2.4vw,32px); border-radius:16px; }
.xf-docs h3 { font-size:1.35rem; margin-bottom:8px; }
.xf-docs ul { list-style:none; padding:0; }
.xf-docs li+li { border-top:1px solid var(--gx-line); }
.xf-docs a { display:flex; justify-content:space-between; gap:15px; align-items:center; padding:9px 0; min-height:40px; font-size:.94rem; font-weight:580; color:var(--gx-link); }
.xf-docs a:hover { text-decoration:underline; }
.xf-end { padding:32px 0 48px; }
@media(max-width:760px) {
    .xf-wrap { padding:0 18px; }
    .xf-back { padding:15px 0; }
    .xf-hero, .xf-specs, .xf-help { grid-template-columns:1fr; gap:22px; }
    .xf-intro { padding:0; }
    .xf-intro h1 { font-size:clamp(2.05rem,8vw,3rem); }
    .xf-stage { aspect-ratio:16/11; border-radius:14px; }
    .xf-jump { gap:6px 18px; margin-top:24px; }
    .xf-jump a { min-height:42px; font-size:.83rem; }
    .xf-stories { grid-template-columns:1fr; gap:16px; }
    .xf-story:first-child { display:block; }
    .xf-story:first-child figure { height:auto; min-height:0; aspect-ratio:16/9; }
    .xf-specs { gap:0; }
    .xf-specs dl>div { gap:14px; font-size:.92rem; }
}

@media(max-width:760px) {
    .xf-hero { row-gap:0; }
    .xf-intro { display:contents; }
    .xf-intro>.gx-label, .xf-intro>h1 { order:-2; }
    .xf-intro h1 { margin:6px 0 16px; }
    .xf-gallery { order:-1; margin-bottom:20px; }
}
.xf dl.xf-highlights { margin:20px 0 0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid var(--gx-line); }
.xf-highlights>div { padding:12px 10px 12px 0; }
.xf-highlights>div+div { border-left:1px solid var(--gx-line); padding-left:12px; }
.xf-highlights dt { color:var(--gx-muted); font-size:.78rem; line-height:1.35; }
.xf-highlights dd { margin-top:4px; color:#114d32; font-size:clamp(.92rem,1.15vw,1.12rem); font-weight:720; line-height:1.26; }
.xf-highlights + .xf-pack { border-top:0; padding-top:0; }
.xf-materials table { margin:0; border:0; border-collapse:collapse; width:100%; table-layout:fixed; }
.xf-materials :is(th,td) { text-align:left; padding:14px clamp(12px,1.7vw,24px); line-height:1.5; vertical-align:top; border:0; border-bottom:1px solid var(--gx-line); }
.xf-materials thead th { color:#f1f8f4; background:#173a2a; font-size:.88rem; font-weight:660; }
.xf-materials thead th:first-child { width:25%; border-top-left-radius:10px; }
.xf-materials thead th:nth-child(2) { width:31%; }
.xf-materials thead th:last-child { border-top-right-radius:10px; }
.xf-materials tbody th { font-size:.98rem; font-weight:700; color:#123a26; }
.xf-materials td { font-size:.96rem; color:var(--gx-ink); }
.xf-materials tbody tr:nth-child(even) { background:#f4f7f5; }
.xf-cell-label { display:none; }
@media(max-width:650px) {
    .xf-highlights dt { font-size:.75rem; }
    .xf-highlights>div+div { padding-left:8px; }
    .xf-highlights dd { font-size:.95rem; }
    .xf-materials table, .xf-materials tbody { display:block; }
    .xf-materials thead { position:absolute; width:1px; height:1px; margin:-1px; clip-path:inset(50%); overflow:hidden; }
    .xf-materials tbody tr { display:block; padding:12px 14px; background:#f4f7f5; border-left:3px solid #8ab99b; border-radius:0 9px 9px 0; }
    .xf-materials tbody tr+tr { margin-top:8px; }
    .xf-materials tbody :is(th,td) { display:block; border:0; padding:0; }
    .xf-materials tbody th { font-size:1.02rem; }
    .xf-materials td:first-of-type { font-size:.84rem; color:#315740; margin:3px 0; }
    .xf-cell-label { display:inline; font-weight:650; margin-right:5px; }
    .xf-cell-label::after { content:' ·'; }
}
