/* Fishinc website. Colours and type follow the Flutter app
   (lib/core/theme/app_theme.dart, app_theme_extension.dart). */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #F6F9FB;
  --surface: #FFFFFF;
  --surface2: #E9F0F5;
  --text: #0B1723;
  --muted: #555F69;
  --primary: #153B68;
  --primary-on: #F6F9FC;
  --accent: #0099A0;
  --accent-bg: #D2EEF0;
  --hairline: #D8DFE4;
  --brand: #11304C;
  --shadow: 0 8px 20px rgba(11, 23, 35, 0.08);
  --radius: 12px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #060C13;
    --surface: #121921;
    --surface2: #1E252E;
    --text: #E2E9EE;
    --muted: #7F8B94;
    --primary: #3BA9BA;
    --primary-on: #000C10;
    --accent: #D4AB4F;
    --accent-bg: #413007;
    --hairline: #222933;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

/* The language switch works through the hidden attribute; class rules that
   set display must not bring a hidden block back. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--primary); text-underline-offset: 2px; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }

.lang-switch {
  display: inline-flex;
  background: var(--surface2);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 13px var(--font-body);
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--primary);
  color: var(--primary-on);
}

main { flex: 1; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font: 600 15px var(--font-body);
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--primary);
  color: var(--primary-on);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.secondary {
  background: var(--surface2);
  color: var(--text);
}
.btn.disabled {
  background: transparent;
  color: var(--muted);
  border-color: var(--hairline);
  cursor: default;
}

/* Landing */

.hero {
  padding: 64px 0 48px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font: 600 12px var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 12px;
}
.hero h1 { font-size: clamp(34px, 6vw, 54px); margin: 0 0 16px; }
.hero .lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

.phone {
  justify-self: center;
  width: 100%;
  max-width: 300px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.phone .label {
  font: 600 10px var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.phone .title { font: 700 21px var(--font-head); margin-top: -8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat {
  background: var(--surface2);
  border-radius: 10px;
  padding: 8px;
}
.stat b { display: block; font: 700 17px var(--font-head); }
.stat span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.progress { height: 6px; background: var(--surface2); border-radius: 999px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 65%; background: var(--primary); border-radius: 999px; }
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  background: var(--bg);
}
.row img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface2);
}
.row .meta { flex: 1; min-width: 0; line-height: 1.3; }
.row .meta b { display: block; font-size: 14px; }
.row .meta span { font-size: 12px; color: var(--muted); }
.pill {
  font: 600 11px var(--font-body);
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-bg);
  color: var(--accent);
  white-space: nowrap;
}

.features { padding: 24px 0 72px; }
.features h2 { font-size: 28px; margin: 0 0 24px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px;
}
.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.band {
  background: var(--brand);
  color: #F6F9FC;
  padding: 56px 0;
}
.band .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.band h2 { margin: 0 0 6px; font-size: 26px; }
.band p { margin: 0; color: #B9C6D2; }
.band .btn { background: #D4AB4F; color: #11304C; }

/* Legal pages */

.legal { padding: 40px 0 72px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(28px, 5vw, 38px); margin: 0 0 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.legal h2 {
  font-size: 21px;
  margin: 40px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.legal h3 { font-size: 17px; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal address { font-style: normal; }
.legal .note {
  background: var(--surface2);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 15px;
}
.toc {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.toc p { margin: 0 0 6px; font-weight: 600; }
.toc ol { margin: 0; padding-left: 22px; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--surface);
  padding: 24px 0;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); }

/* Redirect page */

.redirect {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
.redirect .panel {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 24px 24px;
  text-align: center;
}
.redirect .panel > img { width: 72px; height: 72px; border-radius: 17px; margin-bottom: 14px; }
.redirect h1 { font-size: 22px; margin: 0 0 6px; }
.redirect p { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.redirect .btn { width: 100%; margin-bottom: 10px; }
.redirect .btn:last-child { margin-bottom: 0; }
.redirect .hint { font-size: 13px; margin: 14px 0 0; }

@media (max-width: 820px) {
  .hero { padding: 40px 0 32px; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; }
  .phone { max-width: 270px; }
}
