/* fosh&fish website: one screen over the title art. Fredoka (self-hosted, OFL). */
@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --deep: #0b2930;
  --deeper: #071c21;
  --mint: #5fe0bd;
  --ink: #0b3138;
  --soft: #a9d6d8;
  --faint: #7fb0b5;
  --wood: #8a5530;
  --wood-dark: #5b3519;
  --cream: #fff4dc;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--deep);
  color: #fff;
  font-family: "Fredoka", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 450;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--mint); }
:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 14px; }

/* ---------- the picture behind everything */
.scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.art {
  position: absolute; inset: -3%;
  background: url("img/hero.webp") center 45% / cover no-repeat;
  animation: drift 46s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.07) translate(-1.2%, -0.6%); } }
.shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 46% 60% at 50% 58%, rgba(6, 38, 52, 0.42), rgba(6, 38, 52, 0) 70%),
    linear-gradient(180deg, rgba(6, 38, 52, 0) 55%, rgba(6, 38, 52, 0.35) 100%);
}
.bubbles i {
  position: absolute; bottom: -30px; width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6); animation: rise 15s linear infinite;
}
.bubbles i:nth-child(1) { left: 6%; animation-delay: -3s; }
.bubbles i:nth-child(2) { left: 18%; width: 7px; height: 7px; animation-delay: -9s; animation-duration: 11s; }
.bubbles i:nth-child(3) { left: 31%; animation-delay: -5s; animation-duration: 18s; }
.bubbles i:nth-child(4) { left: 69%; width: 8px; height: 8px; animation-delay: -12s; }
.bubbles i:nth-child(5) { left: 77%; width: 16px; height: 16px; animation-delay: -1s; animation-duration: 20s; }
.bubbles i:nth-child(6) { left: 86%; width: 6px; height: 6px; animation-delay: -7s; animation-duration: 10s; }
.bubbles i:nth-child(7) { left: 92%; animation-delay: -4s; animation-duration: 16s; }
.bubbles i:nth-child(8) { left: 97%; width: 9px; height: 9px; animation-delay: -11s; }
@keyframes rise { to { transform: translate(20px, -112vh); opacity: 0.15; } }

/* ---------- the centre column */
.stage {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(18px, 3.5vh, 40px) 16px 22px;
  text-align: center;
}
.sign { display: flex; flex-direction: column; align-items: center; }
.sign h1 { margin: 0; }
.logo {
  width: clamp(230px, 27vw, 380px);
  filter: drop-shadow(0 12px 24px rgba(4, 30, 44, 0.4));
  animation: bob 5.5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-7px) rotate(-0.8deg); } }
.ribbon { margin: -6px 0 0; }
.ribbon span {
  position: relative; display: inline-block;
  padding: 7px 34px 9px;
  font-size: clamp(19px, 2.1vw, 26px); font-weight: 650; letter-spacing: 0.01em;
  color: var(--cream);
  background: linear-gradient(180deg, #a5683b 0%, var(--wood) 55%, #6f411f 100%);
  border-radius: 14px;
  border: 3px solid var(--wood-dark);
  box-shadow: inset 0 2px 0 rgba(255, 220, 170, 0.35), 0 6px 0 rgba(60, 32, 12, 0.55), 0 12px 24px rgba(4, 30, 44, 0.35);
  text-shadow: 0 2px 0 rgba(60, 32, 12, 0.7);
}
.ribbon span::before, .ribbon span::after { content: "—"; opacity: 0.8; margin: 0 10px; }

.pitch {
  margin: clamp(16px, 2.6vh, 26px) 0 clamp(16px, 2.4vh, 24px);
  font-size: clamp(18px, 1.9vw, 25px); font-weight: 600;
  text-shadow: 0 2px 10px rgba(3, 30, 44, 0.75), 0 0 2px rgba(3, 30, 44, 0.6);
}
.pitch span { display: inline-block; margin-top: 2px; font-size: 0.74em; font-weight: 500; color: #e9fbff; }

/* ---------- the big buttons */
.dl { display: flex; flex-direction: column; gap: clamp(12px, 1.8vh, 18px); width: min(560px, 100%); }
.pill {
  --c1: #3d8dff; --c2: #1f5fd8; --edge: #1747a6;
  position: relative; display: flex; align-items: center; gap: 18px;
  padding: 12px 22px 12px 26px; min-height: 92px;
  border-radius: 999px; text-decoration: none; color: #fff; text-align: left;
  background: linear-gradient(180deg, var(--c1), var(--c2));
  border: 3px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.35), inset 0 -6px 0 rgba(0, 0, 0, 0.12), 0 6px 0 var(--edge), 0 14px 26px rgba(3, 30, 44, 0.35);
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}
.pill::before {                                                     /* gloss */
  content: ""; position: absolute; left: 22px; right: 22px; top: 6px; height: 38%;
  border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.pill:hover { transform: translateY(-3px); filter: brightness(1.06); }
.pill:active { transform: translateY(4px); box-shadow: inset 0 3px 0 rgba(255,255,255,.3), 0 2px 0 var(--edge), 0 6px 12px rgba(3,30,44,.3); }
.pill.lin { --c1: #ffb84d; --c2: #f0891c; --edge: #b75f0b; }
.pill.and { --c1: #74d653; --c2: #3c9f30; --edge: #2a7322; }
.pill.web { --c1: #a679ff; --c2: #6d3fd6; --edge: #4d2a9e; }
.ico { width: 54px; height: 54px; flex: none; fill: #fff; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.18)); }
.txt { display: flex; flex-direction: column; line-height: 1.12; flex: 1; min-width: 0; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.16); }
.txt small { font-size: 16px; font-weight: 500; opacity: 0.95; }
.txt b { font-size: clamp(26px, 2.5vw, 32px); font-weight: 650; }
.txt em { font-style: normal; font-size: 15px; font-weight: 450; opacity: 0.92; margin-top: 2px; }
.chev { width: 30px; height: 30px; flex: none; color: #fff; }
.mine-tag {
  display: none; position: absolute; top: -13px; right: 64px;
  background: #ffd36b; color: var(--ink); font-size: 13px; font-weight: 650;
  padding: 2px 12px; border-radius: 999px; box-shadow: 0 3px 0 #c99a2c;
}
.pill.mine .mine-tag { display: block; }
.pill.mine { border-color: #fff; }

/* leaves tucked behind the ends of each button */
.leaf { position: absolute; width: 74px; height: 48px; z-index: -1; pointer-events: none; filter: drop-shadow(0 4px 4px rgba(3, 30, 44, 0.3)); }
.leaf.a { left: -40px; top: -14px; transform: rotate(-160deg); }
.leaf.b { right: -38px; bottom: -14px; transform: rotate(14deg); }
.pill.lin .leaf.a { top: auto; bottom: -12px; transform: rotate(168deg) scaleY(-1); }
.pill.and .leaf.b { bottom: auto; top: -14px; transform: rotate(-12deg) scaleY(-1); }
.flower {
  position: absolute; right: 18px; bottom: -14px; width: 26px; height: 26px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 50% 50%, #ffd36b 0 22%, transparent 23%),
              radial-gradient(circle at 50% 18%, #fff 0 24%, transparent 25%), radial-gradient(circle at 82% 45%, #fff 0 24%, transparent 25%),
              radial-gradient(circle at 70% 84%, #fff 0 24%, transparent 25%), radial-gradient(circle at 30% 84%, #fff 0 24%, transparent 25%),
              radial-gradient(circle at 18% 45%, #fff 0 24%, transparent 25%);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
}

.hint { min-height: 1.4em; margin: 16px 0 0; font-size: 14.5px; color: #e9fbff; text-shadow: 0 1px 6px rgba(3, 30, 44, 0.85); max-width: 560px; }
.hint b { font-weight: 600; }

.mini {
  margin-top: auto; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; align-items: center;
  font-size: 14px; color: #e9fbff; text-shadow: 0 1px 6px rgba(3, 30, 44, 0.9);
}
.mini a { color: #fff; }
.mini .ver { padding: 2px 10px; border-radius: 999px; background: rgba(7, 28, 33, 0.55); border: 1px solid rgba(95, 224, 189, 0.6); color: #b9f7e6; text-shadow: none; }

@media (max-width: 560px) {
  .pill { min-height: 76px; padding: 10px 16px 10px 18px; gap: 13px; }
  .ico { width: 40px; height: 40px; }
  .txt small { font-size: 13.5px; }
  .txt em { font-size: 13px; }
  .chev { width: 24px; height: 24px; }
  .leaf { width: 50px; height: 33px; }
  .leaf.a { left: -18px; }
  .leaf.b { right: -16px; }
  .mine-tag { right: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- privacy page */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 12px max(16px, calc((100% - 1140px) / 2));
  background: rgba(11, 41, 48, 0.9); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: #fff; text-decoration: none; font-weight: 500; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 650; font-size: 21px; }
.brand img { border-radius: 10px; }
.foot { background: var(--deeper); padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.copy { text-align: center; color: var(--faint); font-size: 14px; margin: 0; }
.doc h2 { font-weight: 650; }
