:root {
  --ink: #1f2328;
  --muted: #5b636b;
  --line: #e3e6ea;
  --bg: #ffffff;
  --soft: #f5f7f8;
  --accent: #1d6f72;
  --accent-ink: #ffffff;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.site-header img { height: 48px; width: auto; display: block; }
.site-header nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-header nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-header nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  background: linear-gradient(rgba(20, 28, 32, .62), rgba(20, 28, 32, .62)), url("img/hero.jpg") center / cover no-repeat;
  color: #fff;
  padding: 96px 0 88px;
}
.hero p { font-size: 1.15rem; max-width: 640px; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  margin: 6px 10px 0 0;
}
.btn.ghost { background: transparent; border: 2px solid currentColor; color: inherit; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--soft); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 720px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 28px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.card p { margin: 0; color: var(--muted); }

ul.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
ul.checks li { padding-left: 30px; position: relative; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

.contact-box { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 28px; }
.contact-box a { font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--muted); margin-left: 16px; }

/* Legal pages */
.legal { padding: 48px 0 64px; }
.legal .wrap { max-width: 760px; }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }

@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding-top: 12px; padding-bottom: 12px; }
  .site-header { position: static; }
  .site-header nav { gap: 4px 16px; font-size: .95rem; }
  .hero { padding: 64px 0; }
  section { padding: 48px 0; }
  .site-footer a { margin: 0 16px 0 0; }
}
