:root {
    --c-ink: #111116;
    --c-ink-light: #2A2A35;
    --c-lilac: #8B5CF6;
    --c-lilac-gradient: linear-gradient(135deg, #8B5CF6, #C084FC);
    --bg-main: #FFFFFF;
    --bg-soft-tint: #F3F0F8;
    --bg-card: #FFFFFF;
    --radius-soft: 12px;
    --shadow-soft: 0 8px 30px rgba(139, 92, 246, 0.08);
    --shadow-btn: 0 4px 15px rgba(139, 92, 246, 0.3);
    --font-condensed: ui-condensed, 'Roboto Condensed', 'Inter Condensed', system-ui, sans-serif;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

body {
    font-family: var(--font-condensed);
    color: var(--c-ink);
    background-color: var(--bg-main);
    font-weight: 500;
    line-height: 1.6;
    text-align: left;
}

h1,
h2,
h3,
h4,
.brand-text {
    font-weight: 700;
    color: var(--c-ink);
}

a {
    text-decoration: none;
    color: var(--c-lilac);
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--c-ink);
}

.logo-link svg {
    height: 32px;
    width: auto;
    color: var(--c-lilac);
}

.brand-text {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    display: inline-block;
    background: var(--c-lilac-gradient);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-soft);
    font-weight: 700;
    box-shadow: var(--shadow-btn);
    text-decoration: none;
}

.btn-primary:hover {
    opacity: 0.9;
    color: #fff;
}

.burger-btn {
    background: none;
    border: none;
    color: var(--c-ink);
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-soft);
}

.burger-btn svg {
    width: 28px;
    height: 28px;
}

.sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 22, 0.4);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

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

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    z-index: 1002;
    padding: var(--spacing-md);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 -10px 40px rgba(139, 92, 246, 0.1);
}

.bottom-sheet.open {
    transform: translateY(0);
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--bg-soft-tint);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.sheet-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-ink);
}

.close-btn {
    background: none;
    border: none;
    color: var(--c-ink-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.close-btn svg {
    width: 24px;
    height: 24px;
}

.sheet-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sheet-nav-list a {
    display: block;
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--c-ink);
    background: var(--bg-soft-tint);
    border-radius: var(--radius-soft);
    transition: background 0.2s ease;
}

.sheet-nav-list a:hover {
    background: var(--c-lilac-light);
    color: #fff;
}

.site-footer {
    background-color: var(--bg-soft-tint);
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--c-ink);
}

.brand-col .logo-link {
    margin-bottom: 1rem;
    display: inline-flex;
}

.tagline {
    color: var(--c-ink-light);
    font-size: 1rem;
    font-weight: 500;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--c-ink-light);
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--c-lilac);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(17, 17, 22, 0.1);
    text-align: center;
    color: var(--c-ink-light);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .site-footer {
        text-align: left;
        padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-sm);
    }

    .btn-primary {
        font-size: 0.875rem;
        padding: 0.6rem 1rem;
    }

    .header-container {
        padding: 1rem var(--spacing-sm);
    }
}

/* footer extras */
.footer__extras {
    margin-top: 16px;
}

.footer__extrasInner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
}

.footer__social {
    display: flex;
    gap: 10px;
    align-items: center;
}

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

.footer-social__icon {
    display: block;
}

.footer__poemWrap {
    max-width: 520px;
}

.footer-poem {
    opacity: 0.9;
    font-size: 0.95em;
    line-height: 1.35;
}

/* --- injected by logo step --- */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px
}

.brand-logo {
    width: 28px;
    height: 28px;
    display: inline-block;
    flex: 0 0 auto
}

.brand-logo * {
    vector-effect: non-scaling-stroke
}

/* --- /injected by logo step --- */
:root {
    --c-ink: #111116;
    --c-ink-light: #2A2A35;
    --c-lilac: #8B5CF6;
    --c-lilac-gradient: linear-gradient(135deg, #8B5CF6, #C084FC);
    --bg-main: #FFFFFF;
    --bg-soft-tint: #F3F0F8;
    --bg-card: #FFFFFF;
    --radius-soft: 12px;
    --shadow-soft: 0 8px 30px rgba(139, 92, 246, 0.08);
    --shadow-btn: 0 4px 15px rgba(139, 92, 246, 0.3);
    --font-condensed: ui-condensed, 'Roboto Condensed', 'Inter Condensed', system-ui, sans-serif;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

body {
    font-family: var(--font-condensed);
    color: var(--c-ink);
    background-color: var(--bg-main);
    font-weight: 500;
    line-height: 1.6;
    text-align: left;
}

body.menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
.brand-text {
    font-weight: 700;
    color: var(--c-ink);
}

a {
    text-decoration: none;
    color: var(--c-lilac);
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--c-ink);
}

.logo-link svg {
    height: 32px;
    width: auto;
    color: var(--c-lilac);
}

.brand-text {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header-nav a {
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: var(--c-ink);
    border-radius: var(--radius-soft);
    transition: all 0.2s ease;
}

.header-nav a:hover {
    background: var(--bg-soft-tint);
    color: var(--c-lilac);
    opacity: 1;
}

.header-nav a.active {
    color: var(--c-lilac);
    background: var(--bg-soft-tint);
}

.btn-primary {
    display: inline-block;
    background: var(--c-lilac-gradient);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-soft);
    font-weight: 700;
    box-shadow: var(--shadow-btn);
    text-decoration: none;
}

.btn-primary:hover {
    opacity: 0.9;
    color: #fff;
}

.burger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--c-ink);
    width: 44px;
    height: 44px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-soft);
}

.burger-btn svg {
    width: 28px;
    height: 28px;
}

.sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 22, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.25s ease;
    z-index: 1001;
}

.sheet-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bottom-sheet {
    opacity: 0;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background: var(--bg-card);
    border-radius: 20px 20px 0 0;
    padding: 1.25rem;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform 0.25s ease;
    z-index: 1002;
}

.bottom-sheet.open {
    transform: translateY(0);
    opacity: 1!important;
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ece8f5;
}

.sheet-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--c-ink);
}

.close-btn {
    background: none;
    border: none;
    color: var(--c-ink);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn svg {
    width: 24px;
    height: 24px;
}

.sheet-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sheet-nav-list a {
    display: block;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-ink);
    background: var(--bg-soft-tint);
    border-radius: var(--radius-soft);
}

.sheet-nav-list a:hover {
    background: #e9defd;
    color: var(--c-ink);
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem var(--spacing-sm);
    }

    .btn-primary {
        display: none;
    }

    .header-nav {
        display: none;
    }

    .burger-btn {
        display: flex;
    }
}

@media (min-width: 769px) {
    .sheet-overlay,
    .bottom-sheet {
        display: none;
    }
}