:root {
    --paper: #fff0f4;
    --panel: #fff8fa;
    --white: #fff;
    --ink: #25304d;
    --charcoal: #1c1518;
    --muted: #74666b;
    --line: rgba(37, 48, 77, 0.12);
    --red: #ff5a7d;
    --blue: #25304d;
    --yellow: #f2b84b;
    --green: #355b40;
    --cream-shadow: 0 24px 70px rgba(53, 91, 64, 0.14);
    --font: "Inter", "Noto Sans JP", system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
    position: fixed;
    z-index: 100;
    pointer-events: none;
}

body::before {
    content: "";
    inset: 0;
    background: var(--paper);
    animation: loader-screen 1.65s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

body::after {
    content: "MANASNAP";
    top: 50%;
    left: 50%;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    transform: translate(-50%, -50%);
    animation: loader-logo 1.35s ease forwards;
}

body::selection {
    background: var(--red);
    color: var(--white);
}

img {
    position: relative;
    z-index: 12;
    display: block;
    max-width: 100%;
}

a,
button {
    color: inherit;
    font: inherit;
}

a {
    text-decoration: none;
}

button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

@keyframes loader-screen {
    0%,
    62% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes loader-logo {
    0% {
        opacity: 0;
        transform: translate(-50%, -42%);
    }
    22%,
    62% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -58%);
        visibility: hidden;
    }
}

@keyframes photo-left {
    from {
        opacity: 0;
        transform: translateX(-18%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes photo-right {
    from {
        opacity: 0;
        transform: translateX(18%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes photo-top {
    from {
        opacity: 0;
        transform: translateY(-18%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes photo-bottom {
    from {
        opacity: 0;
        transform: translateY(18%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-scale {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0.78);
    }
    70% {
        opacity: 1;
        transform: scale(1.06);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes petal-drift {
    0% {
        opacity: 0;
        transform: translate3d(0, -18vh, 0) rotate(var(--petal-rotate, 14deg));
    }
    12% {
        opacity: var(--petal-opacity, 0.76);
    }
    58% {
        opacity: var(--petal-opacity, 0.76);
        transform: translate3d(var(--petal-x-mid, 10px), 52vh, 0) rotate(calc(var(--petal-rotate, 14deg) + 150deg));
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--petal-x-end, -12px), 118vh, 0) rotate(calc(var(--petal-rotate, 14deg) + 320deg));
    }
}

.petal-layer {
    position: fixed;
    inset: 0;
    z-index: 8;
    overflow: hidden;
    pointer-events: none;
}

.petal-layer i {
    position: absolute;
    top: 0;
    width: var(--petal-width, 12px);
    height: var(--petal-height, 18px);
    border-radius: 80% 20% 80% 20%;
    background: var(--petal-color, #f4c9d3);
    opacity: 0;
    filter: drop-shadow(0 6px 8px rgba(255, 90, 125, 0.12));
    transform-origin: 50% 80%;
    animation: petal-drift var(--petal-duration, 9s) linear var(--petal-delay, 0s) infinite;
    will-change: transform, opacity;
}

.petal-layer i:nth-child(1) { left: 3%; --petal-color: #f4c9d3; --petal-rotate: -26deg; --petal-x-mid: 28px; --petal-x-end: -18px; --petal-duration: 8.8s; --petal-delay: -6.4s; }
.petal-layer i:nth-child(2) { left: 8%; --petal-color: #f8dce3; --petal-rotate: 18deg; --petal-x-mid: -24px; --petal-x-end: 22px; --petal-duration: 10.6s; --petal-delay: -2.8s; }
.petal-layer i:nth-child(3) { left: 13%; --petal-color: #ff7d98; --petal-rotate: 38deg; --petal-x-mid: 34px; --petal-x-end: -28px; --petal-duration: 9.4s; --petal-delay: -8.1s; --petal-opacity: 0.58; }
.petal-layer i:nth-child(4) { left: 18%; --petal-color: #ffd7e0; --petal-width: 10px; --petal-height: 15px; --petal-rotate: -42deg; --petal-x-mid: -30px; --petal-x-end: 20px; --petal-duration: 11.2s; --petal-delay: -4.5s; }
.petal-layer i:nth-child(5) { left: 23%; --petal-color: #f3c7d0; --petal-rotate: 24deg; --petal-x-mid: 22px; --petal-x-end: -34px; --petal-duration: 9.8s; --petal-delay: -1.5s; }
.petal-layer i:nth-child(6) { left: 28%; --petal-color: #f6d7df; --petal-width: 10px; --petal-height: 14px; --petal-rotate: -16deg; --petal-x-mid: -18px; --petal-x-end: 30px; --petal-duration: 8.9s; --petal-delay: -7.2s; }
.petal-layer i:nth-child(7) { left: 33%; --petal-color: rgba(255, 125, 152, 0.64); --petal-width: 15px; --petal-height: 22px; --petal-rotate: 52deg; --petal-x-mid: 36px; --petal-x-end: -22px; --petal-duration: 12s; --petal-delay: -5.2s; }
.petal-layer i:nth-child(8) { left: 38%; --petal-color: #f5d5dc; --petal-width: 9px; --petal-height: 13px; --petal-rotate: -34deg; --petal-x-mid: -26px; --petal-x-end: 26px; --petal-duration: 10.2s; --petal-delay: -9.4s; }
.petal-layer i:nth-child(9) { left: 43%; --petal-color: #ffe4ea; --petal-width: 13px; --petal-height: 19px; --petal-rotate: 32deg; --petal-x-mid: 24px; --petal-x-end: -18px; --petal-duration: 9.1s; --petal-delay: -3.2s; }
.petal-layer i:nth-child(10) { left: 48%; --petal-color: #efbec9; --petal-width: 11px; --petal-height: 17px; --petal-rotate: -52deg; --petal-x-mid: -38px; --petal-x-end: 18px; --petal-duration: 11.6s; --petal-delay: -10.1s; }
.petal-layer i:nth-child(11) { left: 53%; --petal-color: #ffd2dd; --petal-rotate: 14deg; --petal-x-mid: 32px; --petal-x-end: -30px; --petal-duration: 8.7s; --petal-delay: -4.9s; }
.petal-layer i:nth-child(12) { left: 58%; --petal-color: #f7dbe1; --petal-width: 14px; --petal-height: 20px; --petal-rotate: -20deg; --petal-x-mid: -28px; --petal-x-end: 34px; --petal-duration: 10.9s; --petal-delay: -6.9s; }
.petal-layer i:nth-child(13) { left: 63%; --petal-color: rgba(255, 90, 125, 0.48); --petal-width: 9px; --petal-height: 14px; --petal-rotate: 44deg; --petal-x-mid: 26px; --petal-x-end: -24px; --petal-duration: 9.6s; --petal-delay: -0.9s; }
.petal-layer i:nth-child(14) { left: 68%; --petal-color: #f8cfd8; --petal-rotate: -38deg; --petal-x-mid: -20px; --petal-x-end: 28px; --petal-duration: 12.4s; --petal-delay: -8.7s; }
.petal-layer i:nth-child(15) { left: 73%; --petal-color: #ffe8ed; --petal-width: 10px; --petal-height: 16px; --petal-rotate: 26deg; --petal-x-mid: 32px; --petal-x-end: -32px; --petal-duration: 8.5s; --petal-delay: -2.4s; }
.petal-layer i:nth-child(16) { left: 78%; --petal-color: #f1bcc8; --petal-width: 13px; --petal-height: 19px; --petal-rotate: -28deg; --petal-x-mid: -34px; --petal-x-end: 20px; --petal-duration: 10.4s; --petal-delay: -6s; }
.petal-layer i:nth-child(17) { left: 83%; --petal-color: #ffdbe4; --petal-rotate: 58deg; --petal-x-mid: 20px; --petal-x-end: -26px; --petal-duration: 9.2s; --petal-delay: -7.8s; }
.petal-layer i:nth-child(18) { left: 88%; --petal-color: #f7c8d2; --petal-width: 11px; --petal-height: 17px; --petal-rotate: -12deg; --petal-x-mid: -24px; --petal-x-end: 32px; --petal-duration: 11.8s; --petal-delay: -3.7s; }
.petal-layer i:nth-child(19) { left: 93%; --petal-color: rgba(255, 125, 152, 0.56); --petal-width: 14px; --petal-height: 21px; --petal-rotate: 36deg; --petal-x-mid: 22px; --petal-x-end: -40px; --petal-duration: 10s; --petal-delay: -9s; }
.petal-layer i:nth-child(20) { left: 97%; --petal-color: #ffe2e8; --petal-width: 9px; --petal-height: 13px; --petal-rotate: -46deg; --petal-x-mid: -32px; --petal-x-end: 18px; --petal-duration: 12.8s; --petal-delay: -5.5s; }
.petal-layer i:nth-child(21) { left: 15%; --petal-color: #f6d7df; --petal-width: 8px; --petal-height: 12px; --petal-rotate: 18deg; --petal-x-mid: -18px; --petal-x-end: 24px; --petal-duration: 13.2s; --petal-delay: -11.5s; --petal-opacity: 0.5; }
.petal-layer i:nth-child(22) { left: 46%; --petal-color: #ffd0db; --petal-width: 8px; --petal-height: 12px; --petal-rotate: -32deg; --petal-x-mid: 18px; --petal-x-end: -22px; --petal-duration: 12.6s; --petal-delay: -1.8s; --petal-opacity: 0.52; }
.petal-layer i:nth-child(23) { left: 66%; --petal-color: #f9e1e7; --petal-width: 8px; --petal-height: 12px; --petal-rotate: 24deg; --petal-x-mid: -20px; --petal-x-end: 26px; --petal-duration: 13.8s; --petal-delay: -7.1s; --petal-opacity: 0.54; }
.petal-layer i:nth-child(24) { left: 86%; --petal-color: #efbec9; --petal-width: 8px; --petal-height: 12px; --petal-rotate: -18deg; --petal-x-mid: 20px; --petal-x-end: -24px; --petal-duration: 12.2s; --petal-delay: -4.1s; --petal-opacity: 0.5; }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    padding: 0 56px;
    background: transparent;
    pointer-events: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    pointer-events: auto;
    opacity: 0;
    animation: fade-up 0.8s ease 1.25s forwards;
}

.brand strong {
    font-weight: 800;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: rgba(37, 48, 77, 0.66);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.footer-links a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

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

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 10.25vw 39.75vw 50vw;
    height: 100svh;
    min-height: 760px;
    overflow: hidden;
    padding-top: 0;
    background: var(--paper);
}

.hero-rail,
.hero-collage {
    position: relative;
    display: block;
    min-height: 0;
    background: var(--paper);
}

.hero-rail {
    padding-left: 0;
}

.hero-rail img,
.hero-collage img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--paper);
    filter: saturate(0.92) contrast(0.94);
    opacity: 0;
    will-change: transform, opacity;
}

.hero-rail img {
    border-radius: 0;
}

.hero-rail img:first-child {
    left: 0;
    top: 0;
    height: 65%;
    object-position: center 42%;
    animation: photo-left 1s cubic-bezier(0.22, 1, 0.36, 1) 1.15s forwards;
}

.hero-rail img:last-child {
    left: 0;
    top: 65%;
    height: 35%;
    object-position: center 48%;
    animation: photo-left 1s cubic-bezier(0.22, 1, 0.36, 1) 1.3s forwards;
}

.hero-panel {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    margin: 0;
    padding: 96px 56px 78px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.32), transparent 38%),
        var(--paper);
    text-align: center;
}

.hero-panel::before {
    content: "MANASNAP";
    position: absolute;
    top: 19.5%;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(37, 48, 77, 0.045);
    font-size: clamp(4.2rem, 6.3vw, 7rem);
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    animation: fade-scale 1.1s ease 1.45s forwards;
}

.hero-panel > * {
    position: relative;
    z-index: 1;
}

.hero-collage {
    padding-right: 0;
}

.hero-collage .collage-a {
    left: 0;
    top: 0;
    width: 50%;
    height: 22%;
    object-position: center 42%;
    border-radius: 0;
    animation: photo-top 1s cubic-bezier(0.22, 1, 0.36, 1) 1.18s forwards;
}

.hero-collage .collage-b {
    left: 0;
    top: 22%;
    width: 50%;
    height: 51%;
    object-position: center 58%;
    border-radius: 0;
    animation: photo-left 1s cubic-bezier(0.22, 1, 0.36, 1) 1.3s forwards;
}

.hero-collage .collage-c {
    right: 0;
    top: 0;
    width: 50%;
    height: 62%;
    object-position: center;
    border-radius: 0;
    animation: photo-right 1s cubic-bezier(0.22, 1, 0.36, 1) 1.18s forwards;
}

.hero-collage .collage-d {
    left: 0;
    top: 73%;
    width: 50%;
    height: 27%;
    object-position: center 45%;
    border-radius: 0;
    animation: photo-bottom 1s cubic-bezier(0.22, 1, 0.36, 1) 1.42s forwards;
}

.hero-collage .collage-e {
    right: 0;
    top: 62%;
    width: 50%;
    height: 38%;
    object-position: center 45%;
    border-radius: 0;
    animation: photo-right 1s cubic-bezier(0.22, 1, 0.36, 1) 1.35s forwards;
}

.app-name,
.section-label {
    margin: 0 0 18px;
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero .app-name {
    opacity: 0;
    animation: fade-up 0.7s ease 1.82s forwards;
}

.hero h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.3rem, 3.3vw, 3.55rem);
    font-weight: 800;
    line-height: 1.47;
    letter-spacing: 0.08em;
    opacity: 0;
    animation: fade-up 0.82s ease 1.95s forwards;
}

.hero-panel > p:not(.app-name) {
    max-width: 480px;
    margin: 30px auto 0;
    color: rgba(37, 48, 77, 0.72);
    font-size: 0.9rem;
    font-weight: 800;
    opacity: 0;
    animation: fade-up 0.78s ease 2.12s forwards;
}

.free-badge {
    position: absolute;
    right: 30px;
    bottom: 30px;
    z-index: 5;
    display: grid;
    width: 132px;
    height: 132px;
    margin: 0;
    place-items: center;
    border-radius: 50%;
    background: rgba(53, 91, 64, 0.94);
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
    font-size: 0.76rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
    opacity: 0;
    animation: pop-in 0.7s ease 2.05s forwards;
}

.free-badge strong {
    display: block;
    margin-top: 6px;
    color: var(--white);
    font-size: 1rem;
}

.scroll-sign {
    position: absolute;
    left: 38px;
    bottom: 36px;
    margin: 0;
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    writing-mode: vertical-rl;
    opacity: 0;
    animation: fade-up 0.7s ease 2.15s forwards;
}

.message-section,
.about-section,
.features-section,
.scenes-section,
.campaign-section,
.download-section {
    padding: 118px max(48px, calc((100vw - 1120px) / 2));
}

.message-section {
    background: var(--panel);
    text-align: center;
}

.message-section h2,
.about-copy h3,
.features-section h2,
.scenes-section h2,
.campaign-section h2,
.download-section h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.35rem, 4.4vw, 4.7rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: 0.03em;
    text-wrap: balance;
}

.message-section p:last-child,
.about-copy p,
.campaign-section p,
.download-section p {
    max-width: 720px;
    margin: 30px auto 0;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 700;
}

.about-section {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
    gap: 70px;
    align-items: center;
    background:
        linear-gradient(180deg, var(--paper), #ffe6ee);
}

.about-copy h2 {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-copy p,
.campaign-section p {
    margin-left: 0;
}

.photo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: end;
}

.photo-strip img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 42px;
    box-shadow: var(--cream-shadow);
}

.photo-strip img:nth-child(2) {
    height: 520px;
}

.features-section {
    background: var(--paper);
    color: var(--ink);
    text-align: center;
}

.features-section .section-label {
    color: var(--green);
}

.features-section h2 {
    color: var(--ink);
}

.section-head {
    max-width: 860px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 58px;
    background: rgba(53, 91, 64, 0.16);
    border-radius: 42px;
    overflow: hidden;
}

.feature-grid article {
    min-height: 428px;
    padding: 36px 28px 32px;
    background: var(--panel);
    text-align: center;
}

.feature-grid span {
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.feature-visual {
    position: relative;
    width: 112px;
    height: 112px;
    margin: 26px auto 24px;
}

.feature-visual::before,
.feature-visual::after {
    content: "";
    position: absolute;
}

.visual-qr::before {
    inset: 18px;
    background:
        linear-gradient(90deg, var(--ink) 9px, transparent 9px) 0 0 / 27px 27px,
        linear-gradient(var(--ink) 9px, transparent 9px) 0 0 / 27px 27px,
        var(--paper);
    border: 9px solid var(--ink);
}

.visual-camera::before {
    inset: 24px 12px 26px;
    border-radius: 10px;
    background: var(--green);
}

.visual-camera::after {
    top: 46px;
    left: 42px;
    width: 28px;
    height: 28px;
    border: 7px solid var(--panel);
    border-radius: 50%;
}

.visual-album::before {
    inset: 14px 22px 18px;
    border: 4px solid var(--green);
    background: linear-gradient(135deg, #ffd9e1 0 48%, #ffeef2 50%);
}

.visual-heart::before {
    top: 32px;
    left: 31px;
    width: 50px;
    height: 50px;
    background: var(--green);
    transform: rotate(45deg);
}

.visual-heart::after {
    top: 22px;
    left: 22px;
    width: 68px;
    height: 40px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 24px 20px, var(--green) 0 20px, transparent 21px),
        radial-gradient(circle at 44px 20px, var(--green) 0 20px, transparent 21px);
}

.visual-sort::before {
    inset: 22px 20px;
    background:
        linear-gradient(var(--blue), var(--blue)) 0 0 / 72px 12px no-repeat,
        linear-gradient(var(--green), var(--green)) 0 28px / 52px 12px no-repeat,
        linear-gradient(var(--yellow), var(--yellow)) 0 56px / 66px 12px no-repeat;
}

.visual-host::before {
    left: 26px;
    top: 22px;
    width: 60px;
    height: 68px;
    border-radius: 16px 16px 8px 8px;
    background: var(--green);
}

.visual-host::after {
    left: 44px;
    top: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8b598;
}

.feature-grid h3 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.3;
}

.feature-grid h4 {
    margin: 10px 0 18px;
    color: var(--green);
    font-size: 0.94rem;
}

.feature-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.feature-grid a,
.scene-grid a {
    display: inline-block;
    margin-top: 22px;
    color: var(--green);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.scenes-section {
    background: var(--paper);
    text-align: center;
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.scene-grid article {
    border-radius: 42px;
    background: var(--panel);
    text-align: left;
    overflow: hidden;
    box-shadow: var(--cream-shadow);
}

.scene-grid img {
    width: 100%;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
}

.scene-grid h3 {
    margin: 26px 26px 8px;
    font-size: 1.18rem;
}

.scene-grid p {
    margin: 0;
    padding: 0 26px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.scene-grid a {
    margin: 22px 26px 28px;
}

.campaign-section {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(280px, 0.52fr);
    gap: 68px;
    align-items: center;
    background: var(--green);
    color: var(--white);
}

.campaign-section .section-label,
.campaign-section h2 {
    color: var(--white);
}

.campaign-section p {
    color: rgba(255, 255, 255, 0.78);
}

.qr-card {
    justify-self: center;
    width: min(330px, 100%);
    padding: 34px 30px;
    border-radius: 42px;
    background: var(--panel);
    text-align: center;
    box-shadow: 0 24px 68px rgba(34, 34, 34, 0.12);
}

.qr-card p {
    margin: 0 0 18px;
    color: var(--green);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.qr-card span,
.qr-card strong {
    display: block;
}

.qr-card span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.qr-card strong {
    margin-top: 6px;
    font-size: 1.45rem;
    color: var(--ink);
}

.qr-pattern {
    width: 188px;
    height: 188px;
    margin: 28px auto 0;
    border: 14px solid var(--green);
    background:
        linear-gradient(90deg, var(--green) 12px, transparent 12px) 0 0 / 38px 38px,
        linear-gradient(var(--green) 12px, transparent 12px) 0 0 / 38px 38px,
        var(--paper);
}

.download-section {
    background: var(--panel);
    text-align: center;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.download-buttons span {
    display: inline-grid;
    min-width: 178px;
    min-height: 54px;
    place-items: center;
    border-radius: 28px;
    background: var(--red);
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 18px 38px rgba(255, 90, 125, 0.26);
}

.download-qr {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 34px;
}

.download-qr .qr-pattern {
    width: 112px;
    height: 112px;
    margin: 0;
    border-width: 8px;
    background-size: 24px 24px;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 26px;
    align-items: center;
    padding: 42px 52px;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.site-footer p {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

@media (max-width: 1280px) {
    .hero-panel {
        padding-inline: 38px;
    }

    .hero h1 {
        font-size: clamp(2rem, 3.25vw, 3rem);
    }
}

@media (max-width: 1040px) {
    .hero {
        min-height: 700px;
    }

    .hero-panel {
        padding: 110px 28px 70px;
    }

}

@media (max-width: 900px) {
    .site-header {
        height: 68px;
        padding: 0 20px;
    }

    .hero {
        display: block;
        height: auto;
        min-height: 0;
        padding-top: 68px;
        overflow: visible;
        background: var(--paper);
    }

    .hero-rail {
        display: none;
    }

    .hero-panel {
        min-height: 70svh;
        padding: 56px 22px 42px;
    }

    .hero-panel::before {
        top: 17%;
        font-size: clamp(3.4rem, 20vw, 5.6rem);
    }

    .hero h1 {
        font-size: clamp(1.82rem, 8.4vw, 2.8rem);
        line-height: 1.44;
        letter-spacing: 0.04em;
    }

    .hero-panel > p:not(.app-name) {
        margin-top: 24px;
        font-size: 0.9rem;
    }

    .hero-collage {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 8px;
        padding: 0;
        background: var(--paper);
    }

    .hero-collage img {
        grid-column: auto;
        grid-row: auto;
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 0;
    }

    .free-badge,
    .scroll-sign {
        display: none;
    }

    .message-section,
    .about-section,
    .features-section,
    .scenes-section,
    .campaign-section,
    .download-section {
        padding: 76px 20px;
    }

    .message-section h2,
    .about-copy h3,
    .features-section h2,
    .scenes-section h2,
    .campaign-section h2,
    .download-section h2 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .about-section,
    .campaign-section {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .photo-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .photo-strip img,
    .photo-strip img:nth-child(2) {
        height: 210px;
    }

    .feature-grid,
    .scene-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid article {
        min-height: 0;
    }

    .scene-grid img {
        aspect-ratio: 4 / 3;
    }

    .site-footer {
        grid-template-columns: 1fr;
        padding: 36px 20px;
    }

    .footer-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 520px) {
    .brand {
        font-size: 1.45rem;
    }

    .hero-panel {
        min-height: 74svh;
    }

    .photo-strip img,
    .photo-strip img:nth-child(2) {
        height: 168px;
    }

    .download-buttons span {
        width: 100%;
    }

    .download-qr {
        gap: 12px;
    }
}
