@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700&display=swap");

:root {
  --ink: #172326;
  --muted: #5a686b;
  --line: #d9e1df;
  --soft: #f4f7f3;
  --paper: #fffdf8;
  --teal: #0f5c5b;
  --teal-2: #164b52;
  --amber: #c78b3f;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, .94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  text-decoration: none;
}

.brand img { width: auto; height: 64px; }

.brand span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .04em;
  white-space: nowrap;
}

.back-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover { color: var(--teal); }

main { padding: clamp(56px, 8vw, 104px) 20px; }

.legal-wrap { width: min(860px, 100%); margin: 0 auto; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before { width: 30px; height: 2px; content: ""; background: var(--amber); }

h1 { margin: 0; font-size: clamp(38px, 6vw, 64px); line-height: 1.03; letter-spacing: 0; }

.intro { max-width: 680px; margin: 20px 0 0; color: var(--muted); font-size: 18px; }

.legal-content { margin-top: 50px; }

.legal-content section { margin-top: 42px; }

.legal-content h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.2; }

.legal-content h3 { margin: 24px 0 8px; font-size: 18px; line-height: 1.3; }

.legal-content p, .legal-content ul { margin: 0 0 16px; }

.legal-content ul { padding-left: 22px; }

.facts {
  display: grid;
  gap: 1px;
  margin: 22px 0 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.facts div { padding: 16px 18px; background: var(--white); }

.facts strong { display: block; color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

.notice {
  margin-top: 44px;
  padding: 20px 22px;
  border-left: 3px solid var(--amber);
  background: var(--soft);
}

.notice strong { display: block; margin-bottom: 4px; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--teal); }

@media (max-width: 620px) {
  .site-header, footer { padding: 16px 18px; }
  .brand { gap: 14px; }
  .brand img { height: 52px; }
  footer { align-items: flex-start; flex-direction: column; }
  main { padding: 54px 18px; }
}
