@font-face {
  font-family: Chivo;
  src: url("assets/Chivo[wght].ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Chivo Mono";
  src: url("assets/ChivoMono[wght].ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("assets/Newsreader-Italic[opsz,wght].ttf") format("truetype");
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --marinho: #0a1430;
  --creme: #f4f1ea;
  --cobalto: #1e3bb3;
  --azul: #9db6ff;
  --nevoa: #a9b6da;
  --serif: Newsreader, Georgia, serif;
  background: var(--marinho);
  color: var(--creme);
  font: 400 16px/1.5 Chivo, sans-serif;
}
* { box-sizing: border-box; }
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
}
::selection { background: var(--azul); color: var(--marinho); }
a { color: inherit; text-underline-offset: .3em; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 6px;
}
main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(32px, 7vh, 80px) 24px clamp(200px, 27vh, 300px);
  text-align: center;
}
.brand { width: min(100%, 760px); }
.opening-stage {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.message { position: relative; margin-top: 28px; }
h1 {
  margin: 0;
  font-size: clamp(1.875rem, 3.1vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.16;
  text-wrap: balance;
}
p {
  margin: 24px 0 10px;
  color: var(--nevoa);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: balance;
}
.instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  vertical-align: middle;
  color: var(--azul);
  transition: color 180ms ease;
}
.instagram svg { display: block; width: 32px; height: 32px; }
.instagram:hover { color: var(--creme); }
.assistant {
  display: table;
  margin: 36px auto 0;
  padding: 10px 4px;
  color: var(--nevoa);
  font-size: .875rem;
  text-decoration-color: transparent;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
.assistant:hover { color: var(--creme); text-decoration-color: currentColor; }
.tide {
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  height: clamp(200px, 33svh, 360px);
  overflow: hidden;
  pointer-events: none;
}
.tide canvas, .tide-fallback { display: block; width: 100%; height: 100%; }
.tide-fallback { position: absolute; object-fit: fill; }
.tide canvas { visibility: hidden; }
.canvas-ready .tide canvas { visibility: visible; }
.canvas-ready .tide-fallback { visibility: hidden; }
footer {
  position: absolute;
  z-index: 2;
  bottom: max(20px, env(safe-area-inset-bottom));
  right: max(24px, env(safe-area-inset-right));
}
button {
  padding: 10px 12px;
  border: 0;
  border-radius: 2px;
  background: var(--marinho);
  color: var(--nevoa);
  font: 400 .875rem/1.5 Chivo, sans-serif;
  cursor: pointer;
}
button:hover { color: var(--creme); }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  main { padding-inline: 20px; }
  .message { margin-top: 36px; }
  p { max-width: 29ch; margin-top: 22px; }
  .instagram svg { width: 30px; height: 30px; }
  .assistant { margin-top: 26px; }
  footer { right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #motion { display: none; }
}
