:root {
    --bg: #f5efe3;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-strong: rgba(255, 251, 245, 0.92);
    --ink: #101828;
    --muted: #5f6b7b;
    --accent: #ff8a00;
    --accent-strong: #ff6a00;
    --accent-soft: rgba(255, 138, 0, 0.14);
    --line: rgba(16, 24, 40, 0.1);
    --shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Noto Sans JP", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 177, 66, 0.22), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(63, 118, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #fbf7ef 0%, var(--bg) 40%, #f2eadb 100%);
    overflow-x: hidden;
}

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

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

.page-glow {
    position: fixed;
    width: 32rem;
    height: 32rem;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.45;
    pointer-events: none;
    z-index: -2;
}

.glow-a {
    top: -8rem;
    right: -10rem;
    background: rgba(255, 148, 32, 0.28);
}

.glow-b {
    bottom: -12rem;
    left: -8rem;
    background: rgba(63, 118, 255, 0.18);
}

.page-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 24, 40, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 24, 40, 0.028) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 75%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 75%);
    pointer-events: none;
    z-index: -1;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: min(1200px, calc(100% - 1.5rem));
    margin: 1rem auto 0;
    padding: 1rem 1.2rem;
    background: rgba(255, 249, 240, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

.brand {
    font-weight: 800;
    letter-spacing: -0.04em;
}

.topnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
}

.topnav a {
    font-size: 0.94rem;
    color: var(--muted);
}

.topnav a:hover {
    color: var(--ink);
}

main {
    width: min(1200px, calc(100% - 1.5rem));
    margin: 0 auto;
    padding: 2rem 0 5rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    min-height: calc(100vh - 7rem);
    padding: 4rem 0 2rem;
}

.hero-copy h1,
.section-heading h2,
.cta-section h2 {
    margin: 0;
    letter-spacing: -0.06em;
    line-height: 0.96;
}

.hero-copy h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    max-width: 8ch;
}

.lead {
    margin: 1.5rem 0 0;
    max-width: 42rem;
    font-size: clamp(1.05rem, 2vw, 1.18rem);
    line-height: 1.8;
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    margin-bottom: 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7b5c2e;
}

.hero-actions,
.footer-links,
.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-actions {
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fffaf4;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    box-shadow: 0 14px 28px rgba(255, 106, 0, 0.24);
}

.button-secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.66);
    border-color: rgba(16, 24, 40, 0.08);
}

.hero-points,
.feature-grid,
.gesture-grid {
    display: grid;
    gap: 1rem;
}

.hero-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
}

.point-card,
.feature-card,
.gesture-card,
.section-heading,
.cta-section,
.device-shot {
    background: var(--surface);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
}

.point-card {
    padding: 1.1rem 1rem;
    border-radius: var(--radius-md);
}

.point-card strong {
    display: block;
    font-size: 1rem;
}

.point-card span {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.device-shot {
    position: relative;
    padding: 0.7rem;
    border-radius: calc(var(--radius-xl) + 6px);
}

.device-shot img {
    border-radius: var(--radius-xl);
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.12);
}

.annotation-panel {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    background: rgba(255, 251, 245, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 1rem 1rem 0.95rem;
}

.annotation-panel strong {
    display: block;
    margin-top: 0.55rem;
    font-size: 1rem;
    line-height: 1.45;
}

.annotation-panel p {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--muted);
}

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: var(--accent-soft);
    color: #9a5600;
}

.content-section {
    padding-top: 3rem;
}

.content-section + .content-section {
    margin-top: 2rem;
}

.section-heading {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

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

.section-heading p,
.cta-section p,
.feature-body p,
.gesture-card p {
    color: var(--muted);
}

.section-heading p {
    margin: 1rem 0 0;
    max-width: 44rem;
    line-height: 1.75;
}

.feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.feature-card {
    padding: 1.1rem;
    border-radius: calc(var(--radius-lg) + 4px);
}

.feature-body {
    padding: 1.4rem 0.45rem 0.25rem;
}

.feature-body h3 {
    margin: 0.75rem 0 0.7rem;
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.feature-body p {
    margin: 0;
    line-height: 1.75;
}

.gesture-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.gesture-card {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
}

.gesture-icon {
    display: grid;
    place-items: center;
    min-height: 132px;
    margin-bottom: 1rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 138, 0, 0.18), transparent 45%),
        rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(16, 24, 40, 0.06);
}

.gesture-icon svg {
    width: 88px;
    height: 88px;
}

.gesture-trace {
    fill: none;
    stroke: var(--ink);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gesture-card h3 {
    margin: 0.75rem 0 0.4rem;
    font-size: 1.1rem;
}

.gesture-card p {
    margin: 0;
    line-height: 1.55;
    font-size: 0.94rem;
}

.cta-section {
    margin-top: 3rem;
    padding: clamp(1.6rem, 4vw, 2.6rem);
    border-radius: calc(var(--radius-xl) + 8px);
    text-align: center;
}

.cta-section p {
    max-width: 40rem;
    margin: 1rem auto 0;
    line-height: 1.8;
}

.cta-section .hero-actions {
    justify-content: center;
}

.store-buttons {
    margin-top: 2rem;
    justify-content: center;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 240px;
    padding: 1rem 1.2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.1);
}

.store-icon {
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 999px;
    background: rgba(255, 145, 0, 0.12);
    color: #8c5814;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.store-copy {
    text-align: left;
}

.store-small,
.store-large {
    display: block;
}

.store-small {
    font-size: 0.8rem;
    color: var(--muted);
}

.store-large {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.15rem;
}

.site-footer {
    width: min(1200px, calc(100% - 1.5rem));
    margin: 0 auto;
    padding: 0 0 3rem;
    color: var(--muted);
}

.site-footer p {
    margin: 0;
}

.footer-links {
    margin-top: 0.8rem;
}

.footer-links a:hover {
    color: var(--ink);
}

.js [data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js [data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .hero {
        min-height: auto;
        padding-top: 2rem;
    }

    .hero-visual,
    .device-shot {
        max-width: 420px;
        margin: 0 auto;
    }

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

@media (max-width: 720px) {
    .topbar {
        border-radius: 28px;
        padding: 0.9rem 1rem;
    }

    .topnav {
        display: none;
    }

    main {
        padding-top: 1rem;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .hero-points,
    .gesture-grid,
    .store-buttons {
        grid-template-columns: 1fr;
    }

    .annotation-panel {
        left: 0.9rem;
        right: 0.9rem;
        bottom: 0.9rem;
    }

    .point-card,
    .feature-card,
    .gesture-card,
    .section-heading,
    .cta-section {
        border-radius: 22px;
    }

    .store-btn {
        width: 100%;
        min-width: 0;
    }
}
