:root {
    --bg: #f3efe7;
    --surface: #fffdf8;
    --surface-strong: #ffffff;
    --text: #1f2a2a;
    --muted: #5a6a67;
    --line: #d8d1c4;
    --brand: #005f73;
    --brand-strong: #003f4d;
    --accent: #ee9b00;
    --danger: #ae2012;
    --success: #2a9d8f;
    --shadow: 0 18px 50px rgba(25, 35, 33, 0.08);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(238, 155, 0, 0.12), transparent 30%),
        linear-gradient(180deg, #f7f2e7 0%, #eef4f1 100%);
}

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

textarea,
input,
select,
button {
    font: inherit;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(247, 242, 231, 0.85);
    border-bottom: 1px solid rgba(216, 209, 196, 0.75);
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-strong);
}

.nav {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.page-shell {
    padding: 2rem 0 4rem;
}

.hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 2rem;
}

.hero-copy {
    padding: 2rem 0;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    line-height: 0.95;
    margin: 0 0 1rem;
    color: var(--brand-strong);
}

.hero-copy p {
    font-size: 1.1rem;
    max-width: 48rem;
    color: var(--muted);
}

.eyebrow {
    display: inline-block;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 95, 115, 0.1);
    color: var(--brand-strong);
    margin-bottom: 1rem;
}

.hero-actions,
.grid,
.stack,
.stats-grid {
    display: grid;
    gap: 1rem;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: rgba(255, 253, 248, 0.92);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem;
    box-shadow: var(--shadow);
}

.stat span {
    display: block;
    color: var(--muted);
}

.stat strong {
    display: block;
    font-size: 2rem;
    margin-top: 0.35rem;
}

.button,
.link-button {
    border: none;
    border-radius: 999px;
    background: var(--brand);
    color: white;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover,
.link-button:hover {
    transform: translateY(-1px);
    background: var(--brand-strong);
}

.button.ghost {
    background: transparent;
    color: var(--brand);
    border: 1px solid var(--brand);
}

.button.small {
    padding: 0.65rem 1rem;
}

.inline-form {
    display: inline;
}

.link-button {
    background: none;
    color: var(--brand);
    padding: 0;
}

.alert {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    margin-bottom: 1rem;
}

.alert.error {
    background: rgba(174, 32, 18, 0.1);
    color: var(--danger);
}

.alert.success {
    background: rgba(42, 157, 143, 0.1);
    color: var(--success);
}

.stack > * + * {
    margin-top: 0.9rem;
}

label {
    display: grid;
    gap: 0.35rem;
    color: var(--muted);
}

input,
select,
textarea {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-strong);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 0.85rem;
    border-bottom: 1px solid var(--line);
}

.issue-list {
    display: grid;
    gap: 1rem;
}

.issue-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
    background: var(--surface);
}

.issue-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.severity-high {
    border-left: 6px solid var(--danger);
}

.severity-medium {
    border-left: 6px solid var(--accent);
}

.severity-low {
    border-left: 6px solid var(--success);
}

pre,
textarea[readonly] {
    background: #f5f0e5;
    overflow: auto;
}

.plain-list {
    margin: 0;
    padding-left: 1.2rem;
}

.auth-card {
    max-width: 34rem;
    margin: 2rem auto;
}

.plan-price {
    font-size: 2rem;
    color: var(--brand-strong);
    margin: 0.5rem 0;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 900px) {
    .hero,
    .grid.two,
    .grid.three,
    .grid.four {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        line-height: 1;
    }
}

