/* Unlimit SioS — public site.
   One stylesheet for every page. No framework, no build step for CSS: the
   whole site is a handful of brochure pages and a dependency here would be
   more to keep patched than to write. */

:root {
    --navy: #1b2850;
    --green: #82b632;
    --green-dark: #4a6a12;
    --ink: #1b2850;
    --muted: #5a6478;
    --line: #e4e7ee;
    --bg-soft: #f6f8f4;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background: #fff;
}

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

/* ── Header ───────────────────────────────────────────────── */
header {
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 18px 0; flex-wrap: wrap;
}
.brand {
    font-size: 22px; font-weight: 700; letter-spacing: -0.4px;
    color: var(--navy); text-decoration: none; white-space: nowrap;
}
.brand span { color: var(--green); font-weight: 600; font-size: 15px; }
nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
nav a {
    color: var(--muted); text-decoration: none; font-size: 15px;
}
nav a:hover, nav a[aria-current="page"] { color: var(--green-dark); }
nav a[aria-current="page"] { font-weight: 600; }
.lang {
    font-size: 14px; color: var(--muted);
    border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
    text-decoration: none; white-space: nowrap;
}
.lang:hover { border-color: var(--green); color: var(--green-dark); }

/* ── Hero / sections ──────────────────────────────────────── */
.hero { padding: 64px 0 48px; }
.hero h1 {
    font-size: 40px; line-height: 1.15; margin: 0 0 16px;
    letter-spacing: -0.8px;
}
.hero p { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 620px; }

.section { padding: 44px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: 26px; margin: 0 0 12px; letter-spacing: -0.4px; }
.section > p { color: var(--muted); max-width: 660px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 26px; }
.card { background: var(--bg-soft); border-radius: 10px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }

/* ── Legal / article pages ────────────────────────────────── */
article { padding: 44px 0 20px; }
article h1 { font-size: 32px; margin: 0 0 8px; letter-spacing: -0.6px; }
article .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
article h2 { font-size: 21px; margin: 34px 0 10px; }
article h3 { font-size: 17px; margin: 24px 0 8px; }
article p, article li { color: #2b3550; }
article ul { padding-left: 20px; }
article li { margin-bottom: 7px; }
article a { color: var(--green-dark); }

.note {
    background: var(--bg-soft); border-left: 3px solid var(--green);
    padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 22px 0;
    font-size: 15px;
}

table.data { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 15px; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { color: var(--navy); font-size: 14px; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--line); margin-top: 48px;
    padding: 28px 0 40px; font-size: 14px; color: var(--muted);
}
footer .links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--green-dark); }

@media (max-width: 600px) {
    /* Seven nav items do not fit one phone line. Letting the bar wrap keeps
       every link reachable and inside the 20px gutter; before this the last
       item sat flush against the screen edge. */
    .bar { flex-wrap: wrap; row-gap: 8px; }
    nav { flex-wrap: wrap; row-gap: 6px; }
    .hero { padding: 40px 0 32px; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 17px; }
    article h1 { font-size: 26px; }
    .bar { gap: 10px; }
    nav { gap: 14px; }
}
