:root {
    --bg-color: #faf9f7;
    --text-color: #2b2b2b;
    --primary-color: #005f73;
    --secondary-color: #0a9396;
    --accent-color: #e9d8a6;
    --border-color: #d1d1d1;
    --focus-ring: #ee9b00;
    --card-bg: #ffffff;
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.125rem;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1.2rem;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1.5rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

nav a:hover, nav a:focus {
    text-decoration: underline;
    outline-color: var(--accent-color);
}

/* Sections */
section {
    margin: 4rem 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: #4a4a4a;
}

/* Checklist */
.category {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.category h3 {
    margin-top: 0;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.custom-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    margin-right: 1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.checkbox-wrapper input:focus + .custom-checkbox {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

.checkbox-wrapper input:checked + .custom-checkbox {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.checkbox-wrapper input:checked + .custom-checkbox::after {
    content: "✓";
    color: white;
    font-weight: bold;
}

.label-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.label-text p {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

/* Generator */
.output-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

textarea {
    width: 100%;
    height: 200px;
    padding: 1rem;
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    resize: vertical;
}

textarea:focus {
    outline: 3px solid var(--focus-ring);
    border-color: var(--primary-color);
}

button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.2s;
}

button:hover, button:focus {
    background-color: var(--secondary-color);
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

.note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }
    button {
        width: 100%;
    }
}


/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
