/* Shared stylesheet for the Pesca legal pages. Single file, mobile-first,
   no external deps so the pages work even from a static GitHub Pages
   subfolder without a build step. */

:root {
  --ocean: #0b4a5f;
  --ocean-deep: #062f3e;
  --coral: #f26e47;
  --foliage: #5c8e47;
  --cream: #f8f5ec;
  --sand: #ece5d3;
  --ink: #1c2a30;
  --ink-soft: #4a5d65;
  --border: #d9d2bc;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ocean);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

a:hover {
  border-bottom-color: var(--ocean);
}

header {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-deep) 100%);
  color: #fff;
  padding: 28px 24px;
}

header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

header .logo {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

header .name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

header .tagline {
  margin-left: auto;
  font-size: 13px;
  opacity: 0.85;
  letter-spacing: 0.4px;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 56px;
}

h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--ocean);
  margin: 0 0 6px;
}

.effective {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 28px;
}

.intro {
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 32px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
}

h2 {
  color: var(--ocean);
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 8px;
  letter-spacing: -0.2px;
}

p {
  margin: 0 0 12px;
  font-size: 15px;
}

ul {
  padding-left: 22px;
  margin: 0 0 12px;
}

ul li {
  margin-bottom: 6px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  background: #fff;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

footer .nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

footer .nav a {
  font-weight: 600;
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.lang-switch a {
  color: var(--ink-soft);
  padding: 4px 8px;
  border-radius: 4px;
  border-bottom: none;
}

.lang-switch a.active {
  background: var(--ocean);
  color: #fff;
}

@media (max-width: 540px) {
  header .tagline { display: none; }
  header .brand { gap: 10px; }
  h1 { font-size: 26px; }
  main { padding: 22px 18px 44px; }
}
