/* Static tombstone for pelicandown.com. Colors, type, and panel chrome are
   carried over from the retired Next.js app (globals.css, shared.module.css,
   LandingPageHelp and Credits modules). */

@font-face {
  font-family: "Tomorrow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tomorrow-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Tomorrow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/tomorrow-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Tomorrow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/tomorrow-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Tomorrow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/tomorrow-latin-700.woff2") format("woff2");
}

:root {
  --bg: #111111;
  --panel: #1a1a1a;
  --border: #3b474c;
  --accent: #fcae06;
  --accent-soft: #ffd36b;
  --link-soft: #f9e28b;
  --muted: #ccc;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  font-family: "Tomorrow", Arial, sans-serif;
  color: #fff;
  margin: 0 25px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 0 32px;
}

.fullHeader {
  width: calc(100% + 32px);
  margin: 0 0 1.5rem -16px;
  aspect-ratio: 3000 / 683;
}

.fullHeader img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Panels reuse the modal dialog chrome from the live app, minus the overlay. */
.panel {
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: 12px;
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 24px 28px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(252, 174, 6, 0.15),
    0 0 40px rgba(252, 174, 6, 0.08);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.04) 2px,
    rgba(0, 0, 0, 0.04) 2px,
    rgba(0, 0, 0, 0.04) 4px
  );
  mix-blend-mode: overlay;
  opacity: 0.45;
}

.panel::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 10px;
  border-radius: 5px;
  --c: rgba(252, 174, 6, 0.5);
  background: linear-gradient(90deg, var(--c), var(--c)) top left / 24px 2px no-repeat,
    linear-gradient(180deg, var(--c), var(--c)) top left / 2px 24px no-repeat,
    linear-gradient(90deg, var(--c), var(--c)) top right / 24px 2px no-repeat,
    linear-gradient(180deg, var(--c), var(--c)) top right / 2px 24px no-repeat,
    linear-gradient(90deg, var(--c), var(--c)) bottom left / 24px 2px no-repeat,
    linear-gradient(180deg, var(--c), var(--c)) bottom left / 2px 24px no-repeat,
    linear-gradient(90deg, var(--c), var(--c)) bottom right / 24px 2px no-repeat,
    linear-gradient(180deg, var(--c), var(--c)) bottom right / 2px 24px no-repeat;
  opacity: 0.8;
}

.panelHeader {
  background: var(--accent);
  color: #111111;
  margin: -24px -28px 18px;
  padding: 16px 20px 18px;
  border-bottom: 2px solid var(--accent-soft);
  position: relative;
}

.panelHeader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.25) 12%,
    rgba(0, 0, 0, 0.25) 88%,
    rgba(0, 0, 0, 0)
  );
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 8px;
}

.panelTitle {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
  color: #111111;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.panelBody {
  position: relative;
  line-height: 1.5;
  font-size: 16px;
}

.panelBody p {
  margin: 0 0 10px;
}

.panelBody ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

.panelBody .listLead {
  margin-bottom: 4px;
}

.panelBody .status {
  border-left: 3px solid var(--accent);
  padding: 2px 0 2px 12px;
  margin: 14px 0;
  font-weight: 600;
}

/* Credits */
.credits .panelBody {
  font-size: 14px;
}

.credits h3 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 4px;
}

.credits section {
  margin-bottom: 14px;
}

.credits p {
  margin: 2px 0;
}

.credits strong {
  font-weight: 600;
}

.credits a {
  color: var(--link-soft);
  text-decoration: underline;
}

.credits a:hover {
  color: #fff;
}

/* Footer */
.footerLinks {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 8px 0 0;
  font-size: 0.85rem;
}

.footerLinks a {
  color: #888;
}

.footerLinks a:hover {
  color: var(--accent);
}

.disclaimer {
  text-align: center;
  color: #666;
  font-size: 0.65rem;
  padding: 1rem 2rem;
  margin: 0;
  line-height: 1.4;
}

/* Privacy page */
.policy {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0 64px;
}

.policy h1 {
  font-weight: 600;
  color: var(--accent);
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.policy .updated {
  color: #888;
  font-size: 13px;
  margin: 0 0 32px;
}

.policy section {
  margin-bottom: 28px;
}

.policy h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 8px;
}

.policy p,
.policy li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.policy p {
  margin: 0 0 8px;
}

.policy ul {
  padding-left: 20px;
  margin: 0 0 8px;
}

.policy .back {
  margin-top: 40px;
  font-size: 14px;
}

/* Analytics notice (same copy and storage key as the retired app) */
.notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid #333;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 10;
}

.notice[hidden] {
  display: none;
}

.notice p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.notice a {
  text-decoration: underline;
}

.notice button {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #111;
  flex-shrink: 0;
}

@media (max-width: 520px) {
  body {
    margin: 0 16px;
  }

  .panel {
    padding: 20px 18px 16px;
  }

  .panelHeader {
    margin: -20px -18px 16px;
    padding: 14px 16px 16px;
  }

  .panelTitle {
    font-size: 22px;
  }

  .notice {
    flex-direction: column;
    text-align: center;
    padding: 12px 16px;
  }
}
