:root {
  --ink: #121816;
  --muted: #66716a;
  --line: #e4eae5;
  --leaf: #6faf3a;
  --leaf-soft: #e8f5d8;
  --sky: #3d6fa8;
  --copper: #c47a3a;
  --white: #ffffff;
  --font: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--leaf);
}

/* Watermark — soft, full-width, below logo */
.bg-mark {
  position: fixed;
  left: 0;
  right: 0;
  top: auto;
  bottom: 18%;
  z-index: 0;
  font-family: var(--font);
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(18, 24, 22, 0.028);
  -webkit-text-stroke: 0;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  transform: none;
}

/* Decorative logo waves — right side */
.waves {
  position: fixed;
  right: clamp(-1rem, 2vw, 3rem);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(70px, 10vw, 120px);
  height: auto;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
  animation: sway 7s ease-in-out infinite;
}

@keyframes sway {
  0%,
  100% {
    transform: translateY(-50%) rotate(-2deg);
  }
  50% {
    transform: translateY(calc(-50% - 10px)) rotate(2deg);
  }
}

/* Scrolling ribbon */
.ribbon {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  width: 220vmax;
  height: 30px;
  background: var(--leaf);
  transform-origin: 0 0;
  transform: rotate(-32deg) translate(-6%, 11vw);
  display: flex;
  align-items: center;
  overflow: hidden;
  pointer-events: none;
}

.ribbon-track {
  display: flex;
  width: max-content;
  padding-left: 0;
  animation: marquee 36s linear infinite;
  will-change: transform;
}

.ribbon-track span {
  flex-shrink: 0;
  padding-inline: 0 2.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.page {
  position: relative;
  z-index: 1;
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: min(420px, 86vw);
  max-width: 420px;
  margin-inline: auto;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tag {
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.logo {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto 1.5rem;
  transform: translateX(-1.75rem);
}

.intro {
  width: 100%;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

.intro-title {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  font-style: normal;
  color: var(--leaf);
  margin-bottom: 0.6rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.accent-line {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--leaf), var(--sky), var(--copper));
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    justify-content: center;
  }

  .footer-right {
    justify-content: center;
  }

  .waves {
    opacity: 0.08;
    right: -1.5rem;
  }

  .ribbon {
    height: 28px;
    transform: rotate(-30deg) translate(-4%, 14vw);
  }

  .ribbon-track {
    padding-left: 0;
  }

  .ribbon-track span {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    padding-inline: 0 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ribbon-track,
  .waves,
  .content,
  .footer {
    animation: none;
  }
}
