/* I Love a Piano — Landing Page Styles */

:root {
    --bg: #000000;
    --surface: #16161d;
    --surface-2: #1f1f28;
    --text: #f5f5f7;
    --muted: #a0a0ab;
    --accent: #8b5cf6;
    --danger: #ef2b2b;
    --border: #3a3a48;
    
    --fs-body: 16px;
    --fs-lead: 20px;
    --fs-h1: 48px;
    --fs-h2: 32px;
    
    /* Announcement Page Tokens */
    /* Spacing */
    --space-sm: 12px;
    --space-md: 20px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    
    /* Typography */
    --text-title: 48px;
    --text-subtitle: 24px;
    --text-detail: 18px;
    
    /* Image Sizes */
    --image-phone: 300px;
    --image-phone-lg: 350px;
    --image-menu: 240px;
    --image-menu-sm: 140px;
    --image-gray-card: 700px;
    
    /* Card Colors */
    --card-gray: #E3E5EE;
    --card-green: #DAEAE2;
    --card-peach: #F8EBE3;
    --card-yellow: #F4EAD7;
    --card-scroll: #D6E4E9;
    --card-orientation: #E7DDD8;
    --card-recording: #EDD7D6;
    --card-voiceover: #DEE3EC;
    --card-music: #E9DDDF;
    --card-multipiano: #E3D8E6;
    
    /* Border Radius */
    --radius-card: 24px;
    --radius-card-sm: 18px;
}

/* Layout Utilities */
.hstack { display: flex; flex-direction: row; }
.vstack { display: flex; flex-direction: column; }
.spacer { flex: 1; }

/* Light mode - Apple-inspired colors */
body.light-mode {
    --bg: #f5f5f7;
    --surface: #ffffff;
    --surface-2: #ffffff;
    --text: #1d1d1f;
    --muted: #86868b;
    --accent: #0071e3;
    --danger: #ff3b30;
    --border: #d2d2d7;
}

body.light-mode .top-nav {
    background: rgba(255, 255, 255, 0.8);
}

body.light-mode .nav-mobile-menu {
    background: rgba(255, 255, 255, 0.95);
}

body.light-mode .nav-mobile-link {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .nav-mobile-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode .footer-separator,
body.light-mode .blog-separator,
body.light-mode .blog-post-nav {
    border-top-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .rotate-button:hover {
    background: #d2d2d7;
}

body.light-mode .scrolling-gif img,
body.light-mode .bird-gif img,
body.light-mode .accessibility-img img {
    border-color: #3a3a48;
}

body.light-mode .hero-logotype {
    filter: brightness(0) saturate(100%) invert(20%) sepia(70%) saturate(1600%) hue-rotate(208deg) brightness(82%) contrast(95%);
    /* Navy blue in light mode */
}

body.light-mode .nav-app-logo {
    filter: brightness(0) saturate(100%) invert(14%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(20%) contrast(100%);
    /* dark in light mode */
}

* { box-sizing: border-box; }

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    height: 100%;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: var(--fs-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 800px;
    padding: 24px 32px;
    margin: 0 auto;
}

/* Navigation */
.top-nav {
    background: rgba(22, 22, 29, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding-bottom: 2px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.nav-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 8px 16px;
    margin: 0 auto;
    height: 56px;
    max-width: 1024px;
    position: relative;
}

.ilap-page .nav-container {
    max-width: 800px;
}

.ilap-page .footer-container {
    padding: 0 16px;
}

.about-page .nav-container {
    max-width: 720px;
}

.nav-heart, .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    padding: 0 16px;
    line-height: 1;
}

.nav-heart {
    font-weight: 600;
    gap: 8px;
    transition: opacity 0.2s ease;
}

.nav-heart:hover {
    opacity: 0.8;
}

.nav-logo {
    height: 22px;
    width: auto;
    margin-right: 8px;
}

.nav-scroll-link {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateY(-10px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.nav-scroll-link.visible {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: auto;
}

.nav-scroll-icon {
    height: 28px;
    width: auto;
}

.nav-app-logo,
.title-logo {
    height: 1em;
    width: auto;
}

.nav-app-logo {
    margin-right: 0.4em;
}

.title-logo {
    vertical-align: middle;
}

.nav-center-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-center-icon.visible {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.nav-center-icon img {
    height: 40px;
    width: auto;
    border-radius: 10px;
}

.nav-right {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: opacity 0.2s ease;
}

.theme-toggle:hover {
    opacity: 0.7;
}

.theme-toggle-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 16px 24px;
    font-size: 16px;
    font-family: inherit;
    width: 100%;
    transition: background 0.2s ease;
}

.theme-toggle-mobile:hover {
    background: rgba(255, 255, 255, 0.05);
}

body.light-mode .theme-toggle-mobile:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-toggle {
    display: none;
}

.nav-menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0 12px;
    transition: color 0.2s ease;
}

.nav-menu-button:hover {
    color: var(--muted);
}

.nav-mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(22, 22, 29, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    margin-top: 8px;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.nav-toggle:checked ~ .nav-mobile-menu {
    display: flex;
}

.nav-mobile-link {
    color: var(--text);
    text-decoration: none;
    padding: 16px 24px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
}

.nav-mobile-link:last-child {
    border-bottom: none;
}

.nav-mobile-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav-mobile-link-bold {
    font-weight: 600;
}

@media (max-width: 574px) {
    .nav-right {
        display: none;
    }
    
    .nav-menu-button {
        display: flex;
    }
}

/* Hero Section */
.hero { 
    padding-top: 100px;
    padding-bottom: 8px;
}

.hero-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.app-icon {
    height: 160px;
}

.title-area h1 {
    margin: 0;
    padding: 0;
    font-size: 56px;
    line-height: 1;
}

.title-area h1 br {
    display: none;
}

.hero-logotype {
    height: 24px;
    width: auto;
    margin-top: 8px;
    margin-bottom: -8px;
    filter: brightness(0) saturate(100%) invert(18%) sepia(90%) saturate(2500%) hue-rotate(350deg) brightness(75%) contrast(110%);
    /* #CE2020 darker to match heart */
}

.hero-logotype-large {
    height: 32px;
    width: auto;
    vertical-align: middle;
    margin-left: 0;
    margin-top: 10px;
}

.heart-red {
    color: #CE2020;
}

.tagline {
    margin: 0;
    color: var(--muted);
    line-height: 1.25;
    font-size: 24px;
}

.tagline br {
    display: none;
}

.cta { 
    padding-top: 12px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.testflight-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background: linear-gradient(180deg, #45c6f3 0%, #0078d4 100%);
    color: #fff;
    padding: 0 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: var(--fs-button);
    font-weight: 500;
    border: none;
    box-sizing: border-box;
    transition: filter 0.2s ease;
}

.testflight-button:hover {
    filter: brightness(1.1);
}

.button.store {
    display: inline-block;
    color: var(--text);
    background: #2d2d3a;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid var(--border);
    font-size: 16px;
}

.button.store:hover { 
    background: #343446;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .app-icon { height: 140px; }
    .title-area h1 { font-size: 48px; }
    .tagline { font-size: 22px; }
}

@media (max-width: 574px) {
    .hero-header { gap: 16px; }
    .app-icon { height: 120px; }
    .title-area h1 { font-size: 36.48px; }
    .tagline { font-size: 20px; }
}

@media (max-width: 480px) {
    .app-icon { height: 100px; }
    .title-area h1 { font-size: 32px; }
    .tagline { font-size: 18px; }
}

/* Phones Display */
.phones-display {
    padding: 0;
}

.phones-display .container {
    display: flex;
    justify-content: center;
}

.phones-display img {
    max-width: min(512px, 100%);
    max-height: 512px;
    width: auto;
    height: auto;
}

/* Intro Text Styles */
.intro {
    padding: 16px 0;
}

.intro-text, .intro-secondary {
    font-size: var(--fs-lead);
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-align: left;
}

.intro-text {
    font-weight: 600;
    line-height: 1.7;
}

.intro-text-large {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    text-align: left;
}

.intro-secondary {
    color: var(--muted);
}

.intro-text:last-child,
.intro-secondary:last-child {
    margin-bottom: 0;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16 / 9;
    margin: 48px auto;
    border-radius: 12px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-small {
    max-width: 300px;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
}

.fun-video {
    padding: 48px 0;
    text-align: center;
}

/* Features Section */
.features {
    padding: 12px 0 32px 0;
}

.multipiano-image {
    text-align: center;
    margin: 0 0 32px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.multipiano-image img {
    max-height: 120px;
    width: auto;
}

/* Unified Feature Section Styles */
.orientation-section,
.scrolling-section,
.bird-section,
.accessibility-section,
.tagline-section {
    background: var(--surface);
    border-radius: 24px;
    padding: 40px;
    margin: 24px 0;
}

.features-container {
    margin: 24px 0;
    padding: 40px 0;
}

.orientation-title,
.scrolling-title,
.bird-title,
.accessibility-title,
.features-container-title,
.tagline-title {
    margin: 0 0 12px 0;
    font-size: 32px;
    text-align: left;
}

.tagline-title {
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

.feature-description {
    margin: 0 0 20px 0;
    color: var(--muted);
    font-size: var(--fs-lead);
    line-height: 1.6;
}

.inspiration-link {
    margin: 0 0 20px 0;
    font-size: var(--fs-body);
}

.inspiration-link a {
    color: #3b82f6;
    text-decoration: none;
}

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

/* Image Containers - Unified Styles */
.orientation-images,
.scrolling-gif,
.bird-gif {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: min(512px, 100vw);
    max-height: min(512px, 100vw);
    width: 100%;
    aspect-ratio: 1;
    margin: 0 auto;
}

.accessibility-img {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: min(512px, 100%);
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.accessibility-img img {
    max-width: 100%;
    max-height: 512px;
    width: auto;
    height: auto;
    border-radius: 36px;
    border: 6px solid var(--border);
}

.orientation-images {
    flex-direction: column;
    gap: 20px;
    margin: 48px auto 24px auto;
}

.orientation-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: min(512px, 100vw);
    max-height: min(512px, 100vw);
    width: 100%;
    aspect-ratio: 1;
    margin: 0 auto;
}

.orientation-images img {
    border-radius: 24px;
    display: block;
    max-width: min(512px, 100vw);
    max-height: min(512px, 100vw);
    width: auto;
    height: auto;
}

.scrolling-gif img,
.bird-gif img {
    border-radius: 36px;
    max-width: min(512px, 100vw);
    max-height: min(512px, 100vw);
    width: auto;
    height: auto;
    border: 6px solid var(--border);
}

.rotate-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    margin-top: 8px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.rotate-button:hover {
    background: #343446;
}

.rotate-button:active {
    transform: scale(0.98);
}

.rotate-button svg {
    width: 20px;
    height: 20px;
}

/* Apple-Style Features Grid */
.features-grid-apple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
    margin-top: 32px;
}

.feature-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.feature-tile-icon {
    width: 40px;
    height: 40px;
    color: var(--text);
    margin-bottom: 16px;
}

.feature-tile-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--text);
}

.feature-tile .category-list {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

.feature-tile .category-list li {
    padding-left: 16px;
}

.feature-tile .category-list li::before {
    font-size: 12px;
}

@media (max-width: 864px) {
    .features-grid-apple {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }
}

@media (max-width: 480px) {
    .feature-tile-icon {
        width: 32px;
        height: 32px;
    }
}

/* Image Overlay */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.image-overlay.active {
    opacity: 1;
    visibility: visible;
}

.image-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 16px;
}

.image-overlay-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
}

.category-list li {
    padding-left: 20px;
    position: relative;
}

.category-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text);
    font-weight: bold;
}

.category-list ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.category-list ul li {
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.category-list ul li::before {
    content: "◦";
    font-size: 14px;
}

/* Interactive Feature Items */
.has-detail {
    cursor: pointer;
    transition: color 0.2s ease;
}

.has-detail:hover {
    color: var(--danger);
}

/* Tooltip */
.feature-tooltip {
    position: fixed;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    max-width: 280px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.feature-tooltip.visible {
    opacity: 1;
}

/* Additional Pages */
.contact-section,
.belovedmelody-section,
.music-section {
    padding: 100px 0 0 0;
}

.music-section .container {
    max-width: 600px;
}

.belovedmelody-section .container {
    max-width: 720px;
}

.belovedmelody-section ~ .site-footer .footer-container {
    max-width: 720px;
}

.blog-post,
.blog-post-preview {
    margin: 48px 0;
}

.blog-post-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.blog-post-title a {
    color: var(--text);
    text-decoration: none;
}

.blog-post-title a:hover {
    color: var(--danger);
}

.blog-post-date {
    color: var(--muted);
    font-size: var(--fs-body);
    margin: 0 0 32px 0;
}

.blog-post-date a {
    color: var(--muted);
    text-decoration: none;
}

.blog-post-date a:hover {
    color: var(--danger);
}

.blog-post p,
.blog-post-preview p {
    margin: 20px 0;
}

.blog-post p a,
.blog-post-preview p a {
    color: var(--danger);
    text-decoration: none;
}

.blog-post p a:hover,
.blog-post-preview p a:hover {
    text-decoration: underline;
}

.blog-post-nav {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-post-nav a {
    color: var(--danger);
    text-decoration: none;
}

.blog-post-nav a:hover {
    text-decoration: underline;
}

.blog-separator {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 32px 0;
}

.contact-section h1,
.music-section h1,
.belovedmelody-section h1 {
    font-size: 36.48px;
    margin: 0 0 16px 0;
    text-align: left;
}

.contact-section p,
.music-section p,
.belovedmelody-section p {
    font-size: var(--fs-body);
    line-height: 1.6;
    margin: 16px 0;
}

.contact-section a,
.belovedmelody-section p a {
    color: #3b82f6;
    text-decoration: none;
}

.contact-section a:hover,
.belovedmelody-section p a:hover {
    text-decoration: underline;
}

.belovedmelody-section h1 a.heart-link {
    color: var(--danger);
    text-decoration: none;
    font-size: 36.48px;
}

.belovedmelody-tagline {
    text-align: left;
    font-size: var(--fs-body);
    margin: 0 0 24px 0;
}

.signature {
    font-style: italic;
    margin-top: 24px;
}

.about-content {
    display: block;
}

.about-headshot-wrapper {
    margin-bottom: 16px;
}

.about-headshot-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 24px;
}

.about-headshot {
    width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.photo-credit {
    font-size: 6px;
    color: #86868b;
    margin: 4px 0 0 0;
    text-align: center;
}

.photo-credit a {
    color: #86868b;
    text-decoration: none;
}

.photo-credit a:hover {
    text-decoration: underline;
}

.inset-box {
    padding: 20px 0;
    margin-top: 16px;
    margin-bottom: 0;
}

.inset-box h2 {
    margin-top: 0;
}

.inset-box p {
    margin: 0 0 12px 0;
}

.inset-box p:last-child {
    margin-bottom: 0;
}

.back-link {
    margin-bottom: 8px;
}

.back-link a {
    color: #86868b;
    text-decoration: none;
    font-size: var(--fs-body);
}

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

.license-context,
.license-type {
    font-size: 14px;
    color: #86868b;
}


.belovedmelody-nav {
    text-align: left;
    margin-top: 32px;
    font-size: var(--fs-body);
}

.belovedmelody-nav a {
    color: var(--text);
    text-decoration: none;
}

.belovedmelody-nav a:hover {
    color: #3b82f6;
}

/* Footer */
.footer-separator {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 32px auto;
    max-width: 800px;
}

.site-footer { 
    background: var(--bg);
    padding: var(--space-xl) 0;
    margin-top: 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 240px;
}

.footer-col:nth-child(2) {
    align-items: flex-end;
}

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

.footer-heart {
    width: 16px;
    height: auto;
}

.footer-copyright {
    font-size: var(--fs-body);
    color: #CE2020;
}

.footer-link {
    font-size: var(--fs-body);
    color: var(--text);
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-col {
        max-width: none;
        align-items: flex-start;
    }
    
    .footer-col:nth-child(2) {
        align-items: flex-start;
    }
}

/* Announcement Page - Apple-style Hero Cards */
.announcement-page {
    padding-top: calc(56px + var(--space-lg)); /* nav height + margin */
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-left: var(--space-2xl);
    padding-right: var(--space-2xl);
    max-width: 1100px;
    margin: 0 auto;
}

.announcement-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 24px 0;
}

.announcement-hero-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: var(--space-xl);
}

.announcement-hero-title {
    position: relative;
    width: 100%;
    margin-bottom: var(--space-lg);
}

.title-layer-back {
    display: flex;
    align-items: center;
    width: 100%;
}

.title-layer-front {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.title-layer-front .announcement-hero-text-logo {
    pointer-events: auto;
}

.announcement-hero-logo {
    height: 80px;
    width: auto;
}

.announcement-hero-text-logo {
    height: auto;
    width: 320px;
    max-width: 100%;
}

.app-store-badge {
    display: block;
    margin: 16px auto 0;
    text-align: center;
    cursor: pointer;
}

.app-store-badge img {
    width: 160px;
    height: auto;
    pointer-events: none;
}

@media (max-width: 768px) {
    .app-store-badge img {
        width: 144px;
    }
}

@media (max-width: 480px) {
    .app-store-badge img {
        width: 120px;
    }
}

.announcement-hero-subtitle {
    font-size: var(--text-subtitle);
    font-weight: 500;
    color: #585B6B;
    margin-top: var(--space-xl);
}

.announcement-hero-image {
    width: 700px;
    max-width: none;
    height: auto;
}

.hero-card-row {
    display: flex;
    flex-direction: row;
    gap: var(--space-md);
}

.hero-card-row + .hero-card-row {
    margin-top: calc(-1 * var(--space-sm));
}

/* Scroll Row Container - column-based layout */
.scroll-row-container {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: var(--space-md);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-left: max(var(--space-2xl), calc((100vw - 1100px) / 2 + var(--space-2xl)));
    padding-right: max(var(--space-2xl), calc((100vw - 1100px) / 2 + var(--space-2xl)));
    scroll-padding-left: max(var(--space-2xl), calc((100vw - 1100px) / 2 + var(--space-2xl)));
    scroll-padding-right: max(var(--space-2xl), calc((100vw - 1100px) / 2 + var(--space-2xl)));
}

.scroll-row-container::-webkit-scrollbar {
    display: none;
}

/* Large desktop: columns flatten, cards flow as one row */
.scroll-column {
    display: contents;
}

.scroll-row-container .hero-card {
    flex: 0 0 auto;
    width: 260px;
    min-width: 260px;
    flex-shrink: 0;
    scroll-snap-align: start;
    overflow: hidden;
    padding-left: 24px;
    padding-right: 24px;
}

.scroll-row-container .hero-card-detail {
    max-width: 100%;
}

/* Small desktop: 2x3 grid, no scroll */
@media (max-width: 1024px) {
    .scroll-row-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
        overflow: visible;
        scroll-snap-type: none;
        width: auto;
        left: 0;
        transform: none;
        padding-left: 0;
        padding-right: 0;
    }
    
    .scroll-column {
        display: contents;
    }
    
    .scroll-row-container .hero-card {
        flex: none;
        width: auto;
        min-width: 0;
        scroll-snap-align: none;
    }
    
    /* Reorder cards into rows: top row first, then bottom row */
    .scroll-column:nth-child(1) .hero-card:nth-child(1) { order: 1; }
    .scroll-column:nth-child(2) .hero-card:nth-child(1) { order: 2; }
    .scroll-column:nth-child(3) .hero-card:nth-child(1) { order: 3; }
    .scroll-column:nth-child(1) .hero-card:nth-child(2) { order: 4; }
    .scroll-column:nth-child(2) .hero-card:nth-child(2) { order: 5; }
    .scroll-column:nth-child(3) .hero-card:nth-child(2) { order: 6; }
}

/* Tablet and mobile: 3 columns of 2 cards, scrollable */
@media (max-width: 768px) {
    .scroll-row-container {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: var(--space-md);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        padding-left: var(--space-2xl);
        padding-right: var(--space-2xl);
        scroll-padding-left: var(--space-2xl);
        scroll-padding-right: var(--space-2xl);
    }
    
    .scroll-column {
        display: grid;
        grid-template-rows: 1fr 1fr;
        gap: var(--space-md);
        flex: 0 0 auto;
        width: 260px;
        min-width: 260px;
        scroll-snap-align: start;
    }
    
    .scroll-column .hero-card.hero-card-third {
        height: auto;
        min-height: 0;
        padding-top: 16px;
        padding-bottom: 16px;
    }
    
    /* Shrink sustain image on tablet */
    .scroll-column .hero-card-image[alt="Sustain"] {
        width: 110px !important;
    }
}

@media (max-width: 480px) {
    /* Shrink sustain image more on mobile */
    .scroll-column .hero-card-image[alt="Sustain"] {
        width: 90px !important;
    }
}

@media (max-width: 480px) {
    .scroll-row-container {
        padding-left: 12px;
        padding-right: 12px;
        scroll-padding-left: 12px;
        scroll-padding-right: 12px;
    }
}

.hero-card-text-row {
    padding: var(--space-lg) var(--space-xl);
}

.hero-card.hero-card-third {
    flex: 1;
    min-height: auto !important;
    height: auto;
    padding-top: 24px;
    padding-bottom: 24px;
}

.hero-card-pair {
    display: flex;
    gap: var(--space-md);
}

.hero-card-pair .hero-card {
    flex: 1 1 0;
    min-width: 0;
}

.hero-card-duo {
    display: flex;
    gap: var(--space-md);
}

.hero-card-half {
    flex: 1;
    min-height: var(--card-height-third);
    min-width: 0;
}

.hero-card-detail {
    font-size: var(--text-detail);
    font-weight: 600;
    line-height: 1.5;
    color: #1d1d1f;
    margin: 0;
}

.hero-card-third .hero-card-image {
    width: 200px;
}

.hero-card.hero-card-green,
.hero-card.hero-card-peach,
.hero-card.hero-card-yellow {
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-card.hero-card-settings,
.hero-card.hero-card-teal,
.hero-card.hero-card-tan,
.hero-card.hero-card-lavender {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-card-green .hero-card-image {
    transform: rotate(-3deg);
    align-self: flex-start;
    margin-top: 16px;
}

.hero-card-peach .hero-card-detail {
    margin-top: 0;
}

.hero-card-peach .hero-card-image,
.hero-card-settings .hero-card-image,
.hero-card-teal .hero-card-image,
.hero-card-tan .hero-card-image,
.hero-card-lavender .hero-card-image {
    width: 240px;
    align-self: flex-start;
    margin-top: 16px;
}

.hero-card-yellow .hero-card-image {
    width: auto;
    height: 200px;
    align-self: flex-start;
    margin-top: var(--space-md);
    object-fit: cover;
    object-position: left;
}

.hero-card-vstack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.hero-card-vstack-image {
    width: var(--image-menu);
    height: auto;
}

.hero-card-vstack-image:first-child {
    width: var(--image-menu-sm);
}

@media (max-width: 768px) {
    .hero-card-pair {
        flex-direction: column;
    }
    
    .hero-card-pair .hero-card {
        flex: none;
        width: 100%;
    }
    
    .hero-card-row {
        flex-direction: column;
        gap: 0;
    }
    
    .hero-card-duo {
        flex-direction: row;
        gap: var(--space-md);
    }
    
    .hero-card-half {
        flex: 1;
    }
    
    .hero-card.hero-card-third {
        flex: none;
        min-height: auto !important;
        height: auto;
        padding: 24px;
        align-items: center;
    }
    
    .hero-card-third .hero-card-image {
        width: 180px;
        align-self: center;
    }
    
    .hero-card-yellow .hero-card-vstack {
        align-self: center;
    }
    
    .hero-card-yellow .hero-card-vstack-image {
        width: 240px;
    }
    
    .hero-card-yellow .hero-card-vstack-image:first-child {
        width: 100px;
    }
    
    .hero-card-yellow .hero-card-image {
        width: 320px;
    }
    
    .music-glossary {
        grid-template-columns: 1fr;
    }
}

.hero-card {
    background: #ffd6e0;
    border-radius: var(--radius-card);
    padding: 40px var(--space-2xl);
    min-height: var(--card-height);
    position: relative;
    overflow: hidden;
}

.hero-card-gray {
    background: var(--card-gray);
    display: flex;
    flex-direction: column;
    min-height: auto;
}

.hero-card.hero-card-dark {
    background: #3d3a4d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto !important;
    padding: 96px !important;
}

.hero-card-dark .hero-card-title {
    color: #ffffff;
    text-align: center;
}

.hero-card-gray .hero-card-title {
    text-align: center;
    width: 100%;
}

.gray-card-content {
    width: 700px;
    max-width: 100%;
    margin: var(--space-lg) auto 0;
}

.gray-card-content img {
    width: 100%;
    height: auto;
}

.gray-card-content p {
    font-size: var(--text-detail);
    font-weight: 600;
    text-align: center;
    margin-top: 32px;
    line-height: 1.5;
    color: #1d1d1f;
}

.hero-card-red {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    position: relative;
}

.hero-card-red .hero-card-title {
    color: var(--text);
    text-align: center;
}

.hero-card-title-fullred {
    color: #E3211D;
}

.chromatic-title {
    margin-top: 48px;
    padding-top: 24px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.chromatic-title span {
    background: linear-gradient(90deg, #E3211D, #FC711B, #FEAF02, #1D7E4F, #0497C0, #1652B2, #69227C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 640;
    letter-spacing: 0.01em;
}

/* Bottom title uses same structure as announcement-hero-title */
/* Constrained to footer width so icon aligns with footer content */
.bottom-title {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 32px auto var(--space-md);
    padding: 0 32px;
    box-sizing: border-box;
}

.ilap-page .bottom-title {
    padding: 0 16px;
}

.rainbow-pianos-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .rainbow-pianos-image {
        margin-top: 16px;
    }
}

.scroll-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 24px 0;
}

.scroll-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #e8e8ed;
    color: #6e6e73;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.scroll-nav-btn:hover {
    background: #d2d2d7;
    color: #1d1d1f;
}

.scroll-nav-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.scroll-nav-btn:disabled:hover {
    background: #e8e8ed;
    color: #6e6e73;
}

/* Paging dots for scroll columns */
.scroll-paging-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 0;
}

.paging-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d2d2d7;
    transition: background 0.2s ease;
    cursor: pointer;
}

.paging-dot.active {
    background: #6e6e73;
}

/* Show paging dots only on tablet/mobile */
@media (max-width: 768px) {
    .scroll-paging-dots {
        display: flex;
    }
}

/* Hide scroll nav on small desktop (no scroll) */
@media (max-width: 1024px) and (min-width: 769px) {
    .scroll-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .scroll-nav {
        padding: 12px 16px 0;
    }
}

.red-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: var(--space-lg) auto 0;
}

.video-wrapper {
    display: inline-block;
    border: 7px solid #000000;
    border-radius: 40px;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
    vertical-align: middle;
    box-shadow: inset 0 0 0 1px #000000;
}

.demo-video {
    display: block;
    height: 500px;
    width: auto;
}

.video-wrapper.landscape {
    display: inline-block;
    border-radius: 40px;
}

.video-wrapper.landscape .demo-video {
    width: 500px;
    height: auto;
}

.video-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 512px;
}

.video-picker {
    display: flex;
    gap: 0;
    margin: var(--space-md) auto var(--space-lg);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
    padding: 4px;
    width: fit-content;
}

.video-picker-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.video-picker-btn:hover {
    color: #000000;
}

.video-picker-btn.active {
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    font-weight: 500;
}

.video-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    margin: var(--space-md) auto 0;
    padding: 0;
    transition: transform 0.15s ease;
}

.video-play-btn:hover {
    transform: scale(1.05);
    opacity: 1;
}

.video-play-btn:active {
    transform: scale(0.95);
}

.video-play-btn img {
    width: 56px;
    height: 56px;
    opacity: 1;
}

@media (max-width: 768px) {
    .video-nav {
        height: auto;
        min-height: 400px;
    }
    
    .demo-video {
        height: 60vw;
        max-height: 400px;
        width: auto;
    }
    
    .video-wrapper.landscape .demo-video {
        width: 60vw;
        max-width: 400px;
        height: auto;
    }
    
    .video-wrapper,
    .video-wrapper.landscape {
        border-radius: 32px;
    }
}

@media (max-width: 480px) {
    .video-wrapper,
    .video-wrapper.landscape {
        border-radius: 24px;
    }
    
    .video-nav {
        min-height: 300px;
    }
    
    .demo-video {
        height: 70vw;
        max-height: 350px;
    }
    
    .video-wrapper.landscape .demo-video {
        width: 70vw;
        max-width: 350px;
    }
}

.hero-card-scroll {
    background: var(--card-scroll);
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-bottom: 0;
}

.hero-card-scroll .hero-card-title {
    text-align: left;
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-card-scroll .hero-card-image {
    width: 415px;
    max-width: none;
    align-self: center;
    margin-top: auto;
}

.hero-card-orientation {
    background: var(--card-orientation);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    padding-bottom: var(--space-lg);
}

.hero-card-orientation .hero-card-title {
    text-align: center;
    align-self: center;
    font-size: 36px;
}

.orientation-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: var(--space-sm);
}

.hero-card-orientation .rotate-button {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.hero-card-orientation .rotate-button:hover {
    background: rgba(255, 255, 255, 1);
}

.hero-card-orientation .hero-card-image {
    width: 408px;
    height: 408px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.hero-card-recording {
    background: #000000;
    display: flex;
    flex-direction: column;
}

.hero-card-recording .hero-card-title {
    text-align: center;
    font-size: 36px;
    color: #ffffff;
}

.hero-card-recording .hero-card-image {
    width: 130px;
    margin: auto;
    display: block;
}

.recording-images {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
    gap: 24px;
}

.recording-image {
    height: 130px;
    width: auto;
    max-width: 45%;
    object-fit: contain;
}

.hero-card-hstack {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: -48px;
}

.hero-card-hstack-image {
    height: auto;
    max-height: 280px;
    width: auto;
}

.hero-card-voiceover {
    background: var(--card-voiceover);
    display: flex;
    flex-direction: column;
}

.hero-card-duo-pink {
    background: var(--card-music);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

@media (max-width: 574px) {
    .hero-card-duo-pink {
        flex-direction: column !important;
        gap: 40px;
    }
    
    .hero-card-duo-pink .hero-card-pink:first-child {
        padding-bottom: 0;
    }
    
    .hero-card-duo-pink .hero-card-pink:last-child {
        padding-top: 0;
    }
    
    .hero-card-pink .hero-card-title {
        text-align: center !important;
        align-self: center !important;
    }
    
    .hero-card-pink .hero-card-detail {
        align-self: center !important;
    }
}

.hero-card-pink {
    background: var(--card-music);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.hero-card-pink .hero-card-title {
    font-size: 36px;
    align-self: flex-start;
}

.hero-card-pink .hero-card-image {
    width: 100%;
    height: auto;
}

.hero-card-pink .hero-card-mediaplayer {
    width: 225px;
    height: auto;
}

.hero-card-pink .hero-card-miniplayer {
    width: 250px;
    height: auto;
}

.hero-card-pink .music-glossary {
    grid-template-columns: 1fr;
    align-self: center;
    width: auto;
    min-width: 0;
}

@media (max-width: 768px) {
    .hero-card-pink .hero-card-mediaplayer,
    .hero-card-pink .hero-card-miniplayer {
        width: 100%;
        height: auto;
        max-height: none;
    }
}

@media (max-width: 574px) {
    .hero-card-pink .hero-card-mediaplayer,
    .hero-card-pink .hero-card-miniplayer {
        padding-left: 64px;
        padding-right: 64px;
    }
    
    .hero-card-pink {
        gap: var(--space-sm);
    }
}

.hero-card-voiceover .hero-card-title {
    font-size: 36px;
    text-align: center;
}

.hero-card-voiceover .hero-card-image {
    width: calc(100% + 96px);
    max-width: none;
    margin-top: 24px;
    margin-left: -48px;
    margin-right: -48px;
    margin-bottom: -48px;
}

.hero-card-multipiano {
    background: var(--card-multipiano);
    display: flex;
    flex-direction: column;
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 0 !important;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-card-multipiano {
        overflow: hidden;
    }
}

.hero-card-multipiano .hero-card-title {
    text-align: left;
    font-size: 36px;
}

.hero-card-multipiano .hero-card-image {
    width: 880px;
    max-width: none;
    align-self: center;
    margin-top: var(--space-sm);
    margin-bottom: 0;
}

.announcement-footer {
    display: flex;
    justify-content: center;
    padding: 40px 0 20px 0;
}

.announcement-footer-logo {
    height: 72px;
    width: auto;
}

.hero-card-music {
    background: #EEDCE3;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    border-radius: 0 !important;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-2xl) 0;
}

.music-content {
    width: 100%;
    max-width: 1100px;
    padding: 0 var(--space-2xl);
    box-sizing: border-box;
}

.hero-card-music .hero-card-title {
    text-align: left;
    font-size: 36px;
}

.music-headline {
    text-align: center !important;
    font-size: 48px !important;
    margin-bottom: var(--space-2xl);
}

.music-feature,
.music-instruction {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 var(--space-md) 0;
    color: #1d1d1f;
    line-height: 1.3;
}

.music-feature {
    text-align: center;
}

.music-instruction {
    margin: var(--space-lg) 0;
}

.hero-card-music .hero-card-vstack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: var(--space-lg);
}

.hero-card-music .hero-card-vstack .hero-card-title {
    align-self: flex-start;
    text-align: left;
}

.hero-card-music .hero-card-vstack-image {
    width: 300px;
    height: auto;
}

.hero-card-music .hero-card-miniplayer {
    width: 300px;
}

.music-glossary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 48px;
    margin-top: var(--space-md);
    align-self: flex-start;
}

.glossary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-detail);
    font-weight: 500;
    color: #1d1d1f;
    word-break: break-word;
    min-width: 0;
}

.glossary-symbol {
    height: 24px;
    width: 36px;
    object-fit: contain;
}

.hero-card-title {
    font-size: var(--text-title);
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #1d1d1f;
    line-height: 1.1;
}

.hero-card-title .title-heart {
    height: 0.85em;
    width: auto;
    vertical-align: baseline;
    margin: 0 0.05em;
}

.hero-card-title-accent {
    color: #1D7E4F;
}

.hero-card-title-blue {
    color: #0497C0;
}

.hero-card-title-rust {
    color: #A34626;
}

.hero-card-title-orange {
    color: #FC711B;
}

.hero-card-title-yellow {
    color: #FEAF02;
}

.hero-card-title-red {
    color: #E3211D;
}

.hero-card-title-navy {
    color: #1652B2;
}

.hero-card-title-pink {
    color: #FA233D;
}

.hero-card-title-purple {
    color: #69227C;
}

.hero-card-title-gray {
    color: #585C6C;
}

.hero-card-title-brown {
    color: #8B5A2B;
}

.hero-card-footnote {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-top: 24px;
}

.accessibility-icon {
    width: 1.1em;
    height: 1.1em;
    vertical-align: middle;
    margin-right: 0.2em;
    color: #1652B2;
}

.hero-card-subtitle {
    font-size: var(--text-subtitle);
    font-weight: 600;
    margin: 0;
    color: #1d1d1f;
    opacity: 0.8;
}

.hero-card-image {
    width: 700px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .hero-card {
        min-height: 500px;
    }
    
    .hero-card-title {
        font-size: 36px;
    }
    
    .hero-card-subtitle {
        font-size: 20px;
    }
    
    .hero-card-third {
        min-height: 450px;
    }
    
    .hero-card-third .hero-card-image {
        width: 180px;
    }
    
    .hero-card-peach .hero-card-image {
        width: 200px;
    }
    
    .hero-card-yellow .hero-card-image {
        width: 300px;
    }
    
    .gray-card-content {
        width: 550px;
    }
    
    .hero-card-multipiano .hero-card-image {
        width: 750px;
    }
    
    .hero-card-scroll {
        min-height: auto;
    }
    
    .hero-card-scroll .hero-card-image {
        width: 350px;
    }
    
    .announcement-hero-image {
        width: 550px;
    }
}

@media (max-width: 768px) {
    .announcement-hero-image {
        width: 450px;
    }
    
    .announcement-hero-logo {
        height: 60px;
    }
    
    .announcement-hero-text-logo {
        width: 260px;
    }
    
    .announcement-hero-title {
        font-size: 42px;
    }
    
    .announcement-hero-title .title-heart {
        height: 36px;
    }
    
    .hero-card {
        padding: 32px;
        min-height: 400px;
    }
    
    .hero-card-scroll {
        padding-bottom: 0;
        min-height: auto;
    }
    
    .hero-card-scroll .hero-card-image {
        width: 70%;
        max-width: 300px;
    }
    
    .hero-card-title {
        font-size: 28px;
    }
    
    .hero-card-scroll .hero-card-title,
    .hero-card-orientation .hero-card-title,
    .hero-card-music .hero-card-title,
    .hero-card-recording .hero-card-title,
    .hero-card-voiceover .hero-card-title,
    .hero-card-multipiano .hero-card-title,
    .hero-card-pink .hero-card-title {
        font-size: 24px;
    }
    
    .hero-card-scroll .hero-card-title {
        text-align: center;
    }
    
    .hero-card-subtitle {
        font-size: 16px;
    }
    
    .hero-card-image {
        width: 500px;
    }
    
    .hero-card-gray {
        min-height: auto;
    }
    
    .gray-card-content {
        width: 100%;
    }
    
    .gray-card-content img {
        display: block;
        width: 450px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-card-multipiano .hero-card-image {
        width: 600px;
    }
    
}

@media (max-width: 480px) {
    .announcement-page {
        padding-left: 12px;
        padding-right: 12px;
        gap: 12px;
    }
    
    .announcement-hero {
        padding: 24px 0;
    }
    
    .announcement-hero-logo {
        height: 36px;
    }
    
    .announcement-hero-text-logo {
        width: 160px;
    }
    
    .announcement-hero-image {
        width: 300px;
    }
    
    .announcement-hero-title {
        font-size: 32px;
        gap: 8px;
        margin-bottom: 24px;
    }
    
    .announcement-hero-title .title-heart {
        height: 28px;
    }
    
    .hero-card {
        padding: 24px;
        min-height: 480px;
        border-radius: 18px;
        display: flex;
        flex-direction: column;
    }
    
    .hero-card-scroll {
        padding-bottom: 0;
        min-height: auto;
    }
    
    .hero-card-title {
        font-size: 24px;
        max-width: 100% !important;
    }
    
    .hero-card-scroll .hero-card-title,
    .hero-card-orientation .hero-card-title,
    .hero-card-music .hero-card-title,
    .hero-card-recording .hero-card-title,
    .hero-card-voiceover .hero-card-title,
    .hero-card-multipiano .hero-card-title,
    .hero-card-pink .hero-card-title {
        font-size: 20px;
    }
    
    .hero-card-scroll .hero-card-title {
        text-align: center;
    }
    
    .hero-card-subtitle {
        font-size: 16px;
    }
    
    .hero-card-title,
    .hero-card-subtitle {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .hero-card-image {
        width: auto;
        max-height: 300px;
        margin-top: auto;
        align-self: center;
    }
    
    .hero-card-gray {
        min-height: auto;
    }
    
    .gray-card-content {
        width: 100%;
    }
    
    .gray-card-content img {
        display: block;
        width: 300px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-card-multipiano .hero-card-image {
        width: 450px;
    }
    
    .hero-card-scroll .hero-card-image,
    .hero-card-recording .hero-card-image {
        max-height: 300px;
    }
    
    .hero-card-orientation .hero-card-image {
        width: 300px;
        height: 300px;
    }
    
    .hero-card-voiceover .hero-card-images-pair {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: auto;
        justify-content: center;
    }
    
    .hero-card-voiceover .hero-card-images-pair .hero-card-image {
        max-height: 200px;
    }
    
    .hero-card-music .hero-card-title {
        text-align: center;
    }
    
    .hero-card-music .hero-card-vstack-image {
        max-width: 200px;
    }
    
    .hero-card-row {
        flex-direction: column;
        gap: 0;
    }
    
    .hero-card-duo {
        flex-direction: row;
        gap: var(--space-sm);
    }
    
    .hero-card-half {
        flex: 1;
        min-height: 300px !important;
    }
    
    .recording-image {
        height: 70px;
    }
    
    .hero-card.hero-card-third {
        flex: none;
        min-height: auto !important;
        height: auto;
        padding: 24px;
        align-items: center;
    }
    
    .hero-card-third .hero-card-image {
        width: 160px;
        align-self: center;
    }
    
    .hero-card-yellow .hero-card-vstack {
        align-self: center;
    }
    
    .hero-card-yellow .hero-card-vstack-image {
        width: 200px;
    }
    
    .hero-card-yellow .hero-card-vstack-image:first-child {
        width: 90px;
    }
    
    .hero-card-yellow .hero-card-image {
        width: 280px;
    }
}
