@font-face {
  font-family: "Aeonik";
  src: url("./fonts/AeonikTRIAL-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #141A1A;
  --fg: #FEFBF6;
  --fg-60: rgba(254, 251, 246, 0.6);
  --logo: #FFFFFF;

  --pad: 32px;
  --gap: 56px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Aeonik", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.frame {
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    max(var(--pad), env(safe-area-inset-top))
    max(var(--pad), env(safe-area-inset-right))
    max(var(--pad), env(safe-area-inset-bottom))
    max(var(--pad), env(safe-area-inset-left));

  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--gap);
}

.text {
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
  letter-spacing: 0.14px;
  color: var(--fg-60);
}

.tagline {
  max-width: 60ch;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero__re,
.hero__word {
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
  letter-spacing: 0.14px;
  color: var(--logo);
  white-space: nowrap;
  display: inline-block;
}

.hero__word {
  width: 60px;
}

.hero__rule {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 6px;
  align-self: center;
  overflow: visible;
}

.hero__rule path {
  stroke: var(--logo);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.footer__row > * {
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: var(--fg-60);
  text-decoration: none;
  white-space: nowrap;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.footer__seed {
  font-variant-numeric: tabular-nums;
}

.footer__email:hover,
.footer__seed:hover {
  color: var(--fg);
}

@keyframes reveal-fade-in {
  to { opacity: 1; }
}

@keyframes copied-fade {
  0%, 70% { opacity: 1; }
  100%    { opacity: 0; }
}

.footer__copied {
  animation: copied-fade 1.5s ease-out forwards;
}

.reveal-fade {
  opacity: 0;
  animation: reveal-fade-in 500ms ease-out forwards;
}

.reveal-fade[data-reveal="1"] { animation-delay: 1500ms; }
.reveal-fade[data-reveal="2"] { animation-delay: 1850ms; }
.reveal-fade[data-reveal="3"] { animation-delay: 2200ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal-fade { opacity: 1; animation: none; }
}
