:root {
    color-scheme: light;
    --paper: #f7f4ef;
    --paper-warm: #efe9e0;
    --ink: #14161d;
    --ink-soft: #4a4e5c;
    --ink-muted: #8b8fa0;
    --navy: #16294d;
    --red: #d9373a;
    --orange: #ee7f36;
    --rule: rgb(20 22 29 / 12%);
    --rule-soft: rgb(20 22 29 / 7%);
    --serif: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', Georgia, serif;
    --sans: Inter, -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
    --container: 1080px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    position: relative;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}

li {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Background rules ---------- */

.grid-lines {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px) 50% 0 / calc(var(--container) / 3) 100%,
        linear-gradient(180deg, rgb(239 233 224 / 60%), transparent 40%);
    mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}

.header,
main,
.footer {
    position: relative;
    z-index: 1;
}

/* ---------- Header ---------- */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(247 244 239 / 82%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 72px;
}

.brand {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 11px;
    font-family: var(--serif);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand img {
    width: 30px;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 32px;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--ink-soft);
}

.nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 2px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.nav a:hover {
    color: var(--ink);
    border-color: var(--red);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 104px 0 112px;
    border-bottom: 1px solid var(--rule);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

.eyebrow {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.eyebrow::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    margin-top: 14px;
    background: linear-gradient(90deg, var(--red), var(--orange));
}

.hero h1 {
    margin-top: 26px;
    font-family: var(--serif);
    font-size: clamp(2.8rem, 7vw, 4.75rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(96deg, var(--red), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lede {
    margin-top: 24px;
    max-width: 30ch;
    font-size: 0.9375rem;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
}

.hero-stats {
    display: flex;
    gap: 44px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--rule);
}

.hero-stats dt {
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.hero-stats dd {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 6px;
    font-family: var(--serif);
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.hero-stats small {
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: var(--ink-muted);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-visual img {
    position: relative;
    width: min(100%, 380px);
}

.hero-sun {
    position: absolute;
    top: 46%;
    left: 50%;
    width: min(78%, 300px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgb(217 55 58 / 12%), rgb(238 127 54 / 6%) 55%, transparent 70%);
}

.hero-vertical {
    position: absolute;
    right: 24px;
    bottom: 88px;
    writing-mode: vertical-rl;
    font-family: var(--serif);
    font-size: 0.75rem;
    letter-spacing: 0.5em;
    color: var(--ink-muted);
}

/* ---------- Arrow link ---------- */

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    min-height: 40px;
    padding: 0 2px 6px;
    border-bottom: 1px solid var(--rule);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: border-color 0.25s ease, gap 0.25s ease;
}

.link-arrow::after {
    content: '→';
    font-size: 0.9375rem;
    letter-spacing: 0;
    background: linear-gradient(96deg, var(--red), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.link-arrow:hover {
    gap: 16px;
    border-color: var(--red);
}

.stats-retry {
    min-height: 40px;
    margin-top: 12px;
    padding: 4px 2px;
    border: 0;
    border-bottom: 1px solid var(--rule);
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
    font: inherit;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stats-retry:hover {
    border-color: var(--red);
    color: var(--ink);
}

/* ---------- Sections ---------- */

.section {
    padding: 96px 0;
    border-bottom: 1px solid var(--rule);
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
}

.section-num {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--red);
}

.section-title {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.section-lede {
    margin-top: 22px;
    max-width: 42ch;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--ink-soft);
}

/* ---------- Pillars ---------- */

.pillars {
    margin-top: 64px;
    border-top: 1px solid var(--rule);
}

.pillars li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    padding: 28px 4px;
    border-bottom: 1px solid var(--rule);
    transition: background 0.3s ease, padding-left 0.3s ease;
}

.pillars li:hover {
    background: rgb(239 233 224 / 55%);
    padding-left: 14px;
}

.pillar-num {
    font-family: var(--serif);
    font-size: 0.875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.pillars h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
}

.pillars p {
    margin-top: 4px;
    max-width: 52ch;
    font-size: 0.9375rem;
    color: var(--ink-soft);
}

/* ---------- japanSOL (LST) ---------- */

.lst {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 56px;
    margin-top: 40px;
}

.lst .section-lede {
    margin-top: 0;
}

.lst-meta {
    display: grid;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}

.lst-meta > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: var(--paper);
}

.lst-meta dt {
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.lst-meta dd {
    font-family: var(--serif);
    font-size: 1rem;
}

/* ---------- Jupiter Multiply ---------- */

.multiply-notice {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    margin-top: 56px;
    padding: 32px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.multiply-notice .eyebrow {
    color: var(--red);
}

.multiply-notice h3 {
    margin-top: 18px;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.45;
}

.multiply-copy {
    max-width: 50ch;
    font-size: 0.9375rem;
    color: var(--ink-soft);
}

.multiply-risk {
    margin-top: 14px;
    color: var(--ink);
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-top: 14px;
    padding: 0 2px;
    border-bottom: 1px solid var(--rule);
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.text-link:hover {
    border-color: var(--red);
}

/* ---------- Partners ---------- */

.section-partners {
    background: linear-gradient(180deg, transparent, rgb(239 233 224 / 70%));
}

.partners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: 56px;
    background: var(--rule);
    border: 1px solid var(--rule);
}

.partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 44px 28px 32px;
    background: var(--paper);
    min-height: 44px;
    transition: background 0.3s ease;
}

.partner:hover {
    background: #fff;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
}

.partner-logo img {
    max-height: 100%;
    object-fit: contain;
}

.partner-logo--md img {
    max-height: 48px;
}

.partner-logo--boxed img {
    height: 100%;
    width: auto;
    border-radius: 3px;
}

.partner-name {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

/* ---------- Footer ---------- */

.footer {
    padding: 44px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-logo {
    width: 74px;
    opacity: 0.85;
}

.footer-copy {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .nav {
        gap: 26px;
    }

    .hero {
        padding: 80px 0 92px;
    }

    .section {
        padding: 80px 0;
    }

    .lst {
        gap: 40px;
    }

    .multiply-notice {
        gap: 40px;
    }
}

@media (max-width: 860px) {
    .hero-inner {
        gap: 32px;
    }

    .hero-vertical {
        display: none;
    }

    .lst {
        gap: 32px;
    }

    .multiply-notice {
        gap: 32px;
    }

    .partner {
        padding: 36px 18px 28px;
    }
}

@media (max-width: 720px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-visual {
        order: -1;
        justify-content: flex-start;
    }

    .hero-visual img {
        width: min(66%, 280px);
    }

    .hero-sun {
        left: min(33%, 140px);
    }
}

@media (max-width: 600px) {
    .partners {
        grid-template-columns: 1fr;
    }

    .lst {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .multiply-notice {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 44px;
    }

    .lst-meta {
        max-width: 420px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .header-inner {
        gap: 12px;
        height: 60px;
    }

    .brand {
        font-size: 0.9375rem;
        gap: 9px;
    }

    .brand img {
        width: 26px;
    }

    .nav {
        gap: 15px;
        font-size: 0.6875rem;
        letter-spacing: 0.06em;
    }

    .hero {
        padding: 52px 0 68px;
    }

    .hero h1 {
        margin-top: 20px;
        font-size: clamp(2.35rem, 11vw, 3rem);
    }

    .hero-lede {
        max-width: none;
    }

    .hero-stats {
        gap: 32px;
        margin-top: 28px;
    }

    .hero-stats dd {
        font-size: 1.3125rem;
    }

    .hero-visual img {
        width: min(58%, 210px);
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-lede {
        font-size: 1rem;
        line-height: 1.8;
    }

    .pillars {
        margin-top: 44px;
    }

    .pillars li {
        grid-template-columns: 44px 1fr;
        gap: 10px;
        padding: 22px 2px;
    }

    .pillars li:hover {
        padding-left: 2px;
        background: none;
    }

    .lst-meta > div {
        padding: 14px 16px;
    }

    .partners {
        margin-top: 36px;
    }

    .partner {
        padding: 32px 20px 26px;
        gap: 18px;
    }

    .footer {
        padding: 32px 0;
    }
}

@media (max-width: 380px) {
    .brand span {
        display: none;
    }

    .hero-stats {
        gap: 24px;
    }
}

@media (hover: none) {
    .partner:hover {
        background: var(--paper);
    }

    .pillars li:hover {
        background: none;
        padding-left: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
