:root {
    --bg: #fffaf2;
    --card: #ffffff;
    --text: #1f2933;
    --muted: #64748b;
    --primary: #0f766e;
    --primary-dark: #115e59;
    --accent: #f59e0b;
    --line: #e5e7eb;
    --danger-bg: #fff7ed;
    --danger-line: #fdba74;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.site-header {
    background: rgba(255, 250, 242, 0.96);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.brand:hover { text-decoration: none; }

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    color: var(--text);
    padding: 10px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
}

.nav-links a.active,
.nav-links a:hover {
    color: #fff;
    background: var(--primary);
    text-decoration: none;
}

.nav-toggle { display: none; }
.menu-btn { display: none; font-size: 28px; cursor: pointer; }

.hero {
    padding: 70px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
}

.badge {
    display: inline-flex;
    background: #ccfbf1;
    color: var(--primary-dark);
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
}

h1 {
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.05;
    margin: 16px 0;
}

h2 {
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.2;
    margin: 0 0 14px;
}

h3 { margin: 0 0 8px; }

.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 680px;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    font-weight: 800;
    cursor: pointer;
    font-size: 15px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

.btn-secondary {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--line);
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.hero-card {
    background: linear-gradient(135deg, #ffffff, #ecfeff);
}

.section {
    padding: 40px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.muted { color: var(--muted); }

.list-clean {
    padding-left: 20px;
    margin-bottom: 0;
}

.notice {
    background: var(--danger-bg);
    border: 1px dashed var(--danger-line);
    border-radius: 18px;
    padding: 16px;
    margin: 18px 0;
}

.notice strong { color: #9a3412; }

.page-head {
    padding: 48px 0 18px;
}

.page-head p { max-width: 760px; }

.info-row {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.info-row:last-child { border-bottom: 0; }

.form-group { margin-bottom: 15px; }

label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

input, textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    font: inherit;
    background: #fff;
}

textarea { min-height: 130px; resize: vertical; }

.alert {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 700;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.site-footer {
    background: #0f172a;
    color: #e2e8f0;
    margin-top: 48px;
    padding: 34px 0 20px;
}

.site-footer a { color: #99f6e4; }
.site-footer p { margin: 4px 0; color: #cbd5e1; }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 22px;
    padding-top: 16px;
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 760px) {
    .nav-wrap { flex-wrap: wrap; padding: 12px 0; }
    .menu-btn { display: block; }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 10px;
    }
    .nav-links a { border-radius: 14px; }
    .nav-toggle:checked ~ .nav-links { display: flex; }
    .hero { padding-top: 42px; }
    .hero-grid, .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
    .card { padding: 20px; }
    .actions .btn { width: 100%; }
}

.brand-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 60px;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

.tag_line {
    margin: -4px 0 0;
    max-width: 130px;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    color: #4b5563;
    font-weight: 500;
}

@media (max-width: 576px) {
    .brand-logo {
        height: 52px;
        max-width: 130px;
    }

    .tag_line {
        max-width: 115px;
        font-size: 11px;
    }
}

/* .tag_line {
    margin: -4px 0 0;
}

.tag_line {
    margin: 2px 0 0;
} */
