/* ============================================================
 * HeyVal Ghost Theme
 * Inspired by Vaulta (dribbble.com/shots/26157517)
 * Brand identity locked 2026-04-16
 * ============================================================ */

/* ---------- Reset + Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --hh-cream: #FFFFFF;
    --hh-cream-2: #FAFAFA;
    --hh-cream-3: #FFFFFF;
    --hh-coral: #E5604A;
    --hh-coral-deep: #C8472F;
    --hh-coral-tint: #FBE7E0;
    --hh-dark: #1B1916;
    --hh-dark-2: #3A352F;
    --hh-muted: #9C9388;
    --hh-text-soft: #6B6359;
    --hh-border: #E6DFD3;
    --hh-white: #FFFFFF;
    --hh-shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --hh-shadow-md: 0 8px 24px rgba(0,0,0,0.06);
    --hh-shadow-lg: 0 20px 48px rgba(0,0,0,0.08);
    /* Override Ghost's injected accent color — keep brand red everywhere */
    --ghost-accent-color: #E5604A;
}

html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--hh-dark);
    background: var(--hh-cream);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
}
.container-narrow {
    max-width: 760px;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--hh-cream);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color .2s, background .2s;
}
.site-header.scrolled {
    background: rgba(242, 237, 231, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--hh-border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--hh-dark);
}
.brand-mark { display: flex; }
.brand-name {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-weight: 400;
    font-size: 22px;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--hh-dark);
}
.brand-name em {
    font-style: italic;
    color: var(--hh-coral);
    padding-left: 4px;
}
.footer-wordmark {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: -0.025em;
}
.footer-wordmark em {
    font-style: italic;
    color: var(--hh-coral);
    padding-left: 3px;
}

.nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: 40px; }
.nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}
.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--hh-dark);
    transition: color .15s;
}
.nav a:hover { color: var(--hh-coral-deep); }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hh-dark);
    color: var(--hh-cream);
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: transform .15s, background .15s;
}
.header-cta:hover {
    transform: translateY(-1px);
    background: var(--hh-dark-2);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--hh-dark);
    border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 32px;
    border-radius: 16px;
    font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--hh-coral);
    color: var(--hh-dark);
    box-shadow: var(--hh-shadow-sm);
}
.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--hh-coral-deep);
    box-shadow: var(--hh-shadow-md);
}
.btn-secondary {
    background: var(--hh-white);
    color: var(--hh-dark);
    box-shadow: var(--hh-shadow-sm);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--hh-shadow-md);
}

/* ---------- Pill / eyebrow ---------- */
.pill {
    display: inline-block;
    padding: 8px 18px;
    background: var(--hh-cream-2);
    border: 1px solid var(--hh-border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hh-text-soft);
    margin-bottom: 24px;
}
.pill-tag {
    background: var(--hh-coral-tint);
    border-color: var(--hh-coral);
    color: var(--hh-dark);
    text-transform: none;
    letter-spacing: 0.04em;
}

/* ---------- Section headlines ---------- */
.section-headline {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--hh-dark);
    margin-bottom: 20px;
    text-align: center;
}
.section-headline em {
    font-style: italic;
    color: var(--hh-coral-deep);
}
.section-headline-sm {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--hh-dark);
    margin-bottom: 24px;
}
.section-sub {
    font-size: 18px;
    line-height: 1.6;
    color: var(--hh-text-soft);
    text-align: center;
    max-width: 620px;
    margin: 0 auto 64px;
}

/* ============================================================
 * HERO
 * ============================================================ */
.hero {
    position: relative;
    padding: 60px 0 100px;
    background: var(--hh-cream);
    overflow: hidden;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26,26,26,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,26,26,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: -1px -1px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 80%);
}
.hero-inner {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: clamp(56px, 8vw, 112px);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: var(--hh-dark);
    margin-bottom: 28px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hero-headline em {
    font-style: italic;
    color: var(--hh-coral-deep);
}

.hero-sub {
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.5;
    color: var(--hh-text-soft);
    max-width: 580px;
    margin: 0 auto 40px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

/* Hero visual area */
.hero-visual {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 560px;
}

/* Floating tooltip cards */
.tooltip {
    position: absolute;
    background: var(--hh-white);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--hh-shadow-md);
    font-size: 13px;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}
.tooltip-left {
    top: 130px;
    left: 0;
    animation-delay: 0s;
}
.tooltip-right {
    top: 250px;
    right: 0;
    animation-delay: 1.5s;
}
.tooltip-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--hh-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tooltip-icon-lime {
    background: var(--hh-coral-tint);
}
.tooltip-text {
    line-height: 1.4;
}
.tooltip-text strong {
    font-weight: 700;
}
.tooltip-text .muted {
    color: var(--hh-muted);
    font-size: 12px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Decorative orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--hh-coral), var(--hh-coral-deep));
    box-shadow: 0 12px 32px rgba(168, 194, 62, 0.4);
    animation: float 5s ease-in-out infinite;
    z-index: 2;
}
.orb-1 {
    width: 70px;
    height: 70px;
    top: 320px;
    left: 18%;
    animation-delay: 0.5s;
}
.orb-2 {
    width: 90px;
    height: 90px;
    top: 200px;
    right: 18%;
    animation-delay: 2s;
}

/* Phone mockup */
.phone-frame {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 560px;
    background: #1B1916;
    border-radius: 42px;
    padding: 14px;
    box-shadow:
        0 30px 60px rgba(0,0,0,0.18),
        0 10px 30px rgba(0,0,0,0.1),
        inset 0 0 0 1px rgba(255,255,255,0.08);
    z-index: 2;
}
.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 22px;
    background: #1B1916;
    border-radius: 0 0 14px 14px;
    z-index: 5;
}
.phone-screen {
    background: var(--hh-cream);
    border-radius: 30px;
    height: 100%;
    overflow: hidden;
    position: relative;
    padding: 36px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.app-status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: var(--hh-dark);
    padding: 0 8px 6px;
}
.app-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
}
.app-hi {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: 18px;
    color: var(--hh-dark);
    line-height: 1.1;
}
.app-date {
    font-size: 11px;
    color: var(--hh-muted);
    margin-top: 2px;
}
.app-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--hh-coral);
    color: var(--hh-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}
.app-main-card {
    background: var(--hh-white);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.app-main-label {
    font-size: 11px;
    color: var(--hh-muted);
    margin-bottom: 6px;
    font-weight: 500;
}
.app-main-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.app-big-num {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
    color: var(--hh-dark);
    letter-spacing: -0.02em;
}
.app-num-unit {
    font-size: 18px;
    margin-left: 2px;
}
.app-budget-sub {
    font-size: 11px;
    color: var(--hh-muted);
    margin-top: 4px;
}
.app-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(200, 230, 78, 0.2);
    color: #5a7a1f;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
}
.app-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hh-coral-deep);
}
.app-progress {
    height: 4px;
    background: var(--hh-cream);
    border-radius: 2px;
    overflow: hidden;
}
.app-progress-fill {
    height: 100%;
    background: var(--hh-coral);
    border-radius: 2px;
}
.app-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.app-stat-card {
    background: var(--hh-white);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.app-stat-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--hh-dark);
}
.app-stat-label {
    font-size: 9px;
    color: var(--hh-muted);
    margin-top: 2px;
}
.app-insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 4px;
}
.app-insight-card {
    background: var(--hh-white);
    border-radius: 14px;
    padding: 12px 10px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.app-insight-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0 auto 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.app-insight-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--hh-dark);
}
.app-insight-label {
    font-size: 10px;
    color: var(--hh-muted);
    margin-top: 2px;
}

/* ============================================================
 * BENEFITS — gradient lime section
 * ============================================================ */
.benefits {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(135deg, #F0F5C8 0%, #FBE7E0 50%, #DDEEA0 100%);
    overflow: hidden;
}
.benefits-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(200, 230, 78, 0.5), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 194, 62, 0.3), transparent 50%);
    pointer-events: none;
}
.benefits-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}
.benefits .pill {
    background: var(--hh-white);
    border-color: rgba(0,0,0,0.06);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
    background: var(--hh-white);
    padding: 48px;
    border-radius: 28px;
    box-shadow: var(--hh-shadow-lg);
}
.feature-card {
    text-align: left;
    padding: 0 12px;
    border-right: 1px solid var(--hh-border);
}
.feature-card:last-child { border-right: none; }
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--hh-coral);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.feature-title {
    font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--hh-dark);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.feature-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--hh-text-soft);
}

/* ============================================================
 * HOW IT WORKS
 * ============================================================ */
.how-it-works {
    padding: 120px 0;
    background: var(--hh-cream);
    text-align: center;
}
.how-it-works .pill {
    background: var(--hh-white);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}
.step-card {
    background: var(--hh-white);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: left;
    box-shadow: var(--hh-shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hh-shadow-md);
}
.step-number {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1;
    color: var(--hh-coral-deep);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.step-title {
    font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--hh-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.step-desc {
    font-size: 15px;
    line-height: 1.55;
    color: var(--hh-text-soft);
}

/* ============================================================
 * LATEST POSTS / Blog grid
 * ============================================================ */
.latest-posts {
    padding: 120px 0;
    background: var(--hh-cream-2);
}
.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
    gap: 32px;
}
.section-head-row .section-headline {
    text-align: left;
    margin-bottom: 0;
}
.text-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--hh-dark);
    border-bottom: 1px solid var(--hh-dark);
    padding-bottom: 2px;
    transition: color .15s, border-color .15s;
}
.text-link:hover {
    color: var(--hh-coral-deep);
    border-color: var(--hh-coral-deep);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.post-card {
    background: var(--hh-white);
    border-radius: 24px;
    padding: 32px;
    transition: transform .2s, box-shadow .2s;
    display: block;
    box-shadow: var(--hh-shadow-sm);
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hh-shadow-md);
}
.post-card-image {
    width: calc(100% + 64px);
    height: 200px;
    margin: -32px -32px 24px;
    border-radius: 24px 24px 0 0;
    background-size: cover;
    background-position: center;
}
.post-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--hh-muted);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}
.post-card-meta .post-read::before {
    content: "·";
    margin-right: 12px;
    color: var(--hh-muted);
}
.post-card-title {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--hh-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.post-card-excerpt {
    font-size: 15px;
    line-height: 1.55;
    color: var(--hh-text-soft);
    margin-bottom: 18px;
}
.post-card-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--hh-dark);
}

/* ============================================================
 * Page hero (blog index, etc.)
 * ============================================================ */
.page-hero {
    padding: 80px 0 60px;
    background: var(--hh-cream);
    text-align: center;
}
.page-hero-title {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: var(--hh-dark);
    margin-bottom: 20px;
}
.page-hero-title em {
    font-style: italic;
    color: var(--hh-coral-deep);
}
.page-hero-sub {
    font-size: 19px;
    line-height: 1.5;
    color: var(--hh-text-soft);
    max-width: 560px;
    margin: 0 auto;
}

.post-list-section {
    padding: 60px 0 120px;
    background: var(--hh-cream);
}

/* ============================================================
 * Single post / page
 * ============================================================ */
.post-article, .page-article {
    padding: 60px 0 80px;
    background: var(--hh-cream);
}
.post-header {
    text-align: center;
    margin-bottom: 48px;
}
.post-header .pill { margin-bottom: 20px; }
.post-title {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--hh-dark);
    margin-bottom: 20px;
}
.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--hh-muted);
    font-weight: 500;
}
.post-meta .dot { opacity: 0.5; }
.post-feature-image {
    margin: 0 0 56px;
    border-radius: 24px;
    overflow: hidden;
}
.post-feature-image img {
    width: 100%;
    height: auto;
    display: block;
}
.post-content {
    font-size: 18px;
    line-height: 1.7;
    color: var(--hh-dark);
}
.post-content > * + * { margin-top: 24px; }
.post-content h1, .post-content h2, .post-content h3, .post-content h4 {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-top: 56px;
    margin-bottom: 16px;
    line-height: 1.2;
}
.post-content h2 { font-size: 36px; }
.post-content h3 { font-size: 28px; }
.post-content h4 { font-size: 22px; }
.post-content p { color: var(--hh-dark); }
.post-content a {
    color: var(--hh-dark);
    border-bottom: 2px solid var(--hh-coral);
    padding-bottom: 1px;
    transition: background .15s;
}
.post-content a:hover { background: var(--hh-coral-tint); }
.post-content ul, .post-content ol {
    padding-left: 28px;
}
.post-content li {
    margin-bottom: 10px;
}
.post-content blockquote {
    border-left: 4px solid var(--hh-coral);
    padding: 12px 0 12px 24px;
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1.4;
    color: var(--hh-text-soft);
    margin: 32px 0;
}
.post-content code {
    background: var(--hh-cream-2);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.9em;
    font-family: 'SF Mono', Monaco, monospace;
}
.post-content img {
    border-radius: 18px;
    margin: 32px 0;
    max-width: 100%;
    height: auto;
}

/* Ghost editor (Koenig) card width classes */
.kg-width-wide {
    position: relative;
    width: calc(100vw - 40px);
    max-width: 1100px;
    margin-left: 50%;
    transform: translateX(-50%);
}
.kg-width-full {
    position: relative;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    max-width: none;
    border-radius: 0;
}
.kg-width-full img,
.kg-width-wide img {
    width: 100%;
    border-radius: 0;
}
.kg-width-wide img { border-radius: 18px; }

/* Ghost gallery card */
.kg-gallery-card {
    margin: 32px 0;
}
.kg-gallery-container {
    display: flex;
    flex-direction: column;
    max-width: 1040px;
    width: 100vw;
    margin: 0 auto;
}
.kg-gallery-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.kg-gallery-image img {
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
}
.kg-gallery-row:not(:first-of-type) { margin-top: 8px; }
.kg-gallery-image:not(:first-of-type) { margin-left: 8px; }

/* Ghost bookmark card */
.kg-bookmark-card {
    width: 100%;
    background: var(--hh-white);
    border-radius: 16px;
    box-shadow: var(--hh-shadow-sm);
    margin: 32px 0;
    overflow: hidden;
}
.kg-bookmark-container {
    display: flex;
    color: var(--hh-dark);
    text-decoration: none;
    min-height: 148px;
}
.kg-bookmark-content {
    flex-basis: 0;
    flex-grow: 999;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.kg-bookmark-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.kg-bookmark-description {
    font-size: 14px;
    color: var(--hh-text-soft);
    margin-bottom: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.kg-bookmark-metadata { font-size: 13px; color: var(--hh-muted); }
.kg-bookmark-thumbnail {
    flex-grow: 1;
    flex-basis: 24rem;
    background-size: cover;
    background-position: center;
    min-height: 148px;
}

/* Ghost embed card */
.kg-embed-card {
    margin: 32px 0;
    display: flex;
    justify-content: center;
}
.kg-embed-card iframe { max-width: 100%; }

/* Ghost callout card */
.kg-callout-card {
    background: var(--hh-cream-2);
    border-left: 4px solid var(--hh-coral);
    padding: 20px 24px;
    border-radius: 12px;
    margin: 32px 0;
    display: flex;
    gap: 16px;
}
.kg-callout-emoji { font-size: 24px; line-height: 1; }
.kg-callout-text { flex: 1; }

/* Ghost button card */
.kg-button-card {
    margin: 32px 0;
    text-align: center;
}
.kg-btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--hh-coral);
    color: var(--hh-dark);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s;
}
.kg-btn:hover { transform: translateY(-1px); }

/* Ghost header card */
.kg-header-card {
    padding: 64px 32px;
    border-radius: 24px;
    text-align: center;
    margin: 32px 0;
    background: var(--hh-cream-2);
}

.post-cta {
    background: var(--hh-dark);
    color: var(--hh-cream);
    border-radius: 24px;
    padding: 48px;
    margin-top: 80px;
    text-align: center;
}
.post-cta h3 {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--hh-cream);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.post-cta p {
    color: var(--hh-cream-2);
    opacity: 0.7;
    margin-bottom: 24px;
    font-size: 16px;
}

.related-posts {
    padding: 80px 0 120px;
    background: var(--hh-cream-2);
}

/* ============================================================
 * Footer
 * ============================================================ */
.site-footer {
    background: var(--hh-dark);
    color: var(--hh-cream);
    padding: 100px 0 40px;
}
.footer-cta {
    text-align: center;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 40px;
}
.footer-cta-title {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--hh-cream);
    margin-bottom: 16px;
}
.footer-cta-sub {
    font-size: 18px;
    color: var(--hh-cream-2);
    opacity: 0.7;
    margin-bottom: 32px;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.footer-links {
    display: flex;
    gap: 28px;
    font-size: 14px;
}
.footer-links a {
    color: var(--hh-cream-2);
    opacity: 0.7;
    transition: opacity .15s;
}
.footer-links a:hover { opacity: 1; }
.footer-copy {
    font-size: 13px;
    color: var(--hh-cream-2);
    opacity: 0.5;
}

/* ============================================================
 * Pagination
 * ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 60px;
    font-size: 14px;
    font-weight: 600;
}
.pagination a {
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--hh-white);
    color: var(--hh-dark);
    box-shadow: var(--hh-shadow-sm);
    transition: transform .15s;
}
.pagination a:hover { transform: translateY(-1px); }

/* ============================================================
 * Responsive
 * ============================================================ */
@media (max-width: 980px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 32px;
    }
    .feature-card {
        border-right: none;
        border-bottom: 1px solid var(--hh-border);
        padding-bottom: 24px;
    }
    .feature-card:nth-child(odd) { border-right: 1px solid var(--hh-border); padding-right: 24px; }
    .feature-card:last-child, .feature-card:nth-last-child(2) { border-bottom: none; padding-bottom: 0; }
    .steps-grid, .posts-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-visual { height: 480px; }
    .phone-frame { width: 240px; height: 480px; }
}

@media (max-width: 720px) {
    .container { padding: 0 20px; }
    .nav { display: none; }
    .header-cta { display: none; }
    .mobile-menu-toggle { display: flex; }

    .hero { padding: 40px 0 60px; }
    .hero-headline { font-size: 48px; }
    .hero-sub { font-size: 17px; }
    .hero-ctas { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; margin-bottom: 60px; }
    .btn { width: 100%; }

    .hero-visual { height: 460px; max-width: 100%; }
    .phone-frame {
        width: 220px;
        height: 440px;
    }
    .tooltip-left, .tooltip-right {
        font-size: 11px;
        padding: 10px 12px;
        max-width: 160px;
    }
    .tooltip-left { left: -8px; top: 90px; }
    .tooltip-right { right: -8px; top: 230px; }
    .orb-1 { width: 50px; height: 50px; left: 8%; }
    .orb-2 { width: 60px; height: 60px; right: 8%; }

    .benefits, .how-it-works, .latest-posts { padding: 80px 0; }
    .features-grid {
        grid-template-columns: 1fr;
        padding: 28px;
    }
    .feature-card {
        border-right: none !important;
        border-bottom: 1px solid var(--hh-border);
        padding: 24px 0;
    }
    .feature-card:last-child { border-bottom: none; }

    .steps-grid, .posts-grid {
        grid-template-columns: 1fr;
    }

    .section-head-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-cta { padding: 32px 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
 * Direction A — Calm Middle homepage (added 2026-05-04)
 * Editorial coral + cream + Fraunces serif, anti-tech-bro
 * ============================================================ */

/* Eyebrow used across sections */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Geist Mono', ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hh-coral-deep);
    margin-bottom: 32px;
}
.section-eyebrow .num {
    display: inline-block;
    padding: 4px 10px;
    background: var(--hh-coral-tint);
    color: var(--hh-coral-deep);
    border-radius: 4px;
    font-weight: 500;
}

.section-title {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-weight: 400;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--hh-dark);
    margin: 0 0 24px;
}
.section-title em {
    font-style: italic;
    color: var(--hh-coral);
}

.section-lede {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.45;
    color: var(--hh-text-soft);
    max-width: 56ch;
    margin: 0 0 48px;
}

/* === HERO override (Direction A) === */
.hero {
    background: var(--hh-cream);
    padding: 120px 0 80px;
    border-bottom: 1px solid var(--hh-border);
}
.hero-inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
.hero-eyebrow {
    font-family: 'Geist Mono', ui-monospace, monospace;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hh-coral-deep);
    margin-bottom: 28px;
}
.hero-headline {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-weight: 400;
    font-size: clamp(48px, 7.5vw, 96px);
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--hh-dark);
    margin: 0 0 32px;
}
.hero-headline em {
    font-style: italic;
    color: var(--hh-coral);
    font-weight: 400;
}
.hero-sub {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-weight: 300;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.5;
    color: var(--hh-text-soft);
    max-width: 64ch;
    margin: 0 auto 40px;
}
.hero-sub em {
    font-style: italic;
    color: var(--hh-dark);
}
.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-disclaimer {
    font-family: 'Geist', sans-serif;
    font-size: 13px;
    color: var(--hh-muted);
    margin-top: 24px;
}

/* === Generic section spacing === */
.section {
    padding: 96px 0;
    background: var(--hh-cream);
}
.section + .section {
    border-top: 1px solid var(--hh-border);
}
/* All cream sections use the same warm cream — break with a subtle border, not a color shift */
.section-middle,
.section-features,
.section-read {
    background: var(--hh-cream);
}
.section-voice {
    background: var(--hh-dark);
    color: var(--hh-cream);
}
.section-final {
    background: var(--hh-coral);
    color: var(--hh-cream);
}
/* Soft border between cream sections (not a hard line, just a hairline) */
.section + .section.section-middle,
.section + .section.section-features,
.section + .section.section-read {
    border-top: 1px solid var(--hh-line-soft, #EFEAE0);
}

/* === Middle section === */
.middle-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}
.middle-copy p {
    font-family: 'Geist', sans-serif;
    font-size: 18px;
    line-height: 1.65;
    color: var(--hh-text-soft);
    margin-bottom: 20px;
}
.middle-copy p:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
    .middle-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* === Features grid === */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.feature-card {
    background: var(--hh-cream-2);
    border: 1px solid var(--hh-border);
    border-radius: 16px;
    padding: 36px 32px;
}
.feature-num {
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--hh-coral);
    margin-bottom: 24px;
}
.feature-title {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: 26px;
    letter-spacing: -0.02em;
    color: var(--hh-dark);
    margin: 0 0 12px;
}
.feature-body {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--hh-text-soft);
    margin: 0;
}
@media (max-width: 800px) {
    .feature-grid { grid-template-columns: 1fr; }
}

/* === Voice (dark) section === */
.voice-inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.voice-eyebrow { color: var(--hh-coral-tint); justify-content: center; }
.voice-eyebrow .num { background: rgba(229, 96, 74, 0.15); color: var(--hh-coral); }
.voice-quote {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--hh-cream);
    margin: 32px 0 16px;
}
.voice-quote em { font-style: italic; }
.voice-attr {
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--hh-coral-tint);
    opacity: 0.7;
    margin-bottom: 64px;
}
.voice-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    text-align: left;
    margin-top: 48px;
}
.pillar-label {
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--hh-coral);
    margin-bottom: 12px;
}
.pillar p {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(246, 241, 231, 0.75);
    margin: 0;
}
@media (max-width: 700px) {
    .voice-pillars { grid-template-columns: 1fr; }
}

/* === Read section === */
.read-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    margin-top: 48px;
}
.read-card-anchor {
    background: var(--hh-coral);
    color: var(--hh-cream);
    padding: 48px;
    border-radius: 20px;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.read-card-anchor:hover { transform: translateY(-2px); }
.read-eyebrow {
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 24px;
}
.read-title {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: var(--hh-cream);
}
.read-body {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(246, 241, 231, 0.85);
    margin-bottom: 32px;
}
.read-cta {
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--hh-cream);
    border-bottom: 1px solid var(--hh-cream);
    padding-bottom: 2px;
}
.read-secondary {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.read-card-sm {
    background: var(--hh-cream-2);
    border: 1px solid var(--hh-border);
    border-radius: 14px;
    padding: 24px;
    text-decoration: none;
    transition: border-color 0.2s ease;
}
.read-card-sm:hover { border-color: var(--hh-coral); }
.read-card-sm h4 {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--hh-dark);
    margin: 0 0 8px;
}
.read-card-sm span {
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    color: var(--hh-coral);
}
@media (max-width: 800px) {
    .read-grid { grid-template-columns: 1fr; }
}

/* === Final CTA === */
.final-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.final-headline {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(40px, 6vw, 80px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--hh-cream);
    margin: 0 0 24px;
}
.final-headline em {
    font-style: italic;
}
.final-sub {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.4;
    color: rgba(246, 241, 231, 0.85);
    margin-bottom: 40px;
}
.final-note {
    font-family: 'Geist', sans-serif;
    font-size: 13px;
    color: rgba(246, 241, 231, 0.7);
    margin-top: 24px;
}

/* === Buttons (override for Direction A) === */
.btn-primary {
    background: var(--hh-coral);
    color: var(--hh-cream);
    border: 1px solid var(--hh-coral);
}
.btn-primary:hover {
    background: var(--hh-coral-deep);
    border-color: var(--hh-coral-deep);
}
.section-final .btn-primary {
    background: var(--hh-cream);
    color: var(--hh-dark);
    border-color: var(--hh-cream);
}
.section-final .btn-primary:hover {
    background: var(--hh-white);
}
.btn-secondary {
    background: transparent;
    color: var(--hh-dark);
    border: 1px solid var(--hh-border);
}
.btn-secondary:hover {
    border-color: var(--hh-coral);
    color: var(--hh-coral);
}
.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}
