:root {
    --page-bg: #f7efe1;
    --surface: rgba(255, 249, 241, 0.88);
    --surface-strong: #fffaf2;
    --surface-soft: #f3e2c3;
    --ink: #24131a;
    --muted: #6f5963;
    --line: rgba(106, 71, 16, 0.1);
    --line-strong: rgba(106, 71, 16, 0.16);
    --brand: #a2711d;
    --brand-deep: #6a4710;
    --brand-soft: rgba(162, 113, 29, 0.12);
    --accent: #d6b367;
    --shadow-soft: 0 18px 45px rgba(67, 42, 10, 0.11);
    --shadow-card: 0 14px 30px rgba(60, 38, 9, 0.09);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(162, 113, 29, 0.14), transparent 34%),
        radial-gradient(circle at 85% 10%, rgba(214, 179, 103, 0.2), transparent 24%),
        linear-gradient(180deg, var(--page-bg) 0%, #fcf6eb 24%, #f1dec0 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(106, 71, 16, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(106, 71, 16, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent 75%);
    z-index: -1;
}

h1,
h2,
h3 {
    letter-spacing: -0.04em;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

a,
button {
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease,
        box-shadow 0.25s ease;
}

.nav-shell {
    background: rgba(255, 249, 241, 0.8);
    border-bottom: 1px solid rgba(106, 71, 16, 0.08);
    backdrop-filter: blur(14px);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-deep);
    letter-spacing: -0.03em;
}

.brand-lockup:hover {
    color: var(--brand-deep);
}

.brand-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent) 0%, #f0d38e 100%);
    box-shadow: 0 0 0 6px rgba(201, 162, 79, 0.14);
}

.nav-link {
    position: relative;
    color: var(--muted);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 100%;
    height: 1px;
    background: rgba(106, 71, 16, 0.42);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover {
    color: var(--brand);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.hero-section {
    padding: 6rem 0 5rem;
}

.site-lead {
    line-height: 1.75;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(106, 71, 16, 0.12);
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.78);
    color: var(--brand-deep);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-badge::before {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: var(--accent);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    padding: 0 1.5rem;
    border-radius: 1rem;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(106, 71, 16, 0.24);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(106, 71, 16, 0.3);
}

.btn-secondary {
    background: rgba(255, 250, 243, 0.78);
    color: var(--ink);
    border: 1px solid rgba(106, 71, 16, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 250, 243, 0.98);
    border-color: rgba(106, 71, 16, 0.22);
}

.mini-card,
.feature-card,
.product-card,
.principle-card,
.note-card,
.hero-panel {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

.mini-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.15rem 1.1rem;
    border-radius: 1.15rem;
    background: rgba(255, 250, 243, 0.82);
}

.mini-card strong {
    font-size: 0.95rem;
    color: var(--ink);
}

.mini-card span {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--muted);
}

.hero-panel {
    position: relative;
    padding: 2rem;
    border-radius: 1.75rem;
    background:
        linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(245, 232, 207, 0.88)),
        linear-gradient(135deg, rgba(162, 113, 29, 0.1), transparent 55%);
    overflow: hidden;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -2rem -2rem auto;
    width: 9rem;
    height: 9rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(214, 179, 103, 0.28), transparent 68%);
}

.panel-kicker,
.note-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
}

.panel-kicker::before,
.note-label::before {
    content: "";
    width: 1.4rem;
    height: 1px;
    background: rgba(201, 162, 79, 0.55);
}

.hero-panel h2,
.note-card h3,
.feature-card h3,
.product-card h3,
.principle-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--ink);
}

.hero-panel h2 {
    margin-top: 1rem;
}

.panel-text,
.feature-card p,
.product-card p,
.principle-card p,
.note-card p {
    margin-top: 1rem;
    color: var(--muted);
    line-height: 1.7;
}

.panel-list,
.card-list {
    list-style: none;
    margin: 1.35rem 0 0;
    padding: 0;
}

.panel-list li,
.card-list li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--ink);
    line-height: 1.7;
}

.panel-list li+li,
.card-list li+li {
    margin-top: 0.55rem;
}

.panel-list li::before,
.card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: var(--accent);
}

.statement-strip {
    margin-top: 1.6rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    background: rgba(106, 71, 16, 0.08);
    color: var(--brand-deep);
    font-weight: 700;
    line-height: 1.55;
}

.section-heading {
    position: relative;
}

.feature-card,
.product-card,
.principle-card,
.note-card {
    height: 100%;
    padding: 1.65rem;
    border-radius: 1.5rem;
    background: rgba(255, 250, 243, 0.84);
}

.feature-card:hover,
.product-card:hover,
.principle-card:hover,
.note-card:hover,
.mini-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.section-surface {
    background: rgba(255, 247, 235, 0.64);
    border-top: 1px solid rgba(106, 71, 16, 0.06);
    border-bottom: 1px solid rgba(106, 71, 16, 0.06);
}

.card-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.note-card {
    background: linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(242, 229, 204, 0.92));
}

.closing-banner {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--line-strong);
    border-radius: 1.9rem;
    background: linear-gradient(135deg, rgba(255, 250, 243, 0.94), rgba(243, 228, 197, 0.88));
    box-shadow: var(--shadow-soft);
}

.closing-text {
    max-width: 48rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.site-footer {
    padding: 2rem 0 2.5rem;
    border-top: 1px solid rgba(106, 71, 16, 0.08);
    background: rgba(255, 248, 238, 0.56);
}

.hero-copy h1,
.section-heading h2,
.closing-banner h2 {
    color: var(--ink);
}

.hero-copy .site-lead,
.section-heading p,
.site-footer p {
    color: var(--muted);
}

@media (max-width: 768px) {
    .nav-links-shell {
        width: 100%;
        justify-content: flex-start;
        border-radius: 1rem;
    }

    .hero-section {
        padding: 4.5rem 0 4rem;
    }

    .hero-panel,
    .feature-card,
    .product-card,
    .principle-card,
    .note-card,
    .closing-banner,
    .mini-card {
        border-radius: 1.25rem;
    }

    .hero-panel {
        padding: 1.5rem;
    }
}
