/* Fishy Alert website. Colors and fonts match the app (constants/theme.ts). */
:root {
  --deep-sea: #0b2e3a;
  --mist: #eef4f3;
  --card: #ffffff;
  --coral: #ff6b4a;
  --teal: #0c6f70;
  --sea-glass: #9fd6cf;
  --muted: #4a6670;
  --soft-teal: #cfe9e6;
  --soft-coral: #fff1ec;
  --dark-coral: #a63a1f;
  --line: #e3eceb;
  --heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--deep-sea);
  background: var(--mist);
}

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--deep-sea); }

h1, h2, h3 { font-family: var(--heading); font-weight: 700; line-height: 1.1; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.6rem, 7vw, 4rem); }
h2 { font-size: 1.9rem; margin-top: 1.6em; }
h3 { font-size: 1.35rem; margin-top: 1.3em; }

.wrap { width: min(960px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-header { background: var(--deep-sea); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 11px; }
.brand-name { font-family: var(--heading); font-weight: 700; font-size: 1.9rem; color: var(--card); line-height: 1; }
.brand-name span { color: var(--coral); }
.site-nav { display: flex; gap: 20px; }
.site-nav a { color: var(--sea-glass); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 10px 0; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--card); }

/* Home hero */
.hero { background: var(--deep-sea); color: var(--card); padding: 56px 0 72px; }
.hero .wrap { display: grid; gap: 40px; grid-template-columns: 1.2fr 1fr; align-items: center; }
.hero h1 span { color: var(--coral); }
.tagline { color: var(--sea-glass); font-size: 1.25rem; margin: 0 0 24px; }
.hero p.lead { color: #d6ebe8; font-size: 1.1rem; max-width: 34em; }
.pill {
  display: inline-block; background: var(--coral); color: var(--card); font-weight: 600;
  border-radius: 999px; padding: 12px 22px; text-decoration: none; margin-top: 12px;
}
.pill:hover { color: var(--card); filter: brightness(1.05); }
.hero-icon { justify-self: center; width: min(260px, 70%); height: auto; aspect-ratio: 1; border-radius: 22%; box-shadow: 0 20px 50px rgba(0,0,0,0.35); }

/* Feature grid */
.features { padding: 64px 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
}
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card .kicker { font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--coral); text-transform: uppercase; }

.pro-band { background: var(--soft-coral); padding: 48px 0; }
.pro-band h2 { margin-top: 0; }

/* Article pages (privacy, support) */
.page { padding: 48px 0 64px; }
.page .updated { color: var(--muted); font-size: 0.95rem; margin-top: -0.2em; }
.page ul { padding-left: 1.2em; }
.page li { margin: 0.3em 0; }
.note {
  background: var(--soft-teal); border-radius: 14px; padding: 16px 18px; margin: 1.2em 0;
}
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; margin: 10px 0;
}
.faq summary { font-weight: 600; cursor: pointer; min-height: 28px; }
.faq details[open] summary { margin-bottom: 8px; }
.faq p { margin: 0.5em 0 0; }

table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 14px; overflow: hidden; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--deep-sea); color: var(--card); font-weight: 600; }
tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--deep-sea); color: var(--sea-glass); padding: 32px 0; font-size: 0.95rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--sea-glass); }
.site-footer a:hover { color: var(--card); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-icon { width: 120px; grid-row: 1; justify-self: start; }
  .hero { padding: 36px 0 52px; }
  body { font-size: 16px; }
}
