:root {
    /* Tiny4 modular product system */
    --primary: #e2574c;
    --accent: #0f9f9a;
    --accent-light: #d7e7e5;
    --product-life: #ec6f78;
    --product-learning: #0f9f9a;
    --product-productivity: #3b82f6;
    --product-health: #22a06b;

    --dark-bg: #f7f8fb;
    --dark-surface: #ffffff;
    --indigo-500: #3b82f6;

    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(21, 31, 48, 0.1);
    --glass-blur: blur(18px);

    --text-primary: #182230;
    --text-secondary: #667085;

    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 12px 28px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.1);
    --transition-smooth: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 248, 251, 0.96) 38%, rgba(242, 245, 249, 0.98) 100%),
        linear-gradient(90deg, rgba(226, 87, 76, 0.055) 0%, transparent 30%),
        linear-gradient(270deg, rgba(15, 159, 154, 0.05) 0%, transparent 34%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.02;
    z-index: -1;
    pointer-events: none;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
h1, h2, h3 {
    font-weight: 780;
    letter-spacing: 0;
}

.gradient-text {
    background: none;
    color: var(--text-primary);
    -webkit-text-fill-color: currentColor;
}

/* Header & Nav */
body > header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.75rem 1.2rem 0.75rem 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm), 0 12px 32px rgba(16, 24, 40, 0.06);
}

.logo {
    font-size: 1.35rem;
    font-weight: 900;
    text-decoration: none;
    background: none;
    color: var(--text-primary);
    -webkit-text-fill-color: currentColor;
    transition: var(--transition-smooth);
}

.logo:hover {
    filter: none;
    transform: translateY(-1px);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 1.8rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -7px;
    left: 0;
    background: var(--primary);
    transition: var(--transition-smooth);
    border-radius: 3px;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
    margin-left: 1.8rem;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
    color: var(--text-primary);
}

.nav-dropdown-toggle span {
    color: var(--text-tertiary);
    font-size: 0.86rem;
    transform: translateY(-1px);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.9rem);
    left: 50%;
    width: 280px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -1rem;
    height: 1rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-links .nav-dropdown-menu a {
    margin-left: 0;
}

.nav-links .nav-dropdown-menu a::after {
    display: none;
}

.nav-product-link,
.nav-product-all {
    display: block;
    padding: 0.8rem 0.85rem;
    border-radius: 12px;
}

.nav-product-link {
    border: 1px solid transparent;
}

.nav-product-link:hover {
    background: #f8fafc;
    border-color: var(--border-soft);
}

.nav-product-link strong,
.nav-product-link small {
    display: block;
}

.nav-product-link strong {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.35;
}

.nav-product-link small {
    margin-top: 0.25rem;
    color: var(--text-tertiary);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
}

.nav-product-life strong {
    color: var(--product-life);
}

.nav-product-learning strong {
    color: var(--product-learning);
}

.nav-product-all {
    margin-top: 0.3rem;
    border-top: 1px solid var(--border-soft);
    border-radius: 0 0 12px 12px;
    color: var(--text-primary) !important;
    font-size: 0.86rem !important;
    font-weight: 800 !important;
}

/* Hero Section */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 132px 2rem 68px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 48vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 87, 76, 0.18), rgba(15, 159, 154, 0.12), transparent);
    top: 118px;
    right: 12vw;
    border-radius: 0;
    z-index: -1;
    filter: none;
    animation: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: min(1000px, 76vw);
    height: 520px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px 100%);
    background-size: 56px 56px;
    bottom: 20px;
    left: 50%;
    border-radius: 0;
    z-index: -1;
    filter: none;
    opacity: 0.5;
    transform: translateX(-50%);
    animation: none;
}

.hero-content {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(3rem, 6.6vw, 5.4rem);
    line-height: 1.03;
    margin-bottom: 1.6rem;
    filter: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 500;
}

.studio-hero {
    align-items: stretch;
    min-height: auto;
    padding-bottom: 14px;
    padding-top: 92px;
}

.studio-hero-content {
    align-items: stretch;
    display: grid;
    gap: 2.2rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(540px, 1.05fr);
    text-align: left;
    width: min(100%, 1200px);
}

.studio-hero-copy {
    align-self: center;
}

.studio-eyebrow {
    align-items: center;
    color: var(--primary);
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 900;
    gap: 0.55rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.studio-eyebrow::before {
    color: #ff9f43;
    content: '★';
    font-size: 0.9rem;
    line-height: 1;
}

.studio-hero-copy h1 {
    font-size: clamp(2.25rem, 4.2vw, 3.65rem);
    max-width: 720px;
}

.studio-hero-copy p {
    margin-left: 0;
    margin-bottom: 1.35rem;
    max-width: 640px;
}

.studio-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.studio-hero-metrics {
    align-self: center;
    border-left: 1px solid rgba(24, 34, 48, 0.12);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 96px;
}

.studio-metric {
    align-items: center;
    border-right: 1px solid rgba(24, 34, 48, 0.12);
    display: grid;
    gap: 0.42rem;
    justify-items: center;
    padding: 0.35rem 0.95rem;
    text-align: center;
}

.studio-metric:last-child {
    border-right: 0;
}

.studio-metric-icon {
    align-items: center;
    border: 2px solid currentColor;
    border-radius: 999px;
    display: inline-flex;
    height: 2.45rem;
    justify-content: center;
    width: 2.45rem;
}

.studio-metric svg {
    height: 1.18rem;
    width: 1.18rem;
}

.studio-metric-life {
    color: var(--product-life);
}

.studio-metric-learning {
    color: var(--product-learning);
}

.studio-metric-productivity {
    color: var(--product-productivity);
}

.studio-metric-health {
    color: var(--product-health);
}

.studio-metric strong {
    color: var(--text-primary);
    display: block;
    font-size: 0.98rem;
    line-height: 1.3;
}

.studio-metric span:last-child {
    color: var(--text-secondary);
    display: block;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.35;
}

.section.vision-section {
    max-width: 1240px;
    padding-bottom: 44px;
    padding-top: 14px;
}

.section.home-apps-section {
    padding-bottom: 18px;
    padding-top: 12px;
}

.home-section-heading {
    margin-bottom: 1.35rem;
    text-align: center;
}

.home-section-heading h2 {
    font-size: clamp(1.85rem, 3vw, 2.4rem) !important;
}

.home-apps-section .bento-grid {
    grid-auto-rows: minmax(190px, auto);
}

.home-apps-section .card {
    padding: 1.45rem;
}

.vision-panel {
    align-items: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(24, 34, 48, 0.1);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.6fr);
    padding: clamp(1.15rem, 2.3vw, 1.55rem);
}

.vision-copy h2 {
    font-size: clamp(1.75rem, 2.8vw, 2.35rem);
    line-height: 1.18;
    margin-bottom: 0.65rem;
}

.vision-copy p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.72;
    max-width: 560px;
}

.vision-stats {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(24, 34, 48, 0.1);
    border-radius: 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.vision-stat {
    align-items: center;
    border-right: 1px solid rgba(24, 34, 48, 0.1);
    display: grid;
    gap: 0.6rem;
    grid-template-columns: auto 1fr;
    min-height: 92px;
    padding: 0.85rem 1rem;
}

.vision-stat:last-child {
    border-right: 0;
}

.vision-stat-icon {
    align-items: center;
    border: 2px solid currentColor;
    border-radius: 999px;
    display: inline-flex;
    height: 2.45rem;
    justify-content: center;
    width: 2.45rem;
}

.vision-stat-icon svg {
    height: 1.12rem;
    width: 1.12rem;
}

.vision-stat strong {
    color: var(--text-primary);
    display: block;
    font-size: 1.45rem;
    line-height: 1.1;
}

.vision-stat span:last-child {
    color: var(--text-secondary);
    display: block;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.45;
    margin-top: 0.2rem;
}

/* Buttons */
.btn {
    padding: 0.95rem 1.55rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0;
}

.btn-primary {
    background: var(--text-primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: #fff;
    border-color: rgba(226, 87, 76, 0.35);
    box-shadow: var(--shadow-md);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Grid & Cards */
.section {
    padding: 96px 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 1.25rem;
}

.grid-span-2 {
    grid-column: span 2;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 14px;
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--indigo-500), var(--product-health));
    z-index: 1;
}

.card:hover {
    border-color: rgba(24, 34, 48, 0.18);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    color: var(--text-primary);
    font-size: 1.65rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Footer */
footer {
    padding: 72px 2rem 40px;
    background: #ffffff;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: min(620px, 70%); height: 1px;
    background: linear-gradient(90deg, transparent, rgba(24, 34, 48, 0.22), transparent);
}

.footer-products {
    max-width: 960px;
    margin: 0 auto 1.25rem;
    padding: 1.25rem 0 1.45rem;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    text-align: left;
}

.footer-friend-links {
    max-width: 960px;
    margin: 0 auto 2rem;
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    text-align: left;
}

.footer-products h2,
.footer-friend-links h2 {
    margin: 0 0 0.9rem;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-product-grid,
.footer-friend-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.footer-product-link,
.footer-friend-link {
    display: block;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-primary);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-product-link:hover,
.footer-friend-link:hover {
    border-color: rgba(226, 87, 76, 0.34);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.footer-product-link span,
.footer-friend-link span {
    display: block;
    font-weight: 800;
    line-height: 1.35;
}

.footer-product-link small,
.footer-friend-link small {
    display: -webkit-box;
    margin-top: 0.25rem;
    overflow: hidden;
    color: var(--text-tertiary);
    font-size: 0.78rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.footer-product-life span {
    color: var(--product-life);
}

.footer-product-learning span {
    color: var(--product-learning);
}

/* Responsive */
@media (max-width: 968px) {
    body > header {
        padding: 0.8rem 0;
    }
    .nav-container {
        padding: 0.6rem 1.2rem;
        flex-direction: column;
        gap: 0.8rem;
        border-radius: 14px;
        width: 92%;
        margin: 0 auto;
    }
    .logo {
        font-size: 1.3rem;
    }
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1.2rem;
    }
    .nav-dropdown {
        margin-left: 0;
    }
    .nav-dropdown-menu {
        left: auto;
        right: 0;
        width: min(280px, calc(100vw - 2rem));
        transform: translate(0, 8px);
    }
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu,
    .nav-dropdown.is-open .nav-dropdown-menu {
        transform: translate(0, 0);
    }
    .nav-links a {
        margin-left: 0;
        font-size: 0.85rem;
    }
    .nav-links select {
        margin-left: 0 !important;
        font-size: 0.8rem;
        padding: 2px 6px;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .grid-span-2 {
        grid-column: span 1;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .hero-content {
        padding-top: 40px;
    }
    .studio-hero-content {
        gap: 2.5rem;
        grid-template-columns: 1fr;
        text-align: left;
    }
    .studio-hero-metrics {
        border: 1px solid rgba(24, 34, 48, 0.1);
        border-radius: 14px;
        grid-template-columns: repeat(2, 1fr);
        overflow: hidden;
    }
    .studio-metric {
        border-bottom: 1px solid rgba(24, 34, 48, 0.1);
    }
    .studio-metric:nth-child(2n) {
        border-right: 0;
    }
    .studio-metric:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
    .vision-panel {
        grid-template-columns: 1fr;
    }
    .vision-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .vision-stat:nth-child(2n) {
        border-right: 0;
    }
    .vision-stat:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(24, 34, 48, 0.1);
    }
}

@media (max-width: 620px) {
    .studio-hero-metrics,
    .vision-stats {
        grid-template-columns: 1fr;
    }
    .studio-metric,
    .studio-metric:nth-child(2n),
    .vision-stat,
    .vision-stat:nth-child(2n) {
        border-right: 0;
    }
    .studio-metric,
    .studio-metric:nth-last-child(-n + 2),
    .vision-stat,
    .vision-stat:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(24, 34, 48, 0.1);
    }
    .studio-metric:last-child,
    .vision-stat:last-child {
        border-bottom: 0;
    }
}

/* Homepage compact composition overrides. Keep these after generic section rules. */
body .studio-hero {
    padding-bottom: 22px;
    padding-top: 88px;
}

body .section.home-apps-section {
    padding-bottom: 22px;
    padding-top: 8px;
}

body .section.vision-section {
    padding-bottom: 42px;
    padding-top: 26px;
}

body .home-apps-section .bento-grid {
    grid-auto-rows: minmax(176px, auto);
}

body .home-apps-section .card {
    padding: 1.25rem;
}

.home-product-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-product-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-rows: auto minmax(220px, 1fr) auto;
    min-height: 520px;
    overflow: hidden;
    padding: 1.35rem;
    position: relative;
}

.home-product-card::before {
    content: '';
    inset: 0 0 auto;
    height: 4px;
    position: absolute;
}

.home-product-life {
    background: linear-gradient(135deg, rgba(236, 111, 120, 0.08), rgba(245, 158, 11, 0.035));
}

.home-product-life::before {
    background: var(--product-life);
}

.home-product-learning {
    background: linear-gradient(135deg, rgba(15, 159, 154, 0.08), rgba(59, 130, 246, 0.035));
}

.home-product-learning::before {
    background: var(--product-learning);
}

.home-product-copy {
    max-width: 520px;
    position: relative;
    z-index: 1;
}

.home-product-kicker {
    align-items: center;
    color: var(--text-secondary);
    display: flex;
    font-size: 0.95rem;
    font-weight: 850;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.home-product-icon {
    align-items: center;
    border-radius: 7px;
    color: #fff;
    display: inline-flex;
    height: 1.6rem;
    justify-content: center;
    width: 1.6rem;
}

.home-product-life .home-product-icon {
    background: var(--product-life);
}

.home-product-learning .home-product-icon {
    background: var(--product-learning);
}

.home-product-card h2 {
    color: var(--text-primary);
    font-size: clamp(1.35rem, 2.2vw, 1.95rem);
    line-height: 1.18;
    margin-bottom: 0.65rem;
}

.home-product-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.75;
}

.home-product-visual {
    align-items: end;
    display: flex;
    justify-content: center;
    margin: 0.75rem -0.35rem 1rem;
    min-height: 230px;
    overflow: hidden;
}

.home-product-visual img {
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.12);
    display: block;
    height: 100%;
    max-height: 285px;
    object-fit: cover;
    width: min(100%, 560px);
}

.home-product-visual-life img {
    object-position: center;
}

.home-product-visual-learning img {
    object-position: center top;
}

.home-product-actions {
    align-items: center;
    display: flex;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.home-product-actions .btn {
    min-width: 7.5rem;
}

.home-product-link {
    color: var(--text-secondary);
    font-weight: 850;
    text-decoration: none;
}

.home-product-life .home-product-link {
    color: var(--product-life);
}

.home-product-learning .home-product-link {
    color: var(--product-learning);
}

.home-blog-section {
    padding-bottom: 24px;
    padding-top: 24px;
}

.home-blog-header {
    align-items: end;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.home-blog-header h2 {
    color: var(--text-primary);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.home-blog-header p {
    color: var(--text-secondary);
    font-weight: 650;
}

.home-blog-header a {
    color: var(--text-primary);
    flex: 0 0 auto;
    font-weight: 850;
    text-decoration: none;
}

.home-blog-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-blog-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: inherit;
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    min-height: 128px;
    overflow: hidden;
    text-decoration: none;
}

.home-blog-card img {
    height: 100%;
    min-height: 128px;
    object-fit: cover;
    width: 100%;
}

.home-blog-card div {
    padding: 0.85rem;
}

.home-blog-card span {
    color: var(--primary);
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.home-blog-card h3 {
    color: var(--text-primary);
    display: -webkit-box;
    font-size: 0.98rem;
    line-height: 1.35;
    margin-bottom: 0.45rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-blog-card p {
    color: var(--text-secondary);
    display: -webkit-box;
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 0.55rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-blog-card time {
    color: #98a2b3;
    font-size: 0.78rem;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .home-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .home-product-grid {
        grid-template-columns: 1fr;
    }

    .home-product-card {
        min-height: auto;
    }
}

@media (max-width: 620px) {
    .home-blog-header {
        align-items: start;
        flex-direction: column;
    }

    .home-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* PDF products */
.nav-product-productivity strong, .footer-product-productivity span { color: var(--product-productivity); }
.pdf-platform { margin-top: 1.2rem; color: var(--text-secondary); font-size: .85rem; }
.pdf-number { color: var(--pdf-color); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.pdf-choice { text-align: center; padding-top: 24px; }
.pdf-choice h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.pdf-store-note { color: var(--text-secondary); font-size: .85rem; }
.home-pdf-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px; margin-top: 24px; background: #edf3fe; border: 1px solid #d7e4fa; border-radius: 14px; }
.home-pdf-banner h2 { font-size: 1.5rem; margin-bottom: 8px; }
.home-pdf-banner p { color: var(--text-secondary); }
.pdf-choice a:focus-visible { outline: 3px solid var(--pdf-color, #2563eb); outline-offset: 5px; }

/* Individual PDF app pages */
.pdf-app-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.pdf-app-heading img { border-radius: 22%; box-shadow: var(--shadow-md); flex-shrink: 0; }
.pdf-detail-link { display: inline-block; color: #2563eb; font-weight: 600; margin: 0 0 20px; text-underline-offset: 4px; }
.pdf-detail-hero { padding-top: 130px; padding-bottom: 40px; }
.pdf-back { color: var(--text-secondary); text-decoration: none; display: inline-block; margin-bottom: 32px; }
.pdf-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pdf-detail-layout h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.2; letter-spacing: -.04em; margin: 24px 0; }
.pdf-detail-layout p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 28px; }
.pdf-hero-screens { display: flex; justify-content: center; gap: 20px; padding: 32px; background: #edf3fa; border-radius: 24px; overflow: hidden; }
.pdf-hero-screens img { width: calc(50% - 10px); max-width: 196px; height: auto; border-radius: 14px; box-shadow: var(--shadow-lg); object-fit: contain; }
.pdf-hero-screens img + img { transform: translateY(14px); }
.pdf-detail-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 20px; padding-bottom: 40px; }
.pdf-detail-features article { background: white; border: 1px solid var(--glass-border); border-radius: 14px; padding: 28px; }
.pdf-detail-features h2 { font-size: 1.25rem; margin: 12px 0; }
.pdf-detail-features p, .pdf-gallery-section > p { color: var(--text-secondary); }
.pdf-gallery-section { padding-top: 32px; }
.pdf-gallery-section > h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 12px; }
.pdf-gallery-section h3 { margin: 32px 0 18px; }
.pdf-screenshot-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); }
.pdf-screenshot-grid a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--glass-border); background: white; box-shadow: var(--shadow-sm); }
.pdf-screenshot-grid img { display: block; width: 100%; height: auto; }
.pdf-screens-ipad { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pdf-choice > .pdf-detail-link { margin-top: 24px; }
@media (max-width: 800px) { .pdf-detail-layout { grid-template-columns: 1fr; gap: 32px; } .pdf-detail-features { grid-template-columns: 1fr; } .pdf-hero-screens img { max-width: 170px; } }
@media (max-width: 420px) { .pdf-screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .pdf-screens-ipad { grid-template-columns: 1fr; } .pdf-app-heading { flex-wrap: wrap; } }
@media (max-width: 720px) { .pdf-detail-hero { padding-top: 180px; } }
