:root {
    --ink: #18201f;
    --ink-soft: #53615e;
    --paper: #f9f8f4;
    --surface: #ffffff;
    --line: #dde3dc;
    --mint: #dcefe5;
    --mint-strong: #9ed7bc;
    --green: #246347;
    --green-dark: #173d2d;
    --orange: #e57745;
    --blue: #7198be;
    --shadow: 0 18px 50px rgba(23, 61, 45, .08);
    --radius: 18px;
    --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.55; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { color: var(--green-dark); }
button, input, select { font: inherit; }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.container { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }
.narrow { max-width: 720px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: .7rem 1rem; color: #fff; background: var(--green-dark); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid rgba(221, 227, 220, .8); background: rgba(249, 248, 244, .93); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font-size: 1.07rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { display: grid; width: 29px; height: 29px; place-items: center; color: #fff; background: var(--green); border-radius: 9px; font-size: 1.25rem; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 1.35rem; font-size: .92rem; }
.site-nav a { color: var(--ink-soft); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green-dark); }
.site-nav a[aria-current="page"] { font-weight: 700; }
.nav-logout { display: inline; margin: 0; }
.link-button { padding: 0; color: var(--ink-soft); background: none; border: 0; font-size: inherit; }
.link-button:hover { color: var(--green-dark); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .72rem 1.15rem; color: #fff; background: var(--green); border: 1px solid var(--green); border-radius: 9px; font-weight: 700; text-decoration: none; transition: background .16s ease, transform .16s ease, border-color .16s ease; }
.button:hover { color: #fff; background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.button-small { min-height: 38px; padding: .45rem .85rem; font-size: .88rem; }
.button-wide { width: 100%; }
.button-quiet { color: var(--green); background: transparent; border-color: transparent; }
.button-quiet:hover { color: var(--green-dark); background: var(--mint); border-color: var(--mint); }
.button-outline { color: var(--green); background: transparent; border-color: #b8cabe; }
.button-outline:hover { color: var(--green-dark); background: var(--mint); border-color: var(--mint-strong); }
.button-light { color: var(--green-dark); background: #fff; border-color: #fff; }
.button-light:hover { color: var(--green-dark); background: var(--mint); border-color: var(--mint); }
.eyebrow { margin: 0 0 .85rem; color: var(--orange); font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.06; }
h1 { max-width: 760px; margin-bottom: 1.25rem; font-size: clamp(2.8rem, 6vw, 5.8rem); }
h2 { margin-bottom: .8rem; font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.text-accent { color: var(--green); }
.hero-section { overflow: hidden; padding: clamp(4.7rem, 10vw, 8.5rem) 0 6rem; background: linear-gradient(135deg, var(--paper) 35%, #edf5ec); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr); align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.hero-lede { max-width: 520px; color: var(--ink-soft); font-size: clamp(1.1rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 2rem 0 1.1rem; }
.microcopy { color: #77827e; font-size: .8rem; }
.hero-card { max-width: 440px; justify-self: end; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); transform: rotate(2deg); }
.window-chrome { display: flex; align-items: center; gap: .4rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.window-chrome > span:not(.window-label) { width: 7px; height: 7px; background: #d3dcd5; border-radius: 50%; }
.window-label { margin-left: auto; color: #84908b; font-size: .7rem; }
.hero-card-body { padding: 1.6rem; }
.metric-row { display: flex; align-items: end; justify-content: space-between; }
.muted-label { display: block; margin-bottom: .4rem; color: #7a8781; font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.metric-row strong { display: block; font-size: 2.7rem; letter-spacing: -.07em; line-height: 1; }
.trend { padding: .25rem .5rem; color: var(--green); background: var(--mint); border-radius: 99px; font-size: .76rem; font-weight: 700; }
.chart { display: flex; align-items: end; gap: .5rem; height: 130px; margin: 1.5rem 0; padding: 0 .3rem; border-bottom: 1px solid var(--line); }
.chart i { flex: 1; display: block; min-height: 8px; background: var(--mint-strong); border-radius: 5px 5px 0 0; }
.chart i:nth-child(2n) { background: #75bc98; }
.activity-line { display: flex; align-items: center; gap: .65rem; margin-top: .75rem; color: var(--ink-soft); font-size: .8rem; }
.activity-line time { margin-left: auto; color: #9aa39f; }
.avatar, .table-avatar, .profile-avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; font-weight: 800; }
.avatar { width: 25px; height: 25px; color: #fff; font-size: .65rem; }
.avatar-orange { background: var(--orange); }.avatar-blue { background: var(--blue); }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-muted { background: #eef4ee; }
.value-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.value-grid h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.value-list article { display: grid; grid-template-columns: 2.4rem 1fr; gap: 1.1rem; padding: 0 0 1.6rem; margin: 0 0 1.6rem; border-bottom: 1px solid #d8e3d9; }
.value-list article:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.number { color: var(--orange); font-size: .78rem; font-weight: 800; }
.value-list p { margin-bottom: 0; color: var(--ink-soft); }
.cta-section { padding: 2rem 0 7rem; background: #eef4ee; }
.cta-panel { padding: clamp(2.5rem, 7vw, 5.5rem); color: #fff; background: var(--green-dark); border-radius: var(--radius); }
.cta-panel .eyebrow { color: var(--mint-strong); }.cta-panel h2 { margin-bottom: 2rem; font-size: clamp(2.2rem, 5vw, 4.3rem); }
.page-intro { padding: clamp(4.5rem, 9vw, 7rem) 0 3rem; }.page-intro-tight { padding-bottom: 2rem; }.page-intro h1 { font-size: clamp(2.7rem, 6vw, 5rem); }.page-intro p:not(.eyebrow) { max-width: 600px; color: var(--ink-soft); font-size: 1.15rem; }
.pricing-section { padding-top: 1rem; }.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; align-items: stretch; }
.plan-card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 25px rgba(23, 61, 45, .03); }.plan-featured { border: 2px solid var(--green); transform: translateY(-10px); box-shadow: var(--shadow); }.plan-badge { position: absolute; top: -14px; left: 1.5rem; padding: .28rem .65rem; color: #fff; background: var(--green); border-radius: 99px; font-size: .72rem; font-weight: 800; }.plan-heading { min-height: 74px; }.plan-heading h2 { margin-bottom: .35rem; font-size: 1.7rem; }.plan-heading p, .plan-card > p { color: var(--ink-soft); }.plan-price { margin: 1.7rem 0 .45rem; color: var(--ink); font-size: 2.8rem; font-weight: 800; letter-spacing: -.08em; line-height: 1; }.plan-price span { color: var(--ink-soft); font-size: .85rem; font-weight: 500; letter-spacing: 0; }.plan-credits { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); font-size: .87rem; }.plan-credits strong { color: var(--green); }.feature-list { display: grid; gap: .75rem; min-height: 138px; padding: 0; margin: 0 0 1.7rem; list-style: none; color: var(--ink-soft); font-size: .9rem; }.feature-list li { display: flex; gap: .55rem; }.feature-list li span { color: var(--green); font-weight: 800; }.plan-card .button { margin-top: auto; }.pricing-note { padding-top: 2.3rem; color: var(--ink-soft); text-align: center; font-size: .88rem; }
.form-section { padding: clamp(4rem, 8vw, 7rem) 0 8rem; }.form-wrap { max-width: 600px; }.form-wrap-compact { max-width: 520px; }.form-heading { margin-bottom: 2rem; text-align: center; }.form-heading h1 { margin-inline: auto; font-size: clamp(2.4rem, 6vw, 4rem); }.form-heading p:not(.eyebrow) { color: var(--ink-soft); }.form-card { padding: clamp(1.4rem, 4vw, 2.4rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }.field { margin-bottom: 1.2rem; }.field label { display: block; margin-bottom: .45rem; font-size: .9rem; font-weight: 750; }.optional { color: #84908b; font-size: .78rem; font-weight: 500; }.field input, .field select { width: 100%; min-height: 48px; padding: .65rem .75rem; color: var(--ink); background: #fff; border: 1px solid #bdc9c0; border-radius: 8px; }.field input:hover, .field select:hover { border-color: #879d8e; }.field input[readonly] { color: var(--ink-soft); background: #f0f4f0; }.field-hint { margin: .38rem 0 0; color: #7b8782; font-size: .76rem; }.field-error { margin: .38rem 0 0; color: #ad3b31; font-size: .8rem; font-weight: 600; }.form-footer { margin: 1.25rem 0 0; color: var(--ink-soft); text-align: center; font-size: .87rem; }.form-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem; margin-top: 1.25rem; font-size: .87rem; }.success-card { display: flex; gap: 1rem; padding: 1.5rem; background: var(--mint); border: 1px solid #b8d9c5; border-radius: var(--radius); }.success-card h2 { margin-bottom: .45rem; font-size: 1.45rem; }.success-card p { color: var(--ink-soft); font-size: .9rem; }.success-icon { display: grid; width: 32px; height: 32px; flex: none; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-weight: 800; }
.flash-stack { padding-top: 1rem; }.flash { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; color: var(--green-dark); background: var(--mint); border: 1px solid #b9d8c4; border-radius: 9px; font-size: .9rem; }.flash-error, .flash-danger { color: #7e2d27; background: #fbe9e3; border-color: #efc6b9; }.flash-warning { color: #70511f; background: #fff2d7; border-color: #f0d8a1; }.flash-dismiss { padding: 0 .25rem; color: inherit; background: none; border: 0; font-size: 1.35rem; line-height: 1; }
.dashboard-hero { padding: clamp(4rem, 8vw, 6.5rem) 0 3rem; background: #eaf3eb; }.dashboard-hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); }.dashboard-hero .hero-lede { margin-bottom: 0; color: var(--ink-soft); }.dashboard-section { padding-top: 2rem; }.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }.stat-card { min-height: 205px; padding: 1.7rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }.stat-card-dark { color: #fff; background: var(--green-dark); border-color: var(--green-dark); }.stat-card-dark .muted-label, .stat-card-dark p { color: #b6d4c1; }.stat-card strong { display: block; margin: 1.2rem 0 .45rem; font-size: 2.35rem; letter-spacing: -.07em; line-height: 1; }.stat-card .stat-text { font-size: 1.85rem; text-transform: capitalize; }.stat-card p { margin-bottom: 1.5rem; color: var(--ink-soft); font-size: .87rem; }.text-link, .text-link-light { font-size: .84rem; font-weight: 700; text-decoration: none; }.text-link-light { color: var(--mint-strong); }.text-link-light:hover { color: #fff; }.dashboard-lower { display: grid; grid-template-columns: 1.4fr .8fr; gap: 1rem; margin-top: 1rem; }.panel { padding: clamp(1.4rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }.panel h2 { font-size: 1.75rem; }.panel > p { max-width: 600px; color: var(--ink-soft); }.panel-icon { display: grid; width: 40px; height: 40px; place-items: center; color: var(--green); background: var(--mint); border-radius: 10px; }.panel-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }.panel-note { background: var(--mint); border-color: #c8dfce; }.panel-note a { font-weight: 700; }.status-dot { display: inline-block; width: 9px; height: 9px; margin-right: .45rem; background: #54ae7a; border-radius: 50%; }
.account-section { padding-top: 1rem; }.account-grid { display: grid; grid-template-columns: 1.35fr .8fr; gap: 1rem; max-width: 940px; }.account-panel .panel-heading { margin-bottom: 1.8rem; }.profile-avatar { width: 46px; height: 46px; color: var(--green-dark); background: var(--mint-strong); font-size: 1rem; }.account-form .button { margin-top: .5rem; }.account-summary { height: fit-content; background: #eaf3eb; border-color: #c8dfce; }.detail-list { margin: 1.5rem 0 2rem; }.detail-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #cfe1d3; }.detail-list dt { color: var(--ink-soft); }.detail-list dd { margin: 0; font-weight: 750; text-transform: capitalize; }
.admin-section { padding-top: 1rem; }.admin-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }.admin-toolbar h2 { margin-bottom: .3rem; font-size: 1.7rem; }.admin-toolbar p { margin: 0; color: var(--ink-soft); font-size: .9rem; }.admin-lock { padding: .35rem .7rem; color: var(--green); background: var(--mint); border-radius: 99px; font-size: .78rem; font-weight: 750; }.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 25px rgba(23, 61, 45, .03); }.users-table { width: 100%; min-width: 680px; border-collapse: collapse; text-align: left; }.users-table th, .users-table td { padding: 1rem 1.2rem; border-bottom: 1px solid #edf0ec; font-size: .88rem; }.users-table thead th { color: #77827e; background: #f5f7f3; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }.users-table tbody tr:last-child th, .users-table tbody tr:last-child td { border-bottom: 0; }.user-cell { display: flex; align-items: center; gap: .65rem; font-weight: 700; }.table-avatar { width: 30px; height: 30px; color: var(--green-dark); background: var(--mint); font-size: .7rem; }.role-badge { display: inline-block; padding: .22rem .5rem; border-radius: 5px; color: var(--green); background: var(--mint); font-size: .75rem; font-weight: 700; }.role-admin, .role-super { color: #8b4d20; background: #ffebd7; }.status-label { color: var(--ink-soft); font-size: .82rem; white-space: nowrap; }.empty-card { padding: 4rem 1rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }.empty-icon { display: block; margin-bottom: .8rem; color: var(--green); font-size: 2rem; }.empty-card h2 { color: var(--ink); font-size: 1.5rem; }.empty-card p { margin-bottom: 0; }
.site-footer { padding: 2.2rem 0; color: #75817c; border-top: 1px solid var(--line); font-size: .82rem; }.footer-inner { display: flex; justify-content: space-between; gap: 1rem; }.footer-inner a { color: inherit; }
@media (max-width: 850px) { .hero-grid, .value-grid { grid-template-columns: 1fr; }.hero-card { justify-self: start; transform: none; }.value-grid { gap: 2.8rem; }.plans-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }.plan-featured { transform: none; order: -1; }.dashboard-grid, .dashboard-lower, .account-grid { grid-template-columns: 1fr; }.stat-card { min-height: auto; }.account-summary { order: -1; } }
@media (max-width: 600px) { .container { width: min(var(--max), calc(100% - 2rem)); }.nav-shell { align-items: start; flex-direction: column; gap: .8rem; padding-block: 1rem; }.site-nav { width: 100%; flex-wrap: wrap; gap: .8rem 1rem; }.site-nav .nav-logout { margin-left: auto; }.hero-section { padding-top: 4rem; }.hero-actions .button { flex: 1 1 auto; }.hero-card { width: 100%; }.section { padding-block: 4.5rem; }.cta-section { padding-bottom: 4.5rem; }.cta-panel { border-radius: 12px; }.form-section { padding-bottom: 5rem; }.form-links { flex-direction: column; }.admin-toolbar { align-items: start; flex-direction: column; }.footer-inner { align-items: start; flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
