/* HOSO product page and the HOSO band on the home page. */
.hoso-hero { padding-bottom: 56px !important; background: radial-gradient(120% 90% at 50% 0%, #17325c 0%, #0b1424 55%, #07090f 100%); color: #fff; padding: 64px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); overflow: hidden; }
.hoso-hero-in { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hoso-icon { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 10px 30px rgba(40, 110, 255, .35); }
.hoso-hero .kicker { color: #8fb6ff; }
.hoso-hero h1 { font-size: clamp(44px, 9vw, 84px); letter-spacing: .12em; line-height: 1; }
.hoso-hero .sub { margin: 0; font-size: clamp(16px, 2.2vw, 20px); color: #d8e2f2; max-width: 46ch; }
.hoso-hero .hero-actions { justify-content: center; }
.hoso-hero .hero-actions a.primary { background: #2f6bff; border-color: #2f6bff; }
.hoso-platforms { margin: 0; font-size: 13px; color: #9fb0cc; letter-spacing: .06em; }
.hoso-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.hoso-feature { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04); }
.hoso-feature h3 { margin: 6px 0 8px; font-size: 20px; line-height: 1.2; }
.hoso-feature p:not(.kicker) { margin: 0; color: var(--muted); }
.hoso-page .kicker { color: #2f6bff; }
@media (prefers-color-scheme: dark) { .hoso-page .kicker { color: #8fb6ff; } }
.hoso-page .perks li { border-left-color: #2f6bff; }
.hoso-cta { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 4vw, 32px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.hoso-cta .sec-intro { margin-bottom: 0; }
.hoso-page .showcase-cta a.primary { background: #2f6bff; border-color: #2f6bff; }

/* Home page band. */
.hoso-band { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(20px, 4vw, 32px); border-radius: 16px; background: radial-gradient(120% 120% at 0% 0%, #17325c 0%, #0b1424 60%, #07090f 100%); color: #fff; overflow: hidden; }
.hoso-band .kicker { color: #8fb6ff; display: flex; align-items: center; gap: 10px; }
.hoso-band .kicker img { width: 28px; height: 28px; border-radius: 7px; }
.hoso-band h2 { margin: 8px 0 8px; font-size: clamp(24px, 4vw, 32px); line-height: 1.1; color: #fff; text-transform: none; letter-spacing: .01em; }
.hoso-band p { margin: 0; color: #d0dbee; }
.hoso-band ul { margin: 14px 0 0; padding-left: 18px; color: #d0dbee; font-size: 14px; }
.hoso-band .showcase-cta { margin-top: 18px; }
.hoso-band .showcase-cta a { color: #fff; border-color: rgba(255,255,255,.5); }
.hoso-band .showcase-cta a.primary { background: #2f6bff; border-color: #2f6bff; }
.hoso-band .showcase-cta a:hover { border-color: #fff; }
@media (max-width: 760px) { .hoso-band { grid-template-columns: 1fr; } }
.hoso-band-mark { justify-self: center; display: block; width: min(220px, 60%); border-radius: 22%; box-shadow: 0 20px 50px rgba(40, 110, 255, .35); transition: transform .2s ease; }
.hoso-band-mark img { display: block; width: 100%; height: auto; border-radius: 22%; }
.hoso-band-mark:hover { transform: translateY(-3px); }
@media (max-width: 760px) { .hoso-band-mark { grid-row: 1; width: 120px; justify-self: start; } }
/* Four items each: two by two instead of three and one. */
@media (min-width: 700px) { .hoso-features, .hoso-page .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Download and license pages. */
.hoso-hero-sm { padding-top: 44px; padding-bottom: 36px !important; }
.hoso-hero-sm .hoso-icon { width: 64px; height: 64px; border-radius: 15px; }
.hoso-hero .hoso-h1-sm { font-size: clamp(32px, 6vw, 52px); letter-spacing: .06em; }
.hoso-dl, .hoso-legal { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 4vw, 32px); }
.hoso-dl .sec-title { text-transform: none; letter-spacing: .01em; }
.hoso-agree { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.hoso-agree input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: #2f6bff; }
.hoso-agree a { color: #2f6bff; font-weight: 600; }
.hoso-files { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.hoso-file { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.hoso-file .os { font-weight: 700; font-size: 17px; }
.hoso-file .kind { color: var(--muted); font-size: 14px; }
.hoso-file .meta { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; margin-top: 6px; }
.hoso-file.main { border-color: #2f6bff; box-shadow: inset 0 0 0 1px #2f6bff; }
.hoso-file[aria-disabled="false"]:hover { border-color: #2f6bff; transform: translateY(-2px); }
.hoso-file[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.hoso-dl .small { font-size: 13px; margin: 10px 0 0; }
.hoso-dl .nudge { color: #c0392b; font-weight: 600; }
.hoso-err { margin: 0; color: #c0392b; }
.hoso-help h2 { margin: 0 0 14px; }
.hoso-help .muted a { color: #2f6bff; }
.hoso-legal h2 { font-size: 18px; margin: 26px 0 6px; }
.hoso-legal p, .hoso-legal li { max-width: 72ch; }
.hoso-legal a { color: #2f6bff; }
.hoso-summary { background: rgba(47, 107, 255, .08); border-left: 3px solid #2f6bff; padding: 12px 16px; border-radius: 6px; margin-top: 0; }
.hoso-back { text-align: center; }
.hoso-back a { color: #2f6bff; font-weight: 600; }
.hoso-page .muted { color: var(--muted); }
.hoso-legal h2, .hoso-help h2 { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 20px; }
.hoso-legal h2 { font-size: 18px; }
/* "Why HOSO?" */
.hoso-name { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 4vw, 32px); align-items: center; }
.hoso-kanji { margin: 0; font-size: clamp(72px, 14vw, 128px); line-height: 1; color: #2f6bff; font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; }
.hoso-name .sec-intro { max-width: 64ch; margin-bottom: 0; }
@media (max-width: 560px) { .hoso-name { grid-template-columns: 1fr; } }
