/* Support site styles tailored to the red & white product theme */
:root {
    --bg: #fff9f9;
    --panel: #ffffff;
    --text: #202124;
    --muted: #6b6b75;
    --brand: #d62828;
    --accent: #ff6b6b;
    --border: #f0d7d9;
    --shadow: rgba(214, 40, 57, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(160deg, rgba(214, 40, 57, 0.08), rgba(255, 255, 255, 0.8)), var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 980px;
    padding: 0 20px;
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 14px rgba(214, 40, 57, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    font-size: 22px;
    background: var(--brand);
    border-radius: 10px;
    color: #fff;
}

.brand-text {
    display: grid;
    gap: 4px;
}

.brand-text strong {
    line-height: 1;
    letter-spacing: 0.02em;
}

.brand-text span {
    font-size: 13px;
    color: var(--muted);
}

.nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 16px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--brand);
}

.hero {
    padding: 72px 0 36px;
    text-align: center;
}

.hero h1 {
    font-size: 38px;
    margin: 0 0 12px;
    letter-spacing: 0.04em;
}

.subtitle {
    color: var(--muted);
    margin: 0 0 20px;
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74));
    color: var(--text);
    border: 1px solid var(--border);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(214, 40, 57, 0.12);
}

.btn.store.ios {
    background: linear-gradient(90deg, var(--brand), var(--accent));
    color: #fff;
    border: none;
    box-shadow: 0 10px 26px rgba(214, 40, 57, 0.22);
}

.btn.store.ios:hover {
    filter: brightness(1.04);
}

.btn.outline {
    background: #fff;
    color: var(--brand);
    border: 1px solid var(--brand);
}

.btn.outline:hover {
    color: #fff;
    background: var(--brand);
}

.note {
    color: var(--brand);
    font-size: 13px;
    margin-top: 12px;
    font-weight: 500;
}

.section {
    padding: 36px 0;
}

.grid.two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

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

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 18px 38px var(--shadow);
}

.card h3 {
    margin-top: 0;
    color: var(--brand);
}

.list {
    margin: 0;
    padding-left: 18px;
    color: var(--text);
}

.list li {
    margin: 8px 0;
}

.steps {
    margin: 0;
    padding-left: 20px;
}

.steps li {
    margin: 10px 0;
}

.steps strong {
    color: var(--brand);
}

.muted {
    color: var(--muted);
    font-size: 14px;
}

.glossary {
    margin: 0;
}

.glossary dt {
    font-weight: 700;
    color: var(--brand);
    margin-top: 18px;
}

.glossary dd {
    margin: 6px 0 0 0;
}

.link {
    color: var(--brand);
    text-decoration: none;
}

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

.site-footer {
    border-top: 1px solid var(--border);
    padding: 36px 0;
    background: rgba(255, 255, 255, 0.92);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links details {
    max-width: 260px;
}

.footer-links summary {
    cursor: pointer;
    font-size: 14px;
    color: var(--brand);
    text-decoration: underline;
    font-weight: 600;
}

.footer-links p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
}
