/* Head-Light home — creator edition (2026-09-28).
   The hero above stays exactly as it was. Everything below lives inside .hx
   and is scoped so the older page rules cannot leak in. */
.hx {
  --ink: #0c0c0d;
  --ink2: #3a3a3e;
  --mute: #6e6e73;
  --line: #e8e8ec;
  --soft: #f5f5f7;
  --softer: #fafafa;
  --warm: #b08d57;
  --plan: #2f6bff;
  --todo: #14a870;
  --idea: #f0a21a;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--ink);
  font-family: var(--display);
  background: #fff;
  overflow-x: clip;
}
:where(.hx) section { padding: 0; border: 0; scroll-margin-top: 60px; }
:where(.hx) p { max-width: none; margin: 0; }
.hx h2, .hx h3 { font-family: var(--display); text-wrap: balance; }
:where(.hx) h2, :where(.hx) h3 { margin: 0; }
.hx a { color: inherit; }
.hx img { max-width: 100%; }
.hx-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hx-anchor { position: relative; top: -60px; display: block; height: 0; }
.hx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Shared type */
.hx-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
}
.hx-eyebrow b { color: var(--ink); font-weight: 600; }
.hx-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .5; }
.hx-h {
  font-size: clamp(38px, 6.2vw, 88px); line-height: 1.04; font-weight: 700; letter-spacing: -.045em;
  margin-top: 22px;
}
html[lang="ja"] .hx-h, html[lang="zh-Hant"] .hx-h, html[lang="ko"] .hx-h { letter-spacing: -.035em; line-height: 1.16; }
.hx-lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.75; color: var(--mute); max-width: 36em; margin-top: 24px; }
.hx-lead b { color: var(--ink); font-weight: 600; }
.hx-badge {
  display: inline-block; padding: 5px 11px; border-radius: 999px; font: 600 11px/1.2 var(--mono);
  letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); color: var(--ink2); background: #fff;
}
.hx-badge.hb { color: #fff; border: 0; background: linear-gradient(100deg, #0c0c0d, #3a3a3e); box-shadow: 0 0 0 1px #0000000d, 0 6px 18px #ffcc5a33; }

/* Reveal on scroll */
.hx [data-reveal] {
  opacity: 0; transform: translateY(34px); filter: blur(8px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.hx [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* Scroll progress line */
.hx-progress { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #0c0c0d, #b08d57 70%, #ffd98a); pointer-events: none; }

/* ---------- 1. Pitch: words light up as you scroll ---------- */
.hx-pitch { padding: clamp(110px, 18vh, 200px) 0 clamp(90px, 14vh, 160px); text-align: left; }
.hx-pitch-lines { font-size: clamp(44px, 7vw, 112px); font-weight: 800; line-height: 1.02; letter-spacing: -.055em; margin: 22px 0 0; }
html[lang="ja"] .hx-pitch-lines, html[lang="zh-Hant"] .hx-pitch-lines, html[lang="ko"] .hx-pitch-lines { font-size: clamp(40px, 8.2vw, 128px); letter-spacing: -.04em; line-height: 1.14; }
.hx-pitch-lines > span { display: block; }
.hx-pitch-lines > span + span { margin-top: .08em; }
.hx-ch { color: #dcdce1; transition: color .45s ease; }
.hx-ch.lit { color: var(--ink); }
.hx-ch.lit[style] { color: var(--c); }
.hx-pitch-sub { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; margin-top: 56px; }
.hx-pitch-sub p { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.75; color: var(--mute); max-width: 32em; }
.hx-scrollcue { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; animation: hxBob 2.6s ease-in-out infinite; }
.hx-scrollcue svg { width: 20px; height: 20px; }
@keyframes hxBob { 50% { transform: translateY(8px); } }

/* ---------- 2. Marquee ---------- */
.hx-marquee { padding: 10px 0 20px; border-block: 1px solid var(--line) !important; overflow: hidden; user-select: none; }
.hx-mrow { display: flex; width: max-content; will-change: transform; }
.hx-mrow span { flex: none; font-size: clamp(54px, 9vw, 136px); font-weight: 800; letter-spacing: -.05em; line-height: 1.15; padding-right: .42em; white-space: nowrap; }
.hx-mrow span:nth-child(even) { color: #d4d4d9; }
.hx-mrow span i { font-style: normal; display: inline-block; width: .22em; height: .22em; border-radius: 50%; background: var(--warm); vertical-align: middle; margin-left: .42em; transform: translateY(-.05em); }
.hx-mrow.small span { font-size: clamp(18px, 2.2vw, 28px); font-weight: 600; letter-spacing: .16em; font-family: var(--mono); -webkit-text-stroke: 0; color: var(--mute); padding-right: 2.4em; }
.hx-mrow.small span:nth-child(even) { color: var(--ink); }

/* ---------- 3. Shelf: covers fly in and settle ---------- */
.hx-shelf { position: relative; height: 330vh; }
.hx-shelf-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 1400px; }
.hx-shelf-copy { position: absolute; z-index: 20; left: 50%; top: calc(60px + 5vh); width: min(1180px, calc(100% - 48px)); transform: translateX(-50%); pointer-events: none; }
.hx-shelf-copy .hx-h { font-size: clamp(34px, 5vw, 72px); max-width: 12em; }
.hx-shelf-copy .hx-lead { max-width: 34em; transition: opacity .6s; }
.hx-cover {
  position: absolute; left: 0; top: 0; z-index: 2;
  border-radius: 10px; background-color: #111; background-repeat: no-repeat;
  box-shadow: 0 30px 60px -20px #0006, 0 10px 20px -10px #0004, inset 0 0 0 1px #ffffff14;
  will-change: transform; transform-style: preserve-3d; backface-visibility: hidden;
}
.hx-cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, #ffffff38, transparent 38%, transparent 70%, #ffffff12); pointer-events: none; }
.hx-shelf-board { position: absolute; z-index: 1; height: 10px; border-radius: 3px; background: linear-gradient(#f1f1f3, #e2e2e6); box-shadow: 0 18px 30px -12px #0003; opacity: 0; transform: scaleX(.7); transition: opacity .6s, transform .9s var(--ease); }
.hx-shelf.settled .hx-shelf-board { opacity: 1; transform: none; }
.hx-shelf-hint { position: absolute; z-index: 5; bottom: 28px; left: 50%; transform: translateX(-50%); font: 600 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); transition: opacity .5s; }
.hx-shelf.settled .hx-shelf-hint { opacity: 0; }

.hx-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; margin-top: 30px; }
.hx-point { background: #fff; padding: 34px 32px 38px; }
.hx-point .n { font: 600 12px/1 var(--mono); color: var(--mute); letter-spacing: .12em; }
.hx-point h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 18px; }
.hx-point p { color: var(--mute); line-height: 1.7; margin-top: 10px; font-size: 16px; }

.hx-make { padding: clamp(80px, 12vh, 130px) 0 40px; text-align: center; }
.hx-make .big { font-size: clamp(44px, 8.6vw, 132px); font-weight: 800; letter-spacing: -.055em; line-height: .98; }
.hx-make .big em { font-style: normal; background: linear-gradient(95deg, #0c0c0d 10%, #8a6a3d 55%, #e2b061 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-make p:not(.big) { color: var(--mute); font-size: clamp(17px, 1.6vw, 20px); margin-top: 22px; }

/* Music video */
.hx-video { padding: 60px 0 clamp(110px, 16vh, 170px); }
.hx-video-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 56px; align-items: center; }
.hx-video h3 { font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.035em; line-height: 1.15; }
.hx-video p { color: var(--mute); line-height: 1.75; margin-top: 16px; font-size: 17px; }
.hx-video-frame { position: relative; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 50px 100px -40px #0007, 0 0 0 1px #0000000f; aspect-ratio: 16 / 9; transform: perspective(1600px) rotateX(var(--rx, 8deg)) scale(var(--vs, .94)); transform-origin: 50% 100%; transition: transform .2s linear; }
.hx-video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hx-video-glow { position: absolute; inset: -12% -8%; z-index: -1; background: url("../img/video-posters/collection-music-ja.jpg") center / cover; filter: blur(70px) saturate(1.5); opacity: .35; border-radius: 50%; }
.hx-video-box { position: relative; isolation: isolate; }

/* ---------- 4. Voice ---------- */
.hx-voice { padding: clamp(110px, 16vh, 170px) 0; background: #fff; }
.hx-voice-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 40px; align-items: center; }
.hx-voice-stage { position: relative; }
.hx-voice-stage img { display: block; width: 100%; height: auto; }
.hx-waves { position: absolute; left: 12%; top: 40%; width: 0; height: 0; pointer-events: none; }
.hx-waves i { position: absolute; left: 0; top: 0; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border: 1.5px solid #0c0c0d55; opacity: 0; animation: hxWave 3s ease-out infinite; }
.hx-waves i:nth-child(2) { animation-delay: 1s; }
.hx-waves i:nth-child(3) { animation-delay: 2s; }
@keyframes hxWave { 0% { transform: scale(.4); opacity: .0; } 12% { opacity: .7; } 100% { transform: scale(4.4); opacity: 0; } }
.hx-transcript {
  position: absolute; right: 2%; bottom: 3%; width: min(360px, 74%);
  padding: 18px 20px 16px; border-radius: 22px; background: #ffffffd9; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 30px 60px -24px #0004, 0 0 0 1px #0000000d; font-size: 16px; line-height: 1.6; min-height: 112px;
}
.hx-tx-head { display: flex; align-items: center; gap: 10px; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hx-tx-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: hxPulse 1.2s ease-in-out infinite; }
.hx-transcript.saved .hx-tx-head .dot { background: var(--todo); animation: none; }
@keyframes hxPulse { 50% { opacity: .25; } }
.hx-tx-body { margin-top: 10px; min-height: 3.2em; }
.hx-tx-body .trig { display: inline-block; padding: 0 6px; margin-left: 2px; border-radius: 6px; background: #0c0c0d; color: #fff; font-weight: 600; }
.hx-tx-body .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--ink); vertical-align: -3px; margin-left: 2px; animation: hxPulse .9s steps(1) infinite; }
.hx-tx-bars { display: flex; gap: 3px; align-items: center; height: 18px; margin-left: auto; }
.hx-tx-bars b { width: 3px; border-radius: 2px; background: var(--ink); height: 30%; animation: hxBar 1s ease-in-out infinite; }
.hx-tx-bars b:nth-child(2) { animation-delay: .15s; } .hx-tx-bars b:nth-child(3) { animation-delay: .3s; } .hx-tx-bars b:nth-child(4) { animation-delay: .45s; } .hx-tx-bars b:nth-child(5) { animation-delay: .6s; }
@keyframes hxBar { 50% { height: 100%; } }
.hx-transcript.saved .hx-tx-bars b { animation: none; height: 20%; opacity: .3; }
.hx-voice .hx-shot-row { display: flex; gap: 14px; margin-top: 34px; }

/* ---------- 5. Sort (High Beam) ---------- */
.hx-sort { padding: clamp(110px, 16vh, 170px) 0; }
.hx-sort-panel { margin-top: 56px; border-radius: 40px; background: var(--soft); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.hx-sort-panel::before { content: ""; position: absolute; inset: -40% -10% auto; height: 80%; background: radial-gradient(closest-side, #ffe3a866, transparent); pointer-events: none; }
.hx-quote { position: relative; font-size: clamp(19px, 2.2vw, 30px); line-height: 1.55; letter-spacing: -.015em; font-weight: 600; color: #9a9aa0; max-width: 30em; }
.hx-quote mark { background: none; color: #9a9aa0; transition: color .5s, background-size .8s var(--ease); background-image: linear-gradient(transparent 62%, var(--hl) 62%); background-size: 0 100%; background-repeat: no-repeat; padding: 0 2px; }
.hx-quote mark.m1 { --hl: #2f6bff33; } .hx-quote mark.m2 { --hl: #14a87033; } .hx-quote mark.m3 { --hl: #f0a21a40; }
.hx-sort[data-step="1"] mark.m1, .hx-sort[data-step="2"] mark.m1, .hx-sort[data-step="3"] mark.m1, .hx-sort[data-step="4"] mark.m1,
.hx-sort[data-step="2"] mark.m2, .hx-sort[data-step="3"] mark.m2, .hx-sort[data-step="4"] mark.m2,
.hx-sort[data-step="3"] mark.m3, .hx-sort[data-step="4"] mark.m3 { color: var(--ink); background-size: 100% 100%; }
.hx-dests { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.hx-dest { background: #fff; border-radius: 24px; padding: 24px 24px 26px; box-shadow: 0 1px 0 #0000000a, 0 24px 40px -28px #0003; opacity: .35; transform: translateY(26px) scale(.97); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.hx-sort[data-step="1"] .hx-dest:nth-child(1), .hx-sort[data-step="2"] .hx-dest:nth-child(-n+2), .hx-sort[data-step="3"] .hx-dest, .hx-sort[data-step="4"] .hx-dest { opacity: 1; transform: none; }
.hx-dest .tag { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.hx-dest .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.hx-dest:nth-child(1) { --c: var(--plan); } .hx-dest:nth-child(2) { --c: var(--todo); } .hx-dest:nth-child(3) { --c: var(--idea); }
.hx-dest h3 { font-size: 21px; letter-spacing: -.02em; margin-top: 16px; line-height: 1.35; }
.hx-dest p { color: var(--mute); margin-top: 8px; font-size: 15px; line-height: 1.6; }
.hx-dest .ico { float: right; font-size: 26px; line-height: 1; }
.hx-sort-note { margin-top: 28px; color: var(--mute); font-size: 16px; }

/* ---------- 6. Bento ---------- */
.hx-tools { padding: clamp(110px, 16vh, 170px) 0; background: #fff; }
.hx-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 56px; }
.hx-card {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; border-radius: 32px; background: #fff; padding: 34px 34px 0;
  box-shadow: 0 0 0 1px #0000000a, 0 30px 60px -44px #0003; min-height: 420px; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  transform: perspective(1200px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
}
.hx-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), #ffcf7a26, transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.hx-card:hover::before { opacity: 1; }
.hx-card:hover { box-shadow: 0 0 0 1px #00000012, 0 40px 80px -40px #0004; }
.hx-card .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hx-card .kind { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hx-card h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; line-height: 1.2; margin-top: 18px; }
.hx-card p { color: var(--mute); line-height: 1.65; margin-top: 10px; font-size: 16px; }
.hx-card .shots { margin-top: auto; padding-top: 28px; display: flex; justify-content: center; gap: 14px; }
.c-journal { grid-column: span 3; }
.c-routine { grid-column: span 3; }
.c-tidy { grid-column: span 2; }
.c-hand { grid-column: span 4; padding-bottom: 34px; }
.c-list { grid-column: span 6; min-height: 0; padding: 34px 0 34px; }
.c-list .top, .c-list h3, .c-list p { padding-inline: 34px; }

.hx-phone { flex: none; width: 210px; padding: 7px; border-radius: 38px; background: linear-gradient(145deg, #2a2a2d, #0d0d0e); box-shadow: 0 30px 50px -24px #0006; transform: translateY(var(--py, 40px)); transition: transform 1s var(--ease); }
.hx-phone img { display: block; width: 100%; height: auto; border-radius: 31px; }
.hx-card.is-in .hx-phone { --py: 36px; }
.hx-card:hover .hx-phone { --py: 18px; }
.hx-card:hover .hx-phone + .hx-phone { --py: 6px; }
.c-routine .hx-phone:nth-child(2) { margin-left: -60px; margin-top: 50px; }

.hx-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.hx-chat { border-radius: 22px; padding: 20px 22px; background: var(--soft); }
.hx-chat.yours { background: #0c0c0d; color: #fff; }
.hx-chat .lbl { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.hx-chat .q { margin-top: 14px; font-weight: 600; font-size: 15px; }
.hx-chat .a { margin-top: 10px; font-size: 15px; line-height: 1.65; opacity: .85; }
.hx-chat .n { margin-top: 12px; font-size: 13px; opacity: .55; }
.hx-chat.yours .n { opacity: .8; color: #ffd98a; }

.hx-chips { display: grid; gap: 12px; margin-top: 28px; }
.hx-chiprow { display: flex; gap: 12px; width: max-content; animation: hxSlide 48s linear infinite; }
.hx-chiprow.rev { animation-direction: reverse; animation-duration: 56s; }
.hx-chips:hover .hx-chiprow { animation-play-state: paused; }
.hx-chip { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px 13px 16px; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: 16px; white-space: nowrap; }
.hx-chip span:first-child { font-size: 20px; }
@keyframes hxSlide { to { transform: translateX(-50%); } }
.hx-more { display: inline-flex; align-items: center; gap: 8px; margin: 26px 34px 0; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.hx-more:hover { color: var(--warm); }

/* ---------- 7. Design ---------- */
.hx-design { padding: clamp(110px, 16vh, 170px) 0 0; text-align: center; overflow: hidden; }
.hx-design .hx-lead { margin-inline: auto; }
.hx-design .design-gallery { margin-top: 40px; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.hx-design .hero-design-wall { opacity: 1; }
.hx-cta-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 34px; }
.hx-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px;
  background: var(--ink); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 16px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); box-shadow: 0 14px 30px -14px #0008;
}
.hx-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px #000a; }
.hx-btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.hx-btn:hover svg { transform: translateX(4px); }
.hx-link-quiet { color: var(--mute) !important; font-size: 15px; text-decoration: none; border-bottom: 1px dashed currentColor; background: none; border-top: 0; border-inline: 0; cursor: pointer; font-family: inherit; padding: 0 0 1px; }

/* ---------- 8. Name ---------- */
.hx-name { padding: clamp(120px, 18vh, 200px) 0 clamp(80px, 12vh, 140px); text-align: center; }
.hx-ring { position: relative; width: clamp(150px, 18vw, 220px); aspect-ratio: 1; margin: 0 auto; border-radius: 22.5%; overflow: hidden; box-shadow: 0 40px 80px -30px #0008; animation: hxHalo 4.5s ease-in-out infinite; }
.hx-ring img { display: block; width: 100%; height: 100%; }
/* The real icon stays as is; only its light breathes. */
.hx-ring::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 38%, #fff3dcaa 40.5%, #ffe6b855 50%, transparent 66%); mix-blend-mode: screen; opacity: 0; animation: hxBreathe 4.5s ease-in-out infinite; }
@keyframes hxBreathe { 50% { opacity: .9; } }
@keyframes hxHalo { 50% { box-shadow: 0 40px 80px -30px #0008, 0 0 60px 6px #ffe9c255; } }
.hx-name .hx-h { margin-top: 52px; }
.hx-name .hx-lead { margin-inline: auto; max-width: 34em; }
.hx-kana { display: block; margin-top: 30px; font: 600 12px/1 var(--mono); letter-spacing: .3em; color: var(--mute); }

.hx-story { padding: 0 0 clamp(110px, 16vh, 170px); }
.hx-story-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; border-top: 1px solid var(--line); padding-top: 72px; }
.hx-story-grid .stick { position: sticky; top: 110px; align-self: start; }
.hx-story .hx-h { font-size: clamp(30px, 3.3vw, 48px); }
.hx-avatar { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.hx-avatar b { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 22px; }
.hx-avatar span { font-weight: 600; }
.hx-avatar small { display: block; color: var(--mute); font-size: 13px; font-weight: 400; }
.hx-story-text h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.025em; line-height: 1.35; }
.hx-story-text p { font-size: 18px; line-height: 1.95; color: var(--ink2); margin-top: 22px; }

/* ---------- 9. Promise ---------- */
.hx-promise { padding: clamp(100px, 14vh, 150px) 0; background: #fff; }
.hx-promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.hx-prom { background: var(--soft); border-radius: 28px; padding: 30px 26px 32px; }
.hx-prom svg { width: 34px; height: 34px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hx-prom h3 { font-size: 20px; letter-spacing: -.02em; margin-top: 22px; line-height: 1.35; }
.hx-prom p { color: var(--mute); margin-top: 8px; font-size: 15px; line-height: 1.65; }
.hx-promise .hx-more { margin: 30px 0 0; }

/* ---------- 10. Pricing ---------- */
.hx-pricing { padding: clamp(110px, 16vh, 170px) 0; text-align: center; }
.hx-pricing .hx-lead { margin-inline: auto; }
.hx-plans { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 18px; margin-top: 60px; text-align: left; align-items: stretch; }
.hx-plan { border-radius: 30px; padding: 34px 30px 36px; background: #fff; box-shadow: 0 0 0 1px var(--line); position: relative; }
.hx-plan h3 { font-size: 26px; letter-spacing: -.03em; }
.hx-plan .tag { display: block; margin-top: 8px; color: var(--mute); font-size: 15px; }
.hx-plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.hx-plan li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.55; }
.hx-plan li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%; }
.hx-plan.hb { color: #fff; background: #0c0c0d; box-shadow: none; isolation: isolate; }
.hx-plan.hb::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 31px; padding: 1px; background: conic-gradient(from var(--a, 0deg), #ffd98a, #0c0c0d 25%, #0c0c0d 55%, #b08d57 75%, #ffd98a); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hxBorder 6s linear infinite; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes hxBorder { to { --a: 360deg; } }
.hx-plan.hb .tag { color: #ffd98a; }
.hx-plan.hb li::before { background-color: #ffd98a; filter: invert(0); }
.hx-plan.hb li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%230c0c0d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hx-plan.hb .glow { position: absolute; inset: auto 10% -30px; height: 60px; background: #ffcf7a; filter: blur(50px); opacity: .35; z-index: -2; }
.hx-price-note { color: var(--mute); font-size: 13.5px; line-height: 1.7; margin: 30px auto 0; max-width: 52em; }
.hx-price-note a { color: var(--mute); }

/* ---------- 11. Support ---------- */
.hx-support { padding: clamp(100px, 14vh, 150px) 0; background: #fff; }
.hx-support-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; }
.hx-support .hx-h { font-size: clamp(30px, 3.4vw, 50px); }
.hx-contacts { display: grid; gap: 10px; margin-top: 30px; }
.hx-contacts a { background: var(--soft) !important; display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: 18px; background: #fff; text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; font-size: 15px; }
.hx-contacts a:hover { transform: translateX(4px); box-shadow: 0 0 0 1px var(--ink); }
.hx-contacts a span:first-child { color: var(--mute); }
.hx-contacts a span:last-child { font-weight: 600; overflow-wrap: anywhere; text-align: right; }
.hx-faq details { border-bottom: 1px solid var(--line); }
.hx-faq details:first-child { border-top: 1px solid var(--line); }
.hx-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.hx-faq summary::-webkit-details-marker { display: none; }
.hx-faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 100% no-repeat; transition: transform .4s var(--ease); }
.hx-faq details[open] summary::after { transform: rotate(135deg); }
.hx-faq details p { color: var(--mute); line-height: 1.8; padding: 0 0 26px; font-size: 16px; }

/* ---------- 12. Final ---------- */
.hx-final { padding: clamp(130px, 20vh, 220px) 0 clamp(110px, 16vh, 170px); text-align: center; position: relative; overflow: hidden; }
.hx-final::before { content: ""; position: absolute; left: 50%; top: 58%; width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, #ffe9c2aa, #ffffff00 70%); animation: hxBreath 7s ease-in-out infinite; z-index: 0; }
@keyframes hxBreath { 50% { transform: translate(-50%, -50%) scale(1.12); opacity: .75; } }
.hx-final > * { position: relative; z-index: 1; }
.hx-final img.icon { width: 88px; border-radius: 22px; box-shadow: 0 20px 40px -18px #0007; }
.hx-final .big { font-size: clamp(34px, 6vw, 96px); font-weight: 800; letter-spacing: -.055em; line-height: 1.03; margin-top: 40px; }
html[lang="ja"] .hx-final .big, html[lang="zh-Hant"] .hx-final .big, html[lang="ko"] .hx-final .big { letter-spacing: -.04em; line-height: 1.15; }
.hx-final .big span { display: block; }
.hx-final .sub { color: var(--mute); margin-top: 24px; font-size: 18px; }
.hx-final-cta { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 40px; }
.hx-final-cta .app-store-link { display: inline-block; transition: transform .35s var(--ease); }
.hx-final-cta .app-store-link:hover { transform: translateY(-3px) scale(1.03); }
.hx-final-cta .app-store-badge { width: 170px; height: auto; }
.hx-qr { display: flex; align-items: center; gap: 12px; text-align: left; font-size: 13px; color: var(--mute); }
.hx-qr img { width: 76px; height: 76px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }

/* Footer */
.hx-footer { background: #fff !important; margin: 0 !important; text-align: left !important; border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 13px; color: var(--mute); }
.hx-footer .hx-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; }
.hx-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hx-footer a { color: var(--mute); text-decoration: none; }
.hx-footer a:hover { color: var(--ink); }

/* Hide the legacy footer and old reveal helpers if any remain. */
body > footer:not(.hx-footer) { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hx-bento { grid-template-columns: 1fr 1fr; }
  .c-journal, .c-routine, .c-tidy, .c-hand { grid-column: span 2; }
  .c-list { grid-column: span 2; }
  .hx-promise-grid { grid-template-columns: 1fr 1fr; }
  .hx-plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .hx-story-grid, .hx-support-grid { grid-template-columns: 1fr; gap: 40px; }
  .hx-story-grid .stick { position: static; }
  .hx-video-grid { grid-template-columns: 1fr; gap: 30px; }
  .hx-voice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hx-wrap { width: calc(100% - 32px); }
  .hx-h { margin-top: 16px; }
  .hx-pitch-sub { grid-template-columns: 1fr; margin-top: 36px; }
  .hx-scrollcue { display: none; }
  .hx-shelf { height: 300vh; }
  .hx-shelf-copy { width: calc(100% - 32px); top: calc(60px + 3vh); }
  .hx-shelf-copy .hx-lead { display: none; }
  .hx-points { grid-template-columns: 1fr; border-radius: 22px; }
  .hx-point { padding: 26px 22px 28px; }
  .hx-dests { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .hx-sort-panel { border-radius: 28px; margin-top: 36px; }
  .hx-bento { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .c-journal, .c-routine, .c-tidy, .c-hand, .c-list { grid-column: auto; }
  .hx-card { border-radius: 26px; padding: 26px 22px 0; min-height: 0; }
  .c-hand { padding-bottom: 24px; }
  .c-list { padding: 26px 0; }
  .c-list .top, .c-list h3, .c-list p { padding-inline: 22px; }
  .hx-more { margin-inline: 22px; }
  .hx-phone { width: 176px; border-radius: 32px; padding: 6px; }
  .hx-phone img { border-radius: 26px; }
  .c-routine .hx-phone:nth-child(2) { margin-left: -46px; }
  .hx-compare { grid-template-columns: 1fr; }
  .hx-promise-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .hx-prom { display: grid; grid-template-columns: 34px 1fr; column-gap: 18px; padding: 24px 22px; }
  .hx-prom svg { grid-row: span 2; }
  .hx-prom h3 { margin-top: 2px; }
  .hx-plans { margin-top: 40px; }
  .hx-design .design-gallery { height: 440px; }
  .hx-transcript { position: relative; right: auto; bottom: auto; width: auto; margin: -10px 8px 0; }
  .hx-qr { display: none; }
  .hx-faq summary { font-size: 17px; padding: 20px 0; }
  .hx-story-text p { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx *, .hx *::before, .hx *::after { animation: none !important; transition: none !important; }
  .hx [data-reveal] { opacity: 1; transform: none; filter: none; }
  .hx-ch { color: var(--ink); }
  .hx-shelf { height: auto; }
  .hx-shelf-stage { position: relative; height: auto; min-height: 100vh; }
  .hx-dest { opacity: 1; transform: none; }
  .hx-quote mark { color: var(--ink); background-size: 100% 100%; }
}

/* Japanese headings: break at the phrase, not in the middle of a word. */
html[lang="ja"] .hx h2, html[lang="ja"] .hx h3, html[lang="ja"] .hx-h, html[lang="ja"] .hx-pitch-lines > span, html[lang="ja"] .hx-final .big span, html[lang="ko"] .hx-h { word-break: keep-all; overflow-wrap: anywhere; }
.hx-voice .hx-h { font-size: clamp(38px, 4.8vw, 70px); }
.c-hand > p { margin-top: auto; padding-top: 22px; }
html:not([lang="ja"]) .hx-ja-only { display: none; }

/* Phrase units (ja / zh): a phrase moves to the next line as a whole. */
.hx-ph { display: inline-block; }
@media (max-width: 760px) {
  html[lang="ja"] .hx-pitch-lines, html[lang="zh-Hant"] .hx-pitch-lines { font-size: clamp(38px, 11.4vw, 56px); line-height: 1.18; }
  html[lang="ja"] .hx-final .big, html[lang="zh-Hant"] .hx-final .big { font-size: clamp(34px, 10.6vw, 52px); }
  .hx-pitch-lines > span + span { margin-top: 0; }
}
@media (max-width: 760px) {
  html[lang="ja"] .hx-h, html[lang="zh-Hant"] .hx-h { font-size: clamp(28px, 8.9vw, 44px); }
  html[lang="ja"] .hx-shelf-copy .hx-h, html[lang="zh-Hant"] .hx-shelf-copy .hx-h { font-size: clamp(28px, 8.9vw, 44px); }
  .hx-sort-panel { padding: 22px 18px; }
  .hx-dest h3 { font-size: 18px; }
}
@media (max-width: 760px) {
  html[lang="ja"] .hx-story .hx-h, html[lang="zh-Hant"] .hx-story .hx-h { font-size: clamp(26px, 8vw, 40px); }
}
