/* ==========================================================
   PetLinkTag — coming-soon homepage
   ----------------------------------------------------------
   Builds on app.css's color/type tokens but applies them
   differently here: a deep pine hero and footer bookend a
   calm paper-toned middle, instead of one flat tone top to
   bottom. The signature move is the tag itself — large,
   tappable, and literally the product idea in miniature.
   ========================================================== */

:root {
  --color-pine-night: #102621;
}

/* ---------- Tricolor strip ---------- */

.tricolor {
  display: flex;
  height: 4px;
}
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: #169B62; }
.tricolor span:nth-child(2) { background: #FFFFFF; }
.tricolor span:nth-child(3) { background: #FF883E; }

/* ---------- Hero ---------- */

.hero {
  background: var(--color-pine-night);
  color: var(--color-paper);
  padding: 28px 24px 72px;
}

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto 56px;
}

.hero__top .brand-name { color: var(--color-paper); }

.hero__login {
  font-size: 0.85rem;
  color: rgba(251, 248, 243, 0.7);
}
.hero__login:hover { color: var(--color-paper); }

.hero__content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-marigold);
  margin-bottom: 1.1em;
}

.hero h1 {
  font-family: var(--font-display);
  color: var(--color-paper);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 0.6em;
}

.hero__sub {
  font-size: 1.08rem;
  color: rgba(251, 248, 243, 0.82);
  max-width: 480px;
  margin: 0 auto 2.6em;
}

/* ---------- The tag ---------- */

.tag-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.6em;
}

.tag-button {
  width: 108px;
  height: 108px;
  border-radius: 30px;
  background: var(--color-marigold);
  border: none;
  position: relative;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(224, 146, 47, 0.35);
  transition: transform 0.15s ease;
}
.tag-button:hover { transform: scale(1.04); }
.tag-button:active { transform: scale(0.97); }

.tag-button::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-pine-night);
}

@keyframes tag-bounce {
  0%   { transform: scale(1) rotate(0deg); }
  30%  { transform: scale(0.9) rotate(-4deg); }
  60%  { transform: scale(1.08) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.tag-button--bounce {
  animation: tag-bounce 0.45s ease;
}

.tag-prompt {
  font-size: 0.85rem;
  color: rgba(251, 248, 243, 0.6);
  margin-top: 0.9em;
}

.tag-fact {
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-paper);
  max-width: 460px;
  margin: 1em auto 0.3em;
  padding: 0 8px;
}

.tag-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-marigold);
  margin-bottom: 2.2em;
}

/* ---------- Roadmap ---------- */

.roadmap {
  padding: 72px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.roadmap__heading {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 2.4em;
}

.roadmap__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.roadmap__item {
  background: var(--color-white);
  border: 1px solid var(--color-mist);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.roadmap__index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-marigold);
  margin-bottom: 0.8em;
}

.roadmap__item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5em;
  color: var(--color-pine-dark);
}

.roadmap__item p {
  font-size: 0.92rem;
  color: #5B6358;
  margin: 0;
}

/* ---------- Signup ---------- */

.signup {
  padding: 0 24px 80px;
  max-width: 520px;
  margin: 0 auto;
}

.signup__card {
  background: var(--color-white);
  border: 1px solid var(--color-mist);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 36px;
  text-align: center;
}

.signup__card h2 { margin-bottom: 0.3em; }

.signup__hint {
  color: #5B6358;
  font-size: 0.92rem;
  margin-bottom: 1.6em;
}

.signup__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.signup__form input[type="email"] {
  flex: 1;
  min-width: 180px;
}

.btn--accent {
  background: var(--color-marigold);
  color: var(--color-pine-night);
}
.btn--accent:hover {
  background: #C97F22;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-pine-night);
  color: rgba(251, 248, 243, 0.75);
  text-align: center;
  padding: 36px 24px;
  font-size: 0.88rem;
}

.site-footer__made {
  color: var(--color-paper);
  font-weight: 600;
  margin-bottom: 0.4em;
}

.site-footer a {
  color: rgba(251, 248, 243, 0.75);
}
.site-footer a:hover { color: var(--color-paper); }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .roadmap__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 24px 18px 56px; }
  .tag-button { width: 92px; height: 92px; border-radius: 26px; }
  .signup__form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .tag-button--bounce { animation: none; }
  .tag-button { transition: none; }
}
