/* === Base Reset & Variables === */
:root {
    --text-dark: #0d0d0d;
    --text-mid: #555555;
    --text-light: #9a9a9a;
    --white: #ffffff;

    --accent: #0d0d0d;
    --accent-hover: #2a2a2a;

    --panel-border: rgba(0, 0, 0, 0.07);
    --panel-shadow: 0 2px 24px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);

    --panel-bg: rgba(255, 255, 255, 0.82);

    --radius-lg: 24px;
    --radius-md: 14px;
    --radius-pill: 999px;

    --page-gutter: clamp(18px, 2.4vw, 48px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
}

/* Soft holographic wash — fits AI / character creative product */
body {
    background-color: #f5f3f1;
    background-image:
        radial-gradient(ellipse at 75% 35%, rgba(210, 165, 255, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse at 15% 70%, rgba(140, 200, 255, 0.18) 0%, transparent 48%),
        radial-gradient(ellipse at 55% 95%, rgba(255, 185, 175, 0.14) 0%, transparent 44%),
        radial-gradient(ellipse at 88% 80%, rgba(160, 240, 200, 0.12) 0%, transparent 38%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Header === */
header {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 var(--page-gutter);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    width: 100%;
    gap: 24px;
}

/* Brand wordmark */
.logo {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo-word {
    display: inline-block;
}

.logo-ai {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 2px solid var(--text-dark);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--text-dark);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.prelaunch-hidden {
    display: none !important;
}

/* Secondary button — outlined */
.contact-btn {
    background: transparent;
    color: var(--text-dark);
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    border: 1.5px solid rgba(0, 0, 0, 0.18);
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
}

.contact-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.32);
    transform: translateY(-1px);
}

/* Primary button — solid black */
.build-btn {
    background: var(--accent);
    color: var(--white);
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    border: none;
    text-align: center;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.build-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.site-main {
    width: min(100%, 1280px);
    height: 1280px;
    min-height: 1280px;
    padding: 0;
    display: block;
    position: relative;
    overflow: hidden;
}

.hero-section {
    position: relative;
    height: 720px;
    min-height: 720px;
    margin: 0;
    padding: 0 var(--page-gutter);
    overflow: visible;
    display: flex;
    align-items: flex-start;
    background: transparent;
}

/* Character image — keeps its proportions while the hero resizes */
.hero-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-img {
    position: absolute;
    right: 0;
    bottom: -560px;
    height: 1280px;
    width: auto;
    max-width: none;
    display: block;
}

/* Gradient: hard white on left fading to transparent — lets character show through */
.hero-visual-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(245, 243, 241, 0.98) 0%,
        rgba(245, 243, 241, 0.92) 28%,
        rgba(245, 243, 241, 0.50) 52%,
        rgba(245, 243, 241, 0.12) 76%,
        rgba(255, 255, 255, 0.00) 100%
    );
}

/* Text content — left side, sits above image */
.hero-content {
    position: relative;
    z-index: 3;
    flex: 0 0 640px;
    max-width: 640px;
    padding: 218px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
}

.hero-logo-ani {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #111;
    margin-bottom: 16px;
}

/* Floating version badge — bottom right corner on the character */
.hero-badge-float {
    position: absolute;
    top: 620px;
    right: 40px;
    z-index: 4;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.80);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hero-badge-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
}

.hero-badge-val {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: 0;
    line-height: 1;
}

/* Hero headline — large and impactful */
.hero-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.08;
    letter-spacing: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-title-line {
    display: block;
}

.hero-desc {
    color: var(--text-mid);
    font-size: 14px;
    max-width: 430px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.page-section,
.final-cta-section {
    position: absolute;
    z-index: 3;
    overflow: visible;
}

.page-section {
    padding: 0;
}

.product-section,
.video-section,
.changelog-section {
    display: block;
}

.product-section {
    top: 748px;
    left: var(--page-gutter);
    width: 520px;
}

.video-section {
    top: 748px;
    left: 600px;
    width: 360px;
}

.steps-section {
    top: 956px;
    left: var(--page-gutter);
    width: 910px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: start;
}

.changelog-section {
    top: 1110px;
    left: var(--page-gutter);
    width: 850px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: start;
}

.section-copy {
    max-width: 520px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-light);
}

.section-copy h2,
.final-cta-section h2 {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-copy p,
.product-panel p,
.step-item p,
.changelog-item p {
    color: var(--text-mid);
    font-size: 14px;
    line-height: 1.75;
}

.product-board {
    min-height: 132px;
    margin-top: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
}

.product-window-bar {
    display: flex;
    gap: 8px;
    padding: 4px 4px 10px;
}

.product-window-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.10);
}

.product-board-grid {
    min-height: 92px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 10px;
}

.product-panel {
    min-height: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    padding: 12px;
    background: rgba(255, 255, 255, 0.82);
}

.product-panel-main {
    grid-row: auto;
    background: #0d0d0d;
    color: #ffffff;
}

.product-panel span,
.step-item span,
.changelog-item span {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.product-panel strong {
    display: block;
    color: inherit;
    font-size: 16px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.product-panel-main p {
    color: rgba(255, 255, 255, 0.70);
}

.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.step-item {
    min-height: 128px;
    padding: 14px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.64);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.step-item h3,
.changelog-item h3 {
    font-size: 15px;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.changelog-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.changelog-item:first-child {
    padding-top: 0;
}

.changelog-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.final-cta-section {
    top: 1226px;
    left: var(--page-gutter);
    width: 640px;
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.final-cta-section h2 {
    max-width: 760px;
}

/* === Footer bar === */
.site-footer-bar {
    display: none;
}

/* === Modal Overlay === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 13, 13, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal panel — solid white card */
.modal-container {
    background: rgba(252, 251, 249, 0.97);
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.13),
        0 4px 16px rgba(0, 0, 0, 0.06);
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-container.large {
    max-width: 680px;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-light);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.10);
    color: var(--text-dark);
}

.modal-title {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: 0;
}

.modal-desc {
    color: var(--text-light);
    font-size: 14px;
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.65;
}

/* Pill badge inside modal */
.modal-badge {
    display: inline-block;
    background: var(--text-dark);
    color: var(--white);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Price display */
.modal-price {
    font-size: 38px;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: 0;
    margin-bottom: 20px;
}

.modal-price-unit {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0;
}

/* Info box */
.modal-info-box {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 20px;
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.7;
}

.modal-info-label {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 13px;
    letter-spacing: 0.2px;
}

/* Account grid inside member center modal */
.modal-account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.modal-account-item {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    padding: 16px 18px;
}

.modal-account-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 6px;
}

.modal-account-value {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 15px;
}

/* Input field */
.modal-input {
    box-sizing: border-box;
    width: 100%;
    padding: 13px 20px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(0, 0, 0, 0.10);
    background: rgba(0, 0, 0, 0.03);
    margin-bottom: 12px;
    font-size: 15px;
    outline: none;
    color: var(--text-dark);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.modal-input:focus {
    border-color: var(--text-dark);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.modal-input::placeholder {
    color: rgba(0, 0, 0, 0.28);
}

.modal-link {
    display: block;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    margin-top: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

.modal-link:hover {
    color: var(--text-dark);
}

/* === Responsive === */
@media (max-width: 1200px) {
    .site-main {
        padding: 0;
        gap: 0;
    }

    .hero-section {
        height: 720px;
        min-height: 720px;
    }

    .hero-img {
        right: -90px;
        bottom: -560px;
        height: 1280px;
    }

    .hero-content {
        flex: 0 0 430px;
        max-width: 430px;
        padding: 218px 0 0;
    }

    .hero-title {
        font-size: 48px;
    }

    .product-section,
    .video-section,
    .steps-section,
    .changelog-section {
        gap: 20px;
    }

    .section-copy {
        max-width: 520px;
    }

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

    .product-board {
        min-height: 132px;
    }

    .product-board-grid {
        min-height: 92px;
    }

    .final-cta-section {
        padding: 0;
    }
}

@media (max-width: 900px) {
    .site-main {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 0 var(--page-gutter) 62px;
        display: flex;
        flex-direction: column;
        gap: 42px;
        overflow: visible;
    }

    .nav-center {
        display: none;
    }

    .hero-section {
        height: 720px;
        min-height: 520px;
        margin: 0 calc(var(--page-gutter) * -1);
        padding: 0 var(--page-gutter);
        overflow: hidden;
    }

    .hero-img {
        right: -220px;
        bottom: 0;
        height: 720px;
    }

    .hero-content {
        padding-top: 150px;
    }

    .hero-title {
        font-size: 44px;
    }

    .section-copy h2,
    .final-cta-section h2 {
        font-size: 34px;
    }

    .page-section,
    .final-cta-section {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
    }

    .product-section,
    .video-section,
    .steps-section,
    .changelog-section {
        display: block;
    }

    .product-board {
        min-height: 0;
    }

    .product-board-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .product-panel-main {
        grid-row: auto;
    }

    .modal-account-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-main {
        gap: 42px;
    }

    nav {
        padding: 12px 0;
    }

    .hero-section {
        height: 720px;
        min-height: 520px;
    }

    .hero-content {
        flex: unset;
        max-width: 92%;
        padding: 116px 0 0;
    }

    .hero-img {
        right: -245px;
        bottom: 0;
        height: 720px;
        width: auto;
        opacity: 0.22;
    }

    .hero-badge-float {
        top: auto;
        bottom: 16px;
        right: 16px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-copy h2,
    .final-cta-section h2 {
        font-size: 30px;
    }

    .product-board {
        min-height: 0;
        padding: 14px;
    }

    .product-board-grid {
        min-height: 0;
    }

    .step-grid {
        grid-template-columns: 1fr;
    }

    .step-item {
        min-height: auto;
    }

    .changelog-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .final-cta-section {
        min-height: 260px;
    }

    .modal-container {
        padding: 28px 18px;
    }

    .site-footer-bar {
        height: 26px;
    }
}

/* === Simplified Home Reset === */
.nav-center,
.nav-right {
    display: none;
}

nav {
    justify-content: flex-start;
}

.site-main {
    width: 100%;
    height: auto;
    min-height: calc(100vh - 68px - 33px);
    padding: 0 var(--page-gutter) 72px;
    display: block;
    position: relative;
    overflow: visible;
}

.hero-section {
    position: relative;
    height: calc(100vh - 68px - 33px);
    min-height: 620px;
    max-height: 820px;
    margin: 0 calc(var(--page-gutter) * -1);
    padding: 0 var(--page-gutter);
    overflow: hidden;
    display: flex;
    align-items: center;
    background: transparent;
}

.hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-img {
    position: absolute;
    right: clamp(-180px, -10vw, -80px);
    bottom: 0;
    height: min(112vh, 900px);
    width: auto;
    max-width: none;
    opacity: 1;
    display: block;
}

.hero-visual-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(245, 243, 241, 1) 0%,
        rgba(245, 243, 241, 0.94) 32%,
        rgba(245, 243, 241, 0.48) 58%,
        rgba(245, 243, 241, 0.08) 82%,
        rgba(245, 243, 241, 0) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    flex: unset;
    max-width: 520px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.hero-logo-ani,
.hero-desc,
.hero-badge-float {
    display: none;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
    color: var(--text-dark);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.video-section {
    position: relative;
    z-index: 3;
    top: auto;
    left: auto;
    width: min(560px, 48vw);
    margin: -170px 0 0 0;
    display: block;
}

.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000000;
    border-radius: var(--radius-md);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 900px) {
    .hero-section {
        height: 680px;
        min-height: 680px;
    }

    .hero-img {
        right: -260px;
        height: 720px;
        opacity: 0.35;
    }

    .hero-title {
        font-size: 44px;
    }

    .video-section {
        width: min(100%, 560px);
        margin: -120px 0 0 0;
    }
}

@media (max-width: 640px) {
    .site-main {
        padding: 0 var(--page-gutter) 58px;
    }

    .hero-section {
        height: 620px;
        min-height: 620px;
    }

    .hero-content {
        max-width: 92%;
    }

    .hero-img {
        right: -300px;
        height: 650px;
        opacity: 0.24;
    }

    .hero-title {
        font-size: 36px;
    }

    .video-section {
        margin-top: -90px;
    }
}

/* === Reference Vibe Layout === */
body.vibe-reference {
    background-color: #f6e7e6;
    background-image: radial-gradient(circle at 1px 1px, rgba(22, 22, 22, 0.05) 1px, transparent 0);
    background-size: 18px 18px;
    color: #161616;
}

body.vibe-reference header,
body.vibe-reference .site-footer-bar {
    display: none;
}

.vibe-page {
    min-height: 100vh;
    padding: 16px 34px 34px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.vibe-shell {
    position: relative;
    width: min(1680px, 100%);
    min-height: 1120px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 56px;
    background: #fffafa;
    box-shadow: 0 34px 90px rgba(80, 34, 34, 0.14);
    padding: 42px 58px 58px;
}

.vibe-nav {
    position: relative;
    z-index: 9;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
}

.vibe-nav a,
.vibe-nav button {
    font: inherit;
}

.vibe-nav-links,
.vibe-nav-actions {
    display: flex;
    align-items: center;
    gap: 26px;
}

.vibe-nav-links a {
    color: #1b1b1f;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.vibe-brand {
    color: #111111;
    cursor: pointer;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: 1px;
    line-height: 1;
    text-decoration: none;
}

.vibe-nav-actions {
    justify-content: flex-end;
    gap: 16px;
}

.vibe-icon-btn,
.vibe-avatar-btn,
.vibe-login-pill {
    border: 1.5px solid rgba(20, 20, 20, 0.13);
    background: #fffafa;
    color: #161616;
    cursor: pointer;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(80, 34, 34, 0.06);
}

.vibe-icon-btn {
    width: 44px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
}

.vibe-avatar-btn {
    width: 74px;
    border-radius: 999px;
    background-image: url("../assets/gant-main-visual.webp");
    background-size: 84px auto;
    background-position: center 12%;
    background-repeat: no-repeat;
}

.vibe-login-pill {
    border-radius: 999px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 800;
}

.vibe-headline {
    position: absolute;
    z-index: 3;
    color: #171717;
    line-height: 0.88;
    pointer-events: none;
}

.vibe-headline span {
    display: inline-block;
    margin-right: 18px;
    font-size: 58px;
    font-style: italic;
    font-weight: 900;
    line-height: 1;
}

.vibe-headline strong {
    display: inline-block;
    font-size: 124px;
    font-weight: 1000;
    letter-spacing: 0;
    line-height: 0.82;
}

.vibe-headline-left {
    top: 156px;
    left: 90px;
}

.vibe-headline-right {
    top: 236px;
    right: 86px;
}

.vibe-coral-panel {
    position: absolute;
    z-index: 1;
    left: 58px;
    right: 58px;
    bottom: 58px;
    height: 780px;
    overflow: hidden;
    border-radius: 44px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 42%),
        #ff5e61;
}

.vibe-panel-copy {
    position: absolute;
    z-index: 3;
    top: 132px;
    left: 76px;
    width: 410px;
    color: #fff7f6;
}

.vibe-kicker {
    display: block;
    margin-bottom: 22px;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.vibe-panel-copy h1 {
    margin: 0 0 30px;
    color: #ffffff;
    font-size: 48px;
    font-weight: 950;
    line-height: 1.22;
}

.vibe-panel-copy p {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.55;
}

.vibe-cta {
    min-height: 62px;
    width: 238px;
    border-radius: 999px;
    background: #fffafa;
    color: #ff595d;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 12px 0 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(139, 20, 26, 0.18);
}

.vibe-cta span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ff595d;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vibe-social-proof {
    position: absolute;
    z-index: 3;
    left: 76px;
    bottom: 64px;
    width: 248px;
    min-height: 128px;
    border-radius: 30px;
    background: rgba(255, 142, 146, 0.42);
    color: #fffafa;
    padding: 28px 30px;
    display: none;
}

.vibe-mini-avatars {
    display: flex;
    margin-bottom: 18px;
}

.vibe-mini-avatars span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid #ff8f92;
    margin-left: -8px;
    background-image: url("../assets/gant-main-visual.webp");
    background-size: 92px auto;
    background-repeat: no-repeat;
    background-position: center 12%;
}

.vibe-mini-avatars span:first-child {
    margin-left: 0;
}

.vibe-mini-avatars span:nth-child(2) {
    background-position: 48% 18%;
}

.vibe-mini-avatars span:nth-child(3) {
    background-position: 54% 22%;
}

.vibe-mini-avatars span:nth-child(4) {
    background-position: 44% 16%;
}

.vibe-social-proof strong,
.vibe-social-proof small {
    display: block;
}

.vibe-social-proof strong {
    font-size: 18px;
    font-weight: 950;
    line-height: 1.1;
}

.vibe-social-proof small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.vibe-feature-list {
    position: absolute;
    z-index: 3;
    top: 92px;
    right: 124px;
    display: grid;
    grid-template-columns: repeat(3, 100px);
    gap: 30px;
    text-align: center;
    color: #fffafa;
}

.vibe-feature-list span {
    display: block;
    margin: 0 auto 12px;
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
}

.vibe-feature-list strong {
    display: block;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
}

.vibe-product-card {
    position: absolute;
    z-index: 3;
    right: 126px;
    bottom: 124px;
    width: 282px;
    border-radius: 30px;
    background: #fffafa;
    color: #2a2525;
    padding: 22px;
    text-align: center;
    box-shadow: 0 24px 46px rgba(139, 20, 26, 0.20);
}

.vibe-product-card > span {
    display: block;
    margin-bottom: 18px;
    color: #fffafa;
    font-size: 22px;
    font-weight: 950;
    transform: translateY(-58px);
    height: 0;
}

.vibe-video-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 4px solid #fffafa;
    border-radius: 24px;
    background: #111111;
}

.vibe-video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.vibe-product-card h2 {
    margin: 18px 0 6px;
    color: #272020;
    font-size: 22px;
    font-weight: 950;
    line-height: 1.1;
}

.vibe-product-card p {
    margin: 0;
    color: #766767;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.vibe-product-card a {
    min-height: 42px;
    margin: 18px auto 0;
    width: 154px;
    border-radius: 999px;
    background: #ff5b5e;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 950;
}

.vibe-character {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: -270px;
    height: 1160px;
    width: auto;
    max-width: none;
    pointer-events: none;
    transform: translateX(-50%);
    filter: drop-shadow(0 30px 38px rgba(78, 17, 21, 0.18));
}

.vibe-brush {
    position: absolute;
    z-index: 2;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 140, 150, 0.36);
    pointer-events: none;
}

.vibe-brush-left {
    top: 256px;
    left: 430px;
    width: 820px;
}

.vibe-brush-right {
    top: 374px;
    right: 280px;
    width: 440px;
}

@media (max-width: 1320px) {
    .vibe-shell {
        min-height: 1210px;
        padding: 34px 42px 46px;
    }

    .vibe-headline span {
        font-size: 42px;
    }

    .vibe-headline strong {
        font-size: 88px;
    }

    .vibe-headline-left {
        top: 142px;
        left: 58px;
    }

    .vibe-headline-right {
        top: 218px;
        right: 54px;
    }

    .vibe-coral-panel {
        left: 42px;
        right: 42px;
        bottom: 40px;
        height: 900px;
    }

    .vibe-panel-copy {
        left: 52px;
        top: 156px;
        width: 370px;
    }

    .vibe-panel-copy h1 {
        font-size: 38px;
    }

    .vibe-panel-copy p {
        font-size: 17px;
    }

    .vibe-character {
        bottom: -330px;
        height: 1280px;
        left: 54%;
    }

    .vibe-feature-list {
        top: 98px;
        right: 76px;
        grid-template-columns: repeat(3, 86px);
        gap: 18px;
        display: none;
    }

    .vibe-product-card {
        bottom: 190px;
        right: 74px;
        width: 250px;
    }

    .vibe-social-proof {
        display: none;
    }
}

@media (max-width: 980px) {
    .vibe-page {
        min-height: 100vh;
        padding: 18px;
        align-items: flex-start;
    }

    .vibe-shell {
        min-height: auto;
        border-radius: 34px;
        padding: 24px;
    }

    .vibe-nav {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .vibe-brand {
        order: -1;
    }

    .vibe-nav-links,
    .vibe-nav-actions {
        flex-wrap: wrap;
        gap: 14px;
    }

    .vibe-headline {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        z-index: 5;
        margin-top: 46px;
    }

    .vibe-headline-right {
        margin-top: 12px;
    }

    .vibe-headline span {
        font-size: 34px;
    }

    .vibe-headline strong {
        font-size: 64px;
    }

    .vibe-coral-panel {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        height: auto;
        min-height: 760px;
        margin-top: 34px;
        border-radius: 30px;
        padding: 300px 24px 28px;
    }

    .vibe-panel-copy,
    .vibe-social-proof,
    .vibe-feature-list,
    .vibe-product-card {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: min(100%, 430px);
        transform: none;
    }

    .vibe-panel-copy {
        color: #ffffff;
    }

    .vibe-social-proof,
    .vibe-feature-list,
    .vibe-product-card {
        margin-top: 26px;
    }

    .vibe-feature-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        text-align: center;
    }

    .vibe-product-card > span {
        color: #2a2525;
        transform: none;
        height: auto;
    }

    .vibe-character {
        left: auto;
        right: -150px;
        top: 176px;
        bottom: auto;
        height: 610px;
        opacity: 0.92;
        transform: none;
    }

    .vibe-brush {
        display: none;
    }
}

@media (max-width: 620px) {
    .vibe-page {
        padding: 10px;
    }

    .vibe-shell {
        border-radius: 24px;
        padding: 18px;
    }

    .vibe-nav-links a {
        font-size: 13px;
    }

    .vibe-icon-btn,
    .vibe-avatar-btn {
        display: none;
    }

    .vibe-headline span {
        display: block;
        margin: 0 0 8px;
        font-size: 28px;
    }

    .vibe-headline strong {
        font-size: 50px;
    }

    .vibe-coral-panel {
        min-height: 760px;
        padding: 32px 18px 22px;
    }

    .vibe-panel-copy h1 {
        font-size: 34px;
    }

    .vibe-panel-copy p {
        font-size: 16px;
    }

    .vibe-character {
        right: -170px;
        top: 250px;
        height: 430px;
        opacity: 0.22;
    }

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

    .vibe-feature-list div {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .vibe-feature-list span {
        margin: 0;
    }
}

/* === Restored Clean Hero Layout === */
body {
    background-color: #f5f3f1;
    background-image:
        radial-gradient(ellipse at 76% 32%, rgba(210, 165, 255, 0.20) 0%, transparent 50%),
        radial-gradient(ellipse at 16% 72%, rgba(140, 200, 255, 0.16) 0%, transparent 48%),
        radial-gradient(ellipse at 58% 96%, rgba(255, 185, 175, 0.13) 0%, transparent 44%),
        radial-gradient(ellipse at 88% 82%, rgba(160, 240, 200, 0.11) 0%, transparent 38%);
}

header {
    display: flex;
    padding: 0;
}

nav {
    justify-content: space-between;
    width: min(1536px, calc(100% - (var(--page-gutter) * 2)));
    margin: 0 auto;
}

.nav-center {
    display: flex;
}

.nav-right {
    display: flex;
}

.site-main {
    width: min(1536px, calc(100% - (var(--page-gutter) * 2)));
    height: auto;
    min-height: 0;
    margin: 16px auto 84px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: visible;
}

.hero-section {
    position: relative;
    height: auto;
    min-height: clamp(640px, 62vh, 700px);
    max-height: none;
    margin: 0;
    padding: 84px 52px;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--panel-shadow);
}

.hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-img {
    position: absolute;
    right: 8px;
    bottom: -330px;
    height: 1080px;
    width: auto;
    max-width: none;
    opacity: 1;
    display: block;
}

.hero-visual-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        96deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.94) 28%,
        rgba(255, 255, 255, 0.58) 48%,
        rgba(255, 255, 255, 0.10) 64%,
        rgba(255, 255, 255, 0) 76%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    flex: 0 0 640px;
    max-width: 640px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(-118px);
}

.hero-logo-ani {
    display: none;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    color: var(--text-dark);
    font-size: 52px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-title span {
    max-width: 100%;
    white-space: nowrap;
}

.hero-desc {
    display: block;
    max-width: 640px;
    color: var(--text-mid);
    font-size: 14px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2px;
}

.hero-content .contact-btn {
    display: none;
}

.hero-badge-float {
    position: absolute;
    z-index: 4;
    right: 34px;
    bottom: 48px;
    top: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.80);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hero-market-card {
    position: absolute;
    z-index: 4;
    left: 52px;
    bottom: 48px;
    width: min(660px, calc(48.72% - 78px));
    height: 260px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.hero-market-card-viewport {
    position: relative;
    height: 228px;
    overflow: hidden;
}

.hero-market-slide {
    display: none;
    height: 228px;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding-right: 52px;
}

.hero-market-slide.is-active {
    display: grid;
}

.hero-market-card-image {
    width: 100%;
    height: 228px;
    object-fit: cover;
    object-position: center 14%;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
}

.hero-market-card-placeholder {
    width: 100%;
    height: 228px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.92), rgba(13, 13, 13, 0.72));
    color: rgba(255, 255, 255, 0.86);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.hero-market-copy {
    min-width: 0;
    height: 100%;
    max-height: 228px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-market-card h2 {
    color: var(--text-dark);
    font-size: 21px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-market-card p {
    color: var(--text-mid);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-market-card strong {
    width: fit-content;
    min-height: 24px;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    background: #0d0d0d;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.hero-market-next {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #0d0d0d;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-50%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.home-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, clamp(380px, 34vh, 440px));
    grid-auto-rows: minmax(0, clamp(380px, 34vh, 440px));
    gap: 20px;
    align-items: stretch;
}

.home-panel {
    height: 100%;
    min-height: 0;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--panel-shadow);
    overflow: hidden;
}

.panel-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.panel-heading strong {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 900;
}

.panel-heading span {
    min-height: 24px;
    padding: 2px 12px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 999px;
    color: var(--text-mid);
    font-size: 12px;
    font-weight: 700;
}

.video-panel {
    display: flex;
    flex-direction: column;
    padding: 0 24px 24px;
}

.video-panel .panel-heading {
    padding: 22px 0 0;
}

.video-panel .video-frame {
    width: 100%;
    flex: 1;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: var(--radius-md);
    background: #000000;
    overflow: hidden;
    box-shadow: none;
}

.devlog-panel {
    display: flex;
    flex-direction: column;
    height: clamp(380px, 34vh, 440px);
    max-height: clamp(380px, 34vh, 440px);
    min-height: 0;
    overflow: hidden;
}

.devlog-list {
    display: grid;
    align-content: start;
    gap: 16px;
    flex: 1 1 0;
    height: 0;
    max-height: 100%;
    min-height: 0;
    overflow-y: auto;
    padding: 0 10px 20px 0;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.devlog-list::-webkit-scrollbar {
    width: 6px;
}

.devlog-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
}

.devlog-item {
    display: grid;
    grid-template-columns: minmax(86px, 110px) minmax(130px, 180px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 10px;
    align-items: start;
    padding: 7px 0 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.devlog-item:last-child {
    border-bottom: 0;
}

.devlog-title-stack {
    display: contents;
}

.devlog-list span {
    grid-column: 1;
    grid-row: 1 / span 2;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.devlog-list h3 {
    grid-column: 2;
    grid-row: 1;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.4;
}

.devlog-thumb {
    grid-column: 2;
    grid-row: 2;
    width: min(132px, 100%);
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    object-position: center 14%;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
    cursor: zoom-in;
}

.devlog-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 34px;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.devlog-lightbox.is-active {
    display: flex;
}

.devlog-lightbox-image {
    max-width: min(96vw, 1180px);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.devlog-lightbox-close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.38);
    color: #ffffff;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.devlog-list p {
    grid-column: 3;
    grid-row: 2;
    color: var(--text-mid);
    font-size: 14px;
    line-height: 1.8;
}

.devlog-item-text-only {
    grid-template-rows: auto;
}

.devlog-item-text-only span,
.devlog-item-text-only p {
    grid-row: 1;
}

@media (max-width: 1100px) {
    .hero-section {
        min-height: 680px;
        padding: 92px 42px;
    }

    .hero-img {
        right: -100px;
        bottom: -240px;
        height: 1010px;
    }

    .hero-title {
        font-size: 46px;
    }

    .home-lower-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        grid-auto-rows: auto;
    }

    .hero-market-card {
        width: min(720px, calc(100% - 84px));
    }
}

@media (max-width: 760px) {
    header {
        padding: 0;
    }

    nav {
        width: calc(100% - 28px);
        gap: 12px;
    }

    .nav-right {
        display: none;
    }

    .site-main {
        width: calc(100% - (var(--page-gutter) * 2));
        margin-top: 16px;
        margin-bottom: 64px;
    }

    .nav-center {
        display: none;
    }

    .hero-section {
        min-height: 620px;
        padding: 56px 28px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-img {
        right: -250px;
        bottom: 0;
        height: 680px;
        opacity: 0.28;
    }

    .hero-content {
        flex: unset;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        transform: none;
    }

    .hero-title {
        font-size: 38px;
        width: 100%;
        max-width: 100%;
    }

    .hero-title span {
        display: block;
        width: 100%;
        min-width: 0;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .hero-badge-float {
        display: none;
    }

    .home-panel {
        height: auto;
        min-height: 0;
        padding: 20px;
    }

    .home-lower-grid {
        grid-auto-rows: auto;
    }

    .video-panel {
        padding: 0 20px 20px;
    }

    .video-panel .panel-heading {
        padding: 20px 0 0;
    }

    .video-panel .video-frame {
        flex: none;
        aspect-ratio: 16 / 9;
        border-radius: var(--radius-md);
    }

    .devlog-panel {
        height: 320px;
        max-height: 320px;
    }

    .hero-market-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        height: 330px;
        margin-top: 22px;
    }

    .hero-market-card-viewport,
    .hero-market-slide {
        height: 306px;
    }

    .hero-market-slide {
        grid-template-columns: 1fr;
        padding-right: 48px;
    }

    .hero-market-card-image,
    .hero-market-card-placeholder {
        height: 118px;
    }

    .hero-market-copy {
        height: auto;
        max-height: 166px;
    }

    .devlog-item {
        grid-template-columns: 88px 1fr;
        grid-template-rows: auto auto auto;
    }

    .devlog-list h3,
    .devlog-thumb,
    .devlog-list p {
        grid-column: 2;
    }

    .devlog-list span {
        grid-row: 1 / span 3;
    }

    .devlog-list h3 {
        grid-row: 1;
    }

    .devlog-thumb {
        grid-row: 2;
    }

    .devlog-list p {
        grid-row: 3;
    }
}

/* === Mobile Home Layout === */
@media (max-width: 760px) {
    :root {
        --page-gutter: 14px;
    }

    body {
        background-size: auto;
    }

    nav {
        width: calc(100% - 28px);
        min-height: 58px;
        padding: 12px 0;
    }

    .logo {
        font-size: 18px;
        gap: 8px;
    }

    .logo-ai {
        min-width: 30px;
        height: 30px;
        padding: 0 7px;
        font-size: 13px;
    }

    .site-main {
        width: auto;
        margin: 12px 14px 54px;
        padding: 0 0 48px;
        gap: 16px;
    }

    .hero-section {
        min-height: 640px;
        margin-bottom: 408px;
        padding: 242px 22px 36px;
        border-radius: 18px;
        display: block;
        overflow: visible;
    }

    .hero-img {
        right: -112px;
        bottom: 0;
        height: 610px;
        opacity: 0.74;
    }

    .hero-visual-fade {
        display: none;
    }

    .hero-content {
        position: relative;
        z-index: 3;
        width: 100%;
        max-width: 100%;
        gap: 14px;
        text-shadow: 0 2px 18px rgba(255, 255, 255, 0.96);
    }

    .hero-title {
        font-size: 34px;
        line-height: 1.12;
        gap: 4px;
    }

    .hero-desc {
        max-width: 322px;
        color: #444444;
        font-size: 14px;
        line-height: 1.85;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .hero-desc br {
        display: none;
    }

    .hero-market-card {
        display: block;
        position: absolute;
        left: 0;
        top: calc(100% + 16px);
        bottom: auto;
        width: 100%;
        height: 392px;
        margin-top: 0;
        padding: 14px 14px 16px;
        background: rgba(255, 255, 255, 0.78);
    }

    .hero-market-card-viewport,
    .hero-market-slide {
        height: 362px;
    }

    .hero-market-slide {
        grid-template-columns: 1fr;
        grid-template-rows: 200px minmax(0, 1fr);
        gap: 16px;
        padding-right: 0;
    }

    .hero-market-card-image,
    .hero-market-card-placeholder {
        height: 200px;
    }

    .hero-market-copy {
        height: auto;
        max-height: 146px;
    }

    .hero-market-card h2 {
        font-size: 18px;
        line-height: 1.35;
        margin-bottom: 6px;
        -webkit-line-clamp: 1;
    }

    .hero-market-card p {
        font-size: 13px;
        line-height: 1.65;
        margin-bottom: 10px;
        -webkit-line-clamp: 3;
    }

    .hero-market-card strong {
        min-height: 22px;
        font-size: 11px;
    }

    .hero-market-next {
        top: 114px;
        right: 22px;
        width: 38px;
        height: 38px;
        transform: none;
    }

    .home-lower-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .devlog-panel {
        display: block;
        order: 2;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .video-panel {
        order: 1;
    }

    .home-panel {
        border-radius: 18px;
        padding: 18px;
        overflow: visible;
    }

    .video-panel {
        padding: 0 18px 18px;
    }

    .video-panel .panel-heading {
        padding: 18px 0 0;
    }

    .panel-heading {
        margin-bottom: 16px;
    }

    .devlog-list {
        display: block;
        flex: none;
        height: auto;
        max-height: none;
        min-height: auto;
        min-width: 0;
        overflow: visible;
        padding: 0;
    }

    .devlog-item {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 8px;
        min-width: 0;
        padding: 0 0 24px;
        margin-bottom: 24px;
    }

    .devlog-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .devlog-list span,
    .devlog-list h3,
    .devlog-thumb,
    .devlog-list p {
        grid-column: 1;
        grid-row: auto;
    }

    .devlog-list span {
        font-size: 12px;
        line-height: 1.2;
    }

    .devlog-list h3 {
        font-size: 20px;
        line-height: 1.35;
    }

    .devlog-thumb {
        width: 100%;
        margin: 2px 0 4px;
    }

    .devlog-list p {
        font-size: 15px;
        line-height: 1.85;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .devlog-lightbox {
        padding: 18px;
    }

    .devlog-lightbox-close {
        top: 14px;
        right: 14px;
    }
}
