:root {
    --green: #58cc02;
    --green-dark: #46a302;
    --blue: #1cb0f6;
    --yellow: #ffc800;
    --red: #ff4b4b;
    --text: #3c3c3c;
    --text-soft: #777777;
    --border: #e5e5e5;
    --bg: #ffffff;
    --bg-soft: #f7f7f7;
}

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

body {
    font-family: "Nunito", -apple-system, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
}

.wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    border-bottom: 2px solid var(--border);
    padding: 18px 0;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 22px;
    color: var(--green);
    text-decoration: none;
}

.brand img { width: 38px; height: auto; }

nav a {
    color: var(--text-soft);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    margin-left: 22px;
}

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

/* Hero */
.hero {
    text-align: center;
    padding: 72px 0 56px;
}

.hero img.mascot {
    width: 150px;
    height: auto;
    margin-bottom: 24px;
}

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

.hero h1 span { color: var(--green); }

.hero p.tagline {
    font-size: 19px;
    color: var(--text-soft);
    font-weight: 600;
    max-width: 560px;
    margin: 0 auto 32px;
}

.store-badge {
    display: inline-block;
    background: var(--text);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 4px 0 #1a1a1a;
}

.store-badge:active { transform: translateY(2px); box-shadow: 0 2px 0 #1a1a1a; }

.store-badge small { display: block; font-size: 11px; font-weight: 700; opacity: 0.7; }

/* Feature grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    padding: 24px 0 72px;
}

.card {
    border: 2px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    background: var(--bg);
}

.card .dot {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
}

.card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.card p { font-size: 14.5px; color: var(--text-soft); font-weight: 600; }

.dot.green  { background: #e8f8db; }
.dot.blue   { background: #e0f4fe; }
.dot.yellow { background: #fff5d6; }
.dot.red    { background: #ffe5e5; }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: 34px; font-weight: 900; margin-bottom: 6px; }
.legal p.updated { color: var(--text-soft); font-weight: 700; font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 21px; font-weight: 800; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 24px; margin-bottom: 12px; }
.legal a { color: var(--blue); font-weight: 700; }
.legal .note {
    background: var(--bg-soft);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 16px 20px;
    font-weight: 600;
}

/* Footer */
footer {
    border-top: 2px solid var(--border);
    padding: 28px 0 40px;
    text-align: center;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
}

footer a { color: var(--text-soft); margin: 0 10px; }
footer a:hover { color: var(--green); }

@media (max-width: 600px) {
    .hero h1 { font-size: 32px; }
    nav a { margin-left: 14px; font-size: 14px; }
}
