:root {
    --bg: #f5efe6;
    --bg-strong: #efe1cc;
    --panel: rgba(255, 252, 247, 0.8);
    --panel-strong: #fff8ef;
    --text: #1b1713;
    --muted: #6a6058;
    --line: rgba(58, 45, 34, 0.12);
    --brand: #14795f;
    --brand-dark: #0d5f4a;
    --accent: #ff9b3d;
    --accent-soft: #ffe4bf;
    --shadow: 0 24px 60px rgba(36, 26, 17, 0.1);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(180deg, #f7efe4 0%, #f3eadf 100%);
    font-family: "Manrope", sans-serif;
}

body,
button,
input,
select,
textarea {
    font: inherit;
}

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

.site-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
    radial-gradient(circle at 10% 10%, rgba(255, 155, 61, 0.24), transparent 22%),
    radial-gradient(circle at 88% 10%, rgba(20, 121, 95, 0.18), transparent 24%),
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.28), transparent 30%);
}

.page-shell {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 56px;
}

.topbar,
.panel,
.hero-copy,
.hero-panel,
.highlight-card,
.feature-card,
.quote-card,
.site-footer {
    backdrop-filter: blur(12px);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 999px;
    margin-bottom: 26px;
}


.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand) 0%, #21b58d 100%);
    color: #fff;
    font-family: "Sora", sans-serif;
    font-weight: 800;
}

.brand strong,
h1,
h2,
h3 {
    font-family: "Sora", sans-serif;
}

.brand span {
    display: grid;
}

.brand small {
    color: var(--muted);
}

.nav-links {
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-weight: 600;
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    margin-bottom: 24px;
}

.hero-copy,
.hero-panel,
.panel,
.highlight-card,
.feature-card,
.quote-card,
.site-footer {
    border-radius: var(--radius);
}


.hero-copy {
    padding: 40px;
}

.eyebrow {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.8rem, 5vw, 4.9rem);
    line-height: 1.04;
    margin-bottom: 18px;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.12;
    margin-bottom: 0;
}

.hero-text,
.section-heading p,
.panel-heading p,
.feature-card p,
.quote-card p,
.task-meta,
.task-description,
.stat-card p,
.site-footer p,
.hero-stat-card p,
.highlight-card p,
.story-copy p {
    color: var(--muted);
}

.hero-text {
    max-width: 56ch;
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-actions,
.task-actions,
.timer-actions,
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    border: none;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;

}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-dark);
}

.btn-secondary {
    background: rgba(20, 121, 95, 0.12);
    color: var(--brand);
}

.btn-danger {
    background: rgba(190, 58, 54, 0.12);
    color: #a23530;
}

.trust-row {
    margin-top: 24px;
}

.trust-row span {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(58, 45, 34, 0.08);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-panel {
    padding: 24px;
    display: grid;
    gap: 14px;
    align-content: start;
}

.hero-stat-card,
.mini-card {
    border-radius: 24px;
    padding: 22px;
}

.hero-stat-card {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-stat-card span,
.mini-card span {
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-stat-card strong,
.mini-card strong,
.stat-card h3,
.timer-circle span {
    font-family: "Sora", sans-serif;
}

.hero-stat-card strong {
    font-size: 2.25rem;
}

.hero-stat-card.warm {
    background: linear-gradient(135deg, #fff9f0 0%, #ffe2ba 100%);
}

.hero-stat-card.dark {
    background: linear-gradient(135deg, #18463d 0%, #0d6d57 100%);
    color: #fff;
}

.hero-stat-card.dark p {
    color: rgba(255, 255, 255, 0.72);
}

.hero-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.mini-card {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(58, 45, 34, 0.08);
}

.mini-card strong {
    display: block;
    margin-top: 10px;
    font-size: 1.2rem;
}

.highlights,
.feature-grid,
.stats-grid {
    display: grid;
    gap: 18px;
}

.highlights {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 26px;
}

.highlight-card {
    padding: 24px;
}

.highlight-card p {
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 800;
}

.highlight-card h2 {
    font-size: 1.35rem;
}

.content-section,
.workspace-shell {
    margin-bottom: 28px;
}

.section-heading {
    margin-bottom: 18px;
}

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

.feature-card,
.quote-card,
.panel {
    padding: 24px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.story-copy {
    padding-right: 18px;
}

.story-cards {
    display: grid;
    gap: 18px;
}

.quote-card span {
    font-weight: 800;
    color: var(--brand);
}

.stats-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 30px;
}

.stat-card h3 {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 2.2rem;
}

.workspace-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.2fr 0.75fr;
    gap: 22px;
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.task-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.task-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.form-span {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(20, 121, 95, 0.48);
    box-shadow: 0 0 0 4px rgba(20, 121, 95, 0.1);
}

textarea {
    resize: vertical;
}

.toolbar,
.task-list,
.side-stack {
    display: grid;
    gap: 14px;
}

.toolbar {
    grid-template-columns: 1.4fr 1fr 1fr;
    margin-bottom: 18px;
}

.task-card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 238, 0.95));
    border-radius: 22px;
    padding: 18px;
}

.task-card.completed {
    opacity: 0.74;
}

.task-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.task-priority {
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.priority-high {
    background: rgba(190, 58, 54, 0.12);
    color: #a23530;
}

.priority-medium {
    background: rgba(255, 155, 61, 0.16);
    color: #9e5b10;
}

.priority-low {
    background: rgba(20, 121, 95, 0.12);
    color: var(--brand);
}

.task-description {
    margin: 12px 0 16px;
    line-height: 1.65;
}

.timer-panel {
    text-align: center;
}

.timer-setup {
    margin-bottom: 18px;
    text-align: left;
}

.timer-setup label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.timer-setup-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.timer-circle {
    width: 190px;
    height: 190px;
    margin: 10px auto 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
    radial-gradient(circle at 30% 30%, #fffaf2 0%, #ffe4bb 42%, #ffb059 100%);
    box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.55);
}

.timer-circle span {
    font-size: 2.15rem;
}

#notesArea {
    min-height: 260px;
}

.empty-state {
    padding: 28px;
    text-align: center;
    border-radius: 20px;
    border: 1px dashed var(--line);
    color: var(--muted);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 22px;
}

.site-footer a {
    color: var(--brand);
    font-weight: 800;
}

@media (max-width: 1100px) {
    .feature-grid,
    .highlights,
    .stats-grid,
    .workspace-grid,
    .story-section,
    .hero {
        grid-template-columns: 1fr;
    }

    .story-copy {
        padding-right: 0;
    }
}

@media (max-width: 760px) {
    .page-shell {
        width: min(100% - 20px, 100%);
        padding-top: 12px;
    }

    .topbar {
        border-radius: 28px;
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .hero-copy,
    .hero-panel,
    .feature-card,
    .highlight-card,
    .quote-card,
    .panel {
        padding: 20px;
    }

    .hero-mini-grid,
    .task-form,
    .toolbar,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .site-footer {
        display: grid;
    }

    h1 {
        font-size: 2.7rem;
    }

    .timer-circle {
        width: 150px;
        height: 150px;
    }
}
