:root {
    --bg: #f7f4ef;
    --ink: #1f1f1f;
    --soft: #6f6a63;
    --accent: #8f7a5a;
    --card: #ffffff;
    --line: rgba(31, 31, 31, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Quantico", sans-serif;
    background: var(--bg);
    color: var(--ink);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(247, 244, 239, 0.95);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.brand {
    font-weight: 700;
    letter-spacing: .16em;
}

.nav nav {
    display: flex;
    gap: 20px;
}

.hero {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 0;
    background:
        radial-gradient(circle at top, rgba(143, 122, 90, 0.10), transparent 35%),
        linear-gradient(180deg, #f7f4ef 0%, #efe8dd 100%);
}

.hero .logo-tree {
    width: 120px;
    margin-bottom: 20px;
}

.tag {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 13px;
    margin-bottom: 12px;
}

.hero h1,
.section-title,
.idea-title {
    margin: 0 0 14px;
    letter-spacing: .08em;
}

.hero p,
.section-copy,
.idea-excerpt,
.idea-content,
.meta {
    color: var(--soft);
    line-height: 1.8;
}

.btn {
    display: inline-block;
    background: var(--ink);
    color: white;
    padding: 14px 22px;
    border-radius: 999px;
    margin-top: 18px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.section {
    padding: 70px 0;
}

.grid {
    display: grid;
    gap: 20px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 26px rgba(0,0,0,.04);
}

.card h3,
.card h2 {
    margin-top: 0;
}

.ideas-list {
    display: grid;
    gap: 18px;
}

.idea-card .meta {
    font-size: 14px;
    margin-bottom: 8px;
}

.idea-card h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.form-wrap {
    max-width: 760px;
    margin: 0 auto;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

input[type="text"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-family: inherit;
    background: #fff;
    margin-bottom: 18px;
    font-size: 15px;
}

textarea {
    min-height: 180px;
    resize: vertical;
}

.note-page {
    max-width: 820px;
    margin: 0 auto;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    text-align: center;
    color: var(--soft);
    margin-top: 40px;
}

.empty {
    color: var(--soft);
    text-align: center;
    padding: 30px 0;
}

.success {
    background: #eef7ee;
    border: 1px solid #cfe8cf;
    color: #285c28;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
}

@media (max-width: 900px) {
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .nav {
        flex-direction: column;
        gap: 14px;
    }
}