/* Content pages (guides, about, privacy, contact). Same look as the app. */
:root {
  --bg: #f3f4f2;
  --surface: #ffffff;
  --ink: #17201e;
  --muted: #5b6663;
  --line: #e2e5e1;
  --accent: #1e6b5c;
  --accent-dark: #134a40;
  --accent-tint: #e4f0ec;
  --mint: #6fc2ae;
  --slate: #5b6663;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.65;
}
a { color: var(--accent); font-weight: 700; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line);
}
.site-head-in {
  max-width: 1080px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 18px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 15px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--ink); background: var(--bg); }
.nav .cta {
  color: #fff; background: var(--accent); border: 2px solid var(--accent-dark); box-shadow: 0 2px 0 var(--accent-dark);
  padding: 7px 14px; margin-left: 6px; border-radius: 10px; font-weight: 800;
}
.nav .cta:hover { color: #fff; background: var(--accent-dark); }

/* Layout */
.wrap { max-width: 780px; margin: 0 auto; padding: 32px 16px 56px; }
.wide { max-width: 1080px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); font-weight: 600; }
h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
h2 { font-size: 25px; line-height: 1.25; margin: 40px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 19px; margin: 26px 0 6px; }
p, ul, ol { margin: 0 0 16px; }
li { margin-bottom: 6px; }
.lede { font-size: 19px; color: #36423f; margin-bottom: 18px; }
.meta { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
article { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 40px); }
article > h1:first-child, article > .crumbs:first-child { margin-top: 0; }

/* Callouts */
.note, .tip, .warn { border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; font-size: 16px; }
.note { background: var(--accent-tint); border-left: 5px solid var(--accent); }
.tip { background: #f2f9f6; border: 1px solid #c9ddd6; }
.warn { background: #fff7e6; border-left: 5px solid #d99a1e; }
.note p:last-child, .tip p:last-child, .warn p:last-child { margin: 0; }

/* Steps */
ol.steps { list-style: none; padding: 0; counter-reset: s; }
ol.steps > li { counter-increment: s; position: relative; padding-left: 48px; margin-bottom: 18px; }
ol.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center;
}
ol.steps > li strong:first-child { display: block; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg); font-weight: 800; }
tr:last-child td { border-bottom: none; }

/* Call to action box */
.cta-box {
  margin: 36px 0 8px; padding: 22px; border-radius: 16px; background: var(--slate); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.cta-box p { margin: 0; font-weight: 700; font-size: 18px; }
.cta-box span { display: block; font-weight: 600; font-size: 14.5px; color: #e1ebe8; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 10px;
  background: var(--mint); color: #0e2a24; border: 2px solid #fff; font-weight: 800; text-decoration: none; font-size: 16px;
}
.btn:hover { background: #86d0be; color: #0e2a24; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 8px; background: var(--surface); }
details[open] { border-color: var(--mint); }
summary { cursor: pointer; font-weight: 800; padding: 13px 0; list-style-position: outside; }
details > p { margin-top: 0; }

/* Guide cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 22px 0; }
.card {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500;
}
.card:hover { border-color: var(--mint); box-shadow: 0 6px 18px rgba(23, 32, 30, 0.08); color: var(--ink); }
.card .tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--accent); background: var(--accent-tint); padding: 3px 9px; border-radius: 999px; }
.card strong { font-size: 19px; line-height: 1.3; }
.card span { color: var(--muted); font-size: 15px; line-height: 1.5; }

.sources { font-size: 14.5px; color: var(--muted); }
.sources li { margin-bottom: 4px; }
.disclaimer { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 28px; }

/* Contact form */
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 15px; }
.form input, .form textarea {
  font: inherit; font-size: 16px; padding: 11px 13px; border: 1.5px solid #c9d2cf; border-radius: 10px; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.form textarea { min-height: 150px; resize: vertical; }
.form button {
  align-self: flex-start; font: inherit; font-weight: 800; font-size: 16px; min-height: 46px; padding: 0 24px; border-radius: 10px;
  color: #fff; background: var(--accent); border: 2px solid var(--accent-dark); box-shadow: 0 2px 0 var(--accent-dark); cursor: pointer;
}
.form button:disabled { opacity: 0.6; cursor: default; }
.form-status { font-weight: 700; margin: 0; }
.form-status.ok { color: var(--accent); }
.form-status.bad { color: #a1301f; }
.hp { display: none; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); background: var(--surface); }
.site-foot-in {
  max-width: 1080px; margin: 0 auto; padding: 22px 16px 28px; display: flex; flex-wrap: wrap; gap: 10px 22px;
  align-items: center; justify-content: space-between; font-size: 14.5px; color: var(--muted);
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-foot a { color: var(--muted); font-weight: 700; text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .brand span { display: none; }
  .nav a { padding: 8px 7px; font-size: 14.5px; }
  .nav .cta { padding: 7px 11px; }
  .wrap { padding-top: 20px; }
  article { border-radius: 14px; }
  h2 { font-size: 22px; }
}
