:root {
    --blue: #4070c8;
    --blue-dark: #2f569e;
    --red: #e60012;
    --cream: #f0ece2;
    --pink: #f4a8b0;
    --ink: #1a1a22;
    --bg: #f7f8fb;
}

html {
    font-family: "Hiragino Kaku Gothic", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
    color: var(--ink);
    background-color: var(--bg);
}

body {
    margin: 0;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

a,
a:active,
a:visited {
    color: var(--blue);
}

dt {
    font-weight: bold;
}

/* code,
pre {
    background-color: #e2e2e2;
    padding: 3px;
    border-radius: 2px;
} */

/* layout */
.container {
    max-width: 820px;
    margin: auto;
    padding: 0 16px;
}

/* hero */
.hero {
    position: relative;
    background-color: var(--blue);
    padding: clamp(48px, 8vw, 96px) 16px clamp(40px, 7vw, 88px);
    text-align: center;
}

.hero-nsw {
    position: absolute;
    top: 0;
    left: 0;
    width: 10.7vw;
    min-width: 48px;
    max-width: 96px;
    height: auto;
}

.hero-title {
    margin: 0;
}

.hero-bear,
.hero-logo {
    display: block;
    margin: auto;
    height: auto;
}

.hero-bear {
    width: clamp(160px, 34vw, 400px);
}

.hero-logo {
    width: clamp(240px, 50vw, 620px);
    margin-top: clamp(24px, 5vw, 64px);
}

/* lead */
.catch {
    text-align: center;
    font-size: clamp(1.4rem, 5vw, 2rem);
    font-weight: bold;
    color: var(--blue);
    word-break: keep-all;
    overflow-wrap: anywhere;
    margin: 40px 0 20px;
}

.lead {
    font-size: 1.1rem;
    font-weight: bold;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.badges {
    text-align: center;
    margin-bottom: 40px;
}

.badge {
    display: inline-block;
    padding: 2px 14px;
    margin: 4px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #fff;
    background-color: var(--blue);
}

.badge.red {
    background-color: var(--red);
}

/* download */
.download {
    text-align: center;
    margin: 0 0 16px;
}

.release {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: bold;
}

.release span {
    font-size: 1.4rem;
    color: var(--red);
}

.download a {
    display: inline-block;
    transition: transform 0.15s, filter 0.15s;
}

.download a:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.download img {
    display: block;
    width: auto;
    height: clamp(40px, 15vw, 100px);
}

/* sections */
section {
    background-color: #fff;
    border-radius: 16px;
    padding: 8px 24px 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(26, 26, 34, 0.08);
}

h2 {
    border-left: 6px solid var(--blue);
    padding-left: 12px;
    font-size: 1.3rem;
}

.spec {
    display: grid;
    grid-template-columns: 8em 1fr;
    margin: 0;
}

.spec dt,
.spec dd {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #e6e8ee;
}

.spec dt:last-of-type,
.spec dd:last-of-type {
    border-bottom: none;
}

/* screenshots */
.screenshots {
    display: grid;
    gap: 12px;
    margin-bottom: 8px;
}

.screenshots a {
    display: block;
}

.screenshots img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* footer */
footer {
    background-color: var(--blue);
    color: #fff;
    margin-top: 48px;
    padding: 16px 0;
    font-size: 0.85rem;
}

footer span {
    display: inline-block;
    margin: 0 4px;
}

.credits {
    margin: 0 0 12px;
}

.credits:last-child {
    margin-bottom: 0;
}

footer a,
footer a:active,
footer a:visited {
    color: #fff;
}

/* presskit */
.hero-small {
    padding: 32px 16px 24px;
}

.hero-small .hero-logo {
    width: clamp(200px, 40vw, 400px);
    margin-top: 0;
}

.hero-sub {
    margin: 8px 0 0;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.button,
.button:visited {
    display: inline-block;
    margin-top: 32px;
    padding: 12px 24px;
    border-radius: 999px;
    background-color: var(--red);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.4;
}

.button small {
    display: block;
    font-size: 0.75rem;
    font-weight: normal;
}

.screenshots.grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.trailer {
    display: block;
    width: 100%;
    border-radius: 8px;
    background-color: #000;
}

.assets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 8px;
}

.asset {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
}

.asset img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 8px;
    background-color: #eef0f5;
}

.asset.blue img {
    padding: 12px;
    box-sizing: border-box;
    background-color: var(--blue);
}

.presskit-link {
    text-align: center;
    margin-top: 32px;
}

/* youtube */
.youtube {
    margin-bottom: 8px;
}

.youtube iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 8px;
}
