:root {
    --bg-base: #eef7f2;
    --bg-surface: #ffffff;
    --accent: #14532d;
    --text-main: #1f2937;
    --shadow-soft: 0 8px 16px rgba(20, 83, 45, 0.05);
    --shadow-hover: 0 16px 32px rgba(20, 83, 45, 0.12);
}

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

body {
    font-family: system-ui, "Segoe UI", sans-serif;
    color: var(--text-main);
    background-color: var(--bg-surface);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    overflow-wrap: anywhere;
    hyphens: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: inherit;
}

p, ul, ol {
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent);
}

/* Layout */
.section-band {
    width: 100%;
    padding: 6rem 1.5rem;
}

.section-content {
    max-width: 1100px;
    margin: 0 auto;
}

.bg-base {
    background-color: var(--bg-base);
    color: var(--text-main);
}

.bg-surface {
    background-color: var(--bg-surface);
    color: var(--text-main);
}

.bg-accent {
    background-color: var(--accent);
    color: var(--bg-surface);
}

/* Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Header */
.site-header {
    width: 100%;
    background: transparent;
    position: static;
    padding: 2rem 1.5rem;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* Navigation */
.nav-desktop {
    display: flex;
    gap: 2.5rem;
}

.nav-mobile-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-main);
    cursor: pointer;
    line-height: 1;
}

.nav-mobile-menu {
    display: none;
    background: var(--bg-base);
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--accent);
}

.nav-mobile-menu.active {
    display: block;
}

.nav-mobile-menu a {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .nav-mobile-btn { display: block; }
}

/* Hero */
.hero {
    padding: 10rem 1.5rem 8rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Typography specifics */
.long-form {
    max-width: 72ch;
    margin: 0 auto;
}

.long-form h2 {
    margin-top: 3rem;
}

.long-form ul {
    padding-left: 1.5rem;
}

/* Cards & Elements */
.card {
    background: var(--bg-surface);
    padding: 3rem 2rem;
    border-radius: 0;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.bg-base .card {
    background: var(--bg-surface);
}

.bg-surface .card {
    background: var(--bg-base);
}

/* Images & Shapes */
.img-square {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 1.5rem;
    display: block;
}

.img-hero-banner {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 2rem;
    display: block;
}

.badge-round {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Buttons & Links */
.btn-main {
    background: var(--accent);
    color: var(--bg-surface);
    padding: 1.25rem 2.5rem;
    display: inline-block;
    border: none;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    border-radius: 0;
    transition: transform 0.2s;
}

.btn-main:hover {
    transform: scale(1.02);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 1.15rem 2.5rem;
    display: inline-block;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--bg-surface);
}

.text-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    font-weight: 800;
    display: inline-block;
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-link:hover::after {
    width: 100%;
}

.bg-accent .text-link::after {
    background: var(--bg-surface);
}

/* Wizard Tool */
.wizard-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (max-width: 900px) {
    .wizard-container {
        grid-template-columns: 1fr;
    }
}

.wizard-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wizard-form label {
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wizard-form input,
.wizard-form select,
.wizard-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--text-main);
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    border-radius: 0;
}

.wizard-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wizard-preview-card {
    background: var(--text-main);
    color: var(--bg-base);
    padding: 3rem;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
}

.wizard-preview-content {
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 1.1rem;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.wizard-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Table */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 1rem;
    border-bottom: 2px solid var(--text-main);
}

th {
    font-weight: 800;
}

/* Footer */
.site-footer {
    background: var(--bg-base);
    padding: 6rem 1.5rem 2rem;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto 4rem auto;
}

.footer-newsletter input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--accent);
    margin-bottom: 1rem;
    background: transparent;
    border-radius: 0;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-legal {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 2px solid rgba(31, 41, 55, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 0.9rem;
    gap: 1rem;
}

/* Utility Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
