:root {
    --green-950: #043f33;
    --green-900: #075f4d;
    --green-700: #0c8068;
    --mint-200: #a8dccd;
    --mint-100: #dff3ec;
    --cream: #fbf8f1;
    --white: #ffffff;
    --ink: #10201c;
    --muted: #5d716a;
    --gold: #c99a35;
    --bluegreen: #1aa6a8;
    --line: #dce8e2;
    --shadow: 0 20px 50px rgba(4, 63, 51, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 32px)); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(251, 248, 241, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(7, 95, 77, .1);
}
.header-inner, .footer-grid, .hero-grid, .split, .founders-grid, .contact-grid, .blog-layout {
    display: grid;
    gap: 28px;
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--green-900); letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.main-nav { display: none; gap: 18px; align-items: center; font-weight: 700; color: var(--green-950); }
.admin-menu-link {
    opacity: .7;
    font-size: .94rem;
}
.main-nav.is-open {
    display: grid;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.nav-toggle {
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--green-900);
    font-weight: 800;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
}
.btn-primary { background: var(--green-900); color: var(--white); box-shadow: 0 12px 24px rgba(7,95,77,.2); }
.btn-outline { border-color: var(--green-900); color: var(--green-900); background: rgba(255,255,255,.5); }
.btn-small { min-height: 40px; padding: 9px 14px; }
.full { width: 100%; }

.hero {
    padding: 66px 0 52px;
    background:
        radial-gradient(circle at top right, rgba(168, 220, 205, .7), transparent 38%),
        linear-gradient(135deg, var(--cream), #eef8f3);
}
.hero-grid { align-items: center; }
.hero h1, .page-hero h1 { font-size: clamp(2.3rem, 8vw, 4.8rem); line-height: .98; margin: 14px 0 18px; letter-spacing: -.04em; color: var(--green-950); }
.hero p, .page-hero p { font-size: 1.08rem; color: var(--muted); max-width: 680px; }
.eyebrow { display: inline-flex; color: var(--green-700); font-weight: 800; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
.gold { color: var(--gold); }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.hero-panel { display: grid; place-items: center; }
.phone-card {
    width: min(360px, 100%);
    padding: 22px;
    border-radius: 28px;
    background: var(--green-950);
    color: var(--white);
    box-shadow: var(--shadow);
    border: 8px solid #0d6b58;
}
.phone-top { width: 80px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.35); margin: 0 auto 20px; }
.app-logo { background: var(--cream); border-radius: 20px; padding: 14px; margin-bottom: 18px; }
.app-logo img { width: 150px; margin: 0 auto; }
.phone-card h2 { margin: 0; font-size: 1.25rem; }
.phone-card p { color: var(--mint-200); margin-top: 4px; }
.metric-row { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.14); }
.status-pill { margin-top: 12px; padding: 11px; border-radius: 8px; background: rgba(201,154,53,.18); color: #ffe3a0; text-align: center; font-weight: 800; }

.section { padding: 68px 0; }
.soft { background: #eef8f3; }
.split { grid-template-columns: 1fr; align-items: start; }
.section h2, .founders h2 { font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.08; color: var(--green-950); margin: 8px 0 14px; letter-spacing: -.03em; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.steps, .cards, .pricing { display: grid; gap: 16px; }
.steps article, .card, .pricing article, .contact-box, .post-card, .detail-card, .message-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(4, 63, 51, .06);
}
.steps span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--mint-100); color: var(--green-900); font-weight: 900; }
.card h3, .steps h3, .pricing h3 { margin-bottom: 6px; color: var(--green-950); }

.founders { background: linear-gradient(135deg, var(--green-950), #075644); color: var(--white); }
.founders h2, .founders h3 { color: var(--white); }
.founders p, .founders li { color: #d8efe7; }
.founder-lists { display: grid; gap: 12px; margin-top: 22px; }
.founder-lists > div { border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 18px; background: rgba(255,255,255,.05); }
.form-card, .login-card, .admin-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    box-shadow: var(--shadow);
    color: var(--ink);
}
.form-card h3, .form-card h2 { margin-top: 0; color: var(--green-950); }
label { display: grid; gap: 7px; font-weight: 800; color: var(--green-950); margin-bottom: 14px; }
.field-hint {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 600;
}
.field-hint.loading { color: var(--green-700); }
.field-hint.success-text { color: #11603f; }
.field-hint.error-text { color: #9e2222; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 46px;
    padding: 11px 12px;
    font: inherit;
    color: var(--ink);
    background: #fffdfa;
}
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; font-weight: 800; }
.success { background: #ddf7ea; color: #11603f; }
.error { background: #ffe5e5; color: #9e2222; }

.pricing article strong { display: block; color: var(--green-900); font-size: 1.7rem; margin: 8px 0; }
.pricing .featured { border-color: var(--gold); box-shadow: 0 18px 40px rgba(201,154,53,.14); }
.page-hero { padding: 58px 0; background: linear-gradient(135deg, #eef8f3, var(--cream)); }
.content { font-size: 1.05rem; }
.legal-content h2 {
    font-size: 1.45rem;
    margin-top: 30px;
    margin-bottom: 10px;
}
.legal-content p {
    color: var(--muted);
}
.legal-content a {
    color: var(--green-900);
    font-weight: 800;
}
.contact-grid { grid-template-columns: 1fr; }
.blog-layout { grid-template-columns: 1fr; align-items: start; }
.blog-sidebar { background: var(--green-950); color: var(--white); border-radius: 8px; padding: 20px; display: grid; gap: 10px; }
.blog-sidebar h2 { color: var(--white); font-size: 1.2rem; margin: 0; }
.post-list { display: grid; gap: 18px; }
.post-card {
    display: grid;
    gap: 18px;
    position: relative;
    overflow: hidden;
}
.post-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--green-900), var(--gold));
}
.post-card.no-image {
    display: block;
    padding: 30px;
}
.post-card h2 {
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    line-height: 1.15;
    letter-spacing: -.025em;
    margin: 10px 0 12px;
    color: var(--green-950);
}
.post-card p {
    max-width: 760px;
    color: var(--muted);
    margin: 0 0 16px;
}
.post-card img, .featured-image { width: 100%; max-height: 360px; object-fit: cover; border-radius: 8px; }
.post-meta { color: var(--green-700); font-size: .88rem; font-weight: 800; }
.read-more { color: var(--green-900); font-weight: 900; }

.site-footer { padding: 46px 0 24px; background: var(--green-950); color: var(--white); }
.footer-grid { grid-template-columns: 1fr; }
.footer-brand { color: var(--white); }
.site-footer p { color: var(--mint-200); max-width: 480px; }
.site-footer nav { display: grid; gap: 10px; color: var(--mint-200); }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: var(--mint-200); }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: linear-gradient(135deg, var(--mint-100), var(--cream)); }
.login-card { width: min(420px, 100%); }
.login-card img { width: 120px; margin: 0 auto 12px; }
.admin-body { background: #f6fbf8; }
.admin-sidebar { background: var(--green-950); color: var(--white); padding: 18px; }
.admin-sidebar nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.admin-sidebar a { color: var(--white); font-weight: 800; }
.admin-main { padding: 22px; }
.admin-title-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.admin-subtitle { margin: 6px 0 0; color: var(--muted); }
.admin-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.admin-cards article { background: var(--white); border-radius: 8px; padding: 22px; border: 1px solid var(--line); }
.admin-cards article.highlight { border-color: var(--gold); box-shadow: 0 14px 32px rgba(201,154,53,.12); }
.admin-cards strong { display: block; font-size: 2rem; color: var(--green-900); }
.admin-quick-actions {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 24px;
}
.quick-action {
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(4, 63, 51, .06);
}
.quick-action span {
    color: var(--green-700);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.quick-action strong {
    color: var(--green-950);
    font-size: 1.2rem;
    line-height: 1.2;
}
.quick-action.primary {
    background: linear-gradient(135deg, var(--green-950), var(--green-900));
    border-color: var(--green-900);
}
.quick-action.primary span { color: var(--mint-200); }
.quick-action.primary strong { color: var(--white); }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--green-950); background: #eef8f3; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.actions button, .actions a { border: 0; background: transparent; color: var(--green-900); font: inherit; font-weight: 900; cursor: pointer; padding: 0; }
.badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--mint-100); color: var(--green-900); font-size: .82rem; font-weight: 900; }
.back-link { color: var(--green-900); font-weight: 900; }
.admin-form { max-width: 820px; margin-top: 14px; }
.admin-form.compact { display: grid; gap: 12px; grid-template-columns: 1fr; align-items: end; }
.message-list { display: grid; gap: 14px; }
.message-card.unread { border-color: var(--gold); }

@media (min-width: 760px) {
    .main-nav { display: flex; }
    .nav-toggle { display: none; }
    .hero-grid { grid-template-columns: 1.15fr .85fr; }
    .hero-actions { flex-direction: row; }
    .split { grid-template-columns: .9fr 1.1fr; }
    .steps, .pricing { grid-template-columns: repeat(4, 1fr); }
    .cards { grid-template-columns: repeat(3, 1fr); }
    .founders-grid { grid-template-columns: 1fr .85fr; align-items: start; }
    .founder-lists, .form-row, .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
    .blog-layout { grid-template-columns: 250px 1fr; }
    .post-card.has-image { grid-template-columns: 220px 1fr; }
    .post-card.no-image { grid-template-columns: 1fr; }
    .admin-body { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
    .admin-sidebar { min-height: 100vh; position: sticky; top: 0; align-self: start; }
    .admin-sidebar nav { display: grid; }
    .admin-main { padding: 34px; }
    .admin-form.compact { grid-template-columns: 1fr auto; }
}
