/* Global cute & gentle theme for Tsukiai Note (static pages) */

:root {
    --bg: #fff8fb;
    --bg2: #f6fbff;
    --surface: rgba(255, 255, 255, 0.82);
    --card: #ffffff;
    --border: rgba(17, 24, 39, 0.08);
    --shadow: 0 18px 50px rgba(21, 32, 56, 0.10);

    --text: #1f2937;
    --muted: rgba(31, 41, 55, 0.72);

    --primary: #ff7aa2;
    --primary2: #7dded3;
    --primary3: #a7b7ff;

    --radius: 22px;
    --radius-sm: 14px;

    --container: 980px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: var(--text);
    font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded",
        "Hiragino Sans", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    background:
        radial-gradient(1200px 700px at 15% -10%, rgba(255, 122, 162, 0.14), transparent 60%),
        radial-gradient(900px 600px at 90% 10%, rgba(125, 222, 211, 0.16), transparent 55%),
        radial-gradient(1100px 700px at 70% 115%, rgba(167, 183, 255, 0.18), transparent 55%),
        linear-gradient(180deg, var(--bg), var(--bg2));
}

a {
    color: inherit;
}

a.link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

a.link:hover {
    text-decoration: underline;
}

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.58);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(255, 122, 162, 0.18);
    object-fit: cover;
}

.brand-title {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title strong {
    font-size: 0.98rem;
}

.brand-title span {
    font-size: 0.82rem;
    color: var(--muted);
}

.nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: rgba(31, 41, 55, 0.86);
    font-weight: 700;
    font-size: 0.92rem;
}

.nav a:hover {
    border-color: rgba(255, 122, 162, 0.28);
    background: rgba(255, 255, 255, 0.75);
}

/* Hero */
.hero {
    padding: 44px 0 18px;
}

.hero-card {
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.hero-card::before,
.hero-card::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    filter: blur(22px);
    opacity: 0.45;
}

.hero-card::before {
    background: rgba(255, 122, 162, 0.55);
    top: -180px;
    left: -160px;
}

.hero-card::after {
    background: rgba(125, 222, 211, 0.55);
    bottom: -200px;
    right: -170px;
}

.hero-inner {
    position: relative;
    padding: 28px 22px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 122, 162, 0.22);
    background: rgba(255, 255, 255, 0.65);
    font-weight: 800;
    font-size: 0.88rem;
}

.badge i {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
}

.hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(1.55rem, 3.6vw, 2.3rem);
    letter-spacing: 0.02em;
}

.hero p {
    margin: 0;
    color: var(--muted);
    font-size: 1.03rem;
}

/* Content */
.main {
    padding: 18px 0 70px;
}

.grid {
    display: grid;
    gap: 16px;
}

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

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(21, 32, 56, 0.06);
    padding: 20px;
}

.card h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.section-title {
    margin: 28px 0 12px;
    font-size: 1.05rem;
    color: rgba(31, 41, 55, 0.86);
    font-weight: 900;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.feature {
    display: grid;
    grid-template-columns: 172px 1fr;
    gap: 16px;
    align-items: center;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
    padding: 14px;
    overflow: hidden;
}

.feature img {
    width: 172px;
    height: auto;
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 14px 36px rgba(21, 32, 56, 0.10);
    background: #fff;
}

.feature h3 {
    margin: 0 0 6px;
    font-size: 1.02rem;
}

.feature p {
    margin: 0;
    color: var(--muted);
}

.kv {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.pill {
    border-radius: 999px;
    padding: 8px 12px;
    border: 1px solid rgba(167, 183, 255, 0.35);
    background: rgba(167, 183, 255, 0.12);
    color: rgba(31, 41, 55, 0.86);
    font-weight: 800;
    font-size: 0.9rem;
}

.pill.alt {
    border-color: rgba(125, 222, 211, 0.34);
    background: rgba(125, 222, 211, 0.12);
}

.pill.warm {
    border-color: rgba(255, 122, 162, 0.34);
    background: rgba(255, 122, 162, 0.10);
}

.meta {
    margin-top: 10px;
    color: rgba(31, 41, 55, 0.58);
    font-size: 0.92rem;
}

/* “Paper” for long texts */
.paper {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 8px);
    box-shadow: var(--shadow);
    padding: 26px 22px;
}

.paper h1 {
    margin: 0 0 12px;
    font-size: 1.75rem;
}

.paper h2 {
    margin: 20px 0 8px;
    font-size: 1.15rem;
}

.paper ul {
    margin: 10px 0 0;
    padding-left: 1.2em;
}

.paper li {
    margin: 6px 0;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 22px 0 40px;
    color: rgba(31, 41, 55, 0.60);
}

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

.footer-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(31, 41, 55, 0.72);
    text-decoration: none;
    font-weight: 700;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 880px) {
    .feature-list {
        grid-template-columns: 1fr;
    }

    .feature {
        grid-template-columns: 148px 1fr;
    }

    .feature img {
        width: 148px;
    }
}

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

    .hero-inner {
        padding: 22px 18px;
    }

    .feature {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .feature img {
        width: min(260px, 100%);
        justify-self: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}