:root {
    /* PROJECT COLORS - 2026 PREMIUM CHARCOAL & GREIGE EDITION */
    --ui-bg: #F9F8F6;
    /* Bright Greige */
    --ui-white: #FFFFFF;
    --ui-text-main: #1A1A1A;
    /* Deep Anthracite */
    --ui-text-sub: #555555;
    --ui-border: #E8E4E1;

    --fam-mocca-main: #D7B9AA;
    /* Soft Beige Accent */
    --fam-mocca-light: #FBF7F5;
    /* Ultra Light Greige */
    --fam-mocca-dark: #1A1A1A;
    /* Anthracite replacement */

    --fam-blue-main: #A3C9E2;
    --fam-blue-light: #F0F7FF;
    --fam-blue-dark: #1A1A1A;

    --fam-pink-main: #F4B6C2;
    --fam-pink-light: #FFF8F9;
    --fam-pink-dark: #1A1A1A;

    --fam-green-main: #B2D3A8;
    --fam-green-light: #F6FAF4;
    --fam-green-dark: #1A1A1A;

    --fam-amber-main: #F7D08A;
    --fam-amber-light: #FFFAF1;
    --fam-amber-dark: #1A1A1A;

    /* COMPATIBILITY MAPPINGS */
    --primary: var(--fam-mocca-main);
    --primary-light: var(--fam-mocca-light);
    --primary-dark: #1A1A1A;
    --bg: var(--ui-bg);
    --white: var(--ui-white);
    --text: var(--ui-text-main);
    --text-muted: var(--ui-text-sub);

    --p-sleep: var(--fam-blue-light);
    --p-food: var(--fam-pink-light);
    --p-med: var(--fam-green-light);
    --p-diaper: var(--fam-amber-light);

    --radius-lg: 48px;
    --radius-md: 28px;
    --shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    background-color: var(--ui-bg);
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ui-text-main);
    line-height: 1.65;
}

.script-font {
    font-family: 'Italiana', serif;
    font-size: 1.15em;
    font-weight: 400;
    color: inherit;
    display: inline;
    letter-spacing: -0.01em;
    font-style: italic;
    opacity: 0.9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* --- DECORATIVE SHAPES --- */
.shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.4;
}

@media (max-width: 768px) {
    .shape {
        width: 300px !important;
        height: 300px !important;
        filter: blur(40px);
    }
}

.shape-circle {
    border-radius: 50%;
    filter: none;
    opacity: 1;
    border: 2px solid var(--ui-border);
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

/* --- TYPOGRAPHY --- */
h1 {
    font-size: clamp(2.5rem, 10vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: var(--ui-text-main);
}

h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    line-height: 1.15;
    color: var(--ui-text-main);
}

/* --- SECTION SPACING --- */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    section {
        padding: 180px 0;
    }
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 20px;
}

/* --- BENTO GRID SYSTEM --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.bento-item {
    grid-column: span 12;
    /* Mobile default */
    border-radius: var(--radius-lg);
    padding: 32px;
    background: var(--ui-white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ui-border);
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .bento-item {
        padding: 48px;
    }

    .bento-item.span-4 {
        grid-column: span 6;
    }

    .bento-item.span-8 {
        grid-column: span 12;
    }
}

@media (min-width: 992px) {
    .bento-item.span-4 {
        grid-column: span 4;
    }

    .bento-item.span-6 {
        grid-column: span 6;
    }

    .bento-item.span-8 {
        grid-column: span 8;
    }
}

/* --- FLEX ROW STACK (MOBILE FIRST) --- */
.flex-row-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
}

@media (min-width: 992px) {
    .flex-row-stack {
        flex-direction: row;
        text-align: left;
        gap: 100px;
    }
}

.flex-child {
    flex: 1;
    width: 100%;
}

.flex-child-large {
    flex: 1.4;
    width: 100%;
}

Greenland */



/* --- SCREENSHOT SLOTS --- */
.img-slot {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow);
    background: var(--ui-white);
    overflow: hidden;
}

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

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 20px 40px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--fam-mocca-main);
    color: white;
    box-shadow: 0 10px 20px rgba(215, 185, 170, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(215, 185, 170, 0.5);
}

/* --- RING UI PREVIEW (RESPONSIVE) --- */
.ring-container {
    width: 250px;
    height: 250px;
    max-width: 100%;
    border-radius: 50%;
    border: 15px solid var(--fam-mocca-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
    background: var(--ui-white);
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .ring-container {
        width: 380px;
        height: 380px;
        border-width: 25px;
    }
}

.ring-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--fam-blue-main);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 15px rgba(163, 201, 226, 0.5);
}

/* --- ADDITIONAL MOBILE TWEAKS --- */
@media (max-width: 768px) {
    section {
        padding: 80px 0 !important;
        border-radius: 40px !important;
        margin: 0 10px !important;
    }

    .hero {
        padding-top: 40px !important;
        min-height: auto !important;
        text-align: center;
    }

    .hero .container>div {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .hero h1 br {
        display: none;
    }

    #daily-ring-hero .reveal {
        width: 100% !important;
        flex: none !important;
    }

    .btn {
        width: 100%;
        padding: 20px 30px;
    }
}

/* --- BLOG SYSTEM --- */
.blog-grid article:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.blog-content h2 {
    margin-top: 50px !important;
    margin-bottom: 25px;
    font-size: 2rem;
}

.blog-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.blog-content p {
    margin-bottom: 25px;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.blog-content li {
    margin-bottom: 10px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    margin: 40px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Rich Text Formatting Styles */
.blog-content h2 {
    font-size: 2.2rem;
    margin-top: 60px;
    margin-bottom: 25px;
    color: var(--ui-text-main);
}

.blog-content h3 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-content a {
    color: var(--fam-mocca-main);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(215, 185, 170, 0.3);
    transition: all 0.3s ease;
}

.blog-content a:hover {
    border-bottom-color: var(--fam-mocca-main);
    background: rgba(215, 185, 170, 0.1);
}

.blog-content blockquote {
    margin: 40px 0;
    padding: 30px 40px;
    border-left: 5px solid var(--fam-mocca-main);
    background: var(--ui-bg);
    border-radius: 0 24px 24px 0;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--ui-text-sub);
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.blog-content th {
    background: var(--ui-bg);
    padding: 20px;
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
}

.blog-content td {
    padding: 20px;
    border-top: 1px solid var(--ui-border);
}

.blog-content tr:hover {
    background: rgba(0, 0, 0, 0.01);
}

/* Responsive Table Wrapper */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 0 0 1px var(--ui-border);
    background: white;
}

/* Scrollbar styling for a cleaner look */
.table-responsive-wrapper::-webkit-scrollbar {
    height: 6px;
}

.table-responsive-wrapper::-webkit-scrollbar-track {
    background: var(--ui-bg);
}

.table-responsive-wrapper::-webkit-scrollbar-thumb {
    background: var(--ui-border);
    border-radius: 10px;
}


/* Custom Blog Button Shortcode-Style */
.blog-btn {
    display: inline-block;
    padding: 18px 35px;
    background: var(--fam-mocca-main);
    color: white !important;
    border-radius: 100px;
    text-decoration: none !important;
    font-weight: 700;
    margin: 20px 0;
    box-shadow: 0 10px 20px rgba(215, 185, 170, 0.3);
    border: none !important;
}

.blog-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(215, 185, 170, 0.5) !important;
}

/* --- BLOG ENHANCEMENTS --- */
.search-container {
    max-width: 600px;
    margin: -30px auto 40px;
    position: relative;
    z-index: 10;
}

.search-input {
    width: 100%;
    padding: 25px 35px;
    border-radius: 100px;
    border: 1px solid var(--ui-border);
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--fam-mocca-main);
    box-shadow: 0 20px 50px rgba(215, 185, 170, 0.2);
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.cat-btn {
    padding: 12px 25px;
    border-radius: 100px;
    background: white;
    border: 1px solid var(--ui-border);
    color: var(--ui-text-sub);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cat-btn:hover,
.cat-btn.active {
    background: var(--fam-mocca-main);
    color: white;
    border-color: var(--fam-mocca-main);
    transform: translateY(-2px);
}

.carousel-container {
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}

.blog-carousel {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-item {
    min-width: 100%;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    height: 500px;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
}