:root {
    --bg-dark: #09131f;
    --bg-deep: #17354f;
    --bg-soft: #f3ecdf;
    --surface: rgba(255, 250, 242, 0.9);
    --surface-strong: rgba(235, 244, 252, 0.88);
    --surface-warm: rgba(255, 244, 227, 0.9);
    --ink: #1c2636;
    --muted: #66727e;
    --line: rgba(28, 38, 54, 0.1);
    --accent: #2e6588;
    --accent-strong: #17354f;
    --accent-warm: #c88c49;
    --shadow: 0 28px 60px rgba(9, 19, 31, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: "IBM Plex Sans JP", sans-serif;
    background:
        radial-gradient(circle at 12% 12%, rgba(200, 140, 73, 0.2), transparent 20%),
        radial-gradient(circle at 86% 10%, rgba(62, 141, 190, 0.2), transparent 18%),
        linear-gradient(180deg, #07111a 0%, #183450 16%, #efe7d9 16.1%, #f5efe5 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.08));
}

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

button {
    font: inherit;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 80px;
}

.site-header {
    position: sticky;
    top: 14px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 18px 0 20px;
    padding: 16px 22px;
    border-radius: 999px;
    background: rgba(7, 17, 26, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.brand,
h1,
h2,
h3,
.signal-main,
.support-title {
    font-family: "Shippori Mincho", serif;
}

.brand {
    color: #f7efe1;
    font-size: 1.14rem;
    letter-spacing: 0.08em;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    color: rgba(247, 239, 225, 0.84);
    font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
    color: white;
}

.section,
.signal-strip,
.site-footer {
    opacity: 1;
    transform: none;
    transition: none;
}

.reveal.is-visible,
.site-footer.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: 24px;
    padding: 34px 0 20px;
}

.hero-copy,
.hero-panel,
.bundle-card,
.guide-card,
.journey-card,
.support-panel,
.hero-summary-card,
.signal-strip {
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.hero-copy {
    min-width: 0;
    padding: 40px 32px 40px 36px;
    border-radius: 38px;
    position: relative;
    overflow: hidden;
}

.hero-copy::after {
    content: "";
    position: absolute;
    inset: auto -72px -128px auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 140, 73, 0.44), rgba(200, 140, 73, 0));
}

.hero-panel {
    min-width: 0;
    padding: 28px;
    border-radius: 36px;
    display: grid;
    gap: 18px;
    background: rgba(244, 248, 252, 0.14);
}

.eyebrow,
.card-label,
.signal-kicker {
    margin: 0 0 12px;
    color: var(--accent-strong);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

h1,
h2,
h3,
.brand {
    line-height: 1.14;
}

h1,
h2 {
    margin: 0;
}

h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    letter-spacing: -0.04em;
}

.hero-lead,
.section-heading p,
.bundle-card p,
.guide-card p,
.journey-card p,
.hero-summary-card p,
.signal-sub,
.support-list,
.site-footer p {
    color: var(--muted);
}

.hero-lead {
    margin: 20px 0 0;
    font-size: 1.04rem;
    line-height: 1.85;
}

.hero-actions,
.footer-links,
.bundle-links,
.guide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions {
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.guide-card:hover,
.guide-card:focus-within,
.journey-card:hover,
.journey-card:focus-within {
    transform: translateY(-2px);
}

.button-primary {
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 14px 28px rgba(23, 53, 79, 0.28);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.78);
    border-color: var(--line);
}

.button.full {
    width: 100%;
}

.hero-points {
    margin: 24px 0 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.topic-radar {
    position: relative;
    min-height: 320px;
    border-radius: 32px;
    background:
        radial-gradient(circle at center, rgba(142, 216, 255, 0.22), transparent 26%),
        linear-gradient(180deg, rgba(8, 18, 30, 0.96), rgba(21, 38, 57, 0.96));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.topic-radar::before,
.topic-radar::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.topic-radar::before {
    width: 220px;
    height: 220px;
}

.topic-radar::after {
    width: 300px;
    height: 300px;
    opacity: 0.6;
}

.radar-core,
.radar-node {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
}

.radar-core {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 110px;
    min-height: 110px;
    border-radius: 50%;
    color: #eff9ff;
    background: linear-gradient(135deg, rgba(46, 101, 136, 0.98), rgba(23, 53, 79, 0.98));
    box-shadow: 0 0 0 20px rgba(46, 101, 136, 0.08);
}

.radar-node {
    color: #edf5fb;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.radar-chaos { top: 18%; left: 18%; }
.radar-wave { top: 18%; right: 14%; }
.radar-model { bottom: 18%; left: 14%; }
.radar-stat { bottom: 14%; right: 18%; }
.radar-research { top: 50%; right: 6%; transform: translateY(-50%); }

.hero-summary-grid,
.bundle-grid,
.guide-grid,
.journey-grid {
    display: grid;
    gap: 18px;
}

.hero-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-summary-card,
.bundle-card,
.guide-card,
.journey-card,
.support-panel {
    padding: 24px 26px;
    border-radius: 28px;
}

.strong-card,
.featured-guide {
    background: linear-gradient(145deg, rgba(235, 243, 251, 0.98), rgba(224, 235, 247, 0.88));
}

.warm-card {
    background: linear-gradient(145deg, rgba(255, 247, 233, 0.98), rgba(245, 231, 208, 0.88));
}

.night-card {
    background: linear-gradient(145deg, rgba(23, 53, 79, 0.98), rgba(48, 91, 128, 0.9));
    color: white;
}

.night-card p,
.night-card .card-label,
.night-card h3,
.night-card a,
.night-card li {
    color: rgba(255, 255, 255, 0.92);
}

.signal-strip {
    margin-top: 10px;
    padding: 24px 30px;
    border-radius: 30px;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.signal-kicker {
    margin: 0;
}

.signal-main {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    margin: 0;
}

.signal-sub {
    margin: 0;
    line-height: 1.8;
}

.section {
    margin-top: 88px;
}

.section-heading {
    margin-bottom: 26px;
}

.section-heading h2 {
    font-size: clamp(2rem, 3.5vw, 3.1rem);
}

.section-heading p {
    margin: 12px 0 0;
    max-width: 840px;
    line-height: 1.85;
}

.bundle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bundle-links a,
.guide-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(23, 53, 79, 0.08);
    color: var(--accent-strong);
    font-size: 0.92rem;
    font-weight: 600;
}

.night-card .bundle-links a {
    background: rgba(255, 247, 233, 0.92);
    color: var(--accent-strong);
}

.guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
    display: grid;
    align-content: start;
    gap: 14px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.guide-card .button {
    margin-top: auto;
}

.support-guide {
    background: linear-gradient(145deg, rgba(255, 251, 245, 0.96), rgba(241, 245, 248, 0.86));
}

.journey-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey-steps {
    display: grid;
    gap: 12px;
    padding-left: 1.25rem;
    margin: 18px 0;
}

.journey-steps li {
    line-height: 1.7;
}

.journey-steps a {
    font-weight: 700;
}

.support-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    gap: 24px;
    background: linear-gradient(180deg, rgba(252, 247, 239, 0.96), rgba(235, 242, 252, 0.86));
}

.support-title {
    margin: 0 0 16px;
    font-size: 1.35rem;
}

.support-list {
    margin: 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 12px;
    line-height: 1.8;
}

.support-actions {
    display: grid;
    gap: 12px;
    align-content: start;
}

.support-note {
    margin: 0 0 4px;
    line-height: 1.8;
    color: rgba(15, 28, 43, 0.86);
}

.support-note a {
    color: inherit;
    font-weight: 700;
}

.site-footer {
    margin-top: 64px;
    padding: 24px 30px;
    border-radius: 28px;
    background: rgba(11, 17, 32, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 1080px) {
    .hero,
    .signal-strip,
    .support-panel {
        grid-template-columns: 1fr;
    }

    .guide-grid,
    .journey-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bundle-grid,
    .hero-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .page-shell {
        width: min(100% - 20px, 1180px);
    }

    .site-header {
        position: static;
        flex-direction: column;
        align-items: flex-start;
        border-radius: 28px;
    }

    .site-nav {
        justify-content: flex-start;
        gap: 12px 14px;
    }

    .hero-copy,
    .hero-panel,
    .bundle-card,
    .guide-card,
    .journey-card,
    .support-panel,
    .hero-summary-card,
    .signal-strip,
    .site-footer {
        padding: 22px;
        border-radius: 24px;
    }

    .hero-actions,
    .footer-links {
        flex-direction: column;
    }

    .guide-grid,
    .journey-grid,
    .bundle-grid,
    .hero-summary-grid {
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .section {
        margin-top: 68px;
    }

    .topic-radar {
        min-height: 380px;
    }

    .radar-chaos { top: 10%; left: 8%; }
    .radar-wave { top: 10%; right: 8%; }
    .radar-model { bottom: 14%; left: 8%; }
    .radar-stat { bottom: 14%; right: 8%; }
    .radar-research { top: auto; bottom: 44%; right: 4%; transform: none; }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}