/* OceanBite legal pages — "abyssal ledger" theme */
:root {
  --abyss: #04121f;
  --deep: #082338;
  --mid: #0d3350;
  --ink: #dcebf5;
  --ink-dim: #8fb3c7;
  --foam: #5eead4;
  --foam-dim: #2dd4bf33;
  --gold: #f4c45c;
  --card: #07203399;
  --line: #1d4a6b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Atkinson Hyperlegible', Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, #11486b66, transparent 60%),
    radial-gradient(900px 500px at -10% 30%, #0a3a5a55, transparent 55%),
    linear-gradient(180deg, var(--deep) 0%, var(--abyss) 45%, #020a12 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* faint drifting bubbles */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 12% 85%, #5eead422, transparent),
    radial-gradient(3px 3px at 28% 40%, #5eead41a, transparent),
    radial-gradient(2px 2px at 55% 70%, #dcebf51e, transparent),
    radial-gradient(2px 2px at 71% 25%, #5eead41f, transparent),
    radial-gradient(3px 3px at 88% 60%, #dcebf516, transparent);
  background-size: 100% 100%;
  animation: drift 26s linear infinite alternate;
}

@keyframes drift {
  from { transform: translateY(12px); }
  to { transform: translateY(-12px); }
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  position: relative;
}

header.masthead {
  text-align: center;
  margin-bottom: 3rem;
  animation: surface 0.9s ease-out both;
}

@keyframes surface {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.crest {
  font-size: 2.6rem;
  display: block;
  filter: drop-shadow(0 0 18px var(--foam-dim));
}

.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--foam);
  margin: 0.75rem 0 0.25rem;
}

h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0.2rem 0 0.6rem;
  color: #f3fafd;
}

.effective {
  color: var(--ink-dim);
  font-size: 0.95rem;
  font-style: italic;
}

.wave-rule {
  border: none;
  height: 14px;
  margin: 2.6rem auto;
  width: 180px;
  background: radial-gradient(circle at 8px -4px, transparent 9px, var(--line) 10px, transparent 11px);
  background-size: 16px 14px;
  background-repeat: repeat-x;
  opacity: 0.8;
}

main section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(4px);
  animation: surface 0.9s ease-out both;
}

main section:nth-of-type(2) { animation-delay: 0.06s; }
main section:nth-of-type(3) { animation-delay: 0.12s; }
main section:nth-of-type(4) { animation-delay: 0.18s; }
main section:nth-of-type(5) { animation-delay: 0.24s; }

h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
  color: var(--foam);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

h2 .num {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-family: 'Atkinson Hyperlegible', sans-serif;
}

p { margin: 0.7rem 0; }

ul { padding-left: 1.3rem; margin: 0.7rem 0; }
li { margin: 0.35rem 0; }
li::marker { color: var(--foam); }

a { color: var(--foam); text-decoration-color: var(--foam-dim); text-underline-offset: 3px; }
a:hover { color: #aef5e8; }

strong { color: #f3fafd; }

.note {
  border-left: 3px solid var(--gold);
  padding: 0.15rem 0 0.15rem 1rem;
  color: var(--ink-dim);
  font-size: 0.97rem;
}

footer {
  margin-top: 3rem;
  text-align: center;
  color: var(--ink-dim);
  font-size: 0.92rem;
}

footer nav { margin-bottom: 0.6rem; }
footer nav a { margin: 0 0.7rem; }

/* landing page cards */
.doc-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2.2rem;
}

@media (max-width: 540px) { .doc-links { grid-template-columns: 1fr; } }

.doc-links a {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.doc-links a:hover {
  transform: translateY(-3px);
  border-color: var(--foam);
  box-shadow: 0 12px 32px -16px var(--foam-dim);
}

.doc-links .doc-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  color: var(--foam);
  display: block;
  margin-bottom: 0.35rem;
}
