:root { --ink: #14202b; --muted: #526170; --line: #e2e9ee; --soft: #f4f8f9; --brand: #0f9a68; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header { background: linear-gradient(135deg, #0b7a55, #1f6fc4); color: #fff; }
nav { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; }
.logo img { width: 40px; height: 40px; border-radius: 10px; }
nav a { color: #fff; text-decoration: none; }
.hero { padding-top: 64px; padding-bottom: 76px; max-width: 1040px; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.15; margin: 0 0 16px; max-width: 16ch; }
.hero p { font-size: 1.15rem; max-width: 56ch; margin: 0 0 28px; }
.button { display: inline-block; background: #fff; color: #0b6b4b; font-weight: 600; padding: 12px 22px; border-radius: 10px; text-decoration: none; }
section { padding: 56px 0; }
section.alt { background: var(--soft); }
h2 { font-size: 1.6rem; margin: 0 0 24px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--brand); }
.card p, .card ul { margin: 0; color: var(--muted); }
.card ul { padding-left: 20px; }
footer { background: #fff; border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: .95rem; }
footer a { color: var(--ink); margin-right: 18px; }

/* inner pages */
body:not(.home) { min-height: 100vh; display: flex; flex-direction: column; background: var(--soft); }
body:not(.home) main { flex: 1; }
.logo { color: #fff; }
nav.wrap { width: 100%; }
.title { padding-top: 40px; padding-bottom: 84px; max-width: 800px; }
.title h1 { max-width: none; font-size: clamp(1.7rem, 5vw, 2.4rem); margin: 0 0 6px; }
.title p { margin: 0; opacity: .9; }
.sheet { max-width: 760px; margin: -48px auto 48px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 32px; box-shadow: 0 10px 30px rgba(20, 32, 43, .07); }
.sheet.narrow { max-width: 480px; }
.sheet h2 { font-size: 1.1rem; color: var(--brand); margin: 32px 0 8px; }
.sheet a { color: var(--brand); }
.sheet > :first-child { margin-top: 0; }
.sheet > :last-child { margin-bottom: 0; }
label { display: block; font-weight: 600; font-size: .95rem; }
input[type=email], input[type=password] { width: 100%; margin: 6px 0 16px; padding: 12px; font: inherit; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
input:focus-visible, button:focus-visible { outline: 3px solid rgba(15, 154, 104, .45); outline-offset: 1px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 0 0 18px; }
label.check input { margin-top: 5px; }
button { width: 100%; padding: 12px; font: inherit; font-weight: 600; border: 0; border-radius: 10px; background: #c62f45; color: #fff; cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
.warning { background: #fdeef0; border: 1px solid #f6cdd3; border-radius: 10px; padding: 12px 14px; color: #8e1f30; margin-bottom: 20px; }
#message:empty { display: none; }
#message { font-weight: 600; text-align: center; }
.note { color: var(--muted); font-size: .92rem; }
@media (max-width: 600px) { .sheet { margin-left: 12px; margin-right: 12px; padding: 22px 18px; } }
