/* Shared Japanese and English homepage layout. */
:root{--bg:#fafaf8;--surface:#fff;--soft:#f1f0ed;--ink:#24252a;--muted:#64646d;--line:#dededb;--accent:#6150a5;--accent-soft:#eeebf6;--contrast:#fff;color-scheme:light}
    :root[data-site-theme="dark"]{--bg:#0f172a;--surface:#1e293b;--soft:#172136;--ink:#eeeef0;--muted:#b0b0ba;--line:#334155;--accent:#b6a5f2;--accent-soft:#302b40;--contrast:#211a35;color-scheme:dark}
    *{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;font-size:16px;line-height:1.8;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}a,button{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:5px}a:hover{color:var(--accent)}button{cursor:pointer}h1,h2,h3,p{margin:0}img{display:block;object-fit:contain}.wrap{width:min(1160px,calc(100% - 96px));margin-inline:auto}.skip{position:absolute;left:16px;top:-100px;padding:12px;background:var(--surface);z-index:9}.skip:focus{top:10px}.site-header{border-bottom:1px solid var(--line)}.header-inner{min-height:87px;display:flex;align-items:center;gap:40px}.brand{display:inline-flex;align-items:center;gap:11px;font-size:20px;font-weight:600;letter-spacing:-.5px;white-space:nowrap}.brand img{width:29px;height:29px;border-radius:6px}.main-nav{display:flex;gap:28px;margin-left:auto;font-size:14px;font-weight:600}.utilities{display:flex;align-items:center;gap:18px;font-size:13px}.locale-switch{display:flex;align-items:center;gap:8px;border-left:1px solid var(--line);padding-left:23px;white-space:nowrap}.locale-switch [aria-current]{font-weight:700;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}.locale-divider{color:var(--muted)}.theme-button{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:transparent}.theme-button:hover{background:var(--soft)}.theme-button svg{width:18px;height:18px}.sun{display:none}[data-site-theme="dark"] .moon{display:none}[data-site-theme="dark"] .sun{display:block}
    .hero{display:grid;grid-template-columns:1.65fr 1fr;gap:72px;padding:66px 0 56px;align-items:center}h1{font-size:clamp(32px,3.8vw,48px);line-height:1.43;letter-spacing:-.035em;font-weight:750;margin-top:0}h1 span{color:var(--accent)}.hero-copy{margin-top:21px;font-size:15px;line-height:1.95;color:var(--muted);max-width:560px}.hero-actions{display:flex;gap:23px;align-items:center;margin-top:27px}.solid-button{display:inline-flex;gap:26px;align-items:center;justify-content:center;padding:11px 20px;border-radius:5px;background:var(--accent);color:var(--contrast);font-size:14px;font-weight:650}.solid-button:hover{color:var(--contrast);filter:brightness(1.08)}.arrow{font-family:Arial,sans-serif;font-weight:400;display:inline-block}.purpose-list{border-top:1px solid var(--line)}.purpose{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:16px 0}.purpose strong{display:block;font-size:17px;font-weight:650}.purpose small{display:block;font-size:12px;color:var(--muted);margin-top:2px}.purpose .arrow{font-size:23px;color:var(--muted)}.purpose:hover .arrow{color:var(--accent);transform:translateX(3px)}.intro-foot{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.intro-facts{display:flex;flex-wrap:wrap;gap:0 24px}.intro-facts span+span{position:relative}.intro-facts span+span:before{content:"/";color:var(--line);position:absolute;left:-14px}.intro-foot a{font-size:12px}
    .catalog{padding-top:57px}.product-group{margin-bottom:48px;scroll-margin-top:24px}.group-heading{display:flex;align-items:baseline;gap:20px;margin-bottom:20px}.group-heading h2{font-size:19px;font-weight:700;letter-spacing:.01em}.group-heading .num{color:var(--accent);font-size:12px;letter-spacing:.06em;margin-right:11px;vertical-align:2px}.group-heading p{font-size:13px;color:var(--muted)}.pair{display:grid;grid-template-columns:1fr 1fr;gap:24px}.product{background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:28px 28px 24px;display:flex;flex-direction:column;min-width:0;transition:border-color .15s}.product:hover{border-color:var(--muted)}.product-head{display:flex;align-items:center;gap:17px}.product-head>img{width:60px;height:60px;border-radius:12px}.product h3{font-size:24px;line-height:1.35;letter-spacing:-.7px;font-weight:720;overflow-wrap:anywhere}.product-label{font-size:12px;color:var(--muted);margin-top:4px}.product-copy{margin-top:22px;font-size:15px;color:var(--muted);line-height:1.9}.product-copy strong{font-size:17px;color:var(--ink);display:block;font-weight:650;line-height:1.7;margin-bottom:5px}.feature-line{font-size:12px;color:var(--muted);margin-top:16px;line-height:1.8}.feature-line span{display:inline}.feature-line span+span:before{content:" / ";padding:0 5px;color:var(--line)}.edition-list{margin-top:23px;border-top:1px solid var(--line)}.edition{padding:15px 0;display:grid;grid-template-columns:30px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.edition:last-child{padding-bottom:0;border-bottom:0}.edition img{width:30px;height:30px;border-radius:6px}.edition-name{font-size:13px;font-weight:650;line-height:1.6}.edition-name small{display:block;font-size:11px;color:var(--muted);font-weight:400}.edition-actions{display:flex;gap:15px;align-items:center;font-size:12px;white-space:nowrap}.family-note{font-size:11px;color:var(--muted);margin-top:3px}.product-bottom{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.price{font-size:23px;font-weight:680;letter-spacing:-.8px;white-space:nowrap}.product-bottom .links{display:flex;align-items:center;gap:17px;margin-left:auto;font-size:13px}.detail-button{display:inline-flex;align-items:center;gap:4px;font-size:13px;line-height:1.8;padding:7px 13px;border:1px solid var(--line);border-radius:4px;white-space:nowrap;font-weight:600;background:var(--surface)}.detail-button:hover{border-color:var(--accent);color:var(--accent)}.product-note{font-size:11px;color:var(--muted);margin-top:12px}.product-main{flex:1}.small-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.small-tools .product{padding:25px 24px 22px}.small-tools .product-head{gap:13px}.small-tools .product-head>img{width:48px;height:48px;border-radius:10px}.small-tools h3{font-size:20px;letter-spacing:-.6px}.small-tools .product-copy{font-size:14px;margin-top:21px}.small-tools .product-copy strong{font-size:16px}.small-tools .product-bottom{align-items:center;flex-wrap:wrap;gap:15px;margin-top:23px}.small-tools .links{width:100%;margin-left:0;justify-content:space-between}.small-tools .price{font-size:21px}.small-tools .product-label{font-size:11px}
    .workflow{margin:2px 0 58px;padding:31px 35px;display:grid;grid-template-columns:1fr 1.05fr;gap:36px;align-items:center;border-left:3px solid var(--accent);background:var(--soft);border-radius:0 5px 5px 0}.section-kicker{font-size:11px;color:var(--accent);font-weight:650;letter-spacing:.08em}.workflow h2{font-size:22px;line-height:1.65;letter-spacing:-.025em;margin-top:5px}.workflow p{font-size:13px;color:var(--muted);margin-top:9px}.workflow-chain{display:flex;gap:20px;align-items:center;justify-content:center}.workflow-app{font-size:14px;font-weight:600;text-align:center}.workflow-app small{display:block;color:var(--muted);font-size:12px;font-weight:400}.workflow-app img{width:42px;height:42px;border-radius:9px;margin:0 auto 8px}.workflow-arrow{font-size:22px;color:var(--muted)}.workflow-versions{display:flex;gap:10px;justify-content:center;font-size:11px;font-weight:500;margin-top:3px}.news{border-top:1px solid var(--line);padding:39px 0 48px;display:grid;grid-template-columns:210px 1fr;gap:40px}.news h2{font-size:22px;letter-spacing:-.04em}.news ul{margin:0;padding:0;list-style:none}.news li{display:grid;grid-template-columns:100px 1fr;gap:23px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.news li:first-child{padding-top:1px}.news time{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.news a{display:flex;justify-content:space-between;gap:20px}.site-footer{border-top:1px solid var(--line);padding:38px 0 24px;background:var(--surface)}.footer-top{display:flex;justify-content:space-between;gap:30px}.footer-top p{font-size:12px;color:var(--muted);margin-top:8px}.support-links{display:flex;gap:23px;align-items:center;font-size:13px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted);border-top:1px solid var(--line);margin-top:30px;padding-top:19px}.legal{display:flex;gap:20px}
    @media(min-width:1450px){.hero{padding-top:80px;padding-bottom:66px}h1{font-size:51px}}
    @media(max-width:1050px){.wrap{width:calc(100% - 64px)}.header-inner{gap:24px}.main-nav{gap:20px}.hero{gap:40px;grid-template-columns:1.5fr 1fr}h1{font-size:39px}.small-tools{gap:16px}.small-tools .product{padding:22px 18px}.small-tools .product-head{align-items:flex-start;flex-direction:column;gap:14px}.product{padding:25px 22px}.edition-actions{gap:11px}.workflow{grid-template-columns:1fr 1fr;gap:25px}}
    @media(max-width:760px){.wrap{width:calc(100% - 40px)}.header-inner{min-height:0;flex-wrap:wrap;gap:0;padding:19px 0 0}.brand{font-size:18px}.brand img{width:26px;height:26px}.utilities{margin-left:auto;gap:15px}.main-nav{order:3;flex:0 0 100%;margin:15px 0 0;gap:25px;font-size:13px;padding:10px 0;border-top:1px solid var(--line)}.theme-button{width:34px;height:34px}.hero{grid-template-columns:1fr;gap:35px;padding:37px 0 26px}h1{font-size:clamp(29px,5.4vw,42px);margin-top:0;line-height:1.5}.hero-copy{font-size:14px;margin-top:18px}.hero-actions{margin-top:24px;gap:23px}.solid-button{padding:11px 17px;gap:22px}.purpose{padding:12px 0}.purpose strong{font-size:15px}.purpose small{font-size:11px}.purpose .arrow{font-size:21px}.intro-foot{align-items:flex-start;flex-direction:column;gap:10px;padding:15px 0}.intro-facts{font-size:11px;gap:0 21px}.catalog{padding-top:36px}.group-heading{display:block;margin-bottom:16px}.group-heading h2{font-size:18px}.group-heading p{font-size:12px;margin-top:5px}.pair,.small-tools{grid-template-columns:1fr;gap:17px}.product-group{margin-bottom:34px}.product,.small-tools .product{padding:24px 21px}.product h3{font-size:23px}.family-note{font-size:10px}.product-copy{font-size:14px;margin-top:18px}.product-copy strong{font-size:16px}.feature-line{font-size:11px;margin-top:12px}.edition{gap:9px;grid-template-columns:28px 1fr auto}.edition img{width:28px;height:28px}.edition-name{font-size:12px}.edition-name small{font-size:10px}.edition-actions{font-size:11px;gap:12px}.product-head>img{width:52px;height:52px}.product-head{gap:14px}.product-bottom .links{gap:13px;font-size:12px}.detail-button{font-size:12px;padding:7px 10px}.price{font-size:21px}.small-tools .product-head{flex-direction:row;align-items:center;gap:14px}.small-tools h3{font-size:22px}.small-tools .links{width:auto;margin-left:auto;gap:15px}.small-tools .product-bottom{flex-wrap:wrap;align-items:center}.small-tools .price{font-size:21px}.small-tools .product-copy{font-size:14px}.workflow{grid-template-columns:1fr;gap:24px;padding:25px 22px;margin-bottom:35px}.workflow h2{font-size:21px}.workflow p{font-size:12px}.workflow-chain{justify-content:flex-start;gap:20px}.workflow-app{text-align:left;font-size:13px}.workflow-app img{margin:0 0 7px;width:37px;height:37px}.workflow-versions{justify-content:flex-start}.workflow-app small{font-size:11px}.news{grid-template-columns:1fr;gap:20px;padding:29px 0 35px}.news h2{font-size:21px}.news li{grid-template-columns:1fr;gap:3px;font-size:12px;padding:14px 0}.news time{font-size:11px}.footer-top{display:block}.support-links{margin-top:24px;gap:25px;font-size:12px}.footer-bottom{flex-direction:column;gap:10px}.legal{flex-wrap:wrap}.site-footer{padding-top:29px}.footer-top p{font-size:11px}}
    @media(max-width:360px){.wrap{width:calc(100% - 32px)}h1{font-size:28px;letter-spacing:-.06em}.hero-actions{gap:17px}.product,.small-tools .product{padding:21px 17px}.edition-name small{max-width:110px}.product h3{font-size:22px}.product-bottom{flex-wrap:wrap;gap:12px}.product-bottom .links{width:100%;justify-content:space-between}.small-tools .product-bottom{flex-wrap:wrap}.small-tools .links{width:100%}.feature-line span{display:inline}.brand{font-size:16px}.utilities{gap:10px}}
    @media(min-width:761px) and (max-width:1050px){.small-tools{grid-template-columns:1fr}.small-tools .product{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:30px;padding:24px}.small-tools .product-head{flex-direction:row;align-items:center}.small-tools .product-copy{margin-top:15px}.small-tools .product-bottom{border-top:0;border-left:1px solid var(--line);margin:0;padding:0 0 0 26px;flex-direction:column;align-items:stretch;justify-content:center;gap:15px}.small-tools .links{flex-direction:row;align-items:center;gap:15px}.small-tools .links a{white-space:nowrap}}
    @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Keep compact product actions on one row when the three-column cards have room. */
@media(min-width:1200px){
  .small-tools .links{width:auto;margin-left:auto}
}
/* Homepage-only adjustments: shared product headings, five facts, and edition choices. */
[data-site-page="home"] header.site-header{padding-top:0}
.theme-button{flex:0 0 38px;color:var(--ink)}
.theme-button[hidden]{display:none}
.theme-button:hover{background:var(--soft)}
.theme-button svg{width:18px;height:18px}
.intro-facts{gap:6px 24px;min-width:0}
.intro-facts>span,.intro-foot>a{white-space:nowrap}

.family-name{display:block}
.family-summary{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 16px;margin-top:16px}
.family-summary .feature-line{margin:0;min-width:0}
.family-summary .price{margin-left:auto}
.family-price small{font-size:11px;font-weight:400;letter-spacing:0;margin:0 4px;color:var(--muted)}
.product-head{min-width:0}
.product-head>img{flex:0 0 60px}
.small-tools .product-head>img{flex-basis:48px}
.product-head>div{min-width:0}
.product h3{overflow-wrap:normal}
.family-note{font-size:11px;line-height:1.6;margin-top:5px;color:var(--muted)}

.edition{grid-template-columns:minmax(0,1fr) auto;gap:16px}
.edition-actions a,.product-bottom .links>a{white-space:nowrap}
.workflow-app{min-width:0}
.protected-email{cursor:pointer}
.support-links{flex-wrap:wrap}
:root[lang="en"] h1{font-size:clamp(34px,3.8vw,48px);line-height:1.23;letter-spacing:-.035em}
:root[lang="en"] .hero-copy{max-width:510px;line-height:1.85}
:root[lang="en"] .family-note{font-size:11px}
:root[lang="en"] .product-copy strong{line-height:1.55}
:root[lang="en"] .product-copy{line-height:1.8}
/* Align family features and edition actions when the cards sit side by side. */
@media(min-width:761px){
  .family-summary{margin-top:auto;padding-top:16px}
}
@media(min-width:761px) and (max-width:1050px){
  :root[lang="en"] h1{font-size:39px}
}
@media(max-width:760px){
  .family-summary{margin-top:12px}
  .theme-button{flex-basis:34px}
  .intro-facts{gap:6px 18px}
  .intro-facts span+span:before{display:none}
  .product-head>img{flex-basis:52px}
  .small-tools .product-head>img{flex-basis:48px}
  .edition{grid-template-columns:minmax(0,1fr) auto;gap:10px}
  .edition-name small{max-width:none}
  :root[lang="en"] h1{font-size:clamp(32px,6vw,42px)}
}
@media(max-width:360px){
  .edition{grid-template-columns:1fr;gap:8px}
  .edition-actions{justify-content:flex-end}
  .workflow-chain{gap:14px}
  .workflow-app{font-size:12px}
  :root[lang="en"] h1{font-size:31px}
}
@media(prefers-color-scheme:dark){
  :root:not([data-site-theme]){--bg:#0f172a;--surface:#1e293b;--soft:#172136;--ink:#eeeef0;--muted:#b0b0ba;--line:#334155;--accent:#b6a5f2;--accent-soft:#302b40;--contrast:#211a35;color-scheme:dark}
}


/* Keep both language names visible beside the navigation on narrow screens. */
@media(max-width:760px){
  .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto}
  .brand{grid-area:1 / 1}
  .utilities{display:contents}
  .theme-button{grid-area:1 / 2;justify-self:end}
  .main-nav{grid-area:2 / 1;margin-top:15px;gap:20px}
  .locale-switch{grid-area:2 / 2;align-self:stretch;margin-top:15px;padding:10px 0;border-left:0;border-top:1px solid var(--line);font-size:12px}
}
