/* LKit Systems — shared styles.
   Plain CSS on purpose: no build step, no framework, no dependencies, so this
   site can be hosted anywhere and edited years from now without tooling. */

:root {
    --navy:       #1b2a41;
    --navy-light: #2c4159;
    --accent:     #2f6f8f;
    --ink:        #23272b;
    --muted:      #6b7280;
    --line:       #e4e7eb;
    --bg:         #ffffff;
    --bg-soft:    #f6f7f9;
    --max:        1080px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header ---------- */
header {
    background: var(--navy);
    color: #fff;
    border-bottom: 3px solid var(--accent);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 0; gap: 1rem; flex-wrap: wrap;
}
.brand {
    font-size: 1.3rem; font-weight: 700; color: #fff;
    text-decoration: none; letter-spacing: .02em;
}
.brand span { color: #9fc6db; font-weight: 400; }
.nav-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.nav-links a {
    color: #d7e3ec; text-decoration: none; font-size: .94rem; font-weight: 500;
    padding: .2rem 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; border-bottom-color: var(--accent); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(170deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; }
.hero .wrap { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.hero h1 { font-size: 2.4rem; line-height: 1.2; font-weight: 700; max-width: 22ch; }
.hero p {
    margin-top: 1.1rem; font-size: 1.1rem; color: #cfdce6; max-width: 56ch;
}
.hero-actions { margin-top: 2rem; display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Page headers (inner pages) ---------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding: 2.75rem 1.5rem; }
.page-head h1 { font-size: 1.9rem; color: var(--navy); }
.page-head p { color: var(--muted); margin-top: .5rem; max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; padding: .8rem 1.5rem; border-radius: 4px;
    text-decoration: none; font-weight: 600; font-size: .96rem;
    border: 1px solid transparent; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #26596f; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-light); }

/* ---------- Sections ---------- */
section { padding: 3.5rem 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: .6rem; }
h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: .4rem; }
.lead { color: var(--muted); max-width: 64ch; margin-bottom: 2rem; }
p + p { margin-top: 1rem; }
.prose { max-width: 68ch; }
.prose p { color: #3c4450; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: 6px;
    padding: 1.5rem;
}
.card p { color: var(--muted); font-size: .94rem; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { max-width: 620px; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; padding: .7rem .8rem; border: 1px solid #cfd4da; border-radius: 4px;
    font-size: 1rem; font-family: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,111,143,.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Notice ---------- */
.notice {
    background: #f1f6f9; border: 1px solid #cfe0ea; border-left: 4px solid var(--accent);
    border-radius: 4px; padding: 1.1rem 1.3rem; margin-bottom: 2rem;
}
.notice strong { color: var(--navy); }
.notice p { font-size: .95rem; color: #3c4450; }

/* ---------- Footer ---------- */
footer {
    background: var(--navy); color: #aebecb; margin-top: 0;
    padding: 2.5rem 0; font-size: .9rem;
}
footer .cols { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
footer a { color: #d7e3ec; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .brand-sm { color: #fff; font-weight: 700; font-size: 1.05rem; }
footer .legal { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; }
.foot-links { display: flex; flex-direction: column; gap: .4rem; }
