:root {
    --primary: #cc1016;
    --primary-dark: #a00b10;
    --text-main: #1d2226;
    --text-muted: #666;
    --bg-main: #ffffff;
    --bg-light: #f3f6f8;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
}

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

header {
    border-bottom: 1px solid #e8eaed;
    padding: 0 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    width: 32px;
    height: 32px;
}

.logo-area h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 20px;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary);
}

main {
    padding: 60px 20px;
    min-height: 70vh;
}

.hero {
    text-align: center;
    max-width: 860px;
}

.hero-img {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    text-align: left;
}

.featureCard {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
}

.featureCard h3 {
    font-size: 18px;
    margin-bottom: 12px;
    white-space: nowrap;
}

.featureCard p {
    font-size: 15px;
    color: var(--text-muted);
}

.button {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 14px rgba(204, 16, 22, 0.3);
}

.button:hover {
    background-color: var(--primary-dark);
}

.button:active {
    transform: scale(0.98);
}

.text-page {
    max-width: 800px;
}

.text-page h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.text-page>p:first-of-type {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.text-page section {
    margin-bottom: 32px;
}

.text-page h2 {
    font-size: 22px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e8eaed;
    padding-bottom: 8px;
}

.text-page p {
    margin-bottom: 16px;
    font-size: 16px;
}

.text-page ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.text-page li {
    margin-bottom: 8px;
}

.text-page code {
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--primary);
}

footer {
    border-top: 1px solid #e8eaed;
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

footer a {
    color: var(--text-muted);
    text-decoration: underline;
}

footer a:hover {
    color: var(--primary);
}