/* Styles for the legal pages (privacy, client safety, terms). Hand written, loaded by the pages built by scripts/build-langs.mjs. */
:root { --teal-dark: #04202a; --teal: #006881; --teal-light: #d3e1e9; --teal-lighter: #eaf2f7; --vita-green: #5cbf3a; --white: #fff; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Figtree', Arial, sans-serif; color: var(--teal-dark); background: #f4f8fa; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--teal); }
a:focus-visible { outline: 3px solid var(--vita-green); outline-offset: 2px; }

.top { background: var(--white); border-bottom: 1px solid #e8eef2; }
.top-in { max-width: 880px; margin: 0 auto; padding: 0.8rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.top img { height: 52px; width: auto; display: block; }
.top nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; font-size: 0.9rem; font-weight: 600; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.langs { display: flex; gap: 0.35rem; }
.langs a { border: 2px solid transparent; border-radius: 6px; padding: 0.1rem 0.5rem; color: var(--teal-dark); }
.langs a[aria-current="true"] { border-color: var(--vita-green); background: var(--teal-lighter); }

main { max-width: 880px; margin: 1.5rem auto 2.5rem; background: var(--white); border-radius: 16px; box-shadow: 0 10px 40px rgba(4, 32, 42, 0.08); overflow: hidden; }
.doc-head { background: var(--teal-dark); color: var(--white); padding: 2rem 2.5rem 1.5rem; }
.doc-head h1 { font-size: 1.75rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 0.3rem; }
.doc-head p { font-size: 0.85rem; opacity: 0.8; }
.doc-body { padding: 2rem 2.5rem 2.5rem; }
.doc-body p { font-size: 0.95rem; line-height: 1.75; color: #2b3640; margin-bottom: 1rem; }
.doc-body h2 { font-size: 1.05rem; font-weight: 800; color: var(--teal-dark); margin: 1.75rem 0 0.5rem; padding-bottom: 0.4rem; border-bottom: 1.5px solid var(--teal-light); }
.doc-body h2:first-child { margin-top: 0; }
.doc-body ul { margin: 0.5rem 0 1rem 1.2rem; }
.doc-body li { font-size: 0.95rem; line-height: 1.7; color: #2b3640; margin-bottom: 0.4rem; }
.doc-body .doc-notice { background: #fff3cd; border-left: 4px solid #f0a500; border-radius: 8px; padding: 1rem 1.2rem; margin: 1.25rem 0; font-size: 0.9rem; line-height: 1.6; color: #5a3e00; }
.doc-body .doc-contact { background: var(--teal-lighter); border-radius: 10px; padding: 1.1rem 1.4rem; margin-top: 1.5rem; font-size: 0.9rem; line-height: 1.7; color: var(--teal-dark); }
.doc-body .doc-contact strong { font-weight: 800; }

.foot { max-width: 880px; margin: 0 auto 2.5rem; padding: 0 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: #4a5a66; }
.foot div { display: flex; gap: 1.25rem; flex-wrap: wrap; }

@media (max-width: 600px) {
  .doc-head, .doc-body { padding-left: 1.25rem; padding-right: 1.25rem; }
  .doc-head h1 { font-size: 1.4rem; }
  main { margin: 1rem 0.75rem 2rem; }
}
