/* FishDay site — tokens from docs/DESIGN.md §1 ("FISHON") */
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("fonts/montserrat-regular.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("fonts/montserrat-semibold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("fonts/montserrat-bold.woff2") format("woff2"); }

:root {
  --bg: #000101;
  --bg-elevated: #03161e;
  --surface: #0b2831;
  --border: #1f3a42;
  --track: #032c3c;
  --teal: #0df9df;
  --blue: #1ee1fc;
  --teal-mid: #1eafaf;
  --text: #ffffff;
  --text-2: #abdde6;
  --radius: 18px;
  --gutter: 16px;
  --max: 1040px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(1200px 600px at 85% -10%, #06323b 0%, transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 400 17px/1.6 "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p, ul, ol { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { border-radius: 10px; }
.langs { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.langs a {
  color: var(--text-2); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  padding: 6px 9px; border-radius: 999px; border: 1px solid transparent;
}
.langs a:hover { color: var(--text); border-color: var(--border); }
.langs a[aria-current] { color: var(--bg); background: linear-gradient(90deg, var(--teal), var(--blue)); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 48px 0 56px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); letter-spacing: -.01em; }
.hero h1 span { display: block; background: linear-gradient(90deg, var(--teal), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-2); max-width: 34em; }
.hero-art { justify-self: center; position: relative; }
.hero-art img { width: min(320px, 70vw); border-radius: 28%; box-shadow: 0 0 80px rgba(13, 249, 223, .18), 0 0 0 1px var(--border); }
.badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
  padding: 12px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface);
  font-weight: 600; color: var(--text);
}
.badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.note { font-size: 14px; color: var(--text-2); margin-top: 14px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 56px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 22px 18px;
}
.card h2 { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text); }
.card p { color: var(--text-2); font-size: 15.5px; margin: 0; }
.card .ico { display: block; width: 36px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--blue)); margin-bottom: 16px; }

/* Screenshots */
.screens { padding-bottom: 56px; }
.screens ul { list-style: none; margin: 0; padding: 0 0 8px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.screens li { flex: 0 0 auto; scroll-snap-align: start; }
.screens img { width: 220px; border-radius: 22px; border: 1px solid var(--border); display: block; }

/* Privacy band */
.band {
  background: linear-gradient(135deg, var(--bg-elevated), var(--surface)); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; margin-bottom: 56px;
}
.band h2 { font-size: 22px; }
.band ul { margin: 0; padding-left: 1.2em; color: var(--text-2); }
.band li { margin: .3em 0; }

/* Documents (privacy, delete account) */
.doc { max-width: 760px; padding: 24px 0 56px; }
.doc h1 { font-size: clamp(28px, 5vw, 40px); }
.doc h2 { font-size: 21px; margin-top: 1.8em; }
.doc h3 { font-size: 17px; margin-top: 1.4em; color: var(--text-2); }
.doc p, .doc li { color: #e6f4f7; }
.doc .meta { color: var(--text-2); font-size: 14px; }
.doc .summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: .35em 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.doc th { color: var(--text-2); font-weight: 600; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: var(--bg); background: linear-gradient(90deg, var(--teal), var(--blue));
}

.btn {
  display: inline-block; padding: 12px 20px; border-radius: 14px; font-weight: 600; text-decoration: none;
  color: var(--bg); background: linear-gradient(90deg, var(--teal), var(--blue));
}
.btn:hover { color: var(--bg); filter: brightness(1.08); }

/* Footer */
.foot { border-top: 1px solid var(--border); margin-top: 24px; }
.foot nav, .foot p { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 22px; }
.foot nav a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.foot nav a:hover, .foot nav a[aria-current] { color: var(--text); }
.foot p { color: #6f949b; font-size: 13px; padding-top: 12px; padding-bottom: 28px; }

.notfound { text-align: center; padding-top: 12vh; }
.notfound img { border-radius: 24px; }
.notfound h1 { font-size: 56px; margin-top: 16px; }
.notfound p { color: var(--text-2); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 24px 0 40px; gap: 28px; }
  .hero-art { order: -1; }
  .hero-art img { width: 140px; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .top { flex-wrap: wrap; }
  .langs a { padding: 6px 7px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
