:root {
  --ink: #1f1f1f;
  --muted: #555;
  --bg: #f7f6f1;
  --card: #ffffff;
  --dark: #3b3b3b;
  --darker: #2a2a2a;
  --accent: #d1d52f;
  --teal: #237374;
  --teal-dark: #1a5859;
  --line: #e2e0d6;
  --radius: 10px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Futura", "Jost", "Century Gothic", "Trebuchet MS", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

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

/* Header */
.site-header { background: var(--darker); color: #fff; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 52px; height: 52px; border-radius: 6px; }
.brand:hover { color: var(--accent); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-nav a { color: #f2f2f2; text-decoration: none; font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 12% 85%, rgba(35,115,116,.85) 0%, rgba(35,115,116,0) 45%),
    radial-gradient(circle at 90% 15%, rgba(185,185,185,.55) 0%, rgba(185,185,185,0) 55%),
    var(--dark);
  color: #fff; text-align: center; padding: 64px 0 56px;
}
.hero h1 { color: var(--accent); font-size: clamp(28px, 4.4vw, 46px); line-height: 1.2; margin: 0 0 14px; text-shadow: 0 3px 6px rgba(0,0,0,.35); }
.hero p { max-width: 720px; margin: 0 auto; font-size: 19px; color: #ececec; }

.breadcrumb { font-size: 14px; color: var(--muted); padding: 14px 0 0; }
.breadcrumb a { color: var(--muted); }

/* Content */
main { padding: 8px 0 56px; }
section { padding: 28px 0 8px; scroll-margin-top: 16px; }
h2 { font-size: clamp(23px, 2.8vw, 30px); line-height: 1.3; margin: 0 0 12px; color: var(--darker); }
h3 { font-size: 20px; margin: 22px 0 6px; color: var(--teal-dark); }
p { margin: 0 0 14px; }
ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 6px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.split figure { margin: 0; }
.split figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.split img { border-radius: var(--radius); border: 1px solid var(--line); }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding: 4px 0 4px 54px; margin-bottom: 14px; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 6px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin-top: 0; }

.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: 15px; color: var(--darker); }
.toc a:hover { border-color: var(--teal); color: var(--teal); }

.cta { background: var(--teal); color: #fff; border-radius: var(--radius); padding: 28px; text-align: center; margin-top: 36px; }
.cta h2 { color: #fff; }
.btn {
  display: inline-block; background: var(--accent); color: var(--darker); font-weight: 700;
  padding: 12px 24px; border-radius: 6px; text-decoration: none; border: 0; cursor: pointer; font-size: 16px; font-family: inherit;
}
.btn:hover { background: #e3e64a; color: var(--darker); }

.note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--accent); padding: 6px 0 6px 14px; margin-top: 26px; }

/* Form */
form .field { margin-bottom: 14px; }
label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
input, textarea, select {
  width: 100%; padding: 11px 12px; font: inherit; font-size: 16px;
  border: 1px solid #c9c7bd; border-radius: 6px; background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
textarea { min-height: 150px; resize: vertical; }

/* Footer */
.site-footer { background: var(--darker); color: #d8d8d8; padding: 34px 0 26px; font-size: 15px; }
.site-footer a { color: #f0f0f0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-footer .social { display: inline-flex; align-items: center; gap: 8px; }
.site-footer .social img { width: 28px; height: 28px; }
.copyright { width: 100%; text-align: center; margin-top: 10px; color: #aaa; font-size: 14px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .split { grid-template-columns: 1fr; }
  .site-header .wrap { justify-content: center; }
  .site-nav ul { justify-content: center; }
  .hero { padding: 44px 0 40px; }
  .card { padding: 18px; }
}
