:root {
    --primary-bg: #f9f9f6;
    --primary-text: #1e2922;
    --card-bg: #ffffff;
    --secondary-text: #5b665e;
    --accent-color: #3b5c47;
    --accent-hover: #2f4b39;
    --accent-text: #ffffff;
    --border-color: #e3e7e3;
    --muted-surface: #eff3ef;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--primary-bg);
    color: var(--primary-text);
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
        line-height: 1.25;
    }

    h2 {
        font-size: clamp(1.4rem, 4vw, 1.75rem);
        line-height: 1.3;
    }

    h3 {
        font-size: clamp(1.2rem, 3.5vw, 1.4rem);
    }

    h4,
    h5,
    h6 {
        font-size: clamp(1rem, 3vw, 1.15rem);
    }

    input,
    textarea,
    .break-words-mobile {
        word-break: break-all;
        overflow-wrap: break-word;
    }
}

/* ===== header ===== */
#site-header {
    overflow: visible;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
}

.mobile-dropdown-panel {
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
}

.mobile-dropdown-panel.open {
    max-height: 320px;
}

/* ===== hero_section ===== */
#hero {
    overflow: hidden;
}

#hero .hero-section {
    width: 100%;
}

#hero h1,
#hero p,
#hero span {
    hyphens: auto;
}

/* ===== lighting_section ===== */
#lighting {
    overflow: hidden;
    font-family: inherit;
}

#lighting article {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#lighting article:hover {
    border-color: #3b5c47;
}

/* ===== placement_section ===== */
#placement {
    hyphens: auto;
}

#placement article:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08);
}

/* ===== pot_care_section ===== */
#pot-care {
    overflow: hidden;
}

#pot-care img {
    display: block;
}

/* ===== observation_section ===== */
#observation {
    overflow: hidden;
}

#observation img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== faq_section ===== */
#faq {
    width: 100%;
}

.js-faq-content {
    transition: max-height 0.3s ease-in-out;
}

/* ===== contact_form_section ===== */
#contact {
    hyphens: auto;
}

#contact input::placeholder,
#contact textarea::placeholder {
    color: #8f9b92;
}

#contact input:focus,
#contact textarea:focus {
    box-shadow: 0 0 0 2px rgba(59, 92, 71, 0.15);
}

/* ===== accent CTA links: white text in every state ===== */
a[class*="bg-[#3b5c47]"],
a[class*="bg-[#3b5c47]"]:link,
a[class*="bg-[#3b5c47]"]:visited,
a[class*="bg-[#3b5c47]"]:hover,
a[class*="bg-[#3b5c47]"]:active,
a[class*="bg-[#3b5c47]"]:focus,
a[class*="bg-[#3b5c47]"]:focus-visible {
    color: #ffffff;
}

/* ===== legal / policy pages: mobile top gap ===== */
@media (max-width: 768px) {
    .legal-page-container {
        padding-top: 36px !important;
    }

    .legal-page-container main {
        padding-top: 0 !important;
    }
}

/* ===== footer ===== */
#site-footer {
    overflow: hidden;
    width: 100%;
    font-family: inherit;
}

#site-footer a {
    transition: color 0.2s ease-in-out;
}

#site-footer h2,
#site-footer h3 {
    hyphens: auto;
    line-height: 1.3;
}