/* wegoze — Styles
   Soft beachy palette, all contrast ratios verified (see SYSTEM_PROMPT.md §4):
   ink on sand 11.04 (AAA) · muted on sand 5.04 (AA) · white on sea 7.69 (AAA)
   white on coral 5.20 (AA) · coral-light #E8663F FAILS as text (3.28) -> decorative only. */
:root {
    --sand:      #FBF7F1;   /* page background */
    --dune:      #F0E6D8;   /* borders, quiet fills */
    --surface:   #FFFFFF;   /* cards */
    --ink:       #17393F;   /* body text — 11.04:1 on sand, AAA */
    --muted:     #546B6F;   /* secondary text — 5.04:1 on sand, AA */
    --sea:       #0F5C63;   /* primary accent — white on it 7.69:1, AAA */
    --seafoam:   #CDE8DF;
    --sky:       #DCEAF2;
    --coral:     #BC4626;   /* accent — white on it 5.20:1, AA */
    --sun:       #F2C14E;

    /* semantic aliases — keep every existing rule working */
    --bg:          var(--sand);
    --text:        var(--ink);
    --accent:      var(--sea);
    --accent-glow: var(--sea);
    --border:      var(--dune);
    --radius:      10px;
    --shadow:      0 1px 2px rgba(23, 57, 63, 0.04), 0 4px 16px rgba(23, 57, 63, 0.06);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, var(--sand) 0%, var(--sand) 55%, var(--sky) 100%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

header {
    text-align: center;
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 3rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.tagline {
    color: var(--muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--ink);
}

.hero p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Packages / feature panels */
.packages {
    margin-bottom: 4rem;
}

.packages h2, .about h2, .contact h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--ink);
}

.package {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.package.featured {
    border-color: var(--sea);
    box-shadow: 0 4px 24px rgba(15, 92, 99, 0.14);
}

.package h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    color: var(--ink);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sea);
    margin-bottom: 1rem;
}

.package p {
    color: var(--muted);
    margin-bottom: 1rem;
}

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

.package li {
    padding: 0.3rem 0;
    color: var(--text);
}

.package li::before {
    content: "✓ ";
    color: var(--sea);
    font-weight: bold;
}

/* About */
.about {
    margin-bottom: 4rem;
}

.about p {
    color: var(--muted);
    margin-bottom: 1rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Contact */
.contact {
    text-align: center;
    background: var(--seafoam);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    margin-bottom: 3rem;
}

.contact p {
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.contact a {
    color: var(--sea);
    text-decoration: none;
    font-weight: 600;
}

.contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

footer a {
    color: var(--muted);
    text-decoration: none;
}

footer a:hover {
    color: var(--ink);
}

/* Blog */
.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.blog-card h3 {
    margin-bottom: 0.3rem;
}

.blog-card h3 a {
    color: var(--ink);
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: var(--sea);
}

.blog-date {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.blog-card p {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.read-more {
    color: var(--sea);
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Blog post */
.blog-post h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.post-content {
    margin-top: 2rem;
    line-height: 1.8;
}

.post-content h3 {
    color: var(--ink);
    margin: 1.5rem 0 0.75rem;
}

.post-content p {
    color: var(--text);
    margin-bottom: 1rem;
}

.post-content ul, .post-content ol {
    color: var(--text);
    margin: 0 0 1rem 1.5rem;
}

.post-content li {
    margin-bottom: 0.3rem;
}

.post-content code {
    background: var(--dune);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    font-size: 0.9em;
}

.post-content pre {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.post-content pre code {
    background: none;
    border: none;
    padding: 0;
}

.post-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.post-content blockquote {
    border-left: 3px solid var(--sea);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--muted);
    font-style: italic;
}

.post-content a {
    color: var(--sea);
    text-decoration: none;
    font-weight: 500;
}

.post-content a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    header h1 { font-size: 1.8rem; }
    .hero h2 { font-size: 1.4rem; }
    body { padding: 1rem; }
    .blog-post h2 { font-size: 1.4rem; }
}

/* Site navigation */
.site-nav {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--sea);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.site-nav a:hover { text-decoration: underline; }

/* Dashboard cards (/dashboards/ and the home-page section) */
.dash-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.dash-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.dash-card:hover {
    border-color: var(--sea);
    box-shadow: 0 6px 24px rgba(15, 92, 99, 0.16);
    transform: translateY(-2px);
}

.dash-card h3 { font-size: 1.25rem; color: var(--ink); margin-bottom: 0.6rem; }

.dash-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: var(--coral);
    margin-bottom: 0.5rem;
}

.dash-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

.dash-metrics { list-style: none; padding: 0; margin: 1rem 0; }

.dash-metrics li { color: var(--text); font-size: 0.92rem; padding: 0.15rem 0; }

.dash-metrics li::before { content: "▸ "; color: var(--sea); }

.dash-source { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.9rem !important; }

.dash-card .read-more { font-weight: 600; }
