/* YWH brand: common base + direction F + site sections. */

:root{color-scheme:light dark;--bg:#f7f8f9;--surface:#fff;--border:#d4d8dc;--text:#20252b;--muted:#59626b;--accent:#ae1930;--accent-hover:#8e1227;--on-accent:#fff;--quiet:#e8ebee;--radius:8px;--focus:#8a1730;font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,system-ui,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:var(--bg);color:var(--text);line-height:1.7;word-break:normal;line-break:strict}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-underline-offset:.25em}button{font:inherit;color:inherit;cursor:pointer}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button{border:1px solid var(--border);border-radius:var(--radius)}img{display:block;max-width:100%;height:auto}.icon{width:1.25rem;height:1.25rem;flex:none}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-feature-settings:'palt';line-height:1.4}h1{letter-spacing:-.045em}p{max-width:42em}.wrap{width:min(100% - 5rem,1240px);margin-inline:auto}.site-header{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding-block:1.5rem}.brand{display:flex;align-items:center;gap:.65rem;text-decoration:none;min-height:44px}.brand img{width:2.125rem;height:2.125rem}.wordmark{font-family:Arial,sans-serif;font-size:1.8rem;letter-spacing:-.07em;font-weight:800}.brand-long{font-family:Arial,sans-serif;font-size:.6875rem;line-height:1.25;margin-left:.35rem;padding-left:.75rem;border-left:1px solid var(--border)}nav{display:flex;align-items:center;gap:2rem}nav a{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:44px;text-decoration:none;font-size:.875rem;font-weight:600}nav a:hover{text-decoration:underline}.header-install{border-bottom:1px solid var(--text)}.skip{position:absolute;left:1rem;top:-8rem;z-index:30;background:var(--surface);color:var(--text);padding:1rem}.skip:focus{top:1rem}.eyebrow{font-size:.875rem;display:flex;gap:.65rem;align-items:center;font-weight:650}.eyebrow::before{content:'';display:block;width:1.5rem;height:2px;background:var(--accent)}.primary{display:inline-flex;align-items:center;justify-content:center;gap:1.75rem;background:var(--accent);color:var(--on-accent);padding:.9rem 1.4rem;min-height:52px;border-radius:var(--radius);font-weight:700;text-decoration:none;font-size:1rem}.primary:hover{background:var(--accent-hover)}.install p{font-size:.8125rem;margin-top:.6rem;color:var(--muted)}.text-link{display:inline-flex;gap:.7rem;align-items:center;min-height:44px;font-weight:650;font-size:.875rem}.prototype-footer{padding-block:2rem 3rem;border-top:1px solid var(--border);font-size:.75rem;color:var(--muted);display:grid;gap:.5rem}.prototype-footer a{display:inline-flex;align-items:center;min-height:44px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.compare{display:inline-flex;align-items:center;justify-content:center;gap:.625rem;min-height:44px;padding:.5rem .875rem;background:var(--surface);font-size:.8125rem;font-weight:650;flex-shrink:0}.compare:hover{background:var(--quiet)}[hidden]{display:none!important}.toggle-icon{width:1.6rem;height:.9rem;background:var(--accent);border-radius:20px;position:relative;flex:none}.toggle-icon:after{content:'';height:.65rem;width:.65rem;position:absolute;right:.12rem;top:.12rem;border-radius:50%;background:var(--on-accent)}[aria-pressed=false] .toggle-icon{background:var(--muted)}[aria-pressed=false] .toggle-icon:after{left:.12rem;right:auto}.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem 1.1rem;align-content:start}.video-grid.hide-watched .watched{display:none}.video{min-width:0}.thumb{position:relative;isolation:isolate}.thumb img{aspect-ratio:16/9;object-fit:cover;border-radius:6px}.duration{position:absolute;bottom:6px;right:6px;background:#14181cf0;color:#fff;font:600 .6875rem/1.45 Arial,sans-serif;border-radius:3px;padding:1px 4px}.watched-tag{position:absolute;left:6px;top:6px;background:#fff;color:#24282b;border-radius:3px;padding:2px 6px;font-size:.6875rem;font-weight:650}.progress{position:absolute;bottom:0;left:0;width:100%;height:3px;background:#c22934}.video-info{display:flex;align-items:flex-start;gap:.5rem;padding-top:.6rem}.avatar{display:flex;align-items:center;justify-content:center;width:1.65rem;height:1.65rem;flex:none;border-radius:50%;background:var(--quiet);color:var(--muted);font-size:.6875rem}.video h3{font-size:.875rem;font-weight:650;letter-spacing:-.025em}.video p{font-size:.75rem;color:var(--muted);margin-top:.25rem}.evidence-label{color:var(--muted);font-size:.75rem;line-height:1.65}.meta-line{display:flex;gap:.7rem;align-items:center;color:var(--muted);font-size:.8125rem}.meta-line .icon{width:1rem;height:1rem}summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:.75rem;font-weight:650}summary::-webkit-details-marker{display:none}summary .icon{transition:transform .15s}details[open] summary .icon{transform:rotate(90deg)}.popup-full{width:320px;max-width:100%;margin:1rem auto}.link-row{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}
@media(prefers-color-scheme:dark){:root{--bg:#171b1f;--surface:#20262c;--border:#46515c;--text:#eef0f2;--muted:#b5bdc5;--accent:#f7a0ad;--accent-hover:#ffbbc6;--on-accent:#29171d;--quiet:#343d46;--focus:#f7a0ad}}
@media(max-width:700px){.wrap{width:calc(100% - 2.25rem)}.site-header{padding-block:1rem;gap:.75rem}.brand-long{display:none}.wordmark{font-size:1.6rem}.brand img{width:1.875rem;height:1.875rem}.brand{gap:.4rem}nav{gap:1rem}nav a{font-size:.8125rem}.header-install{display:none}.video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem .75rem}.avatar{display:none}.video p{font-size:.75rem}.video h3{font-size:.875rem}.primary{width:100%;gap:1.5rem}.install p{text-align:center}.prototype-footer{font-size:.75rem}.eyebrow{font-size:.8125rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* v2: observed target and row-stretch corrections */
nav a{min-width:44px}.video{align-self:start}

/* v4: ordinary prose can rebalance a very short last line. */
p{ text-wrap:pretty }

.direction-f{--bg:#fafafa}.hero-intro{display:grid;grid-template-columns:1.2fr 1fr;gap:5rem;align-items:end;padding:3.25rem 0 3rem}.hero h1{font-size:clamp(2.25rem,5.5vw,4.75rem);line-height:1.22;font-weight:800;margin-top:1rem}.hero h1 span{display:block}.hero-side{max-width:30rem;padding-bottom:.2rem}.lede{font-size:1rem;line-height:1.9}.hero-side .install{margin-top:1.6rem}.hero-side .primary{min-width:16rem;justify-content:space-between}.browser-demo{background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 18px 44px #1b263b0c;overflow:hidden}.browser-chrome{height:2.65rem;display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;background:var(--quiet);border-bottom:1px solid var(--border);gap:1rem;font-family:Arial,sans-serif;font-size:.75rem;color:var(--muted)}.window-dots{display:flex;gap:5px}.window-dots i{width:7px;height:7px;border:1px solid var(--muted);border-radius:50%}.address{max-width:30rem;width:60%;background:var(--surface);padding:.1rem 1rem;text-align:center;border-radius:6px;color:var(--muted)}.extension-mark{display:flex;align-items:center;gap:.35rem;font-weight:700}.extension-mark img{width:18px;height:18px}.yt-bar{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid var(--border);gap:1rem}.yt-word{font-family:Arial,sans-serif;font-weight:800;font-size:1.35rem;letter-spacing:-.035em;display:flex;gap:1rem;align-items:center}.yt-word small{font:500 .75rem/1.5 'Yu Gothic',sans-serif;color:var(--muted);letter-spacing:normal}.search-decoration{display:flex;align-items:center;justify-content:space-between;width:32%;color:var(--muted);padding:.35rem 1rem;border:1px solid var(--border);border-radius:20px;font-size:.8125rem}.demo-body{display:grid;grid-template-columns:9.5rem 1fr}.yt-sidebar{padding:1.3rem .75rem;border-right:1px solid var(--border);display:grid;align-content:start;gap:.6rem;color:var(--muted);font-size:.6875rem}.yt-sidebar>div{display:flex;align-items:center;gap:.65rem;padding:.6rem .5rem}.yt-sidebar .icon{width:1rem;height:1rem}.yt-sidebar .current{background:var(--quiet);color:var(--text);border-radius:6px}.feed{padding:1.6rem 1.8rem 1.25rem;min-width:0}.feed-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.demo-kicker{font-size:.75rem;color:var(--muted);margin-bottom:.35rem}.feed-head h2{font-size:1.375rem;font-weight:750}.feed-status{margin-top:1.5rem;font-size:.75rem;color:var(--muted)}.demo-note{font-size:.75rem;color:var(--muted);line-height:1.6;margin-top:.9rem;max-width:none}.proof-row{display:grid;grid-template-columns:1fr 350px;gap:3rem;align-items:center;margin-top:2.75rem;padding-top:2rem;border-top:1px solid var(--border)}.proof-number{font-size:.8125rem;color:var(--muted);margin-bottom:.4rem}.proof-row h2{font-size:1.35rem;margin-bottom:.4rem}.proof-row p:not(.proof-number){font-size:.875rem;color:var(--muted)}.popup-crop{height:100px;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fafafa}.popup-crop img{width:350px;max-width:none;height:auto}.popup-proof figcaption{margin-top:.5rem}.popup-proof a{display:inline-flex;min-height:44px;align-items:center}.opening-limit{font-size:.75rem;color:var(--muted);padding-block:1.5rem 2rem;max-width:none}.opening-limit a{display:inline-flex;align-items:center;min-height:44px;margin-left:.5rem}
@media(prefers-color-scheme:dark){.direction-f{--bg:#171b1f}}
@media(max-width:1000px){.hero-intro{gap:2rem}.desktop-break{display:none}.demo-body{grid-template-columns:1fr}.yt-sidebar{display:none}.feed{padding:1.4rem}.hero h1{font-size:clamp(2.25rem,5.5vw,4.75rem)}}
@media(max-width:700px){.hero-intro{display:block;padding:2.3rem 0 1.8rem}.hero h1{font-size:2.625rem;line-height:1.3;margin-top:1rem}.hero-side{margin-top:1.35rem;max-width:none}.lede{font-size:.9375rem;line-height:1.85}.hero-side .install{margin-top:1.35rem}.hero-side .primary{min-width:0}.browser-chrome{height:2.25rem;padding:.4rem .75rem}.address{font-size:.6875rem;width:56%}.window-dots{gap:3px}.window-dots i{width:5px;height:5px}.extension-mark{font-size:.6875rem}.yt-bar{padding:.8rem .8rem}.yt-word{font-size:1.125rem;gap:.75rem}.yt-word small{font-size:.6875rem}.search-decoration{display:none}.feed{padding:1rem .8rem}.feed-head{align-items:flex-start;flex-direction:column;gap:.8rem;margin-bottom:1.2rem}.feed-head h2{font-size:1.25rem}.demo-kicker{font-size:.75rem}.compare{min-height:44px;padding:.5rem .75rem}.feed-status{margin-top:1rem;font-size:.75rem}.demo-note{font-size:.75rem;line-height:1.7;margin-top:.75rem}.proof-row{grid-template-columns:1fr;gap:1.25rem;margin-top:1.75rem;padding-top:1.5rem}.proof-row h2{font-size:1.2rem}.popup-proof{max-width:350px}.popup-crop img{width:320px}.popup-crop{height:92px}.opening-limit{padding-top:.5rem}.opening-limit a{margin-left:0}}
@media(max-width:350px){.hero h1{font-size:2.25rem}.yt-word{gap:.5rem}.feed{padding:1rem .7rem}.video-grid{gap:1rem .65rem}.video-info{padding-top:.5rem}.video h3{font-size:.875rem}.video p{font-size:.75rem}.hero-intro{padding-top:1.7rem}}

/* v2: keep narrow proof within the content width and expose the feed earlier. */
.proof-row>*{min-width:0}.popup-proof{width:100%}.hero-side{max-width:25rem}
@media(max-width:700px){.hero-intro{padding-block:1.6rem 1.6rem}.hero h1{margin-top:.75rem}.hero-side{margin-top:1.15rem;max-width:none}.lede{line-height:1.8}.hero-side .install{margin-top:1.2rem}.feed-head{gap:.65rem;margin-bottom:1rem}.yt-bar{padding-block:.65rem}.feed{padding-top:.85rem}.proof-row{grid-template-columns:minmax(0,1fr)}.popup-crop img{width:320px}.popup-crop{max-width:100%}}

/* F: dark brand canvas, white explanatory product surface. */
.direction-f{color-scheme:light;--bg:#f6f7f9;--surface:#f6f7f9;--border:#d6dade;--text:#1f2429;--muted:#565f68;--accent:#3f3f9c;--accent-hover:#33337f;--on-accent:#fff;--quiet:#eaecf0;--focus:#3f3f9c}
@media(prefers-color-scheme:dark){.direction-f{color-scheme:dark;--bg:#20292d;--surface:#20292d;--border:#53616a;--text:#f5f7f7;--muted:#c2cbd0;--accent:#b7c5e8;--accent-hover:#d2def8;--on-accent:#222b37;--quiet:#303d44;--focus:#b7c5e8}}
.site-header{border-bottom:1px solid var(--border)}.hero-intro{padding-block:3.25rem 2.75rem;align-items:center}.hero h1{font-weight:750}.hero-side{max-width:27rem}.lede{font-size:1rem;line-height:1.85}.lede p{max-width:none}.lede p+p{margin-top:.65rem}.hero-side .primary{min-width:16rem}.browser-demo{--surface:#fff;--border:#d4d8dc;--text:#20252b;--muted:#59626b;--quiet:#e8ebee;--accent:#44408c;--accent-hover:#353171;--on-accent:#fff;color:var(--text);box-shadow:0 20px 50px #00000020}.browser-demo:focus-within{overflow:visible}.browser-demo .browser-chrome{border-radius:7px 7px 0 0}.browser-demo a:focus-visible,.browser-demo button:focus-visible{outline-color:#44408c}.demo-note{max-width:60rem}.proof-row{margin-top:2rem;padding-top:1.75rem}.history-preview{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;border-top:1px solid var(--border);margin-top:2rem;padding-top:2rem}.history-preview h2{font-size:1.35rem;margin-bottom:.6rem}.history-preview>div>p:not(.proof-number){font-size:.9375rem;max-width:28em}.history-preview figure{background:#fff;color:#20252b;border:1px solid #d4d8dc;border-radius:8px;padding:1rem;min-width:0}.history-preview img{width:100%}.history-result-label{font-size:.8125rem;text-align:center;margin-block:.7rem}.history-preview figcaption{font-size:.75rem;line-height:1.7;color:#59626b;margin-top:.75rem}.opening-limit{padding-top:1rem}
@media(prefers-color-scheme:dark){.direction-f{--bg:#20292d}}
@media(max-width:1000px){.hero-intro{gap:2rem}.hero-side{max-width:none}.history-preview{gap:2rem}}
@media(max-width:700px){.hero-intro{padding-block:1.6rem 1.6rem}.hero-side{margin-top:1.1rem}.lede{font-size:.9375rem;line-height:1.9}.lede p+p{margin-top:.5rem}.hero-side .primary{min-width:0}.proof-row{margin-top:1.75rem}.history-preview{grid-template-columns:minmax(0,1fr);gap:1.25rem;margin-top:1.5rem;padding-top:1.5rem}.history-preview h2{font-size:1.2rem}.history-preview figure{padding:.75rem}.history-preview>div>p:not(.proof-number){font-size:.875rem}.history-result-label{font-size:.8125rem}.history-preview figcaption{font-size:.75rem}}

/* v2: shorten the pitch; stack before the side column becomes too narrow. */
.site-header{flex-wrap:wrap}.text-link{max-width:100%}.compare{max-width:100%;flex-shrink:1}.compare #toggle-text{min-width:0}.address{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yt-word{flex-wrap:wrap;min-width:0}
@media(max-width:840px){.hero-intro{display:block}.hero-side{margin-top:1.25rem;max-width:27rem}}
@media(max-width:700px){.hero-side{max-width:none}}

/* Copy-only revision: break at the heading meaning; allow fallback for enlarged text. */
.hero h1 span{word-break:keep-all;overflow-wrap:anywhere}

/* Site: sections below the opening, on the same dark canvas. */
.language-link{border:1px solid var(--border);border-radius:var(--radius);padding-inline:.75rem}
.history-preview{margin-top:0}
.history-copy{display:grid;gap:.6rem;align-content:start}
.music-note{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid var(--border)}
.music-note h3{font-size:1rem;margin-bottom:.35rem}
.music-note p{font-size:.875rem;color:var(--muted)}
.music-note .small{font-size:.75rem;margin-top:.4rem}
.section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:3rem;padding-block:3.5rem;border-top:1px solid var(--border)}
.section h2{font-size:clamp(1.5rem,2.6vw,2rem);font-weight:750;margin-top:.75rem}
.section-intro .text-link{margin-top:1rem}
.steps{list-style:none;margin:0;padding:0;display:grid;gap:1.75rem}
.steps li{display:grid;grid-template-columns:3rem minmax(0,1fr);gap:1rem;align-items:start}
.step-number{font:700 .875rem/1.9 Arial,sans-serif;color:var(--accent);letter-spacing:.05em}
.steps h3{font-size:1.0625rem;margin-bottom:.35rem}
.steps p,.limits li,.data-body p{font-size:.9375rem;color:var(--muted)}
.limits{list-style:none;margin:0;padding:0;display:grid;gap:1.25rem}
.limits li{padding-left:1rem;border-left:2px solid var(--border)}
.limits strong,.steps h3{color:var(--text)}
.limits strong{display:block;margin-bottom:.2rem}
.data-body{display:grid;gap:.85rem;align-content:start}
.install-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3rem;align-items:center;margin-block:1rem 3rem;padding:3rem;background:var(--quiet);border-radius:var(--radius)}
.install-section h2{font-size:clamp(1.6rem,3vw,2.25rem);font-weight:750;margin-block:.75rem .6rem}
.install-section p{color:var(--muted);font-size:.9375rem}
.install-action{display:grid;gap:.6rem;justify-items:start}
.install-action .small{font-size:.8125rem;color:var(--muted)}
.site-footer{padding-block:2rem 3rem;border-top:1px solid var(--border);font-size:.8125rem;color:var(--muted);display:grid;gap:.5rem}
.footer-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;color:var(--text);font-weight:650}
.footer-top nav{flex-wrap:wrap;gap:0 1.5rem}
.footer-top nav a{font-weight:500;color:var(--muted)}
.site-footer .small{font-size:.75rem;max-width:none}
@media(max-width:840px){.section{grid-template-columns:minmax(0,1fr);gap:1.5rem;padding-block:2.5rem}.install-section{grid-template-columns:minmax(0,1fr);gap:1.5rem;padding:2rem 1.5rem}}
@media(max-width:700px){.steps li{grid-template-columns:2.25rem minmax(0,1fr);gap:.6rem}.install-action{justify-items:stretch}.install-section{padding:1.75rem 1.1rem}.footer-top{flex-direction:column;align-items:flex-start}.language-link{padding-inline:.6rem}}
/* English headings are longer than the Japanese ones; keep each clause on one line. */
html[lang=en] .hero h1{font-size:clamp(2.25rem,4.4vw,3.6rem)}html[lang=en] .hero-intro{grid-template-columns:1.6fr 1fr;gap:3.5rem}

/* Light canvas: the white demo needs a firmer edge to read as a separate surface. */
.browser-demo{border-color:#c4cad1;box-shadow:0 1px 2px #1b263b14,0 22px 54px #1b263b24}.history-preview figure{border-color:#c4cad1;box-shadow:0 12px 32px #1b263b14}
@media(prefers-color-scheme:dark){.browser-demo{border-color:#d4d8dc;box-shadow:0 20px 50px #00000020}.history-preview figure{box-shadow:none}}
